1 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3 * manual/time.texi (Specifying the Time Zone with TZ): Change
6 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8 * debug/tst-longjmp_chk2.c: Update header comment.
9 (stackoverflow_handler): Add comment. Call assert on pass value.
11 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16 (La_x86_64_vector): Add zmm.
17 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19 ($(objpfx)tst-audit10): New target.
20 ($(objpfx)tst-audit10.out): Likewise.
21 (tst-audit10-ENV): New.
22 (AVX512-CFLAGS): Likewise.
23 (CFLAGS-tst-audit10.c): Likewise.
24 (CFLAGS-tst-auditmod10a.c): Likewise.
25 (CFLAGS-tst-auditmod10b.c): Likewise.
26 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
27 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28 * sysdeps/x86_64/configure: Regenerated.
29 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30 AVX-512 zmm register support.
31 (_dl_x86_64_save_sse): Likewise.
32 (_dl_x86_64_restore_sse): Likewise.
33 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34 size vector registers.
35 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37 * sysdeps/x86_64/tst-audit10.c: New file.
38 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41 2014-03-13 Roland McGrath <roland@hack.frob.com>
43 * configure.ac (HAVE_EHDR_START): New check.
44 * configure: Regenerated.
45 * config.h.in (HAVE_EHDR_START): New #undef.
46 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47 assuming the lowest-addressed segment maps the start of the file.
49 2014-03-13 Joseph Myers <joseph@codesourcery.com>
51 * INSTALL: Regenerated.
53 2014-03-13 Will Newton <will.newton@linaro.org>
55 * manual/setjmp.texi (System V contexts): Improve
56 clarity and grammar of documentation.
58 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
61 * elf/Makefile (tests): Add tst-pie2.
62 (tests-pie): Add tst-pie2.
63 * elf/tst-pie2.c: New file.
64 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
66 * elf/rtld.c (map_doit): Load executable as lt_executable.
69 2014-03-12 Joseph Myers <joseph@codesourcery.com>
72 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
73 (__ASSUME_PSELECT): Undefine.
75 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
79 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
81 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
82 selector for static builds.
84 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
87 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
90 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
93 selector for static builds.
95 2014-03-11 Joseph Myers <joseph@codesourcery.com>
97 * sysdeps/mips/math_private.h [__mips_hard_float]
98 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
99 libc_feresetround_mips_ctx.
100 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
101 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
102 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
105 * math/s_nextafter.c (__nextafter): Do not return value from
106 overflowing computation.
107 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
108 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
109 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
111 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
113 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
114 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
116 2014-03-11 Roland McGrath <roland@hack.frob.com>
118 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
119 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
120 Move sfi_sp use from the load-multiple (that no longer sets sp) to
121 the new mov targetting sp.
123 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
126 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
127 Define it for static builds as well.
128 (NO_BZERO_IMPL): Likewise.
130 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
132 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
133 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
134 multiarch strspn for PPC64.
135 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
136 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
138 (__libc_ifunc_impl_list): Likewise.
139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
140 multiarch optimizations
141 * string/strspn.c (strspn): Using macro to redefine symbol name.
143 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
144 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
146 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
147 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
148 multiarch strncat for PPC64.
149 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
150 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
152 (__libc_ifunc_impl_list): Likewise.
153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
154 multiarch optimizations
156 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
159 * nscd/nscd.service: Make service type forking.
161 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
164 sign in non default rounding modes.
165 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
167 2014-03-08 Joseph Myers <joseph@codesourcery.com>
169 * math/libm-test.inc (ALL_RM_TEST): New macro.
170 (ceil_test): Use ALL_RM_TEST.
171 (cimag_test): Likewise.
172 (conj_test): Likewise.
173 (copysign_test): Likewise.
174 (cproj_test): Likewise.
175 (creal_test): Likewise.
176 (fabs_test): Likewise.
177 (floor_test): Likewise.
178 (fmax_test): Likewise.
179 (fmin_test): Likewise.
180 (fmod_test): Likewise.
181 (fpclassify_test): Likewise.
182 (frexp_test): Likewise.
183 (ilogb_test): Likewise.
184 (isfinite_test): Likewise.
185 (finite_test): Likewise.
186 (isgreater_test): Likewise.
187 (isgreaterequal_test): Likewise.
188 (isinf_test): Likewise.
189 (isless_test): Likewise.
190 (islessequal_test): Likewise.
191 (islessgreater_test): Likewise.
192 (isnan_test): Likewise.
193 (isnormal_test): Likewise.
194 (issignaling_test): Likewise.
195 (isunordered_test): Likewise.
196 (logb_test): Likewise.
197 (logb_downward_test_data): Remove.
198 (logb_test_downward): Likewise.
199 (lround_test): Use ALL_RM_TEST.
200 (llround_test): Likewise.
201 (modf_test): Likewise.
202 (nexttoward_test): Likewise.
203 (remainder_test): Likewise.
204 (drem_test): Likewise.
205 (remainder_tonearest_test_data): Likewise.
206 (remainder_test_tonearest): Likewise.
207 (drem_test_tonearest): Likewise.
208 (remainder_towardzero_test_data): Likewise.
209 (remainder_test_towardzero): Likewise.
210 (drem_test_towardzero): Likewise.
211 (remainder_downward_test_data): Likewise.
212 (remainder_test_downward): Likewise.
213 (drem_test_downward): Likewise.
214 (remainder_upward_test_data): Likewise.
215 (remainder_test_upward): Likewise.
216 (drem_test_upward): Likewise.
217 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
218 (round_test): Use ALL_RM_TEST.
219 (signbit_test): Likewise.
220 (trunc_test): Likewise.
221 (significand_test): Likewise.
222 (main): Don't call removed functions.
224 2014-03-07 Joseph Myers <joseph@codesourcery.com>
227 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
229 (ILL_ILLOPN): Likewise.
230 (ILL_ILLADR): Likewise.
231 (ILL_ILLTRP): Likewise.
232 (ILL_PRVOPC): Likewise.
233 (ILL_PRVREG): Likewise.
234 (ILL_COPROC): Likewise.
235 (ILL_BADSTK): Likewise.
236 (FPE_INTDIV): Likewise.
237 (FPE_INTOVF): Likewise.
238 (FPE_FLTDIV): Likewise.
239 (FPE_FLTOVF): Likewise.
240 (FPE_FLTUND): Likewise.
241 (FPE_FLTRES): Likewise.
242 (FPE_FLTINV): Likewise.
243 (FPE_FLTSUB): Likewise.
244 (SEGV_MAPERR): Likewise.
245 (SEGV_ACCERR): Likewise.
246 (BUS_ADRALN): Likewise.
247 (BUS_ADRERR): Likewise.
248 (BUS_OBJERR): Likewise.
249 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
250 (TRAP_TRACE): Likewise.
251 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
253 (CLD_KILLED): Likewise.
254 (CLD_DUMPED): Likewise.
255 (CLD_TRAPPED): Likewise.
256 (CLD_STOPPED): Likewise.
257 (CLD_CONTINUED): Likewise.
259 (POLL_OUT): Likewise.
260 (POLL_MSG): Likewise.
261 (POLL_ERR): Likewise.
262 (POLL_PRI): Likewise.
263 (POLL_HUP): Likewise.
264 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
266 (ILL_ILLOPN): Likewise.
267 (ILL_ILLADR): Likewise.
268 (ILL_ILLTRP): Likewise.
269 (ILL_PRVOPC): Likewise.
270 (ILL_PRVREG): Likewise.
271 (ILL_COPROC): Likewise.
272 (ILL_BADSTK): Likewise.
273 (FPE_INTDIV): Likewise.
274 (FPE_INTOVF): Likewise.
275 (FPE_FLTDIV): Likewise.
276 (FPE_FLTOVF): Likewise.
277 (FPE_FLTUND): Likewise.
278 (FPE_FLTRES): Likewise.
279 (FPE_FLTINV): Likewise.
280 (FPE_FLTSUB): Likewise.
281 (SEGV_MAPERR): Likewise.
282 (SEGV_ACCERR): Likewise.
283 (BUS_ADRALN): Likewise.
284 (BUS_ADRERR): Likewise.
285 (BUS_OBJERR): Likewise.
286 (BUS_MCEERR_AR): Likewise.
287 (BUS_MCEERR_AO): Likewise.
288 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
289 (TRAP_TRACE): Likewise.
290 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
292 (CLD_KILLED): Likewise.
293 (CLD_DUMPED): Likewise.
294 (CLD_TRAPPED): Likewise.
295 (CLD_STOPPED): Likewise.
296 (CLD_CONTINUED): Likewise.
298 (POLL_OUT): Likewise.
299 (POLL_MSG): Likewise.
300 (POLL_ERR): Likewise.
301 (POLL_PRI): Likewise.
302 (POLL_HUP): Likewise.
303 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
304 (ILL_ILLOPN): Likewise.
305 (ILL_ILLADR): Likewise.
306 (ILL_ILLTRP): Likewise.
307 (ILL_PRVOPC): Likewise.
308 (ILL_PRVREG): Likewise.
309 (ILL_COPROC): Likewise.
310 (ILL_BADSTK): Likewise.
311 (FPE_INTDIV): Likewise.
312 (FPE_INTOVF): Likewise.
313 (FPE_FLTDIV): Likewise.
314 (FPE_FLTOVF): Likewise.
315 (FPE_FLTUND): Likewise.
316 (FPE_FLTRES): Likewise.
317 (FPE_FLTINV): Likewise.
318 (FPE_FLTSUB): Likewise.
319 (SEGV_MAPERR): Likewise.
320 (SEGV_ACCERR): Likewise.
321 (BUS_ADRALN): Likewise.
322 (BUS_ADRERR): Likewise.
323 (BUS_OBJERR): Likewise.
324 (BUS_MCEERR_AR): Likewise.
325 (BUS_MCEERR_AO): Likewise.
326 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
327 (TRAP_TRACE): Likewise.
328 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
330 (CLD_KILLED): Likewise.
331 (CLD_DUMPED): Likewise.
332 (CLD_TRAPPED): Likewise.
333 (CLD_STOPPED): Likewise.
334 (CLD_CONTINUED): Likewise.
336 (POLL_OUT): Likewise.
337 (POLL_MSG): Likewise.
338 (POLL_ERR): Likewise.
339 (POLL_PRI): Likewise.
340 (POLL_HUP): Likewise.
341 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
343 (ILL_ILLOPN): Likewise.
344 (ILL_ILLADR): Likewise.
345 (ILL_ILLTRP): Likewise.
346 (ILL_PRVOPC): Likewise.
347 (ILL_PRVREG): Likewise.
348 (ILL_COPROC): Likewise.
349 (ILL_BADSTK): Likewise.
350 (ILL_BADIADDR): Likewise.
351 (ILL_BREAK): Likewise.
352 (FPE_INTDIV): Likewise.
353 (FPE_INTOVF): Likewise.
354 (FPE_FLTDIV): Likewise.
355 (FPE_FLTOVF): Likewise.
356 (FPE_FLTUND): Likewise.
357 (FPE_FLTRES): Likewise.
358 (FPE_FLTINV): Likewise.
359 (FPE_FLTSUB): Likewise.
360 (FPE_DECOVF): Likewise.
361 (FPE_DECDIV): Likewise.
362 (FPE_DECERR): Likewise.
363 (FPE_INVASC): Likewise.
364 (FPE_INVDEC): Likewise.
365 (SEGV_MAPERR): Likewise.
366 (SEGV_ACCERR): Likewise.
367 (SEGV_PSTKOVF): Likewise.
368 (BUS_ADRALN): Likewise.
369 (BUS_ADRERR): Likewise.
370 (BUS_OBJERR): Likewise.
371 (BUS_MCEERR_AR): Likewise.
372 (BUS_MCEERR_AO): Likewise.
373 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
374 (TRAP_TRACE): Likewise.
375 (TRAP_BRANCH): Likewise.
376 (TRAP_HWBKPT): Likewise.
377 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
379 (CLD_KILLED): Likewise.
380 (CLD_DUMPED): Likewise.
381 (CLD_TRAPPED): Likewise.
382 (CLD_STOPPED): Likewise.
383 (CLD_CONTINUED): Likewise.
385 (POLL_OUT): Likewise.
386 (POLL_MSG): Likewise.
387 (POLL_ERR): Likewise.
388 (POLL_PRI): Likewise.
389 (POLL_HUP): Likewise.
390 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
391 (ILL_ILLOPN): Likewise.
392 (ILL_ILLADR): Likewise.
393 (ILL_ILLTRP): Likewise.
394 (ILL_PRVOPC): Likewise.
395 (ILL_PRVREG): Likewise.
396 (ILL_COPROC): Likewise.
397 (ILL_BADSTK): Likewise.
398 (FPE_INTDIV): Likewise.
399 (FPE_INTOVF): Likewise.
400 (FPE_FLTDIV): Likewise.
401 (FPE_FLTOVF): Likewise.
402 (FPE_FLTUND): Likewise.
403 (FPE_FLTRES): Likewise.
404 (FPE_FLTINV): Likewise.
405 (FPE_FLTSUB): Likewise.
406 (SEGV_MAPERR): Likewise.
407 (SEGV_ACCERR): Likewise.
408 (BUS_ADRALN): Likewise.
409 (BUS_ADRERR): Likewise.
410 (BUS_OBJERR): Likewise.
411 (BUS_MCEERR_AR): Likewise.
412 (BUS_MCEERR_AO): Likewise.
413 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
414 (TRAP_TRACE): Likewise.
415 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
417 (CLD_KILLED): Likewise.
418 (CLD_DUMPED): Likewise.
419 (CLD_TRAPPED): Likewise.
420 (CLD_STOPPED): Likewise.
421 (CLD_CONTINUED): Likewise.
423 (POLL_OUT): Likewise.
424 (POLL_MSG): Likewise.
425 (POLL_ERR): Likewise.
426 (POLL_PRI): Likewise.
427 (POLL_HUP): Likewise.
428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
429 (ILL_ILLOPN): Likewise.
430 (ILL_ILLADR): Likewise.
431 (ILL_ILLTRP): Likewise.
432 (ILL_PRVOPC): Likewise.
433 (ILL_PRVREG): Likewise.
434 (ILL_COPROC): Likewise.
435 (ILL_BADSTK): Likewise.
436 (FPE_INTDIV): Likewise.
437 (FPE_INTOVF): Likewise.
438 (FPE_FLTDIV): Likewise.
439 (FPE_FLTOVF): Likewise.
440 (FPE_FLTUND): Likewise.
441 (FPE_FLTRES): Likewise.
442 (FPE_FLTINV): Likewise.
443 (FPE_FLTSUB): Likewise.
444 (SEGV_MAPERR): Likewise.
445 (SEGV_ACCERR): Likewise.
446 (BUS_ADRALN): Likewise.
447 (BUS_ADRERR): Likewise.
448 (BUS_OBJERR): Likewise.
449 (BUS_MCEERR_AR): Likewise.
450 (BUS_MCEERR_AO): Likewise.
451 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
452 (TRAP_TRACE): Likewise.
453 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
455 (CLD_KILLED): Likewise.
456 (CLD_DUMPED): Likewise.
457 (CLD_TRAPPED): Likewise.
458 (CLD_STOPPED): Likewise.
459 (CLD_CONTINUED): Likewise.
461 (POLL_OUT): Likewise.
462 (POLL_MSG): Likewise.
463 (POLL_ERR): Likewise.
464 (POLL_PRI): Likewise.
465 (POLL_HUP): Likewise.
466 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
467 (ILL_ILLOPN): Likewise.
468 (ILL_ILLADR): Likewise.
469 (ILL_ILLTRP): Likewise.
470 (ILL_PRVOPC): Likewise.
471 (ILL_PRVREG): Likewise.
472 (ILL_COPROC): Likewise.
473 (ILL_BADSTK): Likewise.
474 (FPE_INTDIV): Likewise.
475 (FPE_INTOVF): Likewise.
476 (FPE_FLTDIV): Likewise.
477 (FPE_FLTOVF): Likewise.
478 (FPE_FLTUND): Likewise.
479 (FPE_FLTRES): Likewise.
480 (FPE_FLTINV): Likewise.
481 (FPE_FLTSUB): Likewise.
482 (SEGV_MAPERR): Likewise.
483 (SEGV_ACCERR): Likewise.
484 (BUS_ADRALN): Likewise.
485 (BUS_ADRERR): Likewise.
486 (BUS_OBJERR): Likewise.
487 (BUS_MCEERR_AR): Likewise.
488 (BUS_MCEERR_AO): Likewise.
489 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
490 (TRAP_TRACE): Likewise.
491 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
493 (CLD_KILLED): Likewise.
494 (CLD_DUMPED): Likewise.
495 (CLD_TRAPPED): Likewise.
496 (CLD_STOPPED): Likewise.
497 (CLD_CONTINUED): Likewise.
499 (POLL_OUT): Likewise.
500 (POLL_MSG): Likewise.
501 (POLL_ERR): Likewise.
502 (POLL_PRI): Likewise.
503 (POLL_HUP): Likewise.
504 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
505 (ILL_ILLOPN): Likewise.
506 (ILL_ILLADR): Likewise.
507 (ILL_ILLTRP): Likewise.
508 (ILL_PRVOPC): Likewise.
509 (ILL_PRVREG): Likewise.
510 (ILL_COPROC): Likewise.
511 (ILL_BADSTK): Likewise.
512 (ILL_DBLFLT): Likewise.
513 (ILL_HARDWALL): Likewise.
514 (FPE_INTDIV): Likewise.
515 (FPE_INTOVF): Likewise.
516 (FPE_FLTDIV): Likewise.
517 (FPE_FLTOVF): Likewise.
518 (FPE_FLTUND): Likewise.
519 (FPE_FLTRES): Likewise.
520 (FPE_FLTINV): Likewise.
521 (FPE_FLTSUB): Likewise.
522 (SEGV_MAPERR): Likewise.
523 (SEGV_ACCERR): Likewise.
524 (BUS_ADRALN): Likewise.
525 (BUS_ADRERR): Likewise.
526 (BUS_OBJERR): Likewise.
527 (BUS_MCEERR_AR): Likewise.
528 (BUS_MCEERR_AO): Likewise.
529 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
530 (TRAP_TRACE): Likewise.
531 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
533 (CLD_KILLED): Likewise.
534 (CLD_DUMPED): Likewise.
535 (CLD_TRAPPED): Likewise.
536 (CLD_STOPPED): Likewise.
537 (CLD_CONTINUED): Likewise.
539 (POLL_OUT): Likewise.
540 (POLL_MSG): Likewise.
541 (POLL_ERR): Likewise.
542 (POLL_PRI): Likewise.
543 (POLL_HUP): Likewise.
544 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
545 (ILL_ILLOPN): Likewise.
546 (ILL_ILLADR): Likewise.
547 (ILL_ILLTRP): Likewise.
548 (ILL_PRVOPC): Likewise.
549 (ILL_PRVREG): Likewise.
550 (ILL_COPROC): Likewise.
551 (ILL_BADSTK): Likewise.
552 (FPE_INTDIV): Likewise.
553 (FPE_INTOVF): Likewise.
554 (FPE_FLTDIV): Likewise.
555 (FPE_FLTOVF): Likewise.
556 (FPE_FLTUND): Likewise.
557 (FPE_FLTRES): Likewise.
558 (FPE_FLTINV): Likewise.
559 (FPE_FLTSUB): Likewise.
560 (SEGV_MAPERR): Likewise.
561 (SEGV_ACCERR): Likewise.
562 (BUS_ADRALN): Likewise.
563 (BUS_ADRERR): Likewise.
564 (BUS_OBJERR): Likewise.
565 (BUS_MCEERR_AR): Likewise.
566 (BUS_MCEERR_AO): Likewise.
567 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
568 (TRAP_TRACE): Likewise.
569 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
571 (CLD_KILLED): Likewise.
572 (CLD_DUMPED): Likewise.
573 (CLD_TRAPPED): Likewise.
574 (CLD_STOPPED): Likewise.
575 (CLD_CONTINUED): Likewise.
577 (POLL_OUT): Likewise.
578 (POLL_MSG): Likewise.
579 (POLL_ERR): Likewise.
580 (POLL_PRI): Likewise.
581 (POLL_HUP): Likewise.
582 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
583 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
586 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
587 before #include of <time.h>.
588 [!__USE_XOPEN2K] (__need_timespec): Likewise.
589 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
590 (test-xfail-UNIX98/sched.h/conform): Likewise.
592 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
594 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
595 error absence of trapping exception support.
596 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
598 2014-03-07 Joseph Myers <joseph@codesourcery.com>
600 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
601 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
602 * timezone/Makefile (testdata): Move definition above include of
604 (test-zones): New variable.
605 (tests-special): Add zone files.
606 (build-testdata): Use $(evaluate-test).
608 * elf/Makefile (tests-special): Rename tests to end with .out.
609 ($(objpfx)noload-mem): Likewise.
610 ($(objpfx)tst-leaks1-mem): Likewise.
611 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
612 * iconv/Makefile (xtests-special): Change test-iconvconfig to
613 $(objpfx)test-iconvconfig.out.
614 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
615 set -e inside subshell and redirect output to file.
616 * iconvdata/Makefile (generated): Rename tests to end with .out.
618 (tests-special): Rename tests to end with .out.
619 ($(objpfx)mtrace-tst-loading): Likewise.
620 * intl/Makefile (generated): Likewise.
621 (tests-special): Likewise.
622 ($(objpfx)mtrace-tst-gettext): Likewise.
623 * misc/Makefile (generated): Likewise.
624 (tests-special): Likewise.
625 ($(objpfx)tst-error1-mem): Likewise.
626 * nptl/Makefile (tests-special): Likewise.
627 ($(objpfx)tst-stack3-mem): Likewise.
628 (generated): Likewise.
629 * posix/Makefile (generated): Likewise.
630 (tests-special): Likewise.
631 (xtests-special): Likewise.
632 ($(objpfx)tst-fnmatch-mem): Likewise.
633 ($(objpfx)bug-regex2-mem): Likewise.
634 ($(objpfx)bug-regex14-mem): Likewise.
635 ($(objpfx)bug-regex21-mem): Likewise.
636 ($(objpfx)bug-regex31-mem): Likewise.
637 ($(objpfx)tst-vfork3-mem): Likewise.
638 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
639 ($(objpfx)tst-pcre-mem): Likewise.
640 ($(objpfx)tst-boost-mem): Likewise.
641 ($(objpfx)bug-ga2-mem): Likewise.
642 ($(objpfx)bug-glob2-mem): Likewise.
643 * resolv/Makefile (generate): Likewise.
644 (tests-special): Likewise.
645 (xtests-special): Likewise.
646 (generated): Likewise.
647 ($(objpfx)mtrace-tst-leaks): Likewise.
648 ($(objpfx)mtrace-tst-leaks2): Likewise.
650 * scripts/merge-test-results.sh: New file.
651 * Makefile (tests-special-notdir): New variable.
652 (tests): Run merge-test-results.sh.
654 * Rules (tests-special-notdir): New variable.
655 (xtests-special-notdir): Likewise.
656 (tests): Run merge-test-results.sh
659 * Makeconfig (test-xfail-name): New variable.
660 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
661 compute variable name for expected failures.
662 * conform/Makefile (conformtest-headers-data): New variable.
663 (conformtest-standards): Likewise.
664 (conformtest-headers-ISO): Likewise.
665 (conformtest-headers-ISO99): Likewise.
666 (conformtest-headers-ISO11): Likewise.
667 (conformtest-headers-POSIX): Likewise.
668 (conformtest-headers-XPG3): Likewise.
669 (conformtest-headers-XPG4): Likewise.
670 (conformtest-headers-UNIX98): Likewise.
671 (conformtest-headers-XOPEN2K): Likewise.
672 (conformtest-headers-POSIX2008): Likewise.
673 (conformtest-headers-XOPEN2K8): Likewise.
674 (conformtest-header-list-base): Likewise.
675 (conformtest-header-list-tests): Likewise.
676 (conformtest-header-base): Likewise.
677 (conformtest-header-tests): Likewise.
678 (tests-special): Add $(conformtest-header-list-tests). If
679 [$(fast-check) && !$(cross-compiling)], add
680 $(conformtest-header-tests) instead of
681 $(objpfx)run-conformtest.out.
682 (generated): Add $(conformtest-header-list-base). If
683 [$(fast-check) && !$(cross-compiling)], add
684 $(conformtest-header-base). Remove previous setting.
685 ($(conformtest-header-list-tests)): New target.
686 (test-xfail-run-conformtest): Remove variable.
687 ($(objpfx)run-conformtest.out): Remove target.
688 (test-xfail-ISO11/complex.h/conform): New variable.
689 (test-xfail-ISO11/stdalign.h/conform): Likewise.
690 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
691 (test-xfail-XPG3/varargs.h/conform): Likewise.
692 (test-xfail-XPG4/varargs.h/conform): Likewise.
693 (test-xfail-UNIX98/varargs.h/conform): Likewise.
694 (test-xfail-XPG4/ndbm.h/conform): Likewise.
695 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
696 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
697 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
698 (test-xfail-XPG3/fcntl.h/conform): Likewise.
699 (test-xfail-XPG3/ftw.h/conform): Likewise.
700 (test-xfail-XPG3/grp.h/conform): Likewise.
701 (test-xfail-XPG3/langinfo.h/conform): Likewise.
702 (test-xfail-XPG3/limits.h/conform): Likewise.
703 (test-xfail-XPG3/pwd.h/conform): Likewise.
704 (test-xfail-XPG3/search.h/conform): Likewise.
705 (test-xfail-XPG3/signal.h/conform): Likewise.
706 (test-xfail-XPG3/stdio.h/conform): Likewise.
707 (test-xfail-XPG3/stdlib.h/conform): Likewise.
708 (test-xfail-XPG3/string.h/conform): Likewise.
709 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
710 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
711 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
712 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
713 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
714 (test-xfail-XPG3/sys/types.h/conform): Likewise.
715 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
716 (test-xfail-XPG3/termios.h/conform): Likewise.
717 (test-xfail-XPG3/time.h/conform): Likewise.
718 (test-xfail-XPG3/unistd.h/conform): Likewise.
719 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
720 (test-xfail-XPG4/fcntl.h/conform): Likewise.
721 (test-xfail-XPG4/langinfo.h/conform): Likewise.
722 (test-xfail-XPG4/netdb.h/conform): Likewise.
723 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
724 (test-xfail-XPG4/signal.h/conform): Likewise.
725 (test-xfail-XPG4/stdio.h/conform): Likewise.
726 (test-xfail-XPG4/stdlib.h/conform): Likewise.
727 (test-xfail-XPG4/stropts.h/conform): Likewise.
728 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
729 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
730 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
731 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
732 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
733 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
734 (test-xfail-XPG4/sys/time.h/conform): Likewise.
735 (test-xfail-XPG4/sys/types.h/conform): Likewise.
736 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
737 (test-xfail-XPG4/termios.h/conform): Likewise.
738 (test-xfail-XPG4/ucontext.h/conform): Likewise.
739 (test-xfail-XPG4/unistd.h/conform): Likewise.
740 (test-xfail-XPG4/utmpx.h/conform): Likewise.
741 (test-xfail-POSIX/sched.h/conform): Likewise.
742 (test-xfail-POSIX/signal.h/conform): Likewise.
743 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
744 (test-xfail-POSIX/tar.h/conform): Likewise.
745 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
746 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
747 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
748 (test-xfail-UNIX98/netdb.h/conform): Likewise.
749 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
750 (test-xfail-UNIX98/sched.h/conform): Likewise.
751 (test-xfail-UNIX98/signal.h/conform): Likewise.
752 (test-xfail-UNIX98/stdio.h/conform): Likewise.
753 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
754 (test-xfail-UNIX98/stropts.h/conform): Likewise.
755 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
756 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
757 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
758 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
759 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
760 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
761 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
762 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
763 (test-xfail-UNIX98/unistd.h/conform): Likewise.
764 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
765 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
766 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
767 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
768 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
769 (test-xfail-XOPEN2K/math.h/conform): Likewise.
770 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
771 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
772 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
773 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
774 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
775 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
776 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
777 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
778 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
779 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
780 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
781 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
782 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
783 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
784 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
785 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
786 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
787 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
788 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
789 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
790 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
791 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
792 (test-xfail-POSIX2008/signal.h/conform): Likewise.
793 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
794 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
795 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
796 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
797 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
798 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
799 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
800 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
801 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
802 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
803 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
804 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
805 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
806 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
807 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
808 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
809 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
810 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
811 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
812 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
813 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
814 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
815 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
816 (conformtest-cc-flags): Likewise.
817 ($(conformtest-header-tests): New target.
818 * conform/check-header-lists.sh: New file.
819 * conform/run-conformtest.sh: Remove.
821 * conform/conformtest.pl: Allow ' and \ in values given for
823 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
825 [POSIX] (sys/types.h): Likewise.
826 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
828 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
830 * conform/data/signal.h-data (SIGIO): Remove expectation.
831 [XPG3] (SIGBUS): Do not expect.
832 [POSIX || XPG3] (SIGPOLL): Likewise.
833 [POSIX || XPG3] (SIGPROF): Likewise.
834 [POSIX || XPG3] (SIGSYS): Likewise.
835 [XPG3] (SIGTRAP): Likewise.
836 [POSIX || XPG3] (SIGURG): Likewise.
837 [POSIX || XPG3] (SIGVTALRM): Likewise.
838 [POSIX || XPG3] (SIGXCPU): Likewise.
839 [POSIX || XPG3] (SIGXFSZ): Likewise.
840 [POSIX] (SA_SIGINFO): Expect.
841 [XPG3] (siginfo_t): Do not expect type or contents.
842 [POSIX] (si_pid): Do not expect element.
843 [POSIX] (si_uid): Likewise.
844 [POSIX] (si_addr): Likewise.
845 [POSIX] (si_status): Likewise.
846 [POSIX] (si_band): Likewise.
847 [XPG4] (si_value): Likewise.
848 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
849 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
850 [POSIX || XPG3] (ILL_ILLADR): Likewise.
851 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
852 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
853 [POSIX || XPG3] (ILL_PRVREG): Likewise.
854 [POSIX || XPG3] (ILL_COPROC): Likewise.
855 [POSIX || XPG3] (ILL_BADSTK): Likewise.
856 [POSIX || XPG3] (FPE_INTDIV): Likewise.
857 [POSIX || XPG3] (FPE_INTOVF): Likewise.
858 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
859 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
860 [POSIX || XPG3] (FPE_FLTUND): Likewise.
861 [POSIX || XPG3] (FPE_FLTRES): Likewise.
862 [POSIX || XPG3] (FPE_FLTINV): Likewise.
863 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
864 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
865 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
866 [POSIX || XPG3] (BUS_ADRALN): Likewise.
867 [POSIX || XPG3] (BUS_ADRERR): Likewise.
868 [POSIX || XPG3] (BUS_OBJERR): Likewise.
869 [POSIX || XPG3] (CLD_EXITED): Likewise.
870 [POSIX || XPG3] (CLD_KILLED): Likewise.
871 [POSIX || XPG3] (CLD_DUMPED): Likewise.
872 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
873 [POSIX || XPG3] (CLD_STOPPED): Likewise.
874 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
875 [POSIX || XPG3] (POLL_IN): Likewise.
876 [POSIX || XPG3] (POLL_OUT): Likewise.
877 [POSIX || XPG3] (POLL_MSG): Likewise.
878 [POSIX || XPG3] (POLL_ERR): Likewise.
879 [POSIX || XPG3] (POLL_PRI): Likewise.
880 [POSIX || XPG3] (POLL_HUP): Likewise.
881 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
882 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
883 (SIG*): Do not allow.
884 [XPG3] (si_*): Likewise.
885 [XPG3] (SI_*): Likewise.
886 [XPG3 || XPG4] (sigev_*): Likewise.
887 [XPG3 || XPG4] (SIGEV_*): Likewise.
888 [XPG3 || XPG4] (sival_*): Likewise.
889 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
890 [POSIX || XPG3] (BUS_*): Likewise.
891 [POSIX || XPG3] (CLD_*): Likewise.
892 [POSIX || XPG3] (FPE_*): Likewise.
893 [POSIX || XPG3] (ILL_*): Likewise.
894 [POSIX || XPG3] (POLL_*): Likewise.
895 [POSIX || XPG3] (SEGV_*): Likewise.
896 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
897 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
898 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
899 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
900 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
901 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
902 Specify type and value.
903 (TVERSLEN): Likewise.
905 (AREGTYPE): Likewise.
911 (FIFOTYPE): Likewise.
912 (CONTTYPE): Likewise.
925 [POSIX] (TSVTX): Expect constant.
927 2014-03-06 Joseph Myers <joseph@codesourcery.com>
929 * Makefile (tests): Change dependencies to ....
930 (tests-special): ... additions to this variable.
931 (tests): Depend on $(tests-special).
932 * Makerules (check-abi-list): New variable.
933 (check-abi): Depend on $(check-abi-list).
934 [$(subdir) = elf] (tests-special): Add
935 $(objpfx)check-abi-libc.out.
936 [$(build-shared) = yes && subdir] (tests-special): Add
938 [$(build-shared) = yes && subdir] (tests): Do not depend on
940 * Rules (tests): Depend on $(tests-special).
941 (xtests): Depend on $(xtests-special).
942 * catgets/Makefile (tests): Change dependencies to ....
943 (tests-special): ... additions to this variable.
944 * conform/Makefile (tests): Change dependencies to ....
945 (tests-special): ... additions to this variable.
946 * elf/Makefile (tests): Change dependencies to ....
947 (tests-special): ... additions to this variable.
948 * grp/Makefile (tests): Change dependencies to ....
949 (tests-special): ... additions to this variable.
950 * iconv/Makefile (xtests): Change dependencies to ....
951 (xtests-special): ... additions to this variable.
952 * iconvdata/Makefile (tests): Change dependencies to ....
953 (tests-special): ... additions to this variable.
954 * intl/Makefile (tests): Change dependencies to ....
955 (tests-special): ... additions to this variable. Also add
956 $(objpfx)tst-gettext.out.
957 * io/Makefile (tests): Change dependencies to ....
958 (tests-special): ... additions to this variable.
959 * libio/Makefile (tests): Change dependencies to ....
960 (tests-special): ... additions to this variable.
961 * malloc/Makefile (tests): Change dependencies to ....
962 (tests-special): ... additions to this variable.
963 * misc/Makefile (tests): Change dependencies to ....
964 (tests-special): ... additions to this variable.
965 * nptl/Makefile (tests): Change dependencies to ....
966 (tests-special): ... additions to this variable.
967 * nptl_db/Makefile (tests): Change dependencies to ....
968 (tests-special): ... additions to this variable.
969 * posix/Makefile (tests): Change dependencies to ....
970 (tests-special): ... additions to this variable.
971 (xtests): Change dependencies to ....
972 (xtests-special): ... additions to this variable.
973 * resolv/Makefile (tests): Change dependencies to ....
974 (tests-special): ... additions to this variable.
975 (xtests): Change dependencies to ....
976 (xtests-special): ... additions to this variable.
977 * stdio-common/Makefile (tests): Change dependencies to ....
978 (tests-special): ... additions to this variable.
979 (do-tst-unbputc): Remove target.
980 (do-tst-printf): Likewise.
981 * stdlib/Makefile (tests): Change dependencies to ....
982 (tests-special): ... additions to this variable.
983 * string/Makefile (tests): Change dependencies to ....
984 (tests-special): ... additions to this variable.
985 * sysdeps/x86/Makefile (tests): Change dependencies to ....
986 (tests-special): ... additions to this variable.
988 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
990 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
992 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
993 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
995 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
996 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
997 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
998 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
999 * conform/data/libgen.h-data [XPG3]: Likewise.
1000 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1001 * conform/data/ndbm.h-data [XPG3]: Likewise.
1002 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1003 * conform/data/netdb.h-data [XPG3]: Likewise.
1004 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1005 * conform/data/poll.h-data [XPG3]: Likewise.
1006 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1007 * conform/data/strings.h-data [XPG3]: Likewise.
1008 * conform/data/stropts.h-data [XPG3]: Likewise.
1009 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1010 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1011 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1013 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1014 * conform/data/sys/time.h-data [XPG3]: Likewise.
1015 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1016 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1017 * conform/data/sys/un.h-data [XPG3]: Likewise.
1018 * conform/data/syslog.h-data [XPG3]: Likewise.
1019 * conform/data/ucontext.h-data [XPG3]: Likewise.
1020 * conform/data/utmpx.h-data [XPG3]: Likewise.
1021 * conform/data/varargs.h-data [UNIX98]: Enable file.
1023 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1025 * math/libm-test.inc (struct test_f_f_data): Move expected results
1026 into structure for each rounding mode.
1027 (struct test_ff_f_data): Likewise.
1028 (struct test_ff_f_data_nexttoward): Likewise.
1029 (struct test_fi_f_data): Likewise.
1030 (struct test_fl_f_data): Likewise.
1031 (struct test_if_f_data): Likewise.
1032 (struct test_fff_f_data): Likewise.
1033 (struct test_c_f_data): Likewise.
1034 (struct test_f_f1_data): Likewise.
1035 (struct test_fF_f1_data): Likewise.
1036 (struct test_ffI_f1_data): Likewise.
1037 (struct test_c_c_data): Likewise.
1038 (struct test_cc_c_data): Likewise.
1039 (struct test_f_i_data): Likewise.
1040 (struct test_ff_i_data): Likewise.
1041 (struct test_f_l_data): Likewise.
1042 (struct test_f_L_data): Likewise.
1043 (struct test_fFF_11_data): Likewise.
1045 (RM_FE_DOWNWARD): Likewise.
1046 (RM_FE_TONEAREST): Likewise.
1047 (RM_FE_TOWARDZERO): Likewise.
1048 (RM_FE_UPWARD): Likewise.
1049 (RUN_TEST_LOOP_f_f): Update references to expected results.
1050 (RUN_TEST_LOOP_2_f): Likewise.
1051 (RUN_TEST_LOOP_fff_f): Likewise.
1052 (RUN_TEST_LOOP_c_f): Likewise.
1053 (RUN_TEST_LOOP_f_f1): Likewise.
1054 (RUN_TEST_LOOP_fF_f1): Likewise.
1055 (RUN_TEST_LOOP_fI_f1): Likewise.
1056 (RUN_TEST_LOOP_ffI_f1): Likewise.
1057 (RUN_TEST_LOOP_c_c): Likewise.
1058 (RUN_TEST_LOOP_cc_c): Likewise.
1059 (RUN_TEST_LOOP_f_i): Likewise.
1060 (RUN_TEST_LOOP_f_i_tg): Likewise.
1061 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1062 (RUN_TEST_LOOP_f_b): Likewise.
1063 (RUN_TEST_LOOP_f_b_tg): Likewise.
1064 (RUN_TEST_LOOP_f_l): Likewise.
1065 (RUN_TEST_LOOP_f_L): Likewise.
1066 (RUN_TEST_LOOP_fFF_11): Likewise.
1067 * math/gen-libm-test.pl (parse_args): Output four copies of
1068 expected results for each test.
1070 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1071 (__ASSUME_UTIMES): Remove.
1072 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1073 (__ASSUME_UTIMES): Likewise.
1075 * math/gen-auto-libm-tests.c: Update comment on output format.
1076 (output_for_one_input_case): Generate before-rounding and
1077 after-rounding information as conditions on output flags not
1078 floating-point format.
1079 * math/auto-libm-test-out: Regenerated.
1080 * math/gen-libm-test.pl (cond_value): New function.
1081 (or_cond_value): Use cond_value.
1082 (generate_testfile): Handle conditional exceptions.
1084 2014-03-05 Joseph Myers <joseph@codesourcery.com>
1086 * math/libm-test.inc (max_valid_error): New variable.
1087 (init_max_error): Take new argument specifying whether function
1088 results are exactly determined. Set max_valid_error and bound
1089 other variables for errors based on this argument.
1090 (set_max_error): Do not record results above max_valid_error.
1091 (check_float_internal): Only accept errors of up to 0.5ulps if
1092 also at most max_valid_error.
1093 (START): Take new argument EXACT and pass it to init_max_error.
1094 (acos_test): Update call to START.
1095 (acos_test_tonearest): Likewise.
1096 (acos_test_towardzero): Likewise.
1097 (acos_test_downward): Likewise.
1098 (acos_test_upward): Likewise.
1099 (acosh_test): Likewise.
1100 (asin_test): Likewise.
1101 (asin_test_tonearest): Likewise.
1102 (asin_test_towardzero): Likewise.
1103 (asin_test_downward): Likewise.
1104 (asin_test_upward): Likewise.
1105 (asinh_test): Likewise.
1106 (atan_test): Likewise.
1107 (atanh_test): Likewise.
1108 (atan2_test): Likewise.
1109 (cabs_test): Likewise.
1110 (cacos_test): Likewise.
1111 (cacosh_test): Likewise.
1112 (carg_test): Likewise.
1113 (casin_test): Likewise.
1114 (casinh_test): Likewise.
1115 (catan_test): Likewise.
1116 (catanh_test): Likewise.
1117 (cbrt_test): Likewise.
1118 (ccos_test): Likewise.
1119 (ccosh_test): Likewise.
1120 (ceil_test): Likewise.
1121 (cexp_test): Likewise.
1122 (cimag_test): Likewise.
1123 (clog_test): Likewise.
1124 (clog10_test): Likewise.
1125 (conj_test): Likewise.
1126 (copysign_test): Likewise.
1127 (cos_test): Likewise.
1128 (cos_test_tonearest): Likewise.
1129 (cos_test_towardzero): Likewise.
1130 (cos_test_downward): Likewise.
1131 (cos_test_upward): Likewise.
1132 (cosh_test): Likewise.
1133 (cosh_test_tonearest): Likewise.
1134 (cosh_test_towardzero): Likewise.
1135 (cosh_test_downward): Likewise.
1136 (cosh_test_upward): Likewise.
1137 (cpow_test): Likewise.
1138 (cproj_test): Likewise.
1139 (creal_test): Likewise.
1140 (csin_test): Likewise.
1141 (csinh_test): Likewise.
1142 (csqrt_test): Likewise.
1143 (ctan_test): Likewise.
1144 (ctan_test_tonearest): Likewise.
1145 (ctan_test_towardzero): Likewise.
1146 (ctan_test_downward): Likewise.
1147 (ctan_test_upward): Likewise.
1148 (ctanh_test): Likewise.
1149 (ctanh_test_tonearest): Likewise.
1150 (ctanh_test_towardzero): Likewise.
1151 (ctanh_test_downward): Likewise.
1152 (ctanh_test_upward): Likewise.
1153 (erf_test): Likewise.
1154 (erfc_test): Likewise.
1155 (exp_test): Likewise.
1156 (exp_test_tonearest): Likewise.
1157 (exp_test_towardzero): Likewise.
1158 (exp_test_downward): Likewise.
1159 (exp_test_upward): Likewise.
1160 (exp10_test): Likewise.
1161 (exp10_test_tonearest): Likewise.
1162 (exp10_test_towardzero): Likewise.
1163 (exp10_test_downward): Likewise.
1164 (exp10_test_upward): Likewise.
1165 (pow10_test): Likewise.
1166 (exp2_test): Likewise.
1167 (expm1_test): Likewise.
1168 (expm1_test_tonearest): Likewise.
1169 (expm1_test_towardzero): Likewise.
1170 (expm1_test_downward): Likewise.
1171 (expm1_test_upward): Likewise.
1172 (fabs_test): Likewise.
1173 (fdim_test): Likewise.
1174 (floor_test): Likewise.
1175 (fma_test): Likewise.
1176 (fma_test_towardzero): Likewise.
1177 (fma_test_downward): Likewise.
1178 (fma_test_upward): Likewise.
1179 (fmax_test): Likewise.
1180 (fmin_test): Likewise.
1181 (fmod_test): Likewise.
1182 (fpclassify_test): Likewise.
1183 (frexp_test): Likewise.
1184 (hypot_test): Likewise.
1185 (ilogb_test): Likewise.
1186 (isfinite_test): Likewise.
1187 (finite_test): Likewise.
1188 (isgreater_test): Likewise.
1189 (isgreaterequal_test): Likewise.
1190 (isinf_test): Likewise.
1191 (isless_test): Likewise.
1192 (islessequal_test): Likewise.
1193 (islessgreater_test): Likewise.
1194 (isnan_test): Likewise.
1195 (isnormal_test): Likewise.
1196 (issignaling_test): Likewise.
1197 (isunordered_test): Likewise.
1198 (j0_test): Likewise.
1199 (j1_test): Likewise.
1200 (jn_test): Likewise.
1201 (ldexp_test): Likewise.
1202 (lgamma_test): Likewise.
1203 (gamma_test): Likewise.
1204 (lrint_test): Likewise.
1205 (lrint_test_tonearest): Likewise.
1206 (lrint_test_towardzero): Likewise.
1207 (lrint_test_downward): Likewise.
1208 (lrint_test_upward): Likewise.
1209 (llrint_test): Likewise.
1210 (llrint_test_tonearest): Likewise.
1211 (llrint_test_towardzero): Likewise.
1212 (llrint_test_downward): Likewise.
1213 (llrint_test_upward): Likewise.
1214 (log_test): Likewise.
1215 (log10_test): Likewise.
1216 (log1p_test): Likewise.
1217 (log2_test): Likewise.
1218 (logb_test): Likewise.
1219 (logb_test_downward): Likewise.
1220 (lround_test): Likewise.
1221 (llround_test): Likewise.
1222 (modf_test): Likewise.
1223 (nearbyint_test): Likewise.
1224 (nextafter_test): Likewise.
1225 (nexttoward_test): Likewise.
1226 (pow_test): Likewise.
1227 (pow_test_tonearest): Likewise.
1228 (pow_test_towardzero): Likewise.
1229 (pow_test_downward): Likewise.
1230 (pow_test_upward): Likewise.
1231 (remainder_test): Likewise.
1232 (drem_test): Likewise.
1233 (remainder_test_tonearest): Likewise.
1234 (drem_test_tonearest): Likewise.
1235 (remainder_test_towardzero): Likewise.
1236 (drem_test_towardzero): Likewise.
1237 (remainder_test_downward): Likewise.
1238 (drem_test_downward): Likewise.
1239 (remainder_test_upward): Likewise.
1240 (drem_test_upward): Likewise.
1241 (remquo_test): Likewise.
1242 (rint_test): Likewise.
1243 (rint_test_tonearest): Likewise.
1244 (rint_test_towardzero): Likewise.
1245 (rint_test_downward): Likewise.
1246 (rint_test_upward): Likewise.
1247 (round_test): Likewise.
1248 (scalb_test): Likewise.
1249 (scalbn_test): Likewise.
1250 (scalbln_test): Likewise.
1251 (signbit_test): Likewise.
1252 (sin_test): Likewise.
1253 (sin_test_tonearest): Likewise.
1254 (sin_test_towardzero): Likewise.
1255 (sin_test_downward): Likewise.
1256 (sin_test_upward): Likewise.
1257 (sincos_test): Likewise.
1258 (sinh_test): Likewise.
1259 (sinh_test_tonearest): Likewise.
1260 (sinh_test_towardzero): Likewise.
1261 (sinh_test_downward): Likewise.
1262 (sinh_test_upward): Likewise.
1263 (sqrt_test): Likewise.
1264 (sqrt_test_tonearest): Likewise.
1265 (sqrt_test_towardzero): Likewise.
1266 (sqrt_test_downward): Likewise.
1267 (sqrt_test_upward): Likewise.
1268 (tan_test): Likewise.
1269 (tan_test_tonearest): Likewise.
1270 (tan_test_towardzero): Likewise.
1271 (tan_test_downward): Likewise.
1272 (tan_test_upward): Likewise.
1273 (tanh_test): Likewise.
1274 (tgamma_test): Likewise.
1275 (trunc_test): Likewise.
1276 (y0_test): Likewise.
1277 (y1_test): Likewise.
1278 (yn_test): Likewise.
1279 (significand_test): Likewise.
1281 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1282 individual tests in comment.
1283 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1284 (prev_max_error): New variable.
1285 (prev_real_max_error): Likewise.
1286 (prev_imag_max_error): Likewise.
1287 (compare_ulp_data): Don't refer to test names in comment.
1288 (find_test_ulps): Remove function.
1289 (find_function_ulps): Likewise.
1290 (find_complex_function_ulps): Likewise.
1291 (init_max_error): Take function name as argument. Look up ulps
1293 (print_ulps): Remove function.
1294 (print_max_error): Use prev_max_error instead of calling
1296 (print_complex_max_error): Use prev_real_max_error and
1297 prev_imag_max_error instead of calling find_complex_function_ulps.
1298 (check_float_internal): Take max_ulp parameter instead of calling
1299 find_test_ulps. Don't call print_ulps.
1300 (check_float): Update call to check_float_internal.
1301 (check_complex): Update calls to check_float_internal.
1302 (START): Pass argument to init_max_error.
1303 * math/gen-libm-test.pl (%results): Don't include "kind"
1305 (parse_ulps): Don't handle ulps of individual tests.
1306 (print_ulps_file): Likewise.
1307 (output_ulps): Likewise.
1308 * math/README.libm-test: Update.
1309 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1311 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1312 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1313 * sysdeps/arm/libm-test-ulps: Likewise.
1314 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1315 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1316 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1317 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1318 * sysdeps/microblaze/libm-test-ulps: Likewise.
1319 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1320 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1321 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1322 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1323 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1324 * sysdeps/sh/libm-test-ulps: Likewise.
1325 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1326 * sysdeps/tile/libm-test-ulps: Likewise.
1327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1329 2014-03-04 Joseph Myers <joseph@codesourcery.com>
1331 * math/libm-test.inc (print_complex_max_error): Check separately
1332 whether real and imaginary errors are within allowed range and
1333 pass 0 to print_complex_function_ulps instead of value within
1336 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1338 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1340 (get_handles_fopen): Likewise.
1341 (do_write_test): Likewise.
1343 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1345 * libio/fileops.c (do_ftell): Use cached offset when
1347 * libio/iofwide.c (do_ftell_wide): Likewise.
1348 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1350 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1353 * libio/libioP.h (get_file_offset): New function.
1354 * libio/fileops.c (get_file_offset): Likewise.
1355 (do_ftell): Likewise.
1356 (_IO_new_file_seekoff): Split out ftell logic.
1357 * libio/wfileops.c (do_ftell_wide): Likewise.
1358 (_IO_wfile_seekoff): Split out ftell logic.
1359 * libio/tst-ftell-active-handler.c: New test case.
1360 * libio/Makefile (tests): Add it.
1362 2014-03-03 Roland McGrath <roland@hack.frob.com>
1364 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1365 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1367 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1370 * nscd/connections.c (nscd_init): Call do_exit.
1371 (start_threads): Call do_exit and notify_parent.
1372 (begin_drop_privileges): Call do_exit.
1373 (finish_drop_privileges): Likewise.
1374 * nscd/selinux.c (preserve_capabilities): Likewise.
1375 (install_real_capabilities): Likewise.
1376 (nscd_selinux_enabled): Likewise.
1377 (avc_create_thread): Likewise.
1378 (avc_alloc_lock): Likewise.
1379 (nscd_avc_init): Likewise.
1380 * nscd/nscd.c (parent_fd): New static variable.
1381 (main): Create a pipe between parent and child processes.
1382 Skip closing parent_fd.
1383 (monitor_child): New function.
1384 (do_exit): Likewise.
1385 (notify_parent): Likewise.
1386 * nscd/nscd.h (notify_parent): Likewise.
1387 (do_exit): Likewise.
1389 2014-03-03 Carlos O'Donell <carlos@redhat.com>
1391 * malloc/malloc.c (__libc_calloc): Revert last change.
1393 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1397 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1399 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1403 (__libc_ifunc_impl_list): Likewise.
1404 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1405 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1406 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1407 * string/strrchr.c: Define STRRCHR.
1409 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
1411 * benchtest/bench-strtok.c (simple_strtok): Delete.
1412 (strtok_string): Use as benchmark.
1413 * string/strtok (STRTOK): New macro.
1415 2014-02-28 Carlos O'Donell <carlos@redhat.com>
1417 * manual/threads.texi: Add header and standard comments to all
1420 * elf/dl-lookup.c (check_match): New function.
1421 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1422 (do_lookup_x): Remove nested function check_match. Use non-nested
1423 function check_match.
1425 2014-02-28 Roland McGrath <roland@hack.frob.com>
1427 * csu/Makefile (generated, before-compile): Use += rather than =.
1428 * catgets/Makefile (generated, generated-dirs): Likewise.
1429 * debug/Makefile (generated): Likewise.
1430 * dlfcn/Makefile (generated): Likewise.
1431 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1432 * iconvdata/Makefile (before-compile, generated): Likewise.
1433 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1434 * libio/Makefile (generated): Likewise.
1435 * malloc/Makefile (generated): Likewise.
1436 * manual/Makefile (generated, generated-dirs): Likewise.
1437 * misc/Makefile (generated): Likewise.
1438 * posix/Makefile (generated): Likewise.
1439 * resolv/Makefile (generated): Likewise.
1440 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1441 * timezone/Makefile (generated, generated-dirs): Likewise.
1443 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1445 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1450 POWER8 llround ifunc implementation.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1452 POWER8 implementation.
1453 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1454 POWER8 llround implementation.
1456 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1461 POWER8 llrint ifunc implementation.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1463 POWER8 implementation.
1464 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1465 POWER8 llrint implementation.
1467 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1472 POWER8 finite ifunc implementation.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1474 POWER8 implementation.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1477 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1478 POWER8 finite implementation.
1479 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1481 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1486 POWER8 isinf ifunc implementation.
1487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1488 POWER8 implementation.
1489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1491 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1492 POWER8 isinf implementation.
1493 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1495 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1497 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1498 Add hwcap2 initialization.
1499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1502 POWER8 isnan ifunc implementation.
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1504 POWER8 implementation.
1505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1507 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1508 POWER8 isnan implementation.
1509 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1511 2014-02-27 Joey Ye <joey.ye@arm.com>
1513 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1514 (_FP_NANFRAC_Q): Set to zero.
1516 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1519 * math/auto-libm-test-in: New test inputs.
1520 * math/auto-libm-test-out: Regenerate.
1521 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1524 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1526 2014-02-27 Joseph Myers <joseph@codesourcery.com>
1528 * scripts/evaluate-test.sh: Take new argument indicating whether
1529 failure is expected.
1530 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1531 indicating whether failure is expected.
1532 * conform/Makefile (test-xfail-run-conformtest): New variable.
1533 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1535 * posix/Makefile (test-xfail-annexc): New variable.
1536 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1538 2014-02-26 Joseph Myers <joseph@codesourcery.com>
1540 * argp/Makefile: Include Makeconfig immediately after defining
1542 * assert/Makefile: Likewise.
1543 * benchtests/Makefile: Likewise.
1544 * catgets/Makefile: Likewise.
1545 * conform/Makefile: Likewise.
1546 * crypt/Makefile: Likewise.
1547 * csu/Makefile: Likewise.
1548 (all): Remove target.
1549 * ctype/Makefile: Include Makeconfig immediately after defining
1551 * debug/Makefile: Likewise.
1552 * dirent/Makefile: Likewise.
1553 * dlfcn/Makefile: Likewise.
1554 * gmon/Makefile: Likewise.
1555 * gnulib/Makefile: Likewise.
1556 * grp/Makefile: Likewise.
1557 * gshadow/Makefile: Likewise.
1558 * hesiod/Makefile: Likewise.
1559 * hurd/Makefile: Likewise.
1560 (all): Remove target.
1561 * iconvdata/Makefile: Include Makeconfig immediately after
1563 * inet/Makefile: Likewise.
1564 * intl/Makefile: Likewise.
1565 * io/Makefile: Likewise.
1566 * libio/Makefile: Likewise.
1567 (all): Remove target.
1568 * locale/Makefile: Include Makeconfig immediately after defining
1570 * login/Makefile: Likewise.
1571 * mach/Makefile: Likewise.
1572 (all): Remove target.
1573 * malloc/Makefile: Include Makeconfig immediately after defining
1575 (all): Remove target.
1576 * manual/Makefile: Include Makeconfig immediately after defining
1578 * math/Makefile: Likewise.
1579 * misc/Makefile: Likewise.
1580 * nis/Makefile: Likewise.
1581 * nss/Makefile: Likewise.
1582 * po/Makefile: Likewise.
1583 (all): Remove target.
1584 * posix/Makefile: Include Makeconfig immediately after defining
1586 * pwd/Makefile: Likewise.
1587 * resolv/Makefile: Likewise.
1588 * resource/Makefile: Likewise.
1589 * rt/Makefile: Likewise.
1590 * setjmp/Makefile: Likewise.
1591 * shadow/Makefile: Likewise.
1592 * signal/Makefile: Likewise.
1593 * socket/Makefile: Likewise.
1594 * soft-fp/Makefile: Likewise.
1595 * stdio-common/Makefile: Likewise.
1596 * stdlib/Makefile: Likewise.
1597 * streams/Makefile: Likewise.
1598 * string/Makefile: Likewise.
1599 * sunrpc/Makefile: Likewise.
1600 (all): Remove target.
1601 * sysvipc/Makefile: Include Makeconfig immediately after defining
1603 * termios/Makefile: Likewise.
1604 * time/Makefile: Likewise.
1605 * timezone/Makefile: Likewise.
1606 (all): Remove target.
1607 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1609 * wctype/Makefile: Likewise.
1611 2014-02-26 Steve Ellcey <sellcey@mips.com>
1613 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1614 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1615 (libc_feholdexcept_setround_mips): Ditto.
1616 (libc_feholdsetround): New.
1617 (libc_feholdsetroundf): New.
1618 (libc_feholdsetroundl): New.
1619 (libc_feupdateenv_test_mips): New.
1620 (libc_feupdateenv_test): New.
1621 (libc_feupdateenv_testf): New.
1622 (libc_feupdateenv_testl): New.
1623 (libc_feresetround): New.
1624 (libc_feresetroundf): New.
1625 (libc_feresetroundl): New.
1626 (libc_fetestexcept_mips): New.
1627 (libc_fetestexcept): New.
1628 (libc_fetestexceptf): New.
1629 (libc_fetestexceptl): New.
1631 (libc_feholdexcept_setround_mips_ctx): New.
1632 (libc_feholdexcept_setround_ctx): New.
1633 (libc_feholdexcept_setroundf_ctx): New.
1634 (libc_feholdexcept_setroundl_ctx): New.
1635 (libc_fesetenv_mips_ctx): New.
1636 (libc_fesetenv_ctx): New.
1637 (libc_fesetenv_ctxf): New.
1638 (libc_fesetenv_ctxl): New.
1639 (libc_feupdateenv_mips_ctx): New.
1640 (libc_feupdateenv_ctx): New.
1641 (libc_feupdateenvf_ctx): New.
1642 (libc_feupdateenvl_ctx): New.
1643 (libc_feholdsetround_mips_ctx): New.
1644 (libc_feholdsetround_ctx): New.
1645 (libc_feholdsetroundf_ctx): New.
1646 (libc_feholdsetroundl_ctx): New.
1647 (libc_feresetround_mips_ctx): New.
1648 (libc_feresetround_ctx): New.
1649 (libc_feresetroundf_ctx): New.
1650 (libc_feresetroundl_ctx): New.
1652 2014-02-26 Carlos O'Donell <carlos@redhat.com>
1654 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1656 * manual/ipc.texi: New file.
1657 * manual/Makefile (chapters): Add ipc.
1658 * manual/job.texi: Add "Inter-Process Communication" to next.
1659 * manual/process.texi: Add "Inter-Process Communication" to prev.
1661 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1665 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
1667 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1669 * manual/arith.texi: Fix spaces after sentences.
1670 * manual/charset.texi: Likewise.
1671 * manual/errno.texi: Likewise.
1672 * manual/install.texi: Likewise.
1673 * manual/llio.texi: Likewise.
1674 * manual/locale.texi: Likewise.
1675 * manual/maint.texi: Likewise.
1676 * manual/math.texi: Likewise.
1677 * manual/memory.texi: Likewise.
1678 * manual/message.texi: Likewise.
1679 * manual/probes.texi: Likewise.
1680 * manual/resource.texi: Likewise.
1681 * manual/signal.texi: Likewise.
1682 * manual/socket.texi: Likewise.
1683 * manual/stdio.texi: Likewise.
1684 * manual/string.texi: Likewise.
1685 * manual/time.texi: Likewise.
1686 * manual/users.texi: Likewise.
1688 2014-02-25 Carlos O'Donell <carlos@redhat.com>
1691 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1692 _DEFAULT_SOURCE is defined.
1694 2014-02-25 Ulrich Drepper <drepper@gmail.com>
1695 Carlos O'Donell <carlos@redhat.com>
1698 * elf/dl-tls.c (_dl_count_modids): New function.
1699 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1700 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1701 audit library and increment generation counter.
1702 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1703 * elf/tst-audit9.c: New file.
1704 * elf/tst-auditmod9a.c: New file.
1705 * elf/tst-auditmod9b.c: New file.
1706 * elf/Makefile: Add rules to build and run tst-audit9.
1708 2014-02-25 Florian Weimer <fweimer@redhat.com>
1711 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1713 2014-02-25 Will Newton <will.newton@linaro.org>
1715 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1716 (__longjmp): Restore sp and lr before restoring callee
1717 saved registers. Add longjmp and longjmp_target
1718 SystemTap probe point.
1719 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1720 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1721 Define to zero to match jmpbuf layout.
1722 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1723 (__sigsetjmp): Save sp and lr before saving callee
1724 saved registers. Add setjmp SystemTap probe point.
1726 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1728 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1730 2014-02-24 Andreas Schwab <schwab@suse.de>
1733 * elf/pldd.c (wait_for_ptrace_stop): New function.
1734 (main): Call it after attaching.
1736 2014-02-22 Roland McGrath <roland@hack.frob.com>
1738 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1739 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1740 Versions files is now verboten.
1741 * hurd/Versions (libc: GLIBC_2.0):
1742 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1743 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1744 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1745 * mach/Versions: Likewise.
1747 * csu/Versions: Remove unused %include.
1748 * resolv/Versions: Likewise.
1750 2014-02-21 Joseph Myers <joseph@codesourcery.com>
1752 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1753 ($(objpfx)check-local-headers.out): Likewise.
1754 ($(objpfx)begin-end-check.out): Likewise.
1755 * Makerules (check-abi-%.out): Likewise.
1756 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1757 ($(objpfx)test2.cat): Likewise.
1758 ($(objpfx)de/libc.cat): Likewise.
1759 ($(objpfx)test-gencat.out): Likewise.
1760 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1761 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1762 ($(objpfx)noload-mem): Likewise.
1763 ($(objpfx)tst-pathopt.out): Likewise.
1764 ($(objpfx)tst-rtld-load-self.out): Likewise.
1765 ($(objpfx)tst-array1-cmp.out): Likewise.
1766 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1767 ($(objpfx)tst-array2-cmp.out): Likewise.
1768 ($(objpfx)tst-array3-cmp.out): Likewise.
1769 ($(objpfx)tst-array4-cmp.out): Likewise.
1770 ($(objpfx)tst-array5-cmp.out): Likewise.
1771 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1772 ($(objpfx)check-textrel.out): Likewise.
1773 ($(objpfx)check-execstack.out): Likewise.
1774 ($(objpfx)check-localplt.out): Likewise.
1775 ($(objpfx)order2-cmp.out): Likewise.
1776 ($(objpfx)tst-leaks1-mem): Likewise.
1777 ($(objpfx)tst-leaks1-static-mem): Likewise.
1778 ($(objpfx)tst-initorder-cmp.out): Likewise.
1779 ($(objpfx)tst-initorder2-cmp.out): Likewise.
1780 ($(objpfx)tst-unused-dep.out): Likewise.
1781 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1782 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1783 * iconv/Makefile (test-iconvconfig): Likewise.
1784 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1785 ($(objpfx)iconv-test.out): Likewise.
1786 ($(objpfx)tst-tables.out): Likewise.
1787 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1788 ($(objpfx)tst-gettext.out): Likewise.
1789 ($(objpfx)tst-translit.out): Likewise.
1790 ($(objpfx)tst-gettext2.out): Likewise.
1791 ($(objpfx)tst-gettext4.out): Likewise.
1792 ($(objpfx)tst-gettext6.out): Likewise.
1793 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1794 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1795 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1796 ($(objpfx)tst-fopenloc-mem.out): Likewise.
1797 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1798 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1799 * posix/Makefile ($(objpfx)globtest.out): Likewise.
1800 ($(objpfx)wordexp-tst.out): Likewise.
1801 ($(objpfx)annexc.out): Likewise.
1802 ($(objpfx)tst-fnmatch-mem): Likewise.
1803 ($(objpfx)bug-regex2-mem): Likewise.
1804 ($(objpfx)bug-regex14-mem): Likewise.
1805 ($(objpfx)bug-regex21-mem): Likewise.
1806 ($(objpfx)bug-regex31-mem): Likewise.
1807 ($(objpfx)tst-vfork3-mem): Likewise.
1808 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1809 ($(objpfx)tst-pcre-mem): Likewise.
1810 ($(objpfx)tst-boost-mem): Likewise.
1811 ($(objpfx)tst-getconf.out): Likewise.
1812 ($(objpfx)bug-ga2-mem): Likewise.
1813 ($(objpfx)bug-glob2-mem): Likewise.
1814 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1815 ($(objpfx)mtrace-tst-leaks2): Likewise.
1816 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1817 ($(objpfx)tst-printf.out): Likewise.
1818 ($(objpfx)tst-setvbuf1.out): Likewise.
1819 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1820 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1821 ($(objpfx)tst-fmtmsg.out): Likewise.
1822 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1823 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1825 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1826 * bits/sigaction.h [__USE_MISC]: Likewise.
1827 * bits/waitstatus.h: Update #endif comments.
1828 * ctype/ctype.h: Likewise.
1829 * dirent/dirent.h: Likewise.
1830 [__USE_MISC]: Remove redundant conditionals.
1831 * grp/grp.h: Update #endif comments.
1832 [__USE_GNU]: Remove redundant conditionals.
1833 [__USE_MISC]: Likewise.
1834 * inet/netinet/in.h [__USE_GNU]: Likewise.
1835 * io/sys/stat.h [__USE_MISC]: Likewise.
1836 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1837 * libio/bits/stdio.h: Update #endif comments.
1838 [__USE_MISC]: Remove redundant conditionals.
1839 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1840 * libio/stdio.h: Update #endif comments.
1841 [__USE_MISC]: Remove redundant conditionals.
1842 * math/bits/math-finite.h [__USE_MISC]: Likewise.
1843 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1844 * math/math.h: Update #else and #endif comments.
1845 [__USE_MISC]: Remove redundant conditionals.
1846 * misc/sys/uio.h: Update #endif comments.
1847 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1848 * posix/glob.h [__USE_MISC]: Likewise.
1849 * posix/sys/types.h: Update #endif comments.
1850 [__USE_MISC]: Remove redundant conditionals.
1851 * posix/sys/wait.h: Update #endif comments.
1852 [__USE_MISC]: Remove redundant conditionals.
1853 * posix/unistd.h: Update #endif comments.
1854 [__USE_MISC]: Remove redundant conditionals.
1855 * pwd/pwd.h [__USE_GNU]: Likewise.
1856 [__USE_MISC]: Likewise.
1857 * resolv/netdb.h [__USE_GNU]: Likewise.
1858 * signal/signal.h: Update #endif comments.
1859 [__USE_MISC]: Remove redundant conditionals.
1860 * stdlib/stdlib.h: Update #else and #endif comments.
1861 [__USE_MISC]: Remove redundant conditionals.
1862 [__USE_GNU]: Likewise.
1863 * string/bits/string2.h [__USE_MISC]: Likewise.
1864 * string/string.h: Update #endif comments.
1865 [__USE_MISC]: Remove redundant conditionals.
1866 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1868 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1869 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1870 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1872 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1874 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1876 [__USE_MISC]: Remove redundant conditionals.
1877 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1878 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1879 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1880 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1881 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1883 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1884 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1886 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1889 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1891 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1892 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1894 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1896 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1897 * sysdeps/x86/bits/string.h: Update #endif comments.
1898 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1900 * time/sys/time.h: Update #endif comments.
1901 * time/time.h: Likewise.
1902 [__USE_MISC]: Remove redundant conditionals.
1904 2014-02-21 Yury Gribov <y.gribov@samsung.com>
1907 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1909 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
1911 * Versions.def (librt): Add GLIBC_2.17.
1913 2014-02-21 Adam Conrad <adconrad@0c3.net>
1915 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1916 synonym for _SYS_AUXV_H to allow direct inclusion.
1917 * sysdeps/sparc/bits/hwcap.h: Likewise.
1918 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1919 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1920 * sysdeps/sparc/sysdep.h: Likewise.
1922 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1924 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1926 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1928 * benchtests/bench-strrchr.c: Print length instead of position.
1930 2014-02-20 Joseph Myers <joseph@codesourcery.com>
1933 * sysdeps/unix/sysv/linux/kernel-features.h
1934 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1935 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1936 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1937 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1939 [__i386__ || __powerpc__ || __sh__ || __sparc__]
1940 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1941 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1942 (__ASSUME_SENDMMSG): Define instead of using previous
1943 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1944 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1945 (__ASSUME_SENDMMSG_SYSCALL): Define.
1946 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1947 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1949 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1950 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1952 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1953 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1955 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1956 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1957 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1958 [__ASSUME_SENDMMSG]: Change conditionals to
1959 [__ASSUME_SENDMMSG_SOCKETCALL].
1960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1961 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1963 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1964 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1966 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1967 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1968 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1969 [!__ASSUME_SENDMMSG]: Change conditional to
1970 [!__ASSUME_SENDMMSG_SOCKETCALL].
1971 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1972 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1976 * sysdeps/unix/sysv/linux/kernel-features.h
1977 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
1978 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
1979 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
1980 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
1981 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1982 [__i386__ || __sparc__]
1983 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1984 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
1985 (__ASSUME_RECVMMSG): Define instead of using previous
1986 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
1987 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1988 (__ASSUME_RECVMMSG_SYSCALL): Define.
1989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1990 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1992 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1993 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1995 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1996 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1998 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
1999 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2000 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2001 [__ASSUME_RECVMMSG]: Change condition to
2002 [__ASSUME_RECVMMSG_SOCKETCALL].
2003 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2004 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2006 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2007 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2008 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2010 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2011 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2012 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2013 [!__ASSUME_RECVMMSG]: Change condition to
2014 [!__ASSUME_RECVMMSG_SOCKETCALL].
2015 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2016 (__ASSUME_RECVMMSG_SYSCALL): Define.
2019 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2020 __powerpc__ || __s390__ || __sh__ || __sparc__]
2021 (__ASSUME_SOCKETCALL): Define.
2022 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2023 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2024 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2025 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2026 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2027 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2028 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2029 (__ASSUME_ACCEPT4): Define instead of using previous
2030 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2031 __powerpc__ || __sparc__ || __s390__)] condition.
2032 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2033 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2034 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2035 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2036 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2037 [!__ASSUME_ACCEPT4]: Change condition to
2038 [!__ASSUME_ACCEPT4_SOCKETCALL].
2039 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2040 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2041 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2042 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2043 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2044 __ASSUME_ACCEPT4_SYSCALL.
2045 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2046 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2047 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2048 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2049 __ASSUME_ACCEPT4_SYSCALL.
2050 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2051 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2052 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2053 [__ASSUME_ACCEPT4]: Change condition to
2054 [__ASSUME_ACCEPT4_SOCKETCALL].
2055 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2056 (__ASSUME_SOCKETCALL): Define.
2057 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2058 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2059 (__ASSUME_SOCKETCALL): Define.
2060 (__ASSUME_ACCEPT4): Remove.
2061 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2063 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2064 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2066 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2067 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2069 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2071 (HWCAP_ARM_LPAE): Likewise.
2072 (HWCAP_ARM_EVTSTRM): Likewise.
2073 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2074 Add vpfd32, lpae and evtstrm.
2075 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2078 2014-02-19 Joseph Myers <joseph@codesourcery.com>
2080 * math/auto-libm-test-in: Add tests of clog10.
2081 * math/auto-libm-test-out: Regenerated.
2082 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2083 * sysdeps/i386/fpu/libm-test-ulps: Update.
2084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2086 2014-02-18 Andreas Schwab <schwab@suse.de>
2089 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2090 Store non-zero if the second buffer was newly allocated.
2091 (send_dg): Likewise.
2092 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2093 to send_vc and send_dg.
2094 (res_nsend): Pass NULL for ansp2_malloced.
2095 * resolv/res_query.c (__libc_res_nquery): Add parameter
2096 answerp2_malloced and pass it down to __libc_res_nsend.
2097 (res_nquery): Pass additional NULL to __libc_res_nquery.
2098 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2099 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2100 second answer buffer if answerp2_malloced was set.
2101 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2102 (__libc_res_nquerydomain): Add parameter
2103 answerp2_malloced and pass it down to __libc_res_nquery.
2104 (res_nquerydomain): Pass additional NULL to
2105 __libc_res_nquerydomain.
2106 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2107 additional NULL to __libc_res_nsend and __libc_res_nquery.
2108 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2109 additional NULL to __libc_res_nsearch.
2110 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2111 parameter of __libc_res_nsearch to check for separately allocated
2113 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2115 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2116 additional NULL to __libc_res_nquery.
2117 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2119 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2120 * include/resolv.h: Update prototypes of __libc_res_nquery,
2121 __libc_res_nsearch, __libc_res_nsend.
2123 2014-02-18 Joseph Myers <joseph@codesourcery.com>
2125 * math/auto-libm-test-in: Add tests of fma.
2126 * math/auto-libm-test-out: Regenerated.
2127 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2128 (fma_towardzero_test_data): Likewise.
2129 (fma_downward_test_data): Likewise.
2130 (fma_upward_test_data): Likewise.
2131 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2133 (rounding_modes): Add values for new field.
2134 (func_calc_method): Add value mpfr_fff_f.
2135 (func_calc_desc): Add mpfr_fff_f union field.
2136 (test_function): Add field exact_args.
2137 (FUNC): Add macro argument EXACT_ARGS.
2138 (FUNC_mpfr_f_f): Update call to FUNC.
2139 (FUNC_mpfr_f_f): Likewise.
2140 (FUNC_mpfr_ff_f): Likewise.
2141 (FUNC_mpfr_if_f): Likewise.
2142 (FUNC_mpc_c_f): Likewise.
2143 (FUNC_mpc_c_c): Likewise.
2144 (test_functions): Add fma. Update calls to FUNC.
2145 (handle_input_arg): Add argument exact_args.
2146 (add_test): Update call to handle_input_arg.
2147 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2148 (output_for_one_input_case): Update call to calc_generic_results.
2149 Recalculate exact zero results in each rounding mode.
2151 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2152 non-negative before setting low bit.
2153 * math/auto-libm-test-in: Mark one asin test possibly having
2155 * math/auto-libm-test-out: Regenerated.
2156 * sysdeps/i386/fpu/libm-test-ulps: Update.
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2159 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2161 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2162 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2163 ports/sysdeps/unix/sysv/linux/microblaze.
2164 * README: Add missing listing for microblaze*-*-linux-gnu.
2166 2014-02-16 Mike Frysinger <vapier@gentoo.org>
2168 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2169 * sysdeps/unix/sysv/linux/ia64: Move directory from
2170 ports/sysdeps/unix/sysv/linux/ia64.
2171 * README: Update listing for ia64-*-linux-gnu.
2173 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2174 Joseph Myers <joseph@codesourcery.com>
2176 * Makeconfig (test-name): New variable.
2177 (evaluate-test): Likewise.
2178 * Makerules (do-test-clean): Remove .test-result files.
2179 (common-mostlyclean): Likewise.
2180 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2181 * scripts/evaluate-test.sh: New file.
2183 2014-02-14 Joseph Myers <joseph@codesourcery.com>
2185 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2186 separate $(objpfx)tst-fopenloc-cmp.out and
2187 $(objpfx)tst-fopenloc-mem.out targets.
2188 (tests): Update dependencies.
2189 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2190 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2191 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2192 (tst-rxspencer-no-utf8-ARGS): New variable.
2193 (tst-rxspencer-no-utf8-ENV): Likewise.
2194 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2195 instead of $(objpfx)tst-rxspencer-mem.
2196 ($(objpfx)tst-rxspencer-mem): Change target to
2197 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2198 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2199 * posix/tst-rxspencer-no-utf8.c: New file.
2201 * elf/Makefile ($(objpfx)order.out): Remove rule.
2202 [$(run-built-tests) = yes] (tests): Depend on
2203 $(objpfx)order-cmp.out.
2204 ($(objpfx)order-cmp.out): New rule.
2205 [$(run-built-tests) = yes] (tests): Depend on
2206 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2207 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2208 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2209 $(objpfx)tst-array5-static-cmp.out.
2210 ($(objpfx)tst-array1.out): Remove rule.
2211 ($(objpfx)tst-array1-cmp.out): New rule.
2212 ($(objpfx)tst-array1-static.out): Remove rule.
2213 ($(objpfx)tst-array1-static-cmp.out): New rule.
2214 ($(objpfx)tst-array2.out): Remove rule.
2215 ($(objpfx)tst-array2-cmp.out): New rule.
2216 ($(objpfx)tst-array3.out): Remove rule.
2217 ($(objpfx)tst-array3-cmp.out): New rule.
2218 ($(objpfx)tst-array4.out): Remove rule.
2219 ($(objpfx)tst-array4-cmp.out): New rule.
2220 ($(objpfx)tst-array5.out): Remove rule.
2221 ($(objpfx)tst-array5-cmp.out): New rule.
2222 ($(objpfx)tst-array5-static.out): Remove rule.
2223 ($(objpfx)tst-array5-static-cmp.out): New rule.
2224 [$(run-built-tests) = yes] (tests): Depend on
2225 $(objpfx)order2-cmp.out.
2226 ($(objpfx)order2.out): Remove rule.
2227 ($(objpfx)order2-cmp.out): New rule.
2228 ($(objpfx)tst-initorder.out): Remove rule.
2229 [$(run-built-tests) = yes] (tests): Depend on
2230 $(objpfx)tst-initorder-cmp.out.
2231 ($(objpfx)tst-initorder-cmp.out): New rule.
2232 ($(objpfx)tst-initorder2.out): Remove rule.
2233 [$(run-built-tests) = yes] (tests): Depend on
2234 $(objpfx)tst-initorder2-cmp.out.
2235 ($(objpfx)tst-initorder2-cmp.out): New rule.
2236 [$(run-built-tests) = yes] (tests): Depend on
2237 $(objpfx)tst-unused-dep-cmp.out.
2238 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2239 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2240 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2241 on $(objpfx)tst-setvbuf1-cmp.out.
2242 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2243 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2244 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2245 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2246 ($(objpfx)tst-svc.out): Remove rule.
2247 ($(objpfx)tst-svc-cmp.out): New rule.
2249 2014-02-13 Joseph Myers <joseph@codesourcery.com>
2251 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2252 * ctype/ctype.h [__USE_MISC]: Likewise.
2253 * dirent/dirent.h [__USE_MISC]: Likewise.
2254 * grp/grp.h [__USE_MISC]: Likewise.
2255 * io/fcntl.h [__USE_MISC]: Likewise.
2256 * io/sys/stat.h [__USE_MISC]: Likewise.
2257 * libio/stdio.h [__USE_MISC]: Likewise.
2258 * posix/unistd.h [__USE_MISC]: Likewise.
2259 * pwd/pwd.h [__USE_MISC]: Likewise.
2260 * stdlib.h [__USE_MISC]: Likewise.
2261 * string/bits/string2.h [__USE_MISC]: Likewise.
2262 * string/string.h [__USE_MISC]: Likewise.
2263 * time/time.h [__USE_MISC]: Likewise.
2265 2014-02-13 Andreas Schwab <schwab@suse.de>
2268 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2269 second answer buffer if it was separately allocated.
2271 2014-02-12 Joseph Myers <joseph@codesourcery.com>
2273 * sysdeps/mips/math-tests.h: Include <features.h>.
2274 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2275 (ROUNDING_TESTS_long_double): Do not define.
2276 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2277 (EXCEPTION_TESTS_long_double): Likewise.
2278 * sysdeps/mips/mips64/libm-test-ulps: Update.
2280 * include/features.h (__USE_BSD): Remove macro definitions.
2281 (__USE_SVID): Likewise.
2282 (_BSD_SOURCE): Likewise.
2283 (_SVID_SOURCE): Likewise.
2284 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2285 from definition of _DEFAULT_SOURCE.
2286 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2288 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2289 * bits/mman.h [__USE_BSD]: Likewise.
2290 * bits/termios.h [__USE_BSD]: Likewise.
2291 * bits/waitstatus.h [__USE_BSD]: Likewise.
2292 * ctype/ctype.h [__USE_SVID]: Likewise.
2293 * dirent/dirent.h [__USE_BSD]: Likewise.
2294 * grp/grp.h [__USE_SVID]: Likewise.
2295 [__USE_BSD]: Likewise.
2296 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2297 * io/fcntl.h [__USE_BSD]: Likewise.
2298 * io/ftw.h [__USE_BSD]: Likewise.
2299 * io/sys/stat.h [__USE_BSD]: Likewise.
2300 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2301 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2302 * libio/stdio.h [__USE_SVID]: Likewise.
2303 [__USE_BSD]: Likewise.
2304 * math/math.h [__USE_SVID]: Likewise.
2305 [__USE_BSD]: Likewise.
2306 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2307 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2308 * misc/search.h [__USE_SVID]: Likewise.
2309 * misc/sys/mman.h [__USE_BSD]: Likewise.
2310 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2311 * misc/sys/uio.h [__USE_BSD]: Likewise.
2312 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2313 * posix/glob.h [__USE_BSD]: Likewise.
2314 * posix/regex.h [__USE_BSD]: Likewise.
2315 * posix/sys/types.h [__USE_BSD]: Likewise.
2316 [__USE_SVID]: Likewise.
2317 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2318 * posix/sys/wait.h [__USE_BSD]: Likewise.
2319 [__USE_SVID]: Likewise.
2320 * posix/unistd.h [__USE_BSD]: Likewise.
2321 [__USE_SVID]: Likewise.
2322 * pwd/pwd.h [__USE_SVID]: Likewise.
2323 * resolv/netdb.h [__USE_BSD]: Likewise.
2324 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2325 * signal/signal.h [__USE_BSD]: Likewise.
2326 [__USE_SVID]: Likewise.
2327 * socket/sys/socket.h [__USE_BSD]: Likewise.
2328 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2329 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2330 [__USE_SVID]: Likewise.
2331 * string/bits/string2.h [__USE_BSD]: Likewise.
2332 [__USE_SVID]: Likewise.
2333 * string/bits/string3.h [__USE_BSD]: Likewise.
2334 * string/endian.h [__USE_BSD]: Likewise.
2335 * string/string.h [__USE_SVID]: Likewise.
2336 [__USE_BSD]: Likewise.
2337 * string/strings.h [__USE_BSD]: Likewise.
2338 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2339 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2340 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2341 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2342 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2343 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2347 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2348 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2350 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2351 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2353 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2355 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2356 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2357 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2359 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2361 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2362 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2363 * termios/termios.h [__USE_BSD]: Likewise.
2364 * time/sys/time.h [__USE_BSD]: Likewise.
2365 * time/time.h [__USE_BSD]: Likewise.
2366 [__USE_SVID]: Likewise.
2368 * Makefile (subdir_targets): Remove subdir_lint.out.
2370 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2371 (do-tst-printf): Likewise.
2372 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2373 $(objpfx)tst-printf.out.
2375 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2377 * Makerules (check-abi-%): Change target to
2378 $(objpfx)check-abi-%.out.
2379 (check-abi target): Update dependencies.
2380 (check-abi-pattern variable): Redirect output of diff to $@.
2381 (check-abi variable): Likewise.
2382 * elf/Makefile (check-abi): Update dependencies.
2384 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2386 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2387 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2389 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2390 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2391 value has largest subnormal exponent.
2392 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2393 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2394 * sysdeps/aarch64/soft-fp/sfp-machine.h
2395 (_FP_TININESS_AFTER_ROUNDING): New macro.
2396 * sysdeps/alpha/soft-fp/sfp-machine.h
2397 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2398 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2400 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2401 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2402 * sysdeps/mips/soft-fp/sfp-machine.h
2403 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2404 * sysdeps/powerpc/soft-fp/sfp-machine.h
2405 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2406 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2408 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2409 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2410 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2411 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2412 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2415 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
2418 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2421 2014-02-12 Richard Henderson <rth@redhat.com>
2423 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2424 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2425 * sysdeps/unix/sysv/linux/alpha: Move directory from
2426 ports/sysdeps/unix/sysv/linux/alpha.
2427 * README: Update listing for alpha-*-linux-gnu.
2429 2014-02-11 Joseph Myers <joseph@codesourcery.com>
2431 * include/features.h: Update comment documenting feature test
2433 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2435 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2436 (_SVID_SOURCE): Likewise.
2437 (_DEFAULT_SOURCE): Update description of default features.
2438 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2440 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2441 (S_ISVTX): Likewise.
2442 * manual/math.texi (Mathematical Constants): Likewise.
2443 * manual/signal.texi (Interrupted Primitives): Likewise.
2444 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2445 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2446 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2447 Don't refer to _SVID_SOURCE in warning text.
2449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2451 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2453 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2454 * sysdeps/mips/dl-lookup.c: Remove.
2455 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2457 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2460 * math/auto-libm-test-in: Add testcase for expl.
2461 * math/auto-libm-test-out: Regenerate.
2462 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2463 calculation of unsafe.
2464 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2466 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2468 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2469 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2470 ports/sysdeps/unix/sysv/linux/aarch64.
2471 * README: Update listing for aarch64*-*-linux-gnu.
2473 2014-02-11 Will Newton <will.newton@linaro.org>
2475 * manual/probes.texi (Mathematical Function Probes): Use
2476 "triggered" instead of "hit".
2478 2014-02-11 Will Newton <will.newton@linaro.org>
2480 * manual/probes.texi (Internal Probes): Add documentation
2481 of setjmp, longjmp and longjmp_target probes.
2483 2014-02-11 Will Newton <will.newton@linaro.org>
2485 * include/stap-probe.h: Add comment about probe argument
2488 2014-02-11 Will Newton <will.newton@linaro.org>
2490 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2491 definition. (tr_where, tr_freehook, tr_mallochook,
2492 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2494 2014-02-11 David S. Miller <davem@davemloft.net>
2496 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2497 processing int_tests.
2499 2014-02-10 Joseph Myers <joseph@codesourcery.com>
2501 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2502 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2503 * sysdeps/unix/sysv/linux/mips: Move directory from
2504 ports/sysdeps/unix/sysv/linux/mips.
2505 * README: Update listing for mips-*-linux-gnu and
2508 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2510 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2511 * sysdeps/unix/sysv/linux/m68k: Move directory from
2512 ports/sysdeps/unix/sysv/linux/m68k.
2513 * README: Update listing for m68k-*-linux-gnu.
2515 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2517 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2518 * sysdeps/unix/sysv/linux/generic: Move directory from
2519 ports/sysdeps/unix/sysv/linux/generic.
2520 * sysdeps/unix/sysv/linux/tile: Move directory from
2521 ports/sysdeps/unix/sysv/linux/tile.
2522 * README: Update listing for tile*-*-linux-gnu.
2524 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2526 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2527 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2528 * catgets/open_catalog.c (__open_catalog): Likewise.
2529 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2530 * debug/confstr_chk.c: Likewise.
2531 * debug/fread_chk.c (__fread_chk): Likewise.
2532 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2533 * debug/getgroups_chk.c: Likewise.
2534 * debug/mbsnrtowcs_chk.c: Likewise.
2535 * debug/mbsrtowcs_chk.c: Likewise.
2536 * debug/mbstowcs_chk.c: Likewise.
2537 * debug/memcpy_chk.c: Likewise.
2538 * debug/memmove_chk.c: Likewise.
2539 * debug/mempcpy_chk.c: Likewise.
2540 * debug/memset_chk.c: Likewise.
2541 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2542 * debug/strcat_chk.c (__strcat_chk): Likewise.
2543 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2544 * debug/strncat_chk.c (__strncat_chk): Likewise.
2545 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2546 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2547 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2548 * debug/wcpncpy_chk.c: Likewise.
2549 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2550 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2551 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2552 * debug/wcsncpy_chk.c: Likewise.
2553 * debug/wcsnrtombs_chk.c: Likewise.
2554 * debug/wcsrtombs_chk.c: Likewise.
2555 * debug/wcstombs_chk.c: Likewise.
2556 * debug/wmemcpy_chk.c: Likewise.
2557 * debug/wmemmove_chk.c: Likewise.
2558 * debug/wmempcpy_chk.c: Likewise.
2559 * debug/wmemset_chk.c: Likewise.
2560 * dirent/scandirat.c (SCANDIRAT): Likewise.
2561 * dlfcn/dladdr1.c (dladdr1): Likewise.
2562 * dlfcn/dladdr.c (dladdr): Likewise.
2563 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2564 * dlfcn/dlerror.c (__dlerror): Likewise.
2565 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2566 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2567 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2568 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2569 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2570 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2571 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2572 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2574 * elf/dl-conflict.c: Likewise.
2575 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2576 * elf/dl-dst.h: Likewise.
2577 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2578 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2579 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2580 * elf/dl-init.c (call_init, _dl_init): Likewise.
2581 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2582 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2583 _dl_map_object_from_fd, open_verify, open_path,
2584 _dl_map_object): Likewise.
2585 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2587 * elf/dl-minimal.c (__libc_memalign): Likewise.
2588 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2589 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2590 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2591 * elf/dl-sym.c (do_sym): Likewise.
2592 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2593 _dl_tls_get_addr_soft): Likewise.
2594 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2595 * elf/dl-writev.h (_dl_writev): Likewise.
2596 * elf/ldconfig.c (search_dir): Likewise.
2597 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2599 * elf/setup-vdso.h (setup_vdso): Likewise.
2600 * grp/compat-initgroups.c (compat_call): Likewise.
2601 * grp/fgetgrent.c (fgetgrent): Likewise.
2602 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2603 * grp/putgrent.c (putgrent): Likewise.
2604 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2606 * hurd/hurdinit.c: Likewise.
2607 * iconvdata/8bit-gap.c (struct): Likewise.
2608 * iconvdata/ansi_x3.110.c : Likewise.
2609 * iconvdata/big5.c : Likewise.
2610 * iconvdata/big5hkscs.c : Likewise.
2611 * iconvdata/cp1255.c: Likewise.
2612 * iconvdata/cp1258.c : Likewise.
2613 * iconvdata/cp932.c : Likewise.
2614 * iconvdata/euc-cn.c: Likewise.
2615 * iconvdata/euc-jisx0213.c : Likewise.
2616 * iconvdata/euc-jp.c: Likewise.
2617 * iconvdata/euc-jp-ms.c : Likewise.
2618 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2619 * iconvdata/gb18030.c : Likewise.
2620 * iconvdata/gbbig5.c (const): Likewise.
2621 * iconvdata/gbgbk.c: Likewise.
2622 * iconvdata/gbk.c : Likewise.
2623 * iconvdata/ibm1364.c : Likewise.
2624 * iconvdata/ibm930.c : Likewise.
2625 * iconvdata/ibm932.c: Likewise.
2626 * iconvdata/ibm933.c : Likewise.
2627 * iconvdata/ibm935.c : Likewise.
2628 * iconvdata/ibm937.c : Likewise.
2629 * iconvdata/ibm939.c : Likewise.
2630 * iconvdata/ibm943.c: Likewise.
2631 * iconvdata/iso_11548-1.c: Likewise.
2632 * iconvdata/iso-2022-cn.c : Likewise.
2633 * iconvdata/iso-2022-cn-ext.c : Likewise.
2634 * iconvdata/iso-2022-jp-3.c: Likewise.
2635 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2636 * iconvdata/iso-2022-kr.c : Likewise.
2637 * iconvdata/iso646.c (gconv_end): Likewise.
2638 * iconvdata/iso_6937-2.c : Likewise.
2639 * iconvdata/iso_6937.c : Likewise.
2640 * iconvdata/iso8859-1.c: Likewise.
2641 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2642 * iconvdata/shift_jisx0213.c : Likewise.
2643 * iconvdata/sjis.c : Likewise.
2644 * iconvdata/t.61.c : Likewise.
2645 * iconvdata/tcvn5712-1.c : Likewise.
2646 * iconvdata/tscii.c: Likewise.
2647 * iconvdata/uhc.c : Likewise.
2648 * iconvdata/unicode.c (gconv_end): Likewise.
2649 * iconvdata/utf-16.c (gconv_end): Likewise.
2650 * iconvdata/utf-32.c (gconv_end): Likewise.
2651 * iconvdata/utf-7.c (base64): Likewise.
2652 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2653 * iconv/gconv_close.c (__gconv_close): Likewise.
2654 * iconv/gconv_open.c (__gconv_open): Likewise.
2655 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2656 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2657 internal_ucs4le_loop_single, ucs4le_internal_loop,
2658 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2659 * iconv/iconv.c (iconv): Likewise.
2660 * iconv/iconv_close.c: Likewise.
2661 * iconv/loop.c (SINGLE): Likewise.
2662 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2663 * include/atomic.h: Likewise.
2664 * inet/inet6_option.c (option_alloc): Likewise.
2665 * intl/bindtextdom.c (set_binding_values): Likewise.
2666 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2667 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2668 * intl/localealias.c (read_alias_file): Likewise.
2669 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2670 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2671 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2672 * libio/fmemopen.c (fmemopen): Likewise.
2673 * libio/iofgets.c (_IO_fgets): Likewise.
2674 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2675 * libio/iofgetws.c (fgetws): Likewise.
2676 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2677 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2678 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2679 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2680 * locale/findlocale.c (_nl_find_locale): Likewise.
2681 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2682 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2684 * locale/setlocale.c (setlocale): Likewise.
2685 * login/programs/pt_chown.c (main): Likewise.
2686 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2687 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2688 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2689 mmap, mmap64, mremap, munmap): Likewise.
2690 * math/e_exp2l.c: Likewise.
2691 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2692 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2693 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2694 * math/s_catan.c (__catan): Likewise.
2695 * math/s_catanf.c (__catanf): Likewise.
2696 * math/s_catanh.c (__catanh): Likewise.
2697 * math/s_catanhf.c (__catanhf): Likewise.
2698 * math/s_catanhl.c (__catanhl): Likewise.
2699 * math/s_catanl.c (__catanl): Likewise.
2700 * math/s_ccosh.c (__ccosh): Likewise.
2701 * math/s_ccoshf.c (__ccoshf): Likewise.
2702 * math/s_ccoshl.c (__ccoshl): Likewise.
2703 * math/s_cexp.c (__cexp): Likewise.
2704 * math/s_cexpf.c (__cexpf): Likewise.
2705 * math/s_cexpl.c (__cexpl): Likewise.
2706 * math/s_clog10.c (__clog10): Likewise.
2707 * math/s_clog10f.c (__clog10f): Likewise.
2708 * math/s_clog10l.c (__clog10l): Likewise.
2709 * math/s_clog.c (__clog): Likewise.
2710 * math/s_clogf.c (__clogf): Likewise.
2711 * math/s_clogl.c (__clogl): Likewise.
2712 * math/s_csin.c (__csin): Likewise.
2713 * math/s_csinf.c (__csinf): Likewise.
2714 * math/s_csinh.c (__csinh): Likewise.
2715 * math/s_csinhf.c (__csinhf): Likewise.
2716 * math/s_csinhl.c (__csinhl): Likewise.
2717 * math/s_csinl.c (__csinl): Likewise.
2718 * math/s_csqrt.c (__csqrt): Likewise.
2719 * math/s_csqrtf.c (__csqrtf): Likewise.
2720 * math/s_csqrtl.c (__csqrtl): Likewise.
2721 * math/s_ctan.c (__ctan): Likewise.
2722 * math/s_ctanf.c (__ctanf): Likewise.
2723 * math/s_ctanh.c (__ctanh): Likewise.
2724 * math/s_ctanhf.c (__ctanhf): Likewise.
2725 * math/s_ctanhl.c (__ctanhl): Likewise.
2726 * math/s_ctanl.c (__ctanl): Likewise.
2727 * math/w_pow.c: Likewise.
2728 * math/w_powf.c: Likewise.
2729 * math/w_powl.c: Likewise.
2730 * math/w_scalb.c (sysv_scalb): Likewise.
2731 * math/w_scalbf.c (sysv_scalbf): Likewise.
2732 * math/w_scalbl.c (sysv_scalbl): Likewise.
2733 * misc/error.c (error_tail): Likewise.
2734 * misc/pselect.c (__pselect): Likewise.
2735 * nis/nis_callback.c (__nis_create_callback): Likewise.
2736 * nis/nis_call.c (__nisfind_server): Likewise.
2737 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2738 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2739 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2740 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2741 * nis/nis_lookup.c (nis_lookup): Likewise.
2742 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2743 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2744 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2745 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2746 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2747 internal_getgrgid_r): Likewise.
2748 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2750 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2751 internal_getpwuid_r): Likewise.
2752 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2753 internal_getspnam_r): Likewise.
2754 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2755 _nss_nis_getaliasbyname_r): Likewise.
2756 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2757 _nss_nis_getntohost_r): Likewise.
2758 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2759 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2761 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2762 internal_nis_gethostent_r, internal_gethostbyname2_r,
2763 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2764 _nss_nis_gethostbyname4_r): Likewise.
2765 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2766 initgroups_netid): Likewise.
2767 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2768 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2769 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2770 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2771 _nss_nis_getprotobynumber_r): Likewise.
2772 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2773 _nss_nis_getsecretkey): Likewise.
2774 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2775 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2777 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2778 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2779 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2780 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2781 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2782 _nss_nis_getspnam_r): Likewise.
2783 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2785 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2786 _nss_nisplus_getntohost_r): Likewise.
2787 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2788 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2789 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2790 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2791 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2793 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2794 _nss_nisplus_getnetbyaddr_r): Likewise.
2795 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2796 _nss_nisplus_getprotobynumber_r): Likewise.
2797 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2798 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2799 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2801 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2802 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2803 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2804 _nss_nisplus_getspnam_r): Likewise.
2805 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2806 * nscd/aicache.c (addhstaiX): Likewise.
2807 * nscd/cache.c (cache_search, prune_cache): Likewise.
2808 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2809 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2810 * nscd/grpcache.c (addgrbyX): Likewise.
2811 * nscd/hstcache.c (addhstbyX): Likewise.
2812 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2813 * nscd/mem.c (gc, mempool_alloc): Likewise.
2814 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2816 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2818 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2819 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2820 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2822 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2823 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2824 * nscd/nscd_helper.c (__readvall, open_socket,
2825 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2826 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2827 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2828 * nscd/pwdcache.c (addpwbyX): Likewise.
2829 * nscd/selinux.c (preserve_capabilities): Likewise.
2830 * nscd/servicescache.c (addservbyX): Likewise.
2831 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2832 * posix/fnmatch.c (fnmatch): Likewise.
2833 * posix/getopt.c (_getopt_internal_r): Likewise.
2834 * posix/glob.c (glob, glob_in_dir): Likewise.
2835 * posix/wordexp.c (exec_comm_child): Likewise.
2836 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2837 gaih_getanswer_slice): Likewise.
2838 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2839 * resolv/res_init.c: Likewise.
2840 * resolv/res_mkquery.c (res_nmkquery): Likewise.
2841 * resolv/res_query.c (__libc_res_nquery): Likewise.
2842 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2844 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2845 * stdio-common/perror.c (perror): Likewise.
2846 * stdio-common/printf_fp.c (___printf_fp): Likewise.
2847 * stdio-common/tmpnam.c (tmpnam): Likewise.
2848 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2849 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2850 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2851 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2852 * stdlib/putenv.c (putenv): Likewise.
2853 * stdlib/setenv.c (__add_to_environ): Likewise.
2854 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2855 * stdlib/strtol_l.c (INTERNAL): Likewise.
2856 * string/memmem.c (memmem): Likewise.
2857 * string/strerror.c (strerror): Likewise.
2858 * string/strnlen.c (__strnlen): Likewise.
2859 * string/test-memmem.c (simple_memmem): Likewise.
2860 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2861 * sunrpc/pm_getport.c (__get_socket): Likewise.
2862 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2863 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2864 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2865 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2867 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2869 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2870 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2871 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2872 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2873 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2874 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2875 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2876 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2877 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2878 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2880 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2881 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2882 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2883 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2884 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2885 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2887 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2889 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2891 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2892 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2893 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2894 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2895 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2896 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2897 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2898 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2900 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2901 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2903 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2904 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2905 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2906 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2907 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2909 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2911 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2913 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2914 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2915 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2917 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2918 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2919 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2920 * sysdeps/posix/sleep.c: Likewise.
2921 * sysdeps/posix/tempname.c: Likewise.
2922 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2923 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2925 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2926 elf_machine_rela): Likewise.
2927 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2929 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2930 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2932 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2933 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2934 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2935 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2936 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2937 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2938 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2939 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2940 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2941 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2942 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2943 elf_machine_lazy_rel): Likewise.
2944 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2945 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2946 elf_machine_lazy_rel): Likewise.
2947 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2948 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2949 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2950 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2951 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2952 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2953 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2954 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2956 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2957 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2958 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2959 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2960 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2961 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2962 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2963 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2964 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2965 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2966 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2968 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2969 (__posix_fallocate64_l64): Likewise.
2970 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2971 (posix_fallocate): Likewise.
2972 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
2973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2974 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
2975 getifaddrs_internal): Likewise.
2976 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
2977 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
2978 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2979 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2980 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2981 (__posix_fallocate64_l64): Likewise.
2982 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2984 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
2985 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2987 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
2988 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2989 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
2990 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2991 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2992 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2993 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2994 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
2996 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
2997 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
2998 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2999 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3000 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3001 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3002 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3004 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3005 (posix_fallocate): Likewise.
3006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3007 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3008 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3009 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3010 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3012 * time/asctime.c (asctime_internal): Likewise.
3013 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3014 * time/tzset.c (__tzset_parse_tz): Likewise.
3015 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3016 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3017 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3018 * wcsmbs/wcsmbsload.h: Likewise.
3020 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3023 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3025 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3027 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3028 arena_get2): Remove THREAD_STATS conditionals.
3029 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3030 __malloc_stats, int): Likewise.
3032 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3034 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3035 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3037 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3039 * manual/setjmp.texi: Fix typos/grammar errors.
3041 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3043 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3044 Only return early when n is <= 0. Delete unused return statement.
3046 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3048 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3049 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3050 * debug/tst-longjmp_chk3.c: New file.
3052 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3054 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3055 (test_main): Replace code with set_fortify_handler call.
3056 * debug/test-strcpy_chk.c: Likewise.
3057 * debug/tst-chk1.c: Likewise.
3058 * debug/tst-longjmp_chk.c: Likewise.
3059 * test-skeleton.c: Include fcntl.h & paths.h
3060 (set_fortify_handler): Define.
3062 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3064 * debug/tst-longjmp_chk.c: Add header comment and include
3066 (do_test): Mark static.
3067 (TEST_FUNCTION): Define.
3069 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3071 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3072 (IP_PMTUDISC_INTERFACE): Likewise.
3073 (IP_MULTICAST_IF): Likewise.
3074 (IP_MULTICAST_TTL): Likewise.
3075 (IP_MULTICAST_LOOP): Likewise.
3076 (IP_ADD_MEMBERSHIP): Likewise.
3077 (IP_DROP_MEMBERSHIP): Likewise.
3078 (IP_UNBLOCK_SOURCE): Likewise.
3079 (IP_BLOCK_SOURCE): Likewise.
3080 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3081 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3082 (IP_MSFILTER): Likewise.
3083 (MCAST_JOIN_GROUP): Likewise.
3084 (MCAST_BLOCK_SOURCE): Likewise.
3085 (MCAST_UNBLOCK_SOURCE): Likewise.
3086 (MCAST_LEAVE_GROUP): Likewise.
3087 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3088 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3089 (MCAST_MSFILTER): Likewise.
3090 (IP_MULTICAST_ALL): Likewise.
3091 (IP_UNICAST_IF): Likewise.
3093 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3095 * timezone/Makefile: Delete $(have-ksh) check.
3096 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3097 * timezone/tzselect.ksh: Add +x mode bits.
3099 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3101 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3102 (ANON_INODE_FS_MAGIC): Likewise.
3103 (BDEVFS_MAGIC): Likewise.
3104 (BINFMTFS_MAGIC): Likewise.
3105 (BTRFS_TEST_MAGIC): Likewise.
3106 (CRAMFS_MAGIC_WEND): Likewise.
3107 (DEBUGFS_MAGIC): Likewise.
3108 (ECRYPTFS_SUPER_MAGIC): Likewise.
3109 (EXT3_SUPER_MAGIC): Likewise.
3110 (EXT4_SUPER_MAGIC): Likewise.
3111 (FUTEXFS_SUPER_MAGIC): Likewise.
3112 (HOSTFS_SUPER_MAGIC): Likewise.
3113 (HUGETLBFS_MAGIC): Likewise.
3114 (MINIX3_SUPER_MAGIC): Likewise.
3115 (MTD_INODE_FS_MAGIC): Likewise.
3116 (NILFS_SUPER_MAGIC): Likewise.
3117 (OPENPROM_SUPER_MAGIC): Likewise.
3118 (PIPEFS_MAGIC): Likewise.
3119 (PSTOREFS_MAGIC): Likewise.
3120 (QNX6_SUPER_MAGIC): Likewise.
3121 (RAMFS_MAGIC): Likewise.
3122 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3123 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3124 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3125 (SECURITYFS_MAGIC): Likewise.
3126 (SELINUX_MAGIC): Likewise.
3127 (SMACK_MAGIC): Likewise.
3128 (SOCKFS_MAGIC): Likewise.
3129 (SQUASHFS_MAGIC): Likewise.
3130 (STACK_END_MAGIC): Likewise.
3131 (TMPFS_MAGIC): Likewise.
3132 (USBDEVICE_SUPER_MAGIC): Likewise.
3133 (V9FS_MAGIC): Likewise.
3134 (XENFS_SUPER_MAGIC): Likewise.
3135 (CRAMFS_MAGIC): Fix typo in comment.
3136 (EXT2_SUPER_MAGIC): Update comment.
3137 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3139 2014-02-08 Joseph Myers <joseph@codesourcery.com>
3141 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3142 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3143 * sysdeps/unix/sysv/linux/arm: Move directory from
3144 ports/sysdeps/unix/sysv/linux/arm.
3145 * README: Update listing for arm-*-linux-gnueabi.
3147 * README: Remove mention of am33.
3149 2014-02-07 Roland McGrath <roland@hack.frob.com>
3151 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3152 than the comma operator, to avoid "rhs of comma has no effect"
3154 (__sigfillset, __sigandset, __sigorset): Likewise.
3155 * include/signal.h (__sigemptyset): Likewise.
3156 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3158 2014-02-07 Allan McRae <allan@archlinux.org>
3160 * version.h (RELEASE): Set to "development".
3161 (VERSION): Set to "2.19.90"
3162 * NEWS: Add 2.20 section.
3164 2014-02-06 Carlos O'Donell <carlos@redhat.com>
3167 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3169 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3171 * manual/contrib.texi: Update entry for Carlos O'Donell,
3172 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3174 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
3176 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3178 * sysdeps/unix/sysv/linux/kernel-features.h
3179 [__LINUX_KERNEL_VERSION >= 0x020621]
3180 (__ASSUME_PROC_PID_TASK_COMM): Define.
3182 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3185 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3186 conversion when destination buffer does not have enough space.
3187 * libio/tst-ftell-partial-wide.c: New test case.
3188 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3190 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3191 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3192 Leonard and Allan McRae.
3194 2014-02-04 David S. Miller <davem@davemloft.net>
3196 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3199 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3228 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3230 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3231 * shlib-versions: Likewise.
3233 2014-02-04 Roland McGrath <roland@hack.frob.com>
3234 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3237 (abilist-pattern): New variable, set to %-le.abilist.
3239 * Makerules (abilist-pattern): New variable.
3240 (vpath): Use $(abilist-pattern) in place of %.abilist.
3241 (check-abi-% pattern rule): Likewise.
3242 (check-abi, update-abi): Likewise.
3244 2014-02-04 Eric Wong <normalperson@yhbt.net>
3246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3248 2014-02-04 Eric Wong <normalperson@yhbt.net>
3250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3252 2014-02-03 Carlos O'Donell <carlos@redhat.com>
3254 * manual/startup.texi: Add next, previous, and top entries for
3255 the `Program Arguments' and `Environment Variables' nodes.
3257 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
3259 * manual/macros.texi: Add comments before MTASC-safety macros.
3261 * manual/users.texi: Document MTASC-safety properties.
3263 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3264 pthread_getspecific, pthread_setspecific): Format with
3265 @deftypefun, and add @safety note.
3266 * manual/signal.texi: Move comments that analyze the above
3267 functions to their home place.
3269 2014-02-03 Allan McRae <allan@archlinux.org>
3271 * po/sl.po: Update Slovenian translation from translation project.
3273 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
3275 * manual/time.texi (timegm): Add missing blank after @c.
3276 Reported by Joseph Myers <joseph@codesourcery.com>.
3278 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
3280 * manual/check-safety.sh: New.
3281 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3283 * manual/terminal.texi: Document MTASC-safety properties.
3285 * manual/filesys.texi: Document MTASC-safety properties.
3287 * manual/errno.texi: Document MTASC-safety properties.
3289 * manual/intro.texi: Document safety identifiers and
3292 * manual/string.texi (wcstok): Fix prototype.
3293 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3295 * manual/time.texi: Document MTASC-safety properties.
3297 * manual/string.texi: Document MTASC-safety properties.
3299 * manual/threads.texi: Document MTASC-safety properties.
3301 * manual/stdio.texi: Document MTASC-safety properties.
3303 * manual/syslog.texi: Document MTASC-safety properties.
3305 * manual/sysinfo.texi: Document MTASC-safety properties.
3307 * manual/startup.texi: Document MTASC-safety properties.
3309 * manual/socket.texi: Document MTASC-safety properties.
3311 * manual/signal.texi: Document MTASC-safety properties.
3313 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
3315 * manual/setjmp.texi: Document MTASC-safety properties.
3317 * manual/search.texi: Document MTASC-safety properties.
3319 * manual/resource.texi: Document MTASC-safety properties.
3321 * manual/process.texi: Document MTASC-safety properties.
3323 * manual/platform.texi: Document MTASC-safety properties.
3325 * manual/pipe.texi: Document MTASC-safety properties.
3327 * manual/pattern.texi: Document MTASC-safety properties.
3329 * manual/message.texi: Document MTASC-safety properties.
3332 * manual/memory.texi: Document MTASC-safety properties.
3334 * manual/math.texi: Document MTASC-safety properties.
3336 * manual/locale.texi: Document MTASC-safety properties.
3338 * manual/llio.texi: Document MTASC-safety properties.
3340 * manual/libdl.texi: New.
3342 * manual/lang.texi: Document MTASC-safety properties.
3344 * manual/job.texi: Document MTASC-safety properties.
3346 * manual/getopt.texi: Document MTASC-safety properties.
3348 * manual/ctype.texi: Document MTASC-safety properties.
3350 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3353 * csu/libc-tls.c (static_map): Remove variable.
3354 (__libc_setup_tls): Use main executable's link map for TLS data.
3355 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3356 casing for LM_ID_BASE and GL(dl_nns).
3357 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3358 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3359 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3360 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3361 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3363 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3366 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
3368 * manual/debug.texi: Document MTASC-safety properties.
3370 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3373 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3374 of __x86_64__ when disabling x87 inline functions.
3376 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
3378 * manual/charset.texi: Document MTASC-safety properties.
3380 * manual/crypt.texi: Document MTASC-safety properties.
3382 * manual/conf.texi: Document MTASC-safety properties.
3384 * manual/arith.texi: Document MTASC-safety properties.
3386 * manual/argp.texi: Document MTASC-safety properties.
3388 * manual/macros.texi: Introduce macros to document multi
3389 thread, asynchronous signal and asynchronous cancellation
3391 * manual/intro.texi: Introduce the properties themselves.
3393 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3395 * sysdeps/sh/sh4/Makefile: New file.
3397 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3399 * math/gen-libm-test.pl ($srcdir): New variable.
3400 ($auto_input): Use it.
3402 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3405 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3406 access beyond array bounds when parsing netgroups file.
3408 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3409 the old buffer before realloc.
3411 2014-01-27 Allan McRae <allan@archlinux.org>
3413 * po/fr.po: Update French translation from translation project.
3415 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3417 * sysdeps/sh/libm-test-ulps: Regenerate.
3419 2014-01-24 David S. Miller <davem@davemloft.net>
3421 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3423 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3425 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3426 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3428 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3431 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3432 string pointers after reallocation.
3434 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3436 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3437 __SH4A__ instead of __SH_FPU_ANY__.
3439 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3441 * sysdeps/sh/fpu_control.h: New file.
3442 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3443 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3444 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3445 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3446 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3447 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3448 * sysdeps/sh/sys/ucontext.h: Remove.
3449 * sysdeps/sh/sys: Remove directory.
3451 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3453 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3454 s390/sys/ucontext.h.
3455 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3456 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3458 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3461 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3463 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3466 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3467 Adjust the vDSO correctly for internal calls.
3468 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3470 2014-01-20 Allan McRae <allan@archlinux.org>
3472 * po/ca.po: Update Catalan translation from translation project.
3474 2014-01-16 Mike Frysinger <vapier@gentoo.org>
3476 * sysdeps/s390/sotruss-lib.c: New file.
3478 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3481 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3482 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3483 local calls issues by not having a PLT stub required for IFUNC calls.
3484 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3486 2014-01-16 Joseph Myers <joseph@codesourcery.com>
3488 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3489 * math/test-fpucw-static.c: Likewise.
3491 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3494 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3496 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3498 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3499 implementation for powerpc.
3501 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
3504 * sysdeps/posix/system.c (__libc_system): Do not enable
3505 asynchronous cancellation.
3507 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3510 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3511 handling only for numbers special also in the IEEE case.
3513 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3515 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3517 2014-01-11 Allan McRae <allan@archlinux.org>
3519 * po/bg.po: Update Bulgarian translation from translation project.
3521 * po/de.po: Update German translation from translation project.
3523 2014-01-10 Roland McGrath <roland@hack.frob.com>
3525 * sysdeps/generic/gcc-compat.h: New file.
3527 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3529 * benchtests/asin-inputs: Correct slow inputs.
3530 * benchtests/acos-inputs: Likewise.
3532 2014-01-10 Allan McRae <allan@archlinux.org>
3534 * po:sv.po: Update Swedish translation from translation project.
3536 * po/vi.po: Update Vietnamese translation from translation project.
3538 * po/eo.po: Update Esperanto translation from translation project.
3540 * po/cs.po: Update Czech translation from translation project.
3542 * po/nl.po: Update Dutch translation from translation project.
3544 * po/pl.po: Update Polish translation from translation project.
3546 * po/ru.po: Update Russian translation from translation project.
3548 * po/uk.po: Update Ukrainian translation from translation project.
3550 2014-01-08 Brooks Moses <bmoses@google.com>
3552 * elf/dl-load.c: Fix comment typo.
3554 2014-01-08 Carlos O'Donell <carlos@redhat.com>
3556 * po/header.pot: Rename to...
3557 * po/pot.header: ... this.
3558 * po/Makefile: Use pot.header.
3560 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3561 Maxim Kuvyrkov <maxim@kugelworks.com>
3564 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3565 SRC and DEST against LEN.
3567 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3570 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3572 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3574 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3578 2014-01-08 Joseph Myers <joseph@codesourcery.com>
3581 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3582 for large positive arguments.
3584 2014-01-07 Joseph Myers <joseph@codesourcery.com>
3586 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3588 * math/auto-libm-test-in: Mark various tests with
3589 xfail-rounding:ldbl-128ibm.
3590 * math/auto-libm-test-out: Regenerated.
3593 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3594 Increase overflow threshold.
3596 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
3599 * stdio-common/vfprintf.c: Check for integer overflow.
3601 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3603 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3604 the first argument and return value of __tls_get_addr_internal.
3606 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3608 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3609 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3611 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3613 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3614 * sysdeps/s390/rtld-global-offsets.sym: New file.
3615 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3617 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3618 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3619 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3621 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3622 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3628 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3629 halfs of GPRs for high_gprs contexts.
3630 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3631 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3633 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3635 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3637 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3638 for high GPRs (uc_high_gprs) and for future extensions
3640 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3641 for future extensions (__reserved).
3642 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3644 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3645 SC_HIGHGPRS offset definition.
3646 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3647 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3649 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3651 * Versions.def: Add GLIBC_2.19 for libpthread.
3652 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3653 siglongjmp for libpthread with GLIBC_2.19 symver.
3654 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3655 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3656 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3657 * sysdeps/s390/__longjmp.c: New file.
3658 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3659 * sysdeps/s390/longjmp.c: New file.
3660 * sysdeps/s390/setjmp.S: New file.
3661 * sysdeps/s390/sigjmp.S: New file.
3662 * sysdeps/s390/v1-longjmp.c: New file.
3663 * sysdeps/s390/v1-setjmp.h: New file.
3664 * sysdeps/s390/v1-sigjmp.c: New file.
3665 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3666 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3668 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3669 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3670 versioned symbols for ____longjmp_chk.
3671 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3681 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3682 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3683 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3684 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3685 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3686 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3687 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3688 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3689 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3690 * sysdeps/s390/rtld-__longjmp.c: New file.
3691 * sysdeps/s390/rtld-setjmp.S: New file.
3693 2014-01-06 Joseph Myers <joseph@codesourcery.com>
3696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3697 Return -__logl (x) for small positive arguments without evaluating
3700 2014-01-06 Mike Frysinger <vapier@gentoo.org>
3702 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3704 (__ptrace_peeksiginfo_args): ... this.
3705 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3706 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3707 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3709 2014-01-06 Allan McRae <allan@archlinux.org>
3711 * inet/netinet/in.h: Fix typo in comment.
3713 2014-01-05 Andreas Jaeger <aj@suse.de>
3715 * sysdeps/i386/fpu/libm-test-ulps: Update.
3717 2014-01-05 Allan McRae <allan@archlinux.org>
3719 * po/libc.pot: Regenerated.
3721 * malloc/memusagestat.c: Fix gettext call formatting.
3723 2014-01-04 Sami Kerola <kerolasa@iki.fi>
3725 * nscd/nscd.c: Improve usage() output.
3727 2014-01-04 Mike Frysinger <vapier@gentoo.org>
3729 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3730 * sysdeps/unix/sysv/linux/configure: Regenerated.
3731 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3732 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3734 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3737 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3738 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3740 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3742 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3743 extra tokens at end of #undef directive.
3744 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3745 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3746 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3748 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3750 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3752 * math/auto-libm-test-in: Mark various tests with
3753 xfail-rounding:ldbl-128ibm.
3754 * math/auto-libm-test-out: Regenerated.
3756 2014-01-02 Joseph Myers <joseph@codesourcery.com>
3759 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3760 numbers with subnormal high part when calculating exponent.
3763 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3769 (__ieee754_acoshl): Use __log1pl not __log1p.
3771 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
3773 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3774 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3775 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3776 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3777 Convert to GNU style.
3778 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3779 mem2mem_check, mem2chunk_check, top_check, realloc_check,
3780 memalign_check, __malloc_set_state): Likewise.
3781 * malloc/mallocbug.c (main): Likewise.
3782 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3783 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3784 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3785 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3786 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3787 * malloc/malloc.h: Likewise.
3788 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3789 memalignhook, reallochook, mabort): Likewise.
3790 * malloc/mcheck.h: Likewise.
3791 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3792 mmap64, mremap, munmap, dest): Likewise.
3793 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3794 * malloc/morecore.c (__default_morecore): Likewise.
3795 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3796 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3797 _obstack_allocated_p, obstack_free, _obstack_memory_used,
3798 print_and_abort): Likewise.
3799 * malloc/obstack.h: Likewise.
3800 * malloc/set-freeres.c (__libc_freeres): Likewise.
3801 * malloc/tst-mallocstate.c (main): Likewise.
3802 * malloc/tst-mtrace.c (main): Likewise.
3803 * malloc/tst-realloc.c (do_test): Likewise.
3805 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3808 * nscd/netgroupcache.c (do_notfound): New function.
3809 (addgetnetgrentX): Use it.
3812 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3813 NSS_STATUS_NOTFOUND.
3815 2014-01-01 Joseph Myers <joseph@codesourcery.com>
3817 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3820 2014-01-01 Allan McRae <allan@archlinux.org>
3822 * scripts/update-copyrights: Update configure input file suffix.
3824 * NEWS: Update copyright year.
3825 * catgets/gencat.c: Likewise.
3826 * csu/version.c: Likewise.
3827 * debug/catchsegv.sh: Likewise.
3828 * debug/pcprofiledump.c: Likewise.
3829 * debug/xtrace.sh: Likewise.
3830 * elf/ldconfig.c: Likewise.
3831 * elf/ldd.bash.in: Likewise.
3832 * elf/pldd.c: Likewise.
3833 * elf/sotruss.ksh: Likewise.
3834 * elf/sprof.c: Likewise.
3835 * iconv/iconv_prog.c: Likewise.
3836 * iconv/iconvconfig.c: Likewise.
3837 * locale/programs/locale.c: Likewise.
3838 * locale/programs/localedef.c: Likewise.
3839 * login/programs/pt_chown.c: Likewise.
3840 * malloc/memusage.sh: Likewise.
3841 * malloc/memusagestat.c: Likewise.
3842 * malloc/mtrace.pl: Likewise.
3843 * manual/libc.texinfo: Likewise.
3844 * nscd/nscd.c: Likewise.
3845 * nss/getent.c: Likewise.
3846 * nss/makedb.c: Likewise.
3847 * posix/getconf.c: Likewise.
3848 * scripts/test-installation.pl: Likewise.
3850 * All files with FSF copyright notices: Update copyright dates
3851 using scripts/update-copyrights.
3852 * intl/plural.c: Regenerated.
3853 * locale/programs/charmap-kw.h: Likewise.
3854 * locale/programs/locfile-kw.h: Likewise.
3856 2013-12-31 Mike Frysinger <vapier@gentoo.org>
3858 * sysdeps/unix/sysv/linux/configure: Regenerated.
3859 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3860 the linux/fanotify.h header.
3861 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3862 HAVE_LINUX_FANOTIFY_H is defined.
3864 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3866 * benchtests/cos-inputs: New inputs.
3867 * benchtests/sin-inputs: Likewise.
3869 * benchtests/atan-inputs: New inputs. Fix name of multiple
3870 precision fallback inputs.
3872 * benchtests/atanh-inputs: New inputs.
3873 * benchtests/tanh-inputs: Likewise.
3875 * benchtests/acosh-inputs: New inputs.
3876 * benchtests/asinh-inputs: Likewise.
3878 * benchtests/cosh-inputs: New inputs.
3879 * benchtests/sinh-inputs: Likewise.
3881 * benchtests/acos-inputs: Add more inputs.
3882 * benchtests/asin-inputs: Likewise.
3884 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
3887 * manual/arith.texi: Fix spelling.
3888 * manual/charset.texi: Likewise.
3889 * manual/errno.texi: Likewise.
3890 * manual/filesys.texi: Likewise.
3891 * manual/lang.texi: Likewise.
3892 * manual/llio.texi: Likewise.
3893 * manual/locale.texi: Likewise.
3894 * manual/message.texi: Likewise.
3895 * manual/resource.texi: Likewise.
3896 * manual/search.texi: Likewise.
3897 * manual/setjmp.texi: Likewise.
3898 * manual/stdio.texi: Likewise.
3899 * manual/string.texi: Likewise.
3900 * manual/sysinfo.texi: Likewise.
3901 * manual/time.texi: Likewise.
3903 2013-12-27 Carlos O'Donell <carlos@redhat.com>
3905 * po/sl.po: New file.
3907 2013-12-27 Mike Frysinger <vapier@gentoo.org>
3909 * .gitignore: Add core/.gdbinit/.gdb_history.
3911 2013-12-27 Allan McRae <allan@archlinux.org>
3914 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3915 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3917 2013-12-24 Brooks Moses <bmoses@google.com>
3919 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3920 all compilers that claim C++98 compliance, not just GCC.
3921 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3924 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3926 * NEWS: Restore accidentally deleted bug-fix entries.
3928 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3929 Ondřej Bílka <neleai@seznam.cz>
3932 * malloc/malloc.c (_int_free): Perform sanity check only if we
3935 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
3938 * manual/stdio.texi (String Input Conversions): Clarify that character
3939 classes are not supported.
3941 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3945 2013-12-22 Joseph Myers <joseph@codesourcery.com>
3948 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3949 Calculate results for small negative arguments directly rather
3950 than using reflection formula with special underflow handling.
3952 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3953 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3954 sysdeps/unix/bsd/bsd4.4/syscalls.list.
3955 (fchflags): Likewise.
3957 (setlogin): Likewise.
3958 (sigaltstack): Likewise.
3961 (sigsetmask): Likewise.
3963 (waitpid): Likewise.
3964 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3965 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3967 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3968 * sysdeps/unix/bsd/Makefile: ... here.
3969 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3970 * sysdeps/unix/bsd/Versions: ... here.
3971 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3972 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
3973 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
3974 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
3975 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
3976 * sysdeps/unix/bsd/sigblock.c: ... here.
3977 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
3978 * sysdeps/unix/bsd/sigsetmask.c: ... here.
3979 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
3980 * sysdeps/unix/bsd/sigvec.c: ... here.
3981 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
3982 * sysdeps/unix/bsd/tcdrain.c: ... here.
3983 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
3984 * sysdeps/unix/bsd/tcgetattr.c: ... here.
3985 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
3986 * sysdeps/unix/bsd/tcsetattr.c: ... here.
3987 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
3988 * sysdeps/unix/bsd/wait.c: ... here.
3989 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
3990 * sysdeps/unix/bsd/wait3.c: ... here.
3991 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
3992 * sysdeps/unix/bsd/waitpid.c: ... here.
3994 2013-12-21 Joseph Myers <joseph@codesourcery.com>
3997 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
3998 round-to-nearest for [!USE_AS_EXPM1L].
3999 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4000 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4001 more tests of exp and exp10. Expect some exp10 tests to miss
4002 exceptions or fail in directed rounding modes.
4003 * math/auto-libm-test-out: Regenerated.
4004 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4005 (exp10_test_tonearest): New function.
4006 (exp10_towardzero_test_data): New array.
4007 (exp10_test_towardzero): New function.
4008 (exp10_downward_test_data): New array.
4009 (exp10_test_downward): New function.
4010 (exp10_upward_test_data): New array.
4011 (exp10_test_upward): New function.
4012 (main): Call the new functions.
4013 * sysdeps/i386/fpu/libm-test-ulps: Update.
4014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4016 2013-12-20 Joseph Myers <joseph@codesourcery.com>
4018 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4019 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4020 * math/auto-libm-test-out: Regenerated.
4021 * math/libm-test.inc (acosh_test_data): Add more tests.
4022 (atanh_test_data): Likewise.
4023 (ceil_test_data): Likewise.
4024 (copysign_test_data): Likewise.
4025 * sysdeps/i386/fpu/libm-test-ulps: Update.
4026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4028 * timezone/checktab.awk: Update from tzcode 2013i.
4029 * timezone/private.h: Likewise.
4030 * timezone/scheck.c: Likewise.
4031 * timezone/tzfile.h: Likewise.
4032 * timezone/tzselect.ksh: Likewise.
4033 * timezone/zdump.c: Likewise.
4034 * timezone/zic.c: Likewise.
4036 * math/auto-libm-test-in: Add tests of cpow.
4037 * math/auto-libm-test-out: Regenerated.
4038 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4039 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4041 (func_calc_desc): Add mpc_cc_c union field.
4042 (test_functions): Add cpow.
4043 (special_fill_2pi): New function.
4044 (special_real_inputs): Add 2pi.
4045 (calc_generic_results): Handle mpc_cc_c.
4046 * sysdeps/i386/fpu/libm-test-ulps: Update.
4047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4049 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4050 csqrt, ctan and ctanh.
4051 * math/auto-libm-test-out: Regenerated.
4052 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4053 (TEST_COND_x86): Likewise.
4054 (ccos_test_data): Use AUTO_TESTS_c_c.
4055 (ccosh_test_data): Likewise.
4056 (cexp_test_data): Likewise.
4057 (clog_test_data): Likewise.
4058 (csqrt_test_data): Likewise.
4059 (ctan_test_data): Likewise.
4060 (ctan_tonearest_test_data): Likewise.
4061 (ctan_towardzero_test_data): Likewise.
4062 (ctan_downward_test_data): Likewise.
4063 (ctan_upward_test_data): Likewise.
4064 (ctanh_test_data): Likewise.
4065 (ctanh_tonearest_test_data): Likewise.
4066 (ctanh_towardzero_test_data): Likewise.
4067 (ctanh_downward_test_data): Likewise.
4068 (ctanh_upward_test_data): Likewise.
4069 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4071 (func_calc_desc): Add mpc_c_c union field.
4072 (FUNC_mpc_c_c): New macro.
4073 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4074 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4076 (special_fill_min_subnorm_p120): New function.
4077 (special_real_inputs): Add min_subnorm_p120.
4078 (calc_generic_results): Handle mpc_c_c.
4079 * sysdeps/i386/fpu/libm-test-ulps: Update.
4080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4082 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4084 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4085 do_sin_slow): New functions.
4086 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4087 cslow2, csloww1, csloww2): Use the new functions.
4089 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4090 Use M to change sign of result instead of X. Assume X is
4092 (csloww1): Likewise.
4096 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4103 (sloww1): Don't adjust sign of DX.
4104 (csloww1): Likewise.
4105 (sloww2): Use X directly and don't adjust sign of DX.
4106 (csloww2): Likewise.
4108 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4110 * math/auto-libm-test-in: Add tests of cabs and carg.
4111 * math/auto-libm-test-out: Regenerated.
4112 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4113 (carg_test_data): Likewise.
4114 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4116 (func_calc_desc): Add mpc_c_f union field.
4117 (test_functions): Add cabs and carg.
4118 (calc_generic_results): Handle mpc_c_f.
4120 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4121 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4122 as a macro and a compat symbol.
4123 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4124 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4125 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4126 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4127 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4128 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4130 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4132 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4134 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4136 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4138 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4140 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4141 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4144 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4148 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4150 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4151 trailing whitespace removed.
4152 * scripts/config.guess: Update to version 2013-11-29.
4153 * scripts/config.sub: Update to version 2013-10-01.
4155 * math/auto-libm-test-in: Add tests of sincos.
4156 * math/auto-libm-test-out: Regenerated.
4157 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4158 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4160 (func_calc_desc): Add mpfr_f_11 union field.
4161 (test_functions): Add sincos.
4162 (calc_generic_results): Handle mpfr_f_11.
4163 * sysdeps/i386/fpu/libm-test-ulps: Update.
4164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4166 2013-12-19 Andreas Schwab <schwab@suse.de>
4168 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4170 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4171 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4172 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4174 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4176 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4177 * sysdeps/i386/fpu/libm-test-ulps: Update.
4178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4181 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4182 round-to-nearest mode when using frndint.
4183 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4184 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4185 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4187 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4189 * math/auto-libm-test-out: Regenerated.
4190 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4191 (TEST_COND_x86): Likewise.
4192 (expm1_tonearest_test_data): New array.
4193 (expm1_test_tonearest): New function.
4194 (expm1_towardzero_test_data): New array.
4195 (expm1_test_towardzero): New function.
4196 (expm1_downward_test_data): New array.
4197 (expm1_test_downward): New function.
4198 (expm1_upward_test_data): New array.
4199 (expm1_test_upward): New function.
4200 (main): Run the new test functions.
4201 * sysdeps/i386/fpu/libm-test-ulps: Update.
4202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4204 * include/features.h: Update comment documenting feature test
4205 macros. Mention _DEFAULT_SOURCE in comment.
4206 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4207 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4208 _BSD_SOURCE and _SVID_SOURCE.
4209 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4210 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4211 !_SVID_SOURCE]: Likewise.
4212 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4213 (__USE_POSIX_IMPLICITLY): Define.
4214 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4215 (_POSIX_SOURCE): Undefine and redefine.
4216 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4217 (_POSIX_C_SOURCE): Likewise.
4218 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4219 (Feature Test Macros): Update documentation of default features.
4221 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4223 * benchtests/Makefile: Add bench-strtok.
4224 * benchtests/bench-strtok.c: New file: strtok benchtest.
4226 2013-12-19 Allan McRae <allan@archlinux.org>
4228 * manual/install.texi: Suppress menu for plain text output.
4229 * INSTALL: Regenerated.
4231 2013-12-18 Brooks Moses <bmoses@google.com>
4234 * misc/getauxval.c: Include errno.h.
4235 (__getauxval): Set errno to ENOENT if the requested type is not
4237 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4238 don't declare with __attribute_const__.
4239 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4240 * manual/startup.texi: Document that getauxval sets errno.
4242 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4244 * math/auto-libm-test-in: Add tests of jn and yn.
4245 * math/auto-libm-test-out: Regenerated.
4246 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4247 (yn_test_data): Likewise.
4248 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4250 (func_calc_desc): Add mpfr_if_f union field.
4251 (FUNC_mpfr_if_f): New macro.
4252 (test_functions): Add jn and yn.
4253 (calc_generic_results): Assert type of second input for
4254 mpfr_ff_f. Handle mpfr_if_f.
4255 (output_for_one_input_case): Disable all checking for arguments
4256 fitting floating-point types in case of an integer argument.
4257 * sysdeps/i386/fpu/libm-test-ulps: Update.
4258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4261 Don't expect fegetround reference in libm.so.
4263 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4265 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4266 $(config-cflags-nofma).
4268 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4270 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4271 * math/auto-libm-test-out: Regenerated.
4274 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4275 to determine exponent and adjust argument to have exponent of -1.
4276 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4278 * math/auto-libm-test-out: Regenerated.
4279 * sysdeps/i386/fpu/libm-test-ulps: Update.
4280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4282 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
4284 * manual/probes.texi: Remove cases when per-thread arenas are
4287 2013-12-18 Andreas Schwab <schwab@suse.de>
4289 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4290 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4291 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4292 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4293 * sysdeps/i386/i686/multiarch/Makefile: Update.
4294 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4296 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4298 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4299 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4301 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4304 Support TZ transition times < 00:00:00.
4305 This is needed for version-3 tz-format files; it supports time
4306 stamps past 2037 for America/Godthab (the only entry in the tz
4307 database for which this change is relevant).
4308 * manual/time.texi (TZ Variable): Document transition times
4309 from -167:59:59 through -00:00:01.
4310 * time/tzset.c (tz_rule): Time of day is now signed.
4311 (__tzset_parse_tz): Parse negative time of day.
4313 Document TZ transition times >= 25:00:00.
4314 * manual/time.texi (TZ Variable): Document transition times from
4315 25:00:00 through 167:59:59. These are already supported, and this
4316 support will help with version-3 tz-format files.
4318 * manual/time.texi (TZ Variable): Modernize North America example
4319 to reflect current (i.e., 2007-and-later) daylight saving rules.
4321 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4323 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4325 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4326 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4327 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4328 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4329 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4330 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4331 * sysdeps/unix/bsd/clock.c: Likewise.
4332 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4333 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4334 * sysdeps/unix/bsd/init-posix.c: Likewise.
4335 * sysdeps/unix/bsd/poll.c: Likewise.
4336 * sysdeps/unix/bsd/ptsname.c: Likewise.
4337 * sysdeps/unix/bsd/seekdir.c: Likewise.
4338 * sysdeps/unix/bsd/setegid.c: Likewise.
4339 * sysdeps/unix/bsd/seteuid.c: Likewise.
4340 * sysdeps/unix/bsd/setgid.c: Likewise.
4341 * sysdeps/unix/bsd/setrgid.c: Likewise.
4342 * sysdeps/unix/bsd/setruid.c: Likewise.
4343 * sysdeps/unix/bsd/setsid.c: Likewise.
4344 * sysdeps/unix/bsd/setuid.c: Likewise.
4345 * sysdeps/unix/bsd/sigaction.c: Likewise.
4346 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4347 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4348 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4349 * sysdeps/unix/bsd/telldir.c: Likewise.
4350 * sysdeps/unix/bsd/times.c: Likewise.
4351 * sysdeps/unix/bsd/usleep.c: Likewise.
4353 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4354 ($(objpfx)libbsd-compat.a): Remove rule.
4356 * include/features.h (__FAVOR_BSD): Do not define.
4357 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4358 features conflicting with POSIX.
4359 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4360 (_BSD_SOURCE): Remove description of not being a subset of other
4361 feature test macros.
4362 * manual/job.texi (getpgrp): Do not document BSD version.
4363 (getpgid): Do not document by reference to BSD getpgrp.
4364 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4365 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4366 * signal/signal.h [__FAVOR_BSD]: Likewise.
4367 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4368 instead of making contents conditional on [__FAVOR_BSD].
4369 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4371 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4375 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4378 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4379 values below 2**-450, not 2**-500.
4380 * math/auto-libm-test-in: Don't allow spurious underflow from
4382 * math/auto-libm-test-out: Regenerated.
4386 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4387 values of ha and hb and sort them after adjusting subnormal
4389 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4391 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4392 values of ea and eb and sort them after adjusting subnormal
4394 * math/auto-libm-test-in: Do not expect some hypot tests of
4395 subnormals to fail. Add more hypot tests.
4396 * math/auto-libm-test-out: Regenerated.
4398 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4401 * sysdeps/sh/s_fma.c: New file.
4402 * sysdeps/sh/s_fmaf.c: New file.
4403 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4405 * sysdeps/sh/Implies: Add sh/soft-fp.
4407 2013-12-16 Roland McGrath <roland@hack.frob.com>
4409 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4410 level of indirection to members `objname', `errstring', `malloced'.
4411 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4412 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4413 it as the __longjmp argument (just pass 1 instead).
4414 (_dl_catch_error): Initialize C with argument pointers and address of
4415 volatile local ERRCODE rather than copying values out of C at return.
4417 2013-12-16 Joseph Myers <joseph@codesourcery.com>
4419 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4420 * math/auto-libm-test-out: Regenerated.
4421 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4422 (hypot_test_data): Likewise.
4423 (pow_test_data): Likewise.
4424 (pow_tonearest_test_data): Likewise.
4425 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4427 (func_calc_desc): Add mpfr_ff_f union field.
4428 (FUNC_mpfr_ff_f): New macro.
4429 (test_functions): Add atan2, hypot and pow.
4430 (special_fill_min): New function.
4431 (special_fill_minus_min): Likewise.
4432 (special_fill_min_subnorm): Likewise.
4433 (special_fill_minus_min_subnorm): Likewise.
4434 (special_real_inputs): Add min, -min, min_subnorm and
4436 (calc_generic_results): Handle mpfr_ff_f.
4437 * sysdeps/i386/fpu/libm-test-ulps: Update.
4438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4440 2013-12-16 Will Newton <will.newton@linaro.org>
4442 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4443 (Aligned Memory Blocks): Add documentation for aligned_alloc
4444 and suggest it as an alternative to posix_memalign.
4445 (Hooks for Malloc): Document __memalign_hook is also called
4446 for aligned_alloc. (Summary of Malloc): Add summary for
4447 aligned alloc. Document __memalign_hook is also called
4450 2013-12-16 Will Newton <will.newton@linaro.org>
4452 * manual/memory.texi (Malloc Examples): Clarify default
4453 alignment documentation. Suggest posix_memalign rather
4454 than memalign or valloc.
4455 (Aligned Memory Blocks): Remove suggestion to use memalign
4456 or valloc. Remove obsolete comment about BSD.
4457 Document memalign errno values and mark the function obsolete.
4458 Document posix_memalign returned error codes. Mark valloc
4459 as obsolete. (Hooks for Malloc): __memalign_hook is also
4460 called for posix_memalign and valloc.
4461 (Summary of Malloc): Add posix_memalign to function summary.
4462 __memalign_hook is also called for posix_memalign and valloc.
4464 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4466 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4470 (sloww): Use mynumber union. Expand ternary operator into
4472 (cslow): use mynumber union.
4474 2013-12-16 Allan McRae <allan@archlinux.org>
4476 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4477 * configure: Regenerated.
4479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4482 * configure.ac: Added --enable-maintainer-mode. Check for
4483 autoconf when enabled.
4484 * configure: Regenerated.
4486 * nscd/nscd.service: New file.
4487 * nscd/nscd.tmpfiles: New file.
4489 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
4492 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4493 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4494 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4495 (strstr): Add __strstr_sse2_unaligned ifunc.
4496 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4497 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4498 (strcasestr): Remove __strcasestr_sse42 ifunc.
4499 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4503 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4505 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4506 * sysdeps/sh/bits/fenv.h: ... here.
4507 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4509 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4511 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4513 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4516 hypotf multiarch implementations.
4517 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4518 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4519 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4520 multiarch hypot for PPC64.
4521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4522 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4523 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4524 multiarch hypotf for PPC64.
4526 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4529 modff multiarch implementations.
4530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4533 multiarch modf for PPC64.
4534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4537 multiarch modff for PPC64.
4539 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4542 and logl multiarch implementations.
4543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4546 multiarch logb for PPC64.
4547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4550 multiarch logb for PPC64.
4551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4554 multiarch logb for PPC64.
4556 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4559 isinff multiarch implementation.
4560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4564 multiarch isinf for PPC64.
4565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4568 multiarch isinff for PPC64.
4570 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4573 finitef multiarch implementation.
4574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4578 multiarch finite for PPC64.
4579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4582 multiarch finitef for PPC64.
4584 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4587 lrint multiarch implementation.
4588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4592 multiarch llrint for PPC64.
4593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4594 multiarch lrint for PPC64.
4596 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4599 copysignf multiarch implementation.
4600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4605 multiarch copysign for PPC64.
4606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4607 multiarch copysignf for PPC64.
4609 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4612 multiarch implementation.
4613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4621 multiarch llround for PPC64.
4622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4623 multiarch trunc for PPC64.
4624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4625 multiarch truncf for PPC64.
4627 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4630 multiarch implementation.
4631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4639 multiarch llround for PPC64.
4640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4641 multiarch round for PPC64.
4642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4643 multiarch roundf for PPC64.
4645 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4648 multiarch implementation.
4649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4657 multiarch llround for PPC64.
4658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4659 multiarch floor for PPC64.
4660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4661 multiarch floorf for PPC64.
4663 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4666 multiarch implementation.
4667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4675 multiarch llround for PPC64.
4676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4677 multiarch ceil for PPC64.
4678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4679 multiarch ceilf for PPC64.
4681 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4684 multiarch implementation.
4685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4692 multiarch llround for PPC64.
4693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4694 multiarch lround for PPC64.
4696 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4699 multiarch implementation.
4700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4707 multiarch isnan for PPC64.
4708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4709 multiarch isnanf for PPC64.
4711 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4713 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4714 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4715 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4716 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4717 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4720 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4722 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4723 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4724 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4725 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4727 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4730 multiarch implementations.
4731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4732 (__libc_ifunc_impl_list): Likewise.
4733 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4734 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4735 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4736 multiarch stpcpy for PPC64.
4738 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4741 multiarch implementations.
4742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4743 (__libc_ifunc_impl_list): Likewise.
4744 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4745 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4746 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4747 multiarch strcpy for PPC64.
4749 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4751 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4752 redefine function name.
4753 (_wordcopy_fwd_dest_aligned): Likewise.
4754 (_wordcopy_bwd_aligned): Likewise.
4755 (_wordcopy_bwd_dest_aligned): Likewise.
4756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4757 multiarch implementations.
4758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4759 (__libc_ifunc_impl_list): Likewise.
4760 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4761 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4762 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4763 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4764 multiarch wcscpy for PPC64.
4766 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4769 multiarch implementations.
4770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4771 (__libc_ifunc_impl_list): Likewise.
4772 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4773 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4774 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4775 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4776 multiarch wcscpy for PPC64.
4778 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4781 multiarch implementations.
4782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4783 (__libc_ifunc_impl_list): Likewise.
4784 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4785 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4786 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4787 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4788 multiarch wcsrchr for PPC64.
4790 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4793 multiarch implementations.
4794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4795 (__libc_ifunc_impl_list): Likewise.
4796 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4797 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4798 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4799 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4800 multiarch wcschr for PPC64.
4802 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4805 multiarch implementations.
4806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4807 (__libc_ifunc_impl_list): Likewise.
4808 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4809 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4810 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4811 multiarch strchrnul for PPC64.
4813 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4818 (__libc_ifunc_impl_list): Likewise.
4819 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4820 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4821 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4822 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4825 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4830 (__libc_ifunc_impl_list): Likewise.
4831 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4832 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4833 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4834 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4837 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4840 multiarch implementations.
4841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4842 (__libc_ifunc_impl_list): Likewise.
4843 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4844 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4845 strncasecmp for PPC64.
4846 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4847 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4848 multiarch strncasecmp_l for PPC64.
4850 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4853 multiarch implementations.
4854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4855 (__libc_ifunc_impl_list): Likewise.
4856 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4857 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4858 multiarch strcasecmp for PPC64.
4859 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4861 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4862 multiarch strcasecmp_l for PPC64.
4864 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4869 (__libc_ifunc_impl_list): Likewise.
4870 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4871 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4872 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4875 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4880 (__libc_ifunc_impl_list): Likewise.
4881 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4882 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4883 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4886 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4891 (__libc_ifunc_impl_list): Likewise.
4892 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4893 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4894 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4895 rawmemrchr for PPC64.
4897 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4902 (__libc_ifunc_impl_list): Likewise.
4903 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4904 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4905 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4908 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4913 (__libc_ifunc_impl_list): Likewise.
4914 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4915 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4916 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4919 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4924 (__libc_ifunc_impl_list): Likewise.
4925 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4926 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4927 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4930 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4932 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4933 avoid cretion of __bzero symbol.
4934 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4936 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4938 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4941 multiarch implementations.
4942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4943 (__libc_ifunc_impl_list): Likewise.
4944 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4945 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4946 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4947 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4949 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4950 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4951 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4952 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4953 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4955 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4957 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4959 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4963 (__libc_ifunc_impl_list): Likewise.
4964 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4965 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4966 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4967 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4970 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4973 multiarch for POWER/PPC64.
4974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4975 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
4976 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
4977 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
4978 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
4979 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
4980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
4981 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
4982 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
4985 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
4988 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
4989 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
4990 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
4991 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
4992 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
4993 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
4994 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
4995 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
4996 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
4997 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
4998 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
4999 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5000 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5001 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5010 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5012 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5014 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5016 * benchtests/Makefile (bench): Add exp2 and log2.
5017 (LDLIBS-bench-exp2): Add -lm.
5018 (LDLIBS-bench-log2): Likewise.
5019 * benchtests/exp2-inputs: New inputs file.
5020 * benchtests/log2-inputs: New inputs file.
5021 * benchtests/log-inputs: Add new inputs.
5022 * benchtests/tan-inputs: Likewise.
5024 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5026 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5028 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5029 csloww1, csloww2): ... from here.
5031 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5032 instead of structures.
5033 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5034 (POLYNOMIAL): Likewise.
5035 (TAYLOR_SLOW): Likewise.
5043 (bsloww1): Likewise.
5044 (bsloww2): Likewise.
5047 (csloww1): Likewise.
5048 (csloww2): Likewise.
5050 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5052 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5053 (__malloc_assert, __libc_realloc, __libc_calloc,
5054 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5056 * malloc/hooks.c (realloc_check): Likewise.
5058 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5060 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5061 * malloc/arena.c: Remove PER_THREAD conditional.
5062 [!PER_THREAD]: Remove code.
5063 (ptmalloc_unlock_all2): Likewise.
5064 (ptmalloc_init): Likewise.
5065 (_int_new_arena): Likewise.
5066 (arena_get2): Likewise.
5067 * malloc/hooks.c (__malloc_get_state): Likewise.
5068 (__malloc_set_state): Likewise.
5069 * malloc/malloc.c: Likewise.
5070 (struct malloc_state): Likewise.
5071 (struct malloc_par): Likewise.
5072 (__libc_realloc): Likewise.
5073 (__libc_mallopt): Likewise.
5075 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5077 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5079 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5081 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5082 macro to a function. Check for zero perturb_byte.
5083 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5085 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5087 * malloc/malloc.c: (force_reg): Remove.
5088 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5089 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5090 force_reg by atomic_forced_read.
5091 * malloc/arena.c (ptmalloc_init): Likewise.
5092 * malloc/hooks.c (top_check): Likewise.
5094 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5098 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5102 2013-12-08 Joseph Myers <joseph@codesourcery.com>
5104 * math/auto-libm-test-in: Add tests of lgamma.
5105 * math/auto-libm-test-out: Regenerated.
5106 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5107 (M_LOG_2_SQRT_PIl): Likewise.
5108 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5109 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5111 (func_calc_desc): Add mpfr_f_f1 union field.
5120 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5121 (test_functions): Add lgamma.
5122 (calc_generic_results): Handle mpfr_f_f1.
5123 * sysdeps/i386/fpu/libm-test-ulps: Update.
5124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5126 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5128 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5129 __mpn_add_n for PowerPC64/POWER7.
5130 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5131 __mpn_sub_n for PowerPC64/POWER7.
5133 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5135 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5136 __mpn_addmul_1 for PowerPC64.
5137 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5138 __mpn_submul_1 for PowerPC64.
5139 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5141 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5144 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5147 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5149 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5151 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5153 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5155 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5156 add multiarch folders.
5157 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5158 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5159 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5160 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5161 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5162 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5163 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5164 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5165 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5166 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5167 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5175 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5178 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5184 multiarch __ieee754_hypot for PowerPC32.
5185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5190 multiarch __ieee754_hypotf for PowerPC32.
5192 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5195 long_double_symbol only if __logbl is defined.
5196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5197 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5199 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5201 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5203 path for implementation.
5204 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5205 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5207 logb, and logbl multiarch implementations for PowerPC32.
5208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5213 multiarch logb for PowerPC32.
5214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5219 multiarch logbf for PowerPC32.
5220 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5224 multiarch logbl implementation for PowerPC32.
5226 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5229 and modff multiarch implementations.
5230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5235 multiarch modf for PowerPC32.
5236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5241 multiarch modff for PowerPC32.
5243 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5246 and lrintf multiarch implementations.
5247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5252 multiarch lrint for PowerPC32.
5253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5254 file: multiarch lrintf for PowerPC32.
5256 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5259 and lroundf multiarch implementations.
5260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5267 multiarch lround for PowerPC32.
5268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5269 file: multiarch lroundf for PowerPC32.
5271 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5274 copysign and copysignf multiarch implementations.
5275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5280 file: multiarch copysign for PowerPC32.
5281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5282 file: multiarch copysignf for PowerPC32.
5284 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5287 and truncf multiarch implementations.
5288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5293 multiarch trunc for PowerPC32.
5294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5299 multiarch truncf for PowerPC32.
5301 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5304 and roundf multiarch implementations.
5305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5310 multiarch round for PowerPC32.
5311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5316 multiarch roundf for PowerPC32.
5318 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5321 and floorf multiarch implementations.
5322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5327 multiarch floor for PowerPC32.
5328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5333 multiarch floorf for PowerPC32.
5335 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5338 and ceilf multiarch implementations.
5339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5344 multiarch ceil for PowerPC32.
5345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5350 multiarch ceilf for PowerPC32.
5352 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5354 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5356 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5359 and finitef multiarch implementations.
5360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5365 multiarch finite for PowerPC32.
5366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5369 file: multiarch finitef for PowerPC32.
5371 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5374 and isinff multiarch implementations.
5375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5380 multiarch isinf for PowerPC32.
5381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5384 multiarch isinff for PowerPC32.
5386 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5388 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5389 alias when __isnan is defined.
5390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5391 and isnanf multiarch implementations.
5392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5401 multiarch isnan for PowerPC32.
5402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5407 multiarch isnanf for PowerPC32.
5409 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5412 and sqrtf multiarch implementations.
5413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5418 multiarch sqrt for PowerPC32.
5419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5424 multiarch sqrtf for PowerPC32.
5426 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5429 and llroundf multiarch implementations.
5430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5437 file: multiarch llround for PowerPC32.
5438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5439 file: multiarch llroundf for PowerPC32.
5441 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5444 multiarch PowerPC32 fpu implementations.
5445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5450 multiarch llrint for PowerPC32.
5451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5458 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5462 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5464 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5466 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5468 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5470 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5471 multiarch wordcopy for PPC32.
5472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5475 (__libc_ifunc_impl_list): Likewise.
5476 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5477 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5478 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5479 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5480 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5481 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5483 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5485 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5486 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5488 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5492 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5493 multiarch wcscpy for PPC32.
5494 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5496 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5497 (__libc_ifunc_impl_list): Likewise.
5498 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5499 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5500 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5501 sysdeps/powerpc/power6/wcscpy.c.
5503 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5505 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5506 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5508 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5510 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5512 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5513 multiarch wcsrchr for PPC32.
5514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5517 (__libc_ifunc_impl_list): Likewise.
5518 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5519 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5520 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5521 sysdeps/powerpc/power6/wcsrchr.c.
5523 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5530 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5531 multiarch wcschr for PPc32.
5532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5535 (__libc_ifunc_impl_list): Likewise.
5536 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5537 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5538 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5539 sysdeps/powerpc/power6/wcschr.c.
5541 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5543 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5544 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5546 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5547 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5548 file: multiarch strchr for PPC32.
5549 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5551 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5552 (__libc_ifunc_impl_list): Likewise.
5554 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5556 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5558 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5560 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5562 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5563 multiarch strchrnul for PPC32.
5564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5567 (__libc_ifunc_impl_list): Likewise.
5569 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5573 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5574 multiarch strncasecmp for PPC32.
5575 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5577 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5578 multiarch strncasecmp_l for PPC32.
5579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5580 strncasecmp multiarch objects.
5581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5582 (__libc_ifunc_impl_list): Likewise.
5584 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5586 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5588 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5589 multiarch strncasecmp for PPC32.
5590 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5592 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5593 multiarch strcasecmp_l for PPC32.
5594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5597 (__libc_ifunc_impl_list): Likewise.
5599 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5601 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5603 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5605 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5606 multiarch strncmp for PPC32.
5607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5610 (__libc_ifunc_impl_list): Likewise.
5612 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5614 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5615 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5617 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5618 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5621 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5622 (__libc_ifunc_impl_list): Likewise.
5624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5626 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5628 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5630 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5634 (__libc_ifunc_impl_list): Likewise.
5636 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5638 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5640 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5642 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5643 multiarch rawmemchr for PPC32.
5644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5647 (__libc_ifunc_impl_list): Likewise.
5649 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5651 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5653 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5655 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5656 file: memrchr multiarch for PPC32.
5657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5660 (__libc_ifunc_impl_list): Likewise.
5662 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5664 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5665 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5667 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5668 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5669 multiarch memchr for PPC32.
5670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5672 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5673 (__libc_ifunc_impl_list): Likewise.
5675 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5677 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5678 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5680 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5682 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5683 file: multiarch mempcpy for PPC32.
5684 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5686 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5687 (__libc_ifunc_impl_list): Likewise.
5689 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5691 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5692 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5693 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5694 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5695 multiarch bzero for PPC32.
5696 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5698 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5700 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5701 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5702 file: multiarch memset for PPC32.
5703 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5705 memset multiarch objects.
5706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5707 (__libc_ifunc_impl_list): Likewise.
5709 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5711 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5714 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5716 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5720 (__libc_ifunc_impl_list): Likewise.
5722 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5724 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5725 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5726 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5728 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5730 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5732 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5733 multiarch memcpy for PPC32.
5734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5737 (__libc_ifunc_impl_list): Likewise.
5739 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5742 support multiarch for POWER/PPC32.
5743 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5745 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5747 Implies file to make multiarch folder appers before the fpu and
5748 default folder for power4 configuration.
5750 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5752 * scripts/bench.pl: Append volatile keyword to type.
5754 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5756 * sysdeps/sh/sotruss-lib.c: New file.
5757 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5759 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5763 2013-12-05 Joseph Myers <joseph@codesourcery.com>
5766 * math/w_tgamma.c: Include <errno.h>.
5767 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5768 * math/w_tgammaf.c: Include <errno.h>.
5769 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5770 * math/w_tgammal.c: Include <errno.h>.
5771 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5772 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5773 underflow. Add more tgamma tests.
5774 * math/auto-libm-test-out: Regenerated.
5775 * sysdeps/i386/fpu/libm-test-ulps: Update.
5776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5778 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5779 sin, sinh, tan, tanh, tgamma, y0 and y1.
5780 * math/auto-libm-test-out: Regenerated.
5781 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5782 (TEST_COND_x86): Likewise.
5783 (M_E2l): Remove macro.
5785 (M_2_SQRT_PIl): Likewise.
5786 (M_SQRT_PIl): Likewise.
5787 (M_1_DIV_El): Likewise.
5788 (log_test_data): Use AUTO_TESTS_f_f.
5789 (log10_test_data): Likewise.
5790 (log1p_test_data): Likewise.
5791 (log2_test_data): Likewise.
5792 (sin_test_data): Likewise.
5793 (sin_tonearest_test_data): Likewise.
5794 (sin_towardzero_test_data): Likewise.
5795 (sin_downward_test_data): Likewise.
5796 (sin_upward_test_data): Likewise.
5797 (sinh_test_data): Likewise.
5798 (sinh_tonearest_test_data): Likewise.
5799 (sinh_towardzero_test_data): Likewise.
5800 (sinh_downward_test_data): Likewise.
5801 (sinh_upward_test_data): Likewise.
5802 (tan_test_data): Likewise.
5803 (tan_tonearest_test_data): Likewise.
5804 (tan_towardzero_test_data): Likewise.
5805 (tan_downward_test_data): Likewise.
5806 (tan_upward_test_data): Likewise.
5807 (tanh_test_data): Likewise.
5808 (tgamma_test_data): Likewise.
5809 (y0_test_data): Likewise.
5810 (y1_test_data): Likewise.
5811 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5812 (special_real_inputs): Add pi/4.
5813 * sysdeps/i386/fpu/libm-test-ulps: Update.
5814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5816 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5818 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5819 "longjmp_target" static probes.
5820 (__longjmp): Rename to __longjmp_symbol.
5821 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5822 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5823 on which longjmp to generate.
5824 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5827 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5828 (__sigjmp_save): Rename to __sigjmp_save_symbol.
5829 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5830 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5831 and __sigjmp_save_symbol based on which sigsetjmp to generated.
5832 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5834 __longjmp_symbol based on which __longjmp to generate.
5835 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5837 (setjmp): Rename to setjmp_symbol.
5838 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5839 (_setjmp): Rename to _setjmp_symbol.
5840 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5841 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5842 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5843 which setjmp to generate.
5844 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5845 "longjmp_target" static probes.
5847 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5849 * benchtests/README: Add note about output arguments.
5850 * benchtests/bench-sincos.c: Remove file.
5851 * benchtests/sincos-inputs: New file.
5852 * scripts/bench.pl: Identify output arguments and define
5853 static variables for them.
5855 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5858 * Makefile (INSTALL): Add install-plain.texi as the primary
5860 * manual/install-plain.texi: New file.
5861 * manual/install.texi: Include node directive only for
5862 non-plaintext output.
5864 2013-12-04 Joseph Myers <joseph@codesourcery.com>
5866 * stdlib/longlong.h: Update from GCC.
5870 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5871 * math/w_j0f.c (y0f): Likewise.
5872 * math/w_j0l.c (__y0l): Likewise.
5873 * math/w_j1.c (y1): Likewise.
5874 * math/w_j1f.c (y1f): Likewise.
5875 * math/w_j1l.c (__y1l): Likewise
5876 * math/w_jn.c (yn): Likewise.
5877 * math/w_jnf.c (ynf): Likewise.
5878 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5879 Bessel function pole errors in _POSIX_ mode. Use NAN as return
5880 value for Bessel function domain errors outside _SVID_ mode.
5881 Adjust sign of return value for yn (negative integer, 0).
5882 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5883 by zero in return for negative x and set sign appropriately for
5885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5886 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5887 * math/libm-test.inc (y0_test_data): Add more tests and adjust
5888 expectations in error cases.
5889 (y1_test_data): Likewise.
5890 (yn_test_data): Likewise.
5891 * sysdeps/i386/fpu/libm-test-ulps: Update.
5892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5894 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5896 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5897 "64" to "64-v1". Add "64-v2".
5898 (abi-64-options): Rename to ...
5899 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
5900 (abi-64-condition): Rename to ...
5901 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
5902 (abi-64-ld-soname): Rename to ...
5903 (abi-64-v1-ld-soname): ... this.
5904 (abi-64-v2-options): Define.
5905 (abi-64-v2-condition): Likewise.
5906 (abi-64-v2-ld-soname): Likewise.
5907 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5908 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5913 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5914 Alan Modra <amodra@gmail.com>
5916 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5917 New versions for use with the ELFv2 ABI.
5918 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5919 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5921 (struct La_ppc64v2_retval): Likewise.
5922 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5923 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5924 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5925 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5926 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5928 Do not save or restore CR.
5929 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5930 (_dl_profile_resolve): Do no save or restore CR. Support extended
5931 return values for ELFv2 ABI. Fix location of FPR return registers.
5932 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5933 updated values for _CALL_ELF == 2.
5934 (La_regs, La_retval, int_retval): Likewise.
5936 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5938 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5939 (FRAME_MIN_SIZE_PARM): Likewise.
5940 (FRAME_BACKCHAIN): Likewise.
5941 (FRAME_CR_SAVE): Likewise.
5942 (FRAME_LR_SAVE): Likewise.
5943 (FRAME_TOC_SAVE): Likewise.
5944 (FRAME_PARM_SAVE): Likewise.
5945 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5946 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5947 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5948 (call_mcount_parm_offset): New macro.
5949 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5950 (PROF): Use symbolic stack frame offsets.
5951 (TAIL_CALL_SYSCALL_ERROR): Likewise.
5952 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5953 Redefine in terms of FRAME_MIN_SIZE.
5954 (_dl_runtime_resolve): Use symbolic stack frame offsets.
5955 (_dl_profile_resolve): Likewise. Update comment.
5956 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5957 symbols stack frame offsets.
5958 (__sigsetjmp): Likewise.
5959 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5960 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5961 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5962 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5965 (FRAME_BACKCHAIN): Remove.
5966 (FRAME_CR_SAVE): Likewise.
5967 (FRAME_LR_SAVE): Likewise.
5968 (FRAME_COMPILER_DW): Likewise.
5969 (FRAME_LINKER_DW): Likewise.
5970 (FRAME_TOC_SAVE): Likewise.
5971 (FRAME_PARM_SAVE): Likewise.
5972 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5973 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5974 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
5976 (CHECK_SP): Use symbolic stack frame offsets.
5977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
5978 zone" instead of caller's parameter save area for temp storage.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5980 Likewise. Also, use symbolic stack frame offsets.
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
5982 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
5983 our own stack frame instead of the caller's.
5984 (__socket): Use symbolic stack frame offsets.
5986 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5987 Alan Modra <amodra@gmail.com>
5989 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
5991 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
5992 PPC64_LOCAL_ENTRY_OFFSET): Define.
5993 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
5995 (elf_machine_fixup_plt): Call it.
5996 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
5998 (elf_machine_rela): Update call to elf_machine_plt_conflict.
5999 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6000 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6001 r2 before calling target.
6003 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6004 Alan Modra <amodra@gmail.com>
6006 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6007 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6008 versions of macros to support ELFv2 ABI.
6009 (LOCALENTRY): New macro.
6010 (ENTRY, EALIGN): Use it.
6011 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6012 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6013 fall through into ENTRY entry point.
6014 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6015 Only define if _CALL_ELF != 2.
6017 (elf_machine_matches_host): Verify ABI version matches.
6018 (RTLD_START): Use LOCALENTRY.
6019 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6020 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6021 (PLT_ENTRY_WORDS): New macro.
6022 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6023 (elf_machine_runtime_setup): Support ELFv2 ABI.
6024 (elf_machine_fixup_plt): Likewise.
6025 (elf_machine_plt_conflict): Likewise.
6026 (resolve_ifunc): Likewise.
6027 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6028 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6031 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6033 (makecontext): Support ELFv2 ABI.
6034 * elf/elf.h (EF_PPC64_ABI): Define.
6036 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6038 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6039 New assembler macro.
6040 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6041 [ASSEMBLER] (ENTRY): ... but instead here ...
6042 [ASSEMBLER] (EALIGN): ... and here.
6043 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6044 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6045 [!ASSEMBLER] (ENTRY_2): Use it.
6046 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6047 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6048 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6049 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6050 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6052 Use PPC64_LOAD_FUNCPTR.
6054 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6056 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6058 2013-12-04 Alan Modra <amodra@gmail.com>
6060 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6061 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6062 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6063 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6065 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6066 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6067 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6068 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6069 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6070 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6072 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6075 (__makecontext): Fix incorrect CFI when backtracing out of
6076 context created via makecontext.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6078 (__setcontext): Fix incorrect CFI during switch to new context.
6079 (__novec_setcontext): Likewise.
6081 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6084 * time/strptime_l.c (__strptime_internal): Allow modifiers
6086 * time/tst-strptime.c (day_tests): Add testcase.
6089 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6091 * scripts/bench.pl: Skip over blank lines.
6093 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6096 * manual/time.texi (Calendar Time): Clarify what timezone functions
6099 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6103 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6105 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6107 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6108 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6109 * debug/memset_chk.c (__memset_chk): Likewise.
6110 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6111 * debug/strncpy_chk.c: Likewise.
6113 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6117 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6118 (__ieee754_exp): For possibly underflowing results, check size of
6119 result and force underflow exception if required.
6120 * math/auto-libm-test-in: Add more tests of exp.
6121 * math/auto-libm-test-out: Regenerated.
6122 * sysdeps/i386/fpu/libm-test-ulps: Update.
6123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6126 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6127 * math/w_exp2f.c (__exp2f): Likewise.
6128 * math/w_exp2l.c (__exp2l): Likewise.
6129 * math/auto-libm-test-in: Do not allow missing errno on exp2
6131 * math/auto-libm-test-out: Regenerated.
6133 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
6136 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6137 handle filename validation.
6138 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6141 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6144 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6145 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6146 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6148 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6149 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6150 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6152 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6153 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6154 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6155 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6156 Add more erfc tests.
6157 * math/auto-libm-test-out: Regenerated.
6158 * sysdeps/i386/fpu/libm-test-ulps: Update.
6159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6161 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6162 exp2, expm1, j0 and j1.
6163 * math/auto-libm-test-out: Regenerated.
6164 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6165 (erfc_test_data): Likewise.
6166 (exp_test_data): Likewise.
6167 (exp_tonearest_test_data): Likewise.
6168 (exp_towardzero_test_data): Likewise.
6169 (exp_downward_test_data): Likewise.
6170 (exp_upward_test_data): Likewise.
6171 (exp10_test_data): Likewise.
6172 (exp2_test_data): Likewise.
6173 (expm1_test_data): Likewise.
6174 (j0_test_data): Likewise.
6175 (j1_test_data): Likewise.
6176 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6177 (input_flag_type): Add flag_xfail_rounding.
6178 (input_flags): Add xfail-rounding.
6179 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6180 (output_for_one_input_case): Handle flag_xfail_rounding.
6181 * sysdeps/i386/fpu/libm-test-ulps: Update.
6182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6184 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6187 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6190 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6193 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6194 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6195 (STAP_PROBE0): New macro.
6196 (STAP_PROBE1): Likewise.
6197 (STAP_PROBE2): Likewise.
6198 (STAP_PROBE3): Likewise.
6199 (STAP_PROBE4): Likewise.
6201 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
6203 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6205 2013-12-02 Steve Ellcey <sellcey@mips.com>
6207 * benchtests/Makefile (bench): Add sqrt.
6208 (LDLIBS-bench-sqrt): New.
6209 * benchtests/sqrt-input: New.
6211 2013-12-02 Pavel Simerda <psimerda@redhat.com>
6213 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6214 (GAIH_EAI): Likewise.
6215 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6216 (gaih_inet): Likewise.
6217 (getaddrinfo): Don't use GAIH_EAI.
6219 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6220 (struct gaih): Remove definition.
6222 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6224 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6225 Use HERRNOP directly.
6227 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6231 2013-11-30 Joseph Myers <joseph@codesourcery.com>
6233 * math/gen-auto-libm-tests.c (test_functions): Add more
6234 single-argument functions.
6235 (special_fill_pi_2): New function.
6236 (special_fill_minus_pi_2): Likewise.
6237 (special_fill_pi_6): Likewise.
6238 (special_fill_minus_pi_6): Likewise.
6239 (special_fill_pi_3): Likewise.
6240 (special_fill_2pi_3): Likewise.
6241 (special_fill_e): Likewise.
6242 (special_fill_1_e): Likewise.
6243 (special_fill_e_minus_1): Likewise.
6244 (special_real_inputs): Add more special inputs.
6245 (output_for_one_input_case): Do not require ERANGE on underflow to
6246 zero if round-to-nearest result does not underflow to zero, unless
6247 exact results required.
6248 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6249 atan, atanh, cbrt, cos and cosh.
6250 * math/auto-libm-test-out: Regenerated.
6251 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6252 (acos_tonearest_test_data): Likewise.
6253 (acos_towardzero_test_data): Likewise.
6254 (acos_downward_test_data): Likewise.
6255 (acos_upward_test_data): Likewise.
6256 (acosh_test_data): Likewise.
6257 (asin_test_data): Likewise.
6258 (asin_tonearest_test_data): Likewise.
6259 (asin_towardzero_test_data): Likewise.
6260 (asin_upward_test_data): Likewise.
6261 (asinh_test_data): Likewise.
6262 (atan_test_data): Likewise.
6263 (atanh_test_data): Likewise.
6264 (cbrt_test_data): Likewise.
6265 (cos_test_data): Likewise.
6266 (cos_tonearest_test_data): Likewise.
6267 (cos_towardzero_test_data): Likewise.
6268 (cos_downward_test_data): Likewise.
6269 (cos_upward_test_data): Likewise.
6270 (cosh_test_data): Likewise.
6271 (cosh_tonearest_test_data): Likewise.
6272 (cosh_towardzero_test_data): Likewise.
6273 (cosh_downward_test_data): Likewise.
6274 (cosh_upward_test_data): Likewise.
6275 * sysdeps/i386/fpu/libm-test-ulps: Update.
6276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6278 2013-11-29 Joseph Myers <joseph@codesourcery.com>
6281 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6282 * math/w_exp10f.c (__exp10f): Likewise.
6283 * math/w_exp10l.c (__exp10l): Likewise.
6284 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6285 errno settings in existing tests.
6288 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6289 precision control set to double precision.
6290 * sysdeps/i386/fpu/w_sqrt.c: New file.
6291 * math/auto-libm-test-in: Add more tests.
6292 * math/auto-libm-test-out: Update.
6294 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6295 (sqrt_test_tonearest): New function.
6296 (sqrt_towardzero_test_data): New variable.
6297 (sqrt_test_towardzero): New function.
6298 (sqrt_downward_test_data): New variable.
6299 (sqrt_test_downward): New function.
6300 (sqrt_upward_test_data): New variable.
6301 (sqrt_test_upward): New function.
6302 (main): Call the new functions.
6304 * math/gen-auto-libm-tests.c: New file.
6305 * math/auto-libm-test-in: Likewise.
6306 * math/auto-libm-test-out: New generated file.
6307 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6309 (%beautify): Add generated representations of zero.
6310 (top level): Set $auto_input and call parse_auto_input.
6311 (beautify): Remove trailing "f" from hex float constants.
6312 (parse_args): Handle XFAIL_TEST.
6313 (convert_condition): New function.
6314 (or_value): Likewise.
6315 (or_cond_value): Likewise.
6316 (generate_testfile): Handle AUTO_TESTS_* lines.
6317 (parse_auto_input): New function.
6318 * math/libm-test.inc (XFAIL_TEST): New macro.
6319 (ERRNO_UNCHANGED): Update value.
6320 (ERRNO_EDOM): Likewise.
6321 (ERRNO_ERANGE): Likewise.
6322 (IGNORE_RESULT): Likewise.
6323 (TEST_COND_flt_32): New macro.
6324 (TEST_COND_dbl_64): Likewise.
6325 (TEST_COND_ldbl_96_intel): Likewise.
6326 (TEST_COND_ldbl_96_m68k): Likewise.
6327 (TEST_COND_ldbl_128): Likewise.
6328 (TEST_COND_ldbl_128ibm): Likewise.
6329 (TEST_COND_long32): Likewise.
6330 (TEST_COND_long64): Likewise.
6331 (TEST_COND_before_rounding): Likewise.
6332 (TEST_COND_after_rounding): Likewise.
6333 (enable_test): Handle XFAIL_TEST flag.
6334 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6335 with finite results.
6336 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6339 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6340 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6343 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6344 __tls_get_addr_internal instead of __tls_get_offset in order to
6345 avoid GOT pointer dependency. Make rtld export
6346 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6347 __tls_get_addr since we are a __tls_get_offset platform.
6348 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6349 GOT pointer being set up before.
6350 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6352 2013-11-28 Joseph Myers <joseph@codesourcery.com>
6354 * manual/math.texi (Errors in Math Functions): Document accuracy
6358 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6359 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6362 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6375 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6376 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6377 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6378 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6379 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6381 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6383 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6385 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6386 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6387 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6388 atomic-feupdateenv and flt-rounds.
6389 * sysdeps/powerpc/nofpu/Versions (libc): Add
6390 __atomic_feholdexcept, __atomic_feclearexcept,
6391 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6392 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6393 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6394 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6395 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6400 * manual/arith.texi (FP Exceptions): Document that exceptions may
6401 not be raised when matherr is used.
6402 (Math Error Reporting): Document overflow in directed rounding
6403 modes. Document that errno may not be set when finite values are
6404 returned on overflow. Document intent to set errno on underflow
6405 only for underflow to zero.
6408 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6409 round-to-nearest then adjust result for other rounding modes.
6410 * include/fenv.h (fegetround): Use libm_hidden_proto.
6411 * math/fegetround.c (fegetround): Use libm_hidden_def.
6412 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6413 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6414 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6415 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6417 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6418 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6419 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6420 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6422 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6425 * nss/Versions (libnss_files): Add
6426 _nss_files_gethostbyname3_r.
6427 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6429 (HOST_DB_LOOKUP): Remove macro.
6430 (_nss_files_gethostbyname_r): Implement function without the
6431 HOST_DB_LOOKUP macro.
6432 (_nss_files_gethostbyname2_r): Likewise.
6434 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
6436 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6438 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
6440 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6441 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6444 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6446 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6447 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6448 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6449 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6450 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6451 __fe_nomask_env_priv and attribute_hidden.
6452 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6453 (libc_feupdateenv_test_ppc): Likewise.
6454 (libc_feresetround_ppc): Likewise.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6456 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6457 compat_symbol macro.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6459 (__fe_nomask_env): Likewise.
6460 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6462 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6464 * string/Makefile: Remove ifunc tests.
6465 * string/test-string.h: Define TEST_IFUNC.
6466 * string/test-bcopy-ifunc.c: Remove.
6467 * string/test-bzero-ifunc.c: Likewise.
6468 * string/test-memccpy-ifunc.c: Likewise.
6469 * string/test-memchr-ifunc.c: Likewise.
6470 * string/test-memcmp-ifunc.c: Likewise.
6471 * string/test-memcpy-ifunc.c: Likewise.
6472 * string/test-memmem-ifunc.c: Likewise.
6473 * string/test-memmove-ifunc.c: Likewise.
6474 * string/test-mempcpy-ifunc.c: Likewise.
6475 * string/test-memrchr-ifunc.c: Likewise.
6476 * string/test-memset-ifunc.c: Likewise.
6477 * string/test-rawmemchr-ifunc.c: Likewise.
6478 * string/test-stpcpy-ifunc.c: Likewise.
6479 * string/test-stpncpy-ifunc.c: Likewise.
6480 * string/test-strcasecmp-ifunc.c: Likewise.
6481 * string/test-strcasestr-ifunc.c: Likewise.
6482 * string/test-strcat-ifunc.c: Likewise.
6483 * string/test-strchr-ifunc.c: Likewise.
6484 * string/test-strchrnul-ifunc.c: Likewise.
6485 * string/test-strcmp-ifunc.c: Likewise.
6486 * string/test-strcpy-ifunc.c: Likewise.
6487 * string/test-strcspn-ifunc.c: Likewise.
6488 * string/test-strlen-ifunc.c: Likewise.
6489 * string/test-strncasecmp-ifunc.c: Likewise.
6490 * string/test-strncat-ifunc.c: Likewise.
6491 * string/test-strncmp-ifunc.c: Likewise.
6492 * string/test-strncpy-ifunc.c: Likewise.
6493 * string/test-strnlen-ifunc.c: Likewise.
6494 * string/test-strpbrk-ifunc.c: Likewise.
6495 * string/test-strrchr-ifunc.c: Likewise.
6496 * string/test-strspn-ifunc.c: Likewise.
6497 * string/test-strstr-ifunc.c: Likewise.
6499 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6501 * benchtests/Makefile: Remove ifunc tests.
6502 * benchtests/bench-string.h: Define TEST_IFUNC.
6503 * benchtests/bench-bcopy-ifunc.c: Remove.
6504 * benchtests/bench-bzero-ifunc.c: Likewise.
6505 * benchtests/bench-memccpy-ifunc.c: Likewise.
6506 * benchtests/bench-memchr-ifunc.c: Likewise.
6507 * benchtests/bench-memcmp-ifunc.c: Likewise.
6508 * benchtests/bench-memcpy-ifunc.c: Likewise.
6509 * benchtests/bench-memmem-ifunc.c: Likewise.
6510 * benchtests/bench-memmove-ifunc.c: Likewise.
6511 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6512 * benchtests/bench-memrchr-ifunc.c: Likewise.
6513 * benchtests/bench-memset-ifunc.c: Likewise.
6514 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6515 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6516 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6517 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6518 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6519 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6520 * benchtests/bench-strcat-ifunc.c: Likewise.
6521 * benchtests/bench-strchr-ifunc.c: Likewise.
6522 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6523 * benchtests/bench-strcmp-ifunc.c: Likewise.
6524 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6525 * benchtests/bench-strcpy-ifunc.c: Likewise.
6526 * benchtests/bench-strcspn-ifunc.c: Likewise.
6527 * benchtests/bench-strlen-ifunc.c: Likewise.
6528 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6529 * benchtests/bench-strncat-ifunc.c: Likewise.
6530 * benchtests/bench-strncmp-ifunc.c: Likewise.
6531 * benchtests/bench-strncpy-ifunc.c: Likewise.
6532 * benchtests/bench-strnlen-ifunc.c: Likewise.
6533 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6534 * benchtests/bench-strrchr-ifunc.c: Likewise.
6535 * benchtests/bench-strsep-ifunc.c: Likewise.
6536 * benchtests/bench-strspn-ifunc.c: Likewise.
6537 * benchtests/bench-strstr-ifunc.c: Likewise.
6539 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6541 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6543 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6545 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6546 * rt/aio.h: Likewise.
6547 * sysdeps/gnu/bits/utmp.h: Likewise.
6548 * sysdeps/gnu/bits/utmpx.h: Likewise.
6549 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6550 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6551 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6552 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6553 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6554 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6555 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6556 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6557 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6558 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6559 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6560 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6561 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6563 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6564 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6565 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6566 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6567 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6568 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6569 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6570 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6571 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6572 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6573 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6575 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6576 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6577 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6578 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6579 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6581 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6582 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6584 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6585 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6586 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6587 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6588 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6589 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6590 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6592 2013-11-25 Carlos O'Donell <carlos@redhat.com>
6595 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6596 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6598 2013-11-25 Joseph Myers <joseph@codesourcery.com>
6600 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6601 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6604 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6606 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6607 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6608 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6609 (__fesetround): Remove define.
6610 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6611 rounding and exceptions handling.
6612 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6613 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6614 (__fe_nomask_env): Likewise.
6615 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6616 __fegetround instead of fegetround.
6617 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6618 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6620 2013-11-21 Roland McGrath <roland@hack.frob.com>
6622 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6625 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6627 2013-11-21 Meador Inge <meadori@codesourcery.com>
6630 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6631 (encrypt_r): Likewise.
6632 * malloc/obstack.h (obstack_free): Likewise.
6633 * posix/unistd.h (encrypt): Likewise.
6635 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6637 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6638 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6639 DL_CALL_DT_FINI() that call the functions directly.
6640 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6641 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6642 * elf/dl-fini.c: Likewise.
6644 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
6646 * malloc/hooks.c (memalign_check): Add alignment rounding.
6647 * malloc/malloc.c (_mid_memalign): New function.
6648 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6649 Implement by calling _mid_memalign.
6650 * manual/probes.texi (Memory Allocation Probes): Remove
6651 memory_valloc_retry and memory_pvalloc_retry.
6653 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6655 * locale/programs/locarchive.c (open_archive): Add const
6656 qualifier to ARCHIVEFNAME and copy default fname to
6660 * libio/tst-widetext.input: Rename Oriya to Odia.
6661 * locale/iso-639.def: Likewise.
6663 * manual/probes.texi (Mathematical Function Probes): Add
6664 documentation for sin, cos, asin and acos probes.
6665 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6666 (__sin32): Add slowasin probe.
6667 (__cos32): Add slowacos probe.
6668 (__mpsin): Add slowsin probe.
6669 (__mpcos): Add slowcos probe.
6671 2013-11-19 Joseph Myers <joseph@codesourcery.com>
6674 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6675 thread-local __sim_exceptions_thread and global
6676 __sim_exceptions_global.
6677 (__sim_disabled_exceptions): Change to thread-local
6678 __sim_disabled_exceptions_thread and global
6679 __sim_disabled_exceptions_global.
6680 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6681 and global __sim_round_mode_global.
6682 (__simulate_exceptions): Use thread-local floating-point state and
6683 set global state from it as needed.
6684 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6685 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6686 __sim_round_mode_thread.
6687 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6688 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6689 and global __sim_exceptions_global.
6690 (__sim_disabled_exceptions): Change to thread-local
6691 __sim_disabled_exceptions_thread and global
6692 __sim_disabled_exceptions_global.
6693 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6694 and global __sim_round_mode_global.
6695 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6696 (SIM_SET_GLOBAL): Likewise.
6697 * sysdeps/powerpc/soft-fp/sfp-machine.h
6698 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6699 __sim_round_mode_thread.
6700 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6701 __sim_disabled_exceptions_thread.
6702 (__sim_exceptions): Change to __sim_exceptions_thread.
6703 (__sim_disabled_exceptions): Change to
6704 __sim_disabled_exceptions_thread.
6705 (__sim_round_mode): Change to __sim_round_mode_thread.
6706 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6707 thread-local floating-point state and set global state from it as
6709 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6710 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6711 (__sim_disabled_exceptions): Remove extern declaration.
6712 (feenableexcept): Use thread-local floating-point state and set
6713 global state from it as needed.
6714 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6716 (__sim_disabled_exceptions): Likewise.
6717 (__sim_round_mode): Likewise.
6718 (__fegetenv): Use thread-local floating-point state.
6719 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6720 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6721 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6722 floating-point state and set global state from it as needed.
6723 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6724 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6725 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6727 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6728 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6730 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6731 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6732 Use __sim_round_mode_thread.
6733 * math/test-fenv-tls.c: New file.
6734 * math/Makefile (tests): Add test-fenv-tls.
6735 ($(objpfx)test-fenv-tls): Depend on
6736 $(common-objpfx)nptl/libpthread.so.
6738 2013-11-19 Andreas Schwab <schwab@suse.de>
6740 * locale/programs/locale.c (show_info): Decode wordarray elements.
6741 * locale/categories.def (LC_MONETARY): Add element for
6742 _NL_MONETARY_CRNCYSTR.
6743 * locale/C-monetary.c (conversion_rate): New variable.
6744 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6747 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6749 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6750 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6752 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6754 * elf/Makefile (tst-auxv): New test.
6755 * elf/tst-auxv.c: New
6756 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6758 2013-11-18 Joseph Myers <joseph@codesourcery.com>
6760 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6761 (hidden_proto): Caller changed.
6762 (hidden_tls_proto): New macro.
6763 (libc_hidden_tls_proto): Likewise.
6764 (rtld_hidden_tls_proto): Likewise.
6765 (libm_hidden_tls_proto): Likewise.
6766 (libresolv_hidden_tls_proto): Likewise.
6767 (librt_hidden_tls_proto): Likewise.
6768 (libdl_hidden_tls_proto): Likewise.
6769 (libnss_files_hidden_tls_proto): Likewise.
6770 (libnsl_hidden_tls_proto): Likewise.
6771 (libnss_nisplus_hidden_tls_proto): Likewise.
6772 (libutil_hidden_tls_proto): Likewise.
6774 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
6777 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6778 (decompose_rpath): Defer expansion to fillin_rpath.
6779 (_dl_init_paths): Pass linkmap to fillin_rpath.
6781 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6783 * benchtests/Makefile: Add strsep.
6784 * benchtests/bench-strsep.c: New file: strsep benchtest.
6785 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6787 2013-11-18 Andreas Schwab <schwab@suse.de>
6789 * locale/programs/locale.c (show_info) [case byte]: Check for
6790 '\377' instead of '\177'.
6791 * locale/C-monetary.c (not_available): Always use "\377".
6792 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6793 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
6794 detect unavailable sign_posn locale elements.
6795 * locale/localeconv.c (__localeconv): For grouping and
6796 mon_grouping handle "\177" and "\377" like no grouping.
6797 (INT_ELEM): New macro. Use it to set all numeric members.
6798 * locale/programs/ld-monetary.c (monetary_read)
6799 <tok_mon_grouping>: Normalize single -1 to the empty string.
6800 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6803 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
6806 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6807 when we match (nil).
6808 * stdio-common/tst-sscanf.c (struct test): Add testcase.
6810 2013-11-16 Joseph Myers <joseph@codesourcery.com>
6812 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6813 (NO_TEST_INLINE): Update value.
6814 (ERRNO_UNCHANGED): Likewise.
6815 (ERRNO_EDOM): Likewise.
6816 (ERRNO_ERANGE): Likewise.
6817 (IGNORE_RESULT): Likewise.
6818 (check_float_internal): Check signs of NaN results if
6820 (check_complex): Pass TEST_NAN_SIGN flag through to second
6821 check_float_internal call.
6822 (copysign_test_data): Add tests with quiet NaNs as second
6823 argument. Use TEST_NAN_SIGN.
6824 (fabs_test_data): Add test of negative quiet NaN argument. Use
6826 (signbit_test_data): Add tests of quiet NaN argument.
6827 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6829 * math/gen-libm-test.pl (show_exceptions): Take extra argument
6831 (parse_args): Handle function results specified as IGNORE.
6832 * math/libm-test.inc (IGNORE_RESULT): New macro.
6833 (check_float_internal): Do not check numerical result if flag
6835 (check_complex): Pass through IGNORE_RESULT to second
6836 check_float_internal call.
6837 (check_int): Do not check numerical result if flag IGNORE_RESULT
6839 (check_long): Likewise.
6840 (check_bool): Likewise.
6841 (check_longlong): Likewise.
6842 (lrint_test_data): Add tests of infinite and NaN arguments.
6843 (lrint_tonearest_test_data): Likewise.
6844 (lrint_towardzero_test_data): Likewise.
6845 (lrint_downward_test_data): Likewise.
6846 (lrint_upward_test_data): Likewise.
6847 (llrint_test_data): Likewise.
6848 (llrint_tonearest_test_data): Likewise.
6849 (llrint_towardzero_test_data): Likewise.
6850 (llrint_downward_test_data): Likewise.
6851 (llrint_upward_test_data): Likewise.
6852 (lround_test_data): Likewise.
6853 (llround_test_data): Likewise.
6855 * math/libm-test.inc (NO_TEST_INLINE): New macro.
6856 (ERRNO_UNCHANGED): Update value.
6857 (ERRNO_EDOM): Likewise.
6858 (ERRNO_ERANGE): Likewise.
6859 (NO_TEST_INLINE_FLOAT): New macro.
6860 (NO_TEST_INLINE_DOUBLE): Likewise.
6861 (enable_test): New function.
6862 (RUN_TEST_f_f): Check enable_test before running test.
6863 (RUN_TEST_2_f): Likewise.
6864 (RUN_TEST_fff_f): Likewise.
6865 (RUN_TEST_c_f): Likewise.
6866 (RUN_TEST_f_f1): Likewise.
6867 (RUN_TEST_fF_f1): Likewise.
6868 (RUN_TEST_fI_f1): Likewise.
6869 (RUN_TEST_ffI_f1): Likewise.
6870 (RUN_TEST_c_c): Likewise.
6871 (RUN_TEST_cc_c): Likewise.
6872 (RUN_TEST_f_i): Likewise.
6873 (RUN_TEST_f_i_tg): Likewise.
6874 (RUN_TEST_ff_i_tg): Likewise.
6875 (RUN_TEST_f_b): Likewise.
6876 (RUN_TEST_f_b_tg): Likewise.
6877 (RUN_TEST_f_l): Likewise.
6878 (RUN_TEST_f_L): Likewise.
6879 (RUN_TEST_fFF_11): Likewise.
6880 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6882 (cosh_test_data): Likewise.
6883 (exp_test_data): Likewise.
6884 (expm1_test_data): Likewise.
6885 (hypot_test_data): Likewise.
6886 (pow_test_data): Likewise.
6887 (sinh_test_data): Likewise.
6888 (tanh_test_data): Likewise.
6889 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6892 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6893 tests with quiet NaN input and output.
6894 (acosh_test_data): Likewise.
6895 (asin_test_data): Likewise.
6896 (asinh_test_data): Likewise.
6897 (atan_test_data): Likewise.
6898 (atanh_test_data): Likewise.
6899 (atan2_test_data): Likewise.
6900 (cbrt_test_data): Likewise.
6901 (cos_test_data): Likewise.
6902 (cosh_test_data): Likewise.
6903 (erf_test_data): Likewise.
6904 (erfc_test_data): Likewise.
6905 (exp_test_data): Likewise.
6906 (exp10_test_data): Likewise.
6907 (exp2_test_data): Likewise.
6908 (expm1_test_data): Likewise.
6909 (hypot_test_data): Likewise.
6910 (j0_test_data): Likewise.
6911 (j1_test_data): Likewise.
6912 (jn_test_data): Likewise.
6913 (lgamma_test_data): Likewise.
6914 (log_test_data): Likewise.
6915 (log10_test_data): Likewise.
6916 (log1p_test_data): Likewise.
6917 (log2_test_data): Likewise.
6918 (pow_test_data): Likewise.
6919 (scalb_test_data): Likewise.
6920 (sin_test_data): Likewise.
6921 (sincos_test_data): Likewise.
6922 (sinh_test_data): Likewise.
6923 (tan_test_data): Likewise.
6924 (tanh_test_data): Likewise.
6925 (tgamma_test_data): Likewise.
6926 (y0_test_data): Likewise.
6927 (y1_test_data): Likewise.
6928 (yn_test_data): Likewise.
6931 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6932 argument being NaN and avoid computations with second argument in
6934 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6935 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6936 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6938 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
6940 * locale/iso-639.def: Add Chitwani Tharu (the).
6942 2013-11-14 Andreas Schwab <schwab@suse.de>
6944 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6945 word instead of empty string.
6947 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6950 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6952 (__fe_nomask_env): Likewise.
6954 2013-11-13 Steve Ellcey <sellcey@mips.com>
6956 * benchtests/bench-timing.h: Include time.h.
6958 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
6961 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6963 * sysdeps/unix/sysv/linux/configure: Regenerated.
6965 2013-11-13 Joseph Myers <joseph@codesourcery.com>
6968 * stdlib/strtod_l.c (round_and_return): Do not consider
6969 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6970 exponent one less than half the least subnormal exponent.
6971 * stdlib/test-strtod-round-data: Add more tests.
6972 * stdlib/tst-strtod-round.c (tests): Regenerated.
6974 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6977 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
6978 (__fe_mask_env): Likewise.
6979 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
6980 libm_hidden_proto and add function prototype.
6981 (__fe_mask_env): Add function prototype.
6982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6983 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
6984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6985 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
6986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6987 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
6989 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6991 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
6992 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
6994 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6996 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
6997 of htab_find_slot().
6999 2013-11-11 David S. Miller <davem@davemloft.net>
7002 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7003 symbol in the non-vis3 case in static builds.
7004 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7005 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7006 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7007 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7009 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7012 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7015 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7017 * benchtests/Makefile: Add bench-strtod.
7018 * benchtests/bench-strtod.c: New file: strtod benchtest
7020 2013-11-11 Andreas Schwab <schwab@suse.de>
7023 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7024 terminating NUL in key length.
7026 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7028 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7029 Add artificial ODP entry for vDSO symbol for PPC64.
7030 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7031 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7033 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7036 * nss/getent.c (services_keys): Recognize services starting with digit.
7038 2013-11-06 David S. Miller <davem@davemloft.net>
7041 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7042 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7044 2013-11-06 Will Newton <will.newton@linaro.org>
7046 * manual/memory.texi (Malloc Examples): Remove register
7047 keyword from examples.
7049 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7051 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7053 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7056 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7057 depending on [__GCC_IEC_559 > 0].
7058 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7059 depending on [__GCC_IEC_559_COMPLEX > 0].
7061 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
7063 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7066 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
7068 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7070 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
7073 * malloc/malloc (malloc_info): Do not handle first bin as
7076 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
7078 * locale/iso-639.def: Add Central Nahuatl (nhn).
7080 2013-11-01 Bruno Haible <bruno@clisp.org>
7083 * manual/math.texi (BSD Random): Specify range upper bound as
7086 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
7088 * locale/iso-639.def: Add Meadow Mari (mhr).
7090 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
7092 [BZ #14752], [BZ #15763]
7093 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7095 * rt/tst_shm.c: Add test for escaping directory.
7097 2013-10-31 Andreas Schwab <schwab@suse.de>
7100 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7101 followed by 'x' as part of digit sequence.
7102 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7104 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7107 * configure.ac: allow GNU Make 4.0 and greater.
7108 * configure: Regenerated.
7110 2013-10-30 Will Newton <will.newton@linaro.org>
7113 * malloc/hooks.c (memalign_check): Limit alignment to the
7114 maximum representable power of two.
7115 * malloc/malloc.c (__libc_memalign): Likewise.
7116 * malloc/tst-memalign.c (do_test): Add test for very
7117 large alignment values.
7118 * malloc/tst-posix_memalign.c (do_test): Likewise.
7120 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7123 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7124 (munmap_chunk): Likewise.
7125 (mremap_chunk): Likewise.
7127 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7130 * stdlib/div.c (div): Remove obsolete code.
7131 * stdlib/ldiv.c (ldiv): Likewise.
7132 * stdlib/lldiv.c (lldiv): Likewise.
7134 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7137 * nss/nss_files/files-XXX.c (get_contents_ret): New
7139 (get_contents): New function.
7140 (internal_getent): Use it. Expand size of LINEBUFLEN.
7142 2013-10-30 Mike Frysinger <vapier@gentoo.org>
7144 * configure.in: Moved to ...
7145 * configure.ac: ... here. Change reference to configure.in
7147 * sysdeps/arm/preconfigure.ac: ... here.
7148 configure.in to configure.ac.
7149 * sysdeps/gnu/configure.in: Moved to ...
7150 * sysdeps/gnu/configure.ac: ... here.
7151 * sysdeps/i386/configure.in: Moved to ...
7152 * sysdeps/i386/configure.ac: ... here.
7153 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7154 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7155 * sysdeps/mach/configure.in: Moved to ...
7156 * sysdeps/mach/configure.ac: ... here.
7157 * sysdeps/mach/hurd/configure.in: Moved to ...
7158 * sysdeps/mach/hurd/configure.ac: ... here.
7159 * sysdeps/powerpc/configure.in: Moved to ...
7160 * sysdeps/powerpc/configure.ac: ... here.
7161 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7162 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7163 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7164 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7165 * sysdeps/s390/s390-32/configure.in: Moved to ...
7166 * sysdeps/s390/s390-32/configure.ac: ... here.
7167 * sysdeps/s390/s390-64/configure.in: Moved to ...
7168 * sysdeps/s390/s390-64/configure.ac: ... here.
7169 * sysdeps/sh/configure.in: Moved to ...
7170 * sysdeps/sh/configure.ac: ... here.
7171 * sysdeps/sparc/configure.in: Moved to ...
7172 * sysdeps/sparc/configure.ac: ... here.
7173 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7174 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7175 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7176 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7177 * sysdeps/x86_64/configure.in: Moved to ...
7178 * sysdeps/x86_64/configure.ac: ... here.
7179 * sysdeps/x86_64/preconfigure.in: Moved to ...
7180 * sysdeps/x86_64/preconfigure.ac: ... here.
7181 * aclocal.m4: Change reference to configure.in to configure.ac.
7182 * config.h.in: Likewise.
7183 * manual/install.texi: Likewise.
7184 * manual/maint.texi: Likewise.
7185 * Makefile: Likewise.
7186 * malloc/Makefile: Likewise.
7187 * nscd/Makefile: Likewise.
7188 * Makeconfig: Change reference to configure.in and
7189 preconfigure.in to configure.ac and preconfigure.ac
7191 * INSTALL: Regenerated.
7192 * configure: Likewise.
7193 * sysdeps/gnu/configure: Likewise.
7194 * sysdeps/i386/configure: Likewise.
7195 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7196 * sysdeps/mach/configure: Likewise.
7197 * sysdeps/mach/hurd/configure: Likewise.
7198 * sysdeps/powerpc/configure: Likewise.
7199 * sysdeps/powerpc/powerpc32/configure: Likewise.
7200 * sysdeps/powerpc/powerpc64/configure: Likewise.
7201 * sysdeps/s390/s390-32/configure: Likewise.
7202 * sysdeps/s390/s390-64/configure: Likewise.
7203 * sysdeps/sh/configure: Likewise.
7204 * sysdeps/sparc/configure: Likewise.
7205 * sysdeps/unix/sysv/linux/configure: Likewise.
7206 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7207 * sysdeps/x86_64/configure: Likewise.
7208 * sysdeps/x86_64/preconfigure: Likewise.
7210 2013-10-29 Andreas Schwab <schwab@suse.de>
7212 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7214 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7216 * benchtests/pow-inputs: Add new inputs.
7218 * benchtests/exp-inputs: Add new inputs.
7220 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7221 conditional check for return value.
7222 (__cos32): Likewise.
7224 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7226 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7227 to provide a boost for large inputs with word alignment.
7228 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7229 implementation based on optimized PPC64 strcpy.
7230 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7231 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7232 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7233 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7235 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7238 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7240 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7243 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7244 * time/tst-strptime.c (day_tests): Add testcase.
7246 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7249 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7251 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7254 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7255 MAP_FAILED on error.
7257 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7260 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7261 heap for large requests.
7263 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7266 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7267 result if the result has no associated interface.
7268 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7269 interface for all 127.X.Y.Z addresses.
7271 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
7273 * locale/iso-639.def: Add Ligurian (lij)
7275 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
7278 * sunrpc/rpc_main.c: Document rpcgen -5.
7280 2013-10-19 Michael Stahl <mstahl@redhat.com>
7282 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7284 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7287 * posix/glob.c: Match only directories when trailing slash is present.
7288 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7289 (main): Add testcase.
7291 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7294 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7296 2013-10-18 Carlos O'Donell <carlos@redhat.com>
7298 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7299 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7300 AUTH_DES and cindex for FIPS 140-2.
7301 (DES Encryption): Add cindex FIPS 46-3.
7303 * locale/locarchive.h (struct locarhandle): Add fname.
7304 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7305 if an optional argument was specified to --list-archive,
7307 * locale/programs/locarchive.c (show_archive_content): Take new
7308 argument fname and pass it via ah.fname to open_archive.
7309 * locale/programs/localedef.h: Update decl.
7310 (open_archive): If AH->fname is non-null, open that file
7311 rather than the default file name, and don't ignore ENOENT.
7312 (create_archive): Set AH.fname to NULL.
7313 (delete_locales_from_archive): Likewise.
7314 (add_locales_to_archive): Likewise.
7315 * locale/programs/locfile.c (write_all_categories): Likewise.
7317 2013-10-18 Joseph Myers <joseph@codesourcery.com>
7318 Aldy Hernandez <aldyh@redhat.com>
7320 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7321 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7322 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7323 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7324 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7325 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7326 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7327 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7328 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7329 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7330 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7331 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7332 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7333 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7334 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7336 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7338 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7340 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7342 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7343 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7345 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7346 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7347 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7348 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7350 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7351 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7352 * sysdeps/powerpc/preconfigure: Likewise.
7353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7355 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7356 Replace contents of file by #include of <fenv_libc.h>.
7357 * sysdeps/powerpc/soft-fp/sfp-machine.h
7358 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7360 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7361 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7362 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7363 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7364 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7365 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7367 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7368 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7369 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7370 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7371 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7373 Allow copysignl PLT reference to be missing.
7375 2013-10-18 Richard Sandiford <richard@codesourcery.com>
7376 Joseph Myers <joseph@codesourcery.com
7379 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7381 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7383 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7385 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7386 * elf/tst-tls1.c: Likewise.
7387 * elf/tst-tls10.h: Likewise.
7388 * elf/tst-tls14.c: Likewise.
7389 * elf/tst-tls2.c: Likewise.
7390 * elf/tst-tls3.c: Likewise.
7391 * elf/tst-tls4.c: Likewise.
7392 * elf/tst-tls5.c: Likewise.
7393 * elf/tst-tls6.c: Likewise.
7394 * elf/tst-tls7.c: Likewise.
7395 * elf/tst-tls8.c: Likewise.
7396 * elf/tst-tls9.c: Likewise.
7397 * elf/tst-tlsmod1.c: Likewise.
7398 * elf/tst-tlsmod13.c: Likewise.
7399 * elf/tst-tlsmod13a.c: Likewise.
7400 * elf/tst-tlsmod14a.c: Likewise.
7401 * elf/tst-tlsmod16a.c: Likewise.
7402 * elf/tst-tlsmod16b.c: Likewise.
7403 * elf/tst-tlsmod2.c: Likewise.
7404 * elf/tst-tlsmod3.c: Likewise.
7405 * elf/tst-tlsmod4.c: Likewise.
7406 * elf/tst-tlsmod5.c: Likewise.
7407 * elf/tst-tlsmod6.c: Likewise.
7409 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
7412 * malloc/malloc.c: remove checks for statistics.
7414 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7417 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7418 * inet/tst-network.c: Add testcase.
7420 2013-10-17 Andreas Schwab <schwab@suse.de>
7423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7424 to determine canonical name.
7426 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7428 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7429 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7431 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7433 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7434 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7437 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7438 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7439 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7440 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7442 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7443 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7446 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7447 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7448 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7450 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7451 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7452 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7453 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7455 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7456 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7457 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7458 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7461 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7462 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7463 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7464 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7465 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7466 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7468 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7469 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7470 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7471 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7472 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7473 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7477 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7481 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7482 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7487 2013-10-17 Joseph Myers <joseph@codesourcery.com>
7490 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7491 make result into a quiet NaN.
7493 2013-10-16 Joseph Myers <joseph@codesourcery.com>
7495 * soft-fp/adddf3.c: Fix horizontal whitespace.
7496 * soft-fp/addsf3.c: Likewise.
7497 * soft-fp/addtf3.c: Likewise.
7498 * soft-fp/divdf3.c: Likewise.
7499 * soft-fp/divsf3.c: Likewise.
7500 * soft-fp/divtf3.c: Likewise.
7501 * soft-fp/double.h: Likewise.
7502 * soft-fp/eqdf2.c: Likewise.
7503 * soft-fp/eqsf2.c: Likewise.
7504 * soft-fp/eqtf2.c: Likewise.
7505 * soft-fp/extenddftf2.c: Likewise.
7506 * soft-fp/extended.h: Likewise.
7507 * soft-fp/extendsfdf2.c: Likewise.
7508 * soft-fp/extendsftf2.c: Likewise.
7509 * soft-fp/extendxftf2.c: Likewise.
7510 * soft-fp/fixdfdi.c: Likewise.
7511 * soft-fp/fixdfsi.c: Likewise.
7512 * soft-fp/fixdfti.c: Likewise.
7513 * soft-fp/fixsfdi.c: Likewise.
7514 * soft-fp/fixsfsi.c: Likewise.
7515 * soft-fp/fixsfti.c: Likewise.
7516 * soft-fp/fixtfdi.c: Likewise.
7517 * soft-fp/fixtfsi.c: Likewise.
7518 * soft-fp/fixtfti.c: Likewise.
7519 * soft-fp/fixunsdfdi.c: Likewise.
7520 * soft-fp/fixunsdfsi.c: Likewise.
7521 * soft-fp/fixunsdfti.c: Likewise.
7522 * soft-fp/fixunssfdi.c: Likewise.
7523 * soft-fp/fixunssfsi.c: Likewise.
7524 * soft-fp/fixunssfti.c: Likewise.
7525 * soft-fp/fixunstfdi.c: Likewise.
7526 * soft-fp/fixunstfsi.c: Likewise.
7527 * soft-fp/fixunstfti.c: Likewise.
7528 * soft-fp/floatdidf.c: Likewise.
7529 * soft-fp/floatdisf.c: Likewise.
7530 * soft-fp/floatditf.c: Likewise.
7531 * soft-fp/floatsidf.c: Likewise.
7532 * soft-fp/floatsisf.c: Likewise.
7533 * soft-fp/floatsitf.c: Likewise.
7534 * soft-fp/floattidf.c: Likewise.
7535 * soft-fp/floattisf.c: Likewise.
7536 * soft-fp/floattitf.c: Likewise.
7537 * soft-fp/floatundidf.c: Likewise.
7538 * soft-fp/floatundisf.c: Likewise.
7539 * soft-fp/floatunditf.c: Likewise.
7540 * soft-fp/floatunsidf.c: Likewise.
7541 * soft-fp/floatunsisf.c: Likewise.
7542 * soft-fp/floatunsitf.c: Likewise.
7543 * soft-fp/floatuntidf.c: Likewise.
7544 * soft-fp/floatuntisf.c: Likewise.
7545 * soft-fp/floatuntitf.c: Likewise.
7546 * soft-fp/fmadf4.c: Likewise.
7547 * soft-fp/fmasf4.c: Likewise.
7548 * soft-fp/fmatf4.c: Likewise.
7549 * soft-fp/gedf2.c: Likewise.
7550 * soft-fp/gesf2.c: Likewise.
7551 * soft-fp/getf2.c: Likewise.
7552 * soft-fp/ledf2.c: Likewise.
7553 * soft-fp/lesf2.c: Likewise.
7554 * soft-fp/letf2.c: Likewise.
7555 * soft-fp/muldf3.c: Likewise.
7556 * soft-fp/mulsf3.c: Likewise.
7557 * soft-fp/multf3.c: Likewise.
7558 * soft-fp/negdf2.c: Likewise.
7559 * soft-fp/negsf2.c: Likewise.
7560 * soft-fp/negtf2.c: Likewise.
7561 * soft-fp/op-1.h: Likewise.
7562 * soft-fp/op-2.h: Likewise.
7563 * soft-fp/op-4.h: Likewise.
7564 * soft-fp/op-8.h: Likewise.
7565 * soft-fp/op-common.h: Likewise.
7566 * soft-fp/quad.h: Likewise.
7567 * soft-fp/single.h: Likewise.
7568 * soft-fp/soft-fp.h: Likewise.
7569 * soft-fp/sqrtdf2.c: Likewise.
7570 * soft-fp/sqrtsf2.c: Likewise.
7571 * soft-fp/sqrttf2.c: Likewise.
7572 * soft-fp/subdf3.c: Likewise.
7573 * soft-fp/subsf3.c: Likewise.
7574 * soft-fp/subtf3.c: Likewise.
7575 * soft-fp/truncdfsf2.c: Likewise.
7576 * soft-fp/trunctfdf2.c: Likewise.
7577 * soft-fp/trunctfsf2.c: Likewise.
7578 * soft-fp/trunctfxf2.c: Likewise.
7579 * soft-fp/unorddf2.c: Likewise.
7580 * soft-fp/unordsf2.c: Likewise.
7581 * soft-fp/unordtf2.c: Likewise.
7583 2013-10-15 Joseph Myers <joseph@codesourcery.com>
7585 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7586 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7588 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
7590 * elf/dl-libc.c: Clear initfini list after freeing.
7592 2013-10-14 Joseph Myers <joseph@codesourcery.com>
7594 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7595 * soft-fp/addsf3.c: Likewise.
7596 * soft-fp/addtf3.c: Likewise.
7597 * soft-fp/divdf3.c: Likewise.
7598 * soft-fp/divsf3.c: Likewise.
7599 * soft-fp/divtf3.c: Likewise.
7600 * soft-fp/double.h: Likewise.
7601 * soft-fp/eqdf2.c: Likewise.
7602 * soft-fp/eqsf2.c: Likewise.
7603 * soft-fp/eqtf2.c: Likewise.
7604 * soft-fp/extenddftf2.c: Likewise.
7605 * soft-fp/extended.h: Likewise.
7606 * soft-fp/extendsfdf2.c: Likewise.
7607 * soft-fp/extendsftf2.c: Likewise.
7608 * soft-fp/extendxftf2.c: Likewise.
7609 * soft-fp/fixdfdi.c: Likewise.
7610 * soft-fp/fixdfsi.c: Likewise.
7611 * soft-fp/fixdfti.c: Likewise.
7612 * soft-fp/fixsfdi.c: Likewise.
7613 * soft-fp/fixsfsi.c: Likewise.
7614 * soft-fp/fixsfti.c: Likewise.
7615 * soft-fp/fixtfdi.c: Likewise.
7616 * soft-fp/fixtfsi.c: Likewise.
7617 * soft-fp/fixtfti.c: Likewise.
7618 * soft-fp/fixunsdfdi.c: Likewise.
7619 * soft-fp/fixunsdfsi.c: Likewise.
7620 * soft-fp/fixunsdfti.c: Likewise.
7621 * soft-fp/fixunssfdi.c: Likewise.
7622 * soft-fp/fixunssfsi.c: Likewise.
7623 * soft-fp/fixunssfti.c: Likewise.
7624 * soft-fp/fixunstfdi.c: Likewise.
7625 * soft-fp/fixunstfsi.c: Likewise.
7626 * soft-fp/fixunstfti.c: Likewise.
7627 * soft-fp/floatdidf.c: Likewise.
7628 * soft-fp/floatdisf.c: Likewise.
7629 * soft-fp/floatditf.c: Likewise.
7630 * soft-fp/floatsidf.c: Likewise.
7631 * soft-fp/floatsisf.c: Likewise.
7632 * soft-fp/floatsitf.c: Likewise.
7633 * soft-fp/floattidf.c: Likewise.
7634 * soft-fp/floattisf.c: Likewise.
7635 * soft-fp/floattitf.c: Likewise.
7636 * soft-fp/floatundidf.c: Likewise.
7637 * soft-fp/floatundisf.c: Likewise.
7638 * soft-fp/floatunsidf.c: Likewise.
7639 * soft-fp/floatunsisf.c: Likewise.
7640 * soft-fp/floatuntidf.c: Likewise.
7641 * soft-fp/floatuntisf.c: Likewise.
7642 * soft-fp/floatuntitf.c: Likewise.
7643 * soft-fp/fmadf4.c: Likewise.
7644 * soft-fp/fmasf4.c: Likewise.
7645 * soft-fp/fmatf4.c: Likewise.
7646 * soft-fp/gedf2.c: Likewise.
7647 * soft-fp/gesf2.c: Likewise.
7648 * soft-fp/getf2.c: Likewise.
7649 * soft-fp/ledf2.c: Likewise.
7650 * soft-fp/lesf2.c: Likewise.
7651 * soft-fp/letf2.c: Likewise.
7652 * soft-fp/muldf3.c: Likewise.
7653 * soft-fp/mulsf3.c: Likewise.
7654 * soft-fp/multf3.c: Likewise.
7655 * soft-fp/negdf2.c: Likewise.
7656 * soft-fp/negsf2.c: Likewise.
7657 * soft-fp/negtf2.c: Likewise.
7658 * soft-fp/op-1.h: Likewise.
7659 * soft-fp/op-2.h: Likewise.
7660 * soft-fp/op-4.h: Likewise.
7661 * soft-fp/op-8.h: Likewise.
7662 * soft-fp/op-common.h: Likewise.
7663 * soft-fp/quad.h: Likewise.
7664 * soft-fp/single.h: Likewise.
7665 * soft-fp/soft-fp.h: Likewise.
7666 * soft-fp/sqrtdf2.c: Likewise.
7667 * soft-fp/sqrtsf2.c: Likewise.
7668 * soft-fp/sqrttf2.c: Likewise.
7669 * soft-fp/subdf3.c: Likewise.
7670 * soft-fp/subsf3.c: Likewise.
7671 * soft-fp/subtf3.c: Likewise.
7672 * soft-fp/truncdfsf2.c: Likewise.
7673 * soft-fp/trunctfdf2.c: Likewise.
7674 * soft-fp/trunctfsf2.c: Likewise.
7675 * soft-fp/trunctfxf2.c: Likewise.
7676 * soft-fp/unorddf2.c: Likewise.
7677 * soft-fp/unordsf2.c: Likewise.
7678 * soft-fp/unordtf2.c: Likewise.
7680 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
7683 * misc/error.c (error_tail): Fix possible buffer overflow.
7685 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7688 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7691 2013-10-14 P. J. McDermott <pj@pehjota.net>
7694 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7695 testing pipefail option.
7697 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7699 * soft-fp/double.h: Indent preprocessor directives inside #if.
7700 * soft-fp/extended.h: Likewise.
7701 * soft-fp/op-2.h: Likewise.
7702 * soft-fp/op-4.h: Likewise.
7703 * soft-fp/op-common.h: Likewise.
7704 * soft-fp/quad.h: Likewise.
7705 * soft-fp/single.h: Likewise.
7706 * soft-fp/soft-fp.h: Likewise.
7708 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7710 * iconv/iconv_prog.c: Fix typos.
7711 * stdio-common/psiginfo-data.h: Likewise.
7713 2013-10-12 Reuben Thomas <rrt@sc3d.org>
7716 * locale/setlocale.c: Fix typo.
7718 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7721 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7722 signaling NaN arguments.
7723 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7724 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7727 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7729 * soft-fp/gesf2.c (__gesf2): Likewise.
7730 * soft-fp/getf2.c (__getf2): Likewise.
7731 * soft-fp/ledf2.c (__ledf2): Likewise.
7732 * soft-fp/lesf2.c (__lesf2): Likewise.
7733 * soft-fp/letf2.c (__letf2): Likewise.
7735 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7736 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7737 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7738 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7739 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7740 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7741 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7742 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7743 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7744 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7745 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7746 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7747 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7748 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7749 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7750 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7751 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7752 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7753 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7754 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7755 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7756 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7757 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7758 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7759 * soft-fp/floattidf.c (__floattidf): Likewise.
7760 * soft-fp/floattisf.c (__floattisf): Likewise.
7761 * soft-fp/floattitf.c (__floattitf): Likewise.
7762 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7763 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7764 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7765 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7766 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7767 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7768 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7769 * soft-fp/gesf2.c (__gesf2): Likewise.
7770 * soft-fp/getf2.c (__getf2): Likewise.
7771 * soft-fp/ledf2.c (__ledf2): Likewise.
7772 * soft-fp/lesf2.c (__lesf2): Likewise.
7773 * soft-fp/letf2.c (__letf2): Likewise.
7775 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7776 Undefine and redefine.
7777 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7778 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7779 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7780 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7781 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7782 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7783 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7784 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7785 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7786 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7787 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7788 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7789 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7790 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7791 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7794 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7795 without decrementing exponent if mantissa >= that for the
7797 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7798 denominator, not >. Decrement exponent in < case instead of
7799 incrementing in >= case.
7800 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7801 without decrementing exponent if mantissa >= that for the
7804 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7805 computing saturated result for unsigned overflow.
7807 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7808 Jeff Law <law@redhat.com>
7810 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7811 (atan2Mp): Add systemtap probe marker.
7812 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7813 (__ieee754_log): Add systemtap probe marker.
7814 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7815 (atanMp): Add systemtap probe marker.
7816 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7817 (tanMp): Add systemtap probe marker.
7818 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7819 (__slowexp): Add systemtap probe marker.
7820 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7821 (__slowpow): Add systemtap probe marker.
7822 * manual/probes.texi: Document probes.
7824 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
7827 * libio/fileops.c (_IO_new_file_write): Return count of bytes
7829 (_IO_new_file_xsputn): Don't return EOF if nothing has been
7831 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7832 written to buffer but not flushed.
7833 * libio/iofwrite_u.c: Likewise.
7834 * libio/iopadn.c: Return bytes returned even if EOF was
7836 * libio/iowpadn.c: Likewise.
7837 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7838 if _IO_padn does not write the whole buffer.
7839 [!COMPILE_WPRINTF] (PAD): Likewise.
7841 2013-10-10 David S. Miller <davem@davemloft.net>
7843 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7846 2013-10-10 Joseph Myers <joseph@codesourcery.com>
7848 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
7849 instead of FSF address.
7850 * soft-fp/fixdfti.c: Likewise.
7851 * soft-fp/fixsfti.c: Likewise.
7852 * soft-fp/fixtfti.c: Likewise.
7853 * soft-fp/fixunsdfti.c: Likewise.
7854 * soft-fp/fixunssfti.c: Likewise.
7855 * soft-fp/fixunstfti.c: Likewise.
7856 * soft-fp/floattidf.c: Likewise.
7857 * soft-fp/floattisf.c: Likewise.
7858 * soft-fp/floattitf.c: Likewise.
7859 * soft-fp/floatuntidf.c: Likewise.
7860 * soft-fp/floatuntisf.c: Likewise.
7861 * soft-fp/floatuntitf.c: Likewise.
7862 * soft-fp/trunctfxf2.c: Likewise.
7864 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
7865 * soft-fp/fixdfti.c: Likewise.
7866 * soft-fp/fixsfti.c: Likewise.
7867 * soft-fp/fixtfti.c: Likewise.
7868 * soft-fp/fixunsdfti.c: Likewise.
7869 * soft-fp/fixunssfti.c: Likewise.
7870 * soft-fp/fixunstfti.c: Likewise.
7871 * soft-fp/floattidf.c: Likewise.
7872 * soft-fp/floattisf.c: Likewise.
7873 * soft-fp/floattitf.c: Likewise.
7874 * soft-fp/floatuntidf.c: Likewise.
7875 * soft-fp/floatuntisf.c: Likewise.
7876 * soft-fp/floatuntitf.c: Likewise.
7877 * soft-fp/trunctfxf2.c: Likewise.
7879 2013-10-10 David S. Miller <davem@davemloft.net>
7881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7883 2013-10-10 Joseph Myers <joseph@codsourcery.com>
7885 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7886 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7887 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7888 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7889 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7890 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7891 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7894 for NaNs before doing comparisons on argument.
7895 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7898 2013-10-10 Will Newton <will.newton@linaro.org>
7900 * malloc/hooks.c (memalign_check): Ensure the value of bytes
7901 passed to _int_memalign does not overflow.
7903 2013-10-10 Torvald Riegel <triegel@redhat.com>
7905 * scripts/bench.pl: Add include-sources directive.
7906 * benchtests/README: Update documentation.
7908 2013-10-10 Joseph Myers <joseph@codesourcery.com>
7910 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7911 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7912 instead of FP_INIT_ROUNDMODE.
7913 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7914 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7917 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
7918 copy class of input value.
7919 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
7920 not handle exceptions.
7921 * soft-fp/negsf2.c (__negsf2): Likewise.
7922 * soft-fp/negtf2.c (__negtf2): Likewise.
7923 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7925 2013-10-09 Joseph Myers <joseph@codesourcery.com>
7927 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7928 semicolon. From Linux kernel.
7930 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
7932 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7934 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
7937 * manual/socket.texi: Added statement about buffer
7938 for gethostbyname2_r.
7940 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
7942 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7943 Use .p2align directive instead, throughout.
7944 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7945 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7946 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7947 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7948 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7949 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7950 * sysdeps/x86_64/strchr.S: Likewise.
7951 * sysdeps/x86_64/strrchr.S: Likewise.
7953 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7955 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7957 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7959 * sysdeps/generic/math_private.h (__mpsin1): Remove
7961 (__mpcos1): Likewise.
7962 (__mpsin): New argument __range_reduce.
7963 (__mpcos): Likewise.
7964 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7965 (slow): Use __mpsin and __mpcos.
7972 (bsloww1): Likewise.
7973 (bsloww2): Likewise.
7976 (csloww1): Likewise.
7977 (csloww2): Likewise.
7978 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
7979 range_reduce. Merge in __mpsin1.
7980 (__mpcos): Likewise.
7982 (__mpcos1): Likewise.
7984 2013-10-07 Joseph Myers <joseph@codesourcery.com>
7986 * locale/loadlocale.c (_nl_intern_locale_data): Use
7988 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
7989 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
7990 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
7991 obstack data is appropriately aligned.
7992 (obstack_int32_grow_fast): Likewise.
7993 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
7994 * locale/programs/locfile.c (add_locale_uint32): Likewise.
7995 (add_locale_uint32_array): Likewise.
7997 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7999 * benchtests/Makefile: Remove ARGLIST and RET variables.
8000 ($(objpfx)bench-%.c): Pass only function name to the script.
8001 * benchtests/README: Update documentation.
8002 * benchtests/acos-inputs: Add new directives.
8003 * benchtests/acosh-inputs: Likewise.
8004 * benchtests/asin-inputs: Likewise.
8005 * benchtests/asinh-inputs: Likewise.
8006 * benchtests/atan-inputs: Likewise.
8007 * benchtests/atanh-inputs: Likewise.
8008 * benchtests/cos-inputs: Likewise.
8009 * benchtests/cosh-inputs: Likewise.
8010 * benchtests/exp-inputs: Likewise.
8011 * benchtests/log-inputs: Likewise.
8012 * benchtests/pow-inputs: Likewise.
8013 * benchtests/rint-inputs: Likewise.
8014 * benchtests/sin-inputs: Likewise.
8015 * benchtests/sinh-inputs: Likewise.
8016 * benchtests/tan-inputs: Likewise.
8017 * benchtests/tanh-inputs: Likewise.
8018 * scripts/bench.pl: Add support for new directives.
8020 2013-10-07 Alan Modra <amodra@gmail.com>
8022 * README: Fix careless merge.
8024 2013-10-05 Alan Modra <amodra@gmail.com>
8026 * NEWS: Mention powerpc64le support and bugs fixed.
8027 * README: Both big-endian and little-endian powerpc64 supported.
8029 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8031 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8032 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8033 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8034 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8036 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8038 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8041 2013-10-04 Joseph Myers <joseph@codesourcery.com>
8043 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8044 Move -mhard-float appending from
8045 ports/sysdeps/powerpc/powerpc32/Makefile.
8046 [$(with-fp) = yes] (ASFLAGS): Likewise.
8047 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8048 * sysdeps/powerpc/nofpu: Move directory from
8049 ports/sysdeps/powerpc/nofpu.
8050 * sysdeps/powerpc/soft-fp: Move directory from
8051 ports/sysdeps/powerpc/soft-fp.
8052 * sysdeps/powerpc/powerpc32/405: Move directory from
8053 ports/sysdeps/powerpc/powerpc32/405.
8054 * sysdeps/powerpc/powerpc32/440: Move directory from
8055 ports/sysdeps/powerpc/powerpc32/440.
8056 * sysdeps/powerpc/powerpc32/464: Move directory from
8057 ports/sysdeps/powerpc/powerpc32/464.
8058 * sysdeps/powerpc/powerpc32/476: Move directory from
8059 ports/sysdeps/powerpc/powerpc32/476.
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8061 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8063 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8065 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8067 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8069 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8070 * README: Update for powerpc-*-linux-gnu software floating point
8073 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8074 case to powerpc/powerpc32*.
8075 * sysdeps/unix/sysv/linux/configure: Regenerated.
8077 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8078 (_FPU_MASK_OM): Define as 0x04.
8079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8087 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8090 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8093 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8094 and setcontext_e500.
8096 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8098 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8100 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8102 * manual/threads.texi (Default Thread Attributes): Fix typo.
8104 2013-10-04 Will Newton <will.newton@linaro.org>
8106 * malloc/Makefile: Add tst-memalign.
8107 * malloc/tst-memalign.c: New file.
8109 * malloc/tst-posix_memalign.c: Add comments.
8110 (do_test): Add comments and call free on all potentially
8111 allocated pointers. Add space after cast.
8113 * malloc/tst-pvalloc.c: Add comments.
8114 (do_test): Add comments and call free on all potentially
8115 allocated pointers. Remove duplicate check for NULL pointer.
8116 Add space after cast.
8118 * malloc/tst-valloc.c: Add comments.
8119 (do_test): Add comments and call free on all potentially
8120 allocated pointers. Remove duplicate check for NULL pointer.
8121 Add space after cast.
8123 2013-10-04 Alan Modra <amodra@gmail.com>
8125 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8126 Use stdint types in rather than __attribute__((mode())).
8127 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8129 2013-10-04 Alan Modra <amodra@gmail.com>
8131 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8132 Correct handling of unaligned relocs for little-endian.
8133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8135 2013-10-04 Alan Modra <amodra@gmail.com>
8137 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8138 * configure: Regenerate.
8139 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8140 * shlib-versions: Likewise.
8142 2013-10-04 Alan Modra <amodra@gmail.com>
8144 * string/tester.c (test_memrchr): Increment reported test cycle.
8146 2013-10-04 Alan Modra <amodra@gmail.com>
8148 * string/test-memcpy.c (do_one_test): When reporting errors, print
8149 string address and don't overrun end of string.
8151 2013-10-04 Alan Modra <amodra@gmail.com>
8153 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8154 insrdi. Make better use of reg selection to speed exit slightly.
8155 Schedule entry path a little better. Remove useless "are we done"
8156 checks on entry to main loop. Handle wrapping around zero address.
8157 Correct main loop count. Handle single left-over word from main
8158 loop inline rather than by using loop_small. Remove extra word
8159 case in loop_small caused by wrong loop count. Add little-endian
8161 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8162 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8164 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8165 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8166 support. Avoid rlwimi.
8167 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8169 2013-10-04 Alan Modra <amodra@gmail.com>
8171 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8173 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8174 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8175 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8176 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8177 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8178 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8180 2013-10-04 Alan Modra <amodra@gmail.com>
8182 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8183 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8184 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8185 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8186 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8187 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8188 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8189 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8190 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8191 use of regs. Use power7 mtocrf. Tidy function tails.
8193 2013-10-04 Alan Modra <amodra@gmail.com>
8195 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8196 Formatting. Consistently use rXXX register defines or rN defines.
8197 Use early exit labels that avoid restoring unused non-volatile regs.
8198 Make cr field use more consistent with rWORDn compares. Rename
8199 regs used as shift registers for unaligned loop, using rN defines
8200 for short lifetime/multiple use regs.
8201 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8202 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8203 addi 1,1,64 to pop stack frame. Simplify return value code.
8204 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8206 2013-10-04 Alan Modra <amodra@gmail.com>
8208 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8209 support. Correct typos, formatting. Optimize tail. Use insrdi
8211 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8212 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8213 little-endian support. Correct typos.
8214 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8216 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8217 in loop and entry code to keep "and." results.
8218 (strchr): Add little-endian support. Comment. Move cntlzd
8220 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8222 2013-10-04 Alan Modra <amodra@gmail.com>
8224 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8225 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8226 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8227 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8229 2013-10-04 Alan Modra <amodra@gmail.com>
8231 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8232 (rTMP): Define as r11.
8233 (strcmp): Add little-endian support. Optimise tail.
8234 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8235 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8236 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8237 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8238 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8239 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8242 2013-10-04 Alan Modra <amodra@gmail.com>
8244 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8245 little-endian support. Remove unnecessary "are we done" tests.
8246 Handle "s" wrapping around zero and extremely large "size".
8247 Correct main loop count. Handle single left-over word from main
8248 loop inline rather than by using small_loop. Correct comments.
8249 Delete "zero" tail, use "end_max" instead.
8250 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8252 2013-10-04 Alan Modra <amodra@gmail.com>
8254 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8255 support. Don't branch over align.
8256 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8257 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8258 support. Rearrange tmp reg use to suit. Comment.
8259 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8261 2013-10-04 Alan Modra <amodra@gmail.com>
8263 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8265 2013-10-04 Alan Modra <amodra@gmail.com>
8267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8268 conditional form of branch and link when obtaining pc.
8269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8271 2013-10-04 Alan Modra <amodra@gmail.com>
8273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8278 2013-10-04 Alan Modra <amodra@gmail.com>
8280 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8281 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8282 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8283 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8284 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8285 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8286 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8287 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8288 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8289 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8291 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8292 Alistair Popple <alistair@ozlabs.au.ibm.com>
8293 Alan Modra <amodra@gmail.com>
8296 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8297 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8298 _dl_hwcap access for little-endian.
8299 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8300 destroy vmx regs when saving unaligned.
8301 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8302 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8303 destroy vmx regs when saving unaligned.
8305 2013-10-04 Alan Modra <amodra@gmail.com>
8307 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8308 Don't use a union to pack hi/low value.
8310 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8312 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8314 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8315 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8316 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8317 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8318 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8320 2013-10-04 Alan Modra <amodra@gmail.com>
8322 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8323 constants to usual value for .cst8 section, and remove redundant
8325 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8326 constant for 0x1p52. Load little-endian words of double from
8327 correct stack offsets.
8329 2013-10-04 Alan Modra <amodra@gmail.com>
8331 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8332 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8333 words of double from correct stack offsets.
8334 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8335 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8336 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8339 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8340 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8341 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8342 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8343 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8344 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8345 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8346 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8347 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8348 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8349 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8350 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8352 2013-10-04 Alan Modra <amodra@gmail.com>
8354 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8355 64-bit int/double union.
8356 (_FPU_SETCW): Likewise.
8357 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8358 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8360 2013-10-04 Alan Modra <amodra@gmail.com>
8362 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8363 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8365 2013-10-04 Alan Modra <amodra@gmail.com>
8367 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8368 use vector int constants.
8369 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8371 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8373 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8374 array with long long.
8375 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8376 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8377 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8378 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8379 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8380 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8381 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8382 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8383 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8384 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8385 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8386 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8387 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8389 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8391 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8392 (__signbit): Likewise. Correct for little-endian.
8393 (__signbitl): Call __signbit.
8394 (lrint): Correct for little-endian.
8395 (lrintf): Call lrint.
8397 2013-10-04 Alan Modra <amodra@gmail.com>
8399 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8400 union 32-bit int array member with 64-bit int array.
8401 (t515, tm256): Double rather than long double.
8402 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8404 2013-10-04 Alan Modra <amodra@gmail.com>
8406 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8408 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8409 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8410 version of math_ldbl.h.
8412 2013-10-04 Alan Modra <amodra@gmail.com>
8414 [BZ #15734], [BZ #15735]
8415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8416 all uses of ieee875 long double macros and unions. Simplify test
8417 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8418 ldbl_extract_mantissa value for ix,iy exponents. Properly
8419 normalize after ldbl_extract_mantissa, and don't add hidden bit
8420 already handled. Don't treat low word of ieee854 mantissa like
8421 low word of IBM long double and mask off bit when testing for
8423 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8424 all uses of ieee875 long double macros and unions. Simplify tests
8425 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8426 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8427 two1022, instead use their values. Recognise that tests for large
8428 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8429 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8430 Rewrite all uses of ieee875 long double macros and unions. Simplify
8431 test for 0.0L and nan. Correct negation.
8432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8433 ieee875 long double macros and unions. Correct output for large
8434 magnitude x. Correct absolute value calculation.
8435 (__erfcl): Likewise.
8436 * math/libm-test.inc: Add tests for errors discovered in IBM long
8437 double versions of fmodl, remainderl, erfl and erfcl.
8439 2013-10-04 Alan Modra <amodra@gmail.com>
8441 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8442 all uses of ieee854 long double macros and unions. Simplify tests
8443 for long doubles that are fully specified by the high double.
8444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8446 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8447 Remove dead code too.
8448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8449 (__ieee754_ynl): Likewise.
8450 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8452 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8453 Remove dead code too.
8454 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8455 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8457 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8459 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8461 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8462 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8464 Comment on variable precision.
8465 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8466 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8468 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8469 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8470 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8471 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8472 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8474 2013-10-04 Alan Modra <amodra@gmail.com>
8476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8477 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8478 all uses of ieee854 long double macros and unions.
8479 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8480 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8481 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8482 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8483 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8484 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8488 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8489 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8490 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8491 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8492 Simplify sign and nan test too.
8493 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8494 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8495 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8496 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8498 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8499 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8504 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8505 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8508 2013-10-04 Alan Modra <amodra@gmail.com>
8510 * stdio-common/printf_size.c (__printf_size): Don't use
8511 union ieee854_long_double in fpnum union.
8512 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8513 signbit macro to retrieve sign from long double.
8514 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8515 retrieve sign from long double.
8516 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8517 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8518 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8519 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8520 * math/test-misc.c (main): Don't use union ieee854_long_double.
8522 2013-10-04 Alan Modra <amodra@gmail.com>
8525 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8526 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8527 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8528 calculation. Remove unnecessary test for denormal exponent.
8529 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8530 Correct handling of denormals. Avoid undefined shift behaviour.
8531 Correct normalisation of low mantissa when low double is denormal.
8532 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8533 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8534 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8535 Correct normalisation of low mantissa. Test for overflow of high
8536 mantissa and normalise.
8537 (ldbl_nearbyint): Use more readable constant for two52.
8538 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8539 (__mpn_construct_long_double): Fix test for overflow of high
8540 mantissa and correct normalisation. Avoid undefined shift.
8542 2013-10-04 Alan Modra <amodra@gmail.com>
8544 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8545 (union ibm_extended_long_double): Define as an array of ieee754_double.
8546 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8547 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8548 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8549 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8550 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8552 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8553 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8554 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8558 2013-10-03 Joseph Myers <joseph@codesourcery.com>
8560 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8561 page size instead of calling getpagesize.
8563 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8564 (LOCFILE_ALIGN_MASK): Likewise.
8565 (LOCFILE_ALIGN_UP): Likewise.
8566 (LOCFILE_ALIGNED_P): Likewise.
8567 * locale/programs/ld-collate.c (collate_output): Use the new
8568 macros instead of __alignof__ (int32_t).
8569 * locale/weight.h (findidx): Likewise.
8571 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
8574 * manual/string.texi: Fix strncat and wcsncat.
8576 2013-10-03 Brooks Moses <bmoses@google.com>
8579 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8580 * Makerules: ...here, and adjust associated comments.
8582 2013-10-02 Will Newton <will.newton@linaro.org>
8584 * malloc/Makefile: Add tst-pvalloc.
8585 * malloc/tst-pvalloc.c: New file.
8587 2013-10-02 Will Newton <will.newton@linaro.org>
8589 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8590 improve test coverage.
8592 2013-10-02 Will Newton <will.newton@linaro.org>
8594 * malloc/Makefile: Add tst-posix_memalign.
8595 * malloc/tst-posix_memalign.c: New file.
8597 2013-10-01 Eric Blake <eblake@redhat.com>
8599 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8600 Use __THROWNL rather than __THROW on static functions.
8602 2013-09-30 Petr Machata <pmachata@redhat.com>
8604 * elf/elf.h (R_AARCH64_ABS16): New macro.
8605 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8606 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8607 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8608 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8609 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8610 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8611 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8612 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8613 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8614 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8615 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8616 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8617 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8618 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8619 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8620 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8621 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8622 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8623 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8624 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8625 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8626 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8627 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8628 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8629 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8630 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8631 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8632 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8633 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8634 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8635 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8636 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8637 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8638 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8639 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8640 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8641 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8642 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8643 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8644 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8645 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8646 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8647 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8648 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8649 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8650 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8651 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8652 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8653 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8654 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8655 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8656 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8657 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8658 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8659 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8660 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8661 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8662 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8663 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8664 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8665 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8666 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8667 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8668 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8669 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8670 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8671 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8672 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8673 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8674 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8675 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8676 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8677 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8678 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8679 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8680 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8681 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8682 (R_AARCH64_TLSDESC_LDR): Likewise.
8683 (R_AARCH64_TLSDESC_ADD): Likewise.
8684 (R_AARCH64_TLSDESC_CALL): Likewise.
8686 2013-09-30 Andreas Schwab <schwab@suse.de>
8689 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8690 the nss database lookup.
8691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8694 2013-09-28 Mike Frysinger <vapier@gentoo.org>
8696 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8698 2013-09-28 P. J. McDermott <pj@pehjota.net>
8700 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8701 ${Bash-specific parameter/pattern/string} parameter expansion.
8702 * sysdeps/unix/make-syscalls.sh: Likewise.
8704 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8706 * sysdeps/sh/stackguard-macros.h: New file.
8708 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
8710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8711 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8712 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8713 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8714 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8715 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8717 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8719 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8720 Fix thread ID register.
8722 2013-09-25 Joseph Myers <joseph@codesourcery.com>
8724 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8725 [POSIX || UNIX98]: Require rather than permitting all symbols from
8727 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8728 element of struct sched_param.
8729 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8730 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8731 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8732 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8735 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8737 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8738 argument calculation.
8740 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8742 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8744 [POSIX] (pthread_attr_t): Do not require type.
8745 [POSIX] (pthread_cond_t): Likewise.
8746 [POSIX] (pthread_condattr_t): Likewise.
8747 [POSIX] (pthread_key_t): Likewise.
8748 [POSIX] (pthread_mutex_t): Likewise.
8749 [POSIX] (pthread_mutexattr_t): Likewise.
8750 [POSIX] (pthread_once_t): Likewise.
8751 [POSIX] (pthread_t): Likewise.
8752 [POSIX-based standards] (pthread_atfork): Expect function.
8754 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8755 Richard Sandiford <richard@codesourcery.com>
8757 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8758 (swap_endianness_p): New extern variable.
8759 (set_big_endian): New inline function.
8760 (maybe_swap_uint32): Likewise.
8761 (maybe_swap_uint32_array): Likewise.
8762 (maybe_swap_uint32_obstack): Likewise.
8763 * locale/programs/locfile.c: Include <stdbool.h>.
8764 (swap_endianness_p): New variable.
8765 (add_locale_uint32): Call maybe_swap_uint32.
8766 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8767 (write_locale_data): Call maybe_swap_uint32_array.
8768 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8770 (obstack_int32_grow_fast): Likewise.
8771 (output_weightwc): Call maybe_swap_uint32_obstack.
8772 (collate_output): Likewise.
8773 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8774 (OPT_LITTLE_ENDIAN): Likewise.
8775 (options): Add --little-endian and --big-endian options.
8776 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8777 * locale/programs/locarchive.c: Include "locfile.h".
8781 (create_archive): Use the new macros to access fields of
8782 structures directly mapped from or written to locale archives.
8783 (oldlocrecentcmp): Likewise.
8784 (enlarge_archive): Likewise.
8785 (insert_name): Likewise.
8786 (add_alias): Likewise.
8787 (add_locale): Likewise.
8788 (delete_locales_from_archive): Likewise.
8789 (show_archive_content): Likewise.
8790 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
8793 2013-09-24 Roland McGrath <roland@hack.frob.com>
8795 * manual/freemanuals.texi: Updated from (newly) canonical copy at
8796 http://www.gnu.org/doc/freemanuals.texi.
8797 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8799 2013-09-24 Will Newton <will.newton@linaro.org>
8801 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8804 2013-09-23 Joseph Myers <joseph@codesourcery.com>
8806 * locale/hashval.h (compute_hashval): Interpret bytes of key as
8809 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
8811 * manual/threads.texi (POSIX Threads): Fix a typo.
8813 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8816 * string/tst-strcoll-overflow.c: New test case.
8817 * string/Makefile (xtests): Add tst-strcoll-overflow.
8818 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8819 cache if string sizes may cause integer overflow.
8822 * string/strcoll_l.c (coll_seq): New members rule, idx,
8823 save_idx and back_us.
8824 (get_next_seq_nocache): New function.
8825 (do_compare_nocache): New function.
8826 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8829 2013-09-23 Carlos O'Donell <carlos@redhat.com>
8832 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8833 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8834 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8837 * elf/Makefile (tests): Add tst-ptrguard1.
8838 (tests-static): Add tst-ptrguard1-static.
8839 (tst-ptrguard1-ARGS): Define.
8840 (tst-ptrguard1-static-ARGS): Define.
8841 * elf/tst-ptrguard1.c: New file.
8842 * elf/tst-ptrguard1-static.c: New file.
8843 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8844 * sysdeps/i386/stackguard-macros.h: Likewise.
8845 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8846 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8847 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8848 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8849 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8850 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8852 2013-09-23 Hector Marco <hecmargi@upv.es>
8853 Ismael Ripoll <iripoll@disca.upv.es>
8854 Carlos O'Donell <carlos@redhat.com>
8857 * sysdeps/generic/stackguard-macros.h: Define
8858 __pointer_chk_guard_local and POINTER_CHK_GUARD.
8859 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8860 Define __pointer_chk_guard_local.
8861 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8862 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8864 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
8867 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8869 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
8871 * include/string.h (__ffs): Declare as hidden.
8872 * string/ffs.c (__ffs): Define as hidden.
8873 * sysdeps/i386/ffs.c (__ffs): Likewise.
8874 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8875 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8876 * sysdeps/s390/ffs.c (__ffs): Likewise.
8877 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8879 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
8881 * NEWS: Mention malloc probes.
8883 * malloc/arena.c (new_heap): New memory_heap_new probe.
8884 (grow_heap): New memory_heap_more probe.
8885 (shrink_heap): New memory_heap_less probe.
8886 (heap_trim): New memory_heap_free probe.
8887 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8888 (systrim): New memory_sbrk_less probe.
8889 * manual/probes.texi: Document them.
8891 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8892 * manual/probes.texi: Document it.
8894 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8895 (__libc_realloc): Add memory_realloc_retry probe.
8896 (__libc_memalign): Add memory_memalign_retry probe.
8897 (__libc_valloc): Add memory_valloc_retry probe.
8898 (__libc_pvalloc): Add memory_pvalloc_retry probe.
8899 (__libc_calloc): Add memory_calloc_retry probe.
8900 * manual/probes.texi: Document them.
8902 * malloc/arena.c (get_free_list): Add probe
8903 memory_arena_reuse_free_list.
8904 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8905 and memory_arena_reuse.
8906 (arena_get2) [!PER_THREAD]: Likewise.
8907 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8908 memory_arena_reuse_realloc.
8909 * manual/probes.texi: Document them.
8911 * malloc/malloc.c (__libc_free): Add
8912 memory_mallopt_free_dyn_thresholds probe.
8913 (__libc_mallopt): Add multiple memory_mallopt probes.
8914 * manual/probes.texi: Document them.
8916 * malloc/malloc.c: Include stap-probe.h.
8917 (__libc_mallopt): Add memory_mallopt probe.
8918 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8919 * manual/probes.texi: New.
8920 * manual/Makefile (chapters): Add probes.
8921 * manual/threads.texi: Set next node.
8923 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
8926 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8927 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8928 Add `Chinese' to `nan' entry name.
8930 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8932 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8933 (POLYNOMIAL): Likewise.
8934 (TAYLOR_SINCOS): Likewise.
8935 (TAYLOR_SLOW): Likewise.
8936 (__sin): Use TAYLOR_SINCOS.
8938 (slow): Use TAYLOR_SLOW.
8943 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8945 * stdlib/strtod_l.c: Fix buffer overrun.
8947 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8949 * benchtests/Makefile (bench): Add sincos.
8950 * benchtests/bench-sincos.c: New file.
8952 * math/libm-test.inc (cos_test_data): New test inputs.
8953 (sin_test_data): Likewise.
8955 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8963 (bsloww1): Likewise.
8964 (bsloww2): Likewise.
8966 (csloww1): Likewise.
8967 (csloww2): Likewise.
8969 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8974 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
8978 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
8980 * config.h.in (HAVE_MIPS_NAN2008): New macro.
8981 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
8982 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
8983 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
8984 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
8985 * elf/cache.c (print_entry): Handle the new cache flags.
8987 2013-09-18 Joseph Myers <joseph@codesourcery.com>
8988 Aldy Hernandez <aldyh@redhat.com>
8990 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
8991 Change condition to [_SOFT_FLOAT].
8992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
8993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
8994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
8995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
8996 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
8997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
8998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
8999 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9001 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9002 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9003 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9004 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9006 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9007 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9010 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9012 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9013 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9014 (__longjmp): Use LOAD_GP to load saved GPRs.
9015 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9016 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9017 (__sigsetjmp): Use SAVE_GP to save GPRs.
9019 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9020 Do not append -msoft-float.
9021 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9023 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9025 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9027 2013-09-17 Joseph Myers <joseph@codesourcery.com>
9030 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9031 (_FPU_GETCW): Use initial "__" on variable and field names but not
9032 on macro parameter name.
9033 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9034 parentheses around reference to macro parameter.
9036 2013-09-13 Richard Sandiford <richard@codesourcery.com>
9038 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9040 (ctype_startup): Use uint32_t in cast and sizeof for
9043 2013-09-11 Jia Liu <proljc@gmail.com>
9045 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9047 [__FreeBSD__]: Likewise.
9049 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9052 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9053 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9054 (strchr): Remove __strchr_sse42 ifunc selection.
9055 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9056 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9058 2013-09-11 Will Newton <will.newton@linaro.org>
9060 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9061 parameter to RES. Remove hardcoded 1000 value.
9062 * benchtests/bench-skeleton.c (main): Pass RES parameter
9063 to TIMING_INIT and multiply result by 1000.
9065 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9069 2013-09-11 Andreas Schwab <schwab@suse.de>
9071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9073 (O_TMPFILE) [__USE_GNU]: Define.
9074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9077 2013-09-11 Will Newton <will.newton@linaro.org>
9080 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9083 2013-09-11 Will Newton <will.newton@linaro.org>
9086 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9089 2013-09-11 Will Newton <will.newton@linaro.org>
9092 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9095 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9097 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9098 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9099 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9100 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9101 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9103 2013-09-10 Allan McRae <allan@archlinux.org>
9106 * manual/arith.texi (Parsing of Floats): Clarify
9110 * manual/install.texi (Running make install): Mention
9112 * INSTALL: Regenerated.
9114 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9116 * csu/init-first.c (_init): Remove the !SHARED condition around
9117 FPU control word initialization.
9118 * elf/dl-support.c (_dl_fpu_control): New variable.
9119 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9120 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9121 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9122 * math/test-fpucw-static.c: New file.
9123 * math/test-fpucw-ieee.c: New file.
9124 * math/test-fpucw-ieee-static.c: New file.
9125 * math/Makefile (tests): Add `test-fpucw-ieee' and
9127 (tests-static): New variable.
9128 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9130 [($(build-shared),yes)]
9131 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9133 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9136 2013-09-09 Allan McRae <allan@archlinux.org>
9139 * manual/string.texi (Collation Functions): Fix typo in
9141 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9144 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9147 * libio/memstream.c (open_memstream): Fix memory leak.
9148 * libio/wmemstream.c (open_wmemstream): Likewise.
9151 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9153 2013-09-09 Will Newton <will.newton@linaro.org>
9155 * malloc/Makefile: Add tst-realloc to tests.
9156 * malloc/tst-realloc.c: New file.
9158 2013-09-09 Allan McRae <allan@archlinux.org>
9161 * COPYING: Update from GNU website to fix FSF address.
9162 * COPYING.LIB: Likewise.
9164 2013-09-06 David S. Miller <davem@davemloft.net>
9166 * po/zh_TW.po: Update Chinese (traditional) translation from
9167 translation project.
9169 2013-09-06 Richard Sandiford <richard@codesourcery.com>
9170 Joseph Myers <joseph@codesourcery.com>
9172 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9174 (obstack_chunk_alloc): New macro.
9175 (obstack_chunk_free): Likewise.
9176 (record_offset): New function.
9177 (init_locale_data): Likewise.
9178 (align_locale_data): Likewise.
9179 (add_locale_empty): Likewise.
9180 (add_locale_raw_data): Likewise.
9181 (add_locale_raw_obstack): Likewise.
9182 (add_locale_string): Likewise.
9183 (add_locale_wstring): Likewise.
9184 (add_locale_uint32): Likewise.
9185 (add_locale_uint32_array): Likewise.
9186 (add_locale_char): Likewise.
9187 (start_locale_structure): Likewise.
9188 (end_locale_structure): Likewise.
9189 (start_locale_prelude): Likewise.
9190 (end_locale_prelude): Likewise.
9191 (write_locale_data): Take locale_file structure rather than an
9193 * locale/programs/locfile.h: Include "obstack.h".
9194 (struct locale_file): Change to store locale file contents instead
9196 (init_locale_data): New prototype.
9197 (align_locale_data): Likewise.
9198 (add_locale_empty): Likewise.
9199 (add_locale_raw_data): Likewise.
9200 (add_locale_raw_obstack): Likewise.
9201 (add_locale_string): Likewise.
9202 (add_locale_wstring): Likewise.
9203 (add_locale_uint32): Likewise.
9204 (add_locale_uint32_array): Likewise.
9205 (add_locale_char): Likewise.
9206 (start_locale_structure): Likewise.
9207 (end_locale_structure): Likewise.
9208 (start_locale_prelude): Likewise.
9209 (end_locale_prelude): Likewise.
9210 (write_locale_data): Update prototype.
9211 * locale/programs/3level.h (struct TABLE): Remove result field.
9212 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9213 Use new locale_file interface.
9214 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9215 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9216 * locale/programs/ld-address.c (address_output): Use new
9217 locale_file interface.
9218 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9220 (collate_finish): Don't call collseq_table_finalize.
9221 (collate_output): Use new locale_file interface.
9222 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9224 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9225 (TABLE): Move defines earlier in file.
9226 (ELEMENT): Likewise.
9227 (DEFAULT): Likewise.
9228 (wctrans_table_add): Move macro and inline function earlier in
9230 (struct wctype_table): Move type earlier in file.
9231 (add_locale_wctype_table): New static prototype.
9232 (struct locale_ctype_t): Use logical types instead of struct iovec
9233 pointers for members.
9234 (ctype_output): Use new locale_file interface.
9235 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9236 new locale_file interface.
9237 (allocate_arrays): Update for use of new locale_file interface.
9238 * locale/programs/ld-identification.c (identification_output): Use
9239 new locale_file interface.
9240 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9241 * locale/programs/ld-messages.c (messages_output): Likewise.
9242 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9243 * locale/programs/ld-name.c (name_output): Likewise.
9244 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9245 * locale/programs/ld-paper.c (paper_output): Likewise.
9246 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9247 * locale/programs/ld-time.c (time_output): Likewise.
9249 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9251 * benchtests/Makefile: Add memrchr benchmark.
9252 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9253 benchmark as memrchr.
9254 * benchtests/bench-memrchr-ifunc.c: New file.
9255 * benchtests/bench-memrchr.c: New file.
9257 2013-09-06 Will Newton <will.newton@linaro.org>
9259 * benchtests/Makefile (string-bench): Add memcpy.
9261 2013-09-05 Carlos O'Donell <carlos@redhat.com>
9262 Cong Wang <amwang@redhat.com>
9265 * sysdeps/unix/sysv/linux/bits/in.h
9266 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9267 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9268 before __USE_KERNEL_IPV6_DEFS uses.
9269 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9271 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9272 sockaddr_in6, or ipv6_mreq.
9274 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9276 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9277 memory access for final bytes in some large inputs.
9278 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9280 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9282 * string/test-memrchr.c: New file.
9283 * string/test-memrchr-ifunc.c: New file.
9284 * string/Makefile: Add new memrchr testcase.
9286 2013-09-05 Mike Frysinger <vapier@gentoo.org>
9288 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9289 fanotify_init returns EPERM.
9291 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9293 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9295 (top level): Treat second token from macro or constant entries for
9296 allowed headers as allowed.
9297 * include/complex.h: Condition internal declarations on
9299 * include/fenv.h: Condition include of <stdbool.h> and internal
9300 declarations on [!_ISOMAC].
9302 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9305 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9307 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9309 * configure.in (--enable-versioning): Remove configure option.
9310 (libc_cv_asm_symver_directive): Remove configure test.
9311 (libc_cv_ld_version_script_option): Likewise.
9312 (VERSIONING): Remove variable and AC_SUBST.
9313 (DO_VERSIONING): Remove AC_DEFINE.
9314 * configure: Regenerated.
9315 * config.h.in (DO_VERSIONING): Remove macro.
9316 * Makerules [$(versioning) = yes]: Change conditionals to
9317 [$(build-shared) = yes].
9318 * config.make.in (versioning): Remove variable.
9319 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9320 [$(build-shared) = yes].
9321 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9322 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9323 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9324 [$(build-shared) = yes].
9325 * extra-lib.mk [$(versioning) = yes]: Likewise.
9326 * hurd/Makefile [$(versioning) = yes]: Likewise.
9327 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9329 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9331 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9332 [SHARED && !NO_HIDDEN].
9333 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9335 [SHARED && DO_VERSIONING]: Likewise..
9336 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9337 [$(build-shared) = yes].
9338 * manual/install.texi (--disable-versioning): Remove
9340 * INSTALL: Regenerated.
9341 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9343 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9344 [$(build-shared) = yes].
9345 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9346 * sysdeps/i386/i686/multiarch/strstr-c.c
9347 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9348 [SHARED && !NO_HIDDEN].
9349 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9350 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9351 * sysdeps/powerpc/powerpc32/dl-machine.c
9352 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9353 * sysdeps/powerpc/powerpc32/sysdep.h
9354 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9355 to [SHARED && PIC && !NO_HIDDEN].
9356 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9357 conditional to [SHARED].
9359 2013-09-04 Will Newton <will.newton@linaro.org>
9361 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9362 * benchtests/bench-string.h: Include bench-timing.h instead
9363 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9364 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9365 call to HP_TIMING_DIFF_INIT.
9366 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9367 instead of hp-timing.h macros.
9368 * benchtests/bench-memchr.c: Likewise.
9369 * benchtests/bench-memcmp.c: Likewise.
9370 * benchtests/bench-memcpy.c: Likewise.
9371 * benchtests/bench-memmem.c: Likewise.
9372 * benchtests/bench-memmove.c: Likewise.
9373 * benchtests/bench-memset.c: Likewise.
9374 * benchtests/bench-rawmemchr.c: Likewise.
9375 * benchtests/bench-strcasecmp.c: Likewise.
9376 * benchtests/bench-strcasestr.c: Likewise.
9377 * benchtests/bench-strcat.c: Likewise.
9378 * benchtests/bench-strchr.c: Likewise.
9379 * benchtests/bench-strcmp.c: Likewise.
9380 * benchtests/bench-strcpy.c: Likewise.
9381 * benchtests/bench-strcpy_chk.c: Likewise.
9382 * benchtests/bench-strlen.c: Likewise.
9383 * benchtests/bench-strncasecmp.c: Likewise.
9384 * benchtests/bench-strncat.c: Likewise.
9385 * benchtests/bench-strncmp.c: Likewise.
9386 * benchtests/bench-strncpy.c: Likewise.
9387 * benchtests/bench-strnlen.c: Likewise.
9388 * benchtests/bench-strpbrk.c: Likewise.
9389 * benchtests/bench-strrchr.c: Likewise.
9390 * benchtests/bench-strspn.c: Likewise.
9391 * benchtests/bench-strstr.c: Likewise.
9393 2013-09-04 Will Newton <will.newton@linaro.org>
9395 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9397 2013-09-03 Joseph Myers <joseph@codesourcery.com>
9400 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9401 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9402 * math/libm-test.inc (lgamma_test_data): Add more tests.
9403 * sysdeps/i386/fpu/libm-test-ulps: Update.
9404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9406 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
9408 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9412 Add strcmp-sse2-unaligned
9413 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9415 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9417 * Versions.def (libc): Add GLIBC_2.19.
9419 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9421 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9422 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9424 2013-09-02 Joseph Myers <joseph@codesourcery.com>
9427 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9428 intermediate calculations in recurrence.
9429 (__ieee754_ynf): Likewise.
9430 * math/libm-test.inc (jn_test_data): Do not allow spurious
9431 underflow exception. Add more tests.
9432 (yn_test_data): Add more tests.
9433 * sysdeps/i386/fpu/libm-test-ulps: Update.
9434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9436 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
9438 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9440 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9442 * csu/init-first.c: Fix then/than typos.
9443 * locale/programs/ld-collate.c: Likewise.
9444 * locale/programs/linereader.h: Likewise.
9445 * manual/charset.texi: Likewise.
9446 * manual/filesys.texi: Likewise.
9447 * manual/stdio.texi: Likewise.
9448 * manual/string.texi: Likewise.
9449 * stdlib/fmtmsg.c: Likewise.
9450 * sysdeps/i386/stpncpy.S: Likewise.
9451 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9452 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9453 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9454 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9456 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9458 * elf/dl-open.c: Fix typos.
9459 * iconvdata/gbbig5.c: Likewise.
9460 * iconvdata/iso-2022-jp.c: Likewise.
9461 * iconv/gconv_int.h: Likewise.
9462 * iconv/loop.c: Likewise.
9463 * nis/rpcsvc/nis.h: Likewise.
9464 * resolv/ns_name.c: Likewise.
9465 * stdio-common/vfscanf.c: Likewise.
9466 * streams/stropts.h: Likewise.
9467 * sunrpc/rpc_thread.c: Likewise.
9468 * sysdeps/i386/strpbrk.S: Likewise.
9469 * sysdeps/ieee754/k_standard.c: Likewise.
9470 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9472 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9473 * sysdeps/mach/hurd/profil.c: Likewise.
9474 * sysdeps/s390/dl-procinfo.h: Likewise.
9475 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9476 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9477 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9478 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9479 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9481 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9483 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9484 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9486 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9488 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9490 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9491 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9492 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9493 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9494 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9495 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9496 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9497 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9499 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9500 Roland McGrath <roland@hack.frob.com>
9502 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9503 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9505 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9507 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9508 __executable_start symbol instead of _start.
9510 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9512 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9513 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9515 * sysdeps/gnu/ldsodefs.h: ... this new file.
9517 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9518 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9519 instead of ELFOSABI_LINUX.
9521 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9522 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9523 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9524 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9526 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9527 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9530 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9531 (ibm_extended_long_double): Add ieee_nan member.
9532 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9533 (do_test): New function.
9535 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9537 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9538 functions, renamed from truncdfsf_test, trunctfsf_test,
9540 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9542 (do_test): Run all these.
9544 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9546 * argp/argp-help.c: Fix typos.
9547 * argp/argp-parse.c: Likewise.
9548 * debug/backtracesyms.c: Likewise.
9549 * elf/elf.h: Likewise.
9550 * malloc/malloc.c: Likewise.
9551 * nis/nis_print.c: Likewise.
9552 * resolv/res_comp.c: Likewise.
9553 * stdlib/stdlib.h: Likewise.
9554 * sunrpc/clnt_tcp.c: Likewise.
9555 * sunrpc/clnt_udp.c: Likewise.
9556 * sunrpc/clnt_unix.c: Likewise.
9557 * sysdeps/unix/bsd/ptsname.c: Likewise.
9558 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9559 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9566 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9568 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9570 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9573 2013-08-27 Mike Frysinger <vapier@gentoo.org>
9576 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9577 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9578 ($(objpfx)bug-dl-leaf): New rule.
9579 ($(objpfx)bug-dl-leaf.so): Likewise.
9580 ($(objpfx)bug-dl-leaf.out): Likewise.
9581 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9582 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9583 * dlfcn/bug-dl-leaf.c: New test.
9584 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9585 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9586 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9587 (dlclose): Likewise.
9588 (dlmopen): Likewise.
9590 2013-08-27 Roland McGrath <roland@hack.frob.com>
9592 * include/netdb.h [!_ISOMAC]:
9593 Don't include <tls.h>.
9594 (h_errno, __libc_h_errno): Move declaration and macros out of
9597 * include/resolv.h [_RESOLV_H_]:
9598 Don't include <tls.h>.
9599 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9600 * resolv/res_libc.c: Don't include <tls.h>.
9601 (_res): Use __attribute__ ((nocommon)) in place of
9602 __attribute__ ((section (".bss"))).
9604 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9605 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9607 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9609 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9610 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9612 * resolv/res_mkquery.c: Include <sys/time.h>.
9614 * inet/ifreq.c: Moved to ...
9615 * sysdeps/unix/ifreq.c: ... here.
9616 * inet/ifreq.c: New file, true stub version.
9618 * socket/sa_len.c: New file.
9619 * socket/Makefile (aux): Add it.
9620 * sysdeps/unix/sysv/linux/Makefile
9621 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9622 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9623 and #include <socket/sa_len.c>.
9624 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9625 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9627 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9628 * bits/socket.h: ... here.
9630 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9631 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9632 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9634 2013-08-27 Andreas Schwab <schwab@suse.de>
9637 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9638 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9639 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9640 * string/test-strcasecmp.c (test_main): Run tests in several
9642 * string/test-strncasecmp.c (test_main): Likewise.
9644 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9645 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9646 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9648 (__strncasecmp_ssse3) [PIC]: Likewise.
9650 2013-08-26 Roland McGrath <roland@hack.frob.com>
9652 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9654 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9655 instead of explicitly declaring xdecrypt.
9656 * nis/nss_nis/nis-publickey.c: Likewise.
9658 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9661 * nscd/aicache.c: Include res_hconf.h.
9662 (addhstaiX): Initialize res_hconf.
9664 2013-08-26 Andreas Schwab <schwab@suse.de>
9666 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9667 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9669 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9671 * nscd/aicache.c (addhstaiX): Fix indentation.
9673 2013-08-25 Mike Frysinger <vapier@gentoo.org>
9675 * configure.ac: Quote $build_pt_chown test.
9676 * configure: Regenerated.
9678 2013-08-23 Joseph Myers <joseph@codesourcery.com>
9681 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9682 * math/s_cexpf.c (__cexpf): Likewise.
9683 * math/s_cexpl.c (__cexpl): Likewise.
9684 * math/libm-test.inc (cexp_test_data): Correct expected return
9685 value for NaN + i0. Add another test.
9687 2013-08-22 David S. Miller <davem@davemloft.net>
9689 * po/ca.po: Update Catalan translation from translation project.
9690 * po/uk.po: Add Ukrainian translations from translation project.
9692 2013-08-21 Joseph Myers <joseph@codesourcery.com>
9695 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9696 is infinite, not alongside NaN test.
9697 * math/s_fdimf.c (__fdimf): Likewise.
9698 * math/s_fdiml.c (__fdiml): Likewise.
9699 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9702 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
9704 * argp/argp-help.c: Fix typos.
9705 * crypt/speeds.c: Likewise.
9706 * csu/check_fds.c: Likewise.
9707 * elf/dl-load.c: Likewise.
9708 * elf/dl-open.c: Likewise.
9709 * elf/reldep3.c: Likewise.
9710 * elf/reldep.c: Likewise.
9711 * elf/sprof.c: Likewise.
9712 * iconv/iconv_charmap.c: Likewise.
9713 * iconv/skeleton.c: Likewise.
9714 * iconv/strtab.c: Likewise.
9715 * io/lockf64.c: Likewise.
9716 * libio/libioP.h: Likewise.
9717 * resolv/gai_notify.c: Likewise.
9718 * resolv/ns_name.c: Likewise.
9719 * resolv/ns_samedomain.c: Likewise.
9720 * resolv/res_send.c: Likewise.
9721 * stdlib/random.c: Likewise.
9722 * sunrpc/rpc/xdr.h: Likewise.
9723 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9724 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9725 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9726 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9727 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9730 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9731 * sysdeps/mach/hurd/check_fds.c: Likewise.
9732 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9733 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9734 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9735 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9736 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9737 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9738 * sysdeps/pthread/aio_notify.c: Likewise.
9739 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9740 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9741 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9742 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9743 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9745 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9747 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9748 version if bit_Slow_SSE4_2 is set.
9749 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9750 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9752 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9755 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9756 trampoline stack frame information.
9757 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9758 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9759 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9760 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9761 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9762 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9763 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9764 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9766 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9767 interrupting a syscall and set with option SA_SIGINFO.
9769 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9772 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9773 argument is infinite.
9774 * math/s_cprojf.c (__cprojf): Likewise.
9775 * math/s_cprojl.c (__cprojl): Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9777 * math/libm-test.inc (cproj_test_data): Add more tests.
9779 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9781 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9782 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9783 size. Use __ffs to determine corresponding shift.
9785 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9786 Roland McGrath <roland@hack.frob.com>
9788 * Makefile (INSTALL): Remove trailing blank lines from output of
9791 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9793 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9794 Align 32 bit compat elf_greg to 8 bytes.
9796 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9798 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9800 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9802 * string/strcoll_l.c (coll_seq): New structure.
9803 (get_next_seq_cached): New function.
9804 (get_next_seq): New function.
9805 (do_compare): New function.
9806 (STRCOLL): Use GNU style definition. Simplify implementation
9807 by using get_next_seq, get_next_seq_cached and do_compare.
9809 2013-08-16 Florian Weimer <fweimer@redhat.com>
9813 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9815 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9817 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9818 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9819 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
9821 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9822 GETDENTS_64BIT_ALIGNED.
9823 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9824 * manual/filesys.texi (Reading/Closing Directory): Document
9825 ENAMETOOLONG return value of readdir_r. Recommend readdir more
9827 * manual/conf.texi (Limits for Files): Add portability note to
9829 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9831 2013-08-13 Andreas Schwab <schwab@suse.de>
9834 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9836 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9837 LDBL_MAX_EXP >= 16384]: Add tests for it.
9839 2013-08-12 David S. Miller <davem@davemloft.net>
9841 * version.h (RELEASE): Set to "development".
9842 (VERSION): Set to "2.18.90".
9843 * NEWS: Add 2.19 section.
9845 2013-08-03 David S. Miller <davem@davemloft.net>
9847 * po/ko.po: Update Korean translation from translation project.
9849 2013-08-01 David S. Miller <davem@davemloft.net>
9851 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
9852 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9855 2013-07-30 David S. Miller <davem@davemloft.net>
9857 * po/fr.po: Update French translation from translation project.
9859 2013-07-28 David S. Miller <davem@davemloft.net>
9861 * po/cs.po: Update Czech translation from translation project.
9863 * po/sv.po: Update Swedish translation from translation project.
9865 2013-07-27 David S. Miller <davem@davemloft.net>
9867 * po/eo.po: Update Esperanto translation from translation project.
9869 * po/vi.po: Update Vietnamese translation from translation project.
9871 * po/de.po: Update German translation from translation project.
9873 2013-07-26 David S. Miller <davem@davemloft.net>
9875 * po/bg.po: Update Bulgarian translation from translation project.
9877 * po/nl.po: Update Dutch translation from translation project.
9878 * po/pl.po: Update Polish translation from translation project.
9879 * po/ru.po: Update Russian translation from translation project.
9881 2013-07-24 David S. Miller <davem@davemloft.net>
9883 * po/libc.pot: Update.
9885 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9887 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9889 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9891 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9893 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9895 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9897 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9898 Andreas Schwab <schwab@suse.de>
9899 Roland McGrath <roland@hack.frob.com>
9900 Joseph Myers <joseph@codesourcery.com>
9901 Carlos O'Donell <carlos@redhat.com>
9904 * config.h.in: Define HAVE_PT_CHOWN.
9905 * config.make.in (build-pt-chown): New variable.
9906 * configure.in (--enable-pt_chown): New configure option.
9907 * configure: Regenerate.
9908 * login/Makefile: Include Makeconfig. Build pt_chown only if
9909 build-pt-chown is enabled.
9910 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9911 pt_chown to fix pty ownership.
9912 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9914 * manual/install.texi (Configuring and compiling): Mention
9915 --enable-pt_chown. Add @findex for grantpt.
9916 * INSTALL: Regenerate.
9918 2013-07-20 David S. Miller <davem@davemloft.net>
9920 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9921 difference between 32-bit and 64-bit.
9923 2013-07-15 Carlos O'Donell <carlos@redhat.com>
9926 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9927 Avoid system header dependency with -ffreestanding.
9928 ($(objpfx)bits/syscall%d): Likewise.
9930 2013-07-13 David S. Miller <davem@davemloft.net>
9932 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9933 underflows from atanl/atan2l due to bug 15319.
9934 (casinh_test_data): Likewise.
9936 2013-07-07 David S. Miller <davem@davemloft.net>
9938 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9940 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
9942 * sysdeps/i386/fpu/libm-test-ulps: Update.
9943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9945 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9947 * configure.in (--enable-lock-elision): Fix message text.
9948 * INSTALL: Regenerate.
9949 * configure: Regenerate.
9951 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9955 2013-07-03 Andreas Jaeger <aj@suse.de>
9957 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9959 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9960 (ptrace_peeksiginfo_args): Add.
9961 (__ptrace_peeksiginfo_flags): Add.
9962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9963 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9964 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9966 2013-07-03 Allan McRae <allan@archlinux.org>
9968 * sysdeps/i386/fpu/libm-test-ulps: Update.
9970 2013-07-02 David S. Miller <davem@davemloft.net>
9972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9974 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
9976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9978 2013-07-02 Joseph Myers <joseph@codesourcery.com>
9980 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9983 2013-07-02 Andi Kleen <ak@linux.intel.com>
9985 * config.h.in (ENABLE_LOCK_ELISION): Add.
9986 * configure.in (--enable-lock-elision): Add option.
9987 * manual/install.texi: Document --enable lock elision.
9988 * configure: Regenerate
9989 * INSTALL: Regenerate.
9991 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
9993 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
9994 SSE4.2 strcasecmp for libc.a.
9995 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9997 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10000 * soft-fp/op-common.h (_FP_FMA): New macro.
10001 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10002 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10003 (_FP_MUL_MEAT_1_imm): ... here.
10004 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10005 (_FP_MUL_MEAT_1_wide): ... here.
10006 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10007 (_FP_MUL_MEAT_1_hard): ... here.
10008 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10009 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10010 (_FP_MUL_MEAT_2_wide): ... here.
10011 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10012 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10013 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10014 (_FP_MUL_MEAT_2_gmp): ... here.
10015 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10016 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10017 (_FP_MUL_MEAT_4_wide): ... here.
10018 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10019 (_FP_MUL_MEAT_4_gmp): ... here.
10020 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10021 (_FP_WFRACBITS_DW_S): Likewise.
10022 (_FP_WFRACXBITS_DW_S): Likewise.
10023 (_FP_HIGHBIT_DW_S): Likewise.
10024 (FP_FMA_S): Likewise.
10025 (_FP_FRAC_HIGH_DW_S): Likewise.
10026 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10027 (_FP_WFRACBITS_DW_D): Likewise.
10028 (_FP_WFRACXBITS_DW_D): Likewise.
10029 (_FP_HIGHBIT_DW_D): Likewise.
10030 (FP_FMA_D): Likewise.
10031 (_FP_FRAC_HIGH_DW_D): Likewise.
10032 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10033 (_FP_WFRACBITS_DW_E): Likewise.
10034 (_FP_WFRACXBITS_DW_E): Likewise.
10035 (_FP_HIGHBIT_DW_E): Likewise.
10036 (FP_FMA_E): Likewise.
10037 (_FP_FRAC_HIGH_DW_E): Likewise.
10038 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10039 (_FP_WFRACBITS_DW_Q): Likewise.
10040 (_FP_WFRACXBITS_DW_Q): Likewise.
10041 (_FP_HIGHBIT_DW_Q): Likewise.
10042 (FP_FMA_Q): Likewise.
10043 (_FP_FRAC_HIGH_DW_Q): Likewise.
10044 * soft-fp/fmasf4.c: New file.
10045 * soft-fp/fmadf4.c: Likewise.
10046 * soft-fp/fmatf4.c: Likewise.
10048 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10051 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10055 (index_Slow_SSE4_2): Likewise.
10056 (index_Prefer_PMINUB_for_stringop): Likewise.
10057 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10058 bit_Slow_SSE4_2 is set.
10059 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10060 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10062 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10064 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10065 rtld_global._dl_hwcap2.
10066 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10068 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10069 POWER8 feature descriptions defined in _dl_hwcap2.
10070 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10071 string handling for POWER8 feature bits.
10072 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10073 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10074 _dl_powerpc_cap_flags.
10075 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10076 * sysdeps/powerpc/rtld-global-offsets.sym
10077 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10078 _dl_hwcap2 in the rtld_global_ro structure.
10080 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10082 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10083 hardware capabilities in support of AT_HWCAP2.
10084 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10085 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10087 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10088 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10089 explicitly the unknown a_type display mechanism is used.
10090 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10091 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10093 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10094 to macro prototype for AT_HWCAP2 support.
10095 * sysdeps/i386/dl-procinfo.h: Likewise.
10096 * sysdeps/s390/dl-procinfo.h: Likewise.
10097 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10098 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10099 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10100 return -1 for unknown a_type display fallback.
10101 * sysdeps/sparc/dl-procinfo.h: Likewise.
10102 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10103 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10105 2013-06-28 Joseph Myers <joseph@codesourcery.com>
10107 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10108 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10110 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10113 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10114 mprotect making __stack_prot writable.
10116 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10117 Joseph Myers <joseph@codesourcery.com>
10119 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10120 as being properly aligned.
10122 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10124 * dlfcn/modstatic5.c: New file.
10125 * dlfcn/tststatic5.c: New file.
10126 * dlfcn/Makefile (tests): Add tststatic5.
10127 (tests-static): Likewise.
10128 (modules-names): Add modstatic5.
10129 (tststatic5-ENV): New variable.
10130 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10133 * elf/dl-support.c (_dl_main_map): New variable.
10134 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10135 (_dl_nns, _dl_load_adds): Set to 1.
10136 (_dl_initial_searchlist): Refer to _dl_main_map.
10137 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10138 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10139 call to _dl_get_origin.
10140 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10142 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10143 * dlfcn/modstatic3.c: New file.
10144 * dlfcn/tststatic3.c: New file.
10145 * dlfcn/tststatic4.c: New file.
10146 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10147 (tests-static): Likewise.
10148 (modules-names): Add modstatic3.
10149 (tststatic3-ENV, tststatic4-ENV): New variables.
10150 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10151 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10153 2013-06-26 Joseph Myers <joseph@codesourcery.com>
10155 * configure.in (CC): Require GCC version 4.4 or later.
10156 * configure: Regenerated.
10157 * manual/install.texi (Tools for Compilation): Update GCC version
10159 * INSTALL: Regenerated.
10161 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10164 * string/test-memcmp.c (check2): New.
10165 (main): Call check2.
10167 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10169 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10172 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10174 (dl_open_worker) [!SHARED]: ... here.
10176 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10178 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10180 2013-06-25 Richard Henderson <rth@redhat.com>
10182 * locale/programs/locarchive.c: Include <libc-internal.h>
10184 2013-06-25 Joseph Myers <joseph@codesourcery.com>
10186 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10187 trailing whitespace removed.
10189 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10192 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10193 * locale/programs/locarchive.c: Include libc-mmap.h.
10194 (prepare_address_space): Take two new outputs (the mmap base and len).
10195 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10197 (create_archive): Declare new mmap base and len values for
10198 prepare_address_space, and store the result in ah.
10199 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10200 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10201 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10202 Declare new mmap base and len values for
10203 prepare_address_space, and store the result in new_ah.
10204 (open_archive): Declare new mmap base and len values for
10205 prepare_address_space, and store the result in ah.
10206 (close_archive): If ah->mmap_base is not NULL, use that and
10207 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10208 * sysdeps/generic/libc-mmap.h: New file.
10210 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10212 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10213 (ALIGN_UP): Likewise.
10214 (PTR_ALIGN_DOWN): Likewise.
10215 (PTR_ALIGN_UP): Likewise.
10217 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10219 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10220 entry mapped to PPC_PLATFORM_POWER8.
10221 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10223 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10224 (_dl_string_platform): Add case for exporting platform position for
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10227 search path to sysdeps/powerpc/powerpc32/power8 directory.
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10229 search path to sysdeps/powerpc/powerpc64/power8 directory.
10230 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10231 power7 directories.
10232 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10233 power7 directories.
10235 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10237 * INSTALL: Regenerate.
10239 * nscd/connections.c (nscd_init): Fix comment.
10241 2013-06-22 Joseph Myers <joseph@codesourcery.com>
10243 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10246 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10247 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10249 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10251 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10253 (DL_DST_REQ_STATIC): Remove macro.
10255 2013-06-21 Joseph Myers <joseph@codesourcery.com>
10258 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10259 with a shift of 0 bits.
10261 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10263 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10266 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10269 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10271 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10273 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10274 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10275 accepts -fno-tree-loop-distribute-patterns.
10276 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10277 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10279 * string/memset.c (memset): Likewise.
10280 * string/test-memmove.c (simple_memmove): Disable loop transformation
10282 * string/test-memset.c (simple_memset): Likewise.
10283 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10284 * benchtests/bench-memset.c (simple_memset): Likewise.
10285 * configure: Regenerated.
10287 2013-06-20 Joseph Myers <joseph@codesourcery.com>
10289 * math/test-misc.c (main): Ignore fesetround failure when failures
10290 of subsequent rounding tests would be ignored.
10293 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10294 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10295 * math/fegetenv.c (__fegetenv): Return 0.
10296 * math/fegetexcept.c (fegetexcept): Return 0.
10297 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10299 * math/feholdexcpt.c (feholdexcept): Return 0.
10300 * math/fesetenv.c (__fesetenv): Return 0.
10301 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10302 argument FE_TONEAREST.
10303 * math/feupdateenv.c (__feupdateenv): Return 0.
10304 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10306 2013-06-18 Roland McGrath <roland@hack.frob.com>
10308 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10309 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10310 ($(objpfx)rtld-%.os rules): Use them.
10312 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10314 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10317 2013-06-17 Roland McGrath <roland@hack.frob.com>
10319 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10320 length of target pattern, then descending length of dependency pattern.
10321 * configure.in (AWK): Require gawk 3.1.2 or newer.
10322 * manual/install.texi (Tools for Compilation): Say that we do.
10323 * configure: Regenerated.
10325 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10326 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10327 * scripts/sysd-rules.awk: ... this new script.
10328 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10329 than a glob-style pattern.
10331 2013-06-17 Joseph Myers <joseph@codesourcery.com>
10333 * math/test-misc.c (main): Do not treat incorrectly rounded
10334 conversions as failure unless ROUNDING_TESTS passes.
10336 2013-06-15 Joseph Myers <joseph@codesourcery.com>
10339 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10340 restore exception state around main square root computation, then
10341 check for inexactness explicitly.
10343 * math/libm-test.inc (fma_test_data): Add another test.
10345 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10347 * manual/threads.texi (Non-POSIX Extensions): New document
10348 node. Document pthread_getattr_default_np and
10349 pthread_setattr_default_np.
10351 * Versions.def (libpthread): Add GLIBC_2.18.
10352 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10361 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10372 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10375 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10377 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10378 H.J. Lu <hjl.tools@gmail.com>
10381 * sysdeps/x86_64/rtld-memset.c: Remove file.
10382 * sysdeps/x86_64/rtld-memset.S: New file.
10384 2013-06-14 Joseph Myers <joseph@codesourcery.com>
10386 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10387 (test_in_one_mode): Take arguments for whether the rounding mode
10388 is supported for each floating-point type.
10389 (do_test): Pass new arguments to test_in_one_mode using
10392 2013-06-13 Roland McGrath <roland@hack.frob.com>
10394 * posix/tst-waitid.c (do_test): Distinguish different instances of
10395 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10396 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10397 before entering the kernel for waitpid.
10399 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10401 * NEWS: Fix note on clock function precision. Text by Roland
10404 2013-06-13 Roland McGrath <roland@hack.frob.com>
10406 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10407 it into place only when and if the sanity check passes.
10409 2013-06-13 Joseph Myers <joseph@codesourcery.com>
10411 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10412 output for whether conversion result is exact. Take argument
10413 indicating whether type is IBM long double.
10414 (round_for_all): Change need_exact field to ibm_ld.
10415 * stdlib/tst-strtod-round.c (struct exactness): New type.
10416 (struct test): Change bool ld_ok field to struct exactness exact.
10417 (TEST): Update all definitions for change to field.
10418 (tests): Regenerate array contents.
10419 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10420 field value. Check for IBM long double here.
10421 (do_test): Update calls to test_in_one_mode.
10423 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10426 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10427 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10429 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10432 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10433 generated by the compiler on loop optimizations.
10434 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10435 general definitions.
10437 2013-06-12 Joseph Myers <joseph@codesourcery.com>
10439 * math/bug-nextafter.c: Include <math-tests.h>.
10440 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10442 * math/bug-nexttoward.c: Include <math-tests.h>.
10443 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10445 * math/test-misc.c: Include <math-tests.h>.
10446 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10449 2013-06-12 Andreas Jaeger <aj@suse.de>
10451 * po/ia.po: Update Interlingua translation from translation
10454 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10456 * include/fenv.h: Include stdbool.h.
10457 (struct rm_ctx): New structure.
10458 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10460 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10461 (SET_RESTORE_ROUNDF): Likewise.
10462 (SET_RESTORE_ROUNDL): Likewise.
10463 (SET_RESTORE_ROUND_NOEX): Likewise.
10464 (SET_RESTORE_ROUND_NOEXF): Likewise.
10465 (SET_RESTORE_ROUND_NOEXL): Likewise.
10466 (SET_RESTORE_ROUND_53BIT): Likewise.
10467 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10468 (libc_feresetround_noexf_ctx): Likewise.
10469 (libc_feresetround_noexl_ctx): Likewise.
10470 (libc_feholdsetround_53bit_ctx): Likewise.
10471 (libc_feresetround_53bit_ctx): Likewise.
10472 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10473 (libc_feholdexcept_setround_sse_ctx): New function.
10474 (libc_fesetenv_sse_ctx): Likewise.
10475 (libc_feupdateenv_sse_ctx): Likewise.
10476 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10477 (libc_feholdexcept_setround_387_ctx): Likewise.
10478 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10479 (libc_feholdsetround_387_prec_ctx): Likewise.
10480 (libc_feholdsetround_387_ctx): Likewise.
10481 (libc_feholdsetround_387_53bit_ctx): Likewise.
10482 (libc_feholdsetround_sse_ctx): Likewise.
10483 (libc_feresetround_sse_ctx): Likewise.
10484 (libc_feresetround_387_ctx): Likewise.
10485 (libc_feupdateenv_387_ctx): Likewise.
10486 (libc_feholdexcept_setroundf_ctx): Define macro.
10487 (libc_fesetenvf_ctx): Likewise.
10488 (libc_feupdateenvf_ctx): Likewise.
10489 (libc_feholdsetroundf_ctx): Likewise.
10490 (libc_feresetroundf_ctx): Likewise.
10491 (libc_feholdexcept_setround_ctx): Likewise.
10492 (libc_fesetenv_ctx): Likewise.
10493 (libc_feupdateenv_ctx): Likewise.
10494 (libc_feholdsetround_ctx): Likewise.
10495 (libc_feresetround_ctx): Likewise.
10496 (libc_feholdexcept_setroundl_ctx): Likewise.
10497 (libc_feupdateenvl_ctx): Likewise.
10498 (libc_feholdsetroundl_ctx): Likewise.
10499 (libc_feresetroundl_ctx): Likewise.
10500 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10501 (libc_feresetround_53bit_ctx): Likewise.
10503 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10505 * locale/iso-639.def: Convert to UTF-8.
10507 2013-06-11 Joseph Myers <joseph@codesourcery.com>
10509 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10510 (EXCEPTION_TESTS_double): Likewise.
10511 (EXCEPTION_TESTS_long_double): Likewise.
10512 (EXCEPTION_TESTS): Likewise.
10513 * math/libm-test.inc (test_exceptions): Only test exceptions if
10514 EXCEPTION_TESTS (FLOAT).
10516 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10518 * benchtests/Makefile (string-bench): Add strcpy_chk and
10520 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10521 * benchtests/bench-stpcpy_chk.c: New file.
10522 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10523 * benchtests/bench-strcpy_chk.c: New file.
10524 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10526 (do_test): Likewise.
10528 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10530 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10531 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10532 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10533 with tabs where appropriate.
10534 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10536 [PPC_PLATFORM_PPC440]: Likewise.
10537 [PPC_PLATFORM_PPC464]: Likewise.
10538 [PPC_PLATFORM_PPC476]: Likewise.
10539 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10540 ppc464, and ppc476 platform strings merging from ports/
10543 2013-06-11 Andreas Schwab <schwab@suse.de>
10546 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10547 (from_ucs4_idx): Regenerate.
10548 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10549 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10550 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10551 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10552 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10553 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10554 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10555 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10556 from FROM_LOOP and TO_LOOP specific macros.
10557 (BODY): Handle combining characters.
10558 * iconvdata/BIG5HKSCS.irreversible: Update.
10559 * iconvdata/BIG5HKSCS.precomposed: New file.
10560 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10562 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10564 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10566 * include/sys/time.h: Fix indentation and add copyright header.
10568 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10569 (do_test): Likewise.
10570 * string/test-memchr.c (do_one_test): Likewise.
10571 (do_test): Likewise.
10572 * string/test-memcmp.c (do_one_test): Likewise.
10573 (do_test): Likewise.
10574 * string/test-memcpy.c (do_one_test): Likewise.
10575 (do_test): Likewise.
10576 * string/test-memmem.c (do_one_test): Likewise.
10577 (do_test): Likewise.
10578 (do_random_tests): Likewise.
10579 * string/test-memmove.c (do_one_test): Likewise.
10580 (do_test): Likewise.
10581 * string/test-memset.c (do_one_test): Likewise.
10582 (do_test): Likewise.
10583 * string/test-rawmemchr.c (do_one_test): Likewise.
10584 (do_test): Likewise.
10585 * string/test-strcasecmp.c (do_one_test): Likewise.
10586 (do_test): Likewise.
10587 * string/test-strcasestr.c (do_one_test): Likewise.
10588 (do_test): Likewise.
10589 * string/test-strcat.c (do_one_test): Likewise.
10590 (do_test): Likewise.
10591 * string/test-strchr.c (do_one_test): Likewise.
10592 (do_test): Likewise.
10593 * string/test-strcmp.c (do_one_test): Likewise.
10594 (do_test): Likewise.
10595 * string/test-strcpy.c (do_one_test): Likewise.
10596 (do_test): Likewise.
10597 * string/test-string.h: Likewise.
10598 (test_init): Likewise.
10599 * string/test-strlen.c (do_one_test): Likewise.
10600 (do_test): Likewise.
10601 * string/test-strncasecmp.c (do_one_test): Likewise.
10602 (do_test): Likewise.
10603 * string/test-strncat.c (do_one_test): Likewise.
10604 (do_test): Likewise.
10605 * string/test-strncmp.c (do_one_test): Likewise.
10606 (do_test_limit): Likewise.
10607 (do_test): Likewise.
10608 * string/test-strncpy.c (do_one_test): Likewise.
10609 (do_test): Likewise.
10610 * string/test-strnlen.c (do_one_test): Likewise.
10611 (do_test): Likewise.
10612 * string/test-strpbrk.c (do_one_test): Likewise.
10613 (do_test): Likewise.
10614 * string/test-strrchr.c (do_one_test): Likewise.
10615 (do_test): Likewise.
10616 * string/test-strspn.c (do_one_test): Likewise.
10617 (do_test): Likewise.
10618 * string/test-strstr.c (do_one_test): Likewise.
10619 (do_test): Likewise.
10621 * benchtests/Makefile (string-bench): Add string benchmarks.
10622 * benchtests/bench-bcopy-ifunc.c: New file.
10623 * benchtests/bench-bcopy.c: New file.
10624 * benchtests/bench-bzero-ifunc.c: New file.
10625 * benchtests/bench-bzero.c: New file.
10626 * benchtests/bench-memccpy-ifunc.c: New file.
10627 * benchtests/bench-memccpy.c: New file.
10628 * benchtests/bench-memchr-ifunc.c: New file.
10629 * benchtests/bench-memchr.c: New file.
10630 * benchtests/bench-memcmp-ifunc.c: New file.
10631 * benchtests/bench-memcmp.c: New file.
10632 * benchtests/bench-memmem-ifunc.c: New file.
10633 * benchtests/bench-memmem.c: New file.
10634 * benchtests/bench-memmove-ifunc.c: New file.
10635 * benchtests/bench-memmove.c: New file.
10636 * benchtests/bench-mempcpy-ifunc.c: New file.
10637 * benchtests/bench-mempcpy.c: New file.
10638 * benchtests/bench-memset-ifunc.c: New file.
10639 * benchtests/bench-memset.c: New file.
10640 * benchtests/bench-rawmemchr-ifunc.c: New file.
10641 * benchtests/bench-rawmemchr.c: New file.
10642 * benchtests/bench-stpcpy-ifunc.c: New file.
10643 * benchtests/bench-stpcpy.c: New file.
10644 * benchtests/bench-stpncpy-ifunc.c: New file.
10645 * benchtests/bench-stpncpy.c: New file.
10646 * benchtests/bench-strcasecmp-ifunc.c: New file.
10647 * benchtests/bench-strcasecmp.c: New file.
10648 * benchtests/bench-strcasestr-ifunc.c: New file.
10649 * benchtests/bench-strcasestr.c: New file.
10650 * benchtests/bench-strcat-ifunc.c: New file.
10651 * benchtests/bench-strcat.c: New file.
10652 * benchtests/bench-strchr-ifunc.c: New file.
10653 * benchtests/bench-strchr.c: New file.
10654 * benchtests/bench-strchrnul-ifunc.c: New file.
10655 * benchtests/bench-strchrnul.c: New file.
10656 * benchtests/bench-strcmp-ifunc.c: New file.
10657 * benchtests/bench-strcmp.c: New file.
10658 * benchtests/bench-strcpy-ifunc.c: New file.
10659 * benchtests/bench-strcpy.c: New file.
10660 * benchtests/bench-strcspn-ifunc.c: New file.
10661 * benchtests/bench-strcspn.c: New file.
10662 * benchtests/bench-strlen-ifunc.c: New file.
10663 * benchtests/bench-strlen.c: New file.
10664 * benchtests/bench-strncasecmp-ifunc.c: New file.
10665 * benchtests/bench-strncasecmp.c: New file.
10666 * benchtests/bench-strncat-ifunc.c: New file.
10667 * benchtests/bench-strncat.c: New file.
10668 * benchtests/bench-strncmp-ifunc.c: New file.
10669 * benchtests/bench-strncmp.c: New file.
10670 * benchtests/bench-strncpy-ifunc.c: New file.
10671 * benchtests/bench-strncpy.c: New file.
10672 * benchtests/bench-strnlen-ifunc.c: New file.
10673 * benchtests/bench-strnlen.c: New file.
10674 * benchtests/bench-strpbrk-ifunc.c: New file.
10675 * benchtests/bench-strpbrk.c: New file.
10676 * benchtests/bench-strrchr-ifunc.c: New file.
10677 * benchtests/bench-strrchr.c: New file.
10678 * benchtests/bench-strspn-ifunc.c: New file.
10679 * benchtests/bench-strspn.c: New file.
10680 * benchtests/bench-strstr-ifunc.c: New file.
10681 * benchtests/bench-strstr.c: New file.
10683 * benchtests/Makefile: Disable parallel execution of targets.
10684 (string-bench): Add memcpy.
10685 (benchset): New variable to store a list of benchmark sets.
10686 (bench-func): Renamed from bench.
10687 (bench-set): New target.
10688 (bench): Depend on bench-func and bench-set.
10689 * benchtests/README: Add section on benchmark sets.
10690 * benchtests/bench-memcpy-ifunc.c: New file.
10691 * benchtests/bench-memcpy.c: New file.
10692 * benchtests/bench-string.h: New file.
10694 2013-06-11 Andreas Schwab <schwab@suse.de>
10697 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10698 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10699 values in the triple.
10700 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10701 terminator in the group key.
10703 2013-06-11 Andreas Jaeger <aj@suse.de>
10705 * po/zh_TW.po: Update Chinese (traditional) translation from
10706 translation project.
10708 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10710 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10711 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10712 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10713 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10714 (clock_getcpuclockid): Likewise.
10715 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10716 Add weak_alias and libc_hidden_def.
10717 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10718 * rt/clock_gettime.c (clock_gettime): Rename to
10719 __clock_gettime. Add weak_alias and libc_hidden_def.
10720 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10721 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10722 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10723 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10724 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10726 * rt/clock_settime.c (clock_settime): Rename to
10727 __clock_settime. Add weak_alias and libc_hidden_def.
10728 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10730 2013-06-10 Joseph Myers <joseph@codesourcery.com>
10732 * mach/err_boot.sub: Remove trailing whitespace.
10733 * mach/err_ipc.sub: Likewise.
10734 * mach/err_mach.sub: Likewise.
10736 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10737 (ROUNDING_TESTS_double): Likewise.
10738 (ROUNDING_TESTS_long_double): Likewise.
10739 (ROUNDING_TESTS): Likewise.
10740 * math/libm-test.inc: Include <math-tests.h>.
10741 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10742 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10743 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10744 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10746 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10748 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10751 2013-06-08 Joseph Myers <joseph@codesourcery.com>
10753 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10754 otherwise empty TRANS lines.
10755 * sysdeps/gnu/errlist.c: Regenerated.
10757 * catgets/gencat.c (error_print): Use (void) in function
10759 * crypt/crypt_util.c (__init_des): Likewise.
10760 * crypt/speeds.c (Stop): Likewise.
10762 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10763 * inet/ruserpass.c (token): Likewise.
10764 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10765 * intl/localealias.c (extend_alias_table): Likewise.
10766 * intl/plural-exp.c (init_germanic_plural): Likewise.
10767 * libio/fcloseall.c (__fcloseall): Likewise.
10768 * libio/genops.c (_IO_flush_all): Likewise.
10769 (_IO_flush_all_linebuffered): Likewise.
10770 (_IO_cleanup): Likewise.
10771 (_IO_iter_begin): Likewise.
10772 (_IO_iter_end): Likewise.
10773 (_IO_list_lock): Likewise.
10774 (_IO_list_unlock): Likewise.
10775 (_IO_list_resetlock): Likewise.
10776 * libio/getchar.c (getchar): Likewise.
10777 * libio/getchar_u.c (getchar_unlocked): Likewise.
10778 * libio/getwchar.c (getwchar): Likewise.
10779 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10780 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10781 * login/getpt.c (__getpt): Likewise.
10782 * login/tst-utmp.c (main): Likewise.
10783 * malloc/hooks.c (__malloc_check_init): Likewise.
10784 * malloc/malloc.c (__malloc_stats): Likewise.
10785 * malloc/mtrace.c (tr_break): Likewise.
10786 (mtrace): Likewise.
10787 (muntrace): Likewise.
10788 * misc/fstab.c (endfsent): Likewise.
10789 * misc/getclktck.c (__getclktck): Likewise.
10790 * misc/getdtsz.c (__getdtablesize): Likewise.
10791 * misc/gethostid.c (gethostid): Likewise.
10792 * misc/getpagesize.c (__getpagesize): Likewise.
10793 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10794 (__get_nprocs): Likewise.
10795 (__get_phys_pages): Likewise.
10796 (__get_avphys_pages): Likewise.
10797 * misc/getttyent.c (getttyent): Likewise.
10798 (setttyent): Likewise.
10799 (endttyent): Likewise.
10800 * misc/getusershell.c (getusershell): Likewise.
10801 (endusershell): Likewise.
10802 (setusershell): Likewise.
10803 (initshells): Likewise.
10804 * misc/hsearch.c (__hdestroy): Likewise.
10805 * misc/sync.c (sync): Likewise.
10806 * misc/syslog.c (closelog_internal): Likewise.
10807 (closelog): Likewise.
10808 * misc/ttyslot.c (ttyslot): Likewise.
10809 * misc/vhangup.c (vhangup): Likewise.
10810 * posix/fork.c (__fork): Likewise.
10811 * posix/getegid.c (__getegid): Likewise.
10812 * posix/geteuid.c (__geteuid): Likewise.
10813 * posix/getgid.c (__getgid): Likewise.
10814 * posix/getpid.c (__getpid): Likewise.
10815 * posix/getppid.c (__getppid): Likewise.
10816 * posix/getuid.c (__getuid): Likewise.
10817 * posix/pause.c (pause): Likewise.
10818 * posix/setpgrp.c (setpgrp): Likewise.
10819 * posix/setsid.c (__setsid): Likewise.
10820 * posix/test-vfork.c (noop): Likewise.
10821 * resolv/gethnamaddr.c (_endhtent): Likewise.
10822 (_gethtent): Likewise.
10823 (ht_endhostent): Likewise.
10824 (gethostent): Likewise.
10825 (dns_service): Likewise.
10826 * stdlib/drand48.c (drand48): Likewise.
10827 * stdlib/lrand48.c (lrand48): Likewise.
10828 * stdlib/mrand48.c (mrand48): Likewise.
10829 * stdlib/rand.c (rand): Likewise.
10830 * stdlib/random.c (__random): Likewise.
10831 * stdlib/setenv.c (clearenv): Likewise.
10832 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10833 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10834 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10835 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10836 (__get_nprocs): Likewise.
10837 (__get_phys_pages): Likewise.
10838 (__get_avphys_pages): Likewise.
10839 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10840 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10841 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10842 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10843 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10844 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10845 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10846 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10847 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10848 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10849 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10850 * sysdeps/mach/hurd/sync.c (sync): Likewise.
10851 * sysdeps/posix/clock.c (clock): Likewise.
10852 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10853 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10854 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10855 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10856 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10857 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10858 (__get_nprocs_conf): Likewise.
10859 (__get_phys_pages): Likewise.
10860 (__get_avphys_pages): Likewise.
10861 * time/clock.c (clock): Likewise.
10862 * time/tzset.c (__tzname_max): Likewise.
10864 2013-06-07 Joseph Myers <joseph@codesourcery.com>
10866 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10867 (__bswap_32): Do not use "register".
10868 * crypt/crypt.c (_ufc_doit_r): Likewise.
10869 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10870 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10871 * gmon/gmon.c (__monstartup): Likewise.
10872 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10873 * hurd/hurdmalloc.c (more_memory): Likewise.
10874 (malloc): Likewise.
10876 (realloc): Likewise.
10877 (malloc_fork_prepare): Likewise.
10878 (malloc_fork_parent): Likewise.
10879 (malloc_fork_child): Likewise.
10880 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10881 (_svcauth_des): Likewise.
10882 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10883 * inet/inet_net.c (inet_network): Likewise.
10884 * inet/inet_netof.c (inet_netof): Likewise.
10885 * inet/rcmd.c (__validuser2_sa): Likewise.
10886 * io/fts.c (fts_open): Likewise.
10887 (fts_load): Likewise.
10888 (fts_close): Likewise.
10889 (fts_read): Likewise.
10890 (fts_children): Likewise.
10891 (fts_build): Likewise.
10892 (fts_stat): Likewise.
10893 (fts_sort): Likewise.
10894 (fts_alloc): Likewise.
10895 (fts_lfree): Likewise.
10896 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10897 (_IO_file_xsgetn): Likewise.
10898 (_IO_file_xsgetn_mmap): Likewise.
10899 * libio/iofopncook.c (_IO_cookie_read): Likewise.
10900 (_IO_cookie_write): Likewise.
10901 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10902 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10903 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10904 * malloc/obstack.c (_obstack_begin): Likewise.
10905 (_obstack_begin_1): Likewise.
10906 (_obstack_newchunk): Likewise.
10907 (_obstack_allocated_p): Likewise.
10908 (obstack_free): Likewise.
10909 (_obstack_memory_used): Likewise.
10910 * misc/getttyent.c (getttynam): Likewise.
10911 (getttyent): Likewise.
10914 * misc/getusershell.c (initshells): Likewise.
10915 * misc/syslog.c (__vsyslog_chk): Likewise.
10916 * misc/ttyslot.c (ttyslot): Likewise.
10917 * nis/nis_hash.c (__nis_hash): Likewise.
10918 * posix/fnmatch_loop.c (FCT): Likewise.
10919 * posix/getconf.c (print_all): Likewise.
10921 * posix/getopt.c (exchange): Likewise.
10922 * posix/glob.c (globfree): Likewise.
10923 (prefix_array): Likewise.
10924 (__glob_pattern_type): Likewise.
10925 * resolv/arpa/nameser.h (NS_GET16): Likewise.
10926 (NS_GET32): Likewise.
10927 (NS_PUT16): Likewise.
10928 (NS_PUT32): Likewise.
10929 * resolv/gethnamaddr.c (getanswer): Likewise.
10930 (gethostbyname2): Likewise.
10931 (gethostbyaddr): Likewise.
10932 (_gethtent): Likewise.
10933 (_gethtbyname2): Likewise.
10934 (_gethtbyaddr): Likewise.
10935 * resolv/ns_print.c (dst_s_get_int16): Likewise.
10936 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10937 * resolv/res_init.c (__res_vinit): Likewise.
10938 (net_mask): Likewise.
10939 * resolv/res_mkquery.c (outchar): Likewise.
10941 * stdio-common/printf_fp.c (outchar): Likewise.
10943 * stdio-common/printf_fphex.c (outchar): Likewise.
10945 * stdio-common/printf_size.c (outchar): Likewise.
10947 * stdio-common/test_rdwr.c (main): Likewise.
10948 * stdio-common/tfformat.c (matches): Likewise.
10949 * stdio-common/vfprintf.c (outchar): Likewise.
10950 (printf_unknown): Likewise.
10951 (buffered_vfprintf): Likewise.
10952 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10953 * stdio-common/xbug.c (AppendToBuffer): Likewise.
10954 (ReadFile): Likewise.
10955 * stdlib/qsort.c (SWAP): Likewise.
10956 (_quicksort): Likewise.
10957 * stdlib/setenv.c (__add_to_environ): Likewise.
10958 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10959 * stdlib/strtol_l.c (__strtol_l): Likewise.
10960 * stdlib/tst-strtod.c (main): Likewise.
10961 * stdlib/tst-strtol.c (main): Likewise.
10962 * stdlib/tst-strtoll.c (main): Likewise.
10963 * string/bits/string2.h (__strcmp_cc): Likewise.
10964 (__strcmp_cg): Likewise.
10965 (__strcspn_c1): Likewise.
10966 (__strcspn_c2): Likewise.
10967 (__strcspn_c3): Likewise.
10968 (__strspn_c1): Likewise.
10969 (__strspn_c2): Likewise.
10970 (__strspn_c3): Likewise.
10971 (__strsep_1c): Likewise.
10972 (__strsep_2c): Likewise.
10973 (__strsep_3c): Likewise.
10974 * string/memccpy.c (__memccpy): Likewise.
10975 * string/stpcpy.c (__stpcpy): Likewise.
10976 * string/strcmp.c (strcmp): Likewise.
10977 * string/strrchr.c (strrchr): Likewise.
10978 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
10980 * sysdeps/mach/hurd/getcwd.c
10981 (_hurd_canonicalize_directory_name_internal): Likewise.
10982 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
10983 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
10984 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
10985 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
10986 Likewise, in both definitions.
10987 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
10989 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
10990 64] (__bswap_64): Likewise.
10991 * time/test_time.c (main): Likewise.
10992 * time/tzfile.c (__tzfile_read): Likewise.
10993 (__tzfile_compute): Likewise.
10994 * time/tzset.c (__tzset_parse_tz): Likewise.
10995 (tzset_internal): Likewise.
10996 (compute_change): Likewise.
10997 * wcsmbs/wcscat.c (__wcscat): Likewise.
10998 * wcsmbs/wcschr.c (wcschr): Likewise.
10999 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11000 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11001 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11002 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11003 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11004 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11005 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11006 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11007 * wcsmbs/wmemset.c (wmemset): Likewise.
11009 2013-06-06 Joseph Myers <joseph@codesourcery.com>
11011 * scripts/config.guess: Update to version 2013-05-16.
11012 * scripts/config.sub: Update to version 2013-04-24.
11013 * scripts/install-sh: Update to version 2011-11-20.07.
11014 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11015 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11017 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
11019 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11020 * elf/sln.c: Likewise.
11021 * hurd/hurd/ioctl.h: Likewise.
11022 * hurd/hurdmalloc.c: Likewise.
11023 * hurd/xattr.c: Likewise.
11024 * include/shlib-compat.h: Likewise.
11025 * inet/ruserpass.c: Likewise.
11026 * libio/iofgets_u.c: Likewise.
11027 * libio/iofgetws_u.c: Likewise.
11028 * locale/programs/ld-identification.c: Likewise.
11029 * locale/programs/ld-time.c: Likewise.
11030 * mach/msg-destroy.c: Likewise.
11031 * nss/nss_files/files-netgrp.c: Likewise.
11032 * resolv/res_data.c: Likewise.
11033 * soft-fp/op-1.h: Likewise.
11034 * soft-fp/op-2.h: Likewise.
11035 * soft-fp/op-4.h: Likewise.
11036 * soft-fp/op-common.h: Likewise.
11037 * stdio-common/printf_fphex.c: Likewise.
11038 * stdlib/strtod_l.c: Likewise.
11039 * sunrpc/rpc/clnt.h: Likewise.
11040 * sysdeps/generic/framestate.c: Likewise.
11041 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11042 * sysdeps/i386/bsd-setjmp.S: Likewise.
11043 * sysdeps/i386/__longjmp.S: Likewise.
11044 * sysdeps/i386/setjmp.S: Likewise.
11045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11046 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11047 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11063 * sysdeps/ieee754/support.c: Likewise.
11064 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11065 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11066 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11067 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11068 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11069 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11070 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11071 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11072 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11073 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11074 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11075 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11076 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11077 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11078 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11079 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11080 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11083 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
11085 * posix/transbug.c: Remove executable mode.
11087 2013-06-05 Joseph Myers <joseph@codesourcery.com>
11089 * crypt/speeds.c: Remove trailing whitespace.
11090 * dlfcn/default.c: Likewise.
11091 * elf/ifuncdep2.c: Likewise.
11092 * elf/ifuncmain1.c: Likewise.
11093 * elf/ifuncmain1vis.c: Likewise.
11094 * elf/testobj.h: Likewise.
11095 * elf/tst-stackguard1.c: Likewise.
11096 * gmon/sys/gmon.h: Likewise.
11097 * hurd/hurdmsg.c: Likewise.
11098 * hurd/new-fd.c: Likewise.
11099 * hurd/ports-get.c: Likewise.
11100 * iconvdata/ibm1008_420.c: Likewise.
11101 * inet/tst-getni1.c: Likewise.
11102 * inet/tst-getni2.c: Likewise.
11103 * libio/ioungetc.c: Likewise.
11104 * libio/wfiledoalloc.c: Likewise.
11105 * manual/libm-err-tab.pl: Likewise.
11106 * math/w_dremf.c: Likewise.
11107 * misc/ftruncate.c: Likewise.
11108 * posix/bug-glob2.c: Likewise.
11109 * posix/tst-pcre.c: Likewise.
11110 * posix/wait4.c: Likewise.
11111 * resolv/README: Likewise.
11112 * resolv/res_debug.h: Likewise.
11113 * resolv/tst-inet_ntop.c: Likewise.
11114 * setjmp/bug269-setjmp.c: Likewise.
11115 * soft-fp/extended.h: Likewise.
11116 * soft-fp/op-1.h: Likewise.
11117 * soft-fp/op-2.h: Likewise.
11118 * soft-fp/op-4.h: Likewise.
11119 * soft-fp/op-8.h: Likewise.
11120 * soft-fp/testit.c: Likewise.
11121 * stdio-common/bug16.c: Likewise.
11122 * stdlib/random.c: Likewise.
11123 * sunrpc/rpcsvc/rquota.x: Likewise.
11124 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11125 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11126 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11127 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11128 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11129 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11130 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11131 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11132 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11133 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11134 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11151 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11153 * sysdeps/ieee754/s_lib_version.c: Likewise.
11154 * sysdeps/mach/hurd/check_fds.c: Likewise.
11155 * sysdeps/mach/hurd/getsockname.c: Likewise.
11156 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11157 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11158 * sysdeps/powerpc/bits/link.h: Likewise.
11159 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11160 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11161 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11162 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11163 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11164 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11165 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11166 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11167 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11168 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11169 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11170 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11171 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11172 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11173 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11174 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11175 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11176 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11177 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11178 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11179 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11180 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11181 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11182 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11183 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11184 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11185 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11186 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11187 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11188 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11189 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11190 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11191 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11192 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11193 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11194 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11195 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11196 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11197 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11198 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11199 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11200 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11201 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11202 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11203 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11204 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11205 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11206 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11207 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11208 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11211 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11212 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11213 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11214 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11215 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11216 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11217 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11218 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11219 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11220 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11221 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11222 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11223 * sysdeps/powerpc/sysdep.h: Likewise.
11224 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11225 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11226 * sysdeps/sh/dl-trampoline.S: Likewise.
11227 * sysdeps/sh/memset.S: Likewise.
11228 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11229 * sysdeps/sh/strlen.S: Likewise.
11230 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11231 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11232 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11233 * sysdeps/sparc/sparc32/rem.S: Likewise.
11234 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11235 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11236 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11237 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11238 * sysdeps/sparc/sparc32/urem.S: Likewise.
11239 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11240 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11241 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11242 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11243 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11244 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11245 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11246 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11247 * sysdeps/unix/bsd/times.c: Likewise.
11248 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11249 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11253 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11254 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11255 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11256 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11257 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11258 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11259 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11260 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11261 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11262 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11263 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11264 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11265 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11266 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11267 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11268 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11269 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11270 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11271 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11272 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11273 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11274 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11275 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11276 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11277 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11278 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11279 * sysdeps/x86_64/strcspn.S: Likewise.
11281 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11283 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11284 generated file. Regenerate properly from gen-translit.pl.
11285 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11286 locale/C-translit.h.
11288 2013-06-05 Andreas Schwab <schwab@suse.de>
11291 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11292 week as 6 instead of -1.
11293 * time/tst-strptime.c (day_tests): Add test case.
11295 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11297 * sysdeps/generic/math_private.h
11298 (libc_feholdexcept_setround_53bit): Replace with
11299 libc_feholdsetround_53bit.
11300 (libc_feupdateenv_53bit): Replace with
11301 libc_feresetround_53bit.
11302 (SET_RESTORE_ROUND_53BIT): Adjust.
11304 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11306 * string/test-strchrnul.c: Add copyright header.
11308 * posix/tst-getaddrinfo4.c: Increase test timeout.
11310 2013-06-03 Carlos O'Donell <carlos@redhat.com>
11313 * math/libm-test.inc (MAX_EXP): Remove
11315 (ulp): Use MIN_EXP - MANT_DIG.
11316 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11318 2013-05-31 Carlos O'Donell <carlos@redhat.com>
11320 * po/be.po: Revert last change.
11321 * po/zh_CN.po: Likewise.
11322 * po/header.pot: Likewise.
11324 2013-05-31 Joseph Myers <joseph@codesourcery.com>
11326 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11327 link-libc-deps to empty as target-specific variable.
11328 * Makerules (link-libc-args): New variable.
11329 (libc-for-link): Likewise.
11330 (link-libc-deps): Likewise.
11331 (lib%.so): Depend on $(link-libc-deps). Link with
11333 (build-module): Link with $(link-libc-args).
11334 (build-module-asneeded): Likewise.
11335 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11337 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11338 target-specific variable.
11339 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11340 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11341 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11343 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11345 ($(objpfx)libpcprofile.so): Likewise.
11346 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11348 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11349 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11350 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11352 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11353 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11354 * login/Makefile ($(objpfx)libutil.so): Likewise.
11355 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11356 * math/Makefile ($(objpfx)libm.so): Likewise.
11357 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11358 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11359 variable instead of depending directly on libc.
11360 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11361 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11363 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11365 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11366 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11367 ($(objpfx)libanl.so): Likewise.
11368 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11370 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11372 * sysdeps/i386/fpu/Makefile: Remove file.
11373 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11374 ($(objpfx)libm.so): Remove dependency on ld.so.
11376 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
11379 * nis/yp_xdr.c (XDRMAXNAME): Define.
11380 (XDRMAXRECORD): Define.
11381 (xdr_domainname): Use XDRMAXNAME.
11382 (xdr_mapname): Likewise.
11383 (xdr_peername): Likewise.
11384 (xdr_keydat): Use XDRMAXRECORD.
11385 (xdr_valdat): Likewise.
11387 2013-05-30 Jeff Law <law@redhat.com>
11390 * manual/errno.texi (ESTALE): Update to account for more than
11391 just NFS file systems.
11392 * sysdeps/gnu/errlist.c: Regenerated.
11394 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11397 * elf/Makefile (tests): Add tst-null-argv.
11398 (modules-names): Add tst-null-argv-lib.
11399 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11400 (tst-null-argv-ENV): Set environment for tst-null-argv.
11401 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11402 (RTLD_PROGNAME): New macro.
11403 * elf/tst-null-argv.c: New test case.
11404 * elf/tst-null-argv-lib.c: Library for test case.
11405 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11406 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11407 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11408 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11409 * elf/dl-init.c (call_init): Likewise.
11410 (_dl_init): Likewise.
11411 * elf/dl-load.c (print_search_path): Likewise.
11412 (_dl_map_object): Likewise.
11413 * elf/dl-lookup.c (do_lookup_x): Likewise.
11414 (add_dependency): Likewise.
11415 (_dl_lookup_symbol_x): Likewise.
11416 (_dl_debug_bindings): Likewise.
11417 * elf/dl-open.c (_dl_show_scope): Likewise.
11418 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11419 * elf/dl-version.c (match_symbol): Likewise.
11420 (_dl_check_map_versions): Likewise.
11421 * elf/rtld.c (dl_main): Likewise.
11422 (print_unresolved): Use RTLD_PROGNAME.
11423 (print_missing_version): Likewise.
11424 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11425 (elf_machine_rela): Likewise.
11426 * sysdeps/powerpc/powerpc32/dl-machine.c
11427 (__process_machine_rela): Likewise.
11428 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11430 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11432 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11434 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11437 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11439 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11441 2013-05-28 Carlos O'Donell <carlos@redhat.com>
11443 * po/be.po: Add descriptive title.
11444 * po/zh_CN.po: Likewise.
11445 * po/header.pot: Likewise.
11447 2013-05-28 Mike Frysinger <vapier@gentoo.org>
11449 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11451 (enlarge_archive): Likewise.
11453 2013-05-28 Ben North <ben@redfrontdoor.org>
11455 * manual/arith.texi (frexp): It is the magnitude of the return
11456 value which lies in [0.5, 1), not the return value itself.
11458 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11462 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11464 * stdio-common/bug26.c (main): Correct fscanf template.
11466 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11467 declare _dl_skip_args.
11469 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11472 * manual/platform.texi: Add missing @end deftypefun.
11474 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11477 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11478 bit of mantissa of 2^16382.
11479 * math/libm-test.inc (hypot_test_data): Add more tests.
11481 * math/libm-test.inc: Add drem and pow10 to list of tested
11483 (pow10_test): New function.
11484 (drem_test): Likewise.
11485 (drem_test_tonearest): Likewise.
11486 (drem_test_towardzero): Likewise.
11487 (drem_test_downward): Likewise.
11488 (drem_test_upward): Likewise.
11489 (main): Call the new functions.
11491 * math/libm-test.inc (finite_test_data): Remove.
11492 (finite_test): Run tests from isfinite_test_data.
11493 (gamma_test_data): Remove.
11494 (gamma_test): Run tests from lgamma_test_data.
11495 * sysdeps/i386/fpu/libm-test-ulps: Update.
11496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11498 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11500 * manual/platform.texi: Add PowerPC PPR function set documentation.
11501 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11504 2013-05-24 Carlos O'Donell <carlos@redhat.com>
11506 * math/libm-test.inc (MAX_EXP): Define.
11508 (ulp): New function.
11509 (check_float_internal): Use ULPDIFF.
11510 (cpow_test): Disable failing test.
11511 (check_ulp): Test ulp() implemetnation.
11512 (main): Call check_ulp before starting tests.
11514 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11516 * math/gen-libm-test.pl (generate_testfile): Do not handle
11517 START_DATA and END_DATA.
11518 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11520 (acos_tonearest_test_data): Likewise.
11521 (acos_towardzero_test_data): Likewise.
11522 (acos_downward_test_data): Likewise.
11523 (acos_upward_test_data): Likewise.
11524 (acosh_test_data): Likewise.
11525 (asin_test_data): Likewise.
11526 (asin_tonearest_test_data): Likewise.
11527 (asin_towardzero_test_data): Likewise.
11528 (asin_downward_test_data): Likewise.
11529 (asin_upward_test_data): Likewise.
11530 (asinh_test_data): Likewise.
11531 (atan_test_data): Likewise.
11532 (atanh_test_data): Likewise.
11533 (atan2_test_data): Likewise.
11534 (cabs_test_data): Likewise.
11535 (cacos_test_data): Likewise.
11536 (cacosh_test_data): Likewise.
11537 (carg_test_data): Likewise.
11538 (casin_test_data): Likewise.
11539 (casinh_test_data): Likewise.
11540 (catan_test_data): Likewise.
11541 (catanh_test_data): Likewise.
11542 (cbrt_test_data): Likewise.
11543 (ccos_test_data): Likewise.
11544 (ccosh_test_data): Likewise.
11545 (ceil_test_data): Likewise.
11546 (cexp_test_data): Likewise.
11547 (cimag_test_data): Likewise.
11548 (clog_test_data): Likewise.
11549 (clog10_test_data): Likewise.
11550 (conj_test_data): Likewise.
11551 (copysign_test_data): Likewise.
11552 (cos_test_data): Likewise.
11553 (cos_tonearest_test_data): Likewise.
11554 (cos_towardzero_test_data): Likewise.
11555 (cos_downward_test_data): Likewise.
11556 (cos_upward_test_data): Likewise.
11557 (cosh_test_data): Likewise.
11558 (cosh_tonearest_test_data): Likewise.
11559 (cosh_towardzero_test_data): Likewise.
11560 (cosh_downward_test_data): Likewise.
11561 (cosh_upward_test_data): Likewise.
11562 (cpow_test_data): Likewise.
11563 (cproj_test_data): Likewise.
11564 (creal_test_data): Likewise.
11565 (csin_test_data): Likewise.
11566 (csinh_test_data): Likewise.
11567 (csqrt_test_data): Likewise.
11568 (ctan_test_data): Likewise.
11569 (ctan_tonearest_test_data): Likewise.
11570 (ctan_towardzero_test_data): Likewise.
11571 (ctan_downward_test_data): Likewise.
11572 (ctan_upward_test_data): Likewise.
11573 (ctanh_test_data): Likewise.
11574 (ctanh_tonearest_test_data): Likewise.
11575 (ctanh_towardzero_test_data): Likewise.
11576 (ctanh_downward_test_data): Likewise.
11577 (ctanh_upward_test_data): Likewise.
11578 (erf_test_data): Likewise.
11579 (erfc_test_data): Likewise.
11580 (exp_test_data): Likewise.
11581 (exp_tonearest_test_data): Likewise.
11582 (exp_towardzero_test_data): Likewise.
11583 (exp_downward_test_data): Likewise.
11584 (exp_upward_test_data): Likewise.
11585 (exp10_test_data): Likewise.
11586 (exp2_test_data): Likewise.
11587 (expm1_test_data): Likewise.
11588 (fabs_test_data): Likewise.
11589 (fdim_test_data): Likewise.
11590 (finite_test_data): Likewise.
11591 (floor_test_data): Likewise.
11592 (fma_test_data): Likewise.
11593 (fma_towardzero_test_data): Likewise.
11594 (fma_downward_test_data): Likewise.
11595 (fma_upward_test_data): Likewise.
11596 (fmax_test_data): Likewise.
11597 (fmin_test_data): Likewise.
11598 (fmod_test_data): Likewise.
11599 (fpclassify_test_data): Likewise.
11600 (frexp_test_data): Likewise.
11601 (gamma_test_data): Likewise.
11602 (hypot_test_data): Likewise.
11603 (ilogb_test_data): Likewise.
11604 (isfinite_test_data): Likewise.
11605 (isgreater_test_data): Likewise.
11606 (isgreaterequal_test_data): Likewise.
11607 (isinf_test_data): Likewise.
11608 (isless_test_data): Likewise.
11609 (islessequal_test_data): Likewise.
11610 (islessgreater_test_data): Likewise.
11611 (isnan_test_data): Likewise.
11612 (isnormal_test_data): Likewise.
11613 (issignaling_test_data): Likewise.
11614 (isunordered_test_data): Likewise.
11615 (j0_test_data): Likewise.
11616 (j1_test_data): Likewise.
11617 (jn_test_data): Likewise.
11618 (ldexp_test_data): Likewise.
11619 (lgamma_test_data): Likewise.
11620 (lrint_test_data): Likewise.
11621 (lrint_tonearest_test_data): Likewise.
11622 (lrint_towardzero_test_data): Likewise.
11623 (lrint_downward_test_data): Likewise.
11624 (lrint_upward_test_data): Likewise.
11625 (llrint_test_data): Likewise.
11626 (llrint_tonearest_test_data): Likewise.
11627 (llrint_towardzero_test_data): Likewise.
11628 (llrint_downward_test_data): Likewise.
11629 (llrint_upward_test_data): Likewise.
11630 (log_test_data): Likewise.
11631 (log10_test_data): Likewise.
11632 (log1p_test_data): Likewise.
11633 (log2_test_data): Likewise.
11634 (logb_test_data): Likewise.
11635 (logb_downward_test_data): Likewise.
11636 (lround_test_data): Likewise.
11637 (llround_test_data): Likewise.
11638 (modf_test_data): Likewise.
11639 (nearbyint_test_data): Likewise.
11640 (nextafter_test_data): Likewise.
11641 (nexttoward_test_data): Likewise.
11642 (pow_test_data): Likewise.
11643 (pow_tonearest_test_data): Likewise.
11644 (pow_towardzero_test_data): Likewise.
11645 (pow_downward_test_data): Likewise.
11646 (pow_upward_test_data): Likewise.
11647 (remainder_test_data): Likewise.
11648 (remainder_tonearest_test_data): Likewise.
11649 (remainder_towardzero_test_data): Likewise.
11650 (remainder_downward_test_data): Likewise.
11651 (remainder_upward_test_data): Likewise.
11652 (remquo_test_data): Likewise.
11653 (rint_test_data): Likewise.
11654 (rint_tonearest_test_data): Likewise.
11655 (rint_towardzero_test_data): Likewise.
11656 (rint_downward_test_data): Likewise.
11657 (rint_upward_test_data): Likewise.
11658 (round_test_data): Likewise.
11659 (scalb_test_data): Likewise.
11660 (scalbn_test_data): Likewise.
11661 (scalbln_test_data): Likewise.
11662 (signbit_test_data): Likewise.
11663 (sin_test_data): Likewise.
11664 (sin_tonearest_test_data): Likewise.
11665 (sin_towardzero_test_data): Likewise.
11666 (sin_downward_test_data): Likewise.
11667 (sin_upward_test_data): Likewise.
11668 (sincos_test_data): Likewise.
11669 (sinh_test_data): Likewise.
11670 (sinh_tonearest_test_data): Likewise.
11671 (sinh_towardzero_test_data): Likewise.
11672 (sinh_downward_test_data): Likewise.
11673 (sinh_upward_test_data): Likewise.
11674 (sqrt_test_data): Likewise.
11675 (tan_test_data): Likewise.
11676 (tan_tonearest_test_data): Likewise.
11677 (tan_towardzero_test_data): Likewise.
11678 (tan_downward_test_data): Likewise.
11679 (tan_upward_test_data): Likewise.
11680 (tanh_test_data): Likewise.
11681 (tgamma_test_data): Likewise.
11682 (trunc_test_data): Likewise.
11683 (y0_test_data): Likewise.
11684 (y1_test_data): Likewise.
11685 (yn_test_data): Likewise.
11686 (significand_test_data): Likewise.
11688 * math/gen-libm-test.pl (@functions): Remove variable.
11689 (generate_testfile): Don't handle START and END lines.
11690 * math/libm-test.inc (START): New macro.
11692 (END_COMPLEX): Likewise.
11693 (acos_test): Use END macro without arguments.
11694 (acos_test_tonearest): Likewise.
11695 (acos_test_towardzero): Likewise.
11696 (acos_test_downward): Likewise.
11697 (acos_test_upward): Likewise.
11698 (acosh_test): Likewise.
11699 (asin_test): Likewise.
11700 (asin_test_tonearest): Likewise.
11701 (asin_test_towardzero): Likewise.
11702 (asin_test_downward): Likewise.
11703 (asin_test_upward): Likewise.
11704 (asinh_test): Likewise.
11705 (atan_test): Likewise.
11706 (atanh_test): Likewise.
11707 (atan2_test): Likewise.
11708 (cabs_test): Likewise.
11709 (cacos_test): Use END_COMPLEX macro without arguments.
11710 (cacosh_test): Likewise.
11711 (carg_test): Use END macro without arguments.
11712 (casin_test): Use END_COMPLEX macro without arguments.
11713 (casinh_test): Likewise.
11714 (catan_test): Likewise.
11715 (catanh_test): Likewise.
11716 (cbrt_test): Use END macro without arguments.
11717 (ccos_test): Use END_COMPLEX macro without arguments.
11718 (ccosh_test): Likewise.
11719 (ceil_test): Use END macro without arguments.
11720 (cexp_test): Use END_COMPLEX macro without arguments.
11721 (cimag_test): Use END macro without arguments.
11722 (clog_test): Use END_COMPLEX macro without arguments.
11723 (clog10_test): Likewise.
11724 (conj_test): Likewise.
11725 (copysign_test): Use END macro without arguments.
11726 (cos_test): Likewise.
11727 (cos_test_tonearest): Likewise.
11728 (cos_test_towardzero): Likewise.
11729 (cos_test_downward): Likewise.
11730 (cos_test_upward): Likewise.
11731 (cosh_test): Likewise.
11732 (cosh_test_tonearest): Likewise.
11733 (cosh_test_towardzero): Likewise.
11734 (cosh_test_downward): Likewise.
11735 (cosh_test_upward): Likewise.
11736 (cpow_test): Use END_COMPLEX macro without arguments.
11737 (cproj_test): Likewise.
11738 (creal_test): Use END macro without arguments.
11739 (csin_test): Use END_COMPLEX macro without arguments.
11740 (csinh_test): Likewise.
11741 (csqrt_test): Likewise.
11742 (ctan_test): Likewise.
11743 (ctan_test_tonearest): Likewise.
11744 (ctan_test_towardzero): Likewise.
11745 (ctan_test_downward): Likewise.
11746 (ctan_test_upward): Likewise.
11747 (ctanh_test): Likewise.
11748 (ctanh_test_tonearest): Likewise.
11749 (ctanh_test_towardzero): Likewise.
11750 (ctanh_test_downward): Likewise.
11751 (ctanh_test_upward): Likewise.
11752 (erf_test): Use END macro without arguments.
11753 (erfc_test): Likewise.
11754 (exp_test): Likewise.
11755 (exp_test_tonearest): Likewise.
11756 (exp_test_towardzero): Likewise.
11757 (exp_test_downward): Likewise.
11758 (exp_test_upward): Likewise.
11759 (exp10_test): Likewise.
11760 (exp2_test): Likewise.
11761 (expm1_test): Likewise.
11762 (fabs_test): Likewise.
11763 (fdim_test): Likewise.
11764 (finite_test): Likewise.
11765 (floor_test): Likewise.
11766 (fma_test): Likewise.
11767 (fma_test_towardzero): Likewise.
11768 (fma_test_downward): Likewise.
11769 (fma_test_upward): Likewise.
11770 (fmax_test): Likewise.
11771 (fmin_test): Likewise.
11772 (fmod_test): Likewise.
11773 (fpclassify_test): Likewise.
11774 (frexp_test): Likewise.
11775 (gamma_test): Likewise.
11776 (hypot_test): Likewise.
11777 (ilogb_test): Likewise.
11778 (isfinite_test): Likewise.
11779 (isgreater_test): Likewise.
11780 (isgreaterequal_test): Likewise.
11781 (isinf_test): Likewise.
11782 (isless_test): Likewise.
11783 (islessequal_test): Likewise.
11784 (islessgreater_test): Likewise.
11785 (isnan_test): Likewise.
11786 (isnormal_test): Likewise.
11787 (issignaling_test): Likewise.
11788 (isunordered_test): Likewise.
11789 (j0_test): Likewise.
11790 (j1_test): Likewise.
11791 (jn_test): Likewise.
11792 (ldexp_test): Likewise.
11793 (lgamma_test): Likewise.
11794 (lrint_test): Likewise.
11795 (lrint_test_tonearest): Likewise.
11796 (lrint_test_towardzero): Likewise.
11797 (lrint_test_downward): Likewise.
11798 (lrint_test_upward): Likewise.
11799 (llrint_test): Likewise.
11800 (llrint_test_tonearest): Likewise.
11801 (llrint_test_towardzero): Likewise.
11802 (llrint_test_downward): Likewise.
11803 (llrint_test_upward): Likewise.
11804 (log_test): Likewise.
11805 (log10_test): Likewise.
11806 (log1p_test): Likewise.
11807 (log2_test): Likewise.
11808 (logb_test): Likewise.
11809 (logb_test_downward): Likewise.
11810 (lround_test): Likewise.
11811 (llround_test): Likewise.
11812 (modf_test): Likewise.
11813 (nearbyint_test): Likewise.
11814 (nextafter_test): Likewise.
11815 (nexttoward_test): Likewise.
11816 (pow_test): Likewise.
11817 (pow_test_tonearest): Likewise.
11818 (pow_test_towardzero): Likewise.
11819 (pow_test_downward): Likewise.
11820 (pow_test_upward): Likewise.
11821 (remainder_test): Likewise.
11822 (remainder_test_tonearest): Likewise.
11823 (remainder_test_towardzero): Likewise.
11824 (remainder_test_downward): Likewise.
11825 (remainder_test_upward): Likewise.
11826 (remquo_test): Likewise.
11827 (rint_test): Likewise.
11828 (rint_test_tonearest): Likewise.
11829 (rint_test_towardzero): Likewise.
11830 (rint_test_downward): Likewise.
11831 (rint_test_upward): Likewise.
11832 (round_test): Likewise.
11833 (scalb_test): Likewise.
11834 (scalbn_test): Likewise.
11835 (scalbln_test): Likewise.
11836 (signbit_test): Likewise.
11837 (sin_test): Likewise.
11838 (sin_test_tonearest): Likewise.
11839 (sin_test_towardzero): Likewise.
11840 (sin_test_downward): Likewise.
11841 (sin_test_upward): Likewise.
11842 (sincos_test): Likewise.
11843 (sinh_test): Likewise.
11844 (sinh_test_tonearest): Likewise.
11845 (sinh_test_towardzero): Likewise.
11846 (sinh_test_downward): Likewise.
11847 (sinh_test_upward): Likewise.
11848 (sqrt_test): Likewise.
11849 (tan_test): Likewise.
11850 (tan_test_tonearest): Likewise.
11851 (tan_test_towardzero): Likewise.
11852 (tan_test_downward): Likewise.
11853 (tan_test_upward): Likewise.
11854 (tanh_test): Likewise.
11855 (tgamma_test): Likewise.
11856 (trunc_test): Likewise.
11857 (y0_test): Likewise.
11858 (y1_test): Likewise.
11859 (yn_test): Likewise.
11860 (significand_test): Likewise.
11862 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
11865 * libio/genops.c (_IO_no_init): Initialize wide struct info.
11867 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
11870 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11871 __ppc_mdoio and __ppc_mdoom.
11872 * manual/platform.texi: Document new functions __ppc_yield,
11873 __ppc_mdoio and __ppc_mdoom.
11875 2013-05-22 Carlos O'Donell <carlos@redhat.com>
11877 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11878 (main): Mention "tls" pseudo-hwcap is legacy.
11879 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11881 2013-05-22 Joseph Myers <joseph@codesourcery.com>
11883 * math/gen-libm-test.pl (parse_args): Output only string of
11884 arguments as text for test name, not full call or descriptions of
11885 tests for extra outputs.
11886 (generate_testfile): Do not pass function name to parse_args.
11887 Generate this_func variable from START.
11888 * math/libm-test.inc (struct test_f_f_data): Rename test_name
11890 (struct test_ff_f_data): Likewise.
11891 (test_ff_f_data_nexttoward): Likewise.
11892 (struct test_fi_f_data): Likewise.
11893 (struct test_fl_f_data): Likewise.
11894 (struct test_if_f_data): Likewise.
11895 (struct test_fff_f_data): Likewise.
11896 (struct test_c_f_data): Likewise.
11897 (struct test_f_f1_data): Likewise. Remove field extra_name.
11898 (struct test_fF_f1_data): Likewise.
11899 (struct test_ffI_f1_data): Likewise.
11900 (struct test_c_c_data): Rename test_name field to arg_str.
11901 (struct test_cc_c_data): Likewise.
11902 (struct test_f_i_data): Likewise.
11903 (struct test_ff_i_data): Likewise.
11904 (struct test_f_l_data): Likewise.
11905 (struct test_f_L_data): Likewise.
11906 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
11908 (COMMON_TEST_SETUP): New macro.
11909 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11910 (COMMON_TEST_CLEANUP): Likewise.
11911 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11912 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
11914 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11915 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
11917 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11918 (RUN_TEST_fff_f): Take argument string. Call new setup and
11920 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11921 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
11923 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11924 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
11926 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11927 (RUN_TEST_fF_f1): Take argument string. Call new setup and
11929 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11930 (RUN_TEST_fI_f1): Take argument string. Call new setup and
11932 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11933 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
11935 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11936 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
11938 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11939 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
11941 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11942 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
11944 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11945 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
11947 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11948 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
11950 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11951 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
11953 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11954 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
11956 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11957 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
11959 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11960 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
11962 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11963 (RUN_TEST_fFF_11): Take argument string. Call new setup and
11965 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11967 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11969 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11970 to _sifields.sigfault.
11971 (si_addr_lsb): Define new macro.
11972 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11973 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11974 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
11976 2013-05-03 Carlos O'Donell <carlos at redhat.com>
11979 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
11981 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
11983 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
11984 loading the domain.
11986 2013-05-22 Joseph Myers <joseph@codesourcery.com>
11988 * math/gen-libm-test.pl (parse_args): Do not include expected
11989 result in test name.
11990 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
11991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11992 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11993 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11994 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11997 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11999 * benchtests/Makefile: Sort function entries.
12001 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12002 tanh, asinh, acosh, atanh.
12003 * benchtests/acos-inputs: New file.
12004 * benchtests/acosh-inputs: New file.
12005 * benchtests/asin-inputs: New file.
12006 * benchtests/asinh-inputs: New file.
12007 * benchtests/atanh-inputs: New file.
12008 * benchtests/cosh-inputs: New file.
12009 * benchtests/log-inputs: New file.
12010 * benchtests/sinh-inputs: New file.
12011 * benchtests/tanh-inputs: New file.
12013 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12016 * posix/tst-getaddrinfo4.c: New test.
12017 * posix/Makefile (tests): Add it.
12019 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12022 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12023 when no services were used.
12024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12025 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12027 2013-05-21 Andreas Schwab <schwab@suse.de>
12030 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12031 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12033 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12034 redundant variable declarations and reallocation of buffer when
12035 parsing as IPv6 address. Always set NSS status when called from
12036 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12037 buffer too small. Correct computation of needed size.
12038 * nss/Makefile (tests): Add test-digits-dots.
12039 * nss/test-digits-dots.c: New test.
12041 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12043 * benchtests/Makefile: Remove instructions for adding
12045 * benchtests/README: New file to explain how to execute and
12046 enhance the benchmark tests.
12048 2013-05-21 Andreas Schwab <schwab@suse.de>
12051 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12052 * setjmp/tst-sigsetjmp.c: New test.
12054 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12056 * sysdeps/x86_64/memset.S (memset): New implementation.
12057 (__bzero): Likewise.
12058 (__memset_tail): New function.
12060 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12062 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12063 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12064 __memcpy_sse2_unaligned ifunc selection.
12065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12066 Add memcpy-sse2-unaligned.S.
12067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12068 Add: __memcpy_sse2_unaligned.
12070 2013-05-19 Joseph Myers <joseph@codesourcery.com>
12073 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12074 math_force_eval before restoring floating-point envrionment.
12075 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12078 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12080 (__nearbyintl): Use math_force_eval before restoring
12081 floating-point environment.
12082 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12084 * math/gen-libm-test.pl (special_functions): Remove.
12085 (parse_args): Don't handle TEST_extra. Handle functions with no
12087 * math/libm-test.inc (struct test_sincos_data): Replace with
12088 struct test_fFF_11_data.
12089 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12090 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12091 (sincos_test_data): Change element type to struct
12092 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12093 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12094 RUN_TEST_LOOP_sincos.
12095 * math/README.libm-test: Don't mention special handling of
12096 individual functions.
12097 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12098 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12099 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12100 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12101 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12104 * math/gen-libm-test.pl (get_variable): Remove function.
12105 (parse_args): Don't show pointer parameters to call in test
12106 names. Use "extra output N" in test names for extra outputs
12107 rather than naming variables.
12109 2013-05-18 Joseph Myers <joseph@codesourcery.com>
12112 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12113 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12114 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12116 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12118 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12121 * math/gen-libm-test.pl (@tests): Remove variable.
12122 ($count): Likewise.
12123 (new_test): Remove function.
12124 (show_exceptions): New function.
12125 (special_functions): Use show_exceptions instead of new_test.
12126 (parse_args): Likewise.
12127 (generate_testfile): Pass only function name in generated call to
12128 print_max_error or print_complex_max_error.
12129 (get_ulps): Do not handle complex tests specially.
12130 (output_test): Rename to ...
12131 (get_all_ulps_for_test): ... this. Return a string rather than
12132 printing to a file. Require ulps to be present.
12133 (output_ulps): Generate arrays rather than #defines.
12134 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12135 (struct ulp_data): New type.
12136 (BUILD_COMPLEX_ULP): Remove macro.
12137 (compare_ulp_data): New function.
12138 (find_ulps): Likewise.
12139 (find_test_ulps): Likewise.
12140 (find_function_ulps): Likewise.
12141 (find_complex_function_ulps): Likewise.
12142 (print_max_error): Determine allowed ulps using
12143 find_function_ulps.
12144 (print_complex_max_error): Determine allowed ulps using
12145 find_complex_function_ulps.
12146 (check_float_internal): Determine max ulps using find_test_ulps.
12147 (check_float): Do not take max_ulp parameter. Update call to
12148 check_float_internal.
12149 (check_complex): Likewise.
12150 (check_int): Do not take max_ulp parameter.
12151 (check_long): Likewise.
12152 (check_bool): Likewise.
12153 (check_longlong): Likewise.
12154 (struct test_f_f_data): Remove max_ulp field.
12155 (struct test_ff_f_data): Likewise.
12156 (struct test_ff_f_data_nexttoward): Likewise.
12157 (struct test_fi_f_data): Likewise.
12158 (struct test_fl_f_data): Likewise.
12159 (struct test_if_f_data): Likewise.
12160 (struct test_fff_f_data): Likewise.
12161 (struct test_c_f_data): Likewise.
12162 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12163 (struct test_fF_f1_data): Likewise.
12164 (struct test_ffI_f1_data): Likewise.
12165 (struct test_c_c_data): Remove max_ulp field.
12166 (struct test_cc_c_data): Likewise.
12167 (struct test_f_i_data): Likewise.
12168 (struct test_ff_i_data): Likewise.
12169 (struct test_f_l_data): Likewise.
12170 (struct test_f_L_data): Likewise.
12171 (struct test_sincos_data): Likewise.
12172 (RUN_TEST_f_f): Do not handle ulps.
12173 (RUN_TEST_LOOP_f_f): Likewise.
12174 (RUN_TEST_2_f): Likewise.
12175 (RUN_TEST_LOOP_2_f): Likewise.
12176 (RUN_TEST_fff_f): Likewise.
12177 (RUN_TEST_LOOP_fff_f): Likewise.
12178 (RUN_TEST_c_f): Likewise.
12179 (RUN_TEST_LOOP_c_f): Likewise.
12180 (RUN_TEST_f_f1): Likewise.
12181 (RUN_TEST_LOOP_f_f1): Likewise.
12182 (RUN_TEST_fF_f1): Likewise.
12183 (RUN_TEST_LOOP_fF_f1): Likewise.
12184 (RUN_TEST_fI_f1): Likewise.
12185 (RUN_TEST_LOOP_fI_f1): Likewise.
12186 (RUN_TEST_ffI_f1): Likewise.
12187 (RUN_TEST_LOOP_ffI_f1): Likewise.
12188 (RUN_TEST_c_c): Likewise.
12189 (RUN_TEST_LOOP_c_c): Likewise.
12190 (RUN_TEST_cc_c): Likewise.
12191 (RUN_TEST_LOOP_cc_c): Likewise.
12192 (RUN_TEST_f_i): Likewise.
12193 (RUN_TEST_LOOP_f_i): Likewise.
12194 (RUN_TEST_f_i_tg): Likewise.
12195 (RUN_TEST_LOOP_f_i_tg): Likewise.
12196 (RUN_TEST_ff_i_tg): Likewise.
12197 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12198 (RUN_TEST_f_b): Likewise.
12199 (RUN_TEST_LOOP_f_b): Likewise.
12200 (RUN_TEST_f_b_tg): Likewise.
12201 (RUN_TEST_LOOP_f_b_tg): Likewise.
12202 (RUN_TEST_f_l): Likewise.
12203 (RUN_TEST_LOOP_f_l): Likewise.
12204 (RUN_TEST_f_L): Likewise.
12205 (RUN_TEST_LOOP_f_L): Likewise.
12206 (RUN_TEST_sincos): Likewise.
12207 (RUN_TEST_LOOP_sincos): Likewise.
12209 2013-05-17 Joseph Myers <joseph@codesourcery.com>
12213 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12214 main case of finite arguments, set rounding mode to FE_TONEAREST
12215 and discard exceptions.
12216 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12218 (remainder_tonearest_test_data): New variable.
12219 (remainder_test_tonearest): New function.
12220 (remainder_towardzero_test_data): New variable.
12221 (remainder_test_towardzero): New function.
12222 (remainder_downward_test_data): New variable.
12223 (remainder_test_downward): New function.
12224 (remainder_upward_test_data): New variable.
12225 (remainder_test_upward): New function.
12226 (main): Call the new test functions.
12228 * math/libm-test.inc (struct test_f_f1_data): Remove field
12230 (struct test_fF_f1_data): Likewise.
12231 (struct test_ffI_f1_data): Likewise.
12232 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12233 based on value of EXTRA_EXPECTED.
12234 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12235 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12236 EXTRA_VAR based on value of EXTRA_EXPECTED.
12237 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12238 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12239 EXTRA_VAR based on value of EXTRA_EXPECTED.
12240 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12241 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12242 EXTRA_VAR based on value of EXTRA_EXPECTED.
12243 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12244 * math/gen-libm-test.pl (parse_args): Don't output initializers
12245 for extra output values.
12247 * math/libm-test.inc (check_int): Expect result to be exactly
12248 equal to expected value and do not handle ulps.
12249 (check_long): Likewise.
12250 (check_longlong): Likewise.
12252 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12254 (cimag_test_data): Likewise.
12255 (conj_test_data): Likewise.
12256 (copysign_test_data): Likewise.
12257 (cproj_test_data): Likewise.
12258 (creal_test_data): Likewise.
12259 (fabs_test_data): Likewise.
12260 (fdim_test_data): Likewise.
12261 (finite_test_data): Likewise.
12262 (floor_test_data): Likewise.
12263 (fmax_test_data): Likewise.
12264 (fmin_test_data): Likewise.
12265 (fmod_test_data): Likewise.
12266 (fpclassify_test_data): Likewise.
12267 (frexp_test_data): Likewise.
12268 (ilogb_test_data): Likewise.
12269 (isfinite_test_data): Likewise.
12270 (isgreater_test_data): Likewise.
12271 (isgreaterequal_test_data): Likewise.
12272 (isinf_test_data): Likewise.
12273 (isless_test_data): Likewise.
12274 (islessequal_test_data): Likewise.
12275 (islessgreater_test_data): Likewise.
12276 (isnan_test_data): Likewise.
12277 (isnormal_test_data): Likewise.
12278 (issignaling_test_data): Likewise.
12279 (isunordered_test_data): Likewise.
12280 (ldexp_test_data): Likewise.
12281 (lrint_test_data): Likewise.
12282 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12283 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12284 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12285 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12286 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12287 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12289 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12290 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12291 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12292 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12294 (lrint_downward_test_data): Test for "inexact" exceptions.
12295 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12296 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12297 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12299 (lrint_upward_test_data): Test for "inexact" exceptions.
12300 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12302 (llrint_test_data): Test for "inexact" exceptions.
12303 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12304 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12305 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12306 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12307 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12308 (llrint_downward_test_data): Test for "inexact" exceptions.
12309 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12310 (llrint_upward_test_data): Test for "inexact" exceptions.
12311 (logb_test_data): Likewise.
12312 (logb_downward_test_data): Likewise.
12313 (nextafter_test_data): Likewise.
12314 (nexttoward_test_data): Likewise.
12315 (remainder_test_data): Likewise.
12316 (remquo_test_data): Likewise.
12317 (scalbn_test_data): Likewise.
12318 (scalbln_test_data): Likewise.
12319 (signbit_test_data): Likewise.
12320 (sqrt_test_data): Likewise.
12321 (significand_test_data): Likewise.
12323 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12326 * benchtests/bench-modf.c (struct args): Mark arg0 as
12328 * scripts/bench.pl: Mark members of struct args as volatile.
12330 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12333 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12334 negative infinity on POWER6 or lower.
12335 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12337 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12340 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12341 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12342 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12343 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12344 (_FP_SETQNAN): New macro.
12345 (_FP_SETQNAN_SEMIRAW): Likewise.
12346 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12347 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12348 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12349 (FP_EXTEND): Use _FP_FRAC_SNANP.
12350 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12351 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12353 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12355 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12358 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12360 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12361 with DIVIDE_BY_ZERO_EXCEPTION.
12362 (gamma_test_data): Likewise.
12363 (lgamma_test_data): Likewise.
12364 (log_test_data): Likewise.
12365 (log10_test_data): Likewise.
12366 (log2_test_data): Likewise.
12367 (tgamma_test_data): Likewise.
12369 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12370 (acos_test_tonearest): Likewise.
12371 (acos_test_towardzero): Likewise.
12372 (acos_test_downward): Likewise.
12373 (acos_test_upward): Likewise.
12374 (acosh_test): Likewise.
12375 (asin_test): Likewise.
12376 (asin_test_tonearest): Likewise.
12377 (asin_test_towardzero): Likewise.
12378 (asin_test_downward): Likewise.
12379 (asin_test_upward): Likewise.
12380 (asinh_test): Likewise.
12381 (atan_test): Likewise.
12382 (atanh_test): Likewise.
12383 (atan2_test): Likewise.
12384 (cabs_test): Likewise.
12385 (cacos_test): Likewise.
12386 (cacosh_test): Likewise.
12387 (casin_test): Likewise.
12388 (casinh_test): Likewise.
12389 (catan_test): Likewise.
12390 (catanh_test): Likewise.
12391 (cbrt_test): Likewise.
12392 (ccos_test): Likewise.
12393 (ccosh_test): Likewise.
12394 (cexp_test): Likewise.
12395 (clog_test): Likewise.
12396 (clog10_test): Likewise.
12397 (cos_test): Likewise.
12398 (cos_test_tonearest): Likewise.
12399 (cos_test_towardzero): Likewise.
12400 (cos_test_downward): Likewise.
12401 (cos_test_upward): Likewise.
12402 (cosh_test): Likewise.
12403 (cosh_test_tonearest): Likewise.
12404 (cosh_test_towardzero): Likewise.
12405 (cosh_test_downward): Likewise.
12406 (cosh_test_upward): Likewise.
12407 (cpow_test): Likewise.
12408 (csin_test): Likewise.
12409 (csinh_test): Likewise.
12410 (csqrt_test): Likewise.
12411 (ctan_test): Likewise.
12412 (ctan_test_tonearest): Likewise.
12413 (ctan_test_towardzero): Likewise.
12414 (ctan_test_downward): Likewise.
12415 (ctan_test_upward): Likewise.
12416 (ctanh_test): Likewise.
12417 (ctanh_test_tonearest): Likewise.
12418 (ctanh_test_towardzero): Likewise.
12419 (ctanh_test_downward): Likewise.
12420 (ctanh_test_upward): Likewise.
12421 (erf_test): Likewise.
12422 (erfc_test): Likewise.
12423 (exp_test): Likewise.
12424 (exp_test_tonearest): Likewise.
12425 (exp_test_towardzero): Likewise.
12426 (exp_test_downward): Likewise.
12427 (exp_test_upward): Likewise.
12428 (exp10_test): Likewise.
12429 (exp2_test): Likewise.
12430 (expm1_test): Likewise.
12431 (fmod_test): Likewise.
12432 (gamma_test): Likewise.
12433 (hypot_test): Likewise.
12434 (j0_test): Likewise.
12435 (j1_test): Likewise.
12436 (jn_test): Likewise.
12437 (lgamma_test): Likewise.
12438 (log_test): Likewise.
12439 (log10_test): Likewise.
12440 (log1p_test): Likewise.
12441 (log2_test): Likewise.
12442 (logb_test_downward): Likewise.
12443 (pow_test): Likewise.
12444 (pow_test_tonearest): Likewise.
12445 (pow_test_towardzero): Likewise.
12446 (pow_test_downward): Likewise.
12447 (pow_test_upward): Likewise.
12448 (remainder_test): Likewise.
12449 (remquo_test): Likewise.
12450 (sin_test): Likewise.
12451 (sin_test_tonearest): Likewise.
12452 (sin_test_towardzero): Likewise.
12453 (sin_test_downward): Likewise.
12454 (sin_test_upward): Likewise.
12455 (sincos_test): Likewise.
12456 (sinh_test): Likewise.
12457 (sinh_test_tonearest): Likewise.
12458 (sinh_test_towardzero): Likewise.
12459 (sinh_test_downward): Likewise.
12460 (sinh_test_upward): Likewise.
12461 (sqrt_test): Likewise.
12462 (tan_test): Likewise.
12463 (tan_test_tonearest): Likewise.
12464 (tan_test_towardzero): Likewise.
12465 (tan_test_downward): Likewise.
12466 (tan_test_upward): Likewise.
12467 (tanh_test): Likewise.
12468 (tgamma_test): Likewise.
12469 (y0_test): Likewise.
12470 (y1_test): Likewise.
12471 (yn_test): Likewise.
12473 * math/gen-libm-test.pl (adjust_arg): Remove function.
12474 (special_function): Remove argument $in_func. Only handle
12475 generating output for tables of tests, not inside functions.
12476 (parse_args): Likewise.
12477 (generate_testfile): Remove variable $in_func. Update call to
12479 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12480 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12481 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12482 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12483 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12484 (MAX_VALUE_INIT): Rename macro to max_value.
12485 (MIN_VALUE_INIT): Rename macro to min_value.
12486 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12487 (plus_zero): Remove variable.
12488 (minus_zero): Likewise.
12489 (plus_infty): Likewise.
12490 (minus_infty): Likewise.
12491 (qnan_value): Likewise.
12492 (max_value): Likewise.
12493 (min_value): Likewise.
12494 (min_subnorm_value): Likewise.
12496 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12498 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12499 uint64_t or uint32_t usage.
12500 * crypt/sha256-block.c: Likewise.
12501 * crypt/sha256-crypt.c: Likewise.
12502 * crypt/sha256.c: Likewise.
12503 * crypt/sha512-block.c: Likewise.
12504 * crypt/sha512-crypt.c: Likewise.
12505 * crypt/sha512.c: Likewise.
12506 * debug/backtrace-tst.c: Likewise.
12507 * debug/pcprofiledump.c: Likewise.
12508 * elf/cache.c: Likewise.
12509 * elf/dl-cache.c: Likewise.
12510 * elf/dl-misc.c: Likewise.
12511 * elf/dl-profile.c: Likewise.
12512 * elf/dl-support.c: Likewise.
12513 * elf/ldconfig.c: Likewise.
12514 * elf/sprof.c: Likewise.
12515 * iconv/dummy-repertoire.c: Likewise.
12516 * iconv/iconv_charmap.c: Likewise.
12517 * iconv/skeleton.c: Likewise.
12518 * iconvdata/8bit-generic.c: Likewise.
12519 * iconvdata/cp737.h: Likewise.
12520 * iconvdata/cp775.h: Likewise.
12521 * iconvdata/ibm1008.h: Likewise.
12522 * iconvdata/ibm1025.h: Likewise.
12523 * iconvdata/ibm1046.h: Likewise.
12524 * iconvdata/ibm1097.h: Likewise.
12525 * iconvdata/ibm1112.h: Likewise.
12526 * iconvdata/ibm1122.h: Likewise.
12527 * iconvdata/ibm1123.h: Likewise.
12528 * iconvdata/ibm1124.h: Likewise.
12529 * iconvdata/ibm1129.h: Likewise.
12530 * iconvdata/ibm1130.h: Likewise.
12531 * iconvdata/ibm1132.h: Likewise.
12532 * iconvdata/ibm1133.h: Likewise.
12533 * iconvdata/ibm1137.h: Likewise.
12534 * iconvdata/ibm1140.h: Likewise.
12535 * iconvdata/ibm1141.h: Likewise.
12536 * iconvdata/ibm1142.h: Likewise.
12537 * iconvdata/ibm1143.h: Likewise.
12538 * iconvdata/ibm1144.h: Likewise.
12539 * iconvdata/ibm1145.h: Likewise.
12540 * iconvdata/ibm1146.h: Likewise.
12541 * iconvdata/ibm1147.h: Likewise.
12542 * iconvdata/ibm1148.h: Likewise.
12543 * iconvdata/ibm1149.h: Likewise.
12544 * iconvdata/ibm1153.h: Likewise.
12545 * iconvdata/ibm1154.h: Likewise.
12546 * iconvdata/ibm1155.h: Likewise.
12547 * iconvdata/ibm1156.h: Likewise.
12548 * iconvdata/ibm1157.h: Likewise.
12549 * iconvdata/ibm1158.h: Likewise.
12550 * iconvdata/ibm1160.h: Likewise.
12551 * iconvdata/ibm1161.h: Likewise.
12552 * iconvdata/ibm1162.h: Likewise.
12553 * iconvdata/ibm1163.h: Likewise.
12554 * iconvdata/ibm1164.h: Likewise.
12555 * iconvdata/ibm1166.h: Likewise.
12556 * iconvdata/ibm1167.h: Likewise.
12557 * iconvdata/ibm12712.h: Likewise.
12558 * iconvdata/ibm1390.h: Likewise.
12559 * iconvdata/ibm1399.h: Likewise.
12560 * iconvdata/ibm16804.h: Likewise.
12561 * iconvdata/ibm4517.h: Likewise.
12562 * iconvdata/ibm4899.h: Likewise.
12563 * iconvdata/ibm4909.h: Likewise.
12564 * iconvdata/ibm4971.h: Likewise.
12565 * iconvdata/ibm5347.h: Likewise.
12566 * iconvdata/ibm803.h: Likewise.
12567 * iconvdata/ibm856.h: Likewise.
12568 * iconvdata/ibm901.h: Likewise.
12569 * iconvdata/ibm902.h: Likewise.
12570 * iconvdata/ibm9030.h: Likewise.
12571 * iconvdata/ibm9066.h: Likewise.
12572 * iconvdata/ibm921.h: Likewise.
12573 * iconvdata/ibm922.h: Likewise.
12574 * iconvdata/ibm9448.h: Likewise.
12575 * iconvdata/isiri-3342.h: Likewise.
12576 * iconvdata/jis0201.h: Likewise.
12577 * include/link.h: Likewise.
12578 * include/netdb.h: Likewise.
12579 * inet/check_native.c: Likewise.
12580 * inet/check_pf.c: Likewise.
12581 * inet/getipv4sourcefilter.c: Likewise.
12582 * inet/getnameinfo.c: Likewise.
12583 * inet/getsourcefilter.c: Likewise.
12584 * inet/htonl.c: Likewise.
12585 * inet/setipv4sourcefilter.c: Likewise.
12586 * inet/setsourcefilter.c: Likewise.
12587 * inet/test-inet6_opt.c: Likewise.
12588 * inet/tst-network.c: Likewise.
12589 * locale/C-collate.c: Likewise.
12590 * locale/C-ctype.c: Likewise.
12591 * locale/C-time.c: Likewise.
12592 * locale/C-translit.h: Likewise.
12593 * locale/loadarchive.c: Likewise.
12594 * locale/programs/3level.h: Likewise.
12595 * locale/programs/charmap.c: Likewise.
12596 * locale/programs/charmap.h: Likewise.
12597 * locale/programs/ld-address.c: Likewise.
12598 * locale/programs/ld-collate.c: Likewise.
12599 * locale/programs/ld-ctype.c: Likewise.
12600 * locale/programs/ld-identification.c: Likewise.
12601 * locale/programs/ld-measurement.c: Likewise.
12602 * locale/programs/ld-messages.c: Likewise.
12603 * locale/programs/ld-monetary.c: Likewise.
12604 * locale/programs/ld-name.c: Likewise.
12605 * locale/programs/ld-numeric.c: Likewise.
12606 * locale/programs/ld-paper.c: Likewise.
12607 * locale/programs/ld-telephone.c: Likewise.
12608 * locale/programs/ld-time.c: Likewise.
12609 * locale/programs/linereader.c: Likewise.
12610 * locale/programs/locale.c: Likewise.
12611 * locale/programs/locarchive.c: Likewise.
12612 * locale/programs/locfile.h: Likewise.
12613 * locale/programs/repertoire.c: Likewise.
12614 * locale/programs/simple-hash.c: Likewise.
12615 * locale/programs/simple-hash.h: Likewise.
12616 * malloc/memusage.c: Likewise.
12617 * malloc/memusagestat.c: Likewise.
12618 * nis/nis_defaults.c: Likewise.
12619 * nis/nis_hash.c: Likewise.
12620 * nis/nis_print.c: Likewise.
12621 * nis/nis_xdr.c: Likewise.
12622 * nscd/connections.c: Likewise.
12623 * nscd/hstcache.c: Likewise.
12624 * nscd/nscd_gethst_r.c: Likewise.
12625 * nscd/nscd_getserv_r.c: Likewise.
12626 * nscd/nscd_helper.c: Likewise.
12627 * nscd/servicescache.c: Likewise.
12628 * nss/makedb.c: Likewise.
12629 * nss/nss_db/db-XXX.c: Likewise.
12630 * nss/nss_db/db-initgroups.c: Likewise.
12631 * nss/nss_db/db-netgrp.c: Likewise.
12632 * nss/nss_files/files-network.c: Likewise.
12633 * nss/nss_files/files-parse.c: Likewise.
12634 * posix/bug-regex5.c: Likewise.
12635 * posix/fnmatch_loop.c: Likewise.
12636 * posix/regcomp.c: Likewise.
12637 * posix/regexec.c: Likewise.
12638 * posix/tst-rfc3484-2.c: Likewise.
12639 * posix/tst-rfc3484-3.c: Likewise.
12640 * posix/tst-rfc3484.c: Likewise.
12641 * resolv/nss_dns/dns-canon.c: Likewise.
12642 * resolv/nss_dns/dns-network.c: Likewise.
12643 * resolv/res_init.c: Likewise.
12644 * resolv/res_mkquery.c: Likewise.
12645 * resolv/tst-aton.c: Likewise.
12646 * stdlib/cxa_atexit.c: Likewise.
12647 * stdlib/cxa_finalize.c: Likewise.
12648 * stdlib/gen-fpioconst.c: Likewise.
12649 * stdlib/strtol_l.c: Likewise.
12650 * string/tst-endian.c: Likewise.
12651 * sunrpc/auth_des.c: Likewise.
12652 * sunrpc/clnt_udp.c: Likewise.
12653 * sunrpc/rtime.c: Likewise.
12654 * sunrpc/svcauth_des.c: Likewise.
12655 * sunrpc/xdr.c: Likewise.
12656 * sunrpc/xdr_intXX_t.c: Likewise.
12657 * sunrpc/xdr_rec.c: Likewise.
12658 * sysdeps/generic/ldconfig.h: Likewise.
12659 * sysdeps/generic/ldsodefs.h: Likewise.
12660 * sysdeps/generic/memusage.h: Likewise.
12661 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12664 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12671 * sysdeps/posix/getaddrinfo.c: Likewise.
12672 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12673 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12674 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12675 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12676 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12677 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12678 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12679 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12680 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12681 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12682 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12683 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12684 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12685 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12686 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12687 * sysdeps/x86_64/dl-tls.h: Likewise.
12688 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12689 * time/alt_digit.c: Likewise.
12690 * time/era.c: Likewise.
12691 * wcsmbs/tst-c16c32-1.c: Likewise.
12693 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12695 * math/libm-test.inc (struct test_sincos_data): New type.
12696 (RUN_TEST_LOOP_sincos): New macro.
12697 (sincos_test_data): New variable.
12698 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12700 2013-05-16 Richard Henderson <rth@redhat.com>
12702 * math/atest-exp2.c (LIMB64): New macro.
12703 (CONSTSZ): New macro.
12704 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12706 (print_mpn_fp): ... to function scope.
12707 (read_mpn_hex): Remove.
12708 (get_log2): Remove.
12709 (exp2_mpn): Use mp_log2.
12710 (main): Use mp_exp1.
12712 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12714 * math/libm-test.inc: Remove comment about not testing "inexact"
12716 (INEXACT_EXCEPTION): New macro.
12717 (NO_INEXACT_EXCEPTION): Likewise.
12718 (INVALID_EXCEPTION_OK): Update value.
12719 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12720 (OVERFLOW_EXCEPTION_OK): Likewise.
12721 (UNDERFLOW_EXCEPTION_OK): Likewise.
12722 (IGNORE_ZERO_INF_SIGN): Likewise.
12723 (ERRNO_UNCHANGED): Likewise.
12724 (ERRNO_EDOM): Likewise.
12725 (ERRNO_ERANGE): Likewise.
12726 (test_exceptions): Handle testing "inexact" exceptions.
12727 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12728 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12729 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12730 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12732 (rint_towardzero_test_data): Likewise.
12733 (rint_downward_test_data): Likewise.
12734 (rint_upward_test_data): Likewise.
12736 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12737 with OVERFLOW_EXCEPTION.
12738 (exp10_test_data): Likewise.
12739 (exp2_test_data): Likewise.
12740 (expm1_test_data): Likewise.
12741 (lgamma_test_data): Likewise.
12742 (pow_test_data): Likewise.
12743 (tgamma_test_data): Likewise.
12744 (yn_test_data): Remove duplicate test of overflow.
12746 * math/libm-test.inc (struct test_cc_c_data): New type.
12747 (RUN_TEST_LOOP_cc_c): New macro.
12748 (cpow_test_data): New variable.
12749 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12751 * math/libm-test.inc (struct test_f_L_data): New type.
12752 (RUN_TEST_LOOP_f_L): New macro.
12753 (llrint_test_data): New variable.
12754 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12755 (llrint_tonearest_test_data): New variable.
12756 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12757 (llrint_towardzero_test_data): New variable.
12758 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12759 (llrint_downward_test_data): New variable.
12760 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12761 (llrint_upward_test_data): New variable.
12762 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12763 (llround_test_data): New variable.
12764 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12766 2013-05-13 Peter Collingbourne <pcc@google.com>
12768 * math/atest-exp2.c (get_log2): Remove const attribute.
12770 2013-05-15 Joseph Myers <joseph@codesourcery.com>
12772 * math/libm-test.inc (struct test_f_l_data): New type.
12773 (RUN_TEST_LOOP_f_l): New macro.
12774 (lrint_test_data): New variable.
12775 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12776 (lrint_tonearest_test_data): New variable.
12777 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12778 (lrint_towardzero_test_data): New variable.
12779 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12780 (lrint_downward_test_data): New variable.
12781 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12782 (lrint_upward_test_data): New variable.
12783 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12784 (lround_test_data): New variable.
12785 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12787 2013-05-15 Peter Collingbourne <pcc@google.com>
12789 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12790 (EXTRACT_WORDS64) Use where appropriate.
12791 (INSERT_WORDS64) Likewise.
12793 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12794 constraints with x constraints.
12795 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12797 * malloc/obstack.c (_obstack_compat): Add initializer.
12799 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
12801 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12802 si_trapno and add si_addr_lsb to _sifields.sigfault.
12803 (si_trapno): Remove macro.
12804 (si_addr_lsb): Define new macro.
12805 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12807 2013-05-15 Joseph Myers <joseph@codesourcery.com>
12809 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12810 instead of TEST_f_l.
12811 (llrint_test_tonearest): Likewise.
12812 (llrint_test_towardzero): Likewise.
12813 (llrint_test_downward): Likewise.
12814 (llrint_test_upward): Likewise.
12815 (llround_test): Likewise.
12817 * math/libm-test.inc (struct test_f_i_data): Add comment.
12818 (RUN_TEST_LOOP_f_b): New macro.
12819 (RUN_TEST_LOOP_f_b_tg): Likewise.
12820 (finite_test_data): New variable.
12821 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12822 (isfinite_test_data): New variable.
12823 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12824 (isinf_test_data): New variable.
12825 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12826 (isnan_test_data): New variable.
12827 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12828 (isnormal_test_data): New variable.
12829 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12830 (issignaling_test_data): New variable.
12831 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12832 (signbit_test_data): New variable.
12833 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12835 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12836 with INVALID_EXCEPTION.
12837 (acosh_test_data): Likewise.
12838 (asin_test_data): Likewise.
12839 (atanh_test_data): Likewise.
12840 (fmod_test_data): Likewise.
12841 (log_test_data): Likewise.
12842 (log10_test_data): Likewise.
12843 (log2_test_data): Likewise.
12844 (pow_test_data): Likewise.
12845 (sqrt_test_data): Likewise.
12846 (y0_test_data): Likewise.
12847 (y1_test_data): Likewise.
12848 (yn_test_data): Likewise.
12850 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12853 * math/libm-test.inc (struct test_ff_i_data): New type.
12854 (RUN_TEST_LOOP_ff_i_tg): New macro.
12855 (isgreater_test_data): New variable.
12856 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12857 (isgreaterequal_test_data): New variable.
12858 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12859 (isless_test_data): New variable.
12860 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12861 (islessequal_test_data): New variable.
12862 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12863 (islessgreater_test_data): New variable.
12864 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12865 (isunordered_test_data): New variable.
12866 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12868 2013-05-14 David S. Miller <davem@davemloft.net>
12870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12872 2013-05-14 Joseph Myers <joseph@codesourcery.com>
12874 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12876 * math/libm-test.inc (struct test_fF_f1_data): Change type of
12878 (struct test_f_i_data): Change type of max_ulp to int.
12880 * math/libm-test.inc (test_ffI_f1_data): New type.
12881 (RUN_TEST_LOOP_ffI_f1): New macro.
12882 (remquo_test_data): New variable.
12883 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12885 * setjmp/tst-setjmp-fp.c: New file.
12886 * setjmp/Makefile (tests): Add tst-setjmp-fp.
12887 (link-libm): New variable.
12888 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12890 * math/libm-test.inc (struct test_f_i_data): New type.
12891 (RUN_TEST_LOOP_f_i): New macro.
12892 (RUN_TEST_LOOP_f_i_tg): Likewise.
12893 (fpclassify_test_data): New variable.
12894 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12895 (ilogb_test_data): New variable.
12896 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12898 * math/libm-test.inc (scalbln_test): Correct function name in END
12901 * math/libm-test.inc (struct test_f_f1_data): Add comment.
12902 (RUN_TEST_LOOP_fI_f1): New macro.
12903 (frexp_test_data): New variable.
12904 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12906 * math/libm-test.inc (struct test_fF_f1_data): New type.
12907 (RUN_TEST_LOOP_fF_f1): New macro.
12908 (modf_test_data): New variable.
12909 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12911 * math/libm-test.inc (struct test_f_f1_data): New type.
12912 (RUN_TEST_LOOP_f_f1): New macro.
12913 (gamma_test_data): New variable.
12914 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12915 (lgamma_test_data): New variable.
12916 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12918 2013-05-13 Carlos O'Donell <carlos@redhat.com>
12920 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12921 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12922 (main): Comment "tls" pseudo-hwcap.
12924 2013-05-13 Joseph Myers <joseph@codesourcery.com>
12926 * math/libm-test.inc (struct test_fl_f_data): New type.
12927 (RUN_TEST_LOOP_fl_f): New variable.
12928 (scalbln_test_data): New variable.
12929 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12931 * math/libm-test.inc (struct test_fi_f_data): New type.
12932 (RUN_TEST_LOOP_fi_f): New macro.
12933 (ldexp_test_data): New variable.
12934 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12935 (scalbn_test_data): New variable.
12936 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12938 * math/libm-test.inc (struct test_c_f_data): New type.
12939 (RUN_TEST_LOOP_c_f): New macro.
12940 (cabs_test_data): New variable.
12941 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12942 (carg_test_data): New variable.
12943 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12944 (cimag_test_data): New variable.
12945 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12946 (creal_test_data): New variable.
12947 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12949 * math/libm-test.inc (struct test_if_f_data): New type.
12950 (RUN_TEST_LOOP_if_f): New macro.
12951 (jn_test_data): New variable.
12952 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12953 (yn_test_data): New variable.
12954 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12956 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12958 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12960 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12961 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12963 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12965 * benchtests/Makefile (CPPFLAGS-nonlib): Add
12966 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12967 (bench-deps): Add bench-timing.h.
12968 * benchtests-bench-skeleton.c: Include bench-timing.h.
12969 (main): Use TIMING_* macros instead of clock_gettime.
12970 * benchtests/bench-timing.h: New file.
12973 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
12974 Renamed from _LIB_VERSION.
12975 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
12977 2013-05-12 Joseph Myers <joseph@codesourcery.com>
12979 * math/libm-test.inc (struct test_fff_f_data): New type.
12980 (RUN_TEST_LOOP_fff_f): New macro.
12981 (fma_test_data): New variable.
12982 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
12983 (fma_towardzero_test_data): New variable.
12984 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
12985 (fma_downward_test_data): New variable.
12986 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
12987 (fma_upward_test_data): New variable.
12988 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
12990 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
12991 (struct test_c_c_data): New type.
12992 (RUN_TEST_LOOP_c_c): New macro.
12993 (cacos_test_data): New variable.
12994 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
12995 (cacosh_test_data): New variable.
12996 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
12997 (casin_test_data): New variable.
12998 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
12999 (casinh_test_data): New variable.
13000 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13001 (catan_test_data): New variable.
13002 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13003 (catanh_test_data): New variable.
13004 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13005 (ccos_test_data): New variable.
13006 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13007 (ccosh_test_data): New variable.
13008 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13009 (cexp_test_data): New variable.
13010 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13011 (clog_test_data): New variable.
13012 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13013 (clog10_test_data): New variable.
13014 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13015 (conj_test_data): New variable.
13016 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13017 (cproj_test_data): New variable.
13018 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13019 (csin_test_data): New variable.
13020 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13021 (csinh_test_data): New variable.
13022 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13023 (csqrt_test_data): New variable.
13024 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13025 (ctan_test_data): New variable.
13026 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13027 (ctan_tonearest_test_data): New variable.
13028 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13029 (ctan_towardzero_test_data): New variable.
13030 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13031 (ctan_downward_test_data): New variable.
13032 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13033 (ctan_upward_test_data): New variable.
13034 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13035 (ctanh_test_data): New variable.
13036 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13037 (ctanh_tonearest_test_data): New variable.
13038 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13039 (ctanh_towardzero_test_data): New variable.
13040 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13041 (ctanh_downward_test_data): New variable.
13042 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13043 (ctanh_upward_test_data): New variable.
13044 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13045 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13048 * math/libm-test.inc (struct test_ff_f_data): New type.
13049 (struct test_ff_f_data_nexttoward): Likewise.
13050 (RUN_TEST_LOOP_2_f): New macro.
13051 (RUN_TEST_LOOP_ff_f): Likewise.
13052 (atan2_test_data): New variable.
13053 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13054 (copysign_test_data): New variable.
13055 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13056 (fdim_test_data): New variable.
13057 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13058 (fmax_test_data): New variable.
13059 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13060 (fmin_test_data): New variable.
13061 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13062 (fmod_test_data): New variable.
13063 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13064 (hypot_test_data): New variable.
13065 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13066 (nextafter_test_data): New variable.
13067 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13068 (nexttoward_test_data): New variable.
13069 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13070 (pow_test_data): New variable.
13071 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13072 (pow_tonearest_test_data): New variable.
13073 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13074 (pow_towardzero_test_data): New variable.
13075 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13076 (pow_downward_test_data): New variable.
13077 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13078 (pow_upward_test_data): New variable.
13079 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13080 (remainder_test_data): New variable.
13081 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13082 (scalb_test_data): New variable.
13083 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13084 * sysdeps/i386/fpu/libm-test-ulps: Update.
13086 2013-05-11 Joseph Myers <joseph@codesourcery.com>
13088 * math/libm-test.inc (fma_test): Use max_value instead of local
13090 (nextafter_test): Likewise.
13092 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13093 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13094 (acos_downward_test_data): New variable.
13095 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13096 (acos_upward_test_data): New variable.
13097 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13098 (acosh_test_data): New variable.
13099 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13100 (asin_test_data): New variable.
13101 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13102 (asin_tonearest_test_data): New variable.
13103 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13104 (asin_towardzero_test_data): New variable.
13105 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13106 (asin_downward_test_data): New variable.
13107 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13108 (asin_upward_test_data): New variable.
13109 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13110 (asinh_test_data): New variable.
13111 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13112 (atan_test_data): New variable.
13113 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13114 (atanh_test_data): New variable.
13115 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13116 (cbrt_test_data): New variable.
13117 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13118 (ceil_test_data): New variable.
13119 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13120 (cos_test_data): New variable.
13121 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13122 (cos_tonearest_test_data): New variable.
13123 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13124 (cos_towardzero_test_data): New variable.
13125 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13126 (cos_downward_test_data): New variable.
13127 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13128 (cos_upward_test_data): New variable.
13129 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13130 (cosh_test_data): New variable.
13131 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13132 (cosh_tonearest_test_data): New variable.
13133 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13134 (cosh_towardzero_test_data): New variable.
13135 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13136 (cosh_downward_test_data): New variable.
13137 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13138 (cosh_upward_test_data): New variable.
13139 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13140 (erf_test_data): New variable.
13141 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13142 (erfc_test_data): New variable.
13143 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13144 (exp_test_data): New variable.
13145 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13146 (exp_tonearest_test_data): New variable.
13147 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13148 (exp_towardzero_test_data): New variable.
13149 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13150 (exp_downward_test_data): New variable.
13151 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13152 (exp_upward_test_data): New variable.
13153 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13154 (exp10_test_data): New variable.
13155 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13156 (exp2_test_data): New variable.
13157 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13158 (expm1_test_data): New variable.
13159 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13160 (fabs_test_data): New variable.
13161 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13162 (floor_test_data): New variable.
13163 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13164 (j0_test_data): New variable.
13165 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13166 (j1_test_data): New variable.
13167 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13168 (log_test_data): New variable.
13169 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13170 (log10_test_data): New variable.
13171 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13172 (log1p_test_data): New variable.
13173 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13174 (log2_test_data): New variable.
13175 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13176 (logb_test_data): New variable.
13177 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13178 (logb_downward_test_data): New variable.
13179 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13180 (nearbyint_test_data): New variable.
13181 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13182 (rint_test_data): New variable.
13183 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13184 (rint_tonearest_test_data): New variable.
13185 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13186 (rint_towardzero_test_data): New variable.
13187 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13188 (rint_downward_test_data): New variable.
13189 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13190 (rint_upward_test_data): New variable.
13191 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13192 (round_test_data): New variable.
13193 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13194 (sin_test_data): New variable.
13195 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13196 (sin_tonearest_test_data): New variable.
13197 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13198 (sin_towardzero_test_data): New variable.
13199 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13200 (sin_downward_test_data): New variable.
13201 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13202 (sin_upward_test_data): New variable.
13203 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13204 (sinh_test_data): New variable.
13205 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13206 (sinh_tonearest_test_data): New variable.
13207 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13208 (sinh_towardzero_test_data): New variable.
13209 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13210 (sinh_downward_test_data): New variable.
13211 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13212 (sinh_upward_test_data): New variable.
13213 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13214 (sqrt_test_data): New variable.
13215 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13216 (tan_test_data): New variable.
13217 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13218 (tan_tonearest_test_data): New variable.
13219 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13220 (tan_towardzero_test_data): New variable.
13221 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13222 (tan_downward_test_data): New variable.
13223 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13224 (tan_upward_test_data): New variable.
13225 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13226 (tanh_test_data): New variable.
13227 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13228 (tgamma_test_data): New variable.
13229 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13230 (trunc_test_data): New variable.
13231 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13232 (y0_test_data): New variable.
13233 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13234 (y1_test_data): New variable.
13235 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13236 (significand_test_data): New variable.
13237 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13239 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13242 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13244 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13246 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13248 2013-05-10 Andreas Jaeger <aj@suse.de>
13251 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13252 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13254 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13256 * math/gen-libm-test.pl (adjust_arg): New function.
13257 (special_functions): Handle generating output in both functions
13259 (parse_args): Likewise.
13260 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13261 $in_func argument to parse_args.
13262 * math/libm-test.inc (struct test_f_f_data): New type.
13263 (IF_ROUND_INIT_): New macro.
13264 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13265 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13266 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13267 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13268 (ROUND_RESTORE_): Likewise.
13269 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13270 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13271 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13272 (ROUND_RESTORE_FE_UPWARD): Likewise.
13273 (RUN_TEST_LOOP_f_f): New macro.
13274 (acos_test_data): New variable.
13275 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13276 (acos_tonearest_test_data): New variable.
13277 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13279 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13281 * benchtests/bench-skeleton.c (startup): Fix coding style.
13283 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13286 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13287 negative infinity argument.
13288 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13289 negative infinity argument.
13290 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13291 negative infinity argument.
13292 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13295 2013-05-10 Florian Weimer <fweimer@redhat.com>
13297 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13298 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13299 * iconv/iconv_prog.c (main): Likewise.
13300 * locale/programs/charmap-dir.c (charmap_readdir)
13301 (fopen_uncompressed): Likewise.
13302 * locale/programs/locfile.c (siblings_uncached)
13303 (write_locale_data): Use lstat64 instead of lstat.
13304 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13307 2013-05-10 Andreas Jaeger <aj@suse.de>
13310 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13312 Include <locale.h>.
13314 2013-05-09 Carlos O'Donell <carlos@redhat.com>
13316 * elf/dl-close.c (_dl_close_worker): Add comments.
13318 2013-05-09 Joseph Myers <joseph@codesourcery.com>
13321 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13323 (__ieee754_rem_pio2l): Update comments.
13326 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13328 (__ieee754_rem_pio2l): Update comments.
13330 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13331 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13333 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13336 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13337 (M_PI_34_LOG10El): Likewise.
13338 (M_PI2_LOG10El): Likewise.
13339 (M_PI4_LOG10El): Likewise.
13340 (M_PI_LOG10El): Likewise.
13342 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13346 2013-05-08 Joseph Myers <joseph@codesourcery.com>
13348 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13349 (MINUS_ZERO_INIT): Likewise.
13350 (PLUS_INFTY_INIT): Likewise.
13351 (MINUS_INFTY_INIT): Likewise.
13352 (QNAN_VALUE_INIT): Likewise.
13353 (MAX_VALUE_INIT): Likewise.
13354 (MIN_VALUE_INIT): Likewise.
13355 (MIN_SUBNORM_VALUE_INIT): Likewise.
13356 (plus_zero): Initialize with PLUS_ZERO_INIT.
13357 (minus_zero): Initialize with MINUS_ZERO_INIT.
13358 (plus_infty): Initialize with PLUS_INFTY_INIT.
13359 (minus_infty): Initialize with MINUS_INFTY_INIT.
13360 (qnan_value): Initialize with QNAN_VALUE_INIT.
13361 (max_value): Initialize with MAX_VALUE_INIT.
13362 (min_value): Initialize with MIN_VALUE_INIT.
13363 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13365 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13366 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13367 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13368 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13370 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13371 (RUN_TEST_2_f): Likewise.
13372 (RUN_TEST_ff_f): Likewise.
13373 (RUN_TEST_fi_f): Likewise.
13374 (RUN_TEST_fl_f): Likewise.
13375 (RUN_TEST_fff_f): Likewise.
13376 (RUN_TEST_c_f): Likewise.
13377 (RUN_TEST_f_f1): Likewise.
13378 (RUN_TEST_fF_f1): Likewise.
13379 (RUN_TEST_fI_f1): Likewise.
13380 (RUN_TEST_ffI_f1): Likewise.
13381 (RUN_TEST_c_c): Likewise.
13382 (RUN_TEST_cc_c): Likewise.
13383 (RUN_TEST_f_i): Likewise.
13384 (RUN_TEST_f_i_tg): Likewise.
13385 (RUN_TEST_ff_i_tg): Likewise.
13386 (RUN_TEST_f_b): Likewise.
13387 (RUN_TEST_f_b_tg): Likewise.
13388 (RUN_TEST_f_l): Likewise.
13389 (RUN_TEST_f_L): Likewise.
13390 (RUN_TEST_sincos): Likewise.
13391 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13392 whether to show exceptions. Do not include ");\n" in return
13394 (special_functions): Output call to RUN_TEST_sincos instead of
13395 check_float calls. Update calls to new_test.
13396 (parse_args): Output call to single RUN_TEST_* macro instead of
13397 check_* calls and other assignments. Update calls to new_test.
13403 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13404 input to result for tgamma overflow.
13405 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13406 (gamma_coeff): New variable.
13407 (NCOEFF): New macro.
13408 (gamma_positive): New function.
13409 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13410 underflow here. Use gamma_positive instead of exp (lgamma) for
13412 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13413 (gamma_coeff): New variable.
13414 (NCOEFF): New macro.
13415 (gammaf_positive): New function.
13416 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13417 underflow here. Use gamma_positive instead of exp (lgamma) for
13419 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13420 (gamma_coeff): New variable.
13421 (NCOEFF): New macro.
13422 (gammal_positive): New function.
13423 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13424 underflow here. Use gamma_positive instead of exp (lgamma) for
13426 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13427 (gamma_coeff): New variable.
13428 (NCOEFF): New macro.
13429 (gammal_positive): New function.
13430 (__ieee754_gammal_r): Handle positive infinity, overflow and
13431 underflow here. Handle NaN the same as positive infinity. Remove
13432 check x < 0xffffffff for negative integers. Use gamma_positive
13433 instead of exp (lgamma) for other arguments.
13434 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13435 (gamma_coeff): New variable.
13436 (NCOEFF): New macro.
13437 (gammal_positive): New function.
13438 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13439 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13443 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13444 * sysdeps/generic/math_private.h (__gamma_productf): New
13446 (__gamma_product): Likewise.
13447 (__gamma_productl): Likewise.
13448 * math/Makefile (libm-calls): Add gamma_product.
13449 * math/libm-test.inc (tgamma_test): Add more tests.
13450 * sysdeps/i386/fpu/libm-test-ulps: Update.
13451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13453 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
13455 * benchtests/bench-skeleton.c (main): Preheat CPU.
13457 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13459 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13461 2013-05-07 Roland McGrath <roland@hack.frob.com>
13463 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13464 and _dl_skip_args_internal.
13466 2013-05-07 Carlos O'Donell <carlos@redhat.com>
13468 * manual/message.texi (Message Translation): Talk about users.
13469 Message to key mapping impacts design.
13471 2013-05-06 Roland McGrath <roland@hack.frob.com>
13473 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13475 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13477 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13478 * sysdeps/wordsize-64/glob64.c: ... here.
13480 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13481 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13484 * debug/getlogin_r_chk.c: Moved to ...
13485 * login/getlogin_r_chk.c: ... here.
13486 * debug/Makefile (routines): Move getlogin_r_chk to ...
13487 * login/Makefile (routines): ... here.
13488 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13489 * login/Versions (libc: GLIBC_2.4): ... here.
13491 * io/poll.c (__poll): Renamed from poll.
13492 Add libc_hidden_def.
13493 (poll): Define as weak alias.
13495 * debug/ptsname_r_chk.c: Moved to ...
13496 * login/ptsname_r_chk.c: ... here.
13497 * debug/Makefile (routines): Move ptsname_r_chk to ...
13498 * login/Makefile (routines): ... here.
13499 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13500 * login/Versions (libc: GLIBC_2.4): ... here.
13502 * posix/getlogin.c: Moved to ...
13503 * login/getlogin.c: ... here.
13504 * posix/getlogin_r.c: Moved to ...
13505 * login/getlogin_r.c: ... here.
13506 * posix/getlogin_r.c: Moved to ...
13507 * login/getlogin_r.c: ... here.
13508 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13509 * login/Makefile (routines): ... here.
13510 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13511 * login/Versions (libc: GLIBC_2.0): ... here.
13513 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13514 (setrlimit): Define as weak alias.
13516 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13517 Call __ names for open, ftruncate, and close.
13518 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13519 (truncate): Define as weak alias.
13521 2013-05-06 Joseph Myers <joseph@codesourcery.com>
13523 * math/gen-libm-test.pl (parse_args): Initialize x before each
13524 test of frexp, modf and remquo.
13526 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13527 test signgam value.
13529 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13533 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13535 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13537 2013-05-06 Roland McGrath <roland@hack.frob.com>
13539 * elf/dl-writev.h: New file.
13540 * elf/dl-misc.c: Include it.
13541 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13542 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13544 2013-05-04 Joseph Myers <joseph@codesourcery.com>
13546 * math/libm-test.inc (noXFails): Remove variable.
13547 (noXPasses): Likewise.
13548 (BUILD_COMPLEX_INT): Remove macro.
13549 (print_screen): Remove xfail argument.
13550 (print_screen_max_error): Likewise.
13551 (update_stats): Likewise.
13552 (print_max_error): Likewise. Update calls to other affected
13554 (print_complex_max_error): Likewise.
13555 (test_single_exception): Update calls to print_screen.
13556 (test_single_errno): Likewise.
13557 (check_float_internal): Remove xfail argument. Update calls to
13558 other affected functions.
13559 (check_float): Likewise.
13560 (check_complex): Likewise.
13561 (check_int): Likewise.
13562 (check_long): Likewise.
13563 (check_bool): Likewise.
13564 (check_longlong): Likewise.
13565 (main): Don't print noXFails and noXPasses.
13566 * math/gen-libm-test.pl (top level): Don't mention expected
13567 failure handling in comment.
13568 (new_test): Don't handle expected failures.
13569 (parse_args): Don't mention expected failure handling in comment.
13570 (generate_testfile): Don't handle expected failures.
13571 (parse_ulps): Likewise.
13572 (print_ulps_file): Likewise.
13573 (get_failure): Remove function.
13574 (output_test): Don't handle expected failures.
13575 * make/README.libm-test: Don't mention expected failure handling.
13577 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13578 (minus_zero): Likewise.
13579 (plus_infty): Likewise.
13580 (minus_infty): Likewise.
13581 (qnan_value): Likewise.
13582 (max_value): Likewise.
13583 (min_value): Likewise.
13584 (min_subnorm_value): Likewise.
13585 (initialize): Do not initialize those variables dynamically.
13587 2013-05-03 Roland McGrath <roland@hack.frob.com>
13589 * io/open.c (__open_2): Moved to ...
13590 * io/open_2.c: ... this new file.
13591 * io/open64.c (__open64_2): Moved to ...
13592 * io/open64_2.c: ... this new file.
13593 * io/openat.c (__openat_2): Moved to ...
13594 * io/openat_2.c: ... this new file.
13595 * io/openat64.c (__openat64_2): Moved to ...
13596 * io/openat64_2.c: ... this new file.
13597 * io/Makefile (routines): Add them.
13598 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13599 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13600 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13601 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13602 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13603 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13604 (__openat64): Add hidden_ver.
13605 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13606 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13608 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13609 Separately conditionalize setting of GLRO(dl_sysinfo) so
13610 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13611 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13613 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13615 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13616 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13618 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13619 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13620 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13621 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13622 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13624 2013-05-03 Joseph Myers <joseph@codesourcery.com>
13626 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13627 test signgam value.
13629 * math/libm-test.inc (hypot_test): Do not use
13630 IGNORE_ZERO_INF_SIGN.
13632 2013-05-03 Andreas Jaeger <aj@suse.de>
13634 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13636 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13637 (PF_MAX): Adjust for VSOCK change.
13639 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13643 2013-05-02 Carlos O'Donell <carlos@redhat.com>
13646 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13647 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13648 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13650 2013-05-02 David S. Miller <davem@davemloft.net>
13652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13654 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
13656 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13658 2013-05-01 Roland McGrath <roland@hack.frob.com>
13660 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13662 2013-05-01 Richard Smith <richard@metafoo.co.uk>
13665 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13666 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13667 Use __attribute__ ((__gnu_inline__)).
13668 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13669 Don't use __attribute__ ((__gnu_inline__)).
13671 2013-05-01 Joseph Myers <joseph@codesourcery.com>
13674 * math/s_catan.c (__catan): Handle small real or imaginary part of
13675 input specially to avoid spurious underflow.
13676 * math/s_catanf.c (__catanf): Likewise.
13677 * math/s_catanh.c (__catanh): Likewise.
13678 * math/s_catanhf.c (__catanhf): Likewise.
13679 * math/s_catanhl.c (__catanhl): Likewise.
13680 * math/s_catanl.c (__catanl): Likewise.
13681 * math/libm-test.inc (catan_test): Add more tests.
13682 (catanh_test): Likewise.
13683 * sysdeps/i386/fpu/libm-test-ulps: Update.
13684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13686 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13690 2013-04-30 Joseph Myers <joseph@codesourcery.com>
13693 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13694 accurately for denominator in atan2.
13695 * math/s_catanf.c (__catanf): Likewise.
13696 * math/s_catanh.c (__catanh): Likewise.
13697 * math/s_catanhf.c (__catanhf): Likewise.
13698 * math/s_catanhl.c (__catanhl): Likewise.
13699 * math/s_catanl.c (__catanl): Likewise.
13700 * math/libm-test.inc (catan_test): Add more tests.
13701 (catanh_test): Likewise.
13702 * sysdeps/i386/fpu/libm-test-ulps: Update.
13703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13705 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13707 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13709 * benchtests/Makefile (bench): Remove slow benchmarks.
13710 * benchtests/atan-inputs: Add slow benchmark inputs.
13711 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13712 (BENCH_FUNC): Accept variant offset.
13714 * benchtests/bench-skeleton.c (main): Run benchmark for each
13716 * benchtests/cos-inputs: Add slow benchmark inputs.
13717 * benchtests/exp-inputs: Likewise.
13718 * benchtests/pow-inputs: Likewise.
13719 * benchtests/sin-inputs: Likewise.
13720 * benchtests/slowatan-inputs: Remove.
13721 * benchtests/slowatan.c: Remove.
13722 * benchtests/slowcos-inputs: Remove.
13723 * benchtests/slowcos.c: Remove.
13724 * benchtests/slowexp-inputs: Remove.
13725 * benchtests/slowexp.c: Remove.
13726 * benchtests/slowpow-inputs: Remove.
13727 * benchtests/slowpow.c: Remove.
13728 * benchtests/slowsin-inputs: Remove.
13729 * benchtests/slowsin.c: Remove.
13730 * benchtests/slowtan-inputs: Remove.
13731 * benchtests/slowtan.c: Remove.
13732 * benchtests/tan-inputs: Add slow benchmark inputs.
13733 * scripts/bench.pl: Parse comments and directives.
13735 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13737 ($(objpfx)bench-%.c): Remove *-ITER.
13738 * benchtests/bench-modf.c: Remove definition of ITER.
13739 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13740 (main): Loop for DURATION seconds instead of fixed number of
13742 * scripts/bench.pl: Don't expect iterations in parameters.
13744 2013-04-29 Roland McGrath <roland@hack.frob.com>
13746 * io/fchdir.c (__fchdir): Renamed from fchdir.
13747 (fchdir): Define as weak alias.
13749 2013-04-29 Joseph Myers <joseph@codesourcery.com>
13751 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13752 (ERRNO_EDOM): Likewise.
13753 (ERRNO_ERANGE): Likewise.
13754 (noErrnoTests): New variable.
13755 (init_max_error): Set errno to 0.
13756 (test_single_errno): New function.
13757 (test_errno): Likewise.
13758 (check_float_internal): Call test_errno. Set errno to 0.
13759 (check_complex): Refer to errno tests in comment.
13760 (check_int): Call test_errno. Set errno to 0.
13761 (check_long): Likewise.
13762 (check_bool): Likewise.
13763 (check_longlong): Likewise.
13764 (cos_test): Use ERRNO_* flags for errno tests instead of
13766 (expm1_test): Likewise.
13767 (fmod_test): Likewise.
13768 (ilogb_test): Likewise.
13769 (lgamma_test): Likewise.
13770 (pow_test): Likewise.
13771 (remainder_test): Likewise.
13772 (sin_test): Likewise.
13773 (tan_test): Likewise.
13774 (yn_test): Likewise.
13775 (initialize): Set errno to 0.
13776 (main): Print number of errno tests.
13777 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13779 2013-04-29 Andreas Jaeger <aj@suse.de>
13782 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13786 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13787 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13791 * stdlib/random.c (__initstate): Return NULL if
13795 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13796 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13799 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13803 2013-04-29 Joseph Myers <joseph@codesourcery.com>
13805 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13806 of individual tests.
13807 (casin_test): Likewise.
13808 (casinh_test): Likewise.
13810 2013-04-27 Joseph Myers <joseph@codesourcery.com>
13813 * math/s_catan.c (__catan): Handle arguments with large real or
13814 imaginary part separately without squaring.
13815 * math/s_catanf.c (__catanf): Likewise.
13816 * math/s_catanh.c (__catanh): Likewise.
13817 * math/s_catanhf.c (__catanhf): Likewise.
13818 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13820 (__catanhl): Handle arguments with large real or imaginary part
13821 separately without squaring.
13822 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13824 (__catanl): Handle arguments with large real or imaginary part
13825 separately without squaring.
13826 * math/libm-test.inc (catan_test): Add more tests.
13827 (catanh_test): Likewise.
13828 * sysdeps/i386/fpu/libm-test-ulps: Update.
13829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13831 2013-04-27 Andreas Jaeger <aj@suse.de>
13834 * stdlib/stdlib.h: Update guards for qecvt.
13835 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13838 2013-04-27 Allan McRae <allan@archlinux.org>
13840 * sysdeps/i386/fpu/libm-test-ulps: Update.
13842 2013-04-26 Joseph Myers <joseph@codesourcery.com>
13845 * math/s_catan.c: Include <float.h>.
13846 (__catan): Ensure underflow exception occurs for underflowed
13848 * math/s_catanf.c: Include <float.h>.
13849 (__catanf): Ensure underflow exception occurs for underflowed
13851 * math/s_catanh.c: Include <float.h>.
13852 (__catanh): Ensure underflow exception occurs for underflowed
13854 * math/s_catanhf.c: Include <float.h>.
13855 (__catanhf): Ensure underflow exception occurs for underflowed
13857 * math/s_catanhl.c: Include <float.h>.
13858 (__catanhl): Ensure underflow exception occurs for underflowed
13860 * math/s_catanl.c: Include <float.h>.
13861 (__catanl): Ensure underflow exception occurs for underflowed
13863 * math/libm-test.inc (catan_test): Add more tests.
13864 (catanh_test): Likewise.
13867 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13868 underflowed result.
13869 * math/s_ccoshf.c (__ccoshf): Likewise.
13870 * math/s_ccoshl.c (__ccoshl): Likewise.
13871 * math/s_csin.c (__csin): Likewise.
13872 * math/s_csinf.c (__csinf): Likewise.
13873 * math/s_csinh.c (__csinh): Likewise.
13874 * math/s_csinhf.c (__csinhf): Likewise.
13875 * math/s_csinhl.c (__csinhl): Likewise.
13876 * math/s_csinl.c (__csinl): Likewise.
13877 * math/libm-test.inc (ccos_test): Add more tests.
13878 (ccosh_test): Likewise.
13879 (csin_test): Likewise.
13880 (csinh_test): Likewise.
13882 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13884 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13885 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13886 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13887 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13888 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13889 powerpc/power5+/fpu folders.
13890 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13893 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13897 2013-04-25 Joseph Myers <joseph@codesourcery.com>
13899 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13900 additions to variable.
13901 [$(config-machine) = x86_64] (modules-names): Likewise.
13902 ($(objpfx)tst-audit3): Remove dependency.
13903 ($(objpfx)tst-audit3.out): Likewise.
13904 ($(objpfx)tst-audit4): Likewise.
13905 ($(objpfx)tst-audit4.out): Likewise.
13906 ($(objpfx)tst-audit5): Likewise.
13907 ($(objpfx)tst-audit5.out): Likewise.
13908 ($(objpfx)tst-audit6): Likewise.
13909 ($(objpfx)tst-audit6.out): Likewise.
13910 ($(objpfx)tst-audit7): Likewise.
13911 ($(objpfx)tst-audit7.out): Likewise.
13912 (tst-audit3-ENV): Remove variable.
13913 (tst-audit4-ENV): Likewise.
13914 (tst-audit5-ENV): Likewise.
13915 (tst-audit6-ENV): Likewise.
13916 (tst-audit7-ENV): Likewise.
13917 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13918 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13919 addition to variable.
13920 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13921 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13922 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13923 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13924 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13925 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13926 tst-audit3, tst-audit4 and tst-audit5.
13927 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13928 tst-audit6 and tst-audit7.
13929 [$(subdir) = elf] (modules-names): Add audit modules for those
13931 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13932 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13933 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13934 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13935 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13936 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13937 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13938 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13939 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13940 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13941 [$(subdir) = elf] (tst-audit3-ENV): New variable.
13942 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13943 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13944 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13945 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13946 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13948 [$(subdir) = elf && $(config-cflags-avx) = yes]
13949 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13950 [$(subdir) = elf && $(config-cflags-avx) = yes]
13951 (CFLAGS-tst-auditmod4a.c): Likewise.
13952 [$(subdir) = elf && $(config-cflags-avx) = yes]
13953 (CFLAGS-tst-auditmod4b.c): Likewise.
13954 [$(subdir) = elf && $(config-cflags-avx) = yes]
13955 (CFLAGS-tst-auditmod6b.c): Likewise.
13956 [$(subdir) = elf && $(config-cflags-avx) = yes]
13957 (CFLAGS-tst-auditmod6c.c): Likewise.
13958 [$(subdir) = elf && $(config-cflags-avx) = yes]
13959 (CFLAGS-tst-auditmod7b.c): Likewise.
13960 * elf/tst-audit3.c: Move to ...
13961 * sysdeps/x86_64/tst-audit3.c: ... here.
13962 * elf/tst-audit4.c: Move to ...
13963 * sysdeps/x86_64/tst-audit4.c: ... here.
13964 * elf/tst-audit5.c: Move to ...
13965 * sysdeps/x86_64/tst-audit5.c: ... here.
13966 * elf/tst-audit6.c: Move to ...
13967 * sysdeps/x86_64/tst-audit6.c: ... here.
13968 * elf/tst-audit7.c: Move to ...
13969 * sysdeps/x86_64/tst-audit7.c: ... here.
13970 * elf/tst-auditmod3a.c: Move to ...
13971 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13972 * elf/tst-auditmod3b.c: Move to ...
13973 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
13974 * elf/tst-auditmod4a.c: Move to ...
13975 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
13976 * elf/tst-auditmod4b.c: Move to ...
13977 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
13978 * elf/tst-auditmod5a.c: Move to ...
13979 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
13980 * elf/tst-auditmod5b.c: Move to ...
13981 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
13982 * elf/tst-auditmod6a.c: Move to ...
13983 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
13984 * elf/tst-auditmod6b.c: Move to ...
13985 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
13986 * elf/tst-auditmod6c.c: Move to ...
13987 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
13988 * elf/tst-auditmod7a.c: Move to ...
13989 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
13990 * elf/tst-auditmod7b.c: Move to ...
13991 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
13993 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
13996 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
13997 define unconditionally.
13998 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
13999 define unconditionally.
14000 (INT8_C, INT16_C, etc.): Likewise.
14002 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14004 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14005 __ehdr_start with hidden visibility.
14007 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14009 2013-04-24 Carlos O'Donell <carlos@redhat.com>
14011 * math/libm-test.inc (cos_test): Use accurate hex constants.
14012 (sincost_test): Likewise.
14014 2013-04-24 Joseph Myers <joseph@codesourcery.com>
14016 * math/libm-test.inc (catan_test): Add more tests.
14017 (catanh_test): Likewise.
14019 * math/s_catanf.c (__catanf): Use suffixed floating-point
14021 * math/s_catanhf.c (__catanhf): Likewise.
14022 * math/s_catanhl.c (__catanhl): Likewise.
14023 * math/s_catanl.c (__catanl): Likewise.
14026 * math/s_catan.c (__catan): Calculate imaginary part of result
14027 with log1p not log unless computing log of number close to 0.
14028 * math/s_catanf.c (__catanf): Likewise.
14029 * math/s_catanl.c (__catanl): Likewise.
14030 * math/s_catanh.c (__catanh): Calculate real part of result with
14031 log1p not log unless computing log of number close to 0.
14032 * math/s_catanhf.c (__catanhf): Likewise.
14033 * math/s_catanhl.c (__catanhl): Likewise.
14034 * math/libm-test.inc (catan_test): Add more tests.
14035 (catanh_test): Likewise.
14036 * sysdeps/i386/fpu/libm-test-ulps: Update.
14037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14039 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14041 * benchtests/Makefile: Mention files in which fast and slow
14042 paths of math functions are implemented.
14044 2013-04-23 Roland McGrath <roland@hack.frob.com>
14046 * sysdeps/posix/timespec_get.c: New file.
14048 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14050 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14052 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14054 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14055 powerpc/power5/fpu folders.
14056 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14057 * benchtests/Makefile: Add modf testcase.
14058 * benchtests/bench-modf.c: New file: Benchmark test for mo
14060 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14063 * time/Makefile (tests): Add tst-strptime-whitespace.
14064 * time/strptime_l.c (get_number): Use ISSPACE.
14065 (__strptime_internal): Likewise.
14066 * time/tst-strptime-whitespace.c: New test case.
14068 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14070 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14072 (_nss_files_init): Set it here.
14074 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14076 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14077 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14080 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14082 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14084 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14086 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14089 2013-04-21 David S. Miller <davem@davemloft.net>
14091 * po/ru.po: Update Russion translation from translation project.
14093 2013-04-17 Adam Conrad <adconrad@0c3.net>
14095 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14098 2013-04-17 Carlos O'Donell <carlos@redhat.com>
14100 * configure.in: Remove i386 configure warning. Remove i386 case.
14101 * configure: Regenerate.
14102 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14103 Add example to error message.
14104 * sysdeps/i386/configure: Regenerate.
14106 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14108 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14110 * benchtests/cos-inputs: New file.
14111 * benchtests/slowcos-inputs: New file.
14112 * benchtests/slowcos.c: New file.
14113 * benchtests/slowtan-inputs: New file.
14114 * benchtests/slowtan.c: New file.
14115 * benchtests/tan-inputs: New file.
14117 2013-04-16 Roland McGrath <roland@hack.frob.com>
14119 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14122 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14124 * benchtests/Makefile: Include cppflags-iterator.mk to add
14125 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14127 * Makefile.in (bench-clean): New target.
14128 * benchtests/Makefile (bench-clean): Likewise.
14130 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14132 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14134 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14136 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14138 2013-04-15 Andreas Schwab <schwab@suse.de>
14140 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14141 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14142 * nscd/pwdcache.c (cache_addpw): Likewise.
14143 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14146 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14148 * benchtests/Makefile (bench): Write all output to
14149 bench-out.tmp together.
14151 2013-04-15 Andreas Schwab <schwab@suse.de>
14153 * nscd/nscd.c (main): Don't fork again after closing files.
14155 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14157 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14159 * benchtests/Rules (bench-deps): Collect dependencies into a
14160 single variable. Add Makefile to dependencies.
14161 ($(objpfx)bench-%.c): Depend on bench-deps.
14163 2013-04-12 Roland McGrath <roland@hack.frob.com>
14164 Xavier Roche <roche+kml2@exalead.com>
14167 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14168 just that it's a file descriptor.
14169 * manual/llio.texi (Synchronizing AIO Operations): Update description
14170 for EBADF error from aio_fsync.
14172 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14174 * Rules (bench): Move target definition...
14175 * benchtests/Makefile: ... here.
14177 2013-04-11 Carlos O'Donell <carlos@redhat.com>
14179 * math/libm-test.inc (cos_test): Fix PI/2 test.
14180 (sincos_test): Likewise.
14181 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14182 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14184 2013-04-11 Andreas Schwab <schwab@suse.de>
14187 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14188 accept exponent character only when digits were seen.
14189 * stdio-common/Makefile (tests): Add bug26.
14190 * stdio-common/bug26.c: New file.
14193 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14196 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14198 * Makeconfig (rtld-prefix): Define built linker prefix.
14199 * Rules (run-bench): Use it.
14200 * math/Makefile (run-regen-ulps): Likewise.
14202 * Rules (bench): Remove eval.
14204 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14205 Roland McGrath <roland@hack.frob.com>
14206 Ondrej Bilka <neleai@seznam.cz>
14209 * time/getdate.c: Include ctype.h and alloca.h.
14210 (__getdate_r): Trim leading and trailing spaces of input.
14211 * time/tst-getdate.c (tests): Add tests with leading and
14214 2013-04-08 Roland McGrath <roland@hack.frob.com>
14217 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14218 when computing value.
14220 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14222 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14223 Use testrun.sh to run libm tests.
14226 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14228 2013-04-06 Marko Myllynen <myllynen@redhat.com>
14231 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14233 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14235 * Makefile.in (regen-ulps): New target.
14236 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14237 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14238 [ifneq (no,$(PERL)] (regen-ulps): New target.
14239 [ifeq (no,$(PERL)] (regen-ulps): New target.
14240 * math/libm-test.inc (ulps_file_name): Define.
14241 (output_dir): New variable.
14242 (options): Add "output-dir" option.
14243 (parse_opt): Handle 'o' case.
14244 (main): If output_dir is non-NULL use it as a prefix
14246 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14248 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14250 [BZ #10060, #10062]
14251 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14252 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14253 fail configure if __sync_val_compare_and_swap is not inlined.
14254 * sysdeps/i386/configure: Regenerate.
14255 * configure.in: Build for i686 when configured for i386.
14256 * configure: Regenerate.
14257 * README: Remove i386 reference.
14259 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14261 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14262 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14264 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14266 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14267 (lmsnanval): New variables.
14268 (F): Add conversion tests.
14269 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14270 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14272 * stdio-common/tstdiomisc.c (F): Properly collect individual
14275 [BZ #14686, #15336]
14276 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14277 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14278 Instead, use input NaN values or generate a qNaN by arithmetic
14279 operation. Also fix bugs to comply with the standard.
14280 * math/libm-test.inc (remainder_test): Add more tests.
14282 [BZ #15335, #15342]
14283 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14285 input NaN values or generate a qNaN by arithmetic operation.
14287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14290 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14293 2013-04-03 Joseph Myers <joseph@codesourcery.com>
14296 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14297 underflowed result.
14298 * math/s_cexpf.c (__cexpf): Likewise.
14299 * math/s_cexpl.c (__cexpl): Likewise.
14300 * math/libm-test.inc (cexp_test): Add more tests.
14302 2013-04-03 Andreas Schwab <schwab@suse.de>
14305 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14306 order arrays from heap if bigger than alloca cutoff.
14308 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14310 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14311 (SNAN_TESTS_double): Refer to GCC PR56831.
14312 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14315 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14317 * Rules (bench): Move bench.out after the run is complete.
14319 * Rules (bench): Echo currently running benchmark.
14321 * benchtests/Makefile (bench): Add atan and slowatan.
14322 * benchtests/atan-inputs: New file.
14323 * benchtests/slowatan-inputs: New file.
14324 * benchtests/slowatan.c: New file.
14326 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14327 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14331 * sysdeps/unix/sysv/linux/kernel-features.h
14332 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14333 __ASSUME_XFS_RESTRICTED_CHOWN.
14334 * sysdeps/unix/sysv/linux/pathconf.c
14335 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14336 Save and restore errno.
14338 2013-04-02 Joseph Myers <joseph@codesourcery.com>
14341 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14342 arguments using __kernel_casinh.
14343 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14344 arguments using __kernel_casinhf.
14345 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14346 arguments using __kernel_casinhl.
14347 * math/libm-test.inc (cacosh_test): Add more tests.
14348 * sysdeps/i386/fpu/libm-test-ulps: Update.
14349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14351 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14353 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14356 * bench/Makefile (bench): Add sin and slowsin.
14357 * benchtests/sin-inputs: New file.
14358 * benchtests/slowsin-inputs: New file.
14359 * benchtests/slowsin.c: New file.
14361 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14362 (bench): Add slowexp and slowpow.
14363 (exp-ITER): Increase iterations.
14364 (pow-ITER): Likewise.
14365 * benchtests/exp-inputs: Change input.
14366 * benchtests/pow-inputs: Likewise.
14367 * benchtests/slowexp-inputs: New file.
14368 * benchtests/slowexp.c: New file.
14369 * benchtests/slowpow-inputs: New file.
14370 * benchtests/slowpow.c: New file.
14372 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14374 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14376 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14377 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14378 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14379 * benchtests/Makefile: Add rint benchtest.
14380 * benchtests/rint-inputs: Input for rint benchtest.
14382 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14384 * Versions.def (libm): Add GLIBC_2.18.
14385 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14386 hidden libm prototypes.
14387 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14388 * math/Makefile (libm-calls): Add s_issignaling.
14389 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14390 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14391 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14393 * math/math.h [__USE_GNU] (issignaling): New macro.
14394 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14395 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14396 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14397 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14399 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14400 * manual/arith.texi (issignaling): New section.
14401 * manual/libm-err-tab.pl (@all_functions): Update comment.
14402 * math/gen-libm-test.pl (parse_args): Apply special handling for
14404 * math/libm-test.inc (print_float, issignaling_test): New
14406 (check_float_internal): Add issignaling checks.
14407 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14408 default definition.
14409 * sysdeps/powerpc/math-tests.h: New file.
14410 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14412 * math/test-snan.c (TEST_FUNC): Likewise.
14414 2013-03-30 David S. Miller <davem@davemloft.net>
14416 * po/de.po: Update from translation team.
14418 2013-03-30 Joseph Myers <joseph@codesourcery.com>
14421 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14422 imaginary part less than 1.0 and real part less than 0.5
14424 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14425 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14426 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14427 (cacos_test): Add more tests.
14428 (casin_test): Likewise.
14429 (casinh_test): Likewise.
14430 * sysdeps/i386/fpu/libm-test-ulps: Update.
14431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14433 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14435 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14436 ONE with its value.
14438 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14439 (__pow_mp): Replace ONE and MONE with their values.
14440 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14441 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14442 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14443 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14444 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14445 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14447 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14449 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14450 (__pow_mp): Replace ZERO and MZERO with their values.
14451 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14452 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14453 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14455 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14456 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14459 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14461 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14463 2013-03-28 Roland McGrath <roland@hack.frob.com>
14465 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14466 Declare with __attribute__ ((weak)).
14467 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14468 Call __call_tls_dtors only if it's not NULL.
14470 2013-03-28 Roland McGrath <roland@hack.frob.com>
14472 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14473 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14474 magic __ehdr_start linker symbol if it's defined.
14475 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14476 them up here if it was already done.
14478 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14479 (_dl_aux_init): Use const in cast when setting it.
14480 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14481 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14482 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14484 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14486 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14487 * csu/libc-tls.c: Nor here.
14488 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14490 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14491 (__libc_message): Never call vsyslog.
14493 2013-03-28 Alan Modra <amodra@gmail.com>
14495 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14497 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14500 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14503 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14507 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14510 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14511 Don't add gid passed as argument.
14513 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14515 2013-03-27 Joseph Myers <joseph@codesourcery.com>
14518 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14519 imaginary part between 1.0 and 1.5 and real part less than 0.5
14521 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14522 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14523 * math/libm-test.inc (cacos_test): Add more tests.
14524 (casin_test): Likewise.
14525 (casinh_test): Likewise.
14526 * sysdeps/i386/fpu/libm-test-ulps: Update.
14527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14529 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14531 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14534 (denorm): Likewise.
14535 (__dbl_mp): Likewise.
14536 (add_magnitudes): Likewise.
14537 (sub_magnitudes): Likewise.
14545 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14547 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14548 (__dubcos): Likewise.
14549 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14550 (__ieee754_acos): Likewise.
14551 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14552 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14553 (__exp1): Likewise.
14554 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14555 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14557 (my_log2): Likewise.
14558 (checkint): Likewise.
14559 * sysdeps/ieee754/dbl-64/e_remainder.c
14560 (__ieee754_remainder): Likewise.
14561 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14563 (bsloww): Likewise.
14564 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14566 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14567 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14568 MANTISSA_STORE_T to store computations on mantissa. Use
14569 macros for rounding and division.
14570 (denorm): Likewise.
14571 (__dbl_mp): Likewise.
14572 (add_magnitudes): Likewise.
14573 (sub_magnitudes): Likewise.
14576 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14577 powers of two in terms of TWOPOW macro.
14578 (mp_no): Make type of mantissa as MANTISSA_T.
14579 [!RADIXI]: Define RADIXI.
14580 [!TWO52]: Define TWO52.
14581 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14583 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14585 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14586 llroundl symbol when building for PPC32.
14588 2013-03-24 Mark H Weaver <mhw@netris.org>
14590 * manual/arith.texi (Normalization Functions): Fix prototypes for
14591 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14593 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14597 high value to check if expl overflow.
14598 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14599 to check for underflow and overflow.
14600 * math/libm-test.inc: Add exp test.
14602 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14605 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14608 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14610 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14613 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14615 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14616 wrap blocks consisting of several statements.
14618 * sysdeps/generic/math-tests.h: New file.
14619 * sysdeps/i386/fpu/math-tests.h: Likewise.
14620 * math/test-snan.c: Include it.
14621 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14623 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14626 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14627 (__ieee754_j0l): Do not improve calculations using cos of twice
14628 input for inputs above LDBL_MAX / 2.0L.
14629 (__ieee754_y0l): Likewise.
14630 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14631 (__ieee754_j1l): Do not improve calculations using cos of twice
14632 input for inputs above LDBL_MAX / 2.0L.
14633 (__ieee754_y1l): Likewise.
14634 * math/libm-test.inc (j0_test): Add another test.
14635 (j1_test): Likewise.
14636 (y0_test): Likewise.
14637 (y1_test): Likewise.
14638 * sysdeps/i386/fpu/libm-test-ulps: Update.
14640 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14642 * Rules ($(objpfx)bench-%.c): Include code from a C source
14645 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14648 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14649 imaginary part 1.0 and real part less than 0.5 specially.
14650 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14651 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14652 * math/libm-test.inc (cacos_test): Add more tests.
14653 (casin_test): Likewise.
14654 (casinh_test): Likewise.
14655 * sysdeps/i386/fpu/libm-test-ulps: Update.
14656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14658 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14660 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14661 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14663 2013-03-20 Joseph Myers <joseph@codesourcery.com>
14665 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14666 * config.make.in (config-cflags-sse4): Remove variable.
14667 (config-cflags-avx): Likewise.
14668 (config-cflags-sse2avx): Likewise.
14669 (config-cflags-novzeroupper): Likewise.
14670 (config-asflags-i686): Likewise.
14671 (have-mfma4): Likewise.
14672 (have-as-vis3): Likewise.
14674 * configure.in (MIG): Do not AC_SUBST.
14675 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14676 (libc_cv_cc_sse4): Do not AC_SUBST.
14677 (libc_cv_cc_avx): Likewise.
14678 (libc_cv_cc_sse2avx): Likewise.
14679 (libc_cv_cc_novzeroupper): Likewise.
14680 (libc_cv_cc_fma4): Likewise.
14681 (libc_cv_as_i686): Likewise.
14682 (libc_cv_sparc_as_vis3): Likewise.
14683 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14685 (config-asflags-i686): Likewise.
14686 (config-cflags-avx): Likewise.
14687 (config-cflags-sse2avx): Likewise.
14688 (have-mfma4): Likewise.
14689 (config-cflags-novzeroupper): Likewise.
14690 * sysdeps/mach/configure.in (MIG): Likewise.
14691 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14692 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14694 (config-cflags-avx): Likewise.
14695 (config-cflags-sse2avx): Likewise.
14696 (have-mfma4): Likewise.
14697 (config-cflags-novzeroupper): Likewise.
14698 * configure: Regenerated.
14699 * sysdeps/i386/configure: Likewise.
14700 * sysdeps/mach/configure: Likewise.
14701 * sysdeps/sparc/configure: Likewise.
14702 * sysdeps/x86_64/configure: Likewise.
14704 2013-03-20 Roland McGrath <roland@hack.frob.com>
14707 * locale/programs/localedef.c (options): Put N_ translation marker
14708 on argument names, not just descriptions.
14710 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14712 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14714 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
14717 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14719 2013-03-19 Roland McGrath <roland@hack.frob.com>
14721 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14722 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14723 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14724 [!BEFORE_ABORT] (before_abort): New function.
14725 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14726 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14727 (writev_for_fatal): New function.
14728 (WRITEV_FOR_FATAL): New macro; call that.
14729 (backtrace_and_maps): New function.
14730 (BEFORE_ABORT): New macro; call that.
14731 (struct str_list): Type removed.
14732 (__libc_message, __libc_fatal): Functions removed.
14733 Include <sysdeps/posix/libc_fatal.c> instead.
14735 2013-03-19 Joseph Myers <joseph@codesourcery.com>
14737 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14739 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14742 2013-03-19 Andreas Schwab <schwab@suse.de>
14744 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14745 * sysdeps/gnu/configure: Regenerate.
14747 * configure.in: Substitute libc_cv_rtlddir.
14748 * configure: Regenerate.
14749 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14750 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14751 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14752 * elf/Makefile (install-others, CFLAGS-interp.c)
14753 (ldso_install, common-ldd-rewrite): Likewise.
14754 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14755 $(inst_slibdir)/$(rtld-installed-name).
14756 * scripts/rellns-sh: Add -p option.
14757 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14760 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14762 * manual/nptl.texi: Renamed to ...
14763 * manual/threads.texi: ... this.
14764 * manual/Makefile (chapters): Update.
14766 2013-03-18 Roland McGrath <roland@hack.frob.com>
14769 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14770 on argument names, not just descriptions.
14771 * malloc/memusagestat.c (options): Likewise.
14772 * nss/getent.c (options): Likewise.
14774 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
14777 * iconv/iconv_prog.c (options): Put N_ translation marker
14778 on argument names, not just descriptions.
14779 * iconv/iconvconfig.c (options): Likewise.
14781 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
14783 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14784 implementation which is faster on all x86_64 architectures.
14785 Tested on AMD, Intel Nehalem, SNB, IVB.
14786 * sysdeps/x86_64/strnlen.S: Likewise.
14788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14789 Remove all multiarch strlen and strnlen versions.
14790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14791 Remove strlen and strnlen related parts.
14793 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14794 Inline strlen part.
14795 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14797 * sysdeps/x86_64/multiarch/strlen.S: Remove.
14798 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14799 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14800 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14801 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14802 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14804 2013-03-17 Carlos O'Donell <carlos@redhat.com>
14806 * manual/memory.texi (Malloc Tunable Parameters):
14807 Sort parameters alphabetically. Add comments for missing entries.
14809 2013-03-17 David S. Miller <davem@davemloft.net>
14811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14813 2013-03-16 Joseph Myers <joseph@codesourcery.com>
14816 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14817 for arguments at most half maximum finite value.
14818 * math/libm-test.inc (j0_test): Add more tests.
14819 (j1_test): Likewise.
14820 (y0_test): Likewise.
14821 (y1_test): Likewise.
14822 * sysdeps/i386/fpu/libm-test-ulps: Update.
14823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14826 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14827 1 / x and functions P and Q for arguments above 0x1p256L.
14828 (__ieee754_y0l): Likewise.
14829 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14830 (__ieee754_y1l): Likewise.
14831 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14832 (j1_test): Likewise.
14833 (y0_test): Likewise.
14834 (y1_test): Likewise.
14836 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
14838 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14841 2013-03-15 Roland McGrath <roland@hack.frob.com>
14843 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14844 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14845 zero since it's initialized to EXEC_PAGESIZE.
14847 * sysdeps/unix/sysv/linux/ldsodefs.h
14848 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14849 * sysdeps/generic/ldsodefs.h: ... here.
14851 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
14853 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14855 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14857 * math/test-snan.c: Renamed from
14858 sysdeps/powerpc/fpu/test-powerpc-snan.c.
14859 * math/Makefile (tests): Add test-snan.
14860 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14863 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14864 SUFFIX. Initialize qNaN_var with __builtin_nan family of
14866 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
14867 __builtin_nan family of functions.
14868 * math/libm-test.inc (initialize): Initialize qnan_value with
14869 __builtin_nan family of functions.
14870 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14872 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14874 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
14875 storage class. Initialize qNaN_var and sNaN_var with
14876 __builtin_nan and __builtin_nans families of functions,
14879 * math/libm-test.inc (acosh_test): Also test with qNaN input.
14880 (sqrt_test): Remove duplicate test with qNaN input.
14881 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14882 (round_test, signbit_test, significand_test): Note missing +/-Inf
14883 as well as qNaN tests.
14885 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14886 qNaN_var. Fix a few strings, too.
14887 * math/libm-test.inc (nan_value): Rename to qnan_value.
14888 * math/gen-libm-test.pl (%beautify): Adjust to that.
14889 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14890 * math/test-misc.c (main): Likewise.
14891 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14892 to __qnan_bytes, and __qnan_union, respectively.
14893 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14895 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14896 and lqnanval, respectively.
14897 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14898 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14899 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14900 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14902 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14903 * math/test-misc.c (main) [__x86_64__]: Enable test for long
14906 * math/test-misc.c (main): Fix copy'n'pastos.
14907 * misc/tst-efgcvt.c (special): Likewise.
14909 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14910 Remove declarations.
14912 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14914 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14915 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14916 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14917 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14919 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14921 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14922 macro to return vdso values correctly in IFUNC implementations.
14923 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14924 Optimization by using IFUNC.
14926 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14927 Richard Henderson <rth@redhat.com>
14928 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14930 * Makefile.in (bench): New target.
14931 * NEWS: Mention the benchmark framework.
14932 * Rules (bench): Likewise.
14933 (binaries-bench): Generate binaries for functions to
14935 * benchtests/Makefile: New makefile for benchmark tests.
14936 * benchtests/bench-skeleton.c: New skeleton file for benchmark
14938 * benchtests/exp-inputs: New input file for EXP function.
14939 * benchtests/pow-inputs: New input file for POW function.
14940 * scripts/bench.pl: New script to generate source files for
14941 benchmark programs.
14943 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14945 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14946 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14947 computations on mantissa. Use macros for rounding and
14949 (denorm): Likewise.
14950 (__dbl_mp): Likewise.
14951 (add_magnitudes): Likewise.
14952 (sub_magnitudes): Likewise.
14955 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14956 powers of two in terms of TWOPOW macro.
14957 (mp_no): Make type of mantissa as MANTISSA_T.
14958 [!RADIXI]: Define RADIXI.
14959 [!TWO52]: Define TWO52.
14960 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14962 * manual/nptl.texi (cindex): Modify threads to pthreads.
14964 2013-03-15 Joseph Myers <joseph@codesourcery.com>
14966 * sysdeps/x86_64/preconfigure: Regenerated.
14968 2013-03-14 Joseph Myers <joseph@codesourcery.com>
14971 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14973 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
14974 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
14976 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
14977 * math/libm-test.inc (j0_test): Do not allow one spurious
14978 underflow exception.
14979 (y1_test): Likewise.
14981 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14983 * manual/Makefile (chapters): Add nptl.
14984 * manual/debug.texi (Debugging Support): Add link to Threads
14986 * manual/nptl.texi: New file.
14988 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
14990 2013-03-14 Petr Baudis <pasky@ucw.cz>
14992 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
14993 for non-NULL pointer before the memory validity test. Pointed
14994 out by Holger Brunck <holger.brunck@keymile.com>.
14996 2013-03-13 Andreas Schwab <schwab@suse.de>
14998 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15001 2013-03-13 Joseph Myers <joseph@codesourcery.com>
15003 * timezone/zic.c: Update from tzcode 2013b.
15005 2013-03-12 Carlos O'Donell <carlos@redhat.com>
15007 * manual/install.texi (Configuring and compiling):
15008 Mention i686 and i586.
15009 * INSTALL: Regenerate.
15011 2013-03-12 Roland McGrath <roland@hack.frob.com>
15013 * sysdeps/init_array/elf-init.c: New file.
15015 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15016 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15018 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15019 __gmon_start__ as global, but as static with a .preinit_array pointer.
15020 * sysdeps/init_array/gmon-start.c: New file. Use that.
15021 * sysdeps/init_array/crti.S: New file, empty except for comments.
15022 * sysdeps/init_array/crtn.S: Likewise.
15024 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
15026 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15029 Remove Prefer_SSE_for_memop.
15030 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15031 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15032 HAS_PREFER_SSE_FOR_MEMOP.
15033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15036 Remove bzero, memset ifunc support.
15037 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15038 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15039 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15040 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15042 2013-03-11 Andreas Schwab <schwab@suse.de>
15045 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15048 (GLIBC_2.16): Remove pthread_atfork.
15050 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15052 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15053 (ptestcases.h): Likewise.
15055 2013-03-08 Roland McGrath <roland@hack.frob.com>
15057 * Makeconfig ($(common-objpfx)config.status): Depend on
15058 sysdeps/*/preconfigure{,.in} too.
15060 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15062 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15063 (__free_hook): Use void * instead of __malloc_ptr_t.
15064 (__malloc_hook): Likewise.
15065 (__realloc_hook): Likewise.
15066 (__memalign_hook): Likewise.
15067 (__after_morecore_hook): Likewise.
15068 * malloc/arena.c (save_malloc_hook): Likewise.
15069 (save_free_hook): Likewise.
15070 * malloc/hooks.c (malloc_hook_ini): Likewise.
15071 (realloc_hook_ini): Likewise.
15072 (memalign_hook_ini): Likewise.
15073 * malloc/malloc.c (malloc_hook_ini): Likewise.
15074 (realloc_hook_ini): Likewise.
15075 (memalign_hook_ini): Likewise.
15076 (__free_hook): Likewise.
15077 (__malloc_hook): Likewise.
15078 (__realloc_hook): Likewise.
15079 (__memalign_hook): Likewise.
15080 (__libc_malloc): Likewise.
15081 (__libc_free): Likewise.
15082 (__libc_realloc): Likewise.
15083 (__libc_memalign): Likewise.
15084 (__libc_valloc): Likewise.
15085 (__libc_pvalloc): Likewise.
15086 (__libc_calloc): Likewise.
15087 (__posix_memalign): Likewise.
15088 * malloc/morecore.c (__sbrk): Likewise.
15089 (__default_morecore): Likewise.
15091 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15093 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15094 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15095 __malloc_ptrdiff_t.
15097 * malloc/malloc.h (__malloc_size_t): Remove macro.
15098 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15100 (old_memalign_hook): Likewise.
15101 (old_realloc_hook): Likewise.
15102 (struct hdr): Likewise.
15104 (mallochook): Likewise.
15105 (memalignhook): Likewise.
15106 (reallochook): Likewise.
15107 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15108 (tr_old_realloc_hook): Likewise.
15109 (tr_old_memalign_hook): Likewise.
15110 (tr_mallochook): Likewise.
15111 (tr_reallochook): Likewise.
15112 (tr_memalignhook): Likewise.
15114 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15117 default_ldbl_pack and using as default implementation.
15118 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15120 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15121 redundant definition.
15122 (ldbl_insert_mantissa): Likewise.
15123 (ldbl_canonicalize): Likewise.
15124 (ldbl_nearbyint): Likewise.
15125 (ldbl_pack): Rename to ldbl_pack_ppc.
15126 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15127 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15128 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15130 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15133 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15134 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15135 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15137 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15138 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15139 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15141 2013-03-07 Andreas Jaeger <aj@suse.de>
15143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15146 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15148 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15149 Include mpa.h and declare __MPEXP.
15150 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15151 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15152 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15153 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15154 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15155 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15156 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15158 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15159 (__slowpow): Use long double EXPL and LOGL functions to
15161 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15162 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15163 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15164 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15165 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15166 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15169 intermediate variable to calculate exponent.
15171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15175 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15176 [!NO__SQR]: Define __sqr.
15177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15178 and NO__SQR. Remove all code except __mul and __sqr. Include
15179 sysdeps/ieee754/dbl-64/mpa.c.
15180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15183 * posix/Makefile (tests): Add tst-pathconf.
15184 * posix/tst-pathconf.c: New test case.
15185 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15187 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15189 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
15191 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15193 2013-03-06 Andreas Jaeger <aj@suse.de>
15195 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15196 definition via __MAP_ANONYMOUS.
15198 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15199 it's not part of Linux headers.
15201 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15202 (MAP_HUGE_MASK): Define.
15204 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15206 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15209 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15210 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15212 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15213 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15215 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15217 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15218 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15219 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15220 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15221 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15222 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15224 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15228 Handle f2fs and efivarfs.
15230 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15233 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15234 (EFIVARFS_MAGIC): Add.
15235 (F2FS_LINK_MAX): Add.
15237 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15239 * stdio-common/vfprintf.c: Replace __builtin_expect with
15242 2013-03-06 Joseph Myers <joseph@codesourcery.com>
15245 * sysdeps/generic/bp-sym.h: Remove file.
15246 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15247 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15248 <bp-sym.h> and <bp-asm.h>.
15249 (__longjmp): Don't use BP_SYM.
15250 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15252 (memcpy): Don't use BP_SYM.
15253 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15254 <bp-sym.h> and <bp-asm.h>.
15255 (memcpy): Don't use BP_SYM.
15256 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15258 (memcpy): Don't use BP_SYM.
15259 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15261 (memset): Don't use BP_SYM.
15262 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15263 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15264 (__bzero): Don't use BP_SYM.
15265 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15266 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15267 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15268 <bp-sym.h> and <bp-asm.h>.
15269 (memcmp): Don't use BP_SYM. Remove comment about bounded
15271 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15272 <bp-sym.h> and <bp-asm.h>.
15273 (memcpy): Don't use BP_SYM.
15274 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15275 <bp-sym.h> and <bp-asm.h>.
15276 (memset): Don't use BP_SYM.
15277 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15278 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15279 (__bzero): Don't use BP_SYM.
15280 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15281 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15282 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15283 <bp-sym.h> and <bp-asm.h>.
15284 (strncmp): Don't use BP_SYM. Remove comment about bounded
15286 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15287 <bp-sym.h> and <bp-asm.h>.
15288 (memcpy): Don't use BP_SYM.
15289 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15290 <bp-sym.h> and <bp-asm.h>.
15291 (memset): Don't use BP_SYM.
15292 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15293 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15294 (__bzero): Don't use BP_SYM.
15295 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15296 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15297 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15298 <bp-sym.h> and <bp-asm.h>.
15299 (__memchr): Don't use BP_SYM.
15300 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15301 <bp-sym.h> and <bp-asm.h>.
15302 (memcmp): Don't use BP_SYM. Remove comment about bounded
15304 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15305 <bp-sym.h> and <bp-asm.h>.
15306 (memcpy): Don't use BP_SYM.
15307 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15308 <bp-sym.h> and <bp-asm.h>.
15309 (__mempcpy): Don't use BP_SYM.
15310 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15311 <bp-sym.h> and <bp-asm.h>.
15312 (__memrchr): Don't use BP_SYM.
15313 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15314 <bp-sym.h> and <bp-asm.h>.
15315 (memset): Don't use BP_SYM.
15316 (__bzero): Likewise.
15317 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15318 <bp-sym.h> and <bp-asm.h>.
15319 (__rawmemchr): Don't use BP_SYM.
15320 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15321 <bp-sym.h> and <bp-asm.h>.
15322 (__STRCMP): Don't use BP_SYM.
15323 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15324 <bp-sym.h> and <bp-asm.h>.
15325 (strchr): Don't use BP_SYM.
15326 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15327 <bp-sym.h> and <bp-asm.h>.
15328 (__strchrnul): Don't use BP_SYM.
15329 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15330 <bp-sym.h> and <bp-asm.h>.
15331 (strlen): Don't use BP_SYM.
15332 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15333 <bp-sym.h> and <bp-asm.h>.
15334 (strncmp): Don't use BP_SYM. Remove comment about bounded
15336 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15337 <bp-sym.h> and <bp-asm.h>.
15338 (__strnlen): Don't use BP_SYM.
15339 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15340 <bp-sym.h> and <bp-asm.h>.
15341 (__GI__setjmp): Don't use BP_SYM.
15342 (_setjmp): Likewise.
15343 (__sigsetjmp): Likewise.
15344 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15345 (L(start_addresses)): Don't use BP_SYM.
15346 (_start): Likewise.
15347 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15349 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15350 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15351 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15352 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15353 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15355 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15356 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15357 about bounded pointers.
15358 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15359 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15360 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15362 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15363 about bounded pointers. Remove GKM FIXME comments.
15364 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15365 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15367 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15368 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15369 Remove GKM FIXME comments.
15370 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15371 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15372 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15374 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15375 about bounded pointers. Remove GKM FIXME comment.
15376 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15378 (strncmp): Don't use BP_SYM. Remove comment about bounded
15380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15381 <bp-sym.h> and <bp-asm.h>.
15382 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15384 <bp-sym.h> and <bp-asm.h>.
15385 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15388 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15390 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15393 2013-03-05 David S. Miller <davem@davemloft.net>
15395 * po/es.po: Update from translation team.
15397 2013-03-05 Andreas Jaeger <aj@suse.de>
15399 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15400 <bits/mman-linux.h>.
15401 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15403 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15404 <bits/mman-linux.h> to end of file.
15405 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15407 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15408 <bits/mman-linux.h> to end of file.
15409 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15411 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15412 <bits/mman-linux.h> to end of file.
15414 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15415 (MCL_CURRENT, MCL_FUTURE): Define here.
15417 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15420 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15422 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15424 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15426 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15427 fourth parameter needed for rt_sigprocmask syscall.
15428 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15429 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15430 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15431 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15432 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15433 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15435 2013-03-04 Joseph Myers <joseph@codesourcery.com>
15438 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15439 comment about bounded pointers.
15440 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15441 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15443 2013-03-04 Andreas Jaeger <aj@suse.de>
15445 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15446 common definitions.
15448 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15449 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15450 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15451 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15452 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15453 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15455 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15458 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15459 __ieee754_sqrl instead of __sqrl.
15461 2013-03-01 Joseph Myers <joseph@codesourcery.com>
15463 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15464 * sysdeps/powerpc/fpu_control.h: ... here.
15465 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15466 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15467 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15468 * sysdeps/powerpc/bits/mathinline.h: ... here.
15470 2013-03-01 Roland McGrath <roland@hack.frob.com>
15472 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15473 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15474 to just [NEED_DL_SYSINFO_DSO].
15475 * elf/dl-support.c: Likewise.
15476 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15477 * elf/rtld.c (dl_main): Likewise.
15478 * elf/setup-vdso.h (setup_vdso): Likewise.
15479 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15480 * sysdeps/unix/sysv/linux/dl-sysdep.c
15481 (_dl_discover_osversion): Likewise.
15483 2013-03-01 Carlos O'Donell <carlos@redhat.com>
15485 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15486 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15488 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15490 * NEWS: Mention libm performance improvements and non-x86 PI
15493 * csu/libc-start.c (__pthread_initialize_minimal): Change
15494 function arguments.
15495 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15497 2013-02-28 Joseph Myers <joseph@codesourcery.com>
15500 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15501 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15502 <bp-sym.h> and <bp-asm.h>.
15503 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15504 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15506 (memcpy): Don't use BP_SYM.
15507 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15509 (__mpn_add_n): Don't use BP_SYM.
15510 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15511 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15513 (__mpn_addmul_1): Don't use BP_SYM.
15514 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15515 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15517 (_setjmp): Don't use BP_SYM.
15518 (__novmx_setjmp): Likewise.
15519 (__GI__setjmp): Likewise.
15520 (__vmx_setjmp): Likewise.
15521 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15523 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15524 (__bzero): Don't use BP_SYM.
15525 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15526 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15527 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15528 <bp-sym.h> and <bp-asm.h>.
15529 (memcpy): Don't use BP_SYM.
15530 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15531 <bp-sym.h> and <bp-asm.h>.
15532 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15533 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15534 <bp-sym.h> and <bp-asm.h>.
15535 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15536 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15538 (__mpn_lshift): Don't use BP_SYM.
15539 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15540 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15542 (memset): Don't use BP_SYM.
15543 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15544 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15545 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15547 (__mpn_mul_1): Don't use BP_SYM.
15548 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15549 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15550 <bp-sym.h> and <bp-asm.h>.
15551 (memcmp): Don't use BP_SYM.
15552 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15553 <bp-sym.h> and <bp-asm.h>.
15554 (memcpy): Don't use BP_SYM.
15555 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15556 <bp-sym.h> and <bp-asm.h>.
15557 (memset): Don't use BP_SYM.
15558 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15559 <bp-sym.h> and <bp-asm.h>.
15560 (strncmp): Don't use BP_SYM.
15561 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15562 <bp-sym.h> and <bp-asm.h>.
15563 (memcpy): Don't use BP_SYM.
15564 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15565 <bp-sym.h> and <bp-asm.h>.
15566 (memset): Don't use BP_SYM.
15567 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15568 <bp-sym.h> and <bp-asm.h>.
15569 (__memchr): Don't use BP_SYM.
15570 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15571 <bp-sym.h> and <bp-asm.h>.
15572 (memcmp): Don't use BP_SYM.
15573 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15574 <bp-sym.h> and <bp-asm.h>.
15575 (memcpy): Don't use BP_SYM.
15576 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15577 <bp-sym.h> and <bp-asm.h>.
15578 (__mempcpy): Don't use BP_SYM.
15579 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15580 <bp-sym.h> and <bp-asm.h>.
15581 (__memrchr): Don't use BP_SYM.
15582 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15583 <bp-sym.h> and <bp-asm.h>.
15584 (memset): Don't use BP_SYM.
15585 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15586 <bp-sym.h> and <bp-asm.h>.
15587 (__rawmemchr): Don't use BP_SYM.
15588 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15589 <bp-sym.h> and <bp-asm.h>.
15590 (__STRCMP): Don't use BP_SYM.
15591 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15592 <bp-sym.h> and <bp-asm.h>.
15593 (strchr): Don't use BP_SYM.
15594 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15595 <bp-sym.h> and <bp-asm.h>.
15596 (__strchrnul): Don't use BP_SYM.
15597 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15598 <bp-sym.h> and <bp-asm.h>.
15599 (strlen): Don't use BP_SYM.
15600 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15601 <bp-sym.h> and <bp-asm.h>.
15602 (strncmp): Don't use BP_SYM.
15603 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15604 <bp-sym.h> and <bp-asm.h>.
15605 (__strnlen): Don't use BP_SYM.
15606 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15608 (__mpn_rshift): Don't use BP_SYM.
15609 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15610 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15611 <bp-sym.h> and <bp-asm.h>.
15612 (__sigsetjmp): Don't use BP_SYM.
15613 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15614 (L(start_addresses)): Don't use BP_SYM.
15615 (_start): Likewise.
15616 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15618 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15619 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15620 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15621 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15623 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15624 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15625 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15626 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15628 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15630 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15631 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15633 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15635 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15636 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15637 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15639 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15641 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15643 (strncmp): Don't use BP_SYM,
15644 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15646 (__mpn_sub_n): Don't use BP_SYM.
15647 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15648 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15650 (__mpn_submul_1): Don't use BP_SYM.
15651 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15653 <bp-sym.h> and <bp-asm.h>.
15654 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15656 <bp-sym.h> and <bp-asm.h>.
15657 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15660 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15663 Use ZK to minimize writes to Z.
15664 (sub_magnitudes): Simplify code a bit.
15665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15666 Use ZK to minimize writes to Z.
15667 (sub_magnitudes): Simplify code a bit.
15669 2013-02-27 Roland McGrath <roland@hack.frob.com>
15671 * csu/gmon-start.c: Add special exception to license text.
15673 2013-02-27 Richard Henderson <rth@redhat.com>
15675 * scripts/config.guess: Update from config.git.
15676 * scripts/config.sub: Likewise.
15678 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15680 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15682 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15684 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15686 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15688 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15690 2013-02-26 Roland McGrath <roland@hack.frob.com>
15692 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15693 [$(build-shared = yes].
15695 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15697 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15698 (__mul): Reduce iterations for calculating mantissa.
15700 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15702 (__mpranred): Likewise.
15705 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15706 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15708 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15710 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15711 Define __attribute__.
15713 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15715 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15717 * posix/regex_internal.h (__attribute): Remove.
15718 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15719 (re_string_context_at): Likewise.
15720 (bitset_not): Use __attribute__ and mark function as possibly
15722 (bitset_merge): Likewise.
15723 (bitset_mask): Likewise.
15724 (re_string_char_size_at): Likewise.
15725 (re_string_wchar_at): Likewise.
15726 (re_string_elem_size_at): Likewise.
15728 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15730 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15734 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15738 (denorm): Likewise.
15739 (__dbl_mp): Likewise.
15740 (add_magnitudes): Likewise.
15741 (sub_magnitudes): Likewise.
15745 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15748 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15751 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15755 up changes with default code.
15756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15759 2013-02-24 Allan McRae <allan@archlinux.org>
15761 * manual/socket.texi (The Internet Namespace): Order menu items
15762 to match that in the file.
15764 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15765 node listing of the info page menu.
15767 2013-02-21 Joseph Myers <joseph@codesourcery.com>
15770 * sysdeps/i386/bp-asm.h: Remove file.
15771 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15772 (PARMS): Do not use macros from bp-asm.h.
15776 (__mpn_add_n): Do not use BP_SYM
15777 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15779 (PARMS): Do not use macros from bp-asm.h.
15782 (__mpn_addmul_1): Do not use BP_SYM
15783 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15785 (PARMS): Do not use macros from bp-asm.h.
15786 (SIGMSK): Likewise.
15787 (_setjmp): Likewise. Do not use BP_SYM.
15788 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15790 (PARMS): Do not use macros from bp-asm.h.
15791 (SIGMSK): Likewise.
15792 (setjmp): Likewise. Do not use BP_SYM.
15793 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15795 (PARMS): Do not use macros from bp-asm.h.
15796 (__frexp): Do not use BP_SYM.
15798 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15800 (PARMS): Do not use macros from bp-asm.h.
15801 (__frexpf): Do not use BP_SYM.
15802 (frexpf): Likewise.
15803 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15805 (PARMS): Do not use macros from bp-asm.h.
15806 (__frexpl): Do not use BP_SYM.
15807 (frexpl): Likewise.
15808 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15810 (PARMS): Do not use macros from bp-asm.h.
15811 (__remquo): Do not use BP_SYM.
15812 (remquo): Likewise.
15813 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15815 (PARMS): Do not use macros from bp-asm.h.
15816 (__remquof): Do not use BP_SYM.
15817 (remquof): Likewise.
15818 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15820 (PARMS): Do not use macros from bp-asm.h.
15821 (__remquol): Do not use BP_SYM.
15822 (remquol): Likewise.
15823 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15825 (PARMS): Do not use macros from bp-asm.h.
15828 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
15829 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15831 (PARMS): Do not use macros from bp-asm.h.
15832 (strlen): Do not use BP_SYM.
15833 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15835 (PARMS): Do not use macros from bp-asm.h.
15839 (__mpn_add_n): Do not use BP_SYM.
15840 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15842 (PARMS): Do not use macros from bp-asm.h.
15845 (__mpn_addmul_1): Do not use BP_SYM.
15846 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15849 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15851 (PARMS): Do not use macros from bp-asm.h.
15854 (__mpn_lshift): Do not use BP_SYM.
15855 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15857 (PARMS): Do not use macros from bp-asm.h.
15861 (memcpy): Likewise. Do not use BP_SYM.
15862 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15863 libc_hidden_def and weak_alias.
15864 (mempcpy): Do not use BP_SYM in weak_alias.
15865 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15867 (PARMS): Do not use macros from bp-asm.h.
15870 [!BZERO_P] (CHR): Likewise.
15871 (memset): Likewise. Do not use BP_SYM.
15872 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15874 (PARMS): Do not use macros from bp-asm.h.
15877 (__mpn_mul_1): Do not use BP_SYM.
15878 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15880 (PARMS): Do not use macros from bp-asm.h.
15883 (__mpn_rshift): Do not use BP_SYM.
15884 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15886 (PARMS): Do not use macros from bp-asm.h.
15889 (strchr): Likewise. Do not use BP_SYM.
15890 (index): Do not use BP_SYM in weak_alias.
15891 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15893 (PARMS): Do not use macros from bp-asm.h.
15896 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
15897 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15899 (PARMS): Do not use macros from bp-asm.h.
15900 (strlen): Do not use BP_SYM.
15901 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15903 (PARMS): Do not use macros from bp-asm.h.
15907 (__mpn_sub_n): Do not use BP_SYM.
15908 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15910 (PARMS): Do not use macros from bp-asm.h.
15913 (__mpn_submul_1): Do not use BP_SYM.
15914 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15916 (PARMS): Do not use macros from bp-asm.h.
15920 (__mpn_add_n): Do not use BP_SYM.
15921 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15924 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15926 (PARMS): Do not use macros from bp-asm.h.
15929 (memcmp): Do not use BP_SYM.
15930 (bcmp): Do not use BP_SYM in weak_alias.
15931 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15933 (PARMS): Do not use macros from bp-asm.h.
15937 (memcpy): Likewise. Do not use BP_SYM.
15938 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15940 (PARMS): Do not use macros from bp-asm.h.
15944 (memmove): Likewise. Do not use BP_SYM.
15945 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15947 (PARMS): Do not use macros from bp-asm.h.
15951 (__mempcpy): Likewise. Do not use BP_SYM.
15952 (mempcpy): Do not use BP_SYM in weak_alias.
15953 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15955 (PARMS): Do not use macros from bp-asm.h.
15958 [!BZERO_P] (CHR): Likewise.
15959 (memset): Likewise. Do not use BP_SYM.
15960 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15962 (PARMS): Do not use macros from bp-asm.h.
15964 (strcmp): Do not use BP_SYM.
15965 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15967 (PARMS): Do not use macros from bp-asm.h.
15970 [USE_AS_STRTOK_R] (SAVE): Likewise.
15971 (FUNCTION): Likewise. Do not use BP_SYM.
15972 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
15974 (strtok_r): Likewise.
15975 (__GI___strtok_r): Likewise.
15976 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15977 (PARMS): Do not use macros from bp-asm.h.
15980 (__mpn_lshift): Do not use BP_SYM.
15981 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15982 (PARMS): Do not use macros from bp-asm.h.
15985 (__memchr): Do not use BP_SYM.
15986 (memchr): Do not use BP_SYM in weak_alias.
15987 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15988 (PARMS): Do not use macros from bp-asm.h.
15991 (memcmp): Do not use BP_SYM.
15992 (bcmp): Do not use BP_SYM in weak_alias.
15993 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
15994 (PARMS): Do not use macros from bp-asm.h.
15997 (__mpn_mul_1): Do not use BP_SYM.
15998 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16000 (PARMS): Do not use macros from bp-asm.h.
16003 (__rawmemchr): Do not use BP_SYM.
16004 (rawmemchr): Do not use BP_SYM in weak_alias.
16005 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16006 (PARMS): Do not use macros from bp-asm.h.
16009 (__mpn_rshift): Do not use BP_SYM.
16010 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16011 (PARMS): Do not use macros from bp-asm.h.
16012 (SIGMSK): Likewise.
16013 (__sigsetjmp): Likewise. Do not use BP_SYM.
16014 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16015 (_start): Do not use BP_SYM.
16016 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16017 (PARMS): Do not use macros from bp-asm.h.
16020 (__stpcpy): Likewise. Do not use BP_SYM.
16021 (stpcpy): Do not use BP_SYM in weak_alias.
16022 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16024 (PARMS): Do not use macros from bp-asm.h.
16028 (__stpncpy): Likewise. Do not use BP_SYM.
16029 (stpncpy): Do not use BP_SYM in weak_alias.
16030 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16031 (PARMS): Do not use macros from bp-asm.h.
16034 (strchr): Likewise. Do not use BP_SYM.
16035 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16037 (PARMS): Do not use macros from bp-asm.h.
16040 (__strchrnul): Likewise. Do not use BP_SYM.
16041 (strchrnul): Do not use BP_SYM in weak_alias.
16042 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16044 (PARMS): Do not use macros from bp-asm.h.
16046 (strcspn): Do not use BP_SYM.
16047 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16049 (PARMS): Do not use macros from bp-asm.h.
16052 (strpbrk): Likewise. Do not use BP_SYM.
16053 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16055 (PARMS): Do not use macros from bp-asm.h.
16058 (strrchr): Likewise. Do not use BP_SYM.
16059 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16060 (PARMS): Do not use macros from bp-asm.h.
16062 (strspn): Do not use BP_SYM.
16063 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16064 (PARMS): Do not use macros from bp-asm.h.
16068 (FUNCTION): Likewise. Do not use BP_SYM.
16069 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16071 (strtok_r): Likewise.
16072 (__GI___strtok_r): Likewise.
16073 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16074 (PARMS): Do not use macros from bp-asm.h.
16078 (__mpn_sub_n): Do not use BP_SYM.
16079 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16081 (PARMS): Do not use macros from bp-asm.h.
16084 (__mpn_submul_1): Do not use BP_SYM.
16085 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16087 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16089 (PARMS): Do not use macros from bp-asm.h.
16094 (__clone): Do not use BP_SYM.
16095 (clone): Do not use BP_SYM in weak_alias.
16096 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16098 (PARMS): Do not use macros from bp-asm.h.
16100 (__mmap64): Do not use BP_SYM.
16101 (mmap64): Do not use BP_SYM in weak_alias.
16102 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16103 <bp-sym.h> and <bp-asm.h>.
16104 (PARMS): Do not use macros from bp-asm.h.
16105 (__posix_fadvise64_l64): Do not use BP_SYM.
16106 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16107 (PARMS): Do not use macros from bp-asm.h.
16109 (semtimedop): Do not use BP_SYM.
16110 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16113 2013-02-21 Allan McRae <allan@archlinux.org>
16115 * manual/message.texi (Charset conversion in gettext):
16116 Move @end statement to beginning of line.
16118 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16125 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16126 (denorm): Likewise.
16127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16130 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16132 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16133 tail-call to the resolved function if pltexit isn't needed.
16135 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16138 or Y being zero as being unlikely.
16139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16142 2013-02-20 Carlos O'Donell <carlos@redhat.com>
16144 * manual/nss.texi (System Databases and Name Service Switch):
16145 Remove frobnicate @pxref.
16147 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16149 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16150 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16152 2013-02-20 Petr Machata <pmachata@redhat.com>
16154 * elf/elf.h (R_ARM_TARGET1): New macro.
16155 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16156 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16157 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16158 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16159 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16160 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16161 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16162 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16163 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16164 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16165 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16166 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16167 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16168 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16169 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16170 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16171 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16172 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16173 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16174 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16175 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16176 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16177 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16178 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16179 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16180 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16181 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16182 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16183 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16184 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16185 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16186 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16187 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16188 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16189 (R_ARM_THM_GOT_BREL12): Likewise.
16190 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16191 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16192 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16193 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16194 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16195 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16196 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16197 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16198 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16200 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16202 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16203 __attribute_used__ to __attribute__ ((unused)).
16205 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16207 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16210 comment formatting.
16211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16213 2013-02-19 Joseph Myers <joseph@codesourcery.com>
16216 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16218 (ENTER): Remove both macro definitions.
16220 (CHECK_BOUNDS_LOW): Likewise.
16221 (CHECK_BOUNDS_HIGH): Likewise.
16222 (CHECK_BOUNDS_BOTH): Likewise.
16223 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16224 (RETURN_BOUNDED_POINTER): Likewise.
16225 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16226 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16227 (POP_ERRNO_LOCATION_RETURN): Likewise.
16228 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16229 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16230 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16232 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16233 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16234 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16235 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16236 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16237 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16238 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16239 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16240 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16241 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16242 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16243 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16244 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16245 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16247 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16248 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16250 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16251 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16252 * sysdeps/i386/i586/memset.S (memset): Likewise.
16253 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16254 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16255 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16257 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16258 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16259 Change uses of L(2) to L(out).
16260 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16261 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16262 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16263 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16264 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16266 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16267 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16269 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16270 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16271 (RETURN): Do not use macro LEAVE.
16272 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16273 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16274 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16275 * sysdeps/i386/i686/memset.S (memset): Likewise.
16276 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16277 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16278 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16279 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16281 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16282 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16283 L(1_2) and L(1_3) into L(1).
16284 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16285 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16286 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16287 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16288 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16289 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16290 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16291 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16292 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16294 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16295 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16296 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16297 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16298 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16299 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16300 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16301 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16302 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16303 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16304 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16305 * sysdeps/i386/strspn.S (strspn): Likewise.
16306 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16308 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16309 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16310 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16311 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16312 L(1_3) into L(1_1).
16313 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16314 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16315 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16317 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16319 2013-02-19 Jakub Jelinek <jakub@redhat.com>
16321 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16324 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16326 * math/atest-exp.c (exp_mpn): Remove ROUND.
16327 * math/atest-exp2.c (exp_mpn): Likewise.
16328 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16330 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16331 * stdlib/tst-tls-atexit-lib.c: Likewise.
16332 * stdlib/tst-tls-atexit.c: Likewise.
16334 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16336 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16337 and __attribute_alloc_size__.
16339 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16341 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16342 __attribute_alloc_size__.
16343 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16344 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16346 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16348 * include/programs/xmalloc.h: New file.
16349 * catgets/gencat.c: Include it.
16350 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16351 * elf/pldd.c: Likewise.
16352 * iconv/iconv_charmap.c: Likewise.
16353 * iconv/iconvconfig.c: Likewise.
16354 * iconv/strtab.c: Likewise.
16355 * locale/programs/locale.c: Likewise.
16356 * locale/programs/localedef.h: Likewise.
16357 * locale/programs/simple-hash.c: Likewise.
16358 * nscd/nscd.h: Likewise.
16359 * nss/makedb.c: Likewise.
16360 * sysdeps/generic/ldconfig.h: Likewise.
16362 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16364 * Versions.def: Add GLIBC_2.18.
16365 * include/link.h (struct link_map): New member l_tls_dtor_count.
16366 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16367 (__call_tls_dtors): Likewise.
16368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16369 __cxa_thread_atexit_impl.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16386 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16387 (tests): Add test case tst-tls-atexit.
16388 (modules-names): Add shared library for tst-tls-atexit.
16389 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16390 (GLIBC_PRIVATE): Add __call_tls_dtors.
16391 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16393 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16394 * stdlib/tst-tls-atexit.c: New test case.
16395 * stdlib/tst-tls-atexit-lib.c: New test case.
16397 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16399 * elf/Versions (ld): Add _dl_find_dso_for_object.
16400 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16401 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16402 (dl_open_worker): Use _dl_find_dso_for_object.
16403 * elf/dl-sym.c (do_sym): Likewise.
16404 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16406 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16408 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16409 Syntactic changes only.
16410 (_dl_runtime_profile): Do a tail-call to the resolved function.
16412 2013-02-17 Joseph Myers <joseph@codesourcery.com>
16415 * sysdeps/x86_64/bp-asm.h: Remove file.
16416 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16417 <bp-sym.h> and <bp-asm.h>.
16418 (__clone): Do not use BP_SYM.
16419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16420 <bp-sym.h> and <bp-asm.h>.
16421 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16422 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16424 (_setjmp): Do not use BP_SYM.
16425 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16427 (setjmp): Do not use BP_SYM.
16428 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16430 (mempcpy): Do not use BP_SYM in weak_alias.
16431 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16433 (strchr): Do not use BP_SYM.
16434 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16436 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16437 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16438 (_start): Do not use BP_SYM.
16439 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16441 (strcat): Do not use BP_SYM.
16442 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16444 (STRCMP): Do not use BP_SYM.
16445 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16447 (STRCPY): Do not use BP_SYM.
16448 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16450 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16452 (FUNCTION): Do not use BP_SYM.
16453 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16455 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16457 2013-02-17 Andreas Jaeger <aj@suse.de>
16459 * time/Versions: Sort entries.
16460 * string/Versions: Likewise.
16461 * resolv/Versions: Likewise.
16462 * posix/Versions: Likewise.
16463 * iconv/Versions: Likewise.
16464 * elf/Versions: Likewise.
16465 * wcsmbs/Versions: Likewise.
16467 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16469 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16470 loop termination condition.
16472 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16473 variable to calculate EZ.
16476 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16477 the lower precision input.
16479 2013-02-15 Joseph Myers <joseph@codesourcery.com>
16482 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16483 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16484 (run-via-rtld-prefix): Do not handle %-bp tests.
16485 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16486 (all-object-suffixes): Remove .ob.
16487 (bppfx): Remove variable.
16488 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16489 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16490 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16491 [$(build-bounded) = yes] (libtype.ob): Likewise.
16492 * Makerules (elide-routines.ob): Remove variable.
16493 (do-tests-clean): Do not handle *-bp.out.
16494 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16495 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16496 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16497 (tests): Do not include $(tests-bp.out).
16498 (xtests): Do not include $(xtests-bp.out).
16499 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16500 [$(build-bounded) = yes] ($(addprefix
16501 $(objpfx),$(binaries-bounded))): Remove rule.
16502 ($(objpfx)%-bp.out): Remove rule.
16503 * config.make.in (build-bounded): Remove variable.
16504 * crypt/Makefile [$(build-bounded) = yes]
16505 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16506 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16507 append to variable.
16508 [$(build-bounded) = yes] (install-lib): Likewise.
16509 [$(build-bounded) = yes] (generated): Likewise.
16510 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16512 * intl/Makefile [$(build-bounded) = yes]
16513 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16514 * math/Makefile [$(build-bounded) = yes]
16515 ($(tests:%=$(objpfx)%-bp): Likewise.
16516 * misc/Makefile [$(build-bounded) = yes]
16517 ($(objpfx)tst-tsearch-bp): Likewise.
16518 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16519 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16521 * string/Makefile (o-objects.ob): Remove variable.
16522 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16523 (CFLAGS-.ob): Remove variable.
16524 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16525 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16526 both definitions of variable.
16527 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16528 (ASFLAGS-.ob): Remove variable.
16530 2013-02-14 Joseph Myers <joseph@codesourcery.com>
16533 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16534 Remove __BOUNDED_POINTERS__ from condition.
16535 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16536 * string/bits/string2.h [!__NO_STRING_INLINES &&
16537 !__BOUNDED_POINTERS__]: Likewise.
16538 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16540 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16541 Remove conditional code.
16542 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16543 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16544 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16548 * csu/libc-start.c: Do not include <bp-sym.h>.
16549 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16550 * elf/dl-open.c: Do not include <bp-sym.h>.
16551 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16552 * math/fegetenv.c: Do not include <bp-sym.h>.
16553 (fegetenv): Do not use BP_SYM in versioned symbols.
16554 * nptl/sysdeps/pthread/bits/libc-lockP.h
16555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16558 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16560 (__pthread_mutex_destroy): Likewise.
16561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16562 (__pthread_mutex_lock): Likewise.
16563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16564 (__pthread_mutex_trylock): Likewise.
16565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16566 (__pthread_mutex_unlock): Likewise.
16567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16568 (__pthread_mutexattr_init): Likewise.
16569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16570 (__pthread_mutexattr_destroy): Likewise.
16571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16572 (__pthread_mutexattr_settype): Likewise.
16573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16574 (__pthread_rwlock_init): Likewise.
16575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16576 (__pthread_rwlock_destroy): Likewise.
16577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16578 (__pthread_rwlock_rdlock): Likewise.
16579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16580 (__pthread_rwlock_tryrdlock): Likewise.
16581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16582 (__pthread_rwlock_wrlock): Likewise.
16583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16584 (__pthread_rwlock_trywrlock): Likewise.
16585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16586 (__pthread_rwlock_unlock): Likewise.
16587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16588 (__pthread_key_create): Likewise.
16589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16590 (__pthread_setspecific): Likewise.
16591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16592 (__pthread_getspecific): Likewise.
16593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16596 (_pthread_cleanup_push_defer): Likewise.
16597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16598 (_pthread_cleanup_pop_restore): Likewise.
16599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16600 (pthread_setcancelstate): Likewise.
16601 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16603 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16604 (memchr): Do not use BP_SYM in weak_alias.
16605 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16606 (fegetenv): Do not use BP_SYM in versioned symbols.
16607 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16608 (fesetenv): Do not use BP_SYM in versioned symbols.
16609 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16610 (feupdateenv): Do not use BP_SYM in versioned symbols.
16611 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16612 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16613 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16614 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16615 (open64): Do not use BP_SYM in weak_alias.
16616 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16617 (fegetenv): Do not use BP_SYM in versioned symbols.
16618 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16619 (fesetenv): Do not use BP_SYM in versioned symbols.
16620 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16621 (feupdateenv): Do not use BP_SYM in versioned symbols.
16622 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16623 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16624 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16625 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16626 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16627 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16628 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16630 (__libc_start_main): Do not use BP_SYM.
16632 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16635 redundant return line.
16637 (denorm): Likewise.
16638 (dbl_mp): Likewise.
16639 (sub_magnitudes): Likewise.
16645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16647 (denorm): Likewise.
16648 (dbl_mp): Likewise.
16649 (sub_magnitudes): Likewise.
16656 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16658 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16659 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16662 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16663 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16665 of __mul for squares.
16666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16670 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16671 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16673 2013-02-13 Joseph Myers <joseph@codesourcery.com>
16676 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16678 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16679 prototype or function definition. Rename ubp_* variables and
16680 parameters. Remove argv definitions conditional on
16681 [__BOUNDED_POINTERS__].
16682 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16683 * elf/dl-runtime.c (_dl_fixup): Likewise.
16684 * include/set-hooks.h (RUN_HOOK): Likewise.
16685 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16687 * string/strcpy.c (strcpy): Do not use __unbounded.
16688 * sysdeps/generic/frame.h (struct layout): Likewise.
16689 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16690 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16691 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16692 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16693 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16694 (__backtrace): Likewise.
16695 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16697 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16698 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16699 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16701 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16702 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16703 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16704 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16705 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16706 Do not use __unbounded.
16707 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16708 Rename __unboundedrlimits parameter to rlimits in prototype.
16709 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16710 Do not use __unbounded.
16711 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16712 not use __ptrvalue.
16713 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16714 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16715 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16716 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16717 __ptrvalue or __unbounded.
16718 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16719 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16721 (__new_msgctl): Do not use __ptrvalue.
16722 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16724 (__libc_msgrcv): Do not use __ptrvalue.
16725 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16726 startup_info): Do not use __unbounded.
16727 (__libc_start_main): Likewise. Rename ubp_* variables and
16728 parameters. Remove argv definitions conditional on
16729 [__BOUNDED_POINTERS__].
16730 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16732 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16734 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16736 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16738 (__new_shmctl): Do not use __ptrvalue.
16739 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16740 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16742 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16743 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16744 (__libc_sigaction): Likewise.
16745 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16746 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16748 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16750 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
16752 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16754 * string/mempcpy.c: Implement by calling memcpy.
16756 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16763 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16764 values in the mantissa.
16766 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16767 minimize writes to Z.
16768 (sub_magnitudes): Simplify code a bit.
16770 2013-02-12 Roland McGrath <roland@hack.frob.com>
16772 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16773 from the message. The linker prefixes all warnings with that already.
16775 2013-02-12 Andreas Schwab <schwab@suse.de>
16778 * posix/regexec.c (extend_buffers): Add parameter min_len.
16779 (check_matching): Pass minimum needed length.
16780 (clean_state_log_if_needed): Likewise.
16781 (get_subexp): Likewise.
16782 * posix/Makefile (tests): Add bug-regex34.
16783 (bug-regex34-ENV): Define.
16784 * posix/bug-regex34.c: New file.
16787 * posix/regcomp.c (parse_bracket_exp): When looking up collating
16788 elements compare against the byte sequence of it, not its name.
16789 * posix/Makefile (tests): Add bug-regex35.
16790 (bug-regex35-ENV): Define.
16791 * posix/bug-regex35.c: New file.
16793 2013-02-11 Tom de Vries <tom@codesourcery.com>
16795 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
16797 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16798 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16799 (CHECK_EOL): Add undef.
16801 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
16803 * bits/stdlib-bsearch.h: New file.
16804 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16805 * stdlib/stdlib.h: Likewise.
16807 2013-02-11 Roland McGrath <roland@hack.frob.com>
16809 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16810 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16812 * manual/search.texi (Array Search Function): Add missing const in
16814 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16815 declaration to use rlim_t.
16816 (Basic Scheduling Functions): Remove erroneous const from
16817 sched_getparam prototype. Remove erroneous * from
16818 sched_get_priority_max and sched_get_priority_min prototypes.
16819 (Resource Usage): Fix summary @comment on vtimes to refer to
16820 sys/vtimes.h rather than vtimes.h.
16821 Add missing *s in vtimes prototype.
16822 (Limits on Resources): Fix ulimit prototype to return long int.
16823 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16824 prototypes to use long int rather than double.
16825 (BSD Random): Fix initstate and setstate to use char *, not void *.
16826 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16827 prototype to make second argument 'struct aiocb64 *const[]'.
16828 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16829 (Status of AIO Operations): Remove erroneous const in aio_return and
16830 aio_return64 prototypes.
16831 (Synchronizing I/O): Fix sync prototype to return void.
16832 * manual/startup.texi (Suboptions): Remove an erroneous const in
16833 getsubopt prototype.
16834 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16835 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16836 use size_t rather than int.
16837 (Scanning All Users): Likewise for getpwent_r.
16838 (Setting Groups): Add missing const to setgroups prototype.
16839 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16840 * manual/socket.texi (Host Names): Fix gethostbyaddr and
16841 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16842 'const void *' rather than 'const char *'.
16843 (Host Address Functions): Likewise for inet_ntop.
16844 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16845 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16846 ssize_t for return value.
16847 (Sending Data): Likewise for send, sendto, sendmsg.
16848 (Socket Option Functions): Add a missing const in setsockopt prototype.
16849 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16850 use wchar_t for the argument.
16851 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16852 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16854 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16855 double/float/long double for second argument.
16856 Fix return types of significand, significandf, significandl.
16857 * manual/filesys.texi (Setting Permissions): Use mode_t for second
16858 argument in fchmod prototype.
16859 (File Owner): Use uid_t and gid_t in fchown prototype.
16860 (File Times): Add const to utimes, futimes, and lutimes prototypes.
16861 (Making Special Files): Use mode_t and dev_t in mknod prototype.
16862 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16863 use 'const struct dirent **' as argument types to CMP function pointer
16865 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16866 (File Times): Fix summary magic @comment for struct utimbuf and utime
16867 to refer to utime.h, not time.h.
16868 * manual/string.texi (Argz Functions): Add missing const in
16869 argz_extract and argz_next prototypes.
16870 (Finding Tokens in a String): Likewise for basename.
16871 (String/Array Comparison): Fix typo in wcscasecmp prototype.
16872 (Copying and Concatenation): Fix typo in wmemmove prototype.
16873 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16874 (Signal Stack): Remove erroneous const in sigstack prototype.
16875 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16877 (Simple Calendar Time): Likewise for stime.
16878 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16880 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16881 say sys/sysctl.h instead.
16882 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16883 and vsyslog prototypes.
16885 2013-02-11 Tom de Vries <tom@codesourcery.com>
16887 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16890 2013-02-11 Roland McGrath <roland@hack.frob.com>
16892 * misc/sys/mman.h: Fix typo in mremap comment.
16894 2013-02-08 Roland McGrath <roland@hack.frob.com>
16896 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16897 the '\0' terminator.
16899 2013-02-08 Joseph Myers <joseph@codesourcery.com>
16902 * debug/segfault.c: Don't include <bp-checks.h>.
16903 * sysdeps/generic/bp-checks.h: Remove file.
16904 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16905 (__GETDENTS): Don't use CHECK_N.
16906 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16907 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16908 (__getgroups): Don't use CHECK_N.
16909 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16910 (setgroups): Don't use CHECK_N.
16911 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16912 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16913 (__libc_msgrcv): Don't use CHECK_N.
16914 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16915 (__libc_msgsnd): Don't use CHECK_N.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16918 (__libc_pread): Don't use CHECK_N.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16920 include <bp-checks.h>.
16921 (__libc_pread64): Don't use CHECK_N.
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16923 include <bp-checks.h>.
16924 (__libc_pwrite): Don't use CHECK_N.
16925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16926 include <bp-checks.h>.
16927 (__libc_pwrite64): Don't use CHECK_N.
16928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16930 (__libc_pread): Don't use CHECK_N.
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16932 include <bp-checks.h>.
16933 (__libc_pread64): Don't use CHECK_N.
16934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16935 include <bp-checks.h>.
16936 (__libc_pwrite): Don't use CHECK_N.
16937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16938 include <bp-checks.h>.
16939 (__libc_pwrite64): Don't use CHECK_N.
16940 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16941 (do_pread): Don't use CHECK_N.
16942 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16943 (do_pread64): Don't use CHECK_N.
16944 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16945 (do_pwrite): Don't use CHECK_N.
16946 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16947 (do_pwrite64): Don't use CHECK_N.
16948 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16949 (__libc_readv): Don't use CHECK_N.
16950 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16951 (semop): Don't use CHECK_N.
16952 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16954 (semtimedop): Don't use CHECK_N.
16955 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16956 (__libc_pread): Don't use CHECK_N.
16957 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16959 (__libc_pread64): Don't use CHECK_N.
16960 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16962 (__libc_pwrite): Don't use CHECK_N.
16963 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16965 (__libc_pwrite64): Don't use CHECK_N.
16966 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16968 (__libc_msgrcv): Don't use CHECK_N.
16969 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16970 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
16971 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16972 (__libc_writev): Don't use CHECK_N.
16974 2013-02-08 Roland McGrath <roland@hack.frob.com>
16976 * string/strcpy.c: Removed unused variable.
16978 * Makeconfig (+sysdep-includes): Define with := rather than =.
16979 Use an existing include/ subdir of each sysdeps dir before it.
16981 2013-02-08 Carlos O'Donell <carlos@redhat.com>
16983 * nscd/connection.c (register_traced_file): Comment function.
16984 [HAVE_INOTIFY] (union __inev): Define.
16985 [HAVE_INOTIFY] (inotify_check_files): New function.
16986 [HAVE_INOTIFY] (clear_db_cache): Likewise.
16987 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
16989 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
16991 2013-02-08 Carlos O'Donell <carlos@redhat.com>
16993 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
16994 loaded if not already and that a failure is permanent.
16996 2013-02-08 Carlos O'Donell <carlos@redhat.com>
16999 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17000 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17002 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17005 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17006 (CHECK_1_NULL_OK): Likewise.
17007 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17008 (__fxstat): Do not use CHECK_1.
17009 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17011 (___fxstat64): Do not use CHECK_1.
17012 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17014 (__fxstatat): Do not use CHECK_1.
17015 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17017 (__fxstatat64): Do not use CHECK_1.
17018 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17020 (__fxstat): Do not use CHECK_1.
17021 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17023 (__fxstatat): Do not use CHECK_1.
17024 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17026 (__getresgid): Do not use CHECK_1.
17027 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17029 (__getresuid): Do not use CHECK_1.
17030 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17032 (__lxstat): Do not use CHECK_1.
17033 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17035 (__old_msgctl): Do not use CHECK_1.
17036 (__new_msgctl): Likewise.
17037 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17039 (__new_setrlimit): Do not use CHECK_1.
17040 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17042 (__old_shmctl): Do not use CHECK_1.
17043 (__new_shmctl): Likewise.
17044 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17046 (__xstat): Do not use CHECK_1.
17047 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17048 (__lxstat): Do not use CHECK_1.
17049 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17051 (___lxstat64): Do not use CHECK_1.
17052 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17053 (__old_msgctl): Do not use CHECK_1.
17054 (__new_msgctl): Likewise.
17055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17057 (__gettimeofday): Do not use CHECK_1.
17058 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17059 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17060 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17062 (__gettimeofday): Do not use CHECK_1.
17063 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17064 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17065 (__new_shmctl): Do not use CHECK_1.
17066 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17068 (do_sigtimedwait): Do not use CHECK_1.
17069 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17071 (do_sigwaitinfo): Do not use CHECK_1.
17072 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17074 (msgctl): Do not use CHECK_1.
17075 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17077 (shmctl): Do not use CHECK_1.
17078 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17079 (ustat): Do not use CHECK_1.
17080 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17082 (__fxstat): Do not use CHECK_1.
17083 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17085 (__fxstatat): Do not use CHECK_1.
17086 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17088 (__lxstat): Do not use CHECK_1.
17089 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17091 (__xstat): Do not use CHECK_1.
17092 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17093 (__xstat): Do not use CHECK_1.
17094 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17095 (___xstat64): Do not use CHECK_1.
17098 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17100 (CHECK_BOUNDS_HIGH): Likewise.
17101 * string/strcpy.c: Do not include <bp-checks.h>.
17102 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17104 2013-02-07 Roland McGrath <roland@hack.frob.com>
17106 * nscd/nscd-client.h (__nscd_drop_map_ref):
17107 Add __attribute__ ((unused)).
17108 * nis/nss-nisplus.h (niserr2nss): Likewise.
17110 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17111 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17113 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17114 Remove inline keyword.
17115 * include/rounding-mode.h (round_away): Likewise.
17116 * libio/wfileops.c (adjust_wide_data): Likewise.
17117 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17118 (__m128i_strloadu_tolower): Likewise.
17119 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17120 (__m128i_strloadu_tolower): Likewise.
17121 * time/mktime.c (ydhms_diff): Likewise.
17122 * locale/elem-hash.h (elem_hash): Likewise.
17123 * locale/setlocale.c (setdata): Likewise.
17124 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17125 (re_string_wchar_at): Likewise.
17126 (bitset_not, bitset_merge, bitset_mask): Likewise.
17127 [!(__GNUC__ > 3)] (inline): Remove macro.
17128 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17129 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17130 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17131 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17132 * string/memcmp.c (memcmp_bytes): Likewise.
17133 * locale/programs/locarchive.c (compute_hashval): Likewise.
17134 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17135 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17136 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17137 * nss/getent.c (print_rpc, print_protocols): Likewise.
17138 (print_passwd, print_group, print_aliases): Likewise.
17139 * nis/nss-nisplus.h (niserr2nss): Likewise.
17140 * nscd/connections.c (restart_p): Likewise.
17141 Change return type to bool.
17143 2013-02-05 Roland McGrath <roland@hack.frob.com>
17145 * Makeconfig (all-Depend-files): Add existing
17146 $(sorted-subdirs:=/Depend) files.
17147 (all-subdirs): Remove nss.
17148 * sysdeps/unix/inet/Subdirs: Add it here instead.
17149 * hesiod/Depend: New file.
17151 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17152 instead of calling alloca.
17154 * io/lseek.c (__lseek): Rename to __libc_lseek.
17155 Define __lseek as an alias.
17157 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17159 2013-02-04 Carlos O'Donell <carlos@redhat.com>
17161 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17162 else clause and remove check for non-standard endianness.
17164 2013-02-04 David S. Miller <davem@davemloft.net>
17166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17168 2013-02-04 Joseph Myers <joseph@codesourcery.com>
17171 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17172 (__ubp_memchr): Remove prototype.
17173 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17174 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17175 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17176 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17177 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17179 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17180 (__ubp_memchr): Likewise.
17181 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17182 (__ubp_memchr): Likewise.
17183 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17184 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17185 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17186 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17188 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17189 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17190 (__getcwd): Do not use CHECK_STRING.
17191 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17193 (__real_chown): Do not use CHECK_STRING.
17194 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17196 (fchownat): Do not use CHECK_STRING.
17197 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17199 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17201 (__lchown): Do not use CHECK_STRING.
17202 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17203 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17204 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17205 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17207 include <bp-checks.h>.
17208 (truncate64): Do not use CHECK_STRING.
17209 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17211 (__real_chown): Do not use CHECK_STRING.
17212 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17214 (__lchown): Do not use CHECK_STRING.
17215 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17217 (__chown): Do not use CHECK_STRING.
17218 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17220 (truncate64): Do not use CHECK_STRING.
17221 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17223 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17224 (__xmknod): Do not use CHECK_STRING.
17225 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17227 (__xmknodat): Do not use CHECK_STRING.
17228 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17229 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17231 2013-02-04 Andreas Schwab <schwab@suse.de>
17234 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17235 * include/netdb.h: Likewise for h_errno.
17236 * elf/tst-stackguard1.c: Include <tls.h>.
17238 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17240 * elf/link.h (struct link_map): Extend the l_addr comment.
17241 * include/link.h (struct link_map): Likewise.
17243 2013-02-01 Joseph Myers <joseph@codesourcery.com>
17246 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17247 (BOUNDED_1): Remove macro.
17248 * debug/backtrace.c: Don't include <bp-checks.h>.
17249 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17250 (__backtrace): Likewise.
17251 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17253 (__backtrace): Don't use BOUNDED_1.
17254 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17256 (__backtrace): Don't use BOUNDED_1.
17257 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17258 (__backtrace): Don't use BOUNDED_1.
17259 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17260 (shmat): Don't use BOUNDED_N.
17262 2013-01-31 Joseph Myers <joseph@codesourcery.com>
17265 * sysdeps/generic/bp-start.h: Remove file.
17266 * csu/libc-start.c: Don't include <bp-start.h>.
17267 (LIBC_START_MAIN): Set up __environ directly instead of using
17268 INIT_ARGV_and_ENVIRON.
17269 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17273 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17275 (CHECK_FCNTL): Likewise.
17276 (CHECK_N_PAGES): Likewise.
17279 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17281 (CHECK_SIGSET_NULL_OK): Likewise.
17282 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17284 (sigpending): Don't use CHECK_SIGSET.
17285 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17287 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17288 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17290 (do_sigsuspend): Don't use CHECK_SIGSET.
17291 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17293 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17294 (do_sigwait): Don't use CHECK_SIGSET.
17295 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17297 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17298 include <bp-checks.h>.
17299 (sigpending): Don't use CHECK_SIGSET.
17300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17301 include <bp-checks.h>.
17302 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17303 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17305 (sigpending): Don't use CHECK_SIGSET.
17306 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17308 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17311 * sysdeps/generic/bp-semctl.h: Remove file.
17312 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17313 <bp-checks.h> and <bp-semctl.h>.
17314 (__old_semctl): Don't use CHECK_SEMCTL.
17315 (__new_semctl): Likewise.
17316 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17318 (__old_semctl): Don't use CHECK_SEMCTL.
17319 (__new_semctl): Likewise.
17320 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17321 <bp-checks.h> and <bp-semctl.h>.
17322 (__old_semctl): Don't use CHECK_SEMCTL.
17323 (__new_semctl): Likewise.
17324 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17325 <bp-checks.h> and <bp-semctl.h>.
17326 (semctl): Don't use CHECK_SEMCTL.
17329 * Makerules (elide-bp-thunks): Remove variable.
17330 (elide-routines.oS): Don't use $(elide-bp-thunks).
17331 (elide-routines.os): Likewise.
17332 (elide-routines.o): Likewise.
17333 (elide-routines.op): Likewise.
17334 (elide-routines.og): Likewise.
17335 (objects): Don't use $(bp-thunks).
17336 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17338 (common-generated): Do not add s-proto-bp.d.
17339 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17342 Do not generate makefile rules for bounded-pointer thunks.
17343 * sysdeps/generic/bp-thunks.h: Remove file.
17344 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17345 * sysdeps/unix/s-proto-bp.S: Likewise.
17348 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17349 parts of result separately when argument is not close to line from
17350 -i to i and one part of argument is small.
17351 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17352 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17353 * math/libm-test.inc (cacos_test): Add more tests.
17354 (casin_test): Likewise.
17355 (casinh_test): Likewise.
17356 * sysdeps/i386/fpu/libm-test-ulps: Update.
17357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17359 2013-01-31 David S. Miller <davem@davemloft.net>
17361 * po/de.po: Update from translation team.
17363 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17365 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17367 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17369 * configure.in (_AC_PROG_CC_C89): New definition.
17370 * configure: Regenerate.
17372 * configure.in (AC_PROG_CPP): New definition.
17373 * configure: Regenerate.
17375 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17377 * debug/tst-backtrace.h: New file.
17378 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17379 (ret): Remove variable.
17381 (FAIL): Remove macro.
17382 (NO_INLINE): Likewise.
17383 (fn1): Use match function instead of strstr.
17384 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17385 (ret): Remove variable.
17387 (FAIL): Remove macro.
17388 (NO_INLINE): Likewise.
17389 (fn): Use match function instead of strstr.
17390 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17391 (ret): Remove variable.
17393 (FAIL): Remove macro.
17394 (NO_INLINE): Likewise.
17395 (handle_signal): Use match function instead of strstr.
17396 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17397 (ret): Remove variable.
17399 (FAIL): Remove macro.
17400 (NO_INLINE): Likewise.
17401 (handle_signal): Use match function instead of strstr.
17403 2013-01-23 Roland McGrath <roland@hack.frob.com>
17405 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17407 2013-01-23 David S. Miller <davem@davemloft.net>
17409 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17410 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17411 argument of CAS if possible.
17412 * sysdeps/sparc/sparc64/bits/atomic.h
17413 (__arch_compare_and_exchange_val_32_acq): Likewise.
17414 (__arch_compare_and_exchange_val_64_acq): Likewise.
17416 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17418 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17419 * sysdeps/posix/ulimit.c: ... this.
17420 Include <limits.h>.
17421 * sysdeps/unix/bsd/ulimit.c: Remove file.
17423 2013-01-23 Adam Conrad <adconrad@0c3.net>
17425 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17426 (LDFLAGS-tst-array5): Likewise.
17428 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17431 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17432 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17433 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17434 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17436 2013-01-21 David S. Miller <davem@davemloft.net>
17438 * sysdeps/sparc/backtrace.c: New file.
17439 * sysdeps/sparc/sparc32/backtrace.h: New file.
17440 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17441 * sysdeps/sparc/sparc64/backtrace.h: New file.
17442 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17443 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17446 2013-01-21 Andreas Schwab <schwab@suse.de>
17449 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17452 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17458 2013-01-18 Joseph Myers <joseph@codesourcery.com>
17459 Mark Mitchell <mark@codesourcery.com>
17460 Tom de Vries <tom@codesourcery.com>
17461 Paul Pluzhnikov <ppluzhnikov@google.com>
17463 * debug/tst-backtrace2.c: New file.
17464 * debug/tst-backtrace3.c: Likewise.
17465 * debug/tst-backtrace4.c: Likewise.
17466 * debug/tst-backtrace5.c: Likewise.
17467 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17468 (CFLAGS-tst-backtrace3.c): Likewise.
17469 (CFLAGS-tst-backtrace4.c): Likewise.
17470 (CFLAGS-tst-backtrace5.c): Likewise.
17471 (LDFLAGS-tst-backtrace2): Likewise.
17472 (LDFLAGS-tst-backtrace3): Likewise.
17473 (LDFLAGS-tst-backtrace4): Likewise.
17474 (LDFLAGS-tst-backtrace5): Likewise.
17475 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17476 tst-backtrace4 and tst-backtrace5.
17478 2013-01-18 Anton Blanchard <anton@samba.org>
17479 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17481 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17482 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17483 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17484 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17486 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17487 "+r" and remove output regs list as redundant. Add explicit inline
17488 asm to specify register of return val to work around compiler codegen
17489 bug. Remove (int) cast on return value. Add return type parameter to
17490 use in macro so that this macro does not truncate return value for
17492 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17493 pass to INTERNAL_VSYSCALL_NCS.
17494 (INLINE_VSYSCALL): Add 'long int' as return type to
17495 INTERNAL_VSYSCALL_NCS macro invocation.
17496 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17497 INTERNAL_VSYSCALL_NCS macro invocation.
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17500 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17503 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17504 Fix application of SIMD FP exception mask.
17506 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17507 mp_no from a power of two.
17508 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17509 __mpexp_twomm1. Use __pow_mp.
17511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17514 2013-01-17 David S. Miller <davem@davemloft.net>
17516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17518 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17521 * include/complex.h: Condition contents on [!_COMPLEX_H].
17522 (__kernel_casinhf): New prototype.
17523 (__kernel_casinh): Likewise.
17524 (__kernel_casinhl): Likewise.
17525 * math/Makefile (libm_calls): Add k_casinh.
17526 * math/k_casinh.c: New file.
17527 * math/k_casinhf.c: Likewise.
17528 * math/k_casinhl.c: Likewise.
17529 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17530 finite nonzero arguments.
17531 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17532 finite nonzero arguments.
17533 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17534 finite nonzero arguments.
17535 * math/s_casinh.c: Do not include <float.h>.
17536 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17537 * math/s_casinhf.c: Do not include <float.h>.
17538 (__casinhf): Move code for finite nonzero arguments to
17540 * math/s_casinhl.c: Do not include <float.h>.
17541 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17543 (__casinhl): Move code for finite nonzero arguments to
17545 * math/libm-test.inc (cacos_test): Add more tests.
17546 * sysdeps/i386/fpu/libm-test-ulps: Update.
17547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17549 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17551 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17552 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17553 [!HAVE_MREMAP]: Remove [defined linux] case.
17554 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17556 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17558 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17560 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
17562 * elf/elf.h (R_386_SIZE32): New relocation.
17563 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17565 (elf_machine_rela): Likewise.
17566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17567 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17569 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17571 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17572 (FP_FAST_FMA): Do not define.
17573 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17574 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17575 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17576 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17577 !_SOFT_FLOAT]: Likewise.
17578 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17579 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17581 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17582 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17583 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17584 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17585 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17586 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17589 2013-01-16 Andreas Schwab <schwab@suse.de>
17592 * include/stdlib.h (__mktemp): Add declaration.
17593 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17594 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17596 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17598 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17600 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17601 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17602 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17604 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17605 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17607 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17609 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17610 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17611 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17613 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17614 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17616 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17618 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17620 2013-01-15 David S. Miller <davem@davemloft.net>
17622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17623 trunc{,f} to libm-sysdep_routes.
17624 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17634 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17635 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17636 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17637 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17638 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17639 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17642 nearbyint{,f} to libm-sysdep_routes.
17643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17654 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17656 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17657 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17659 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17660 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17661 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17663 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17664 libc_feholdexcept and libc_fesetenv.
17666 2013-01-15 Mike Frysinger <vapier@gentoo.org>
17668 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17670 2013-01-14 David S. Miller <davem@davemloft.net>
17672 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17673 (SPARC_ASM_VIS2_IFUNC): Likewise.
17674 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17676 use of 'siam' instruction.
17677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17710 routines to libm-sysdep_routines.
17711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17714 fdim/fdimf to libm-sysdep_routines.
17715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17723 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17724 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17725 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17726 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17728 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17730 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17731 to optimize copies.
17733 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17738 local variable MPTWO.
17739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17742 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17744 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17747 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17749 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17751 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17753 * manual/pattern.texi (glob_t): Document gl_flags.
17754 (glob64_t): Likewise.
17756 2013-01-11 David S. Miller <davem@davemloft.net>
17758 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17759 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17760 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
17761 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17762 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17763 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17764 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17765 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17766 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17767 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17768 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17769 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17770 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17773 sparc V9 rather than using V8 code.
17774 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17775 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17777 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17779 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17782 2013-01-11 Roland McGrath <roland@hack.frob.com>
17784 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17785 not in the main loop.
17786 * configure: Regenerated.
17788 2013-01-11 Joseph Myers <joseph@codesourcery.com>
17790 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17791 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17793 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
17794 [!__GLIBC_HAVE_LONG_LONG] case.
17795 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17796 condition to just #else.
17797 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17798 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17799 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17800 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17802 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17803 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17804 #elif condition to just #else.
17805 * sysdeps/unix/sysv/linux/sys/sysmacros.h
17806 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17807 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17808 #elif condition to just #else.
17810 2013-01-11 Steve Ellcey <sellcey@mips.com>
17812 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17813 (EF_MIPS_ARCH_64): Fix value.
17814 (EF_MIPS_ARCH_32R2): New.
17815 (EF_MIPS_ARCH_64R2): New.
17817 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
17819 * Makeconfig (+link-pie-before-libc): New.
17820 (+link-pie-after-libc): Likewise.
17821 (+link-pie-tests): Likewise.
17822 (+link-pie): Rewritten.
17823 (link-before-libc): Remove $(config-LDFLAGS).
17824 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17825 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17826 (config-LDFLAGS): Renamed to ...
17827 (rtld-LDFLAGS): This.
17828 (rtld-tests-LDFLAGS): New macro.
17829 (link-libc-rpath-link): Likewise.
17830 (link-libc-tests-rpath-link): Likewise.
17831 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17832 (link-libc): Prepand $(link-libc-rpath-link).
17833 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17834 (test-program-prefix): New macro.
17835 (test-via-rtld-prefix): Likewise.
17836 (test-program-cmd): Likewise.
17837 (host-test-program-cmd): Likewise.
17838 * Makefile ($(common-objpfx)testrun.sh): Replace
17839 $(run-program-prefix) with $(test-program-prefix).
17840 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17842 ($(common-objpfx)shlib.lds): Likewise.
17843 (build-module-helper): Likewise.
17844 ($(common-objpfx)format.lds): Likewise.
17845 * Rules (binaries-pie-tests): New.
17846 (binaries-pie-notests): Likewise.
17847 (binaries-pie): Rewritten.
17848 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17849 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17850 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17851 (make-test-out): Replace $(host-built-program-cmd) with
17852 $(host-test-program-cmd).
17853 * config.make.in (build-hardcoded-path-in-tests): New variable.
17854 * configure.in (--enable-hardcoded-path-in-tests): New configure
17856 (hardcoded_path_in_tests): New AC_SUBST.
17857 * configure: Regenerated.
17858 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17859 $(built-program-cmd) with $(test-program-cmd).
17860 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17861 (test_program_cmd): This.
17862 * elf/Makefile ($(objpfx)order.out): Run test with
17863 $(test-program-prefix).
17864 ($(objpfx)order2.out): Likewise.
17865 ($(objpfx)tst-initorder.out): Likewise.
17866 ($(objpfx)tst-initorder2.out): Likewise.
17867 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17868 $(test-program-cmd).
17869 ($(objpfx)tst-array1-static.out): Likewise.
17870 ($(objpfx)tst-array2.out): Likewise.
17871 ($(objpfx)tst-array3.out): Likewise.
17872 ($(objpfx)tst-array4.out): Likewise.
17873 ($(objpfx)tst-array5.out): Likewise.
17874 ($(objpfx)tst-array5-static.out): Likewise.
17875 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17876 $(test-program-cmd).
17877 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17878 $(run-program-prefix) with $(test-program-prefix).
17879 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17880 (test_program_prefix): This.
17881 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17882 $(run-program-prefix) with $(test-program-prefix).
17883 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17884 (test_program_prefix): This.
17885 * iconvdata/tst-tables.sh: Likewise.
17886 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17887 $(run-program-prefix) with $(test-program-prefix).
17888 ($(objpfx)tst-translit.out): Likewise.
17889 ($(objpfx)tst-gettext2.out): Likewise.
17890 ($(objpfx)tst-gettext4.out): Likewise.
17891 ($(objpfx)tst-gettext6.out): Likewise.
17892 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17893 (test_program_prefix): This.
17894 * intl/tst-gettext2.sh: Likewise.
17895 * intl/tst-gettext4.sh Likewise.
17896 * intl/tst-gettext6.sh: Likewise.
17897 * intl/tst-translit.sh: Likewise.
17898 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17899 with $(test-program-cmd).
17900 * libio/Makefile ($(objpfx)test-freopen.out): Replace
17901 $(run-program-prefix) with $(test-program-prefix).
17902 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17903 (test_program_prefix): This.
17904 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17905 $(run-program-prefix) with $(test-program-prefix).
17906 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17907 (test_program_prefix): This.
17908 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17909 * posix/Makefile ($(objpfx)globtest.out): Replace
17910 $(run-via-rtld-prefix) and $(test-wrapper) with
17911 $(test-program-prefix) and $(test-via-rtld-prefix).
17912 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17913 $(test-program-prefix).
17914 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17915 $(host-test-program-cmd).
17916 (tst-spawn-ARGS): Likewise.
17917 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17918 $(test-program-prefix).
17919 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17920 (test_via_rtld_prefix): This.
17921 (test_wrapper): Renamed to ...
17922 (test_program_prefix): This.
17923 (run_program_prefix): Replaced by test_program_prefix.
17924 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17925 (test_program_prefix): This.
17926 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17927 with $(host-test-program-cmd).
17928 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17929 $(run-program-prefix) with $(test-program-prefix).
17930 ($(objpfx)tst-printf.out): Likewise.
17931 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17932 $(test-program-cmd).
17933 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17934 (test_program_prefix): This.
17935 * stdio-common/tst-unbputc.sh: Likewise.
17936 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17937 $(run-program-prefix) with $(test-program-prefix).
17938 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17939 (test_program_prefix): This.
17940 * string/Makefile ($(objpfx)tst-svc.out): Replace
17941 $(built-program-cmd) with $(test-program-cmd).
17943 2013-01-11 Andreas Jaeger <aj@suse.de>
17946 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17947 value. Sync with Linux 3.7.
17949 2013-01-10 David S. Miller <davem@davemloft.net>
17951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17952 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17953 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17955 2013-01-10 Roland McGrath <roland@hack.frob.com>
17957 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17959 * configure: Regenerated.
17961 2013-01-10 David S. Miller <davem@davemloft.net>
17963 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17964 sparc V9 rather than using V8 code.
17965 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17966 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17968 2013-01-10 Roland McGrath <roland@hack.frob.com>
17970 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17971 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17972 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
17973 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
17974 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
17975 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
17976 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17977 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
17978 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
17979 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
17980 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
17981 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
17982 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
17983 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17984 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
17985 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
17986 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
17987 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
17988 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
17989 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
17990 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
17991 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
17992 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
17993 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
17994 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
17995 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
17996 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
17998 2013-01-10 David S. Miller <davem@davemloft.net>
18000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18002 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18004 * posix/Makefile (tests-static): New variable.
18005 (tests): Add $(tests-static).
18006 (tst-exec-static-ARGS): New variable.
18007 (tst-spawn-static-ARGS): Likewise.
18008 * posix/tst-exec-static.c: New file.
18009 * posix/tst-spawn-static.c: Likewise.
18010 * posix/tst-exec.c: Support run directly.
18011 * posix/tst-spawn.c: Likewise.
18013 2013-01-10 Joseph Myers <joseph@codesourcery.com>
18015 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18017 * math/bits/mathcalls.h (llrint): Likewise.
18018 (llround): Likewise.
18019 * stdlib/stdlib.h (struct drand48_data): Likewise.
18020 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18021 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18022 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18024 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18026 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18027 (elf_greg_t): Likewise.
18028 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18029 (__jmp_buf): Likewise.
18030 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18032 (llrint): Likewise, for all definitions.
18033 (llrintl): Likewise.
18035 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18036 Remove [__GNUC__] condition.
18037 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18038 condition to just [__USE_ISOC99].
18039 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18041 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18044 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18045 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18047 (_POSIX_V6_ILP32_OFF32): Likewise.
18048 (_XBS5_ILP32_OFF32): Likewise.
18049 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18050 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18052 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18054 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18057 doubles __mpexp_twomm1. Adjust usage.
18058 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18061 2013-01-10 Andreas Schwab <schwab@suse.de>
18064 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18065 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18067 2013-01-09 David S. Miller <davem@davemloft.net>
18070 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18071 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18072 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18073 TCP_FASTOPEN): Define.
18074 (tcp_repair_opt): New structure.
18075 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18077 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18078 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18079 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18080 (tcp_cookie_transactions): New structure.
18082 2013-01-09 Anton Blanchard <anton@samba.org>
18084 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18085 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18086 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18087 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18089 2013-01-09 Joseph Myers <joseph@codesourcery.com>
18091 * include/features.h (__USE_ANSI): Remove.
18093 2013-01-09 Roland McGrath <roland@hack.frob.com>
18095 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18097 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18099 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18101 * sysdeps/s390/fpu/libm-test-ulps: Update.
18103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18105 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18109 (denorm): Likewise.
18110 (__mp_dbl): Likewise.
18111 (__dbl_mp): Likewise.
18112 (add_magnitudes): Likewise.
18113 (sub_magnitudes): Likewise.
18119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18123 (denorm): Likewise.
18124 (__mp_dbl): Likewise.
18125 (__dbl_mp): Likewise.
18126 (add_magnitudes): Likewise.
18127 (sub_magnitudes): Likewise.
18133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18137 (denorm): Likewise.
18138 (__mp_dbl): Likewise.
18139 (__dbl_mp): Likewise.
18140 (add_magnitudes): Likewise.
18141 (sub_magnitudes): Likewise.
18148 2013-01-08 Joseph Myers <joseph@codesourcery.com>
18150 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18151 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18152 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18153 2 && __USE_EXTERN_INLINES]: Likewise.
18155 2013-01-08 Andreas Jaeger <aj@suse.de>
18158 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18160 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18161 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18163 2013-01-07 Anton Blanchard <anton@samba.org>
18165 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18166 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18167 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18168 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18169 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18170 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18171 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18172 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18174 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18175 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18176 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18177 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18178 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18179 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18180 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18181 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18182 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18183 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18184 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18185 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18186 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18187 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18188 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18189 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18190 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18191 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18192 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18194 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18195 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18198 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18199 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18200 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18201 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18202 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18203 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18204 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18205 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18206 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18207 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18209 2013-01-07 Joseph Myers <joseph@codesourcery.com>
18211 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18212 (__MALLOC_PMT): Likewise.
18213 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18214 [__GNUC__], only on [_LIBC].
18215 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18216 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18217 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18218 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18219 forward declaration.
18220 (realloc_hook_ini): Likewise.
18221 (memalign_hook_ini): Likewise.
18222 (__libc_memalign): Do not use __MALLOC_PMT in variable
18224 (__libc_valloc): Likewise.
18225 (__libc_pvalloc): Likewise.
18226 (__libc_calloc): Likewise.
18227 (__posix_memalign): Likewise.
18230 * math/s_casinh.c: Include <float.h>.
18231 (__casinh): Do not do computation with squaring and square root
18232 for large arguments.
18233 * math/s_casinhf.c: Include <float.h>.
18234 (__casinhf): Do not do computation with squaring and square root
18235 for large arguments.
18236 * math/s_casinhl.c: Include <float.h>.
18237 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18238 (__casinhl): Do not do computation with squaring and square root
18239 for large arguments.
18240 * math/libm-test.inc (casin_test): Add more tests.
18241 (casinh_test): Likewise.
18242 * sysdeps/i386/fpu/libm-test-ulps: Update.
18243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18245 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18247 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18248 (__x86_64_raw_data_cache_size): Likewise.
18249 (__x86_64_data_cache_size_half): Likewise.
18250 (__x86_64_raw_data_cache_size_half): Likewise.
18251 (__x86_64_shared_cache_size): Likewise.
18252 (__x86_64_raw_shared_cache_size): Likewise.
18253 (__x86_64_shared_cache_size_half): Likewise.
18254 (__x86_64_raw_shared_cache_size_half): Likewise.
18255 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18257 (__x86_data_cache_size): This.
18258 (__x86_64_raw_data_cache_size): Renamed to ...
18259 (__x86_raw_data_cache_size): This.
18260 (__x86_64_data_cache_size_half): Renamed to ...
18261 (__x86_data_cache_size_half): This.
18262 (__x86_64_raw_data_cache_size_half): Renamed to ...
18263 (__x86_raw_data_cache_size_half): This.
18264 (__x86_64_shared_cache_size): Renamed to ...
18265 (__x86_shared_cache_size): This.
18266 (__x86_64_raw_shared_cache_size): Renamed to ...
18267 (__x86_raw_shared_cache_size): This.
18268 (__x86_64_shared_cache_size_half): Renamed to ...
18269 (__x86_shared_cache_size_half): This.
18270 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18271 (__x86_raw_shared_cache_size_half): This.
18272 * sysdeps/x86_64/memcpy.S: Updated.
18273 * sysdeps/x86_64/memset.S: Likewise.
18274 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18275 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18276 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18278 2013-01-04 David S. Miller <davem@davemloft.net>
18280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18282 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18284 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18285 1 to avoid redefinition warning.
18286 (__USE_GNU): Don't define.
18287 (init_signaling_nan): Protoize.
18289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18291 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18293 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18295 (__cpymn): Likewise.
18296 (norm): Remove commented code.
18297 (denorm): Likewise.
18298 (__mp_dbl): Likewise.
18300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18301 (__cpymn): Likewise.
18302 (norm): Remove commented code.
18303 (denorm): Likewise.
18304 (__mp_dbl): Likewise.
18307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18308 mp_no value for 1.0 and 2.0.
18309 (norm): Use RADIXI instead of radixi.d.
18310 (denorm): Likewise.
18311 (__mul): Use 0.0 instead of zero.d.
18312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18313 mp_no value for 1.0 and 2.0.
18314 (norm): Use RADIXI instead of radixi.d.
18315 (denorm): Likewise.
18316 (__mul): Use 0.0 instead of zero.d.
18318 2013-01-04 Joseph Myers <joseph@codesourcery.com>
18321 * math/s_casinh.c (__casinh): Reduce finite argument to first
18322 quadrant then set signs of results at the end.
18323 * math/s_casinhf.c (__casinhf): Likewise.
18324 * math/s_casinhl.c (__casinhl): Likewise.
18325 * math/libm-test.inc (casin_test): Add more tests.
18326 (casinh_test): Likewise.
18327 * sysdeps/i386/fpu/libm-test-ulps: Update.
18328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18330 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18332 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18334 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18336 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18338 (denorm): Likewise.
18339 (__mp_dbl): Likewise.
18342 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18343 and adjust the header comment.
18345 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18346 variable name from declaration.
18348 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18351 Initialize COMMON_CPUID_INDEX_7 element.
18352 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18353 (CPUID_RTM): Likewise.
18354 (HAS_RTM): Likewise.
18355 (COMMON_CPUID_INDEX_7): New enum.
18357 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18360 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18361 size is zero, record memory as freed.
18363 2013-01-03 Andreas Jaeger <aj@suse.de>
18365 * po/ia.po: Add new Interlingua translation.
18367 2012-01-03 Allan McRae <allan@archlinux.org>
18369 * locale/programs/localedef.c: Fix description of '--posix' flag.
18371 2013-01-02 Joseph Myers <joseph@codesourcery.com>
18373 * NEWS: Update dates in second copyright notice.
18374 * README: Update copyright dates in example.
18375 * manual/libc.texinfo: Update copyright dates.
18376 * scripts/test-installation.pl: Update copyright date in --version
18379 * hurd/ctty-input.c: Fix copyright notice formatting.
18380 * hurd/ctty-output.c: Likewise.
18381 * hurd/dtable.c: Likewise.
18382 * hurd/hurd-raise.c: Likewise.
18383 * hurd/hurdprio.c: Likewise.
18384 * hurd/msgportdemux.c: Likewise.
18385 * misc/sys/file.h: Likewise.
18386 * misc/sys/ioctl.h: Likewise.
18387 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18388 * sysdeps/mach/hurd/chdir.c: Likewise.
18389 * sysdeps/mach/hurd/fchdir.c: Likewise.
18390 * sysdeps/mach/hurd/rename.c: Likewise.
18391 * sysdeps/mach/hurd/rmdir.c: Likewise.
18392 * sysdeps/mach/hurd/seekdir.c: Likewise.
18393 * sysdeps/mach/hurd/setsid.c: Likewise.
18394 * sysdeps/posix/wait3.c: Likewise.
18396 * All files with FSF copyright notices: Update copyright dates
18397 using scripts/update-copyrights.
18398 * intl/plural.c: Regenerated.
18399 * locale/programs/charmap-kw.h: Likewise.
18400 * locale/programs/locfile-kw.h: Likewise.
18402 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18404 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18407 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18408 calculation loop and add branch prediction.
18410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18411 check access beyond bounds of m1np.
18413 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18415 (__inv): Remove local variable MPTWO to use the global
18417 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18418 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18420 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18421 MP3HALFS static const.
18423 2013-01-01 David S. Miller <davem@davemloft.net>
18425 * po/ca.po: Update from translation team.
18427 2013-01-01 Joseph Myers <joseph@codesourcery.com>
18429 * scripts/update-copyrights: New file.
18430 * Makeconfig: Reformat copyright notice.
18431 * ctype/ctype.h: Likewise.
18432 * debug/swprintf_chk.c: Likewise.
18433 * elf/dl-cache.c: Likewise.
18434 * elf/dl-debug.c: Likewise.
18435 * elf/dl-object.c: Likewise.
18436 * grp/initgroups.c: Likewise.
18437 * hurd/Makefile: Likewise.
18438 * hurd/hurd/signal.h: Likewise.
18439 * hurd/hurdfault.c: Likewise.
18440 * hurd/hurdioctl.c: Likewise.
18441 * hurd/hurdlookup.c: Likewise.
18442 * hurd/intr-msg.c: Likewise.
18443 * iconv/gconv_open.c: Likewise.
18444 * libio/swprintf.c: Likewise.
18445 * locale/lc-ctype.c: Likewise.
18446 * locale/nl_langinfo.c: Likewise.
18447 * mach/Machrules: Likewise.
18448 * mach/Makefile: Likewise.
18449 * malloc/obstack.h: Likewise.
18450 * manual/Makefile: Likewise.
18451 * manual/tsort.awk: Likewise.
18452 * misc/bits/stab.def: Likewise.
18453 * nis/nis_print_group_entry.c: Likewise.
18454 * nis/nis_table.c: Likewise.
18455 * nis/nss_compat/compat-pwd.c: Likewise.
18456 * nis/nss_compat/compat-spwd.c: Likewise.
18457 * po/Makefile: Likewise.
18458 * posix/fnmatch.c: Likewise.
18459 * posix/regex.h: Likewise.
18460 * resolv/Makefile: Likewise.
18461 * resolv/nss_dns/dns-network.c: Likewise.
18462 * resolv/res_hconf.c: Likewise.
18463 * scripts/gen-sorted.awk: Likewise.
18464 * soft-fp/soft-fp.h: Likewise.
18465 * stdio-common/printf.h: Likewise.
18466 * stdlib/monetary.h: Likewise.
18467 * stdlib/random.c: Likewise.
18468 * stdlib/random_r.c: Likewise.
18469 * sysdeps/generic/Makefile: Likewise.
18470 * sysdeps/gnu/Makefile: Likewise.
18471 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18473 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18475 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18478 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18479 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18481 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18482 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18483 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18484 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18485 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18486 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18487 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18488 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18489 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18491 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18492 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18493 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18494 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18495 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18496 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18497 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18498 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18499 * sysdeps/mach/hurd/errnos.awk: Likewise.
18500 * sysdeps/mach/hurd/fork.c: Likewise.
18501 * sysdeps/mach/hurd/getcwd.c: Likewise.
18502 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18503 * sysdeps/mach/hurd/mmap.c: Likewise.
18504 * sysdeps/mach/hurd/utimes.c: Likewise.
18505 * sysdeps/mach/hurd/xmknod.c: Likewise.
18506 * sysdeps/posix/profil.c: Likewise.
18507 * sysdeps/posix/readdir_r.c: Likewise.
18508 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18509 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18510 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18511 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18513 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18514 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18515 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18517 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18518 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18519 * sysdeps/pthread/lio_listio.c: Likewise.
18520 * sysdeps/sparc/dl-procinfo.h: Likewise.
18521 * sysdeps/unix/i386/sysdep.S: Likewise.
18522 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18523 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18524 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18525 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18527 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18528 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18529 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18530 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18531 * sysdeps/wordsize-32/divdi3.c: Likewise.
18532 * time/sys/time.h: Likewise.
18533 * wcsmbs/Makefile: Likewise.
18535 2013-01-01 David S. Miller <davem@davemloft.net>
18537 * po/fr.po: Update from translation team.
18539 * catgets/gencat.c: Update copyright year.
18540 * csu/version.c: Likewise.
18541 * debug/catchsegv.sh: Likewise.
18542 * debug/pcprofiledump.c: Likewise.
18543 * debug/xtrace.sh: Likewise.
18544 * elf/ldconfig.c: Likewise.
18545 * elf/ldd.bash.in: Likewise.
18546 * elf/pldd.c: Likewise.
18547 * elf/sotruss.ksh: Likewise.
18548 * elf/sprof.c: Likewise.
18549 * iconv/iconv_prog.c: Likewise.
18550 * iconv/iconvconfig.c: Likewise.
18551 * locale/programs/locale.c: Likewise.
18552 * locale/programs/localedef.c: Likewise.
18553 * login/programs/pt_chown.c: Likewise.
18554 * malloc/memusage.sh: Likewise.
18555 * malloc/memusagestat.c: Likewise.
18556 * malloc/mtrace.pl: Likewise.
18557 * nscd/nscd.c: Likewise.
18558 * nss/getent.c: Likewise.
18559 * nss/makedb.c: Likewise.
18560 * posix/getconf.c: Likewise.
18562 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18564 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18567 2012-12-30 Mike Frysinger <vapier@gentoo.org>
18569 * math/bits/mathcalls.h (modf): Use __nonnull.
18571 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18573 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18574 (split): Use macro CN instead of the bare value.
18575 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18577 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18578 instead of the bare value.
18579 (power1): Likewise.
18581 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18583 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18585 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18587 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18589 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18590 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18591 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18592 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18594 2012-12-28 Andreas Jaeger <aj@suse.de>
18596 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18597 values are from Linux 3.7.
18599 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18600 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18602 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18604 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18607 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18609 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18610 variables with preprocessor constants.
18611 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18612 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18613 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18615 2012-12-27 Bruno Haible <bruno@clisp.org>
18618 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18621 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18624 and use variable directly.
18625 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18627 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18629 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18634 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18635 include directive. Remove local variable MPONE.
18636 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18637 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18638 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18640 2012-12-25 David S. Miller <davem@davemloft.net>
18642 * version.h (RELEASE): Set to "development".
18643 (VERSION): Set to "2.17.90".
18644 * NEWS: Add 2.18 section.
18646 2012-12-21 David S. Miller <davem@davemloft.net>
18648 * po/hr.po: Update from translation team.
18650 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18652 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18654 2012-12-19 Steve Ellcey <sellcey@mips.com>
18656 * NEWS: Mention new memcpy for MIPS.
18658 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18660 * manual/contrib.texi (Contributors): Spelling correction.
18662 2012-12-15 David S. Miller <davem@davemloft.net>
18664 * po/ru.po: Update from translation team.
18666 2012-12-13 David S. Miller <davem@davemloft.net>
18668 * NEWS: Mention IFUNC testsuite enhancements.
18670 * po/pl.po: Update from translation team.
18671 * po/bg.po: Likewise.
18673 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18674 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18676 2012-12-11 David S. Miller <davem@davemloft.net>
18678 * po/sv.po: Update from translation team.
18680 * po/vi.po: Update from translation team.
18682 * po/cs.po: Update from translation team.
18684 * po/de.po: Update from translation team.
18685 * po/eo.po: Likewise.
18686 * po/nl.po: Likewise.
18688 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18691 * manual/argp.texi (Argp Helper Functions): Move node to follow
18692 Argp Parsing State.
18695 * manual/conf.texi (Limits on File System Capacity): Mention if
18696 terminating null is included in the max size.
18698 2012-12-10 Andreas Jaeger <aj@suse.de>
18700 * po/cs.po: Update from translation team.
18702 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18704 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18705 void pointer and cast to uintptr_t.
18706 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18708 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18709 * sysdeps/s390/s390-64/memset.S: Likewise.
18711 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
18714 * menual/message.texi (Message Translation): Fix typos.
18715 (Helper programs for gettext): Likewise.
18717 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18720 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18723 2012-12-07 David S. Miller <davem@davemloft.net>
18725 * po/libc.pot: Update.
18727 2012-12-07 Richard Henderson <rth@redhat.com>
18730 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18731 normal/normal case to before the switch.
18732 (_FP_DIV): Likewise.
18734 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18735 Mike Frysinger <vapier@gentoo.org>
18737 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18738 check for __NR_fadvise64_64.
18740 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18742 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18743 0, not just to plain "0" as a statement.
18744 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18747 2012-12-06 Joseph Myers <joseph@codesourcery.com>
18749 * NEWS: Use sourceware.org in Bugzilla URL.
18751 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18754 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18756 * stdio-common/tst-put-error.c (do_test): Add newline to the
18757 padded test to ensure flush.
18759 2012-12-05 Jeff Law <law@redhat.com>
18761 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18763 2012-12-05 Joseph Myers <joseph@codesourcery.com>
18765 * README: Don't refer to ports add-on as distributed separately.
18766 Mention AArch64 in list of systems supported in the ports add-on.
18768 * LICENSES: Add more non-FSF copyright and license notices.
18770 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18773 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18775 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18776 10000 as width of padded output.
18778 2012-12-04 Joseph Myers <joseph@codesourcery.com>
18780 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18782 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18783 variable LX with __attribute__ ((unused)).
18784 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18786 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18788 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18789 with __attribute__ ((unused)).
18791 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
18793 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18795 2012-12-04 Joseph Myers <joseph@codesourcery.com>
18797 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18798 (CFLAGS-nldbl-acos.c): New variable.
18799 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18800 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18801 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18802 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18803 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18804 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18805 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18806 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18807 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18808 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18809 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18810 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18811 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18812 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18813 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18814 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18815 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18816 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18817 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18818 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18819 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18820 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18821 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18822 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18823 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18824 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18825 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18826 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18827 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18828 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18829 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18830 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18831 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18832 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18833 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18834 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18835 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18836 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18837 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18838 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18839 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18840 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18841 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18842 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18843 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18844 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18845 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18846 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18847 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18848 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18849 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18850 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18851 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18852 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18853 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18854 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18855 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18856 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18857 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18858 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18859 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18860 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18861 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18862 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18863 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18864 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18865 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18866 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18867 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18868 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18869 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18870 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18871 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18872 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18873 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18874 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18875 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18876 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18877 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18878 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18879 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18880 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18881 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18882 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18883 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18884 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18885 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18886 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18887 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18888 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18889 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18890 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18891 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18892 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18893 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18894 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18895 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18898 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18901 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18902 whole low double instead of just low 47 bits when splitting values
18905 2012-12-03 Allan McRae <allan@archlinux.org>
18907 * manual/stdio.texi (Predefined Printf Handlers): Remove
18908 @hsep and @vsep usage.
18910 2012-12-03 Mike Frysinger <vapier@gentoo.org>
18912 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18913 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18915 2012-12-03 Jeff Law <law@redhat.com>
18917 * time/sys/time.h (settimeofday): Do not mark TV argument
18920 2012-12-01 Mike Frysinger <vapier@gentoo.org>
18922 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18923 when currently writing and seek to current position when not.
18924 * libio/Makefile (tests): Remove bug-fclose1.
18925 * libio/bug-fclose1.c: Delete.
18927 2012-12-01 Joseph Myers <joseph@codesourcery.com>
18929 * manual/arith.texi (feenableexcept): Fix typo.
18930 (fedisableexcept): Likewise.
18932 2012-11-30 Roland McGrath <roland@hack.frob.com>
18934 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18935 second, differently-typed declaration, rather than a cast.
18937 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18939 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18940 * include/rpc/svc.h: ... here.
18942 2012-11-30 Aurelien Jarno <aurel32@debian.org>
18945 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18946 depending n and resplen2 to catch cases where answer
18949 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
18951 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18952 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18954 2012-11-29 Mike Frysinger <vapier@gentoo.org>
18956 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18958 2012-11-29 Roland McGrath <roland@hack.frob.com>
18960 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18962 2012-11-28 Jeff Law <law@redhat.com>
18965 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18966 dataset_temporary. Track alloca usage into alloca_used.
18967 If dataset is large allocate and release it via malloc/free.
18969 2012-06-04 Florian Weimer <fweimer@redhat.com>
18972 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
18974 2012-11-28 David S. Miller <davem@davemloft.net>
18976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18978 2012-11-28 Joseph Myers <joseph@codesourcery.com>
18981 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
18982 of pi/2 rounded to nearest to 64 bits.
18983 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
18984 nearest to 64 bits.
18985 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
18988 2012-11-28 Jeff Law <law@redhat.com>
18989 Martin Osvald <mosvald@redhat.com>
18992 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
18993 * sunrpc/svc.c: Include time.h.
18994 (__svc_accept_failed): New function.
18995 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
18996 any reason other than EINTR, call __svc_accept_failed.
18997 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
18998 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19000 2012-11-28 Andreas Schwab <schwab@suse.de>
19002 * scripts/abilist.awk: Also handle indirect functions in .opd
19005 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19008 * sysdeps/x86/fpu/powl_helper.c: New file.
19009 * sysdeps/x86/fpu/Makefile: Likewise.
19010 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19012 (__ieee754_powl): Use __powl_helper for finite arguments except
19013 integer exponents below 8.
19014 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19016 (__ieee754_powl): Use __powl_helper for finite arguments except
19017 integer exponents below 8.
19018 * math/libm-test.inc (pow_test): Add more tests and enable some
19019 previously disabled tests.
19020 * sysdeps/i386/fpu/libm-test-ulps: Update.
19021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19023 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19024 Carlos O'Donell <carlos_odonell@mentor.com>
19026 * nss/makedb.c (is_prime): Assert that input is odd and greater
19027 than 4. Note that fact in a comment too.
19028 (next_prime): Add 4 to input.
19030 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19033 * libio/Makefile (tests): Add test case tst-fwrite-error.
19034 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19035 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19036 * libio/tst-fwrite-error.c: New test case.
19038 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19040 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19041 before casting to void *.
19042 * include/libc-internal.h (__pointer_type): New macro.
19043 (__integer_if_pointer_type_sub): Likewise.
19044 (__integer_if_pointer_type): Likewise.
19045 (cast_to_integer): Likewise.
19046 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19047 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19048 before casting to atomic64_t.
19049 (atomic_exchange_acq): Likewise.
19050 (__arch_exchange_and_add_body): Likewise.
19051 (__arch_add_body): Likewise.
19052 (atomic_add_negative): Likewise.
19053 (atomic_add_zero): Likewise.
19055 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19057 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19058 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19059 (add_fdes): Likewise.
19060 (linear_search_fdes): Likewise.
19061 (binary_search_unencoded_fdes): Likewise.
19063 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19065 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19067 2012-11-24 Adam Conrad <adconrad@0c3.net>
19069 * configure.in: Autodetect C++ header directories.
19070 * configure: Regenerated.
19072 2012-11-23 Mike Frysinger <vapier@gentoo.org>
19074 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19076 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19080 2012-11-22 Joseph Myers <joseph@codesourcery.com>
19082 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19083 LDBL_MANT_DIG == 106]: Disable some tests.
19084 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19086 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19090 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19091 input for small inputs. Return +/- pi/2 for large inputs.
19092 * math/libm-test.inc (atan_test): Add more tests.
19094 * sysdeps/generic/unwind-dw2-fde-glibc.c
19095 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19096 __attribute__ ((unused)).
19099 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19100 x * y if x and y are nonzero and z is zero.
19103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19104 nonzero exponents with absolute value below 0x1p-117 to +/-
19108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19109 up arguments below 2**-450, not just those below 2**-500.
19110 * math/libm-test.inc (hypot_test): Add another test.
19113 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19114 Return a+b for ratio over 2**120, not 2**60.
19115 * math/libm-test.inc (hypot_test): Add another test.
19117 * math/libm-test.inc (clog_test): Use
19118 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19119 (clog10_test): Likewise.
19122 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19124 2012-11-22 Andreas Schwab <schwab@suse.de>
19126 * sysdeps/i386/fpu/libm-test-ulps: Update.
19128 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19130 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19131 printf output with newline.
19133 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19136 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19137 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19138 -z nodlopen, -z initfirst and -z execstack support.
19139 * configure: Regenerated.
19141 * elf/elf.h (DF_1_NODIRECT): New macro.
19142 (DF_1_IGNMULDEF): Likewise.
19143 (DF_1_NOKSYMS): Likewise.
19144 (DF_1_NOHDR): Likewise.
19145 (DF_1_EDITED): Likewise.
19146 (DF_1_NORELOC): Likewise.
19147 (DF_1_SYMINTPOSE): Likewise.
19148 (DF_1_GLOBAUDIT): Likewise.
19149 (DF_1_SINGLETON): Likewise.
19150 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19151 DT_1_SUPPORTED_MASK bits.
19152 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19154 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19156 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19158 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19160 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19163 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19164 (sendmmsg): Move declarations...
19165 * socket/sys/socket.h: ... here.
19166 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19167 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19169 * socket/recvmmsg.c: ... this new file.
19170 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19171 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19172 definition of __sendmmsg hidden.
19173 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19174 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19175 Move ENOSYS stub into and include it from...
19176 * socket/sendmmsg.c: ... this new file.
19177 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19178 (sysdep_routines): Move recvmmsg and sendmmsg...
19179 * socket/Makefile (routines): ... here.
19180 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19181 (GLIBC_PRIVATE): Add __sendmmsg.
19182 * include/sys/socket.h (__sendmmsg): Add declarations.
19183 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19186 2012-11-20 Joseph Myers <joseph@codesourcery.com>
19188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19189 variable I1 with __attribute__ ((unused)).
19190 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19192 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19194 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19195 DUMMY variables with __attribute__ ((unused)).
19197 * bits/byteswap.h: Include <bits/types.h>.
19198 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19200 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19202 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19203 string_t. Do not manually set errno.
19204 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19205 length with __strnlen. Make sure to both set errno and return it on
19208 2012-11-19 David S. Miller <davem@davemloft.net>
19210 With help from Joseph Myers.
19211 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19212 very large arguments properly.
19213 * math/libm-test.inc (atan_test): New tests.
19214 (atan2_test): New tests.
19215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19218 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19221 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19224 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19225 [POSIX] (EADDRNOTAVAIL): Likewise.
19226 [POSIX] (EAFNOSUPPORT): Likewise.
19227 [POSIX] (EALREADY): Likewise.
19228 [POSIX] (ECONNABORTED): Likewise.
19229 [POSIX] (ECONNREFUSED): Likewise.
19230 [POSIX] (ECONNRESET): Likewise.
19231 [POSIX] (EDESTADDRREQ): Likewise.
19232 [POSIX] (EDQUOT): Likewise.
19233 [POSIX] (EHOSTUNREACH): Likewise.
19234 [POSIX] (EIDRM): Likewise.
19235 [POSIX] (EISCONN): Likewise.
19236 [POSIX] (ELOOP): Likewise.
19237 [POSIX] (EMULTIHOP): Likewise.
19238 [POSIX] (ENETDOWN): Likewise.
19239 [POSIX] (ENETUNREACH): Likewise.
19240 [POSIX] (ENOBUFS): Likewise.
19241 [POSIX] (ENODATA): Likewise.
19242 [POSIX] (ENOLINK): Likewise.
19243 [POSIX] (ENOMSG): Likewise.
19244 [POSIX] (ENOPROTOOPT): Likewise.
19245 [POSIX] (ENOSR): Likewise.
19246 [POSIX] (ENOSTR): Likewise.
19247 [POSIX] (ENOTCONN): Likewise.
19248 [POSIX] (ENOTSOCK): Likewise.
19249 [POSIX] (EOPNOTSUPP): Likewise.
19250 [POSIX] (EOVERFLOW): Likewise.
19251 [POSIX] (EPROTO): Likewise.
19252 [POSIX] (EPROTONOSUPPORT): Likewise.
19253 [POSIX] (EPROTOTYPE): Likewise.
19254 [POSIX] (ESTALE): Likewise.
19255 [POSIX] (ETIME): Likewise.
19256 [POSIX] (ETXTBSY): Likewise.
19257 [POSIX] (EWOULDBLOCK): Likewise.
19258 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19259 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19260 [POSIX] (SEEK_CUR): Likewise.
19261 [POSIX] (SEEK_END): Likewise.
19262 [POSIX || UNIX98] (mode_t): Do not require.
19263 [POSIX] (off_t): Likewise.
19264 [POSIX] (pid_t): Likewise.
19265 [POSIX] (sys/stat.h): Do not allow header.
19266 [POSIX] (unistd.h): Likewise.
19267 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19268 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19269 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19270 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19272 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19273 sigevent): Specify elements.
19274 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19276 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19277 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19279 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19280 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19281 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19282 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19283 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19284 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19285 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19286 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19287 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19288 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19289 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19290 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19291 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19292 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19294 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19296 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19298 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19300 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19301 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19302 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19303 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19304 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19305 Specify lower bound on value.
19306 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19307 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19308 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19309 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19310 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19311 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19312 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19313 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19315 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19317 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19318 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19319 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19320 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19321 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19322 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19323 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19324 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19325 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19326 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19327 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19328 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19329 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19330 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19331 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19332 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19334 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19336 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19337 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19338 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19339 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19340 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19341 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19343 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19344 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19345 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19346 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19347 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19348 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19349 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19351 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19352 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19353 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19354 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19355 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19356 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19357 specify as optional.
19358 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19359 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19360 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19361 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19362 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19363 [XPG3] (NL_LANGMAX): Likewise.
19364 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19365 [POSIX || XPG3] (NL_NMAX): Likewise.
19366 [POSIX || XPG3] (NL_SETMAX): Likewise.
19367 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19368 [XPG3] (NZERO): Likewise.
19369 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19370 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19371 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19372 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19373 (REG_ERANGE): Expect.
19374 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19376 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19377 Use (void) in prototype.
19378 [POSIX] (*_t): Allow.
19379 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19380 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19381 (WRDE_BADVAL): Expect.
19383 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19385 [XPG3 || XPG4] (O_RSYNC): Likewise.
19386 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19388 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19389 [XPG3 || XPG4] (sigqueue): Likewise.
19390 [XPG3 || XPG4] (sigtimedwait): Likewise.
19391 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19392 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19393 [XPG3 || XPG4] (vsnprintf): Likewise.
19394 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19396 [XPG3 || XPG4] (blksize_t): Likewise.
19397 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19399 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19400 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19401 [XPG3 || XPG4] (struct itimerspec): Likewise.
19402 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19403 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19404 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19405 [XPG3 || XPG4] (clockid_t): Likewise.
19406 [XPG3 || XPG4] (timer_t): Likewise.
19407 [XPG3 || XPG4] (clock_getres): Likewise.
19408 [XPG3 || XPG4] (clock_gettime): Likewise.
19409 [XPG3 || XPG4] (clock_settime): Likewise.
19410 [XPG3 || XPG4] (nanosleep): Likewise.
19411 [XPG3 || XPG4] (timer_create): Likewise.
19412 [XPG3 || XPG4] (timer_delete): Likewise.
19413 [XPG3 || XPG4] (timer_gettime): Likewise.
19414 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19415 [XPG3 || XPG4] (timer_settime): Likewise.
19416 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19417 [XPG3 || XPG4] (getlogin_r): Likewise.
19418 [XPG3 || XPG4] (pread): Likewise.
19419 [XPG3 || XPG4] (pthread_atfork): Likewise.
19420 [XPG3 || XPG4] (pwrite): Likewise.
19423 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19426 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19428 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19429 finalizing MALLSTREAM.
19431 * sysdeps/mach/hurd/syncfs.c: New file.
19433 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19436 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19437 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19438 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19439 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19440 (_nss_dns_gethostbyname4_r): Likewise.
19441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19442 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19444 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19447 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19449 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19451 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19452 * elf/cache.c (print_entry): Print ",AArch64" for
19455 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19456 * elf/cache.c (print_entry): Print ",hard-float" for
19459 2012-11-18 David S. Miller <davem@davemloft.net>
19461 With help from Joseph Myers.
19462 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19464 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19466 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19467 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19469 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19470 * math/libm-test.inc (y0_test): New tests.
19471 (y1_test): New tests.
19472 * sysdeps/i386/fpu/libm-test-ulps: Update.
19473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19476 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19478 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19480 * configure: Regenerated.
19482 2012-11-17 David S. Miller <davem@davemloft.net>
19485 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19486 nonzero exponents with absolute value below 0x1p-128 to +/-
19489 2012-11-17 Joseph Myers <joseph@codesourcery.com>
19491 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19493 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19495 * posix/getconf-speclist.c: New file.
19496 * posix/posix-envs.def: Likewise.
19497 * posix/confstr.c (START_ENV_GROUP): New macro.
19498 (END_ENV_GROUP): Likewise.
19499 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19500 (KNOWN_PRESENT_ENV_STRING): Likewise.
19501 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19502 (UNKNOWN_ENVIRONMENT): Likewise.
19503 (confstr): Include posix-envs.def instead of handling
19504 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19505 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19506 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19507 (END_ENV_GROUP): Likewise.
19508 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19509 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19510 (UNKNOWN_ENVIRONMENT): Likewise.
19511 (__sysconf): Include posix-envs.def instead of handling associated
19512 cases directly here.
19513 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19514 preprocessing getconf-speclist.c rather than running getconf or
19515 generating empty file.
19517 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19519 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19521 2012-11-16 Andrej Lajovic <natrij@gmail.com>
19524 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19526 2012-11-16 David S. Miller <davem@davemloft.net>
19528 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19529 smaller than LDBL_EPSILON/2.0L, just return xm1.
19531 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19533 * elf/tst-array1.c (init): Set constructor priority to 1000.
19534 (fini): Set destructor priority to 1000.
19535 * elf/tst-array2dep.c: Likewise.
19537 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19540 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19541 (_IO_new_file_xsputn): Also return EOF if none of the input
19542 data was written when overflow failed.
19543 * libio/iopadn.c (_IO_padn): Likewise.
19544 * libio/iowpadn.c (_IO_wpadn): Likewise.
19545 * stdio-common/tst-put-error.c: Add copyright notice.
19546 (do_test): Add case for printing padded string.
19547 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19548 _IO_padn returned error.
19549 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19550 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19553 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19555 * libio/libioP.h: Add comment note that the references to C++
19556 bits are now obsolete.
19558 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19560 * math/libm-test.inc (check_complex): Use asprintf.
19562 2012-11-14 Joseph Myers <joseph@codesourcery.com>
19564 * debug/pcprofiledump.c (print_version): Update copyright year.
19565 * malloc/memusagestat.c (print_version): Likewise.
19567 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19570 * elf/Makefile (tests): Add tst-audit8.
19571 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19572 ($(objpfx)tst-audit8.out): New target.
19573 (tst-audit8-ENV): New variable.
19574 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19575 audit if l_reloc_result is NULL.
19576 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19577 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19578 * elf/tst-audit8.c: New file.
19580 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19582 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19583 * misc/Makefile (CFLAGS-select.c): Define.
19584 * posix/Makefile (CFLAGS-pause.c): Define.
19586 2012-11-13 David S. Miller <davem@davemloft.net>
19588 * crypt/Makefile: Move test targets after toplevel Rules
19589 inclusion. Grab any necessary sysdep routines when linking.
19590 * crypt/md5.c (md5_process_block): Remove define, we will always
19591 name it __md5_process_block.
19592 (md5_finish_ctx): Update md5_process_block call.
19593 (md5_stream): Likewise.
19594 (md5_process_bytes): Likewise.
19595 (md5_process_block): Rename to __md5_process_block and move to ...
19596 * crypt/md5-block.c: ... here.
19597 * crypt/sha256.c (sha256_process_block): Move to ...
19598 * crypt/sha256-block.c: ... here.
19599 * crypt/sha512.c (sha512_process_block): Move to ...
19600 * crypt/sha512-block.c: ... here.
19601 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19603 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19604 * sysdeps/sparc/sparc64/multiarch/Makefile
19605 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19607 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19608 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19610 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19611 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19612 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19613 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19614 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19615 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19616 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19617 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19618 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19620 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19621 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19623 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19625 2012-11-13 Joseph Myers <joseph@codesourcery.com>
19627 * timezone/tzselect.ksh: Update from tzcode git revision
19628 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19629 * timezone/zdump.c: Likewise.
19630 * timezone/zic.c: Likewise.
19631 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19632 in TZVERSION setting, not $(PKGVERSION).
19633 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19634 REPORT_BUGS_TO settings.
19637 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19640 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19642 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19643 detection to immediately after _FP_ROUND().
19644 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19647 2012-11-11 David S. Miller <davem@davemloft.net>
19649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19651 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19652 __close rather than their public counterparts.
19654 2012-11-10 Joseph Myers <joseph@codesourcery.com>
19656 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19658 [UNIX98] (sem_timedwait): Do not expect.
19659 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19660 [XPG4 || UNIX98] (sockatmark): Do not expect.
19661 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19662 (clock_getcpuclockid): Do not expect.
19663 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19664 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19666 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19667 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19668 [UNIX98] (vwscanf): Likewise.
19669 [UNIX98] (vswscanf): Likewise.
19671 2012-11-09 Joseph Myers <joseph@codesourcery.com>
19673 * timezone/version.h: Remove file.
19674 * timezone/README: Do not refer to version.h.
19675 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19676 $(objpfx)version.h.
19677 ($(objpfx)zdump.o): Likewise.
19678 ($(objpfx)version.h): New target.
19680 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19682 * timezone/README: Don't mention modification to tzselect.ksh.
19683 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19684 work on unmodified tzselect.ksh. Substitute version numbers in
19687 * Makefile (format-me): Remove.
19688 (INSTALL): Adjust indentation. Use commands directly instead of
19689 using $(format-me).
19691 * aclocal.m4 (ACX_PKGVERSION): New macro.
19692 (ACX_BUGURL): Likewise.
19693 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19694 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19695 (REPORT_BUGS_TO): Likewise.
19696 * configure: Regenerated.
19697 * config.h.in (PKGVERSION): New macro.
19698 (REPORT_BUGS_TO): Likewise.
19699 * config.make.in (PKGVERSION): New variable.
19700 (PKGVERSION_TEXI): Likewise.
19701 (REPORT_BUGS_TO): Likewise.
19702 (REPORT_BUGS_TEXI): Likewise.
19703 * Makefile (format-me): Use -I$(common-objpfx)manual.
19704 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19705 ($(common-objpfx)manual/%): New target.
19706 (manual/%): Remove target.
19707 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19708 (print_version): Use PKGVERSION.
19709 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19710 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19711 and REPORT_BUGS_TO.
19712 ($(objpfx)xtrace): Likewise.
19713 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19714 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19715 (print_version): Use PKGVERSION.
19716 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19717 (do_version): Use PKGVERSION.
19718 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19720 (common-ldd-rewrite): Likewise.
19721 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19722 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19723 (print_version): Use PKGVERSION.
19724 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19725 * elf/pldd.c (argp_program_bug_address): Remove variable.
19726 (more_help): New function.
19727 (argp): Use more_help.
19728 (print_version): Use PKGVERSION.
19729 * elf/sln.c (main): Use PKGVERSION.
19730 (usage): Use REPORT_BUGS_TO.
19731 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19732 (top level): Use PKGVERSION.
19733 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19734 (print_version): Use PKGVERSION.
19735 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19736 (print_version): Use PKGVERSION.
19737 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19738 (print_version): Use PKGVERSION.
19739 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19740 (print_version): Use PKGVERSION.
19741 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19742 (print_version): Use PKGVERSION.
19743 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19744 (print_version): Use PKGVERSION.
19745 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19747 ($(objpfx)memusage): Likewise.
19748 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19749 (do_version): Use PKGVERSION.
19750 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19751 (print_version): Use PKGVERSION.
19752 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19753 ($PKGVERSION): New variable.
19754 ($REPORT_BUGS_TO): Likewise.
19755 (usage): Use $REPORT_BUGS_TO.
19756 (top level): Use $PKGVERSION.
19757 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19758 ($(objpfx)pkgvers.texi): New rule.
19759 ($(objpfx)stamp-pkgvers): Likewise.
19760 * manual/install.texi: Include pkgvers.texi.
19761 (--with-pkgversion): Document new configure option.
19762 (--with-bugurl): Likewise.
19763 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19764 than necessarily for this particular distribution. Use
19765 REPORT_BUGS_TO for where to report bugs.
19766 * INSTALL: Regenerated.
19767 * manual/libc.texinfo: Include pkgvers.texi.
19768 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19769 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19770 (print_version): Use PKGVERSION.
19771 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19772 (print_version): Use PKGVERSION.
19773 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19774 (print_version): Use PKGVERSION.
19775 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19776 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19778 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19779 (print_version): Use PKGVERSION.
19780 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19781 (print_version): Use PKGVERSION.
19782 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19785 * timezone/checktab.awk: Update from tzcode 2012i.
19786 * timezone/ialloc.c: Likewise.
19787 * timezone/private.h: Likewise.
19788 * timezone/scheck.c: Likewise.
19789 * timezone/tzfile.h: Likewise.
19790 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19791 (TZVERSION): Hardcode tzcode version number.
19792 * timezone/zdump.c: Update from tzcode 2012i.
19793 * timezone/zic.c: Likewise.
19794 * timezone/version.h: New file.
19795 * timezone/README: Describe version.h. Update upstream location.
19798 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19799 (mktemp): Enable declaration.
19800 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19801 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19803 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19805 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19807 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19809 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19811 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19813 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19817 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19818 offset in buffer as u_int32_t not u_long. Consistently use memcpy
19819 for copies of such integer values.
19820 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19821 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19823 2012-11-09 Andreas Jaeger <aj@suse.de>
19825 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19826 definitions and declarations that are provided by
19827 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19829 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19831 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19832 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19833 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19836 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19838 * elf/elf.h: Update comment before AArch64 relocations.
19840 2012-11-07 David S. Miller <davem@davemloft.net>
19842 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19843 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19844 (__start_context): Declare.
19845 (__makecontext_ret): Delete.
19846 (__makecontext): Hook up __start_context instead of
19848 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19849 (sysdep_routines): Add __start_context when in stdlib.
19851 2012-11-07 Joseph Myers <joseph@codesourcery.com>
19853 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19854 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19855 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
19857 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
19858 (READELF): New variable. Use it instead of hardcoded "readelf".
19860 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
19862 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19863 * sysdeps/x86/Makefile: Here.
19864 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19865 * sysdeps/x86/tst-xmmymm.sh: This.
19867 2012-11-07 Joseph Myers <joseph@codesourcery.com>
19869 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19871 [UNIX98] (pthread_barrier_t): Do not expect.
19872 [UNIX98] (pthread_barrierattr_t): Likewise.
19873 [UNIX98] (pthread_spinlock_t): Likewise.
19874 [UNIX98] (pthread_barrier_destroy): Likewise.
19875 [UNIX98] (pthread_barrier_init): Likewise.
19876 [UNIX98] (pthread_barrier_wait): Likewise.
19877 [UNIX98] (pthread_barrierattr_destroy): Likewise.
19878 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19879 [UNIX98] (pthread_barrierattr_init): Likewise.
19880 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19881 [UNIX98] (pthread_getcpuclockid): Likewise.
19882 [UNIX98] (pthread_mutex_timedlock): Likewise.
19883 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19884 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19885 [UNIX98] (pthread_sigmask): Likewise.
19886 [UNIX98] (pthread_spin_destroy): Likewise.
19887 [UNIX98] (pthread_spin_init): Likewise.
19888 [UNIX98] (pthread_spin_lock): Likewise.
19889 [UNIX98] (pthread_spin_trylock): Likewise.
19890 [UNIX98] (pthread_spin_unlock): Likewise.
19891 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19893 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19894 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19895 [XPG3 || XPG4] (pthread_cond_t): Likewise.
19896 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19897 [XPG3 || XPG4] (pthread_key_t): Likewise.
19898 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19899 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19900 [XPG3 || XPG4] (pthread_once_t): Likewise.
19901 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19902 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19903 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19904 [XPG3 || XPG4] (pthread_t): Likewise.
19906 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19908 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19910 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19911 Change function return type to int.
19913 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19914 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19915 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19916 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19917 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19918 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19919 [!POSIX] (posix_madvise): Likewise.
19920 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19922 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19923 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19924 (mode_t): Likewise.
19925 (posix_mem_offset): Likewise.
19926 (posix_typed_mem_get_info): Likewise.
19927 (posix_typed_mem_open): Likewise.
19929 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19930 Change condition to [XOPEN2K8].
19932 * conform/conformtest.pl: Preprocess allow-header data with -x c
19933 instead of from stdin.
19934 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19935 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19936 [C99-based standards] (cerfc): Likewise.
19937 [C99-based standards] (cexp2): Likewise.
19938 [C99-based standards] (cexpm1): Likewise.
19939 [C99-based standards] (clog10): Likewise.
19940 [C99-based standards] (clog1p): Likewise.
19941 [C99-based standards] (clog2): Likewise.
19942 [C99-based standards] (clgamma): Likewise.
19943 [C99-based standards] (ctgamma): Likewise.
19944 [C99-based standards] (cerff): Likewise.
19945 [C99-based standards] (cerfcf): Likewise.
19946 [C99-based standards] (cexp2f): Likewise.
19947 [C99-based standards] (cexpm1f): Likewise.
19948 [C99-based standards] (clog10f): Likewise.
19949 [C99-based standards] (clog1pf): Likewise.
19950 [C99-based standards] (clog2f): Likewise.
19951 [C99-based standards] (clgammaf): Likewise.
19952 [C99-based standards] (ctgammaf): Likewise.
19953 [C99-based standards] (cerfl): Likewise.
19954 [C99-based standards] (cerfcl): Likewise.
19955 [C99-based standards] (cexp2l): Likewise.
19956 [C99-based standards] (cexpm1l): Likewise.
19957 [C99-based standards] (clog10l): Likewise.
19958 [C99-based standards] (clog1pl): Likewise.
19959 [C99-based standards] (clog2l): Likewise.
19960 [C99-based standards] (clgammal): Likewise.
19961 [C99-based standards] (ctgammal): Likewise.
19962 * conform/data/inttypes.h-data [C99-based standards]: Include
19963 stdint.h-data. Remove all expectations for stdint.h contents.
19964 [C99-based standards] (PRI*): Do not allow.
19965 [C99-based standards] (SCN*): Likewise.
19966 [C99-based standards] (*_t): Likewise.
19967 [C99-based-standards] (PRId8): Expect macro.
19968 [C99-based-standards] (PRIi8): Likewise.
19969 [C99-based-standards] (PRIo8): Likewise.
19970 [C99-based-standards] (PRIu8): Likewise.
19971 [C99-based-standards] (PRIx8): Likewise.
19972 [C99-based-standards] (PRIX8): Likewise.
19973 [C99-based-standards] (SCNd8): Likewise.
19974 [C99-based-standards] (SCNi8): Likewise.
19975 [C99-based-standards] (SCNo8): Likewise.
19976 [C99-based-standards] (SCNu8): Likewise.
19977 [C99-based-standards] (SCNx8): Likewise.
19978 [C99-based-standards] (PRIdLEAST8): Likewise.
19979 [C99-based-standards] (PRIiLEAST8): Likewise.
19980 [C99-based-standards] (PRIoLEAST8): Likewise.
19981 [C99-based-standards] (PRIuLEAST8): Likewise.
19982 [C99-based-standards] (PRIxLEAST8): Likewise.
19983 [C99-based-standards] (PRIXLEAST8): Likewise.
19984 [C99-based-standards] (SCNdLEAST8): Likewise.
19985 [C99-based-standards] (SCNiLEAST8): Likewise.
19986 [C99-based-standards] (SCNoLEAST8): Likewise.
19987 [C99-based-standards] (SCNuLEAST8): Likewise.
19988 [C99-based-standards] (SCNxLEAST8): Likewise.
19989 [C99-based-standards] (PRIdFAST8): Likewise.
19990 [C99-based-standards] (PRIiFAST8): Likewise.
19991 [C99-based-standards] (PRIoFAST8): Likewise.
19992 [C99-based-standards] (PRIuFAST8): Likewise.
19993 [C99-based-standards] (PRIxFAST8): Likewise.
19994 [C99-based-standards] (PRIXFAST8): Likewise.
19995 [C99-based-standards] (SCNdFAST8): Likewise.
19996 [C99-based-standards] (SCNiFAST8): Likewise.
19997 [C99-based-standards] (SCNoFAST8): Likewise.
19998 [C99-based-standards] (SCNuFAST8): Likewise.
19999 [C99-based-standards] (SCNxFAST8): Likewise.
20000 [C99-based-standards] (PRId16): Likewise.
20001 [C99-based-standards] (PRIi16): Likewise.
20002 [C99-based-standards] (PRIo16): Likewise.
20003 [C99-based-standards] (PRIu16): Likewise.
20004 [C99-based-standards] (PRIx16): Likewise.
20005 [C99-based-standards] (PRIX16): Likewise.
20006 [C99-based-standards] (SCNd16): Likewise.
20007 [C99-based-standards] (SCNi16): Likewise.
20008 [C99-based-standards] (SCNo16): Likewise.
20009 [C99-based-standards] (SCNu16): Likewise.
20010 [C99-based-standards] (SCNx16): Likewise.
20011 [C99-based-standards] (PRIdLEAST16): Likewise.
20012 [C99-based-standards] (PRIiLEAST16): Likewise.
20013 [C99-based-standards] (PRIoLEAST16): Likewise.
20014 [C99-based-standards] (PRIuLEAST16): Likewise.
20015 [C99-based-standards] (PRIxLEAST16): Likewise.
20016 [C99-based-standards] (PRIXLEAST16): Likewise.
20017 [C99-based-standards] (SCNdLEAST16): Likewise.
20018 [C99-based-standards] (SCNiLEAST16): Likewise.
20019 [C99-based-standards] (SCNoLEAST16): Likewise.
20020 [C99-based-standards] (SCNuLEAST16): Likewise.
20021 [C99-based-standards] (SCNxLEAST16): Likewise.
20022 [C99-based-standards] (PRIdFAST16): Likewise.
20023 [C99-based-standards] (PRIiFAST16): Likewise.
20024 [C99-based-standards] (PRIoFAST16): Likewise.
20025 [C99-based-standards] (PRIuFAST16): Likewise.
20026 [C99-based-standards] (PRIxFAST16): Likewise.
20027 [C99-based-standards] (PRIXFAST16): Likewise.
20028 [C99-based-standards] (SCNdFAST16): Likewise.
20029 [C99-based-standards] (SCNiFAST16): Likewise.
20030 [C99-based-standards] (SCNoFAST16): Likewise.
20031 [C99-based-standards] (SCNuFAST16): Likewise.
20032 [C99-based-standards] (SCNxFAST16): Likewise.
20033 [C99-based-standards] (PRId32): Likewise.
20034 [C99-based-standards] (PRIi32): Likewise.
20035 [C99-based-standards] (PRIo32): Likewise.
20036 [C99-based-standards] (PRIu32): Likewise.
20037 [C99-based-standards] (PRIx32): Likewise.
20038 [C99-based-standards] (PRIX32): Likewise.
20039 [C99-based-standards] (SCNd32): Likewise.
20040 [C99-based-standards] (SCNi32): Likewise.
20041 [C99-based-standards] (SCNo32): Likewise.
20042 [C99-based-standards] (SCNu32): Likewise.
20043 [C99-based-standards] (SCNx32): Likewise.
20044 [C99-based-standards] (PRIdLEAST32): Likewise.
20045 [C99-based-standards] (PRIiLEAST32): Likewise.
20046 [C99-based-standards] (PRIoLEAST32): Likewise.
20047 [C99-based-standards] (PRIuLEAST32): Likewise.
20048 [C99-based-standards] (PRIxLEAST32): Likewise.
20049 [C99-based-standards] (PRIXLEAST32): Likewise.
20050 [C99-based-standards] (SCNdLEAST32): Likewise.
20051 [C99-based-standards] (SCNiLEAST32): Likewise.
20052 [C99-based-standards] (SCNoLEAST32): Likewise.
20053 [C99-based-standards] (SCNuLEAST32): Likewise.
20054 [C99-based-standards] (SCNxLEAST32): Likewise.
20055 [C99-based-standards] (PRIdFAST32): Likewise.
20056 [C99-based-standards] (PRIiFAST32): Likewise.
20057 [C99-based-standards] (PRIoFAST32): Likewise.
20058 [C99-based-standards] (PRIuFAST32): Likewise.
20059 [C99-based-standards] (PRIxFAST32): Likewise.
20060 [C99-based-standards] (PRIXFAST32): Likewise.
20061 [C99-based-standards] (SCNdFAST32): Likewise.
20062 [C99-based-standards] (SCNiFAST32): Likewise.
20063 [C99-based-standards] (SCNoFAST32): Likewise.
20064 [C99-based-standards] (SCNuFAST32): Likewise.
20065 [C99-based-standards] (SCNxFAST32): Likewise.
20066 [C99-based-standards] (PRId64): Likewise.
20067 [C99-based-standards] (PRIi64): Likewise.
20068 [C99-based-standards] (PRIo64): Likewise.
20069 [C99-based-standards] (PRIu64): Likewise.
20070 [C99-based-standards] (PRIx64): Likewise.
20071 [C99-based-standards] (PRIX64): Likewise.
20072 [C99-based-standards] (SCNd64): Likewise.
20073 [C99-based-standards] (SCNi64): Likewise.
20074 [C99-based-standards] (SCNo64): Likewise.
20075 [C99-based-standards] (SCNu64): Likewise.
20076 [C99-based-standards] (SCNx64): Likewise.
20077 [C99-based-standards] (PRIdLEAST64): Likewise.
20078 [C99-based-standards] (PRIiLEAST64): Likewise.
20079 [C99-based-standards] (PRIoLEAST64): Likewise.
20080 [C99-based-standards] (PRIuLEAST64): Likewise.
20081 [C99-based-standards] (PRIxLEAST64): Likewise.
20082 [C99-based-standards] (PRIXLEAST64): Likewise.
20083 [C99-based-standards] (SCNdLEAST64): Likewise.
20084 [C99-based-standards] (SCNiLEAST64): Likewise.
20085 [C99-based-standards] (SCNoLEAST64): Likewise.
20086 [C99-based-standards] (SCNuLEAST64): Likewise.
20087 [C99-based-standards] (SCNxLEAST64): Likewise.
20088 [C99-based-standards] (PRIdFAST64): Likewise.
20089 [C99-based-standards] (PRIiFAST64): Likewise.
20090 [C99-based-standards] (PRIoFAST64): Likewise.
20091 [C99-based-standards] (PRIuFAST64): Likewise.
20092 [C99-based-standards] (PRIxFAST64): Likewise.
20093 [C99-based-standards] (PRIXFAST64): Likewise.
20094 [C99-based-standards] (SCNdFAST64): Likewise.
20095 [C99-based-standards] (SCNiFAST64): Likewise.
20096 [C99-based-standards] (SCNoFAST64): Likewise.
20097 [C99-based-standards] (SCNuFAST64): Likewise.
20098 [C99-based-standards] (SCNxFAST64): Likewise.
20099 [C99-based-standards] (PRIdMAX): Likewise.
20100 [C99-based-standards] (PRIiMAX): Likewise.
20101 [C99-based-standards] (PRIoMAX): Likewise.
20102 [C99-based-standards] (PRIuMAX): Likewise.
20103 [C99-based-standards] (PRIxMAX): Likewise.
20104 [C99-based-standards] (PRIXMAX): Likewise.
20105 [C99-based-standards] (SCNdMAX): Likewise.
20106 [C99-based-standards] (SCNiMAX): Likewise.
20107 [C99-based-standards] (SCNoMAX): Likewise.
20108 [C99-based-standards] (SCNuMAX): Likewise.
20109 [C99-based-standards] (SCNxMAX): Likewise.
20110 [C99-based-standards] (PRIdPTR): Likewise.
20111 [C99-based-standards] (PRIiPTR): Likewise.
20112 [C99-based-standards] (PRIoPTR): Likewise.
20113 [C99-based-standards] (PRIuPTR): Likewise.
20114 [C99-based-standards] (PRIxPTR): Likewise.
20115 [C99-based-standards] (PRIXPTR): Likewise.
20116 [C99-based-standards] (SCNdPTR): Likewise.
20117 [C99-based-standards] (SCNiPTR): Likewise.
20118 [C99-based-standards] (SCNoPTR): Likewise.
20119 [C99-based-standards] (SCNuPTR): Likewise.
20120 [C99-based-standards] (SCNxPTR): Likewise.
20121 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20123 * conform/data/stdint.h-data: Update comments to clarify
20125 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20127 [C99-based standards] (INT8_MAX): Likewise.
20128 [C99-based standards] (INT16_MIN): Likewise.
20129 [C99-based standards] (INT16_MAX): Likewise.
20130 [C99-based standards] (INT32_MIN): Likewise.
20131 [C99-based standards] (INT32_MAX): Likewise.
20132 [C99-based standards] (INT64_MIN): Likewise.
20133 [C99-based standards] (INT64_MAX): Likewise.
20134 [C99-based standards] (UINT8_MAX): Likewise.
20135 [C99-based standards] (UINT16_MAX): Likewise.
20136 [C99-based standards] (UINT32_MAX): Likewise.
20137 [C99-based standards] (UINT64_MAX): Likewise.
20138 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20139 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20140 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20141 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20142 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20143 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20144 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20145 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20146 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20147 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20148 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20149 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20150 [C99-based standards] (INT_FAST8_MIN): Likewise.
20151 [C99-based standards] (INT_FAST8_MAX): Likewise.
20152 [C99-based standards] (INT_FAST16_MIN): Likewise.
20153 [C99-based standards] (INT_FAST16_MAX): Likewise.
20154 [C99-based standards] (INT_FAST32_MIN): Likewise.
20155 [C99-based standards] (INT_FAST32_MAX): Likewise.
20156 [C99-based standards] (INT_FAST64_MIN): Likewise.
20157 [C99-based standards] (INT_FAST64_MAX): Likewise.
20158 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20159 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20160 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20161 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20162 [C99-based standards] (INTPTR_MIN): Likewise.
20163 [C99-based standards] (INTPTR_MAX): Likewise.
20164 [C99-based standards] (UINTPTR_MAX): Likewise.
20165 [C99-based standards] (INTMAX_MIN): Likewise.
20166 [C99-based standards] (INTMAX_MAX): Likewise.
20167 [C99-based standards] (UINTMAX_MAX): Likewise.
20168 [C99-based standards] (PTRDIFF_MIN): Likewise.
20169 [C99-based standards] (PTRDIFF_MAX): Likewise.
20170 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20171 [C99-based standards] (SIZE_MAX): Likewise.
20172 [C99-based standards] (WCHAR_MAX): Likewise.
20173 [C99-based standards] (WINT_MAX): Likewise.
20174 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20175 constraint on value.
20176 [C99-based standards] (WCHAR_MIN): Likewise.
20177 [C99-based standards] (WINT_MIN): Likewise.
20178 [C99-based standards] (*_t): Allow.
20179 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20180 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20181 Include math.h-data and complex.h-data. Remove all expectations
20182 of math.h and complex.h contents.
20183 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20185 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20186 (struct tm): Expect tag.
20187 [C99-based-standards] (wcstof): Expect function.
20188 [C99-based-standards] (wcstold): Likewise.
20189 [C99-based-standards] (wcstoll): Likewise.
20190 [C99-based-standards] (wcstoull): Likewise.
20191 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20192 macro-int-constant. Specify type.
20193 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20194 constraint on value.
20195 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20197 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20199 [ISO C standards]: Do not allow headers.
20200 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20201 wcs[abcdefghijklmnopqrstuvwxyz]*.
20202 [ISO C standards] (*_t): Do not allow.
20203 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20205 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20206 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20208 [ISO C standards]: Do not allow headers.
20209 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20210 is[abcdefghijklmnopqrstuvwxyz]*.
20211 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20212 to[abcdefghijklmnopqrstuvwxyz]*.
20213 [ISO C standards] (*_t): Do not allow.
20214 * conform/data/stdalign.h-data: New file.
20215 * conform/data/stdbool.h-data: Likewise.
20216 * conform/data/stdnoreturn.h-data: Likewise.
20218 2012-11-07 Roland McGrath <roland@hack.frob.com>
20221 * manual/filesys.texi (Directory Entries): Typo fix.
20222 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20224 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20226 * elf/elf.h (EM_AARCH64): New macro.
20227 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20228 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20229 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20230 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20231 (R_AARCH64_TLSDESC): Likewise.
20232 (NT_ARM_TLS): Likewise.
20233 (NT_ARM_HW_BREAK): Likewise.
20234 (NT_ARM_HW_WATCH): Likewise.
20236 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20239 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20240 (__ieee754_powl): Saturate nonzero exponents with absolute value
20241 below 0x1p-79 to +/- 0x1p-79.
20242 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20243 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20244 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20245 nonzero exponents with absolute value below 0x1p-32 to +/-
20247 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20248 (__ieee754_powl): Saturate nonzero exponents with absolute value
20249 below 0x1p-79 to +/- 0x1p-79.
20250 * math/libm-test.inc (pow_test): Add more tests.
20252 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20254 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20255 _dl_s390_cap_flags with kernel. Increase string length.
20256 (_dl_s390_platforms): Add z196 and zEC12.
20258 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20260 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20261 Change XOPEN21K to XOPEN2K.
20263 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20265 * string/memmove.c: Use memcpy when possible.
20267 2012-11-06 Andreas Jaeger <aj@suse.de>
20269 * po/eo.po: Update from translation team.
20271 2012-11-06 Joseph Myers <joseph@codesourcery.com>
20274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20275 exponent and small x and y exponents, scale x or y up. Increase
20276 by 2 the exponent used in scaling up.
20277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20279 * math/libm-test.inc (fma_test): Add more tests.
20280 (fma_test_towardzero): Likewise.
20281 (fma_test_downward): Likewise.
20282 (fma_test_upward): Likewise.
20284 2012-11-05 Joseph Myers <joseph@codesourcery.com>
20287 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20291 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20292 namespace for names of struct fields.
20293 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20295 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20296 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20298 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20301 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20303 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20305 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20309 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20312 2012-11-04 Joseph Myers <joseph@codesourcery.com>
20315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20316 definitely overflow as x * y not x * y + z.
20317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20318 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20319 * math/libm-test.inc (fma_test): Add more tests.
20320 (fma_test_towardzero): Likewise.
20321 (fma_test_downward): Likewise.
20322 (fma_test_upward): Likewise.
20324 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20328 * include/stub-tag.h: Remove file.
20329 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20331 * manual/maint.texi (Porting): Don't reference it.
20332 * Makerules ($(objpfx)stubs): Likewise.
20333 * dirent/closedir.c: Don't include <stub-tag.h>.
20334 * dirent/dirfd.c: Likewise.
20335 * dirent/fdopendir.c: Likewise.
20336 * dirent/getdents.c: Likewise.
20337 * dirent/getdents64.c: Likewise.
20338 * dirent/opendir.c: Likewise.
20339 * dirent/readdir.c: Likewise.
20340 * dirent/readdir64.c: Likewise.
20341 * dirent/readdir64_r.c: Likewise.
20342 * dirent/readdir_r.c: Likewise.
20343 * dirent/rewinddir.c: Likewise.
20344 * dirent/seekdir.c: Likewise.
20345 * dirent/telldir.c: Likewise.
20346 * gmon/profil.c: Likewise.
20347 * grp/setgroups.c: Likewise.
20348 * inet/if_index.c: Likewise.
20349 * io/access.c: Likewise.
20350 * io/chdir.c: Likewise.
20351 * io/chmod.c: Likewise.
20352 * io/chown.c: Likewise.
20353 * io/close.c: Likewise.
20354 * io/dup.c: Likewise.
20355 * io/dup2.c: Likewise.
20356 * io/dup3.c: Likewise.
20357 * io/euidaccess.c: Likewise.
20358 * io/faccessat.c: Likewise.
20359 * io/fchdir.c: Likewise.
20360 * io/fchmod.c: Likewise.
20361 * io/fchmodat.c: Likewise.
20362 * io/fchown.c: Likewise.
20363 * io/fchownat.c: Likewise.
20364 * io/fcntl.c: Likewise.
20365 * io/flock.c: Likewise.
20366 * io/fstatfs.c: Likewise.
20367 * io/fstatfs64.c: Likewise.
20368 * io/fstatvfs.c: Likewise.
20369 * io/fstatvfs64.c: Likewise.
20370 * io/futimens.c: Likewise.
20371 * io/fxstat.c: Likewise.
20372 * io/fxstat64.c: Likewise.
20373 * io/fxstatat.c: Likewise.
20374 * io/fxstatat64.c: Likewise.
20375 * io/getcwd.c: Likewise.
20376 * io/isatty.c: Likewise.
20377 * io/lchmod.c: Likewise.
20378 * io/lchown.c: Likewise.
20379 * io/link.c: Likewise.
20380 * io/linkat.c: Likewise.
20381 * io/lseek.c: Likewise.
20382 * io/lseek64.c: Likewise.
20383 * io/lxstat64.c: Likewise.
20384 * io/mkdir.c: Likewise.
20385 * io/mkdirat.c: Likewise.
20386 * io/mkfifo.c: Likewise.
20387 * io/mkfifoat.c: Likewise.
20388 * io/open.c: Likewise.
20389 * io/open64.c: Likewise.
20390 * io/openat.c: Likewise.
20391 * io/openat64.c: Likewise.
20392 * io/pipe.c: Likewise.
20393 * io/pipe2.c: Likewise.
20394 * io/poll.c: Likewise.
20395 * io/posix_fadvise.c: Likewise.
20396 * io/posix_fadvise64.c: Likewise.
20397 * io/posix_fallocate.c: Likewise.
20398 * io/posix_fallocate64.c: Likewise.
20399 * io/read.c: Likewise.
20400 * io/readlink.c: Likewise.
20401 * io/readlinkat.c: Likewise.
20402 * io/rmdir.c: Likewise.
20403 * io/sendfile.c: Likewise.
20404 * io/sendfile64.c: Likewise.
20405 * io/statfs.c: Likewise.
20406 * io/statfs64.c: Likewise.
20407 * io/statvfs.c: Likewise.
20408 * io/statvfs64.c: Likewise.
20409 * io/symlink.c: Likewise.
20410 * io/symlinkat.c: Likewise.
20411 * io/ttyname.c: Likewise.
20412 * io/ttyname_r.c: Likewise.
20413 * io/umask.c: Likewise.
20414 * io/unlink.c: Likewise.
20415 * io/unlinkat.c: Likewise.
20416 * io/utime.c: Likewise.
20417 * io/utimensat.c: Likewise.
20418 * io/write.c: Likewise.
20419 * io/xmknod.c: Likewise.
20420 * io/xmknodat.c: Likewise.
20421 * io/xstat.c: Likewise.
20422 * io/xstat64.c: Likewise.
20423 * login/getpt.c: Likewise.
20424 * login/grantpt.c: Likewise.
20425 * login/unlockpt.c: Likewise.
20426 * math/e_acoshl.c: Likewise.
20427 * math/e_acosl.c: Likewise.
20428 * math/e_asinl.c: Likewise.
20429 * math/e_atan2l.c: Likewise.
20430 * math/e_atanhl.c: Likewise.
20431 * math/e_coshl.c: Likewise.
20432 * math/e_expl.c: Likewise.
20433 * math/e_fmodl.c: Likewise.
20434 * math/e_gammal_r.c: Likewise.
20435 * math/e_hypotl.c: Likewise.
20436 * math/e_j0l.c: Likewise.
20437 * math/e_j1l.c: Likewise.
20438 * math/e_jnl.c: Likewise.
20439 * math/e_lgammal_r.c: Likewise.
20440 * math/e_log10l.c: Likewise.
20441 * math/e_log2l.c: Likewise.
20442 * math/e_logl.c: Likewise.
20443 * math/e_powl.c: Likewise.
20444 * math/e_rem_pio2l.c: Likewise.
20445 * math/e_sinhl.c: Likewise.
20446 * math/e_sqrtl.c: Likewise.
20447 * math/fclrexcpt.c: Likewise.
20448 * math/fedisblxcpt.c: Likewise.
20449 * math/feenablxcpt.c: Likewise.
20450 * math/fegetenv.c: Likewise.
20451 * math/fegetexcept.c: Likewise.
20452 * math/fegetround.c: Likewise.
20453 * math/feholdexcpt.c: Likewise.
20454 * math/fesetenv.c: Likewise.
20455 * math/fesetround.c: Likewise.
20456 * math/feupdateenv.c: Likewise.
20457 * math/fgetexcptflg.c: Likewise.
20458 * math/fraiseexcpt.c: Likewise.
20459 * math/fsetexcptflg.c: Likewise.
20460 * math/ftestexcept.c: Likewise.
20461 * math/k_cosl.c: Likewise.
20462 * math/k_rem_pio2l.c: Likewise.
20463 * math/k_sinl.c: Likewise.
20464 * math/k_tanl.c: Likewise.
20465 * math/s_asinhl.c: Likewise.
20466 * math/s_atanl.c: Likewise.
20467 * math/s_cbrtl.c: Likewise.
20468 * math/s_erfl.c: Likewise.
20469 * math/s_expm1l.c: Likewise.
20470 * math/s_log1pl.c: Likewise.
20471 * math/s_tanhl.c: Likewise.
20472 * misc/acct.c: Likewise.
20473 * misc/brk.c: Likewise.
20474 * misc/chflags.c: Likewise.
20475 * misc/chroot.c: Likewise.
20476 * misc/fchflags.c: Likewise.
20477 * misc/fgetxattr.c: Likewise.
20478 * misc/flistxattr.c: Likewise.
20479 * misc/fremovexattr.c: Likewise.
20480 * misc/fsetxattr.c: Likewise.
20481 * misc/fsync.c: Likewise.
20482 * misc/ftruncate.c: Likewise.
20483 * misc/futimes.c: Likewise.
20484 * misc/futimesat.c: Likewise.
20485 * misc/getdomain.c: Likewise.
20486 * misc/getdtsz.c: Likewise.
20487 * misc/gethostid.c: Likewise.
20488 * misc/gethostname.c: Likewise.
20489 * misc/getloadavg.c: Likewise.
20490 * misc/getpagesize.c: Likewise.
20491 * misc/getsysstats.c: Likewise.
20492 * misc/getxattr.c: Likewise.
20493 * misc/gtty.c: Likewise.
20494 * misc/ioctl.c: Likewise.
20495 * misc/lgetxattr.c: Likewise.
20496 * misc/listxattr.c: Likewise.
20497 * misc/llistxattr.c: Likewise.
20498 * misc/lremovexattr.c: Likewise.
20499 * misc/lsetxattr.c: Likewise.
20500 * misc/lutimes.c: Likewise.
20501 * misc/madvise.c: Likewise.
20502 * misc/mincore.c: Likewise.
20503 * misc/mlock.c: Likewise.
20504 * misc/mlockall.c: Likewise.
20505 * misc/mmap.c: Likewise.
20506 * misc/mprotect.c: Likewise.
20507 * misc/msync.c: Likewise.
20508 * misc/munlock.c: Likewise.
20509 * misc/munlockall.c: Likewise.
20510 * misc/munmap.c: Likewise.
20511 * misc/preadv.c: Likewise.
20512 * misc/preadv64.c: Likewise.
20513 * misc/ptrace.c: Likewise.
20514 * misc/pwritev.c: Likewise.
20515 * misc/pwritev64.c: Likewise.
20516 * misc/readv.c: Likewise.
20517 * misc/reboot.c: Likewise.
20518 * misc/remap_file_pages.c: Likewise.
20519 * misc/removexattr.c: Likewise.
20520 * misc/revoke.c: Likewise.
20521 * misc/select.c: Likewise.
20522 * misc/setdomain.c: Likewise.
20523 * misc/setegid.c: Likewise.
20524 * misc/seteuid.c: Likewise.
20525 * misc/sethostid.c: Likewise.
20526 * misc/sethostname.c: Likewise.
20527 * misc/setregid.c: Likewise.
20528 * misc/setreuid.c: Likewise.
20529 * misc/setxattr.c: Likewise.
20530 * misc/sstk.c: Likewise.
20531 * misc/stty.c: Likewise.
20532 * misc/swapoff.c: Likewise.
20533 * misc/swapon.c: Likewise.
20534 * misc/sync.c: Likewise.
20535 * misc/syncfs.c: Likewise.
20536 * misc/syscall.c: Likewise.
20537 * misc/truncate.c: Likewise.
20538 * misc/ualarm.c: Likewise.
20539 * misc/usleep.c: Likewise.
20540 * misc/ustat.c: Likewise.
20541 * misc/utimes.c: Likewise.
20542 * misc/vhangup.c: Likewise.
20543 * misc/writev.c: Likewise.
20544 * posix/_exit.c: Likewise.
20545 * posix/alarm.c: Likewise.
20546 * posix/execve.c: Likewise.
20547 * posix/fexecve.c: Likewise.
20548 * posix/fork.c: Likewise.
20549 * posix/fpathconf.c: Likewise.
20550 * posix/getaddrinfo.c: Likewise.
20551 * posix/getegid.c: Likewise.
20552 * posix/geteuid.c: Likewise.
20553 * posix/getgid.c: Likewise.
20554 * posix/getgroups.c: Likewise.
20555 * posix/getlogin.c: Likewise.
20556 * posix/getlogin_r.c: Likewise.
20557 * posix/getpgid.c: Likewise.
20558 * posix/getpid.c: Likewise.
20559 * posix/getppid.c: Likewise.
20560 * posix/getresgid.c: Likewise.
20561 * posix/getresuid.c: Likewise.
20562 * posix/getsid.c: Likewise.
20563 * posix/getuid.c: Likewise.
20564 * posix/glob64.c: Likewise.
20565 * posix/nanosleep.c: Likewise.
20566 * posix/pathconf.c: Likewise.
20567 * posix/pause.c: Likewise.
20568 * posix/posix_madvise.c: Likewise.
20569 * posix/pread.c: Likewise.
20570 * posix/pread64.c: Likewise.
20571 * posix/pwrite.c: Likewise.
20572 * posix/pwrite64.c: Likewise.
20573 * posix/sched_getaffinity.c: Likewise.
20574 * posix/sched_getp.c: Likewise.
20575 * posix/sched_gets.c: Likewise.
20576 * posix/sched_primax.c: Likewise.
20577 * posix/sched_primin.c: Likewise.
20578 * posix/sched_rr_gi.c: Likewise.
20579 * posix/sched_setaffinity.c: Likewise.
20580 * posix/sched_setp.c: Likewise.
20581 * posix/sched_sets.c: Likewise.
20582 * posix/sched_yield.c: Likewise.
20583 * posix/setgid.c: Likewise.
20584 * posix/setlogin.c: Likewise.
20585 * posix/setpgid.c: Likewise.
20586 * posix/setresgid.c: Likewise.
20587 * posix/setresuid.c: Likewise.
20588 * posix/setsid.c: Likewise.
20589 * posix/setuid.c: Likewise.
20590 * posix/sleep.c: Likewise.
20591 * posix/spawni.c: Likewise.
20592 * posix/sysconf.c: Likewise.
20593 * posix/times.c: Likewise.
20594 * posix/wait.c: Likewise.
20595 * posix/wait3.c: Likewise.
20596 * posix/wait4.c: Likewise.
20597 * posix/waitpid.c: Likewise.
20598 * resolv/gai_sigqueue.c: Likewise.
20599 * resource/getpriority.c: Likewise.
20600 * resource/getrlimit.c: Likewise.
20601 * resource/getrusage.c: Likewise.
20602 * resource/nice.c: Likewise.
20603 * resource/setpriority.c: Likewise.
20604 * resource/setrlimit.c: Likewise.
20605 * resource/ulimit.c: Likewise.
20606 * rt/aio_cancel.c: Likewise.
20607 * rt/aio_fsync.c: Likewise.
20608 * rt/aio_read.c: Likewise.
20609 * rt/aio_sigqueue.c: Likewise.
20610 * rt/aio_suspend.c: Likewise.
20611 * rt/aio_write.c: Likewise.
20612 * rt/clock_getres.c: Likewise.
20613 * rt/clock_gettime.c: Likewise.
20614 * rt/clock_nanosleep.c: Likewise.
20615 * rt/clock_settime.c: Likewise.
20616 * rt/lio_listio.c: Likewise.
20617 * rt/mq_close.c: Likewise.
20618 * rt/mq_getattr.c: Likewise.
20619 * rt/mq_notify.c: Likewise.
20620 * rt/mq_open.c: Likewise.
20621 * rt/mq_receive.c: Likewise.
20622 * rt/mq_send.c: Likewise.
20623 * rt/mq_setattr.c: Likewise.
20624 * rt/mq_timedreceive.c: Likewise.
20625 * rt/mq_timedsend.c: Likewise.
20626 * rt/mq_unlink.c: Likewise.
20627 * rt/shm_open.c: Likewise.
20628 * rt/shm_unlink.c: Likewise.
20629 * rt/timer_create.c: Likewise.
20630 * rt/timer_delete.c: Likewise.
20631 * rt/timer_getoverr.c: Likewise.
20632 * rt/timer_gettime.c: Likewise.
20633 * rt/timer_settime.c: Likewise.
20634 * setjmp/__longjmp.c: Likewise.
20635 * setjmp/setjmp.c: Likewise.
20636 * signal/kill.c: Likewise.
20637 * signal/killpg.c: Likewise.
20638 * signal/raise.c: Likewise.
20639 * signal/sigaction.c: Likewise.
20640 * signal/sigaltstack.c: Likewise.
20641 * signal/sigblock.c: Likewise.
20642 * signal/sigignore.c: Likewise.
20643 * signal/sigintr.c: Likewise.
20644 * signal/signal.c: Likewise.
20645 * signal/sigpause.c: Likewise.
20646 * signal/sigpending.c: Likewise.
20647 * signal/sigqueue.c: Likewise.
20648 * signal/sigreturn.c: Likewise.
20649 * signal/sigset.c: Likewise.
20650 * signal/sigsetmask.c: Likewise.
20651 * signal/sigstack.c: Likewise.
20652 * signal/sigsuspend.c: Likewise.
20653 * signal/sigtimedwait.c: Likewise.
20654 * signal/sigvec.c: Likewise.
20655 * signal/sigwait.c: Likewise.
20656 * signal/sigwaitinfo.c: Likewise.
20657 * signal/sysv_signal.c: Likewise.
20658 * socket/accept.c: Likewise.
20659 * socket/accept4.c: Likewise.
20660 * socket/bind.c: Likewise.
20661 * socket/connect.c: Likewise.
20662 * socket/getpeername.c: Likewise.
20663 * socket/getsockname.c: Likewise.
20664 * socket/getsockopt.c: Likewise.
20665 * socket/isfdtype.c: Likewise.
20666 * socket/listen.c: Likewise.
20667 * socket/recv.c: Likewise.
20668 * socket/recvfrom.c: Likewise.
20669 * socket/recvmsg.c: Likewise.
20670 * socket/send.c: Likewise.
20671 * socket/sendmsg.c: Likewise.
20672 * socket/sendto.c: Likewise.
20673 * socket/setsockopt.c: Likewise.
20674 * socket/shutdown.c: Likewise.
20675 * socket/sockatmark.c: Likewise.
20676 * socket/socket.c: Likewise.
20677 * socket/socketpair.c: Likewise.
20678 * stdio-common/ctermid.c: Likewise.
20679 * stdio-common/cuserid.c: Likewise.
20680 * stdio-common/remove.c: Likewise.
20681 * stdio-common/rename.c: Likewise.
20682 * stdio-common/renameat.c: Likewise.
20683 * stdio-common/tempname.c: Likewise.
20684 * stdlib/getcontext.c: Likewise.
20685 * stdlib/makecontext.c: Likewise.
20686 * stdlib/setcontext.c: Likewise.
20687 * stdlib/swapcontext.c: Likewise.
20688 * stdlib/system.c: Likewise.
20689 * streams/fattach.c: Likewise.
20690 * streams/fdetach.c: Likewise.
20691 * streams/getmsg.c: Likewise.
20692 * streams/getpmsg.c: Likewise.
20693 * streams/putmsg.c: Likewise.
20694 * streams/putpmsg.c: Likewise.
20695 * sysdeps/unix/bsd/getpt.c: Likewise.
20696 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20697 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20698 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20701 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20702 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20703 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20704 * sysvipc/msgctl.c: Likewise.
20705 * sysvipc/msgget.c: Likewise.
20706 * sysvipc/msgrcv.c: Likewise.
20707 * sysvipc/msgsnd.c: Likewise.
20708 * sysvipc/semctl.c: Likewise.
20709 * sysvipc/semget.c: Likewise.
20710 * sysvipc/semop.c: Likewise.
20711 * sysvipc/semtimedop.c: Likewise.
20712 * sysvipc/shmat.c: Likewise.
20713 * sysvipc/shmctl.c: Likewise.
20714 * sysvipc/shmdt.c: Likewise.
20715 * sysvipc/shmget.c: Likewise.
20716 * termios/tcdrain.c: Likewise.
20717 * termios/tcflow.c: Likewise.
20718 * termios/tcflush.c: Likewise.
20719 * termios/tcgetattr.c: Likewise.
20720 * termios/tcgetpgrp.c: Likewise.
20721 * termios/tcsendbrk.c: Likewise.
20722 * termios/tcsetattr.c: Likewise.
20723 * termios/tcsetpgrp.c: Likewise.
20724 * time/adjtime.c: Likewise.
20725 * time/clock.c: Likewise.
20726 * time/getitimer.c: Likewise.
20727 * time/gettimeofday.c: Likewise.
20728 * time/setitimer.c: Likewise.
20729 * time/settimeofday.c: Likewise.
20730 * time/stime.c: Likewise.
20731 * time/time.c: Likewise.
20733 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
20735 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20738 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20740 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20742 2012-11-03 Joseph Myers <joseph@codesourcery.com>
20745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20746 FE_TONEAREST before applying Dekker multiplication and Knuth
20747 addition. Clear inexact exceptions and check for exact zero
20748 results afterwards.
20749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20750 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20752 * math/libm-test.inc (fma_test): Add more tests.
20753 (fma_test_towardzero): Likewise.
20754 (fma_test_downward): Likewise.
20755 (fma_test_upward): Likewise.
20756 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20758 (libc_fesetround): New macro.
20759 (libc_fesetroundf): Likewise.
20760 (libc_fesetroundl): Likewise.
20761 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20763 (libc_fesetround_387): Likewise.
20764 (libc_fesetroundf): New macro.
20765 (libc_fesetround): Likewise.
20766 (libc_fesetroundl): Likewise.
20767 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20769 (libc_fesetroundf): New macro.
20770 (libc_fesetround): Likewise.
20771 (libc_fesetroundl): Likewise.
20772 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20773 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20774 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20776 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20777 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20779 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20780 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20782 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20786 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20787 integer constant usable in #if and use that to give value to enum
20789 (FE_DIVBYZERO): Likewise.
20790 (FE_UNDERFLOW): Likewise.
20791 (FE_OVERFLOW): Likewise.
20792 (FE_INVALID): Likewise.
20793 (FE_INVALID_SNAN): Likewise.
20794 (FE_INVALID_ISI): Likewise.
20795 (FE_INVALID_IDI): Likewise.
20796 (FE_INVALID_ZDZ): Likewise.
20797 (FE_INVALID_IMZ): Likewise.
20798 (FE_INVALID_COMPARE): Likewise.
20799 (FE_INVALID_SOFTWARE): Likewise.
20800 (FE_INVALID_SQRT): Likewise.
20801 (FE_INVALID_INTEGER_CONVERSION): Likewise.
20802 (FE_TONEAREST): Likewise.
20803 (FE_TOWARDZERO): Likewise.
20804 (FE_UPWARD): Likewise.
20805 (FE_DOWNWARD): Likewise.
20806 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20807 (FE_DIVBYZERO): Likewise.
20808 (FE_OVERFLOW): Likewise.
20809 (FE_UNDERFLOW): Likewise.
20810 (FE_INEXACT): Likewise.
20811 (FE_TONEAREST): Likewise.
20812 (FE_DOWNWARD): Likewise.
20813 (FE_UPWARD): Likewise.
20814 (FE_TOWARDZERO): Likewise.
20815 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20816 (FE_UNDERFLOW): Likewise.
20817 (FE_OVERFLOW): Likewise.
20818 (FE_DIVBYZERO): Likewise.
20819 (FE_INVALID): Likewise.
20820 (FE_TONEAREST): Likewise.
20821 (FE_TOWARDZERO): Likewise.
20822 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20823 (FE_OVERFLOW): Likewise.
20824 (FE_UNDERFLOW): Likewise.
20825 (FE_DIVBYZERO): Likewise.
20826 (FE_INEXACT): Likewise.
20827 (FE_TONEAREST): Likewise.
20828 (FE_TOWARDZERO): Likewise.
20829 (FE_UPWARD): Likewise.
20830 (FE_DOWNWARD): Likewise.
20831 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20832 (FE_DIVBYZERO): Likewise.
20833 (FE_OVERFLOW): Likewise.
20834 (FE_UNDERFLOW): Likewise.
20835 (FE_INEXACT): Likewise.
20836 (FE_TONEAREST): Likewise.
20837 (FE_DOWNWARD): Likewise.
20838 (FE_UPWARD): Likewise.
20839 (FE_TOWARDZERO): Likewise.
20841 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
20843 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20845 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
20847 * scripts/cross-test-ssh.sh (command): Use newlines to separate
20848 commands. Quote $PWD.
20849 (blacklist_exports): Don't use remove_newlines. Replace "declare
20851 (remove_newlines): Remove.
20853 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
20855 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20856 * stdlib/stdlib.h (atof): Moved to ...
20857 * include/bits/stdlib-float.h: Here. New file.
20858 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20859 * stdlib/bits/stdlib-float.h: New file.
20860 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20862 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20865 2012-11-02 Joseph Myers <joseph@codesourcery.com>
20867 * conform/conformtest.pl (@headers): Add fenv.h.
20868 * conform/data/fenv.h-data: New file.
20869 * include/fenv.h [_ISOMAC]: Disable all contents of file except
20870 include of <math/fenv.h>.
20872 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20873 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20874 && !UNIX98]. Enables tests for XOPEN2K8.
20875 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20876 POSIX2008]: Likewise.
20878 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20879 (struct rusage): Do not expect type or its members.
20882 * math/math.h (FP_NAN): Define macro to integer constant usable in
20883 #if and use that to give value to enum constant.
20884 (FP_INFINITE): Likewise.
20885 (FP_ZERO): Likewise.
20886 (FP_SUBNORMAL): Likewise.
20887 (FP_NORMAL): Likewise.
20889 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
20891 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20892 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20895 2012-11-02 Roland McGrath <roland@hack.frob.com>
20897 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20898 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20899 autoconf-time if not.
20900 * configure.in: Remove AC_PREREQ.
20902 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20904 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20905 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20906 of the internal implementation.
20908 2012-11-02 Joseph Myers <joseph@codesourcery.com>
20910 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20911 except include of <misc/sys/syslog.h>.
20913 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20916 function returns with a NULL context exit with zero.
20918 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20920 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20922 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
20924 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20925 (run_program_cmd): This.
20926 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20927 (tst_langinfo): New variable. Use it.
20929 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
20931 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20932 floating point opcodes.
20934 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20936 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20939 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20941 * sysdeps/mach/hurd/powerpc: Remove directory.
20942 * sysdeps/mach/powerpc: Likewise.
20944 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20946 * scripts/check-local-headers.sh: Ignore c++ headers.
20948 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20950 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20951 __libc_cleanup_region_start argument.
20953 2012-11-01 Joseph Myers <joseph@codesourcery.com>
20957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20958 x * y using scaling, not as x * y + z.
20959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20961 * math/libm-test.inc (fma_test): Add more tests.
20962 (fma_test_towardzero): Likewise.
20963 (fma_test_downward): Likewise.
20964 (fma_test_upward): Likewise.
20966 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20968 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20970 2012-10-31 Joseph Myers <joseph@codesourcery.com>
20972 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
20975 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
20977 * rt/tst-shm.c (worker): Correct checking for mmap failure.
20979 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20986 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20989 Fix the order of the list for glibc 2.17.
20990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20993 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20997 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21001 for low part of x being zero before using __atanl (y).
21002 * math/libm-test.inc (atan2_test): Add another test.
21004 * manual/install.texi (Configuring and compiling): Document
21005 general use of test-wrapper and test-wrapper-env.
21006 * INSTALL: Regenerated.
21008 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21009 (__fma): Do not extract and scale down low bits on after-rounding
21010 systems when result rounded to normal precision would have normal
21012 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21013 (__fmal): Do not extract and scale down low bits on after-rounding
21014 systems when result rounded to normal precision would have normal
21016 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21017 (__fmal): Do not extract and scale down low bits on after-rounding
21018 systems when result rounded to normal precision would have normal
21020 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21022 (fma_test): Add more tests.
21023 (fma_test_towardzero): Likewise.
21024 (fma_test_downward): Likewise.
21025 (fma_test_upward): Likewise.
21027 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21029 * sysdeps/i386/tininess.h: Renamed to ...
21030 * sysdeps/x86/tininess.h: This.
21031 * sysdeps/x86_64/tininess.h: Removed.
21033 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21035 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21036 input. Use $(build-program-cmd).
21037 ($(objpfx)tst-array1-static.out): Likewise.
21038 ($(objpfx)tst-array2.out): Likewise.
21039 ($(objpfx)tst-array3.out): Likewise.
21040 ($(objpfx)tst-array4.out): Likewise.
21041 ($(objpfx)tst-array5.out): Likewise.
21042 ($(objpfx)tst-array5-static.out): Likewise.
21044 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21046 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21049 * nss/nsswitch.h (nss_interface_function): Provide new
21050 macro for use with NSS functions.
21051 * grp/initgroups.c: Use new macro.
21052 * nss/getXXbyYY.c: Likewise.
21053 * nss/getXXbyYY_r.c: Likewise.
21054 * nss/getXXent.c: Likewise.
21055 * nss/getXXent_r.c: Likewise.
21056 * sysdeps/posix/getaddrinfo.c: Likewise.
21058 2012-10-30 Andreas Jaeger <aj@suse.de>
21060 * po/ru.po: Update Russion translation from translation project.
21062 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21067 result and shift together with sticky bit instead of replicating
21068 round-to-nearest rounding.
21069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21071 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21072 missing underflow exceptions.
21073 (fma_test_towardzero): Add more tests.
21074 (fma_test_downward): Likewise.
21075 (fma_test_upward): Likewise.
21078 * sysdeps/generic/tininess.h: New file.
21079 * sysdeps/i386/tininess.h: Likewise.
21080 * sysdeps/sh/tininess.h: Likewise.
21081 * sysdeps/x86_64/tininess.h: Likewise.
21082 * stdlib/tst-strtod-underflow.c: Likewise.
21083 * stdlib/tst-tininess.c: Likewise.
21084 * stdlib/strtod_l.c: Include <tininess.h>.
21085 (round_and_return): Do not set errno for exact underflow cases.
21086 Force an underflow exception when setting errno for underflow.
21087 Determine underflow based on rounding to normal precision if
21088 TININESS_AFTER_ROUNDING.
21089 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21090 ERANGE for exact underflow cases.
21091 * stdlib/Makefile (tests): Add tst-tininess and
21092 tst-strtod-underflow.
21093 ($(objpfx)tst-tininess): Use $(link-libm).
21094 ($(objpfx)tst-strtod-underflow): Likewise.
21096 2012-10-30 Andreas Jaeger <aj@suse.de>
21099 * elf/Makefile (tests): Remove conditional for have-initfini-array
21100 since this is now always required and the variable does not exist
21102 (tests-static): Likewise.
21103 (modules-names): Likewise.
21105 * po/eo.po: Add Esperanto translation from translation project.
21107 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21108 merged with constructor/destructor.
21109 (init_array): Likewise.
21110 * elf/tst-array2dep.c (fini_array): Likewise.
21111 (init_array): Likewise.
21113 2012-10-29 Mike Frysinger <vapier@gentoo.org>
21115 * manual/message.texi: Delete @cartouche tags.
21117 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21119 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21121 * sysdeps/mach/hurd/fsync.c: Likewise.
21123 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21124 [_POSIX_REALTIME_SIGNALS]: Change condition to
21125 [_POSIX_REALTIME_SIGNALS > 0].
21127 2012-10-27 Andreas Jaeger <aj@suse.de>
21129 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21130 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21132 [__WORDSIZE != 64]: Likewise.
21134 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21136 * iconvdata/tst-table.sh: Remove ${SHELL}.
21137 * iconvdata/tst-tables.sh: Likewise.
21139 2012-10-25 David S. Miller <davem@davemloft.net>
21141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21142 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21147 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21148 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21149 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21152 2012-10-25 Roland McGrath <roland@hack.frob.com>
21154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21155 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21158 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21159 Jim Blandy <jimb@codesourcery.com>
21161 * scripts/cross-test-ssh.sh: New file.
21162 * manual/install.texi (Configuring and compiling): Document use of
21164 * INSTALL: Regenerated.
21166 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21168 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21171 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21173 * Makeconfig (run-program-prefix): Fix comment.
21175 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21176 Jim Blandy <jimb@codesourcery.com>
21178 * Makeconfig (test-wrapper): New variable,
21179 (test-wrapper-env): Likewise.
21180 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21181 (run-built-tests): Define to yes.
21182 (run-program-prefix): Use $(test-wrapper).
21183 (built-program-cmd): Likewise.
21184 * Rules (make-test-out): Use $(test-wrapper-env) and
21185 $(host-built-program-cmd).
21186 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21187 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21189 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21190 $(test-wrapper-env) to tst-rtld-load-self.sh.
21191 ($(objpfx)order2.out): Use $(test-wrapper).
21192 ($(objpfx)tst-initorder.out): Likewise.
21193 ($(objpfx)tst-initorder2.out): Likewise.
21194 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21195 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21196 (test_wrapper_env): New variable. Use it to run ld.so.
21197 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21198 Use it to run ld.so.
21199 (test_wrapper_env): Likewise.
21200 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21201 $(test-wrapper) to run-iconv-test.sh.
21202 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21203 (ICONV): Use $test_wrapper.
21204 * posix/Makefile ($(objpfx)globtest.out): Pass
21205 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21206 globtest.sh, not $(run-program-prefix).
21207 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21208 (test_wrapper): Likewise.
21209 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21210 set together with run_via_rtld_prefix.
21211 (run_program_prefix): Define in terms of test_wrapper and
21212 run_via_rtld_prefix.
21214 2012-10-24 Roland McGrath <roland@hack.frob.com>
21216 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21217 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21221 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21222 Declare __clock_getres, __clock_gettime, __clock_settime,
21223 __clock_nanosleep, and __clock_getcpuclockid.
21224 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21225 Remove librt_hidden_def (clock_gettime).
21226 * sysdeps/unix/clock_gettime.c: Likewise.
21227 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21228 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21229 * rt/clock_getres.c: Define __clock_getres as an alias.
21230 * sysdeps/posix/clock_getres.c: Likewise.
21231 * rt/clock_settime.c: Define __clock_settime as an alias.
21232 * sysdeps/unix/clock_settime.c: Likewise.
21233 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21234 * sysdeps/unix/clock_nanosleep.c: Likewise.
21235 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21236 * rt/clock-compat.c: New file.
21237 * rt/Makefile (librt-routines): Add clock-compat and move
21238 $(clock-routines) to ...
21239 (routines): ... here, new variable.
21240 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21241 Don't add get_clockfreq here.
21242 * rt/Versions (libc: GLIBC_2.17): New version set.
21243 Add clock_* symbols here.
21244 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21245 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21246 (GLIBC_2.17): Add clock_* symbols.
21247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21258 * NEWS: Mention the move.
21260 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21261 Use __open, __read, __close rather than their public counterparts.
21262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21263 (__get_clockfreq_via_cpuinfo): Likewise.
21264 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21265 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21267 * config.h.in (HAVE_IFUNC): New #undef.
21268 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21270 * configure: Regenerated.
21272 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21274 * configure.in: Move READELF check to start of file.
21275 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21276 libc_cv_asm_gnu_indirect_function in the process.
21277 * configure: Regenerated.
21279 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21281 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21282 send the output to /dev/null.
21283 (libc_cv_cc_with_libunwind): Likewise.
21284 (libc_cv_as_noexecstack): Likewise.
21285 * configure: Regenerate.
21287 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21289 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21291 * posix/globtest.sh (TMPDIR): Do not set.
21292 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21293 (testout): Likewise.
21295 2012-10-24 Andreas Jaeger <aj@suse.de>
21297 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21298 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21299 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21300 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21301 posix_fadvise64, posix_fallocate64.
21303 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21304 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21305 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21307 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21309 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21312 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21313 <bits/fcntl-linux.h>.
21314 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21317 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21318 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21319 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21320 [__WORDSIZE != 64]: Likewise.
21322 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21324 * Makeconfig (run-built-tests): New variable.
21325 * Rules [$(cross-compiling) = yes]: Change condition to
21326 [$(run-built-tests) = no].
21327 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21328 to [$(run-built-tests) = yes].
21329 * elf/Makefile [$(cross-compiling) = no]: Likewise
21330 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21331 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21332 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21333 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21334 * io/Makefile [$(cross-compiling) = no]: Likewise.
21335 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21336 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21337 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21338 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21339 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21340 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21341 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21342 * string/Makefile [$(cross-compiling) = no]: Likewise.
21344 * posix/Makefile ($(objpfx)globtest.out): Pass
21345 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21346 $(rtld-installed-name).
21347 * posix/globtest.sh (elf_objpfx): Remove variable.
21348 (rtld_installed_name): Likewise.
21349 (library_path): Likewise.
21350 (run_program_prefix): New variable. Use for running globtest
21353 2012-10-23 Jim Blandy <jimb@codesourcery.com>
21354 Joseph Myers <joseph@codesourcery.com>
21356 * Makeconfig (host-built-program-cmd): New variable.
21357 * elf/Makefile (tst-stackguard1-ARGS): Use
21358 $(host-built-program-cmd).
21359 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21360 (tst-spawn-ARGS): Likewise.
21361 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21363 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21364 Jim Blandy <jimb@codesourcery.com>
21366 * Makeconfig (run-via-rtld-prefix): New variable.
21367 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21368 (built-program-cmd): Likewise.
21370 2012-10-22 Andreas Jaeger <aj@suse.de>
21372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21373 __O_RSYNC if it exists, otherwise to O_SYNC.
21375 2012-10-22 Jim Blandy <jimb@codesourcery.com>
21376 Joseph Myers <joseph@codesourcery.com>
21378 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21380 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21382 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21385 2012-10-22 Andreas Jaeger <aj@suse.de>
21387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21392 bits/fcntl-linux.h.
21394 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21395 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21402 2012-10-21 Jim Blandy <jimb@codesourcery.com>
21403 Joseph Myers <joseph@codesourcery.com>
21405 * config.make.in (NM): New variable.
21407 2012-10-21 Andreas Jaeger <aj@suse.de>
21409 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21410 definitions and declarations that are provided by
21411 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21413 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21416 * elf/Makefile (tests-static): Add tst-leaks1-static.
21417 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21418 ($(objpfx)tst-leaks1-static): New rule.
21419 ($(objpfx)tst-leaks1-static-mem): Likewise.
21420 (tst-leaks1-static-ENV): New macro.
21421 * elf/dl-open.c (dl_open_worker): Check the main application
21422 only if SHARED is defined.
21423 * elf/tst-leaks1-static.c: New file.
21425 2012-10-20 Andreas Jaeger <aj@suse.de>
21427 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21428 generic values for Linux.
21429 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21430 and declarations that are provided by <bits/fcntl-linux.h> and
21431 include <bits/fcntl-linux.h>.
21432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21435 2012-10-20 Roland McGrath <roland@hack.frob.com>
21437 * io/fcntl.h: Move include of <bits/types.h> to the top and
21438 include it unconditionally.
21440 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21442 * wcsmbs/Makefile (tests-ifunc): New variable.
21443 (tests): Add $(tests-ifunc).
21444 * wcsmbs/test-wcschr-ifunc.c: New file.
21445 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21446 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21447 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21448 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21449 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21451 * string/Makefile (tests-ifunc): New variable.
21452 (tests): Add $(tests-ifunc).
21453 * string/test-memccpy.c (TEST_NAME): New macro.
21454 * string/test-memchr.c (TEST_NAME): Likewise.
21455 * string/test-memcmp.c (TEST_NAME): Likewise.
21456 * string/test-memcpy.c (TEST_NAME): Likewise.
21457 * string/test-memmem.c (TEST_NAME): Likewise.
21458 * string/test-memmove.c (TEST_NAME): Likewise.
21459 * string/test-memset.c (TEST_NAME): Likewise.
21460 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21461 * string/test-stpcpy.c (TEST_NAME): Likewise.
21462 * string/test-stpncpy.c (TEST_NAME): Likewise.
21463 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21464 * string/test-strcasestr.c (TEST_NAME): Likewise.
21465 * string/test-strcat.c (TEST_NAME): Likewise.
21466 * string/test-strchr.c (TEST_NAME): Likewise.
21467 * string/test-strcmp.c(TEST_NAME): Likewise.
21468 * string/test-strcpy.c (TEST_NAME): Likewise.
21469 * string/test-strcspn.c (TEST_NAME): Likewise.
21470 * string/test-strlen.c (TEST_NAME): Likewise.
21471 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21472 * string/test-strncmp.c (TEST_NAME): Likewise.
21473 * string/test-strncpy.c (TEST_NAME): Likewise.
21474 * string/test-strnlen.c (TEST_NAME): Likewise.
21475 * string/test-strpbrk.c (TEST_NAME): Likewise.
21476 * string/test-strrchr.c (TEST_NAME): Likewise.
21477 * string/test-strspn.c (TEST_NAME): Likewise.
21478 * string/test-strstr.c (TEST_NAME): Likewise.
21479 * string/test-bcopy-ifunc.c: New file.
21480 * string/test-bzero-ifunc.c: Likewise.
21481 * string/test-memccpy-ifunc.c: Likewise.
21482 * string/test-memchr-ifunc.c: Likewise.
21483 * string/test-memcmp-ifunc.c: Likewise.
21484 * string/test-memcpy-ifunc.c: Likewise.
21485 * string/test-memmem-ifunc.c: Likewise.
21486 * string/test-memmove-ifunc.c: Likewise.
21487 * string/test-mempcpy-ifunc.c: Likewise.
21488 * string/test-memset-ifunc.c: Likewise.
21489 * string/test-rawmemchr-ifunc.c: Likewise.
21490 * string/test-stpcpy-ifunc.c: Likewise.
21491 * string/test-stpncpy-ifunc.c: Likewise.
21492 * string/test-strcasecmp-ifunc.c: Likewise.
21493 * string/test-strcasestr-ifunc.c: Likewise.
21494 * string/test-strcat-ifunc.c: Likewise.
21495 * string/test-strchr-ifunc.c: Likewise.
21496 * string/test-strchrnul-ifunc.c: Likewise.
21497 * string/test-strcmp-ifunc.c: Likewise.
21498 * string/test-strcpy-ifunc.c: Likewise.
21499 * string/test-strcspn-ifunc.c: Likewise.
21500 * string/test-strlen-ifunc.c: Likewise.
21501 * string/test-strncasecmp-ifunc.c: Likewise.
21502 * string/test-strncat-ifunc.c: Likewise.
21503 * string/test-strncmp-ifunc.c: Likewise.
21504 * string/test-strncpy-ifunc.c: Likewise.
21505 * string/test-strnlen-ifunc.c: Likewise.
21506 * string/test-strpbrk-ifunc.c: Likewise.
21507 * string/test-strrchr-ifunc.c: Likewise.
21508 * string/test-strspn-ifunc.c: Likewise.
21509 * string/test-strstr-ifunc.c: Likewise.
21511 * debug/Makefile (tests-ifunc): New variable.
21512 (tests): Add $(tests-ifunc).
21513 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21514 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21515 * debug/test-stpcpy_chk-ifunc.c: New file.
21516 * debug/test-strcpy_chk-ifunc.c: Likewise.
21518 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21521 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21522 header is not read in.
21524 2012-10-19 Joseph Myers <joseph@codesourcery.com>
21526 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21527 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21528 directly. Pass built executable to script as
21529 $(built-program-cmd).
21530 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21531 $testprogram without using LD_LIBRARY_PATH and $ldso.
21533 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21534 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21535 $(rtld-installed-name).
21536 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21537 (rtld_installed_name): Likewise.
21538 (library_path): Likewise.
21539 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21540 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21541 $(run-program-prefix) to tst-tables.sh.
21542 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21543 it to run tst-table-from and tst-table-to.
21544 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21545 Pass it to tst-table.sh.
21546 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21547 $(run-program-prefix) to tst-gettext.sh.
21548 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21550 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21552 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21553 to run tst-gettext.
21554 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21555 to run tst-gettext2.
21556 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21557 to run tst-translit.
21558 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21559 $(run-program-prefix) to tst-mtrace.sh.
21560 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21562 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21563 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21564 $(rtld-installed-name).
21565 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21566 (rtld_installed_name): Likewise.
21567 (run_program_prefix): New variable. Use it to run wordexp-test.
21569 * Makeconfig (ARCH): Remove all definitions.
21570 (machine): Likewise.
21571 [ARCH]: Remove conditional code.
21572 [!objdir]: Give error.
21573 [!objdir] (objpfx): Remove.
21574 [!objdir] (common-objpfx): Likewise.
21575 [!objdir] (common-objdir): Likewise.
21576 * configure.in (config_makefile): Remove. Hardcode Makefile in
21577 AC_CONFIG_FILES call.
21578 * configure: Regenerated.
21581 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21583 (testout): Likewise.
21585 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21586 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21587 $(rtld-installed-name).
21588 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21589 (rtld_installed_name): Likwise.
21590 (runit): Remove function.
21591 (run_getconf): New variable, Use it for running getconf binary.
21593 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21596 * string/test-memmem.c (check_result): New function.
21597 (do_one_test): Use it.
21598 (check1): New function.
21599 (test_main): Use it.
21601 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21603 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21605 2012-10-18 Joseph Myers <joseph@codesourcery.com>
21607 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21608 (_G_LSEEK64): Likewise.
21609 (_G_MMAP64): Likewise.
21610 (_G_FSTAT64): Likewise.
21611 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21612 (_G_LSEEK64): Likewise.
21613 (_G_MMAP64): Likewise.
21614 (_G_FSTAT64): Likewise.
21615 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21616 unconditional. Call __mmap64 directly.
21617 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21618 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21619 __lseek64 directly.
21620 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21621 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21623 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21624 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21625 __lseek64 directly.
21626 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21627 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21628 __lseek64 directly.
21629 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21630 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21631 __lseek64 directly.
21632 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21633 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21634 __fxstat64 directly.
21635 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21636 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21638 (freopen64) [!_G_OPEN64]: Remove conditional code.
21639 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21641 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21642 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21644 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21645 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21647 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21648 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21650 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21651 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21653 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21654 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21656 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21657 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21659 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21661 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21664 * manual/memory.texi (Malloc Tunable Parameters): Add note
21665 about free list pointers overwriting some perturb bytes.
21666 Wording suggested by Roland McGrath.
21668 2012-10-17 Joseph Myers <joseph@codesourcery.com>
21670 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21671 (lgamma_test): Likewise.
21672 (tgamma_test): Likewise.
21674 2012-10-16 Florian Weimer <fweimer@redhat.com>
21677 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21678 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21680 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21682 * NEWS: Mention BZ #14716.
21683 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21684 when removing AVAILABLE1_USES_J macro.
21686 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21688 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21689 (__bswap_64): __uint64_t for unsigned 64-bit int.
21691 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21693 * include/string.h (memmem): Declare libc hidden alias.
21694 * string/memmem.c (memmem): Define libc hidden alias.
21695 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21696 __read, __close instead of open, read, close.
21698 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21700 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21701 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21703 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21704 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21705 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21707 (__rawmemchr_sse2): Likewise.
21708 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21709 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21710 (__strchr_sse2): Likewise.
21711 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21712 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21713 (__strcasecmp_sse2): Likewise.
21714 (__strncasecmp_sse2): Likewise.
21715 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21716 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21717 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21718 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21719 (__strrchr_sse2): Likewise.
21720 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21722 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21723 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21724 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21725 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21726 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21727 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21728 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21729 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21730 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21731 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21732 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21733 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21734 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21735 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21736 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21737 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21738 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21739 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21740 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21741 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21742 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21743 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21744 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21745 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21746 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21747 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21748 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21749 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21750 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21751 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21753 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21755 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21756 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21757 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21758 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21760 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21762 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21763 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21764 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21765 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21767 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21768 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21769 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21770 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21771 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21772 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21773 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21774 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21775 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21776 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21777 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21778 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21779 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21780 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21781 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21782 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21783 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21784 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21785 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21786 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21787 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21788 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21789 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21790 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21791 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21792 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21793 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21794 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21795 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21796 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21797 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21798 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21799 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21800 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21801 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21802 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21803 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21804 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21805 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21806 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21807 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21809 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21810 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21811 * include/ifunc-impl-list.h: New file.
21812 * misc/ifunc-impl-list.c: Likewise.
21813 * misc/Makefile (routines): Add ifunc-impl-list.
21814 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21815 * string/test-string.h: Include <ifunc-impl-list.h>.
21816 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21817 impl_array): New variables.
21818 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21820 (test_init): Call __libc_ifunc_impl_list to initialize
21821 func_list if TEST_IFUNC and TEST_NAME are defined.
21823 * string/Makefile (strop-tests): Add bcopy and bzero.
21824 * string/test-bcopy.c: New file.
21825 * string/test-bzero.c: Likewise.
21826 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21828 * string/test-memset.c: Support bzero test if TEST_BZERO is
21830 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21832 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21834 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21837 2012-10-10 Joseph Myers <joseph@codesourcery.com>
21839 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21840 * configure: Regenerated.
21842 * Makeconfig (+link-static-before-libc): Don't include
21843 $(link-static-libc).
21845 * libio/libio.h (_IO_pos_t): Remove.
21847 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21849 * NEWS: Add note about FIPS mode. Wording suggested by Roland
21852 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21854 * crypt/crypt-entry.c: Include fips-private.h.
21855 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21856 * crypt/md5c-test.c (main): Tolerate disabled MD5.
21857 * sysdeps/unix/sysv/linux/fips-private.h: New file.
21858 * sysdeps/generic/fips-private.h: New file, dummy fallback.
21860 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21862 * crypt/crypt-private.h: Include stdbool.h.
21863 (_ufc_setup_salt_r): Return bool.
21864 * crypt/crypt-entry.c: Include errno.h.
21865 (__crypt_r): Return NULL with EINVAL for bad salt.
21866 * crypt/crypt_util.c (bad_for_salt): New.
21867 (_ufc_setup_salt_r): Check that salt is long enough and within
21868 the specified alphabet.
21869 * crypt/badsalttest.c: New file.
21870 * crypt/Makefile (tests): Add it.
21871 ($(objpfx)badsalttest): New.
21873 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
21875 * NEWS: Add entry for BZ #14602.
21877 2012-10-09 Joseph Myers <joseph@codesourcery.com>
21879 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21881 * math/libm-test.inc: Update comment listing what functions and
21883 (isgreater_test): New function.
21884 (isgreaterequal_test): Likewise.
21885 (isless_test): Likewise.
21886 (islessequal_test): Likewise.
21887 (islessgreater_test): Likewise.
21888 (isunordered_test): Likewise.
21889 (main): Call the new functions.
21891 2012-10-09 Roland McGrath <roland@hack.frob.com>
21893 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21894 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21895 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21896 * sysdeps/i386/configure: Regenerated.
21897 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21898 * sysdeps/mach/configure: Regenerated.
21899 * sysdeps/mach/hurd/configure: Regenerated.
21900 * sysdeps/powerpc/configure: Regenerated.
21901 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21902 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21903 * sysdeps/s390/s390-32/configure: Regenerated.
21904 * sysdeps/s390/s390-64/configure: Regenerated.
21905 * sysdeps/sh/configure: Regenerated.
21906 * sysdeps/sparc/configure: Regenerated.
21907 * sysdeps/unix/sysv/linux/configure: Regenerated.
21908 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21909 * sysdeps/x86_64/configure: Regenerated.
21911 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21912 defined. Don't check if MAP is NULL.
21914 2012-10-09 Joseph Myers <joseph@codesourcery.com>
21916 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21917 (_G_stat64): Likewise.
21918 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21919 (_G_stat64): Likewise.
21920 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21921 instead of struct _G_stat64.
21922 * libio/fileops.c (mmap_remap_check): Likewise.
21923 (decide_maybe_mmap): Likewise.
21924 (_IO_new_file_seekoff): Likewise.
21925 (_IO_file_stat): Likewise.
21926 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21928 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21929 instead of struct _G_stat64.
21930 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21932 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
21935 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21937 (CHECK_EOL): New macro.
21938 (two_way_short_needle): Check beginning of haystack for EOL. Use
21940 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21941 Replace with CHECK_EOL.
21942 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21943 Replace with CHECK_EOL.
21945 2012-10-08 Joseph Myers <joseph@codesourcery.com>
21947 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21949 * math/libm-test.inc: Update comment listing what functions and
21951 (finite_test): New function.
21952 (isinf_test): Likewise.
21953 (isnan_test): Likewise.
21954 (fpclassify_test): Test subnormal input.
21955 (isfinite_test): Likewise.
21956 (isnormal_test): Likewise.
21957 (main): Call the new functions.
21959 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
21962 * Makerules (%.dynsym): Force C locale when running
21963 $(OBJDUMP) --dynamic-syms.
21965 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
21967 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21970 2012-10-06 David S. Miller <davem@davemloft.net>
21972 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
21973 upper 32-bits of the length value in %o2 since we use branch-on-register
21974 tests which consider the entire 64-bit register.
21976 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
21978 * string/test-strstr.c (check2): Add a test for page boundary.
21980 2012-10-05 David S. Miller <davem@davemloft.net>
21982 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
21983 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
21985 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21987 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21988 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
21989 and bzero when HWCAP_SPARC_CRYPTO is present.
21991 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
21994 * string/test-strstr.c (check2): New function.
21995 (test_main): Call check2.
21997 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
21999 * string/bug-strcasestr1.c (do_test): Moved to ...
22000 * string/test-strcasestr.c (check1): Here. New function.
22001 (do_one_test): Break out result checking code into ...
22002 (check_result): This. New function.
22003 (do_one_test): Call check_result.
22004 (test_main): Call check1.
22005 * string/bug-strchr1.c (do_test): Moved to ...
22006 * string/test-strchr.c (check1): Here. New function.
22007 (do_one_test): Break out result checking code into ...
22008 (check_result): This. New function.
22009 (do_one_test): Call check_result.
22010 (test_main): Call check1.
22011 * string/bug-strstr1.c (main): Moved to ...
22012 * string/test-strstr.c (check1): Here. New function.
22013 (do_one_test): Break out result checking code into ...
22014 (check_result): This. New function.
22015 (do_one_test): Call check_result.
22016 (test_main): Call check1.
22017 * string/bug-strcasestr1.c: Removed.
22018 * string/bug-strchr1.c: Likewise.
22019 * string/bug-strstr1.c: Likewise.
22021 * elf/Makefile (dl-routines): Add hwcaps.
22022 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22023 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22024 (_dl_important_hwcaps): Moved to ...
22025 * elf/dl-hwcaps.c: Here. New file.
22026 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22029 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22030 if IS_IN_rtld isn't defined.
22032 * elf/dl-support.c (_dl_sysinfo_map): New.
22033 Include "get-dynamic-info.h" and "setup-vdso.h".
22034 (_dl_non_dynamic_init): Call setup_vdso.
22035 * elf/dynamic-link.h: Don't include <assert.h>.
22036 (elf_get_dynamic_info): Moved to ...
22037 * elf/get-dynamic-info.h: Here. New file.
22038 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22039 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22040 * elf/setup-vdso.h: Here. New file.
22041 * elf/rtld.c: Include "setup-vdso.h".
22042 (dl_main): Call setup_vdso.
22044 2012-10-05 Joseph Myers <joseph@codesourcery.com>
22046 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22047 creal in comment listing functions tested. List finite, isinf,
22048 isnan, isless, islessequal, isgreater, isgreaterequal,
22049 islessgreater, isunordered, lgamma_r and pow10 as functions and
22050 macros not tested. Mention which functions not tested are aliases
22051 for other functions. Fix typo. Note that signs of NaNs are not
22054 * scripts/config.guess: Update from config.git.
22055 * scripts/config.sub: Likewise.
22057 2012-10-04 Roland McGrath <roland@hack.frob.com>
22059 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22060 * misc/madvise.c (madvise): Renamed to __madvise.
22061 Make madvise a weak alias.
22062 * include/sys/mman.h: Declare __madvise.
22063 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22064 * sysdeps/unix/syscalls.list
22065 (madvise): Make __madvise the strong name, and madvise a weak alias.
22066 * sysdeps/unix/sysv/linux/syscalls.list
22067 (madvise, mmap): Remove redundant entries.
22068 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22069 * malloc/malloc.c (mtrim): Likewise.
22070 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22072 2012-10-03 Roland McGrath <roland@hack.frob.com>
22074 * sysdeps/mach/hurd/dl-cache.c: File removed.
22075 * config.h.in (USE_LDCONFIG): New #undef.
22076 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22077 * configure: Regenerated.
22078 * elf/Makefile (dl-routines): Add dl-cache only under
22079 [$(use-ldconfig) = yes].
22080 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22081 cache on [USE_LDCONFIG].
22082 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22084 * elf/rtld.c (dl_main): Likewise.
22086 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22088 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22089 _SC_LEVEL4_CACHE_LINESIZE.
22091 2012-10-03 Roland McGrath <roland@hack.frob.com>
22093 * sysdeps/unix/bsd/confstr.h: File removed.
22095 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
22097 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22100 2012-10-02 Roland McGrath <roland@hack.frob.com>
22102 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22103 Make 'mapoff' field ElfW(Off) rather than off_t.
22105 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22107 * nscd/Makefile: Remove nscd-cflags and all its users.
22108 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22109 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22112 * malloc.c (malloc_printerr): Clarify error message.
22114 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22118 Set bit_FMA_Usable if FMA is supported.
22119 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22121 (bit_FMA4_Usable): Updated.
22122 (index_FMA_Usable): New macro.
22123 (CPUID_FMA): Likewise
22124 (HAS_FMA): Defined with bit_FMA_Usable.
22126 2012-10-01 Roland McGrath <roland@hack.frob.com>
22128 * bits/types.h (__swblk_t): Type removed.
22129 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22130 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22132 (__SWBLK_T_TYPE): Likewise.
22133 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22134 (__SWBLK_T_TYPE): Likewise.
22135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22136 (__SWBLK_T_TYPE): Likewise.
22137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22138 (__SWBLK_T_TYPE): Likewise.
22140 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
22141 Honza Horak <hhorak@redhat.com>
22143 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22144 (xdr_mapname): Use YPMAXMAP as maxsize.
22145 (xdr_peername): Use YPMAXPEER as maxsize.
22146 (xdr_keydat): Use YPAXRECORD as maxsize.
22147 (xdr_valdat): Use YPMAXRECORD as maxsize.
22149 2012-10-01 Roland McGrath <roland@hack.frob.com>
22151 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22153 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22154 * csu/init-first.c: ... here.
22155 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22156 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22157 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22158 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22159 * sysdeps/i386/init-first.c: File removed.
22160 * sysdeps/sh/init-first.c: File removed.
22162 2012-10-01 Joseph Myers <joseph@codesourcery.com>
22165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22166 if x * y might underflow to zero and z is zero.
22167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22168 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22169 * math/libm-test.inc (min_subnorm_value): New variable.
22170 (fma_test): Add more tests.
22171 (fma_test_towardzero): Likewise.
22172 (fma_test_downward): Likewise
22173 (fma_test_upward): Likewise.
22174 (initialize): Set min_subnorm_value.
22176 2012-09-29 Joseph Myers <joseph@codesourcery.com>
22179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22181 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22182 mode for addition resulting in exact zero.
22183 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22184 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22186 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22187 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22188 * math/libm-test.inc (fma_test): Add more tests.
22189 (fma_test_towardzero): New function.
22190 (fma_test_downward): Likewise.
22191 (fma_test_upward): Likewise.
22192 (main): Call the new functions.
22194 2012-09-28 David S. Miller <davem@davemloft.net>
22196 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22198 2012-09-28 Roland McGrath <roland@hack.frob.com>
22200 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22201 instead of SIGALRM.
22203 * sysdeps/gnu/_G_config.h: Moved to ...
22204 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22205 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22206 * sysdeps/generic/_G_config.h: ... here.
22208 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22210 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22212 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22213 Conditionalize target on [libnss_test1.so-version].
22215 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22217 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22218 (elfobjdir): Move out of conditionals.
22220 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22221 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22222 (__nss_lookup_function): Conditionalize label remove_from_tree on
22223 [!DO_STATIC_NSS || SHARED], matching its only use.
22225 2012-09-28 David S. Miller <davem@davemloft.net>
22227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22228 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22230 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22232 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22234 when HWCAP_SPARC_CRYPTO is present.
22236 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22238 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22240 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22243 * stdio-common/vfprintf.c (process_string_arg): Revert
22246 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22248 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22250 * stdio-common/tst-sprintf.c: Include <locale.h>
22251 (main): Test sprintf's handling of incomplete multibyte
22254 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22256 * elf/dl-runtime.c (VERSYMIDX): Removed.
22257 * elf/dl-version.c (VERSYMIDX): Likewise.
22258 * elf/do-rel.h (VERSYMIDX): Likewise.
22259 (VALIDX): Likewise.
22260 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22261 * elf/rtld.c (VALIDX): Likewise.
22262 (ADDRIDX): Likewise.
22263 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22264 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22265 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22266 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22267 (VALIDX): Likewise.
22268 (ADDRIDX): Likewise.
22270 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22272 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22274 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22277 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22279 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22280 addresses are in the same scope as 192.0.2/24.
22281 * posix/gai.conf: Document new scope table defaults.
22283 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22286 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22287 for ftell. Compute offsets from write pointers instead.
22288 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22290 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22293 * libio/Makefile (tests): New test case tst-fseek.
22294 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22295 combination works in wide mode.
22296 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22297 state when the external buffer state changes.
22299 2012-09-27 David S. Miller <davem@davemloft.net>
22302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22303 pass reloc->r_addend in as the 'high' argument to
22304 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22308 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22310 * rt/tst-aio2.c: Include <pthread.h>.
22311 * rt/tst-aio3.c: Likewise.
22313 2012-09-27 Steve Ellcey <sellcey@mips.com>
22315 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22317 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22319 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22320 contents on [SHARED].
22322 2012-09-26 Marek Polacek <polacek@redhat.com>
22326 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22327 for C++ and GCC <4.3 as well as for non GCC compilers.
22329 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22333 2012-09-25 Roland McGrath <roland@hack.frob.com>
22335 * Makefile.in (all, install): Declare with .PHONY.
22336 Reported by Michael Hope <michael.hope@linaro.org>.
22338 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22340 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22341 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22343 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22345 (sydep_routines): Add the new and the internal functions.
22346 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22347 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22349 (GLIBC_2.17): Add the new function.
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22351 (GLIBC_2.17): Likewise.
22352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22353 (GLIBC_2.17): Likewise.
22354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22355 (GLIBC_2.17): Likewise.
22356 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22358 2012-09-25 Alan Modra <amodra@gmail.com>
22360 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22361 Add release barrier before setting once_control to say
22362 initialisation is done. Add hints on lwarx. Use macro in
22364 (clear_once_control): Add release barrier.
22366 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22369 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22371 * math/s_clog10.c (__clog10): Likewise.
22372 * math/s_clog10f.c (__clog10f): Likewise.
22373 * math/s_clog10l.c (__clog10l): Likewise.
22374 * math/s_clogf.c (__clogf): Likewise.
22375 * math/s_clogl.c (__clogl): Likewise.
22376 * math/Makefile (libm-calls): Add x2y2m1.
22377 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22378 (__x2y2m1): Likewise.
22379 (__x2y2m1l): Likewise.
22380 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22381 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22382 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22383 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22384 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22385 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22386 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22387 * sysdeps/i386/fpu/libm-test-ulps: Update.
22388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22391 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22392 int as type of variable DEPTH.
22393 (glob): Use size_t instead of int as type of variables NEWCOUNT
22396 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22398 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22399 Add s_sincosf-sse2.
22400 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22401 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22402 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22403 macros for using routine as __sincosf_ia32.
22404 Use macro for function declaration and weak_alias.
22405 * sysdeps/i386/fpu/libm-test-ulps: Update.
22407 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22410 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22411 subnormal argument.
22412 * math/s_cexpf.c (__cexpf): Likewise.
22413 * math/s_csinf.c (__csinf): Likewise.
22414 * math/s_csinhf.c (__csinhf): Likewise.
22415 * math/s_ctanf.c (__ctanf): Likewise.
22416 * math/s_ctanhf.c (__ctanhf): Likewise.
22417 * math/s_ccosh.c (__ccoshf): Likewise.
22418 * math/s_cexp.c (__cexpl): Likewise.
22419 * math/s_csin.c (__csin): Likewise.
22420 * math/s_csinh.c (__csinh): Likewise.
22421 * math/s_ctan.c (__ctan): Likewise.
22422 * math/s_ctanh.c (ctanh): Likewise.
22423 * math/s_ccoshl.c (__ccoshl): Likewise.
22424 * math/s_cexpl.c (__cexpl): Likewise.
22425 * math/s_csinl.c (__csinl): Likewise.
22426 * math/s_csinhl.c (__csinhl): Likewise.
22427 * math/s_ctanl.c (__ctanl): Likewise.
22428 * math/s_ctanhl.c (__ctanhl): Likewise.
22430 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22432 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22433 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22434 (_IO_off_t): Define to __off_t, not _G_off_t.
22435 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22436 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22437 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22438 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22439 type of __dummy and __dummy2 fields.
22440 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22441 (_G_ssize_t): Likewise.
22442 (_G_off_t): Likewise.
22443 (_G_pid_t): Likewise.
22444 (_G_uid_t): Likewise.
22445 (_G_wchar_t): Likewise.
22446 (_G_wint_t): Likewise.
22447 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22448 (_G_ssize_t): Likewise.
22449 (_G_off_t): Likewise.
22450 (_G_pid_t): Likewise.
22451 (_G_uid_t): Likewise.
22452 (_G_wchar_t): Likewise.
22453 (_G_wint_t): Likewise.
22454 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22455 (_G_ssize_t): Likewise.
22456 (_G_off_t): Likewise.
22457 (_G_pid_t): Likewise.
22458 (_G_uid_t): Likewise.
22459 (_G_wchar_t): Likewise.
22460 (_G_wint_t): Likewise.
22462 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22464 * malloc/arena.c: Include malloc-sysdep.h.
22465 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22466 is sufficient to shrink the heap or an unmap is needed.
22467 * sysdeps/generic/malloc-sysdep.h: New file. Define
22468 new function check_may_shrink_heap.
22469 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22470 new function check_may_shrink_heap.
22472 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22474 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22477 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22479 * catgets/test-gencat.sh: Add "set -e".
22480 * elf/tst-pathopt.sh: Likewise.
22481 * grp/tst_fgetgrent.sh: Likewise.
22482 * iconvdata/run-iconv-test.sh: Likewise.
22483 * intl/tst-gettext.sh: Likewise.
22484 * intl/tst-gettext2.sh: Likewise.
22485 * intl/tst-gettext4.sh: Likewise.
22486 * intl/tst-gettext6.sh: Likewise.
22487 * intl/tst-translit.sh: Likewise.
22488 * io/ftwtest-sh: Likewise.
22489 * libio/test-freopen.sh: Likewise.
22490 * malloc/tst-mtrace.sh: Likewise.
22491 * posix/globtest.sh: Likewise.
22492 * posix/tst-getconf.sh: Likewise.
22493 * posix/wordexp-tst.sh: Likewise.
22494 * stdio-common/tst-printf.sh: Likewise.
22495 * stdio-common/tst-unbputc.sh: Likewise.
22496 * stdlib/tst-fmtmsg.sh: Likewise.
22497 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22498 * catgets/Makefile: Do not specify -e option when running
22499 testsuite shell scripts.
22500 * elf/Makefile: Likewise.
22501 * grp/Makefile: Likewise.
22502 * iconvdata/Makefile: Likewise.
22503 * intl/Makefile: Likewise.
22504 * io/Makefile: Likewise.
22505 * libio/Makefile: Likewise.
22506 * malloc/Makefile: Likewise.
22507 * posix/Makefile: Likewise.
22508 * stdio-common/Makefile: Likewise.
22509 * stdlib/Makefile: Likewise.
22510 * sysdeps/x86_64/Makefile: Likewise.
22512 * io/ftwtest-sh: Add copyright header.
22513 * posix/globtest.sh: Likewise.
22514 * posix/tst-getconf.sh: Likewise.
22515 * posix/wordexp-tst.sh: Likewise.
22516 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22518 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22521 * Makeconfig (+link): Defined as $(+link-static) if
22522 $(build-shared) isn't yes.
22523 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22525 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22527 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22530 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22531 new chunk size with MALLOC_ALIGN_MASK.
22533 2012-09-24 Joseph Myers <joseph@codesourcery.com>
22536 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22538 (__printf_fphex): Determine rounding using get_rounding_mode and
22540 * stdio-common/tst-printf-round.c (struct hex_test): New
22542 (hex_tests): New variable.
22543 (test_hex_in_one_mode): New function.
22544 (do_test): Also run tests for hex float output.
22546 2012-09-21 Joseph Myers <joseph@codesourcery.com>
22548 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22549 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22550 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22551 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22552 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22553 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22554 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22555 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22557 2012-09-20 Joseph Myers <joseph@codesourcery.com>
22559 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22560 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22561 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22562 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22564 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22567 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22569 * elf/tst-rtld-load-self.sh: New test.
22570 * elf/Makefile: Run it.
22572 2012-09-18 Joseph Myers <joseph@codesourcery.com>
22574 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22575 (tst-writev-ENV): Remove.
22576 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22578 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22580 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22582 2012-09-17 Joseph Myers <joseph@codesourcery.com>
22584 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22586 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22588 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22589 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22590 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22593 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22596 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22597 * config.make.in (have-cpp-asm-debuginfo): Removed.
22598 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22599 * configure: Regenerated.
22601 2012-09-14 Joseph Myers <joseph@codesourcery.com>
22604 * stdio-common/printf_fp.c: Include <stdbool.h> and
22606 (___printf_fp): Determine rounding using get_rounding_mode and
22608 * stdio-common/tst-printf-round.c: New file.
22609 * stdio-common/Makefile (tests): Add tst-printf-round.
22610 (link-libm): New variable.
22611 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22613 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22616 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22617 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22619 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22622 2012-09-13 Joseph Myers <joseph@codesourcery.com>
22624 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22625 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22626 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22627 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22629 2012-09-12 Joseph Myers <joseph@codesourcery.com>
22632 * include/rounding-mode.h: New file.
22633 * sysdeps/generic/get-rounding-mode.h: Likewise.
22634 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22635 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22636 (MAX_VALUE): New macro.
22637 (MIN_VALUE): Likewise.
22638 (overflow_value): New function.
22639 (underflow_value): Likewise.
22640 (round_and_return): Use overflow_value and underflow_value to
22641 determine return values in overflow and underflow cases. Use
22642 round_away to determine rounding depending on rounding mode.
22643 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22644 determine return values in overflow and underflow cases.
22645 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22646 (struct test_results): New structure.
22647 (struct test): Use struct test_results to store expected results
22648 for all rounding modes.
22649 (TEST): Include expected results for all rounding modes.
22650 (test_in_one_mode): New function.
22651 (do_test): Use test_in_one_mode to compute and check results.
22652 Check results for all rounding modes.
22653 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22656 2012-12-09 Allan McRae <allan@archlinux.org>
22658 * sysdeps/i386/fpu/libm-test-ulps: Update
22660 2012-09-11 Joseph Myers <joseph@codesourcery.com>
22662 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22663 (_G_int32_t): Likewise.
22664 (_G_uint16_t): Likewise.
22665 (_G_uint32_t): Likewise.
22666 (_G_HAVE_BOOL): Likewise.
22667 (_G_HAVE_ATEXIT): Likewise.
22668 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22669 (_G_HAVE_IO_FILE_OPEN): Likewise.
22670 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22671 (_G_int32_t): Likewise.
22672 (_G_uint16_t): Likewise.
22673 (_G_uint32_t): Likewise.
22674 (_G_HAVE_BOOL): Likewise.
22675 (_G_HAVE_ATEXIT): Likewise.
22676 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22677 (_G_HAVE_IO_FILE_OPEN): Likewise.
22678 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22679 (_G_int32_t): Likewise.
22680 (_G_uint16_t): Likewise.
22681 (_G_uint32_t): Likewise.
22682 (_G_HAVE_BOOL): Likewise.
22683 (_G_HAVE_ATEXIT): Likewise.
22684 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22685 (_G_HAVE_IO_FILE_OPEN): Likewise.
22687 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22689 * csu/libc-tls.c: Update copyright years.
22691 2012-09-10 Joseph Myers <joseph@codesourcery.com>
22693 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22694 [!_G_USING_THUNKS]: Remove conditional code.
22695 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22696 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22698 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22699 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22700 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22701 (_G_VTABLE_LABEL_PREFIX): Likewise.
22702 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22703 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22704 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22705 (_G_VTABLE_LABEL_PREFIX): Likewise.
22706 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22707 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22708 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22709 (_G_VTABLE_LABEL_PREFIX): Likewise.
22710 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22712 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22714 * libio/Makefile: Include ../Makeconfig before tests.
22715 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22716 only if $(build-shared) is yes.
22718 * iconv/gconv_db.c: Update copyright years.
22720 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22722 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22723 unwind info if defined PIC. Fix special cases description.
22724 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22726 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22728 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22730 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22732 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22734 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22737 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22738 (LDLIBS-tst-chk4): This.
22739 (LDFLAGS-tst-chk5): Renamed to ...
22740 (LDLIBS-tst-chk5): This.
22741 (LDFLAGS-tst-chk6): Renamed to ...
22742 (LDLIBS-tst-chk6): This.
22743 (LDFLAGS-tst-lfschk4): Renamed to ...
22744 (LDLIBS-tst-lfschk4): This.
22745 (LDFLAGS-tst-lfschk5): Renamed to ...
22746 (LDLIBS-tst-lfschk5): This.
22747 (LDFLAGS-tst-lfschk6): Renamed to ...
22748 (LDLIBS-tst-lfschk6): This.
22750 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22751 on $(common-objpfx)soversions.mk.
22753 2012-09-07 Joseph Myers <joseph@codesourcery.com>
22756 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22759 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22761 * malloc/arena.c (arena_get_retry): New function that gets
22762 another arena for the caller to try its request on.
22763 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22764 current arena cannot fulfill the request.
22765 (__libc_memalign): Likewise.
22766 (__libc_memalign): Likewise.
22767 (__libc_pvalloc): Likewise.
22768 (__libc_calloc): Likewise.
22770 2012-09-05 John Tobey <john.tobey@gmail.com>
22773 * manual/arith.texi (Operations on Complex): Fix description
22774 of carg branch cut.
22776 2012-09-06 Joseph Myers <joseph@codesourcery.com>
22779 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22783 * manual/memory.texi (Memory): Make order of menu items match
22786 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22788 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22789 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
22790 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22792 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22794 * csu/libc-tls.c (static_dtv): Renamed to ...
22795 (_dl_static_dtv): This. Make it global.
22796 (_dl_initial_dtv): Removed.
22797 (__libc_setup_tls): Updated.
22798 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22799 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22802 2012-09-06 Petr Machata <pmachata@redhat.com>
22804 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22805 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22806 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22807 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22809 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22812 * csu/libc-tls.c (_dl_initial_dtv): New variable.
22813 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22816 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22819 * Makeconfig (link-static-before-libc): Replace $(+prector)
22821 (link-static-after-libc): Replace $(+postctor) with
22823 (link-bounded): Replace $(+prector)/$(+postctor) with
22824 $(+prectorT)/$(+postctorT).
22825 (+prectorT): New macro.
22826 (+postctorT): Likewise.
22828 2012-09-06 Joseph Myers <joseph@codesourcery.com>
22830 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22831 (round_str): Handle values above the maximum for IBM long double
22833 * stdlib/tst-strtod-round.c (tests): Regenerated.
22835 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22837 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22839 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22840 zarch_nohighgprs around the zarch optimized routines.
22841 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22842 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22843 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22846 2012-09-05 David S. Miller <davem@davemloft.net>
22848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22850 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22851 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22852 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22853 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22856 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22858 * malloc/arena.c: Fold copyright years.
22859 * malloc/mcheck.c, malloc/memusage.c: Likewise.
22861 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22863 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22865 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22867 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
22869 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22871 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22872 change internal state upon failure.
22874 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22876 * malloc/mcheck.c (mcheck_check_all): Fix typo.
22877 * malloc/memusage.c (mmap): Likewise.
22878 (mmap64, mremap): Likewise. Adjust name in comment.
22880 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22882 * libio/fileops.c: Fix typos in comments.
22883 * libio/oldfileops.c: Likewise.
22884 * libio/wfileops.c: Likewise.
22886 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22889 * malloc/Makefile (tests): Add tst-malloc-usable test case.
22890 (tst-malloc-usable-ENV): Set environment for test case.
22891 * malloc/hooks.c (malloc_check_get_size): New function to get
22893 * malloc/malloc.c (musable): Use malloc_check_get_size.
22894 * malloc/tst-malloc-usable.c: New test case.
22896 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22898 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22900 2012-09-05 Allan McRae <allan@archlinux.org>
22903 * configure.in (CXX_SYSINCLUDES): Use compiler output to
22904 determine header location.
22905 * configure: Regenerated.
22907 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22909 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22911 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
22912 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22914 (test): Regenerate.
22916 2012-09-04 David S. Miller <davem@davemloft.net>
22918 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22919 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22920 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22922 2012-09-04 Florian Weimer <fweimer@redhat.com>
22924 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22927 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22929 2012-09-04 Joseph Myers <joseph@codesourcery.com>
22932 * libio/iogetdelim.c: Include <limits.h>.
22933 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22934 + len + 1 would overflow.
22936 2012-09-03 Andreas Jaeger <aj@suse.de>
22938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22939 * sysdeps/i386/fpu/libm-test-ulps: Update.
22941 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22943 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22944 Add s_sinf-sse2, s_conf-sse2.
22946 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22947 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22948 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22949 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22951 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22952 for using routine as __sinf_ia32.
22953 Use macro for function declaration and weak_alias.
22954 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22955 for using routine as __cosf_ia32.
22956 Use macro for function declaration and weak_alias.
22958 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22959 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22961 * sysdeps/x86_64/fpu/s_sinf.S: New file.
22962 * sysdeps/x86_64/fpu/s_cosf.S: New file.
22963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22965 * math/libm-test.inc (cos_test): Add more test cases.
22966 (sin_test): Likewise.
22967 (sincos_test): Likewise.
22969 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22971 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22972 (IFUNC_RESOLVE): Make pointers to the specialized implementations
22974 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22976 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
22979 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
22980 first element of the GOT.
22981 (elf_machine_load_address): Return the difference between
22982 the runtime address of _DYNAMIC and elf_machine_dynamic ().
22984 2012-09-01 Allan McRae <allan@archlinux.org>
22987 * configure.in (AWK): Require gawk version 3.0 or later.
22988 * configure: Regenerated.
22990 2012-09-01 Joseph Myers <joseph@codesourcery.com>
22992 * sysdeps/unix/sysv/linux/kernel-features.h
22993 (__ASSUME_POSIX_CPU_TIMERS): Remove.
22994 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22995 [__NR_clock_getres]: Make code unconditional.
22996 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
22997 (clock_getcpuclockid): Remove code left unreachable by removal of
22999 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23000 code unconditional.
23001 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23002 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23003 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23004 Make code unconditional.
23005 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23006 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23007 * sysdeps/unix/sysv/linux/clock_settime.c
23008 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23010 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23011 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23013 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23016 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23017 scripts/test-installation.pl.
23019 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23020 and $ld_so_version if it is set.
23022 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23025 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23026 failure if reading from procfs failed.
23027 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23029 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23031 * sysdeps/unix/sysv/linux/kernel-features.h
23032 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23033 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23034 Remove conditional code.
23035 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23036 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23037 Remove conditional code.
23038 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23039 * sysdeps/unix/sysv/linux/i386/fxstat.c
23040 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23041 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23042 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23043 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23044 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23045 * sysdeps/unix/sysv/linux/i386/lxstat.c
23046 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23047 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23048 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23049 Remove conditional code.
23050 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23051 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23052 Remove conditional code.
23053 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23054 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23055 <kernel-features.h>.
23056 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23058 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23059 Remove conditional code.
23060 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23061 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23062 Remove conditional.
23064 2012-08-27 Mike Frysinger <vapier@gentoo.org>
23067 * NEWS: Add fixed bug number.
23069 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23072 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23073 underflowing exponent in case of negative sign.
23074 * stdlib/tst-strtod-round-data: Add more tests.
23075 * stdlib/tst-strtod-round.c (tests): Regenerated.
23078 * stdlib/strtod_l.c (NDIG): Remove.
23079 (HEXNDIG): Likewise.
23080 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23081 smallest representable value.
23082 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23083 lie within an exact representation of 1/2 ulp of the result.
23084 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23086 (TENS_P9_IDX): Define unconditionally.
23087 (TENS_P9_SIZE): Likewise.
23088 (TENS_P10_IDX): Likewise.
23089 (TENS_P10_SIZE): Likewise.
23090 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23091 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23092 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23093 entries for 10^2^13 and 10^2^14.
23094 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23095 (TENS_P13_IDX): Define.
23096 (TENS_P13_SIZE): Likewise.
23097 (TENS_P14_IDX): Likewise.
23098 (TENS_P14_SIZE): Likewise.
23099 (_fpioconst_pow10): Change array size to
23100 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23102 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23103 1024]: Add entries for 10^2^13 and 10^2^14.
23104 [LAST_POW10 > _LAST_POW10]: Remove #error.
23105 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23106 (_fpioconst_pow10): Change array size to
23107 FPIOCONST_POW10_ARRAY_SIZE.
23108 * stdlib/gen-fpioconst.c: New file.
23109 * stdlib/gen-tst-strtod-round.c: Likewise.
23110 * stdlib/tst-strtod-round-data: Likewise.
23111 * stdlib/tst-strtod-round.c: Likewise.
23112 * stdlib/Makefile (tests): Add tst-strtod-round.
23115 * stdlib/strtod_l.c: Include <stdint.h>.
23116 (NDEBUG): Do not define.
23117 (round_and_return): Change EXPONENT parameter to type intmax_t.
23118 Rearrange calculations to avoid internal overflow possibilities.
23119 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23120 Rearrange calculations to avoid internal overflow possibilities.
23121 Assert that number fits inside MPNSIZE limbs.
23122 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23123 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23124 calculations and add assertions to avoid internal overflow
23125 possibilities. Add casts to avoid signed/unsigned operations.
23126 * stdlib/tst-strtod-overflow.c: New file.
23127 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23129 2012-08-25 Marek Polacek <polacek@redhat.com>
23131 * time/time.h: Fix some typos in comments.
23133 2012-08-23 Roland McGrath <roland@hack.frob.com>
23135 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23136 * posix/tst-rfc3484-2.c: Likewise.
23137 * posix/tst-rfc3484-3.c: Likewise.
23139 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23141 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23142 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23144 2012-08-23 Joseph Myers <joseph@codesourcery.com>
23146 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23147 #include of fxstatat64.c.
23149 2012-08-22 Roland McGrath <roland@hack.frob.com>
23151 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23152 * shadow/getspent_r.c: Likewise.
23153 * shadow/getspnam.c: Likewise.
23154 * shadow/getspnam_r.c: Likewise.
23155 * gshadow/getsgent.c: Likewise.
23156 * gshadow/getsgent_r.c: Likewise.
23157 * gshadow/getsgnam.c: Likewise.
23158 * gshadow/getsgnam_r.c: Likewise.
23159 * inet/getnetbyad.c: Likewise.
23160 * inet/getnetbyad_r.c: Likewise.
23161 * inet/getnetbynm.c: Likewise.
23162 * inet/getnetbynm_r.c: Likewise.
23163 * inet/getnetent.c: Likewise.
23164 * inet/getnetent_r.c: Likewise.
23165 * inet/getproto.c: Likewise.
23166 * inet/getproto_r.c: Likewise.
23167 * inet/getprtent.c: Likewise.
23168 * inet/getprtent_r.c: Likewise.
23169 * inet/getprtname.c: Likewise.
23170 * inet/getprtname_r.c: Likewise.
23171 * inet/getrpcbyname.c: Likewise.
23172 * inet/getrpcbyname_r.c: Likewise.
23173 * inet/getrpcbynumber.c: Likewise.
23174 * inet/getrpcbynumber_r.c: Likewise.
23175 * inet/getrpcent.c: Likewise.
23176 * inet/getrpcent_r.c: Likewise.
23177 * inet/getaliasent.c: Likewise.
23178 * inet/getaliasent_r.c: Likewise.
23179 * inet/getaliasname.c: Likewise.
23180 * inet/getaliasname_r.c: Likewise.
23181 * nscd/getgrgid_r.c: Likewise.
23182 * nscd/getgrnam_r.c: Likewise.
23183 * nscd/gethstbyad_r.c: Likewise.
23184 * nscd/gethstbynm3_r.c: Likewise.
23185 * nscd/getpwnam_r.c: Likewise.
23186 * nscd/getpwuid_r.c: Likewise.
23187 * nscd/getsrvbynm_r.c: Likewise.
23188 * nscd/getsrvbypt_r.c: Likewise.
23189 * nscd/gai.c: Likewise.
23191 * configure.in (build_nscd): New substituted variable, set
23192 by --disable-build-nscd and defaults to $use_nscd.
23193 * configure: Regenerated.
23194 * config.make.in (build-nscd): New substituted variable.
23195 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23196 Change conditional to require [$(build-nscd) = yes] as well.
23197 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23200 * configure.in (use_nscd): New substituted variable, set by
23201 --disable-nscd. If enabled, define USE_NSCD.
23202 * configure: Regenerated.
23203 * config.h.in: Add USE_NSCD.
23204 * config.make.in (use-nscd): New substituted variable.
23205 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23206 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23207 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23208 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23209 (CFLAGS-getgrnam_r.c): Likewise.
23210 (CFLAGS-initgroups.c): Likewise.
23211 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23212 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23214 * inet/getnetgrent_r.c
23215 (nscd_setnetgrent): New function, broken out of ...
23216 (setnetgrent): ... here. Call it.
23217 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23218 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23219 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23220 * nscd/Makefile (routines, aux): Move definitions after include of
23221 Makeconfig. Conditionalize on [$(use-nscd) != no].
23222 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23223 Conditionalize on [USE_NSCD].
23224 (is_nscd, nscd_init_cb): Likewise.
23225 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23226 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23227 * nss/nss_db/db-init.c: Likewise.
23228 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23230 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23231 (make_request): Use it.
23232 (cache_valid_p): New function.
23233 (__check_pf): Use it.
23234 * NEWS: Add item for --disable-nscd.
23236 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23238 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23239 to support sed >= 4.2.1-20-ga9bf076.
23240 * configure: Regenerated.
23242 2012-08-22 Roland McGrath <roland@hack.frob.com>
23244 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23245 Conditionalize whole body on [IREL].
23247 2012-08-22 Jeff Law <law@redhat.com>
23250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23251 if the family is PF_UNSPEC.
23253 2012-08-22 Mike Frysinger <vapier@gentoo.org>
23255 * Makerules (lib-version): Rename from V.
23256 (install-lib-nosubdir): Change V to lib-version.
23258 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23261 * powerpc32/power6/wcschr.c: New file.
23262 * powerpc32/power6/wcscpy.c: New file.
23263 * powerpc32/power6/wcsrchr.c: New file.
23264 * powerpc64/power6/wcschr.c: New file.
23265 * powerpc64/power6/wcscpy.c: New file.
23266 * powerpc64/power6/wcsrchr.c: New file.
23268 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23270 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23271 (two_way_short_needle): Use it.
23272 * string/strstr.c (AVAILABLE1_USES_J): Define.
23273 * string/strcasestr.c: Likewise.
23275 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23277 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23280 * NEWS: Add an entry.
23281 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23282 define their defaults.
23283 (two_way_short_needle): Detect end-of-string on-the-fly.
23284 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23285 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23286 * string/bug-strcasestr1.c: New test.
23287 * string/Makefile: Run it.
23289 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23292 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23293 the first character.
23295 2012-08-21 Roland McGrath <roland@hack.frob.com>
23297 * csu/elf-init.c (__libc_csu_irel): Function removed.
23298 * csu/libc-start.c (apply_irel): New function.
23299 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23301 2012-08-21 Joseph Myers <joseph@codesourcery.com>
23303 * sysdeps/unix/sysv/linux/kernel-features.h
23304 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23305 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23306 <kernel-features.h>.
23307 [__NR_fadvise64_64]: Make code unconditional.
23308 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23309 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23310 !__NR_fadvise64_64)]: Likewise.
23311 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23312 !__NR_fadvise64_64))]: Likewise.
23313 [__NR_fadvise64]: Make code unconditional.
23314 [!__NR_fadvise64]: Remove conditional code.
23315 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23316 <kernel-features.h>.
23317 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23319 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23322 not include <kernel-features.h>.
23323 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23325 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23327 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23328 include <kernel-features.h>.
23329 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23331 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23334 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23336 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23337 slight instruction rearrangements per scrollpipe analysis.
23338 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23340 2012-08-20 Roland McGrath <roland@hack.frob.com>
23342 * manual/syslog.texi (syslog; vsyslog, closelog):
23343 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23344 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23346 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23347 DSOCAPS to match condition on defining it.
23349 2012-08-20 Joseph Myers <joseph@codesourcery.com>
23351 * sysdeps/unix/sysv/linux/kernel-features.h
23352 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23354 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23355 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23357 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23358 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23360 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23361 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23363 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23364 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23366 * sysdeps/unix/sysv/linux/kernel-features.h
23367 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23368 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23370 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23371 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23372 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23373 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23374 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23375 Make code unconditional.
23376 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23377 (__mmap64) [!__NR_mmap2]: Likewise.
23378 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23379 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23380 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23381 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23382 [__NR_mmap2]: Make code unconditional.
23383 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23384 (__mmap64) [!__NR_mmap2]: Likewise.
23386 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23388 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23390 2012-08-18 Andreas Jaeger <aj@suse.de>
23392 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23394 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23396 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23397 * include/unistd.h (__have_sock_cloexec): Likewise.
23398 (__have_pipe2): Likewise.
23399 (__have_dup3): Likewise.
23401 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23404 * include/unistd.h (__have_pipe2): Change define into an extern int.
23405 (__have_dup3): Likewise.
23406 * socket/have_sock_cloexec.c: Include fcntl.h.
23407 (__have_pipe2): New variable.
23408 (__have_dup3): Likewise.
23410 2012-08-17 Mike Frysinger <vapier@gentoo.org>
23412 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23414 2012-08-17 Marek Polacek <polacek@redhat.com>
23416 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23417 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23419 2012-08-17 Roland McGrath <roland@hack.frob.com>
23421 * configure.in: Add AC_SUBST for sysheaders.
23422 * configure: Regenerated.
23423 * config.make.in (sysheaders): New substituted variable.
23425 * sysdeps/unix/mkfifo.c: Moved ...
23426 * sysdeps/posix/mkfifo.c: ... here.
23427 * sysdeps/unix/mkfifoat.c: Moved ...
23428 * sysdeps/posix/mkfifoat.c: ... here.
23430 * sysdeps/unix/utime.c: Moved ...
23431 * sysdeps/posix/utime.c: ... here.
23433 * sysdeps/unix/time.c: Moved ...
23434 * sysdeps/posix/time.c: ... here.
23435 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23436 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23438 * sysdeps/unix/nice.c: Moved ...
23439 * sysdeps/posix/nice.c: ... here.
23441 * sysdeps/unix/alarm.c: Moved ...
23442 * sysdeps/posix/alarm.c: ... here.
23444 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23446 2012-08-17 Jeff Law <law@redhat.com>
23448 * intl/Makefile (codeset_mo): New variable.
23449 ($(codeset_mo)): New target.
23450 (tst-codeset.out): Depend on that. Remove explicit rule.
23451 (tst-gettext3.out, tst-gettext5.out): Likewise.
23452 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23453 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23454 * intl/tst-codeset.sh: Remove.
23455 * intl/tst-gettext3.sh: Likewise.
23456 * intl/tst-gettext5.sh: Likewise.
23458 2012-08-17 Roland McGrath <roland@hack.frob.com>
23460 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23461 * sysdeps/unix/syscalls.list: ... here.
23463 * sysdeps/posix/getaddrinfo.c
23464 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23465 (gaiconf_init, gaiconf_reload): Use them.
23466 [!_STATBUF_ST_NSEC]
23467 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23468 Define using time_t rather than struct timespec.
23470 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23471 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23473 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23475 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23476 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23479 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23480 __libc_cleanup_push argument.
23482 * bits/param.h: New file.
23483 * misc/sys/param.h: New file.
23484 * include/sys/param.h: New file.
23485 * misc/Makefile (headers): Add bits/param.h.
23486 * sysdeps/generic/sys/param.h: File removed.
23487 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23488 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23489 * sysdeps/mach/hurd/bits/param.h: New file.
23490 * sysdeps/mach/hurd/sys/param.h: File removed.
23492 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23495 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23497 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23498 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23501 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23502 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23503 rather than -D_IO_MTSAFE_IO conditionally.
23504 * stdio-common/Makefile (CPPFLAGS): Likewise.
23505 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23506 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23507 Use $(libio-mtsafe).
23508 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23509 of -D_IO_MTSAFE_IO.
23510 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23511 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23512 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23513 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23514 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23515 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23516 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23517 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23518 (CFLAGS-fread_u_chk.c): Likewise.
23519 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23520 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23521 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23522 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23523 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23524 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23525 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23526 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23527 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23529 * libio/Makefile: Test [$(libc-reentrant) = yes]
23530 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23533 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23534 * sysdeps/pthread/configure: File removed.
23535 * sysdeps/pthread/Makeconfig: New file.
23536 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23537 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23539 2012-08-16 Gary Benson <gbenson@redhat.com>
23541 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23542 unmapping the first object in a namespace.
23544 2012-08-16 Roland McGrath <roland@hack.frob.com>
23546 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23547 (__internal_setnetgrent): ... this. Add internal_function to
23548 definition. Add libc_hidden_def.
23549 (setnetgrent): Update caller.
23550 (internal_endnetgrent): Renamed to ...
23551 (__internal_endnetgrent): ... this. Add internal_function to
23552 definition. Add libc_hidden_def.
23553 (endnetgrent): Update caller.
23554 (internal_getnetgrent_r): Renamed to ...
23555 (__internal_getnetgrent_r): ... this. Add internal_function to
23556 definition. Add libc_hidden_def.
23557 (__getnetgrent_r): Update caller.
23558 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23560 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23562 * stdlib/longlong.h: Update from GCC.
23564 2012-08-16 Roland McGrath <roland@hack.frob.com>
23566 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23567 on _QL, which is set by umul_ppmm but never used.
23568 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23569 variables, which are set by GMP macros but never used.
23570 * stdio-common/_itowa.c (_itowa): Likewise.
23571 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23572 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23574 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23576 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23577 struct La_sh_regs is not constant.
23578 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23579 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23580 and struct La_sparc64_regs are not constant.
23582 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23584 * sysdeps/unix/sysv/linux/kernel-features.h
23585 (__ASSUME_POSIX_TIMERS): Remove.
23586 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23587 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23588 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23589 Make code unconditional.
23590 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23591 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23592 Make code unconditional.
23593 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23594 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23595 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23596 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23597 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23598 Make code unconditional.
23599 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23600 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23601 (__libc_missing_posix_timers): Remove.
23603 2012-08-15 Roland McGrath <roland@hack.frob.com>
23605 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23606 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23608 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23610 * elf/dl-sym.c: Include <stdlib.h>.
23612 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23613 constants, which avoids warnings in 32-bit builds.
23615 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23616 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23618 * misc/lseek.c: File moved to ...
23619 * io/lseek.c: ... here.
23621 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23623 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23624 shifting LEN more than 31 bits at once.
23626 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23629 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23630 segmentation fault for a case of two empty input strings.
23631 * string/test-strncasecmp.c (check1): Renamed to...
23632 (bz12205): ...this.
23633 (bz14195): Add new testcase for two empty input strings and N > 0.
23634 (test_main): Call new testcase, adapt for renamed function.
23636 2012-08-15 Andreas Jaeger <aj@suse.de>
23639 * crypt/md5test2.c: New test, based on test supplied by Serge
23640 Belyshev <belyshev@depni.sinp.msu.ru>.
23641 * crypt/Makefile (xtests): Add md5test-giant..
23642 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23644 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23647 * crypt/md5.c (md5_process_block): Don't assume the buffer
23648 length is less than 2**32.
23649 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23650 length is less than 2**64.
23652 2012-08-15 Roland McGrath <roland@hack.frob.com>
23654 * string/str-two-way.h: Include <sys/param.h>.
23655 (MAX): Macro removed.
23657 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23658 Move #define and #undef of memmove to just before and after
23659 including <string.h>.
23661 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23662 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23663 and after including <string.h>. Move declarations of
23664 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23665 to before #include "string/memmove.c".
23667 * include/dirent.h: Declare __getdirentries.
23669 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23670 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23672 2012-08-14 Mike Frysinger <vapier@gentoo.org>
23674 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23675 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23676 * sysdeps/i386/configure: Regenerated.
23677 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23678 STABS_CURRENT_FILE, and STABS_FUN.
23679 (END): Remove call to STABS_FUN_END.
23680 (STABS_CURRENT_FILE1): Delete.
23681 (STABS_CURRENT_FILE): Likewise.
23682 (STABS_FUN): Likewise.
23683 (STABS_FUN_END): Likewise.
23684 (STABS_FUN2): Likewise.
23685 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23686 * sysdeps/x86_64/configure: Regenerated.
23688 2012-08-14 Roland McGrath <roland@hack.frob.com>
23690 * elf/dl-open.c: Include <atomic.h>.
23691 * elf/dl-lookup.c: Likewise.
23693 2012-08-14 Joseph Myers <joseph@codesourcery.com>
23695 * sysdeps/unix/sysv/linux/kernel-features.h
23696 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23697 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23699 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23701 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23702 condition on __ASSUME_CLONE_THREAD_FLAGS.
23704 2012-08-14 Andreas Jaeger <aj@suse.de>
23706 * sysdeps/i386/fpu/libm-test-ulps: Update.
23708 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23710 * include/atomic.h (atomic_exchange_and_add): Split into ...
23711 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23714 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23718 2012-08-13 Jeff Law <law@redhat.com>
23720 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23721 null byte in the output string.
23723 2012-08-10 Joseph Myers <joseph@codesourcery.com>
23725 * sysdeps/unix/sysv/linux/kernel-features.h
23726 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23727 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23728 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23729 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23730 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23731 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23732 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23734 2012-08-09 Jeff Law <law@redhat.com>
23737 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23738 When avoid_arena is set, don't retry in the that arena. Pick the
23739 next one, whatever it might be.
23740 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23741 (arena_lock): Pass in new parameter to arena_get2.
23742 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23744 (__libc_malloc): Unify retrying after main arena failure with
23745 __libc_memalign version.
23746 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23748 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23751 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23752 to __redirect_strstr.
23753 (__strstr_sse42): Use typeof __redirect_strstr.
23754 (__strstr_ia32): Likewise.
23755 (__libc_strstr): New prototype.
23756 (strstr): Renamed to ...
23757 (__libc_strstr): This.
23758 (strstr): New strong alias of __libc_strstr.
23759 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23760 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23763 (__libc_time): New prototype.
23764 (time_ifunc): Replace time with __libc_time.
23765 (time): New strong alias and hidden definition of __libc_time.
23766 (__GI_time): Remove strong alias.
23767 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23768 Include <stddef.h>.
23769 (memmove): Redefined to __redirect_memmove.
23770 (__memmove_sse2): Use typeof __redirect_memmove.
23771 (__memmove_ssse3): Likewise.
23772 (__memmove_ssse3_back): Likewise.
23773 (__libc_memmove): New prototype.
23774 (memmove): Renamed to ...
23775 (__libc_memmove): This.
23776 (memmove): New strong alias of __libc_memmove.
23778 2012-08-08 Mark Salter <msalter@redhat.com>
23781 (R_MN10300_TLS_GD): Define.
23782 (R_MN10300_TLS_LD): Likewise.
23783 (R_MN10300_TLS_LDO): Likewise.
23784 (R_MN10300_TLS_GOTIE): Likewise.
23785 (R_MN10300_TLS_IE): Likewise.
23786 (R_MN10300_TLS_LE): Likewise.
23787 (R_MN10300_TLS_DTPMOD): Likewise.
23788 (R_MN10300_TLS_DTPOFF): Likewise.
23789 (R_MN10300_TLS_TPOFF): Likewise.
23790 (R_MN10300_SYM_DIFF): Likewise.
23791 (R_MN10300_ALIGN): Likewise.
23792 (R_MN10300_NUM): Update.
23794 2012-08-08 Joseph Myers <joseph@codesourcery.com>
23796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23799 2012-08-08 Roland McGrath <roland@hack.frob.com>
23801 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23803 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23804 sysdeps/unix -> sysdeps/posix move.
23805 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23807 2012-08-07 Allan McRae <allan@archlinux.org>
23810 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23811 (SUNOS_CPP): Likewise.
23812 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23814 (open_input): Call CPP using execvp.
23816 2012-08-07 Joseph Myers <joseph@codesourcery.com>
23818 * sysdeps/unix/sysv/linux/kernel-features.h
23819 (__ASSUME_PROT_GROWSUPDOWN): Remove.
23820 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23821 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23822 (__ASSUME_WAITID_SYSCALL): Likewise.
23823 * sysdeps/unix/sysv/linux/dl-execstack.c
23824 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23825 code unconditional.
23826 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23828 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23829 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23830 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23832 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23834 [__ASSUME_WAITID_SYSCALL]: Likewise.
23835 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23837 2012-08-07 Roland McGrath <roland@hack.frob.com>
23839 * sysdeps/unix/closedir.c: Renamed to ...
23840 * sysdeps/posix/closedir.c: ... here.
23841 * sysdeps/unix/dirfd.c: Renamed to ...
23842 * sysdeps/posix/dirfd.c: ... here.
23843 * sysdeps/unix/dirstream.h: Renamed to ...
23844 * sysdeps/posix/dirstream.h: ... here.
23845 * sysdeps/unix/fdopendir.c: Renamed to ...
23846 * sysdeps/posix/fdopendir.c: ... here.
23847 * sysdeps/unix/opendir.c: Renamed to ...
23848 * sysdeps/posix/opendir.c: ... here.
23849 * sysdeps/unix/readdir.c: Renamed to ...
23850 * sysdeps/posix/readdir.c: ... here.
23851 * sysdeps/unix/readdir_r.c: Renamed to ...
23852 * sysdeps/posix/readdir_r.c: ... here.
23853 * sysdeps/unix/rewinddir.c: Renamed to ...
23854 * sysdeps/posix/rewinddir.c: ... here.
23855 * sysdeps/unix/seekdir.c: Renamed to ...
23856 * sysdeps/posix/seekdir.c: ... here.
23857 * sysdeps/unix/telldir.c: Renamed to ...
23858 * sysdeps/posix/telldir.c: ... here.
23859 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23860 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23861 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23862 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23864 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23865 * bits/fcntl.h: ... here.
23867 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23869 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23870 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23871 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23872 (struct flock): Move l_start, l_len to the beginning.
23873 Use __pid_t for l_pid.
23874 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23875 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23876 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23877 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23878 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23879 [__USE_LARGEFILE64] (struct flock64): New type.
23880 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23882 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23883 * bits/dirent.h: ... here.
23885 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23886 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23888 2012-08-07 Joseph Myers <joseph@codesourcery.com>
23890 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23891 Change from 2.6.0 to 2.6.16.
23892 * sysdeps/unix/sysv/linux/configure: Regenerated.
23893 * sysdeps/unix/sysv/linux/kernel-features.h
23894 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23895 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23897 (__ASSUME_UTIMES): Likewise.
23898 (__ASSUME_CLONE_STOPPED): Remove.
23899 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23900 architectures, not kernel version.
23901 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23902 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23903 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23904 (__ASSUME_WAITID_SYSCALL): Likewise.
23905 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23906 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23907 * README: State 2.6.16 as minimum Linux kernel version. Do not
23908 refer to older versions.
23910 2012-08-06 Roland McGrath <roland@hack.frob.com>
23912 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23913 Define alphasort64 as an alias.
23914 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23915 Define versionsort64 as an alias.
23916 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23917 Define scandir64 as an alias.
23918 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23919 Define scandirat64 as an alias.
23920 * dirent/alphasort64.c (alphasort64):
23921 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23922 * dirent/versionsort64.c: Likewise.
23923 * dirent/scandir64.c: Likewise.
23924 * dirent/scandirat64.c: Likewise.
23925 * sysdeps/wordsize-64/alphasort.c: File removed.
23926 * sysdeps/wordsize-64/alphasort64.c: File removed.
23927 * sysdeps/wordsize-64/scandir.c: File removed.
23928 * sysdeps/wordsize-64/scandir64.c: File removed.
23929 * sysdeps/wordsize-64/scandirat.c: File removed.
23930 * sysdeps/wordsize-64/scandirat64.c: File removed.
23931 * sysdeps/wordsize-64/versionsort.c: File removed.
23932 * sysdeps/wordsize-64/versionsort64.c: File removed.
23933 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23934 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23935 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23936 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23937 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23938 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23939 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23940 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23942 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23943 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23944 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23945 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23946 [defined __arch64__ || defined __sparcv9]
23947 (__INO_T_MATCHES_INO64_T): New macro.
23948 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23949 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23950 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23951 * sysdeps/unix/sysv/linux/bits/dirent.h
23952 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23953 (_DIRENT_MATCHES_DIRENT64): New macro.
23955 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23956 Define lockf64 as an alias.
23957 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23958 Define fseeko64 as an alias.
23959 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23960 Define ftello64 as an alias.
23961 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23962 Define _IO_fgetpos64 and fgetpos64 as aliases.
23963 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23964 Define _IO_fsetpos64 and fsetpos64 as aliases.
23965 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23966 Conditionalize body on this.
23967 * libio/fseeko64.c: Likewise.
23968 * libio/ftello64.c: Likewise.
23969 * libio/iofgetpos64.c: Likewise.
23970 * libio/iofsetpos64.c: Likewise.
23971 * sysdeps/wordsize-64/lockf.c: File removed.
23972 * sysdeps/wordsize-64/lockf64.c: File removed.
23973 * sysdeps/wordsize-64/fseeko.c: File removed.
23974 * sysdeps/wordsize-64/fseeko64.c: File removed.
23975 * sysdeps/wordsize-64/ftello.c: File removed.
23976 * sysdeps/wordsize-64/ftello64.c: File removed.
23977 * sysdeps/wordsize-64/iofgetpos.c: File removed.
23978 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
23979 * sysdeps/wordsize-64/iofsetpos.c: File removed.
23980 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
23981 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
23982 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
23983 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
23984 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
23985 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
23986 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
23987 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
23988 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
23989 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
23990 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
23992 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23994 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
23995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23996 [defined __arch64__ || defined __sparcv9]
23997 (__OFF_T_MATCHES_OFF64_T): New macro.
23998 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23999 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24000 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24001 (__OFF_T_MATCHES_OFF64_T): New macro.
24003 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24005 * stdlib/secure-getenv.c (__secure_getenv): Replace
24006 GLIBC_2_16 with GLIBC_2_17.
24008 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24010 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24011 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24013 2012-08-03 David S. Miller <davem@davemloft.net>
24015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24017 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24019 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24021 (__ASSUME_CORRECT_SI_PID): Likewise.
24022 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24023 (__ASSUME_TMPFS_NAME): Likewise.
24024 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24025 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24026 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24027 (HAVE_AUX_SECURE): Make definition unconditional.
24028 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24029 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24031 2012-08-03 Roland McGrath <roland@hack.frob.com>
24033 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24034 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24035 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24036 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24037 __eloop_threshold instead of SYMLOOP_MAX.
24039 * sysdeps/generic/eloop-threshold.h: New file.
24040 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24042 * elf/chroot_canon.c (chroot_canon): Likewise.
24044 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24048 Change to 2.6.0 everywhere.
24049 * sysdeps/unix/sysv/linux/configure: Regenerated.
24050 * sysdeps/unix/sysv/linux/kernel-features.h
24051 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24052 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24054 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24055 (__ASSUME_FUTEX_REQUEUE): Remove.
24056 (__ASSUME_STATFS64): Define unconditionally.
24057 (__ASSUME_AT_SECURE): Likewise.
24058 (__ASSUME_CORRECT_SI_PID): Likewise.
24059 (__ASSUME_TGKILL): Define without depending on kernel version for
24061 (__ASSUME_UTIMES): Likewise.
24062 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24064 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24065 (__ASSUME_TMPFS_NAME): Likewise.
24066 * README: Update reference to Linux kernel versions.
24068 2012-08-02 Marek Polacek <polacek@redhat.com>
24071 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24072 libc_cv_asm_type_prefix with %.
24073 * configure: Regenerated.
24074 * include/libc-symbols.h: Remove comment about
24075 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24076 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24077 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24078 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24079 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24080 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24081 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24082 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24083 * elf/tst-unique2mod1.c: Likewise.
24084 * elf/tst-unique1mod2.c: Likewise.
24085 * elf/tst-unique1mod1.c: Likewise.
24086 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24087 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24088 Replace ASM_TYPE_DIRECTIVE with .type.
24089 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24090 * sysdeps/i386/sysdep.h: Likewise.
24091 * sysdeps/x86_64/sysdep.h: Likewise.
24092 * sysdeps/sh/sysdep.h: Likewise.
24093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24094 Do not define ASM_TYPE_DIRECTIVE.
24095 * sysdeps/powerpc/sysdep.h: Likewise.
24096 * sysdeps/powerpc/powerpc32/sysdep.h:
24097 Replace ASM_TYPE_DIRECTIVE with .type.
24098 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24099 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24100 * sysdeps/i386/fpu/e_powf.S: Likewise.
24101 * sysdeps/i386/fpu/e_expl.S: Likewise.
24102 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24103 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24104 * sysdeps/i386/fpu/e_pow.S: Likewise.
24105 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24106 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24107 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24108 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24109 * sysdeps/i386/fpu/e_log2.S: Likewise.
24110 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24111 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24112 * sysdeps/i386/fpu/e_powl.S: Likewise.
24113 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24114 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24115 * sysdeps/i386/fpu/e_logl.S: Likewise.
24116 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24117 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24118 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24119 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24120 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24121 * sysdeps/i386/fpu/e_log.S: Likewise.
24122 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24123 * sysdeps/i386/fpu/e_logf.S: Likewise.
24124 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24125 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24126 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24127 * sysdeps/i386/fpu/e_log10.S: Likewise.
24128 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24129 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24130 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24131 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24132 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24133 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24134 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24135 * sysdeps/i386/i686/strtok.S: Likewise.
24136 * sysdeps/i386/i386-mcount.S: Likewise.
24137 * sysdeps/i386/strtok.S: Likewise.
24138 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24139 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24140 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24141 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24142 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24143 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24144 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24145 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24146 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24147 * sysdeps/x86_64/_mcount.S: Likewise.
24148 * sysdeps/x86_64/strtok.S: Likewise.
24149 * sysdeps/sh/_mcount.S: Likewise.
24151 2012-08-01 Roland McGrath <roland@hack.frob.com>
24153 * libio/iofopen.c: Include <fcntl.h>.
24154 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24155 (_IO_fopen64, fopen64): Define as aliases.
24156 * libio/iofopen64.c: Include <fcntl.h>.
24157 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24158 Conditionalize body on this.
24159 * sysdeps/wordsize-64/iofopen.c: File removed.
24160 * sysdeps/wordsize-64/iofopen64.c: File removed.
24162 2012-08-01 Marek Polacek <polacek@redhat.com>
24164 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24165 Use dlfcn directly instead of a variable.
24166 (binfmt-subdir): Do not define.
24169 2012-08-01 Joseph Myers <joseph@codesourcery.com>
24171 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24172 Remove all definitions.
24173 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24174 <kernel-features.h>.
24175 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24176 (miss_F_GETOWN_EX): Remove all definitions.
24177 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24179 [!__ASSUME_FCNTL64]: Remove conditional code.
24180 [__ASSUME_FCNTL64]: Make code unconditional.
24181 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24182 <kernel-features.h>.
24183 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24184 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24185 (lockf64) [__NR_fcntl64]: Make code unconditional.
24186 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24188 * sysdeps/unix/sysv/linux/kernel-features.h
24189 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24190 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24191 Make code unconditional.
24192 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24193 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24195 [__NR_vfork]: Make code unconditional.
24196 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24197 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24199 [__NR_vfork]: Make code unconditional.
24200 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24201 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24203 2012-08-01 Roland McGrath <roland@hack.frob.com>
24205 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24206 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24208 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24209 Define mkstemp64 as an alias.
24210 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24211 Define mkstemps64 as an alias.
24212 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24213 Define mkostemp64 as an alias.
24214 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24215 Define mkostemps64 as an alias.
24216 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24217 Conditionalize body on this.
24218 * misc/mkostemp64.c: Likewise.
24219 * misc/mkostemps64.c: Likewise.
24220 * misc/mkstemps64.c: Likewise.
24221 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24222 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24223 * sysdeps/wordsize-64/mkostemp.c: File removed.
24224 * sysdeps/wordsize-64/mkstemp.c: File removed.
24225 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24226 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24227 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24228 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24231 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24232 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24233 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24234 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24236 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24237 compat_symbol macros from <shlib-compat.h> rather than the underlying
24238 default_symbol_version and symbol_version macros, so that DEFAULT
24239 lines in shlib-versions are respected.
24240 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24242 2012-08-01 Florian Weimer <fweimer@redhat.com>
24244 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24245 Declare with warn_unused_result.
24246 (setgid, setregid, setegid, setresgid): Likewise.
24247 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24249 * WUR-REPORT: Remove set*id functions.
24251 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24253 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24255 2012-07-31 Roland McGrath <roland@hack.frob.com>
24258 * include/sys/socket.h (__libc_accept, __libc_accept4):
24259 Add attribute_hidden.
24260 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24262 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24264 * inet/getnetgrent_r.c (setup): Likewise.
24266 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24268 2012-07-31 David S. Miller <davem@davemloft.net>
24270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24272 2012-07-31 Joseph Myers <joseph@codesourcery.com>
24275 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24276 value between 1.0 and 2.0 and smaller part has absolute value less
24278 * math/s_clog10.c (__clog10): Likewise.
24279 * math/s_clog10f.c (__clog10f): Likewise.
24280 * math/s_clog10l.c (__clog10l): Likewise.
24281 * math/s_clogf.c (__clogf): Likewise.
24282 * math/s_clogl.c (__clogl): Likewise.
24283 * math/libm-test.inc (clog_test): Add more tests.
24284 (clog10_test): Likewise.
24285 * sysdeps/i386/fpu/libm-test-ulps: Update.
24286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24288 2012-07-31 Florian Weimer <fweimer@redhat.com>
24290 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24291 Exit with zero in case no suitable GID is found, and write a
24292 message to standard error.
24294 2012-07-30 Roland McGrath <roland@hack.frob.com>
24296 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24298 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24299 (MAXPATHLEN): Removed.
24300 (NOGROUP, NODEV): New macros.
24301 (setbit, clrbit, isset, isclr): New macros.
24302 (howmany, roundup, powerof2): New macros.
24303 (DEV_BSIZE): New macro.
24305 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24306 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24308 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24309 definition on [!__NO_LONG_DOUBLE_MATH].
24311 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24312 PTR_MANGLE and PTR_DEMANGLE.
24314 * socket/accept4.c (accept4): Rename to __libc_accept4.
24315 Define accept4 as a weak alias.
24317 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24318 on [_DIRENT_HAVE_D_TYPE].
24319 * io/ftw.c (ftw_dir): Likewise.
24321 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24323 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24325 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24326 Use the BSD numbers rather than the arbitrary ones we had.
24327 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24328 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24329 (SIGXCPU, SIGXFSZ): New macros.
24332 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24333 initializer on [_LIBC_REENTRANT].
24335 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24336 definitions inside [_POSIX_MAPPED_FILES].
24338 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24340 * dirent/opendir.c: Include <fcntl.h>.
24342 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24343 (__libc_getspecific): Likewise.
24344 (__libc_key_create): Likewise.
24346 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24347 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24348 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24349 (tmpfile64): Define as alias.
24350 * sysdeps/wordsize-64/tmpfile.c: File removed.
24351 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24352 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24353 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24355 * stdio-common/vfscanf.c: Include <stdbool.h>.
24356 * nss/makedb.c: Likewise.
24357 * stdio-common/_i18n_number.h: Likewise.
24358 * argp/argp-help.c: Likewise.
24359 * posix/wordexp.c: Likewise.
24360 * sysdeps/posix/spawni.c: Likewise.
24361 * nss/nss_files/files-initgroups.c: Likewise.
24362 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24363 * nss/nss_files/files-initgroups.c: Likewise.
24364 * nss/nss_db/db-netgrp.c: Likewise.
24365 * nss/nss_db/db-initgroups.c: Likewise.
24366 * io/fchmodat.c: Include <sys/stat.h>.
24368 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24369 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24371 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24374 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24375 Add multiple inclusion protection.
24377 2012-07-27 David S. Miller <davem@davemloft.net>
24379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24381 2012-07-27 Gary Benson <gbenson@redhat.com>
24384 * elf/rtld.c: Include <stap-probe.h>.
24385 (dl_main): Added static probes "init_start" and "init_complete".
24386 * elf/dl-load.c: Include <stap-probe.h>.
24387 (lose): Take new parameter "nsid".
24388 Added static probe "map_failed".
24389 (_dl_map_object_from_fd): Pass namespace id to lose.
24390 Added static probe "map_start".
24391 (open_verify): Pass namespace id to lose.
24392 * elf/dl-open.c: Include <stap-probe.h>.
24393 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24394 and "reloc_complete".
24395 * elf/dl-close.c: Include <stap-probe.h>.
24396 (_dl_close_worker): Added static probes "unmap_start" and
24398 * elf/rtld-debugger-interface.txt: New file documenting the above.
24400 2012-07-26 Roland McGrath <roland@hack.frob.com>
24402 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24403 rather than a string variable.
24404 * sunrpc/rpc_main.c (h_output): Likewise.
24405 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24407 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24409 * inet/check_native.c: New file.
24411 2012-07-26 Joseph Myers <joseph@codesourcery.com>
24414 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24415 if larger part has absolute value 1.0.
24416 * math/s_clog10.c (__clog10): Likewise.
24417 * math/s_clog10f.c (__clog10f): Likewise.
24418 * math/s_clog10l.c (__clog10l): Likewise.
24419 * math/s_clogf.c (__clogf): Likewise.
24420 * math/s_clogl.c (__clogl): Likewise.
24421 * math/libm-test.inc (clog_test): Add more tests.
24422 (clog10_test): Likewise.
24423 * sysdeps/i386/fpu/libm-test-ulps: Update.
24424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24426 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24427 (pltexit): Likewise.
24428 (La_regs): Likewise.
24429 (La_retval): Likewise.
24430 (int_retval): Likewise.
24431 Update #error for removed macros to refer only to definitions in
24433 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24435 (pltexit): Likewise.
24436 (La_regs): Likewise.
24437 (La_retval): Likewise.
24438 (int_retval): Likewise.
24439 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24441 (pltexit): Likewise.
24442 (La_regs): Likewise.
24443 (La_retval): Likewise.
24444 (int_retval): Likewise.
24445 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24447 (pltexit): Likewise.
24448 (La_regs): Likewise.
24449 (La_retval): Likewise.
24450 (int_retval): Likewise.
24451 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24453 (pltexit): Likewise.
24454 (La_regs): Likewise.
24455 (La_retval): Likewise.
24456 (int_retval): Likewise.
24457 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24459 (pltexit): Likewise.
24460 (La_regs): Likewise.
24461 (La_retval): Likewise.
24462 (int_retval): Likewise.
24463 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24465 (pltexit): Likewise.
24466 (La_regs): Likewise.
24467 (La_retval): Likewise.
24468 (int_retval): Likewise.
24469 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24470 macro definitions in tst-audit.h.
24471 * sysdeps/i386/tst-audit.h: New file.
24472 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24473 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24474 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24475 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24476 * sysdeps/sh/tst-audit.h: Likewise.
24477 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24478 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24479 * sysdeps/x86_64/tst-audit.h: Likewise.
24481 2012-07-26 Andreas Jaeger <aj@suse.de>
24483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24486 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24487 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24488 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24490 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24491 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24492 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24494 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24497 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24499 (si_call_addr, si_syscall, si_arch): Define new macro.
24500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24502 (si_call_addr, si_syscall, si_arch): Define new marcro.
24503 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24505 (si_call_addr, si_syscall, si_arch): Define new macro.
24506 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24508 (si_call_addr, si_syscall, si_arch): Define new macro.
24510 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24514 Change to 2.4.21 where previously 2.4.1.
24515 * sysdeps/unix/sysv/linux/configure: Regenerated.
24516 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24517 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24518 Linux kernel version.
24519 (__ASSUME_STD_AUXV): Remove.
24520 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24522 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24523 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24524 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24525 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24526 (__ASSUME_NETLINK_SUPPORT): Likewise.
24527 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24528 (__no_netlink_support): Remove conditional definition.
24529 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24531 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24532 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24533 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24534 (if_nameindex_ioctl): Remove.
24535 (if_nameindex_netlink): Do not handle __no_netlink_support.
24536 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24538 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24539 Remove conditional code.
24540 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24542 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24544 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24545 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24546 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24548 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24549 [!__ASSUME_STD_AUXV]: Remove conditional code.
24550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24551 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24552 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24554 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24555 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24557 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24559 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24560 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24562 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24564 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24567 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24570 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24571 code unconditional.
24572 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24574 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24576 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24579 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24581 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24584 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24585 code unconditional.
24586 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24588 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24590 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24593 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24594 code unconditional.
24595 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24597 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24599 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24602 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24604 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24605 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24606 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24607 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24608 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24609 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24610 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24611 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24612 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24613 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24614 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24615 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24616 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24617 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24618 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24619 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24620 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24621 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24622 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24623 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24624 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24625 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24626 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24628 2012-07-25 Florian Weimer <fweimer@redhat.com>
24630 * Versions.def: Add GLIBC_2.17.
24631 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24632 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24633 Introduce __libc_secure_getenv.
24634 * stdlib/Versions (2.17): Add secure_getenv
24635 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24636 * stdlib/secure-getenv.c: Rename __secure_getenv to
24637 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24638 symbol __secure_getenv for GLIBC_2.0.
24639 * stdlib/tst-secure-getenv.c: New.
24640 * stdlib/Makefile (tests): Add testcase.
24641 * manual/startup.texi (Environment Access): Document
24643 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24644 __libc_secure_getenv.
24645 * inet/ruserpass.c (ruserpass): Likewise.
24646 * malloc/mtrace.c (mtrace): Likewise.
24647 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24648 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24649 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24650 * sysdeps/posix/tempname.c: Likewise. Evaluate
24651 HAVE_SECURE_GETENV.
24652 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24653 __secure_getenv to __libc_secure_getenv.
24654 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24661 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24667 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24669 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24670 (struct La_i86_retval): Likewise.
24671 (struct La_x86_64_regs): Likewise.
24672 (struct La_x86_64_retval): Likewise.
24673 (struct La_x32_regs): Likewise.
24674 (struct La_x32_retval): Likewise.
24675 (struct La_ppc32_regs): Likewise.
24676 (struct La_ppc32_retval): Likewise.
24677 (struct La_ppc64_regs): Likewise.
24678 (struct La_ppc64_retval): Likewise.
24679 (struct La_sh_regs): Likewise.
24680 (struct La_sh_retval): Likewise.
24681 (struct La_s390_32_regs): Likewise.
24682 (struct La_s390_32_retval): Likewise.
24683 (struct La_s390_64_regs): Likewise.
24684 (struct La_s390_64_retval): Likewise.
24685 (struct La_sparc32_regs): Likewise.
24686 (struct La_sparc32_retval): Likewise.
24687 (struct La_sparc64_regs): Likewise.
24688 (struct La_sparc64_retval): Likewise.
24689 (struct audit_ifaces): Remove architecture-specific pltenter and
24691 * sysdeps/i386/ldsodefs.h: New file.
24692 * sysdeps/powerpc/ldsodefs.h: Likewise.
24693 * sysdeps/s390/ldsodefs.h: Likewise.
24694 * sysdeps/sh/ldsodefs.h: Likewise.
24695 * sysdeps/sparc/ldsodefs.h: Likewise.
24696 * sysdeps/x86_64/ldsodefs.h: Likewise.
24698 2012-07-25 Marek Polacek <polacek@redhat.com>
24701 * math/libm-test.inc (yn_test): Add another test.
24702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24703 to ERANGE when the result is +-Inf.
24704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24705 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24706 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24707 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24709 2012-07-24 Joseph Myers <joseph@codesourcery.com>
24711 * conform/data/time.h-data (NULL): Use macro-constant. Require
24713 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24715 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24717 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24719 * configure.in <sysdeps resolving>: Correct printing
24721 * configure: Regenerate.
24723 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24725 * math/w_ilogb.c: Include <limits.h>.
24726 * math/w_ilogbl.c: Likewise.
24728 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24730 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24731 va_copy. Document allowing for unavailable va_copy only as
24732 pre-C99 compatibility.
24733 * manual/string.texi (Copying and Concatenation): Use va_copy
24734 instead of __va_copy in concat example.
24736 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24738 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24739 (__sendto): Use create_address_port. Initialize APORT and deallocate
24742 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24743 with O_NOLINK passed to __file_name_lookup.
24745 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24746 with O_NOLINK passed to __file_name_lookup.
24748 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24749 negative N or less than NGIDS.
24751 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24752 type to string_t. Set ERANGE as errno and return it if NAME is not big
24753 enough. Use memcpy instead of strncpy.
24755 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24757 * elf/Makefile (check-data): Remove.
24758 (localplt.data): New vpath directive.
24759 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24760 instead of $(check-data).
24761 * scripts/data/localplt-generic.data: Move to ...
24762 * sysdeps/generic/localplt.data: ... here.
24763 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24764 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24765 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24768 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24771 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24774 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24777 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24780 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24784 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24786 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24787 PPC32 and PPC64 files.
24788 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24789 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24791 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24793 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24794 __makecontext_ret to ...
24795 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24796 ... here and call exit if uc_link is NULL. New file.
24797 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24798 __makecontext_ret.S.
24799 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24800 __makecontext_ret to ...
24801 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24802 ... here and call exit if uc_link is NULL. New file.
24803 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24804 __makecontext_ret.S.
24806 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24808 * elf/elf.h (R_390_IRELATIVE): New definition.
24809 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24810 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
24811 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24812 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24813 (elf_machine_lazy_rel): Likewise.
24814 * sysdeps/s390/dl-irel.h: New file.
24815 * sysdeps/s390/s390-64/memcpy.S: New asm code.
24816 * sysdeps/s390/s390-64/memset.S: New asm code.
24817 * sysdeps/s390/s390-64/memcmp.S: New asm code.
24818 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24819 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24820 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24821 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24822 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24824 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24825 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24826 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24827 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24828 * sysdeps/s390/s390-32/memcpy.S: New asm code.
24829 * sysdeps/s390/s390-32/memset.S: New asm code.
24830 * sysdeps/s390/s390-32/memcmp.S: New asm code.
24832 2012-07-17 Marek Polacek <polacek@redhat.com>
24835 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24836 * sysdeps/s390/s390-64/configure.in: Likewise.
24837 * sysdeps/sparc/configure.in: Likewise.
24838 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24839 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24840 * sysdeps/i386/configure.in: Likewise.
24841 * sysdeps/x86_64/configure.in: Likewise.
24842 * sysdeps/sh/configure.in: Likewise.
24843 * sysdeps/s390/s390-32/configure: Regenerated.
24844 * sysdeps/s390/s390-64/configure: Likewise.
24845 * sysdeps/x86_64/configure: Likewise.
24846 * sysdeps/sh/configure: Likewise.
24847 * sysdeps/powerpc/powerpc64/configure: Likewise.
24848 * sysdeps/powerpc/powerpc32/configure: Likewise.
24849 * sysdeps/sparc/configure: Likwise.
24850 * sysdeps/i386/configure: Likewise.
24852 * elf/dl-open.c: Comment fixes.
24854 2012-07-17 Joseph Myers <joseph@codesourcery.com>
24856 * Makefile [CXX] (check-data): Remove.
24857 [CXX] (c++-types.data): New vpath directive.
24858 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24859 vpath. Do not allow for C++ type data being missing.
24860 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24861 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24862 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24863 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24864 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24865 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24866 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24869 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24872 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24875 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24878 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24881 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24884 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24887 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24890 * elf/tls-macros.h (TLS_LE): Move architecture-specific
24891 definitions to architecture-specific files.
24892 (TLS_IE): Likewise.
24893 (TLS_LD): Likewise.
24894 (TLS_GD): Likewise.
24895 * sysdeps/i386/tls-macros.h: New file.
24896 * sysdeps/powerpc/tls-macros.h: Likewise.
24897 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24898 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24899 * sysdeps/sh/tls-macros.h: Likewise.
24900 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24901 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24902 * sysdeps/x86_64/tls-macros.h: Likewise.
24904 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24906 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24907 zero value for regular exit case.
24909 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24910 (__start_context): Preserve zero value for regular exit case.
24912 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24913 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24915 * manual/setjmp.texi (setcontext): Clarify normal process
24916 termination when uc_link is the null pointer.
24917 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24920 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
24922 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24923 preprocessor. Test for each exception mask separately.
24925 2012-07-16 Andreas Jaeger <aj@suse.de>
24927 * po/ru.po: Update from translation team.
24929 2012-07-15 Joseph Myers <joseph@codesourcery.com>
24931 * conform/data/string.h-data (NULL): Use macro-constant. Require
24933 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24934 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24935 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24936 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24939 2012-07-13 Andreas Jaeger <aj@suse.de>
24941 * po/fr.po: Update from translation team.
24943 2012-07-12 Marek Polacek <polacek@redhat.com>
24946 * math/libm-test.inc (yn_test): Add test for BZ #14173.
24947 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24950 2012-07-12 Joseph Myers <joseph@codesourcery.com>
24953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24954 Change to 2.4.1 where previously 2.4.0.
24955 * sysdeps/unix/sysv/linux/configure: Regenerated.
24956 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24957 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24959 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24960 (__ASSUME_AT_CLKTCK): Remove.
24961 (__ASSUME_AT_PAGESIZE): Likewise.
24962 (__ASSUME_AT_XID): Likewise.
24963 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24964 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24965 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24967 (HAVE_AUX_PAGESIZE): Likewise.
24968 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24969 [__ASSUME_AT_CLKTCK]: Make code unconditional.
24970 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24972 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
24975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
24976 the temporary buffer used to invoke __gethostbyname2_r,
24977 __gethostbyaddr_r and gethostbyname4_r to make room for struct
24978 host_data / struct gaih_addrtuple.
24979 * resolv/nss_dns/dns-host.c (global scope): Move definition of
24980 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
24981 header file nss/nsswitch.h.
24982 * nss/nsswitch.h (global scope): Add definition of implementation
24983 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
24984 resolv/nss_dns/dns-host.c).
24986 2012-07-11 Andreas Jaeger <aj@suse.de>
24988 * po/fr.po: Update from translation team.
24990 * po/sv.po: Update from translation team
24991 * po/fr.po: Another update from translation team.
24993 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24995 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
24996 for subnormals or multiply small sinh result by itself.
24997 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25000 2012-07-11 David S. Miller <davem@davemloft.net>
25002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25004 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25007 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25008 (INTERNAL_MARK): Shift it here.
25010 2012-07-10 Marek Polacek <polacek@redhat.com>
25013 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25014 libc_cv_asm_global_directive with .globl.
25015 * configure: Regenerated.
25016 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25018 * sysdeps/i386/configure: Regenerated.
25019 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25021 * sysdeps/x86_64/configure: Regenerated.
25022 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25023 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25024 * elf/tst-unique2mod2.c: Likewise.
25025 * elf/tst-unique2mod1.c: Likewise.
25026 * elf/tst-unique1mod2.c: Likewise.
25027 * elf/tst-unique1mod1.c: Likewise.
25028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25029 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25031 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25032 * sysdeps/mach/sysdep.h: Likewise.
25033 * sysdeps/i386/sysdep.h: Likewise.
25034 * sysdeps/i386/i386-mcount.S: Likewise.
25035 * sysdeps/x86_64/_mcount.S: Likewise.
25036 * sysdeps/x86_64/sysdep.h: Likewise.
25037 * sysdeps/sh/_mcount.S: Likewise.
25038 * sysdeps/sh/sysdep.h: Likewise.
25039 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25040 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25041 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25042 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25043 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25044 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25045 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25046 * locale/localeinfo.h: Likewise.
25047 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25048 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25050 2012-07-09 Roland McGrath <roland@hack.frob.com>
25053 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25055 * manual/message.texi (The Uniforum approach): Likewise.
25056 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25057 (glibc iconv Implementation): Likewise.
25059 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25062 * math/s_clog.c (__clog): Avoid scaling a value down where that
25063 could result in underflow.
25064 * math/s_clog10.c (__clog10): Likewise.
25065 * math/s_clog10f.c (__clog10f): Likewise.
25066 * math/s_clog10l.c (__clog10l): Likewise.
25067 * math/s_clogf.c (__clogf): Likewise.
25068 * math/s_clogl.c (__clogl): Likewise.
25069 * math/libm-test.inc (clog_test): Add more tests.
25070 (clog10_test): Likewise.
25071 * sysdeps/i386/fpu/libm-test-ulps: Update.
25072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25074 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25077 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25078 by 7 not 8 to examine high bit of fractional part.
25081 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25082 for call to __mcount_internal.
25083 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25084 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25085 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25087 2012-07-06 Joseph Myers <joseph@codesourcery.com>
25090 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25091 approximation for values within 0x1p-13f of an odd multiple of
25093 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25094 exception. Add more tests.
25095 * sysdeps/i386/fpu/libm-test-ulps: Update.
25098 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25099 inputs and return -1 for them. Do not check for +Inf in case not
25100 reachable for +Inf.
25101 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25102 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25103 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25104 and return -1 for them. Do not check for +Inf in case not
25105 reachable for +Inf.
25106 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25108 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25109 and return -1 for them. Do not check for +Inf in case not
25110 reachable for +Inf.
25111 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25112 spurious underflow.
25113 * sysdeps/i386/fpu/libm-test-ulps: Update.
25114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25116 2012-07-06 Mike Frysinger <vapier@gentoo.org>
25118 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25120 2012-07-05 Joseph Myers <joseph@codesourcery.com>
25124 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25125 could result in spurious underflow. Scale down values above
25126 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25127 * math/s_csqrtf.c (__csqrtf): Likewise.
25128 * math/s_csqrtl.c (__csqrtl): Likewise.
25129 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25130 spurious underflow.
25131 * sysdeps/i386/fpu/libm-test-ulps: Update.
25132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25134 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25136 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25138 * catgets/xopen-msg.awk: New file.
25139 * catgets/xopen-msg.sed: Removed.
25141 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25143 * intl/po2test.awk: New file.
25144 * intl/po2test.sed: Removed.
25146 2012-07-04 Joseph Myers <joseph@codesourcery.com>
25149 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25150 or multiply small sinh result by itself.
25151 * math/s_ctanf.c (__ctanf): Likewise.
25152 * math/s_ctanh.c (__ctanh): Likewise.
25153 * math/s_ctanhf.c (__ctanhf): Likewise.
25154 * math/s_ctanhl.c (__ctanhl): Likewise.
25155 * math/s_ctanl.c (__ctanl): Likewise.
25156 * math/libm-test.inc (ctan_test_tonearest): New function.
25157 (ctan_test_towardzero): Likewise.
25158 (ctan_test_downward): Likewise.
25159 (ctan_test_upward): Likewise.
25160 (ctanh_test_tonearest): Likewise.
25161 (ctanh_test_towardzero): Likewise.
25162 (ctanh_test_downward): Likewise.
25163 (ctanh_test_upward): Likewise.
25164 (main): Call these new functions.
25165 * sysdeps/i386/fpu/libm-test-ulps: Update.
25166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25168 2012-07-03 Mike Frysinger <vapier@gentoo.org>
25170 * .gitignore: Delete /ports entry.
25172 2012-07-03 Andreas Jaeger <aj@suse.de>
25174 * po/bg.po: Update from translation team.
25175 * po/cs.po: Likewise.
25176 * po/de.po: Likewise.
25177 * po/hr.po: Likewise.
25178 * po/nl.pl: Likewise.
25179 * po/pl.po: Likewise.
25180 * po/vi.po: Likewise.
25182 2012-07-03 Joseph Myers <joseph@codesourcery.com>
25184 * Makeconfig [!+link] (+link-before-libc): New variable.
25185 [!+link] (+link-after-libc): Likewise.
25186 [!+link] (+link-tests): Likewise.
25187 [!+link] (+link): Define in terms of $(+link-before-libc) and
25188 $(+link-after-libc).
25189 [!+link-static] (+link-static-before-libc): New variable.
25190 [!+link-static] (+link-static-after-libc): Likewise.
25191 [!+link-static] (+link-static-tests): Likewise.
25192 [!+link-static] (+link-static): Define in terms of
25193 $(+link-static-before-libc) and $(+link-static-after-libc).
25194 [build-shared] (link-libc-before-gnulib): New variable.
25195 [build-shared] (link-libc-tests): Likewise.
25196 [build-shared] (link-libc): Define in terms of
25197 $(link-libc-before-gnulib).
25198 [!build-shared] (link-libc-tests): New variable.
25199 (link-libc-static-tests): New variable.
25200 [!gnulib] (gnulib-arch): New variable.
25201 [!gnulib] (gnulib-tests): Likewise.
25202 [!gnulib] (static-gnulib-arch): Likewise.
25203 [!gnulib] (static-gnulib-tests): Likewise.
25204 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25205 Define with "=" instead of ":=".
25206 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25207 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25208 * Rules (binaries-all-notests): New variable.
25209 (binaries-all-tests): Likewise.
25210 (binaries-static-notests): Likewise.
25211 (binaries-static-tests): Likewise.
25212 (binaries-all): Define using $(binaries-all-notests) and
25213 $(binaries-all-tests).
25214 (binaries-static): Define using $(binaries-static-notests) and
25215 $(binaries-static-tests).
25216 (binaries-shared-tests): New variable.
25217 (binaries-shared-notests): Likewise.
25218 (binaries-shared): Remove variable.
25219 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25220 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25221 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25222 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25223 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25224 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25225 * elf/Makefile (sln-modules): New variable.
25226 (extra-objs): Add $(sln-modules:=.o).
25227 (ldconfig-modules): Add static-stubs.
25228 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25229 * elf/static-stubs.c: New file.
25232 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25233 by 7 not 8 to examine high bit of fractional part. Use volatile
25234 variables when splitting into final array of floats if
25235 __FLT_EVAL_METHOD__ != 0.
25236 * math/libm-test.inc (cos_test): Add another test.
25237 (sin_test): Likewise.
25238 * sysdeps/i386/fpu/libm-test-ulps: Update.
25241 * math/libm-test.inc (cosh_test): Add more tests.
25243 * version.h (RELEASE): Set to "development".
25244 (VERSION): Set to "2.16.90".
25246 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25248 * NEWS: Update copyright. Remove last-updated date.
25249 Mention math library bug fixes and timezone data changes.
25250 * README: Mention GNU/Hurd, x32, and HPPA support status.
25252 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25254 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25256 2012-06-27 Andreas Jaeger <aj@suse.de>
25258 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25260 2012-06-25 Andreas Jaeger <aj@suse.de>
25262 * sysdeps/s390/fpu/libm-test-ulps: Update.
25264 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25265 Thomas Schwinge <thomas@codesourcery.com>
25267 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25268 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25269 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25272 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25274 * sysdeps/mach/start.c: Remove file.
25275 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25276 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25277 * sysdeps/sh/init-first.c: Likewise.
25279 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25280 registers for frame unwinding purposes, add CFI directives.
25281 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25282 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25283 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25286 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25287 __fortify_fail returning.
25288 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25290 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25291 sysdeps/sh/____longjmp_chk.S.
25292 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25293 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25294 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25295 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25297 * sysdeps/sh/abort-instr.h: New file.
25298 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25299 process in case exit returns.
25301 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25302 initialize the GOT register before use.
25304 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25305 calculation of ARGC > 4.
25307 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25308 meaningful names to some local labels.
25310 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25311 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25313 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25314 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25315 (__arch_compare_and_exchange_val_16_acq): Likewise.
25316 (__arch_compare_and_exchange_val_32_acq): Likewise.
25317 (atomic_exchange_and_add): Fix gUSA sequence.
25318 (atomic_add): Likewise.
25319 (atomic_add_negative): Likewise.
25320 (atomic_add_zero): Likewise.
25321 (atomic_bit_test_set): Likewise.
25323 2012-06-22 Andreas Schwab <schwab@redhat.com>
25326 * include/link.h (struct link_map): Add l_free_initfini.
25327 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25329 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25330 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25331 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25334 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25336 * configure.in: Use AC_LANG_SOURCE.
25337 * configure: Regenerate.
25339 2012-06-22 Roland McGrath <roland@hack.frob.com>
25341 * configure.in (libc_cv_localstatedir): New substituted variable.
25342 * configure: Regenerated.
25343 * config.make.in (localstatedir): New variable, substituted from
25344 libc_cv_localstatedir.
25345 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25346 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25347 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25348 * sysdeps/gnu/configure: Regenerated.
25350 2012-06-21 Jeff Law <law@redhat.com>
25353 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25354 free. Simplify list management for _LIBC case.
25356 2012-06-21 Joseph Myers <joseph@codesourcery.com>
25359 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25360 Clear sign bit of 64-bit integer value before comparing against
25363 * sysdeps/mach/configure: Regenerated.
25365 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25368 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25370 2012-06-21 Jeff Law <law@redhat.com>
25373 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25374 uint16_t for elements in the "seen" array to avoid char overflows.
25375 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25376 * elf/dl-open.c (dl_open_worker): Likewise.
25378 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25380 * scripts/list-sources.sh: Scan PORTS for translations.
25381 * po/libc.pot: Regenerated.
25383 2012-06-21 Andreas Jaeger <aj@suse.de>
25386 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25388 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25389 * bits/byteswap-16.h (__bswap_16): Likewise.
25390 * bits/byteswap.h (__bswap_constant_16): Likewise.
25392 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25395 * sysdeps/i386/fpu_control.h: Removed.
25396 * sysdeps/x86_64/fpu_control.h: Moved to ...
25397 * sysdeps/x86/fpu_control.h: Here.
25399 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25400 (_FPU_SETCW): Likewise.
25402 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25405 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25406 * sysdeps/x86/fpu/bits/mathinline.h: This.
25407 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25411 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25412 functions if __x86_64__ is defined.
25414 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25416 * string/endian.h: Add !__ASSEMBLER__ condition for including
25417 conversion interfaces.
25419 2012-06-15 Joseph Myers <joseph@codesourcery.com>
25422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25423 of ABS(x) in calculating zero to negative powers other than odd
25425 * math/libm-test.inc (pow_test): Add more tests.
25427 2012-06-15 Andreas Jaeger <aj@suse.de>
25429 * manual/contrib.texi (Contributors): Update entry of Liubov
25430 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25433 2012-06-15 Cyril Hrubis <metan@ucw.cz>
25435 * string/string.h: Add __wur to GNU version of strerror_r.
25437 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25440 * string/Makefile (tests): Add tst-strtok_r.
25441 * string/tst-strtok_r.c: New file.
25442 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25443 RAX_LP/RDX_LP on SAVE_PTR.
25445 2012-06-14 Roland McGrath <roland@hack.frob.com>
25447 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25449 2012-06-14 Joseph Myers <joseph@codesourcery.com>
25451 * libm_test.inc (csqrt_test): Allow more spurious underflow
25453 (j0_test): Likewise.
25454 (j1_test): Likewise.
25455 (y0_test): Likewise.
25456 (y1_test): Likewise.
25458 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25460 * po/Makefile (libc.pot): Use UTF-8 charset.
25462 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25465 Suppress sign-conversion warning from FD_SET.
25466 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25467 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25468 not unsigned long int.
25469 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25471 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25475 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25476 __extern_always_inline instead of __extern_inline.
25477 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25478 (__signbit): Likewise.
25479 (__signbitl): Support C++ namespace.
25480 (lrintf): New inline function.
25482 (llrintf): Likewise.
25483 (llrint): Likewise.
25493 (floorf): Likewise.
25494 (nearbyint): Likewise.
25495 (nearbyintf): Likewise.
25497 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25499 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25500 non-default versions.
25502 2012-06-11 Roland McGrath <roland@hack.frob.com>
25505 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25507 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25509 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25510 (FE_UPWARD, FE_DOWNWARD): Don't define.
25511 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25512 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25514 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25516 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25517 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25519 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25521 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25523 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25524 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25526 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25529 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25530 * sysdeps/i386/fpu/Implies: New file.
25531 * sysdeps/x86_64/fpu/Implies: Likewise.
25532 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25533 * sysdeps/x86/fpu/bits/fenv.h: This.
25535 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25538 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25541 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25542 character 0xffff that matches the last element of the
25545 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25547 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25550 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25553 values higher than 25.6283.
25555 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25557 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25558 subnormal exponent extraction and add some __builtin_expect.
25559 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25560 Fix for subnormal mantissa calculation.
25562 2012-06-04 Mike Frysinger <vapier@gentoo.org>
25564 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25565 cpu2 is -1 and errno is not ENOSYS.
25567 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25570 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25571 * sysdeps/x86/bits/string.h: This.
25572 * sysdeps/x86_64/bits/string.h: Removed.
25574 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25575 if not compiling for x86-64, but compiling for >= i486.
25577 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25578 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25580 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25581 New macro from Linux kernel 3.4.0.
25582 (FP_XSTATE_MAGIC2): Likewise.
25583 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25584 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25585 (struct _fpx_sw_bytes): New struct.
25586 (struct _xsave_hdr): Likewise.
25587 (struct _ymmh_state): Likewise.
25588 (struct _xstate): Likewise.
25590 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25591 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25592 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25593 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25594 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25595 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25597 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25598 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25599 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25600 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25601 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25602 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25604 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25607 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25608 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25609 (sysdep_headers): Include sys/platform/ppc.h.
25610 * sysdeps/powerpc/test-gettimebase.c: Test for
25611 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25612 * manual/Makefile (appendices): Include platform.texi.
25613 * manual/contrib.texi (Contributors): Update @node pointers.
25614 * manual/maint.texi (Maintenance): Likewise.
25615 (Platform): New node.
25616 * manual/platform.texi: New file. Document the new features.
25618 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25619 Jakub Jelinek <jakub@redhat.com>
25622 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25623 where __builtin_expect is unavailable.
25625 2012-06-03 David S. Miller <davem@davemloft.net>
25627 * stdlib/longlong.h: Updated from GCC.
25629 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25632 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25633 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25636 (GLIBC_2.16): Likewise.
25638 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25640 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25642 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25645 (default-abi): New variable.
25646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25647 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25649 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25651 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25653 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25656 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25657 definition. Document in comment.
25659 2012-06-01 David S. Miller <davem@davemloft.net>
25661 * stdlib/longlong.h: Updated from GCC.
25663 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25666 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25667 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25668 sys/debugreg.h sys/io.h here.
25669 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25670 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25672 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25673 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25674 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25675 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25676 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25677 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25679 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25680 Define only if __x86_64__ is defined.
25682 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25685 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25686 Use int64_t for variable i.
25687 * math/libm-test.inc (fmod_test): Add more tests.
25689 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25690 z computation is not scheduled after fetestexcept.
25691 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25692 Use math_force_eval instead of asm to ensure calculation scheduled
25693 before exception test.
25694 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25695 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25697 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25700 computation is not scheduled after fetestexcept.
25702 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25705 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25706 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25708 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25710 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25711 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25713 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25716 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25718 (__WCHAR_MIN): Support __WORDSIZE == 64.
25719 (__WCHAR_MAX): Likewise.
25721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25722 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25725 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25726 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25729 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25730 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25732 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25733 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25735 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25736 Defined to 1 if __x86_64__ isn't defined.
25737 (_STAT_VER_LINUX_OLD): New.
25738 (st_atime): Remove duplicate.
25739 (st_mtime): Likewise.
25740 (st_ctime): Likewise.
25742 2012-05-31 David S. Miller <davem@davemloft.net>
25744 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25747 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25749 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25753 * elf/dl-reloc.c: Include <_itoa.h>.
25754 (_dl_reloc_bad_type): Remove use of INTUSE.
25755 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25756 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25757 * stdio-common/psiginfo.c (psiginfo): Likewise.
25758 * stdio-common/psignal.c (psignal): Likewise.
25759 * string/strsignal.c (strsignal): Likewise.
25760 * include/signal.h (_sys_siglist): Declare hidden proto.
25761 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25762 INTVARDEF with libc_hidden_data_def.
25763 * stdio-common/itoa-udigits.c: Likewise.
25764 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25765 (_itoa_lower_digits_internal): Remove declaration.
25766 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25767 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25768 (_sys_sigabbrev_internal): Remove aliases.
25769 (_sys_siglist): Define hidden alias.
25771 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25776 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25779 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25780 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25782 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25783 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25784 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25785 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25787 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25789 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25791 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25793 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25801 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25802 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25803 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25805 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25806 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25807 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25808 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25809 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25810 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25812 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25813 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25815 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25816 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25819 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25820 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25822 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25823 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25825 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25827 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25828 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25829 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25831 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25833 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25835 2012-05-31 Joseph Myers <joseph@codesourcery.com>
25837 * math/math.h (M_El): Use two more decimal places.
25838 (M_LOG2El): Likewise.
25839 (M_LOG10El): Likewise.
25840 (M_LN2l): Likewise.
25841 (M_LN10l): Likewise.
25843 (M_PI_2l): Likewise.
25844 (M_PI_4l): Likewise.
25845 (M_1_PIl): Likewise.
25846 (M_2_PIl): Likewise.
25847 (M_2_SQRTPIl): Likewise.
25848 (M_SQRT2l): Likewise.
25849 (M_SQRT1_2l): Likewise.
25851 2012-05-31 David S. Miller <davem@davemloft.net>
25853 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25854 values between float registers.
25855 * sysdeps/sparc/sparc64/memset.S: Likewise.
25856 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25858 2012-05-31 Mike Frysinger <vapier@gentoo.org>
25860 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25861 -D_FORTIFY_SOURCE=1.
25862 (CPPFLAGS-tst-longjmp_chk.c): Define.
25863 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25864 (CPPFLAGS-tst-longjmp_chk2.c): Define.
25865 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25866 CFLAGS-tst-wchar-h.c.
25868 2012-05-31 Marek Polacek <polacek@redhat.com>
25871 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25872 __endmntent_internal): Remove declaration.
25873 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25874 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25875 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25877 2012-05-30 David S. Miller <davem@davemloft.net>
25879 * sysdeps/sparc/sparc32/soft-fp/q_util.c
25880 (___Q_simulate_exceptions): Use real FP ops rather than writing
25882 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25885 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25888 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25889 * sysdeps/x86/bits/xtitypes.h: This.
25891 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25892 * sysdeps/x86/bits/wordsize.h: This.
25894 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25895 * sysdeps/x86/bits/huge_vall.h: This.
25897 * sysdeps/i386/bits/select.h: Removed.
25898 * sysdeps/x86_64/bits/select.h: Renamed to ...
25899 * sysdeps/x86/bits/select.h: This.
25901 * sysdeps/i386/bits/setjmp.h: Removed.
25902 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25903 * sysdeps/x86/bits/setjmp.h: This.
25905 * sysdeps/i386/bits/mathdef.h: Removed.
25906 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25907 * sysdeps/x86/bits/mathdef.h: This.
25909 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
25912 * include/sys/socket.h (__connect_internal)
25913 (__libc_sa_len_internal): Remove declaration.
25914 (__connect, __libc_sa_len): Declare hidden_proto.
25915 (SA_LEN): Remove use of INTUSE.
25916 * socket/connect.c: Add libc_hidden_def.
25917 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25918 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25919 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25921 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25922 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25923 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25924 of adding _internal alias.
25926 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25929 * sysdeps/i386/bits/link.h: Removed.
25930 * sysdeps/i386/bits/linkmap.h: Likewise.
25931 * sysdeps/x86_64/bits/link.h: Renamed to ...
25932 * sysdeps/x86/bits/link.h: This.
25933 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25934 * sysdeps/x86/bits/linkmap.h: This.
25936 * sysdeps/i386/bits/endian.h: Removed.
25937 * sysdeps/x86_64/bits/endian.h: Renamed to ...
25938 * sysdeps/x86/bits/endian.h: This.
25940 * sysdeps/i386/bits/byteswap.h: Removed.
25941 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25942 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25943 * sysdeps/x86/bits/byteswap.h: This.
25944 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25945 * sysdeps/x86/bits/byteswap-16.h: This.
25946 * sysdeps/i386/Implies: Add x86.
25947 * sysdeps/x86_64/Implies: Likewise.
25949 2012-05-30 David S. Miller <davem@davemloft.net>
25951 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25952 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25953 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25954 (FP_TRAPPING_EXCEPTIONS): Define.
25955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25956 (FP_TRAPPING_EXCEPTIONS): Define.
25957 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25958 subnormals only when inexact has been signalled or underflow
25959 exceptions are enabled.
25960 (_FP_PACK_CANONICAL): Likewise.
25962 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25965 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25966 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25968 2012-05-30 Richard Henderson <rth@twiddle.net>
25970 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25971 with #ifndef NOT_IN_libc.
25973 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
25974 marked to avoid plt entry.
25976 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25979 * Makeconfig (default-abi): New macro.
25980 (abi-includes): Likewise.
25981 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
25982 $(abi-$(default-abi)-lib-soname) for soname if defined.
25983 ($(common-objpfx)gnu/lib-names.stmp): Generate from
25985 * Makefile (installed-stubs): Likewise.
25986 * include/stubs-biarch.h: Removed.
25987 * scripts/lib-names.awk: Only handle one library at a time.
25988 * scripts/soversions.awk: Remove WORDSIZE support.
25989 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
25991 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
25993 (syscall-list-default-condition): Likewise.
25994 (syscall-list-default-condition): Likewise.
25995 (syscall-list-includes): Likewise.
25996 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
25997 syscall-list-* with abi-*. Handle undefined abi-variants.
25998 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
25999 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26000 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26001 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26002 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26003 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26005 (syscall-list-32-options): Likewise.
26006 (syscall-list-32-condition): Likewise.
26007 (syscall-list-64-options): Likewise.
26008 (syscall-list-64-condition): Likewise.
26009 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26011 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26014 (abi-64-ld-soname): New macro.
26015 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26016 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26019 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26020 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26022 2012-05-30 Joseph Myers <joseph@codesourcery.com>
26024 * sysdeps/unix/sysv/linux/kernel-features.h
26025 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26026 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26027 include <kernel-features.h>.
26028 [!__NR_ftruncate64]: Remove conditional code.
26029 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26030 [__NR_ftruncate64]: Make code unconditional.
26031 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26032 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26033 include <kernel-features.h>.
26034 [!__NR_ftruncate64]: Remove conditional code.
26035 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26036 [__NR_ftruncate64]: Make code unconditional.
26037 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26039 include <kernel-features.h>.
26040 [!__NR_ftruncate64]: Remove conditional code.
26041 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26042 [__NR_ftruncate64]: Make code unconditional.
26043 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26045 include <kernel-features.h>.
26046 [!__NR_ftruncate64]: Remove conditional code.
26047 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26048 [__NR_ftruncate64]: Make code unconditional.
26049 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26051 * configure.in (libc_cv_fpie): Weaken to a compile test using
26052 LIBC_TRY_CC_OPTION.
26053 * configure: Regenerated.
26055 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26070 2012-05-27 David S. Miller <davem@davemloft.net>
26072 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26074 (__Q_simulate_exceptions): Return void. Change to simulate
26075 exceptions by writing into the %fsr.
26076 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26077 (__Qp_handle_exceptions): Likewise.
26079 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26080 __Qp_handle_exceptions.
26081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26082 __Qp_handle_exceptions.
26083 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26084 as unused and give dummy FP_RND_NEAREST initializer.
26085 (FP_INHIBIT_RESULTS): Define.
26086 (___Q_simulate_exceptions): Update declaration.
26087 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26089 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26090 as unused and give dummy FP_RND_NEAREST initializer.
26091 (__Qp_handle_exceptions): Update declaration.
26092 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26095 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26097 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26098 the temporary FPU control word.
26099 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26100 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26101 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26102 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26103 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26104 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26105 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26106 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26107 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26108 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26109 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26111 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26113 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26116 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26118 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26119 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26120 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26121 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26123 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26124 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26127 2012-05-27 Ulrich Drepper <drepper@gmail.com>
26129 * po/h.po: Update from translation team.
26131 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26133 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26135 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26136 handling of denormals.
26137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26138 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26139 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26140 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26141 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26143 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26146 2012-05-26 Marek Polacek <polacek@redhat.com>
26149 * math/libm-test.inc (fma_test): Don't always expect underflow
26152 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26155 * elf/tst-execstack.c: Include stackinfo.h.
26156 (do_test): Adjust test case to ensure that pthread_getattr_np
26157 behaviour remains the same after marking stack executable.
26159 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26161 * sysdeps/unix/sysv/linux/kernel-features.h
26162 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26163 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26165 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26166 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26167 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26169 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26170 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26172 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26174 * configure.in: Define the default includes to being none.
26175 * configure: Regenerated.
26177 2012-05-25 Roland McGrath <roland@hack.frob.com>
26179 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26180 * sysdeps/x86_64/setjmp.S: Likewise.
26181 * sysdeps/i386/bsd-setjmp.S: Likewise.
26182 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26183 * sysdeps/i386/setjmp.S: Likewise.
26184 * sysdeps/i386/__longjmp.S: Likewise.
26185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26186 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26188 * include/stap-probe.h: New file.
26189 * configure.in: Handle --enable-systemtap.
26190 * configure: Regenerated.
26191 * config.h.in (USE_STAP_PROBE): New #undef.
26192 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26193 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26194 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26196 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26199 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26200 to 2.4.0 where earlier.
26201 * sysdeps/unix/sysv/linux/configure: Regenerated.
26202 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26203 <kernel-features.h>.
26204 [__ASSUME_32BITUIDS]: Make code unconditional.
26205 [!__ASSUME_32BITUIDS]: Remove conditional code.
26206 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26207 <kernel-features.h>.
26208 [__ASSUME_32BITUIDS]: Make code unconditional.
26209 [!__ASSUME_32BITUIDS]: Remove conditional code.
26210 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26211 [__ASSUME_32BITUIDS]: Make code unconditional.
26212 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26213 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26214 <kernel-features.h>.
26215 [__ASSUME_32BITUIDS]: Make code unconditional.
26216 [!__ASSUME_32BITUIDS]: Remove conditional code.
26217 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26218 <kernel-features.h>.
26219 [__ASSUME_32BITUIDS]: Make code unconditional.
26220 [!__ASSUME_32BITUIDS]: Remove conditional code.
26221 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26222 <kernel-features.h>.
26223 [__ASSUME_32BITUIDS]: Make code unconditional.
26224 [!__ASSUME_32BITUIDS]: Remove conditional code.
26225 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26226 <kernel-features.h>.
26227 [__ASSUME_32BITUIDS]: Make code unconditional.
26228 [!__ASSUME_32BITUIDS]: Remove conditional code.
26229 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26230 <kernel-features.h>.
26231 [__ASSUME_32BITUIDS]: Make code unconditional.
26232 [!__ASSUME_32BITUIDS]: Remove conditional code.
26233 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26234 <kernel-features.h>.
26235 [__ASSUME_32BITUIDS]: Make code unconditional.
26236 [!__ASSUME_32BITUIDS]: Remove conditional code.
26237 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26238 <kernel-features.h>.
26239 [__ASSUME_32BITUIDS]: Make code unconditional.
26240 [!__ASSUME_32BITUIDS]: Remove conditional code.
26241 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26242 <kernel-features.h>.
26243 [__ASSUME_32BITUIDS]: Make code unconditional.
26244 [!__ASSUME_32BITUIDS]: Remove conditional code.
26245 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26246 <kernel-features.h>.
26247 [__ASSUME_32BITUIDS]: Make code unconditional.
26248 [!__ASSUME_32BITUIDS]: Remove conditional code.
26249 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26250 <kernel-features.h>.
26251 [__ASSUME_32BITUIDS]: Make code unconditional.
26252 [!__ASSUME_32BITUIDS]: Remove conditional code.
26253 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26254 <kernel-features.h>.
26255 [__NR_setresgid] (__setresgid): Do not declare.
26256 [__ASSUME_32BITUIDS]: Make code unconditional.
26257 [!__ASSUME_32BITUIDS]: Remove conditional code.
26258 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26259 <kernel-features.h>.
26260 [__NR_setresuid] (__setresuid): Do not declare.
26261 [__ASSUME_32BITUIDS]: Make code unconditional.
26262 [!__ASSUME_32BITUIDS]: Remove conditional code.
26263 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26264 <kernel-features.h>.
26265 [__ASSUME_32BITUIDS]: Make code unconditional.
26266 [!__ASSUME_32BITUIDS]: Remove conditional code.
26267 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26268 <kernel-features.h>.
26269 [__ASSUME_32BITUIDS]: Make code unconditional.
26270 [!__ASSUME_32BITUIDS]: Remove conditional code.
26271 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26272 <kernel-features.h>.
26273 [__ASSUME_32BITUIDS]: Make code unconditional.
26274 [!__ASSUME_32BITUIDS]: Remove conditional code.
26275 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26276 <kernel-features.h>.
26277 [__ASSUME_32BITUIDS]: Make code unconditional.
26278 [!__ASSUME_32BITUIDS]: Remove conditional code.
26279 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26280 <kernel-features.h>.
26281 [__ASSUME_32BITUIDS]: Make code unconditional.
26282 [!__ASSUME_32BITUIDS]: Remove conditional code.
26283 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26284 <kernel-features.h>.
26285 [__ASSUME_32BITUIDS]: Make code unconditional.
26286 [!__ASSUME_32BITUIDS]: Remove conditional code.
26287 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26288 <kernel-features.h>.
26289 [__ASSUME_32BITUIDS]: Make code unconditional.
26290 [!__ASSUME_32BITUIDS]: Remove conditional code.
26291 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26292 <kernel-features.h>.
26293 [__ASSUME_32BITUIDS]: Make code unconditional.
26294 [!__ASSUME_32BITUIDS]: Remove conditional code.
26295 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26296 <kernel-features.h>.
26297 [__ASSUME_32BITUIDS]: Make code unconditional.
26298 [!__ASSUME_32BITUIDS]: Remove conditional code.
26299 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26300 <kernel-features.h>.
26301 [__ASSUME_32BITUIDS]: Make code unconditional.
26302 [!__ASSUME_32BITUIDS]: Remove conditional code.
26303 * sysdeps/unix/sysv/linux/kernel-features.h
26304 (__ASSUME_SETRESUID_SYSCALL): Remove.
26305 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26306 (__ASSUME_32BITUIDS): Likewise.
26307 (__ASSUME_LDT_WORKS): Likewise.
26308 (__ASSUME_O_DIRECTORY): Likewise.
26309 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26310 architecture but not kernel version.
26311 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26312 (__ASSUME_MMAP2_SYSCALL): Likewise.
26313 (__ASSUME_STAT64_SYSCALL): Likewise.
26314 (__ASSUME_IPC64): Likewise.
26315 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26316 <kernel-features.h>.
26317 [__ASSUME_32BITUIDS]: Make code unconditional.
26318 [!__ASSUME_32BITUIDS]: Remove conditional code.
26319 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26320 <kernel-features.h>.
26321 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26322 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26323 132096]: Remove conditional code.
26324 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26325 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26326 <kernel-features.h>.
26327 [__ASSUME_32BITUIDS]: Make code unconditional.
26328 [!__ASSUME_32BITUIDS]: Remove conditional code.
26329 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26330 <kernel-features.h>.
26331 [__ASSUME_32BITUIDS]: Make code unconditional.
26332 [!__ASSUME_32BITUIDS]: Remove conditional code.
26333 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26334 <kernel-features.h>.
26335 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26337 (__setresgid): Do not declare.
26338 [__ASSUME_32BITUIDS]: Make code unconditional.
26339 [!__ASSUME_32BITUIDS]: Remove conditional code.
26340 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26341 <kernel-features.h>.
26342 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26344 (__setresuid): Do not declare.
26345 [__ASSUME_32BITUIDS]: Make code unconditional.
26346 [!__ASSUME_32BITUIDS]: Remove conditional code.
26347 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26348 <kernel-features.h>.
26349 [__ASSUME_32BITUIDS]: Make code unconditional.
26350 [!__ASSUME_32BITUIDS]: Remove conditional code.
26351 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26352 <kernel-features.h>.
26353 [__ASSUME_32BITUIDS]: Make code unconditional.
26354 [!__ASSUME_32BITUIDS]: Remove conditional code.
26356 2012-05-25 Richard Henderson <rth@twiddle.net>
26358 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26359 dl_hwcap to ifunc resolver.
26360 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26362 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26363 dl_hwcap to ifunc resolver.
26364 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26366 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26369 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26370 for |x| <= 2**-26, not 2**-57.
26371 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26374 2012-05-24 Jeff Law <law@redhat.com>
26376 * stdio-common/Makefile (tests): Add bug25.
26377 * stdio-common/bug25.c: New test.
26379 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26382 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26383 multiple of MALLOC_ALIGNMENT in size.
26384 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26386 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26388 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26390 (FILENAME_MAX): Use macro-int-constant.
26391 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26392 (_IOFBF): Use macro-int-constant.
26393 (_IOLBF): Likewise.
26394 (_IONBF): Likewise.
26395 (SEEK_CUR): Likewise.
26396 (SEEK_END): Likewise.
26397 (SEEK_SET): Likewise.
26398 (TMP_MAX): Likewise.
26399 (EOF): Use macro-int-constant. Require < 0.
26400 (NULL): Use macro-constant. Require == 0.
26401 (stdin): Require type to be FILE *.
26402 (stdout): Likewise.
26403 (stderr): Likewise.
26404 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26405 macro-int-constant.
26406 (EXIT_SUCCESS): Likewise.
26407 (NULL): Use macro-constant. Require == 0.
26408 (RAND_MAX): Use macro-int-constant.
26409 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26410 [C99-based standards] (strtof): Require function.
26411 [C99-based standards] (strtold): Likewise.
26412 [C99-based standards] (strtoll): Likewise.
26413 [C99-based standards] (strtoull): Likewise.
26414 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26415 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26416 [ISO || ISO99 || ISO11] (math.h): Likewise.
26417 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26418 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26421 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26424 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26425 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26426 * intl/dgettext.c (DCGETTEXT): Likewise.
26427 * intl/gettext.c (DCGETTEXT): Likewise.
26428 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26429 * posix/regex_internal.h (gettext): Likewise.
26430 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26431 Remove declaration.
26432 * include/argz.h (__argz_count_internal)
26433 (__argz_stringify_internal): Remove declaration.
26434 (__argz_count, __argz_stringify): Declare hidden proto.
26435 * intl/dcgettext.c: Remove use of INTDEF.
26436 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26437 * string/argz-stringify.c: Likewise.
26438 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26439 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26440 Declare hidden proto.
26441 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26442 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26443 Declare hidden proto.
26444 * include/stdio.h (__asprintf_internal): Don't declare.
26445 (__asprintf): Don't define as macro. Declare hidden proto.
26446 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26447 (__fsetlocking): Declare hidden proto.
26448 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26449 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26451 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26452 (_IO_setlinebuf): Remove use of INTUSE.
26453 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26454 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26455 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26456 Remove declaration.
26457 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26458 (_IO_do_flush): Remove use of INTUSE.
26459 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26460 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26461 (_IO_adjust_column, _IO_least_wmarker)
26462 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26463 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26464 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26465 (_IO_default_doallocate, _IO_wdefault_doallocate)
26466 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26467 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26468 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26469 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26470 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26471 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26472 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26473 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26474 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26475 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26476 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26477 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26478 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26480 (_IO_flush_all_internal, _IO_adjust_column_internal)
26481 (_IO_default_uflow_internal, _IO_default_finish_internal)
26482 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26483 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26484 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26485 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26486 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26487 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26488 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26489 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26490 (_IO_file_close_internal, _IO_file_close_it_internal)
26491 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26492 (_IO_file_init_internal, _IO_file_attach_internal)
26493 (_IO_file_fopen_internal, _IO_file_read_internal)
26494 (_IO_file_sync_internal, _IO_file_seek_internal)
26495 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26496 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26497 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26498 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26499 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26500 (_IO_list_all_internal, _IO_link_in_internal)
26501 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26502 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26503 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26504 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26505 (_IO_do_write_internal, _IO_padn_internal)
26506 (_IO_getline_info_internal, _IO_getline_internal)
26507 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26508 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26509 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26510 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26511 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26512 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26513 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26514 with libc_hidden_ver, remove use of INTUSE.
26515 * libio/genops.c: Likewise.
26516 * libio/freopen.c: Likewise.
26517 * libio/freopen64.c: Likewise.
26518 * libio/iofclose.c: Likewise.
26519 * libio/iofdopen.c: Likewise.
26520 * libio/iofflush.c: Likewise.
26521 * libio/iofflush_u.c: Likewise.
26522 * libio/iofgets.c: Likewise.
26523 * libio/iofgets_u.c: Likewise.
26524 * libio/iofopen.c: Likewise.
26525 * libio/iofopncook.c: Likewise.
26526 * libio/iofread.c: Likewise.
26527 * libio/iofread_u.c: Likewise.
26528 * libio/ioftell.c: Likewise.
26529 * libio/iofwrite.c: Likewise.
26530 * libio/iogetline.c: Likewise.
26531 * libio/iogets.c: Likewise.
26532 * libio/iogetwline.c: Likewise.
26533 * libio/iopadn.c: Likewise.
26534 * libio/iopopen.c: Likewise.
26535 * libio/ioseekoff.c: Likewise.
26536 * libio/ioseekpos.c: Likewise.
26537 * libio/iosetbuffer.c: Likewise.
26538 * libio/iosetvbuf.c: Likewise.
26539 * libio/ioungetc.c: Likewise.
26540 * libio/ioungetwc.c: Likewise.
26541 * libio/iovdprintf.c: Likewise.
26542 * libio/iovsprintf.c: Likewise.
26543 * libio/iovsscanf.c: Likewise.
26544 * libio/memstream.c: Likewise.
26545 * libio/obprintf.c: Likewise.
26546 * libio/oldfileops.c: Likewise.
26547 * libio/oldiofclose.c: Likewise.
26548 * libio/oldiofdopen.c: Likewise.
26549 * libio/oldiofopen.c: Likewise.
26550 * libio/oldiopopen.c: Likewise.
26551 * libio/oldstdfiles.c: Likewise.
26552 * libio/putc.c: Likewise.
26553 * libio/setbuf.c: Likewise.
26554 * libio/setlinebuf.c: Likewise.
26555 * libio/stdfiles.c: Likewise.
26556 * libio/strops.c: Likewise.
26557 * libio/vasprintf.c: Likewise.
26558 * libio/vscanf.c: Likewise.
26559 * libio/vsnprintf.c: Likewise.
26560 * libio/vswprintf.c: Likewise.
26561 * libio/wfiledoalloc.c: Likewise.
26562 * libio/wfileops.c: Likewise.
26563 * libio/wgenops.c: Likewise.
26564 * libio/wmemstream.c: Likewise.
26565 * libio/wstrops.c: Likewise.
26566 * libio/__fpurge.c: Likewise.
26567 * libio/__fsetlocking.c: Likewise.
26568 * assert/assert.c: Likewise.
26569 * debug/fgets_chk.c: Likewise.
26570 * debug/fgets_u_chk.c: Likewise.
26571 * debug/fread_chk.c: Likewise.
26572 * debug/fread_u_chk.c: Likewise.
26573 * debug/gets_chk.c: Likewise.
26574 * debug/obprintf_chk.c: Likewise.
26575 * debug/vasprintf_chk.c: Likewise.
26576 * debug/vdprintf_chk.c: Likewise.
26577 * debug/vsnprintf_chk.c: Likewise.
26578 * debug/vsprintf_chk.c: Likewise.
26579 * malloc/mtrace.c: Likewise.
26580 * misc/error.c: Likewise.
26581 * misc/syslog.c: Likewise.
26582 * stdio-common/asprintf.c: Likewise.
26583 * stdio-common/fxprintf.c: Likewise.
26584 * stdio-common/getw.c: Likewise.
26585 * stdio-common/isoc99_fscanf.c: Likewise.
26586 * stdio-common/isoc99_scanf.c: Likewise.
26587 * stdio-common/isoc99_vfscanf.c: Likewise.
26588 * stdio-common/isoc99_vscanf.c: Likewise.
26589 * stdio-common/isoc99_vsscanf.c: Likewise.
26590 * stdio-common/printf-prs.c: Likewise.
26591 * stdio-common/printf_fp.c: Likewise.
26592 * stdio-common/printf_fphex.c: Likewise.
26593 * stdio-common/printf_size.c: Likewise.
26594 * stdio-common/putw.c: Likewise.
26595 * stdio-common/scanf.c: Likewise.
26596 * stdio-common/sprintf.c: Likewise.
26597 * stdio-common/tmpfile.c: Likewise.
26598 * stdio-common/vfprintf.c: Likewise.
26599 * stdio-common/vfscanf.c: Likewise.
26600 * stdlib/strfmon_l.c: Likewise.
26601 * sunrpc/openchild.c: Likewise.
26602 * sunrpc/xdr_stdio.c: Likewise.
26603 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26604 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26606 2012-05-24 Roland McGrath <roland@hack.frob.com>
26608 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26610 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26611 in the third column, to generate for the shared library an IFUNC
26612 that uses _dl_vdso_vsym.
26613 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26614 * Makeconfig (object-suffixes-noshared): New variable.
26616 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26617 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26618 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26619 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26622 * include/sys/time.h (__gettimeofday): Remove macro.
26623 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26624 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26626 (__gettimeofday): Add libc_hidden_def.
26627 (gettimeofday): Add libc_hidden_weak.
26628 * sysdeps/mach/gettimeofday.c: Likewise.
26629 * sysdeps/posix/gettimeofday.c: Likewise.
26630 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26631 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26632 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26633 (__gettimeofday_internal): Remove strong_alias.
26634 (__gettimeofday): Add libc_hidden_def.
26635 (gettimeofday): Add libc_hidden_weak.
26636 * sysdeps/unix/syscalls.list (gettimeofday):
26637 Remove __gettimeofday_internal alias.
26639 2012-05-24 Daniel Jacobowitz <drow@false.org>
26640 H.J. Lu <hongjiu.lu@intel.com>
26643 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26644 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26645 (largebin_index_32_big): New.
26646 (largebin_index): Use it for 16-byte alignment.
26647 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26648 correction with front_misalign.
26650 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26678 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26679 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26681 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26685 * math/libm-test.inc (exp_test): Add test from bug 14036.
26686 (pow_test): Add test from bug 10846.
26688 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26690 (special_function): Do not include flags in test name.
26691 (parse_args): Likewise.
26692 * sysdeps/i386/fpu/libm-test-ulps: Update.
26693 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26694 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26695 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26698 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26700 * math/libm-test.inc ("Philosophy"): Update comment about
26702 (UNDERFLOW_EXCEPTION): New macro.
26703 (UNDERFLOW_EXCEPTION_OK): Likewise.
26704 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26705 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26706 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26707 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26708 (INVALID_EXCEPTION_OK): Update value.
26709 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26710 (OVERFLOW_EXCEPTION_OK): Likewise.
26711 (IGNORE_ZERO_INF_SIGN): Likewise.
26712 (test_exceptions): Handle underflow exceptions.
26713 (acos_test): Update for underflow exception expectations.
26714 (cexp_test): Likewise.
26715 (clog_test): Likewise.
26716 (clog10_test): Likewise.
26717 (csqrt_test): Likewise.
26718 (ctan_test): Likewise.
26719 (ctanh_test): Likewise.
26720 (exp_test): Likewise.
26721 (exp10_test): Likewise.
26722 (exp2_test): Likewise.
26723 (expm1_test): Likewise.
26724 (fma_test): Likewise.
26725 (j0_test): Likewise.
26726 (jn_test): Likewise.
26727 (nexttoward_test): Likewise.
26728 (pow_test): Likewise.
26729 (scalbn_test): Likewise.
26730 (scalbln_test): Likewise.
26731 (tan_test): Likewise.
26732 (y1_test): Likewise.
26733 * sysdeps/i386/fpu/libm-test-ulps: Update.
26734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26736 2012-05-23 David S. Miller <davem@davemloft.net>
26738 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26739 (__libc_sigaction): Remove unused local variables.
26741 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26743 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26745 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26747 mktime: avoid signed integer overflow
26748 * time/mktime.c (__mktime_internal): Do not mishandle the case
26749 where diff == INT_MIN.
26751 mktime: simplify computation of average
26752 * time/mktime.c (ranged_convert): Use new time_t_avg function
26753 instead of rolling our own (probably-slower) code.
26755 mktime: do not assume signed right shift propagates sign bit
26756 * time/mktime.c (isdst_differ): New static function.
26757 (__mktime_internal): No need to normalize tm_isdst now.
26758 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26761 mktime: merge another wrapv change from gnulib
26762 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26763 from some compilers.
26765 mktime: remove incorrect attempt at unusual arithmetics
26766 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26767 The code didn't really work on such machines anyway.
26768 (TYPE_MINIMUM): Assume two's complement.
26769 (twos_complement_arithmetic): Verify that long_int and time_t
26770 are two's complement (or unsigned, in the latter case).
26772 mktime: check signed shifts on long_int and time_t, too
26773 * time/mktime.c (SHR): Check that shifts work as desired
26774 on the types long_int and time_t too, as SHR is used on
26777 mktime: do not assume 'long' is wide enough
26778 * time/mktime.c (verify): Move decl up.
26779 (long_int): New type.
26780 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26781 to remove assumption in the code that 'long' is wide enough to
26782 store year values. This assumption is not true on x32 and on
26783 some non-glibc platforms.
26785 mktime: merge wrapv change from gnulib
26786 * time/mktime.c (WRAPV): New macro.
26787 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26788 (guess_time_tm, __mktime_internal): Do not assume that signed
26789 integer overflow wraps around; modern compilers generate code
26790 where this assumption is no longer valid.
26792 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26794 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26795 Replace "jmp L(pseudo_end)" with "ret".
26796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26799 2012-05-23 Andreas Jaeger <aj@suse.de>
26801 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26802 * sysdeps/unix/sysv/linux/poll.c: Remove file.
26804 2012-05-23 Andreas Jaeger <aj@suse.de>
26805 Maximilian Attems <max@stro.at>
26807 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26810 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26812 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26813 code so that pseudo_end is just ret and the stack pointer is
26814 correct also for static library in error case.
26816 2012-05-23 Joseph Myers <joseph@codesourcery.com>
26818 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26819 move to syscalls.list.
26820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26825 * manual/install.texi (Running make install): Do not mention Linux
26826 kernel version for which pt_chown is not needed.
26827 (Linux): Do not mention problems with nscd with 2.0 kernels.
26828 * INSTALL: Regenerated.
26830 2012-05-23 Andreas Jaeger <aj@suse.de>
26832 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26833 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26835 * sysdeps/unix/sysv/linux/s390/bits/mman.h
26836 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26837 * sysdeps/unix/sysv/linux/sh/bits/mman.h
26838 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26839 * sysdeps/unix/sysv/linux/i386/bits/mman.h
26840 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26841 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26842 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26843 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26844 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26845 * sysdeps/unix/sysv/linux/bits/in.h
26846 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26848 2012-05-22 Roland McGrath <roland@hack.frob.com>
26850 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26851 (PREPARE_VERSION): Just use assert instead, it will be elided
26852 under [NDEBUG] anyway.
26854 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26856 * sysdeps/unix/sysv/linux/Makefile: Include
26857 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26858 (sysdep_routines): Remove sysctl.
26859 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26860 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26861 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26862 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26863 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26865 2012-05-22 Andreas Jaeger <aj@suse.de>
26867 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26868 that pseudo_end is just ret and the stack pointer is correct also
26869 for static library in error case.
26871 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
26874 * nss/nsswitch.c (defconfig_entries): New variable.
26875 (__nss_database_lookup): Don't leak defconfig entries.
26876 (nss_parse_service_list): Don't leak on error paths.
26877 (free_database_entries): New function.
26878 (free_defconfig): New function.
26879 (free_mem): Move common code to free_database_entries.
26881 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26883 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26885 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26887 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26888 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26891 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26892 (INTERNAL_SYSCALL_TYPES): Likewise.
26893 (LOAD_ARGS_TYPES_[1-6]): Likewise.
26894 (LOAD_REGS_TYPES_[1-6]): Likewise.
26895 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26896 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26898 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26900 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26901 copysignl for GLIBC_2_0.
26902 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26903 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26904 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26905 logbl for GLIBC_2_0.
26906 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26907 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26909 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26912 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26914 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26917 * time/mktime.c: Update copyright years.
26919 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
26921 mktime: merge comment-quoting-style change from gnulib
26922 * time/mktime.c: Quote 'like this' in comments.
26923 The GNU coding standards suggest that we no longer quote `like this',
26924 as "`" and "'" are typically rendered asymmetrically nowadays.
26925 The typical gnulib style is to quote 'like this' when quoting
26926 code, and "like this" when quoting English.
26928 * time/mktime.c (compile-command): Add "-I.".
26930 mktime: merge mktime-internal.h change from gnulib
26931 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26933 mktime: merge time_r change from gnulib
26934 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26936 mktime: merge DEBUG change from gnulib
26937 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26938 case system <time.h> has a #define.
26940 mktime: merge <sys/types.h> change from gnulib
26941 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26942 since <time.t> is now guaranteed to define time_t.
26944 mktime: merge HAVE_CONFIG_H change from gnulib
26945 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26947 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26952 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26954 (struct rusage): Use anonymous union to pad each field to
26957 2012-05-21 David S. Miller <davem@davemloft.net>
26959 * Makefules (o-iterator): Remove .s cases.
26960 (compile-command.s): Delete.
26961 (COMPILE.s): Delete.
26962 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26964 2012-05-21 Joseph Myers <joseph@codesourcery.com>
26966 * configure.in (libc_cv_predef_stack_protector): Only consider
26967 "foobar" and "__stack_chk_fail" lines in libc_undefs.
26968 * configure: Regenerated.
26970 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
26972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26973 New macro. Use R*LP on int and pointer.
26974 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
26975 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
26976 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
26977 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
26979 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
26980 [__WORDSIZE_TIME64_COMPAT32] instead of
26981 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
26982 (struct utmp): Likewise.
26983 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
26984 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
26986 (__WORDSIZE_TIME64_COMPAT32): This.
26987 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
26988 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
26989 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
26990 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
26991 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
26992 (__WORDSIZE_TIME64_COMPAT32): New macro.
26994 2012-05-21 Andreas Jaeger <aj@suse.de>
26996 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
26997 only if [SHARED]. Add prototype for __wcschr_ia32.
26999 2012-05-21 Roland McGrath <roland@hack.frob.com>
27001 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27002 of %rbp unmolested in the jmp_buf while mangling the low bits.
27003 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27004 unmolested high bits of %rbp while demangling the low bits.
27005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27007 2012-05-21 Andreas Jaeger <aj@suse.de>
27009 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27010 * sunrpc/svc_simple.c: Use it for registerrpc.
27011 * sunrpc/xcrypt.c: Use it for passwd2des.
27013 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27015 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27017 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27018 Don't define if [__SYSCALL_WORDSIZE != 32].
27019 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27022 2012-05-21 Bruno Haible <bruno@clisp.org>
27023 Andreas Jaeger <aj@suse.de>
27025 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27026 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27027 inptr and inend for must_buffer_ch.
27028 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27029 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27030 * stdio-common/Makefile (tests): Remove bug15.
27031 (bug15-ENV): Remove macro.
27032 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27035 2012-05-19 Andreas Jaeger <aj@suse.de>
27036 Roland McGrath <roland@hack.frob.com>
27038 * manual/contrib.texi: Completely rewritten. It contains now an
27039 alphabetical list of contributors and their contributions.
27041 2012-05-21 Richard Henderson <rth@twiddle.net>
27043 * misc/getauxval.c (__getauxval): Use unsigned long int.
27044 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27045 (getauxval): Use unsigned long int.
27047 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27049 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27051 2012-05-21 Roland McGrath <roland@hack.frob.com>
27053 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27054 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27055 __alignof__ (long double).
27057 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27061 2012-05-20 Richard Henderson <rth@twiddle.net>
27063 * misc/getauxval.c: New file.
27064 * misc/sys/auxv.h: New file.
27065 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27066 (routines): Add getauxval.
27067 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27068 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27069 * elf/dl-sysdep.c (_dl_auxv): Remove.
27070 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27071 * elf/dl-support.c (_dl_auxv): New variable.
27072 (_dl_aux_init): Initialize it.
27073 * manual/startup.texi (Auxiliary Vector): New node.
27074 * sysdeps/generic/bits/hwcap.h: New file.
27075 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27076 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27077 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27078 * sysdeps/sparc/sysdep.h: ... here. Include it.
27079 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27080 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27092 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27096 2012-05-19 David S. Miller <davem@davemloft.net>
27098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27100 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27103 * math/s_ccosh.c: Include <float.h>
27104 (__ccosh): Avoid internal overflow calculating sinh and cosh
27105 values before multiplying by sin and cos values.
27106 * math/s_ccoshf.c: Likewise.
27107 * math/s_ccoshl.c: Likewise.
27108 * math/s_csin.c: Likewise.
27109 * math/s_csinf.c: Likewise.
27110 * math/s_csinl.c: Likewise.
27111 * math/s_csinh.c: Likewise.
27112 * math/s_csinhf.c: Likewise.
27113 * math/s_csinhl.c: Likewise.
27114 * math/libm-test.inc (ccos_test): Add more tests.
27115 (ccosh_test): Likewise.
27116 (csin_test): Likewise.
27117 (csinh_test): Likewise.
27118 * sysdeps/i386/fpu/libm-test-ulps: Update.
27119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27121 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27123 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27124 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27126 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27128 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27130 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27131 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27132 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27133 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27134 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27135 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27136 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27137 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27138 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27139 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27140 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27141 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27142 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27143 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27144 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27145 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27146 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27147 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27148 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27149 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27150 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27151 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27152 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27153 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27154 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27155 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27156 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27157 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27158 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27159 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27160 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27162 2012-05-18 Andreas Jaeger <aj@suse.de>
27164 * csu/.gitignore: Delete.
27166 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27168 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27169 (timex): Use __syscall_slong_t.
27171 2012-05-18 Andreas Jaeger <aj@suse.de>
27172 Carlos O'Donell <carlos_odonell@mentor.com>
27174 * manual/install.texi (Configuring and compiling): Update
27175 description about files modified in the source directory.
27176 * INSTALL: Regenerated.
27178 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27180 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27181 value. Use "or" to set return value to -1.
27182 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27183 negate return value.
27185 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27187 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27188 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27189 failure if the compiler has Graphite support disabled.
27190 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27192 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27193 CFLAGS-memmove.c): Likewise.
27194 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27197 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27199 * sysdeps/x86_64/x32/_itoa.h: New file.
27201 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27202 getdents system call only if kernel and user dirents have the
27203 same d_ino and d_off.
27205 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27206 LLONG_MAX != LONG_MAX.
27207 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27208 (_fitoa_word): Likewise.
27210 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27212 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27213 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27214 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27216 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27217 include <bits/wordsize.h>. Check __x86_64__ instead of
27219 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27220 if __x86_64__ is defined. Use anonymous union on fpstate.
27222 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27225 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27227 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27228 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27229 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27230 Refer to _rtld_local_ro instead of _rtld_global_ro.
27231 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27233 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27235 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27237 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27238 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27239 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27241 * sysdeps/powerpc/powerpc32/dl-machine.c
27242 (__elf_machine_runtime_setup) [PROF]: Don't reference
27245 2012-05-18 Andreas Jaeger <aj@suse.de>
27247 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27248 function only available for GCCs before 3.4 since GCC 3.4
27249 introduced a builtin.
27251 (llrintf): Likewise.
27252 (llrint): Likewise.
27259 (nearbyint): Likewise.
27260 (nearbyintf): Likewise.
27264 (floorf): Likewise.
27266 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27268 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27269 on both fields and cast pointer to __syscall_ulong_t.
27271 * bits/types.h (__fsword_t): New type.
27272 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27273 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27275 (__FSWORD_T_TYPE): Likewise.
27276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27277 (__FSWORD_T_TYPE): Likewise.
27278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27279 (__FSWORD_T_TYPE): Likewise.
27280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27281 (__FSWORD_T_TYPE): Likewise.
27282 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27283 __SWORD_TYPE with __fsword_t.
27284 (statfs64): Likewise.
27286 2012-05-17 David S. Miller <davem@davemloft.net>
27288 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27290 2012-05-17 Andreas Jaeger <aj@suse.de>
27292 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27295 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27297 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27299 2012-05-17 Andreas Jaeger <aj@suse.de>
27301 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27304 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27306 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27308 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27310 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27311 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27313 2012-05-17 Andreas Jaeger <aj@suse.de>
27314 Carlos O'Donell <carlos_odonell@mentor.com>
27317 * sysdeps/x86_64/multiarch/init-arch.h
27318 (bit_YMM_Usable): Rename to...
27319 (bit_AVX_Usable): ... this.
27320 (bit_FMA4_Usable): New macro.
27321 (bit_XMM_state): New macro.
27322 (bit_YMM_state): New macro.
27323 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27324 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27325 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27326 (CPUID_OSXSAVE): New macro.
27327 (CPUID_AVX): New macro.
27328 (CPUID_FMA4): New macro.
27329 (index_YMM_Usable): Rename to...
27330 (index_AVX_Usable): ... this.
27331 (HAS_AVX): Use HAS_ARCH_FEATURE.
27332 (HAS_FMA4): Likewise.
27333 (HAS_YMM_USABLE): Remove.
27334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27335 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27337 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27338 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27339 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27340 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27341 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27343 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27345 * math/libm-test.c: Support platforms without multiple rounding modes.
27346 * math/bug-nextafter.c: Support platforms without FP exceptions.
27347 * math/bug-nexttoward.c: Likewise.
27348 * math/test-fenv.c: Likewise.
27349 * math/test-misc.c: Likewise.
27350 * stdlib/bug-getcontext.c: Likewise.
27352 2012-05-17 Andreas Jaeger <aj@suse.de>
27354 * manual/examples/search.c (critter_cmp): Change signature to
27356 * manual/string.texi (Collation Functions): Likewise.
27358 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27360 * bits/types.h: Fold copyright years.
27361 * bits/typesizes.h: Likewise.
27362 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27366 * time/time.h: Likewise.
27368 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27371 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27372 in instead of returning them. Return void.
27373 (__libc_mallinfo): Accumulate over all arenas.
27374 (__malloc_stats): Adjust for change in int_mallinfo interface.
27376 2012-05-16 Roland McGrath <roland@hack.frob.com>
27379 * configure.in (NM): Add AC_CHECK_TOOL for it.
27380 (libc_extra_cflags): New substituted variable.
27381 Check for -fstack-protector being used implicitly.
27382 * configure: Regenerated.
27383 * config.make.in (config-extra-cflags): New variable,
27384 gets @libc_extra_cflags@.
27385 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27388 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27389 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27390 * configure: Regenerated.
27391 * config.make.in (CPPUNDEFS): New substituted variable.
27392 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27393 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27394 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27396 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27398 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27399 (mq_attr): Use __syscall_slong_t.
27401 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27403 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27404 Check __x86_64__ instead of __WORDSIZE.
27405 (_STAT_VER_LINUX): Likewise.
27406 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27407 __syscall_ulong_t and __syscall_slong_t.
27408 (stat64): Likewise.
27410 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27412 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27414 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27416 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27418 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27420 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27423 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27424 include <bits/wordsize.h>. Check __x86_64__ instead of
27426 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27428 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27430 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27431 include <bits/wordsize.h>. Check __x86_64__ instead of
27433 (user_regs_struct): Use "__extension__ unsigned long long"
27434 instead of "unsigned long" if __x86_64__ is defined.
27435 (user): Likewise. Pad after pointer field if __ILP32__ is
27438 2012-05-16 Joseph Myers <joseph@codesourcery.com>
27440 * configure.in (makeinfo): Require version 4.5 or later. Allow
27442 * configure: Regenerated.
27443 * manual/install.texi (texinfo): Increase version requirement to
27445 * INSTALL: Regenerated.
27447 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27449 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27451 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27453 * sysdeps/x86_64/x32/ffs.c: New file.
27455 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27457 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27458 defined. Use __syscall_ulong_t.
27459 (shminfo): Use __syscall_ulong_t.
27460 (shm_info): Likewise.
27462 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27465 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27467 (msgqnum_t): Use __syscall_ulong_t.
27468 (msglen_t): Likewise.
27469 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27472 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27473 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27475 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27477 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27478 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27480 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27483 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27484 include <bits/wordsize.h>. Check __x86_64__ instead of
27487 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27488 "unsigned long long int" if __x86_64__ is defined.
27489 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27491 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27492 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27493 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27495 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27497 (GET_PC): Cast to uintptr_t first.
27498 (GET_FRAME): Likewise.
27499 (GET_STACK): Likewise.
27501 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27502 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27503 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27504 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27505 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27506 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27507 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27508 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27509 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27510 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27511 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27512 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27513 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27514 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27515 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27516 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27517 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27518 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27519 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27520 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27522 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27523 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27524 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27525 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27526 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27527 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27528 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27529 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27531 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27533 * Makerules (+depfiles): Also collect depfiles from .oS in
27535 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27536 .oS, $(libnldbl-routines)).
27538 * Makerules (native-compile-mkdep-flags): Define.
27539 * sunrpc/Makefile (extra-objs): Add $(addprefix
27540 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27541 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27542 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27543 calling $(make-target-directory).
27545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27547 * bits/types.h (__snseconds_t): Removed.
27548 * time/time.h (struct timespec): Replace __snseconds_t with
27550 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27551 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27554 (__SNSECONDS_T_TYPE): Likewise.
27555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27556 (__SNSECONDS_T_TYPE): Likewise.
27557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27558 (__SNSECONDS_T_TYPE): Likewise.
27560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27562 * sysdeps/mach/hurd/bits/typesizes.h
27563 (__SYSCALL_SLONG_TYPE): New macro.
27564 (__SYSCALL_ULONG_TYPE): Likewise.
27566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27568 * bits/types.h (__syscall_slong_t): New type.
27569 (__syscall_ulong_t): Likewise.
27571 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27572 (__SYSCALL_ULONG_TYPE): Likewise.
27573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27574 (__SYSCALL_SLONG_TYPE): Likewise.
27575 (__SYSCALL_ULONG_TYPE): Likewise.
27576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27577 (__SYSCALL_SLONG_TYPE): Likewise.
27578 (__SYSCALL_ULONG_TYPE): Likewise.
27579 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27580 (__SYSCALL_SLONG_TYPE): Likewise.
27581 (__SYSCALL_ULONG_TYPE): Likewise.
27583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27585 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27586 Add sigaltstack-offsets.sym.
27587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27588 <sigaltstack-offsets.h>.
27589 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27590 longjmp_msg pointer.
27591 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27592 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27594 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27596 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27598 * elf/stackguard-macros.h: Remove file.
27599 * sysdeps/generic/stackguard-macros.h: New file.
27600 * sysdeps/i386/stackguard-macros.h: Likewise.
27601 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27602 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27603 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27604 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27605 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27606 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27607 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27608 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27609 <elf/stackguard-macros.h>.
27612 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27613 __aligned__ in attribute.
27614 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27615 (gregset_t): Likewise.
27617 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27619 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27620 * sysdeps/x86_64/64/Implies-after: Here. New file.
27621 * sysdeps/x86_64/x32/Implies-after: New file.
27623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27625 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27626 and access return value for _dl_profile_fixup. Use R10_LP to
27629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27631 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27635 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27636 * sysdeps/x86_64/x32/sysdep.h: New file.
27638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27640 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27641 * sysdeps/x86_64/setjmp.S: Likewise.
27643 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27645 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27647 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27648 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27649 remove unused global constant.
27651 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27653 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27654 include of <not-cancel.h>.
27656 2012-05-15 Roland McGrath <roland@hack.frob.com>
27658 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27660 2012-05-15 Jeff Law <law@redhat.com>
27661 Andreas Jaeger <aj@suse.de>
27664 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27666 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27667 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27668 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27669 code changing __hst_map_handle.map.
27671 2012-05-15 Roland McGrath <roland@hack.frob.com>
27673 * configure.in (sysnames): Look for Implies-before and Implies-after
27675 * configure: Regenerated.
27677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27679 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27680 8-byte data alignment with LP_SIZE alignment.
27682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27684 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27689 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27693 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27694 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27695 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27697 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27701 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27702 (stackinfo_sub_sp): Likewise.
27704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27711 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27716 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27721 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27725 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27726 into R11_LP and load __x86_64_shared_cache_size_half into
27729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27731 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27734 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27738 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27740 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27742 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27743 powerpc32/power7/fpu/s_logb.c via #include.
27744 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27745 powerpc32/power7/fpu/s_logbf.c via #include.
27746 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27747 powerpc32/power7/fpu/s_logbl.c via #include.
27749 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27751 * README.libm: Remove file.
27753 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27755 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27756 count for x32. Use R*_LP and omit operand-size suffix.
27758 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27760 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27761 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27762 * sysdeps/x86_64/x32/shlib-versions: New file.
27764 2012-05-14 Roland McGrath <roland@hack.frob.com>
27766 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27767 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27768 Use _dl_fatal_printf instead.
27770 2012-05-14 Joseph Myers <joseph@codesourcery.com>
27772 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27773 set if not set by the user. Do not allow for being unset.
27774 * sysdeps/unix/sysv/linux/configure: Regenerated.
27776 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27778 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27779 the `q' suffix from lea and replace .quad with ASM_ADDR.
27781 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27783 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27784 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
27786 (PTR_DEMANGLE): Likewise.
27788 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27790 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27792 (ASM_ADDR): Likewise.
27793 (RAX_LP): Likewise.
27794 (RBP_LP): Likewise.
27795 (RBX_LP): Likewise.
27796 (RCX_LP): Likewise.
27797 (RDI_LP): Likewise.
27798 (RSI_LP): Likewise.
27799 (RSP_LP): Likewise.
27802 (R10_LP): Likewise.
27803 (R10_LP): Likewise.
27804 (R11_LP): Likewise.
27805 (R12_LP): Likewise.
27806 (R13_LP): Likewise.
27807 (R14_LP): Likewise.
27808 (R15_LP): Likewise.
27810 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27812 * sysdeps/x86_64/x32/dl-machine.h: New file.
27814 2012-05-14 Andreas Jaeger <aj@suse.de>
27816 * manual/Makefile (subdir): Remove export of subdir.
27817 (all): Remove target.
27818 (.PHONY): Remove all from list.
27819 (mkinstalldirs): Remove.
27820 (.PHONY): Remove installdirs from list.
27821 ($(inst_infodir)/libc.info): Use make-target-directory.
27822 (installdirs): Remove.
27823 (subdir_%): Remove.
27824 (glibc-targets): Remove.
27827 ($(objpfx)stubs ../po/manual.pot): Remove.
27828 ($(objpfx)stamp%): Remove.
27829 (make-target-directory): Remove.
27830 (subdir_install): Remove.
27831 (routines): Remove.
27838 * manual/.gitignore: Remove, it's not needed anymore.
27839 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27841 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27843 (texis): Renamed to $(objpfx)texis.
27844 (texis-path): New, contains path to generated files.
27845 (chapters.%): Use texis-path for complete path, add extra argument
27847 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27848 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27849 (summary,texi, stamp-summary): Use complete path of
27850 files. Generate files in build dir.
27851 (dir-add.texi): Build in build dir.
27852 (libm-err.texi,stamp-libm-err): Likewise.
27853 (version.texi, stamp-version): Likewise.
27854 (.%c.texi): Likewise.
27855 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27856 (mostlyclean): Remove target.
27857 (realclean): Remove target.
27858 (generated): Add new variable with contents from mostlyclean and
27859 realclean, remove entries duplicated in common-mostlyclean, add
27860 stamp-libm-err and stamp-version.
27861 (generated-dirs): Add libc directory.
27862 ($(inst_infodir)/libc.info): Install files from build dir.
27864 * manual/install.texi (Configuring and compiling): Adjust since
27865 the info files are not part of the tar ball anymore.
27867 2012-05-14 Andreas Jaeger <aj@suse.de>
27869 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27872 2012-05-14 Joseph Myers <joseph@codesourcery.com>
27875 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27876 to 2.2.0 where earlier.
27877 * sysdeps/unix/sysv/linux/configure: Regenerated.
27878 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27879 Remove conditional code.
27880 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27881 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27882 Remove conditional code.
27883 [!__NR_lchown]: Likewise.
27884 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27885 [__NR_lchown]: Likewise.
27886 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27887 comment referencing __ASSUME_LCHOWN_SYSCALL.
27888 * sysdeps/unix/sysv/linux/i386/sigaction.c
27889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27891 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27892 Remove conditional code.
27893 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27894 (__protocol_available): Remove #if 0 code.
27895 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27897 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27898 * sysdeps/unix/sysv/linux/kernel-features.h
27899 (__ASSUME_GETCWD_SYSCALL): Don't define.
27900 (__ASSUME_REALTIME_SIGNALS): Likewise.
27901 (__ASSUME_PREAD_SYSCALL): Likewise.
27902 (__ASSUME_PWRITE_SYSCALL): Likewise.
27903 (__ASSUME_POLL_SYSCALL): Likewise.
27904 (__ASSUME_LCHOWN_SYSCALL): Likewise.
27905 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27907 (__ASSUME_SIOCGIFNAME): Don't define.
27908 (__ASSUME_MSG_NOSIGNAL): Likewise.
27909 (__ASSUME_SENDFILE): Define unconditionally.
27910 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27911 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27913 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27914 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27915 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27916 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27917 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27918 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27919 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27921 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27924 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27925 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27927 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27930 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27931 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27933 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27936 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27937 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27942 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27943 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27944 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27945 Remove conditional code.
27946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27947 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27948 Remove conditional code.
27949 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27950 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27951 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27952 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27953 Remove conditional code.
27954 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27955 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27956 Remove conditional code.
27957 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27958 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27959 Remove conditional code.
27960 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27961 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27962 Remove conditional code.
27963 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27964 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27965 Remove conditional code.
27966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27967 * sysdeps/unix/sysv/linux/sh/pwrite64.c
27968 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27970 * sysdeps/unix/sysv/linux/sigaction.c
27971 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27972 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27973 * sysdeps/unix/sysv/linux/sigpending.c
27974 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27975 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27976 * sysdeps/unix/sysv/linux/sigprocmask.c
27977 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27978 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27979 * sysdeps/unix/sysv/linux/sigsuspend.c
27980 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27981 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27982 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27983 (__libc_missing_rt_sigs): Remove.
27984 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
27985 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
27986 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
27987 Remove conditional code.
27988 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
27989 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
27991 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
27992 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
27993 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
27994 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
27996 2012-05-14 Andreas Jaeger <aj@suse.de>
27998 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
27999 it's not used in glibc.
28000 (__coshm1): Likewise.
28001 (__acosh1p): Likewise.
28004 * manual/string.texi (Copying and Concatenation): Add missing
28005 variable in concat example.
28006 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28008 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28011 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28012 __builtin_clzl with __builtin_clzll.
28014 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28017 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28020 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28022 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28023 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28024 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28025 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28027 2012-05-14 Mike Frysinger <vapier@gentoo.org>
28029 * NEWS: Update ia64 info.
28031 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28033 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28036 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28038 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28039 * sysdeps/unix/syscalls.list (dup3): Likewise.
28040 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28041 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28043 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28045 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28046 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28048 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28050 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28052 (TLS_IE): Use mov/add instead of movq/addq to load thread
28054 (TLS_GD_PREFIX): New.
28057 2012-05-11 David S. Miller <davem@davemloft.net>
28059 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28060 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28061 (_FPU_SETCW): Likewise.
28063 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28065 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28066 is 32-byte aligned.
28068 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28071 * iconvdata/gb18030.c: Update tables.
28072 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28073 characters specially.
28074 (BODY for TO_LOOP): Add encoding of missing ranges.
28076 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28079 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28080 * sysdeps/mach/hurd/dup3.c: Likewise.
28081 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28082 * sysdeps/powerpc/memmove.c:: Likewise.
28084 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28086 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28087 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28089 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28091 * elf/elf.h (R_X86_64_RELATIVE64): New.
28092 (R_X86_64_NUM): Updated.
28093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28094 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28095 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28096 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28097 tst-quad1pie tst-quad2pie
28098 (modules-names): Add tst-quadmod1 tst-quadmod2.
28099 ($(objpfx)tst-quad1): New dependency.
28100 ($(objpfx)tst-quad2): Likewise.
28101 ($(objpfx)tst-quad1pie): Likewise.
28102 ($(objpfx)tst-quad2pie): Likewise.
28103 * sysdeps/x86_64/tst-quad1.c: New file.
28104 * sysdeps/x86_64/tst-quad1pie.c: New file.
28105 * sysdeps/x86_64/tst-quad2.c: Likewise.
28106 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28107 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28108 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28109 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28110 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28112 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28114 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28115 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28116 * streams/stropts.h (t_scalar_t): Define type.
28118 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28119 (_PATH_PRESERVE): Set to "/var/lib".
28120 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28122 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28125 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28126 if __dir_mkfile succeeded.
28128 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28129 checking for _hurd_dtablesize. Unlock it right after having
28130 finished _hurd_dtable allocation.
28132 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28134 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28135 * sysdeps/mach/hurd/configure: Regenerated.
28136 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28137 special-casing to...
28138 * sysdeps/gnu/configure.in: ... this new file.
28139 * sysdeps/unix/sysv/linux/configure: Regenerated.
28140 * sysdeps/gnu/configure: New generated file.
28142 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28143 for Linux: use nsec instead of usec, as well as:
28144 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28145 members of type struct timespec.
28146 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28148 (struct stat64): Likewise.
28149 (_STATBUF_ST_NSEC): New macro.
28150 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28152 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28153 __strtoul_internal rather than strtoul.
28155 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28157 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28160 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28162 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28163 which preserves existing values.
28164 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28166 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28168 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28169 TIMEOUT values. Return EINVAL for NFDS values either negative or
28170 greater than FD_SETSIZE.
28172 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28174 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28175 allocated, call __vm_protect to finish enabling the existing space, and
28176 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28177 allocate the remainder.
28179 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28181 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28182 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28186 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28187 sysdeps/mach/hurd/readlink.c.
28189 * posix/tst-sysconf.c (posix_options): Only use
28190 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28191 _POSIX_SYNCHRONIZED_IO when they are defined
28192 * sysdeps/mach/hurd/bits/posix_opt.h:
28193 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28194 (_XOPEN_REALTIME): Undefine macro.
28195 (_XOPEN_REALTIME_THREADS): Undefine macro.
28196 (_XOPEN_SHM): Undefine macro.
28197 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28199 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28201 (_POSIX_ASYNC_IO): Undefine macro.
28202 (_POSIX_PRIORITIZED_IO): Undefine macro.
28203 (_POSIX_SPIN_LOCKS): Define macro to -1.
28205 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28206 SA_NODEFER, SA_RESETHAND.
28207 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28208 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28213 * elf/Makefile (pldd-modules): Define unconditionally.
28215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28217 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28221 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28222 Return ENOENT when name is empty.
28223 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28225 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28227 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28229 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28231 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28233 Fix mlock in all cases except non-readable pages.
28234 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28235 instead of VM_PROT_ALL as parameter to __vm_wire function.
28237 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28238 (__mkdir): When path is `/', just fail with EEXIST.
28239 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28241 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28243 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28244 <sys/uio.h> (for writev).
28245 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28246 and <sys/param.h> (for MIN).
28248 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28250 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28251 REQUESTED_TIME. Properly set the remaining time and return EINTR
28254 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28256 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28257 Depend on against $(link-rpcuserlibs).
28259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28261 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28262 (__libc_stack_end): Do not use attribute_relro.
28263 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28264 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28265 to libthread-provided value.
28266 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28269 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28272 * bits/libc-lock.h (__libc_once_get): New macro.
28273 * sysdeps/mach/bits/libc-lock.h: Likewise.
28274 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28276 instead of using implementation details.
28278 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28279 * libio/freopen.c: Likewise.
28280 * libio/freopen64.c: Likewise.
28281 * misc/syslog.c: Likewise.
28282 * nscd/connections.c: Likewise.
28283 * nscd/netgroupcache.c: Likewise.
28284 * sysdeps/posix/getcwd.c: Likewise.
28286 2012-05-10 Roland McGrath <roland@hack.frob.com>
28288 * math/w_ilogbf.c: Add #include <limits.h>.
28290 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28292 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28293 path instead of returning without unlocking.
28295 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28296 immediate-write ioctls.
28297 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28301 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28302 __builtin_frame_address instead of making assumptions about the
28303 location of the return address relative to DATA. Force early load of
28304 the return address.
28305 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28306 __builtin_frame_address.
28309 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28310 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28311 implement dup3 and do some further code clean-ups.
28312 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28313 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28315 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28317 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28319 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28320 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28321 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28322 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28323 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28326 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28327 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28328 when handler == SIG_ERR, not when handler != SIG_ERR.
28330 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28332 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28333 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28336 accept4 for GNU Hurd.
28337 * include/sys/socket.h (__libc_accept4): New prototype.
28338 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28339 to implement __libc_accept4.
28340 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28342 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28344 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28345 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28346 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28347 signal-defines.sym.
28349 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28351 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28353 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28355 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28356 assertion on O_CLOEXEC flag.
28357 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28358 * hurd/intern-fd.c: Likewise.
28359 * hurd/port2fd.c: Likewise.
28361 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28364 * bits/in.h (IPV6_PKTINFO): Define new macro.
28365 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28367 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28372 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28373 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28374 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28375 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28376 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28377 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28378 * math/libm-test.inc (logb_test) : Additional logb tests.
28380 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28381 Andreas Jaeger <aj@suse.de>
28383 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28384 * configure: Regenerated.
28385 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28386 * config.make.in (link-obsolete-rpc): New substituted variable.
28387 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28388 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28389 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28390 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28391 so that libc.a contains the symbols.
28392 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28393 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28394 * sunrpc/auth_none.c: Likewise.
28395 * sunrpc/auth_unix.c: Likewise.
28396 * sunrpc/authdes_prot.c: Likewise.
28397 * sunrpc/authuxprot.c: Likewise.
28398 * sunrpc/clnt_gen.c: Likewise.
28399 * sunrpc/clnt_perr.c: Likewise.
28400 * sunrpc/clnt_raw.c: Likewise.
28401 * sunrpc/clnt_simp.c: Likewise.
28402 * sunrpc/clnt_tcp.c: Likewise.
28403 * sunrpc/clnt_udp.c: Likewise.
28404 * sunrpc/clnt_unix.c: Likewise.
28405 * sunrpc/des_crypt.c: Likewise.
28406 * sunrpc/des_soft.c: Likewise.
28407 * sunrpc/get_myaddr.c: Likewise.
28408 * sunrpc/key_call.c: Likewise.
28409 * sunrpc/key_prot.c: Likewise.
28410 * sunrpc/netname.c: Likewise.
28411 * sunrpc/pm_getmaps.c: Likewise.
28412 * sunrpc/pm_getport.c: Likewise.
28413 * sunrpc/pmap_clnt.c: Likewise.
28414 * sunrpc/pmap_prot.c: Likewise.
28415 * sunrpc/pmap_prot2.c: Likewise.
28416 * sunrpc/pmap_rmt.c: Likewise.
28417 * sunrpc/publickey.c: Likewise.
28418 * sunrpc/rpc_cmsg.c: Likewise.
28419 * sunrpc/rpc_common.c: Likewise.
28420 * sunrpc/rpc_dtable.c: Likewise.
28421 * sunrpc/rpc_prot.c: Likewise.
28422 * sunrpc/rpc_thread.c: Likewise.
28423 * sunrpc/rtime.c: Likewise.
28424 * sunrpc/svc.c: Likewise.
28425 * sunrpc/svc_auth.c: Likewise.
28426 * sunrpc/svc_raw.c: Likewise.
28427 * sunrpc/svc_run.c: Likewise.
28428 * sunrpc/svc_tcp.c: Likewise.
28429 * sunrpc/svc_udp.c: Likewise.
28430 * sunrpc/svc_unix.c: Likewise.
28431 * sunrpc/svcauth_des.c: Likewise.
28432 * sunrpc/xcrypt.c: Likewise.
28433 * sunrpc/xdr.c: Likewise.
28434 * sunrpc/xdr_array.c: Likewise.
28435 * sunrpc/xdr_float.c: Likewise.
28436 * sunrpc/xdr_intXX_t.c: Likewise.
28437 * sunrpc/xdr_mem.c: Likewise.
28438 * sunrpc/xdr_rec.c: Likewise.
28439 * sunrpc/xdr_ref.c: Likewise.
28440 * sunrpc/xdr_sizeof.c: Likewise.
28441 * sunrpc/xdr_stdio.c: Likewise.
28443 2012-05-10 Roland McGrath <roland@hack.frob.com>
28445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28446 change. Update copyright years.
28448 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28450 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28452 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28453 Joseph Myers <joseph@codesourcery.com>
28454 Paul Pluzhnikov <ppluzhnikov@google.com>
28457 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28459 [cross-compiling] (extra-libs): Likewise.
28460 [cross-compiling] (extra-libs-others): Likewise.
28461 [cross-compiling] (librpcsvc-routines): Likewise.
28462 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28463 [cross-compiling] (omit-deps): Likewise.
28464 (sunrpc-CPPFLAGS): New variable.
28465 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28466 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28467 (cross-rpcgen-objs): New variable.
28468 (extra-objs): Append $(cross-rpcgen-objs).
28469 ($(cross-rpcgen-objs)): New rule.
28470 ($(objpfx)cross-rpcgen): Likewise.
28471 (rpcgen-cmd): Define to use $(built-program-file). Expand
28473 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28474 ($(objpfx)x%.stmp): Likewise.
28475 * sunrpc/proto.h [IS_IN_build] (_): Define.
28476 [IS_IN_build] (_libc_intl_domainname): Likewise.
28478 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28481 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28482 and R_X86_64_TPOFF64.
28484 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28486 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28487 sysdeps/unix/sysv/syscalls.list.
28490 * sysdeps/unix/sysv/syscalls.list: Remove file.
28492 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28495 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28496 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28497 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28498 (__LC_IDENTIFICATION): Make these macros useful in #if
28499 expressions, as required by C99.
28501 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28503 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28504 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28507 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28509 * stdlib/longlong.h: Updated from GCC.
28511 2012-05-09 Andreas Jaeger <aj@suse.de>
28513 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28514 default is first entry.
28515 (run_mode): Set type.
28516 (main): Remove informal message about syslog.
28517 (options): Fix typo.
28520 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28523 (llrintf): Likewise.
28524 (llrint): Likewise.
28527 (nearbyint): Likewise.
28528 (nearbyintf): Likewise.
28530 2012-05-09 Andreas Jaeger <aj@suse.de>
28531 Pedro Alves <palves@redhat.com>
28533 * nscd/nscd.c (run_mode): Use enum.
28534 (main): Cleanup coding style issue.
28536 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
28537 Andreas Jaeger <aj@suse.de>
28539 * nscd/nscd.c (go_background): Replaced with...
28540 (run_mode): ... this.
28541 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28542 (options): Add -F --foreground.
28543 (main): Implement it.
28544 (parse_opt): Parse it.
28546 2012-05-09 Andreas Jaeger <aj@suse.de>
28549 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28550 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28551 -Wconversion warning.
28552 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28555 2012-05-09 Joseph Myers <joseph@codesourcery.com>
28557 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28559 (LC_ALL): Use macro-int-constant.
28560 (LC_COLLATE): Likewise.
28561 (LC_CTYPE): Likewise.
28562 (LC_MESSAGES): Likewise.
28563 (LC_MONETARY): Likewise.
28564 (LC_NUMERIC): Likewise.
28565 (LC_TIME): Likewise.
28566 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28567 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28568 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28569 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28571 [C99-based standards] (float_t): Expect type.
28572 [C99-based standards] (double_t): Expect type.
28573 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28575 [C99-based standards] (HUGE_VALL): Likewise.
28576 [C99-based standards] (INFINITY): Likewise.
28577 [C99-based standards] (NAN): Likewise.
28578 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28579 [C99-based standards] (FP_NAN): Likewise.
28580 [C99-based standards] (FP_NORMAL): Likewise.
28581 [C99-based standards] (FP_SUBNORMAL): Likewise.
28582 [C99-based standards] (FP_ZERO): Likewise.
28583 [C99-based standards] (FP_FAST_FMA): Use
28584 optional-macro-int-constant. Specify type. Require == 1.
28585 [C99-based standards] (FP_FAST_FMAF): Likewise.
28586 [C99-based standards] (FP_FAST_FMAL): Likewise.
28587 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28588 [C99-based standards] (FP_ILOGBNAN): Likewise.
28589 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28591 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28592 [C99-based standards] (math_errhandling): Specify type.
28593 [ISO99 || ISO11] (signgam): Do not allow.
28594 [non-C99-based standards] (copysignf): Do not allow.
28595 [non-C99-based standards] (exp2f): Likewise.
28596 [non-C99-based standards] (log2f): Likewise.
28597 [non-C99-based standards] (modff): Allow.
28598 [non-C99-based standards] (erff): Do not allow.
28599 [non-C99-based standards] (erfcf): Likewise.
28600 [non-C99-based standards] (gammaf): Likewise.
28601 [non-C99-based standards] (hypotf): Likewise.
28602 [non-C99-based standards] (j0f): Likewise.
28603 [non-C99-based standards] (j1f): Likewise.
28604 [non-C99-based standards] (jnf): Likewise.
28605 [non-C99-based standards] (lgammaf): Likewise.
28606 [non-C99-based standards] (tgammaf): Likewise.
28607 [non-C99-based standards] (y0f): Likewise.
28608 [non-C99-based standards] (y1f): Likewise.
28609 [non-C99-based standards] (ynf): Likewise.
28610 [non-C99-based standards] (isnanf): Likewise.
28611 [non-C99-based standards] (acoshf): Likewise.
28612 [non-C99-based standards] (asinhf): Likewise.
28613 [non-C99-based standards] (atanhf): Likewise.
28614 [non-C99-based standards] (cbrtf): Likewise.
28615 [non-C99-based standards] (expm1f): Likewise.
28616 [non-C99-based standards] (ilogbf): Likewise.
28617 [non-C99-based standards] (log1pf): Likewise.
28618 [non-C99-based standards] (logbf): Likewise.
28619 [non-C99-based standards] (nextafterf): Likewise.
28620 [non-C99-based standards] (remainderf): Likewise.
28621 [non-C99-based standards] (rintf): Likewise.
28622 [non-C99-based standards] (scalbf): Likewise.
28623 [non-C99-based standards] (copysignl): Likewise.
28624 [non-C99-based standards] (exp2l): Likewise.
28625 [non-C99-based standards] (log2l): Likewise.
28626 [non-C99-based standards] (modfl): Allow.
28627 [non-C99-based standards] (erfl): Do not allow.
28628 [non-C99-based standards] (erfcl): Likewise.
28629 [non-C99-based standards] (gammal): Likewise.
28630 [non-C99-based standards] (hypotl): Likewise.
28631 [non-C99-based standards] (j0l): Likewise.
28632 [non-C99-based standards] (j1l): Likewise.
28633 [non-C99-based standards] (jnl): Likewise.
28634 [non-C99-based standards] (lgammal): Likewise.
28635 [non-C99-based standards] (tgammal): Likewise.
28636 [non-C99-based standards] (y0l): Likewise.
28637 [non-C99-based standards] (y1l): Likewise.
28638 [non-C99-based standards] (ynl): Likewise.
28639 [non-C99-based standards] (isnanl): Likewise.
28640 [non-C99-based standards] (acoshl): Likewise.
28641 [non-C99-based standards] (asinhl): Likewise.
28642 [non-C99-based standards] (atanhl): Likewise.
28643 [non-C99-based standards] (cbrtl): Likewise.
28644 [non-C99-based standards] (expm1l): Likewise.
28645 [non-C99-based standards] (ilogbl): Likewise.
28646 [non-C99-based standards] (log1pl): Likewise.
28647 [non-C99-based standards] (logbl): Likewise.
28648 [non-C99-based standards] (nextafterl): Likewise.
28649 [non-C99-based standards] (remainderl): Likewise.
28650 [non-C99-based standards] (rintl): Likewise.
28651 [non-C99-based standards] (scalbl): Likewise.
28652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28653 [non-C99-based standards] (FP_*): Do not allow.
28654 [C99-based standards] (FP_*): Change to
28655 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28656 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28658 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28659 (SIG_ERR): Likewise.
28660 [X/Open-based standards] (SIG_HOLD): Likewise.
28661 (SIG_IGN): Likewise.
28662 (SIGABRT): Use macro-int-constant. Specify type. Require
28664 (SIGFPE): Likewise.
28665 (SIGILL): Likewise.
28666 (SIGINT): Likewise.
28667 (SIGSEGV): Likewise.
28668 (SIGTER): Likewise.
28669 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28670 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28671 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28672 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28673 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28674 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28675 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28676 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28677 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28678 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28679 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28680 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28681 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28682 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28683 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28684 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28685 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28686 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28687 [X/Open-based standards] (SIGTRAP): Likewise.
28688 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28689 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28690 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28691 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28692 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28695 2012-05-08 Ian Wienand <ianw@vmware.com>
28698 * time/tzset.c (__tzset_parse_tz): Update default rules for
28699 daylight time changes in the Energy Policy Act of 2005.
28701 2012-05-09 Andreas Jaeger <aj@suse.de>
28704 * elf/ldconfig.c (parse_conf): Change string to make clear that
28705 ldconfig only issued a warning if ld.so.conf does not exist.
28707 2012-05-08 David S. Miller <davem@davemloft.net>
28709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28710 movxtod instead of popping the value on the stack.
28712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28714 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28716 * config.h.in: Add HAVE_ARM_PCS_VFP.
28718 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
28721 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28722 checking but the checks are disabled for any reason.
28724 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28726 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28727 and ELF64_R_TYPE with ELFW(R_TYPE).
28729 2012-05-08 Joseph Myers <joseph@codesourcery.com>
28731 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28732 (ulimit): Likewise.
28734 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28735 (settimeofday): Likewise.
28737 2012-05-08 Mike Frysinger <vapier@gentoo.org>
28739 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28740 a struct th_u2 inside the union, and move tu_block/tu_code into
28741 a new th_u3 union of tu_block/tu_code inside of that. Move
28742 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28743 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28744 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28745 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28746 (th_stuff): Change to th_u1.tu_stuff.
28748 (th_msg): Change to th_u1.th_u2.tu_data.
28750 2012-05-07 David S. Miller <davem@davemloft.net>
28752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28755 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28756 (SETUP_PIC_REG): Use it.
28757 (SETUP_PIC_REG_LEAF): Use it.
28759 2012-05-07 Joseph Myers <joseph@codesourcery.com>
28763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28765 (EXPL_FINITE): Likewise.
28766 (FLDLOG): Likewise.
28767 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28768 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28770 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28772 (EXPL_FINITE): Likewise.
28773 (FLDLOG): Likewise.
28774 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28775 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28777 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28778 test of -max_value argument for long double.
28779 * sysdeps/i386/fpu/libm-test-ulps: Update.
28780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28782 2012-05-06 David S. Miller <davem@davemloft.net>
28784 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28785 quad soft-float symbols whose references which are compiler
28787 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28789 2012-05-06 Joseph Myers <joseph@codesourcery.com>
28793 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28795 (EXPL_FINITE): Likewise.
28796 (FLDLOG): Likewise.
28799 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28800 Adjust comments for base varying.
28801 (__expl_finite): Change alias to EXPL_FINITE.
28802 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28804 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28805 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28807 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28808 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28810 (EXPL_FINITE): Likewise.
28811 (FLDLOG): Likewise.
28814 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28815 Adjust comments for base varying.
28816 (__expl_finite): Change alias to EXPL_FINITE.
28817 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
28819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28822 * math/libm-test.inc (check_float_internal): Correct ulp
28823 calculation for subnormal expected results.
28825 2012-05-06 Andreas Jaeger <aj@suse.de>
28827 * Makeconfig (+math-flags): New, set to -frounding-math.
28828 (+cflags): Add +math-flags so that all of glibc gets compiled with
28831 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28833 2012-05-05 Joseph Myers <joseph@codesourcery.com>
28835 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28841 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28842 (__ieee754_expl): Allow for and saturate large arguments.
28843 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28844 (u_threshold): Likewise.
28845 (__exp): Call __ieee754_exp before checking for overflow and
28847 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28848 (u_threshold): Likewise.
28849 (__expf): Call __ieee754_expf before checking for overflow and
28851 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28852 (u_threshold): Likewise.
28853 (__expl): Call __ieee754_expl before checking for overflow and
28855 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28856 (__ieee754_expl): Allow for and saturate large arguments.
28857 * math/libm-test.inc (exp_test): Add another test. Do not allow
28858 missing overflow exception on overflow.
28859 (expm1_test): Do not allow missing overflow exception on overflow.
28861 * sysdeps/i386/fpu/e_expl.c: Move to ...
28862 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
28863 rather than using inline asm.
28864 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28865 * sysdeps/x86_64/fpu/e_expl.S: Copy from
28866 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28868 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28871 (signal): Likewise.
28875 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28877 * sysdeps/unix/syscalls.list (adjtime): Add entry from
28878 sysdeps/unix/common/syscalls.list.
28879 (fchmod): Likewise.
28880 (fchown): Likewise.
28881 (ftruncate): Likewise.
28882 (getrusage): Likewise.
28883 (gettimeofday): Likewise.
28884 (setpgid): Likewise.
28885 (setregid): Likewise.
28886 (setreuid): Likewise.
28887 (sigaction): Likewise.
28888 (truncate): Likewise.
28889 (vhangup): Likewise.
28890 * sysdeps/unix/common/syscalls.list: Remove file.
28891 * sysdeps/unix/bsd/Implies: Don't include unix/common.
28892 * sysdeps/unix/sysv/linux/Implies: Likewise.
28894 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
28896 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28898 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28902 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28905 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28908 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28911 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28914 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28917 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28920 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28924 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28928 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28931 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28935 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28939 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28941 * sysdeps/unix/common/bits/dirent.h: Remove file.
28942 * sysdeps/unix/common/bits/fcntl.h: Likewise.
28944 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28945 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28946 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28947 * sysdeps/unix/bsd/isatty.c: Likewise.
28948 * sysdeps/unix/bsd/tcdrain.c: Likewise.
28949 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28950 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28952 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28955 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28956 long double comparison inaccuracies.
28957 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28960 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
28962 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28965 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28968 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28969 nonzero digits before rounding a hex value.
28970 * stdlib/tst-strtod.c (tests): Add another test.
28972 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28974 * sysdeps/s390/fpu/libm-test-ulps: Update.
28976 2012-05-03 Andreas Jaeger <aj@suse.de>
28978 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
28979 does not get optimized out.
28980 (malloc_opt_barrier): New.
28982 2012-05-03 Andreas Jaeger <aj@suse.de>
28983 Roland McGrath <roland@hack.frob.com>
28985 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
28986 intermediate file deletion.
28987 (generated): Add .symlist files.
28989 2012-05-03 Joseph Myers <joseph@codesourcery.com>
28992 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
28993 Redirect under this condition.
28994 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28995 [__USE_GNU] (__dprintf_chk): Not under this condition.
28996 [__USE_GNU] (__vdprintf_chk): Likewise.
28997 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
28998 under this condition.
28999 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29000 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29001 [__USE_XOPEN2K8] (vdprintf): Likewise.
29002 [__USE_GNU] (__dprintf_chk): Not under this condition.
29003 [__USE_GNU] (__vdprintf_chk): Likewise.
29004 [__USE_GNU] (dprintf): Likewise.
29005 [__USE_GNU] (vdprintf): Likewise.
29007 2012-05-03 Roland McGrath <roland@hack.frob.com>
29009 * elf/Makefile (common-generated): Set this instead of generated for
29010 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29011 $(all-built-dso)-derived lists.
29013 2012-05-03 Andreas Jaeger <aj@suse.de>
29015 * sysdeps/i386/fpu/libm-test-ulps: Update.
29018 * FAQ.in: Likewise.
29019 * scripts/gen-FAQ.pl: Likewise.
29020 * manual/install.texi (Installation): Point to online location of
29022 * Makefile (files-for-dist): Remove FAQ.
29025 2012-05-02 Allan McRae <allan@archlinux.org>
29027 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29028 (LDFLAGS-reldepmod5.so): Likewise.
29029 (LDFLAGS-reldep6mod1.so): Likewise.
29030 (LDFLAGS-reldep6mod4.so): Likewise.
29031 (LDFLAGS-reldep8mod3.so): Likewise.
29032 (LDFLAGS-unload4mod1.so): Likewise.
29033 (LDFLAGS-unload4mod2.so): Likewise.
29034 (LDFLAGS-tst-initorder): Likewise.
29035 (LDFLAGS-tst-initordera2.so): Likewise.
29036 (LDFLAGS-tst-initordera3.so): Likewise.
29037 (LDFLAGS-tst-initordera4.so): Likewise.
29038 (LDFLAGS-tst-initorderb2.so): Likewise.
29039 (LDFLAGS-noload): Likewise.
29040 (LDFLAGS-next): Likewise.
29041 (LDFLAGS-order2mod1.so): Likewise.
29042 (LDFLAGS-order2mod2.so): Likewise.
29043 (LDFLAGS-tst-initorder2): Likewise.
29044 (LDFLAGS-tst-initorder2a.so): Likewise.
29045 (LDFLAGS-tst-initorder2b.so): Likewise.
29046 (LDFLAGS-tst-initorder2c.so): Likewise.
29047 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29049 2012-05-02 David S. Miller <davem@davemloft.net>
29051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29053 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29056 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29058 2012-05-02 Andreas Jaeger <aj@suse.de>
29060 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29061 since we manipulate rounding mode.
29062 (CPPFLAGS-test-idouble.c): Likewise.
29063 (CPPFLAGS-test-ifloat.c): Likewise.
29064 (CFLAGS-test-ldouble.c): Likewise.
29065 (CFLAGS-test-double.c): Likewise.
29066 (CFLAGS-test-float.c): Likewise.
29067 (CFLAGS-test-misc.c): Likewise.
29068 (CFLAGS-test-test-fenv.c): Likewise.
29070 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29074 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29075 comparisons to determine direction to adjust input.
29077 2012-05-01 Roland McGrath <roland@hack.frob.com>
29079 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29080 output to the target.
29082 * scripts/localplt.awk: New file.
29083 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29084 (check-localplt-CFLAGS): Variable removed.
29085 ($(all-built-dso:=.jmprel)): New static pattern rule.
29086 (generated): Add those targets.
29087 (localplt-built-dso): New variable.
29088 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29090 * elf/check-localplt.c: File removed.
29092 * scripts/check-execstack.awk: New file.
29093 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29094 (check-execstack-CFLAGS): Variable removed.
29095 ($(objpfx)check-execstack.h): Target removed.
29096 ($(objpfx)execstack-default): New target.
29097 (generated): Add that instead of check-execstack.h.
29098 ($(all-built-dso:=.phdr)): New static pattern rule.
29099 (generated): Add those targets.
29100 * elf/check-execstack.c: File removed.
29102 * scripts/check-textrel.awk: New file.
29103 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29104 (check-textrel-CFLAGS): Variable removed.
29105 (all-built-dso): Use := to define.o
29106 ($(all-built-dso:=.dyn)): New static pattern rule.
29107 (generated): Add those targets.
29108 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29109 * config.make.in (READELF): New substituted variable.
29110 * elf/check-textrel.c: File removed.
29112 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29114 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29116 * conform/data/ctype.h-data [C99-based standards] (isblank):
29118 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29119 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29121 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29122 Specify type. Require positive value.
29123 (EILSEQ): Likewise.
29124 (ERANGE): Likewise.
29125 [ISO || POSIX] (EILSEQ): Do not expect.
29126 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29127 Specify type. Require positive value.
29128 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29129 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29130 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29131 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29132 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29133 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29134 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29135 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29136 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29137 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29138 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29139 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29140 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29141 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29142 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29143 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29144 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29145 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29146 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29147 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29148 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29149 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29150 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29151 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29152 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29153 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29154 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29155 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29156 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29157 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29158 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29159 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29160 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29161 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29162 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29163 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29164 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29165 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29166 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29167 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29168 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29169 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29170 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29171 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29172 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29173 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29174 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29175 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29176 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29177 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29178 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29179 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29180 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29181 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29182 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29183 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29184 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29185 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29186 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29187 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29188 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29189 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29190 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29191 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29192 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29193 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29194 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29195 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29196 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29197 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29198 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29199 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29200 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29201 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29202 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29203 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29204 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29206 (FLT_ROUNDS): Expect as macro, not constant.
29207 (FLT_MANT_DIG): Use macro-int-constant.
29208 (DBL_MANT_DIG): Likewise.
29209 (LDBL_MANT_DIG): Likewise.
29210 (FLT_DIG): Likewise.
29211 (DBL_DIG): Likewise.
29212 (LDBL_DIG): Likewise.
29213 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29214 (DBL_MIN_EXP): Likewise.
29215 (LDBL_MIN_EXP): Likewise.
29216 (FLT_MAX_EXP): Use macro-int-constant.
29217 (DBL_MAX_EXP): Likewise.
29218 (LDBL_MAX_EXP): Likewise.
29219 (FLT_MAX_10_EXP): Likewise.
29220 (DBL_MAX_10_EXP): Likewise.
29221 (LDBL_MAX_10_EXP): Likewise.
29222 (FLT_MAX): Use macro-constant.
29223 (DBL_MAX): Likewise.
29224 (LDBL_MAX): Likewise.
29225 (FLT_EPSILON): Use macro-constant. Give upper bound.
29226 (DBL_EPSILON): Likewise.
29227 (LDBL_EPSILON): Likewise.
29228 (FLT_MIN): Likewise.
29229 (DBL_MIN): Likewise.
29230 (LDBL_MIN): Likewise.
29231 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29232 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29233 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29234 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29235 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29236 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29237 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29238 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29239 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29240 [ISO11] (FLT_TRUE_MIN): Likewise.
29241 [ISO11] (LDBL_TRUE_MIN): Likewise.
29242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29243 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29244 (SCHAR_MIN): Use macro-int-constant. Specify type.
29245 (SCHAR_MAX): Likewise.
29246 (UCHAR_MAX): Likewise.
29247 (CHAR_MIN): Likewise.
29248 (CHAR_MAX): Likewise.
29249 (MB_LEN_MAX): Use macro-int-constant.
29250 (SHRT_MIN): Use macro-int-constant. Specify type.
29251 (SHRT_MAX): Likewise.
29252 (USHRT_MAX): Likewise.
29253 (INT_MAX): Likewise.
29254 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29256 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29258 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29260 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29261 bound negative. Suffix upper bound with "L".
29262 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29264 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29266 [C99-based standards] (LLONG_MAX): Likewise.
29267 [C99-based standards] (ULLONG_MAX): Likewise.
29268 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29270 [ISO11] (max_align_t): Require type.
29271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29273 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29274 from $CFLAGS, without defining away __attribute__ calls.
29275 (checknamespace): Use $CFLAGS_namespace.
29277 * conform/conformtest.pl (@keywords): Only include C99 keywords
29278 for standards based on C99 or C11.
29280 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29282 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29285 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29286 usability of symbols in #if.
29288 * conform/conformtest.pl: If macro or constant types start
29289 "promoted:", expect the symbol to be of the following type
29290 promoted by the integer promotions.
29292 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29293 in one place. Also handle "macro-constant".
29295 * conform/conformtest.pl: Only accept expected macro values with
29296 "==". Parse all "macro" lines in one place.
29297 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29299 * conform/conformtest.pl: Handle braced types on "constant" lines
29300 instead of handling "typed-constant".
29301 * conform/data/signal.h-data: Use "constant" instead of
29304 * conform/conformtest.pl: Handle "optional-" at start of lines in
29305 one place rather than duplicating several cases. Handle each
29306 format of "macro" line with initial "optional-".
29308 * conform/conformtest.pl: Only accept expected constant or
29309 optional-constant values with "==". Parse all "constant" lines in
29310 one place. Parse all "optional-constant" lines in one place.
29311 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29312 * conform/data/fmtmsg.h-data: Likewise.
29313 * conform/data/netinet/in.h-data: Likewise.
29314 * conform/data/tar.h-data: Likewise.
29315 * conform/data/limits.h-data: Use "==" form on "constant" and
29316 "optional-constant" lines.
29318 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29319 Use -std=c99 for XOPEN2K.
29320 (@knownproblems): Remove.
29321 (newtoken): Don't check %isknown.
29323 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29324 Do not expect macro.
29325 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29326 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29327 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29328 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29329 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29330 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29331 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29332 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29333 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29334 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29335 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29336 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29337 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29338 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29339 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29340 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29341 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29342 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29343 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29344 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29345 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29346 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29347 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29348 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29349 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29350 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29351 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29352 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29353 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29354 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29355 [XPG3] (acosh): Likewise.
29356 [XPG3] (asinh): Likewise.
29357 [XPG3] (atanh): Likewise.
29358 [XPG3] (cbrt): Likewise.
29359 [XPG3] (expm1): Likewise.
29360 [XPG3] (ilogb): Likewise.
29361 [XPG3] (log1p): Likewise.
29362 [XPG3] (logb): Likewise.
29363 [XPG3] (nextafter): Likewise.
29364 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29365 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29366 [XPG3] (remainder): Likewise.
29367 [XPG3] (rint): Likewise.
29368 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29369 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29370 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29371 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29372 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29373 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29374 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29375 [UNIX98 || XOPEN2K] (scalb): Expect.
29376 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29377 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29378 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29379 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29380 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29381 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29382 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29383 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29384 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29385 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29386 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29387 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29388 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29389 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29390 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29391 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29392 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29393 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29394 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29395 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29396 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29397 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29398 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29399 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29400 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29401 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29402 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29403 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29404 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29405 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29406 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29407 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29408 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29409 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29410 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29411 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29412 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29413 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29414 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29415 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29416 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29417 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29418 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29419 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29420 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29421 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29422 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29423 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29424 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29425 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29426 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29427 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29428 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29429 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29430 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29431 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29432 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29433 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29434 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29435 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29436 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29437 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29438 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29439 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29440 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29441 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29442 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29443 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29444 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29445 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29446 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29447 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29448 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29449 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29450 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29451 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29452 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29453 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29454 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29455 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29456 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29457 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29458 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29459 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29460 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29461 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29462 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29463 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29464 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29465 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29466 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29467 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29468 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29469 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29470 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29471 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29472 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29473 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29474 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29475 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29476 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29477 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29478 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29479 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29480 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29481 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29482 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29483 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29484 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29485 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29486 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29487 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29488 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29489 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29490 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29491 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29492 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29493 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29494 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29495 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29496 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29497 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29498 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29499 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29500 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29501 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29502 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29503 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29504 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29505 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29506 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29507 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29508 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29509 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29510 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29511 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29512 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29514 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29515 _XOPEN_SOURCE_EXTENDED for XPG4.
29517 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29519 * Makeconfig (localtime): Remove variable.
29520 (inst_localtime-file): Likewise.
29522 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29543 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29547 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29548 comparisons to determine direction to adjust input.
29549 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29550 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29551 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29553 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29555 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29557 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29558 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29560 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29562 * math/libm-test.inc (nexttoward_test): Add more tests.
29564 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29567 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29568 in version GLIBC_2.1, not GLIBC_2.0.
29569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29572 2012-04-30 Joseph Myers <joseph@codesourcery.com>
29575 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29577 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29578 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29579 * math/libm-test.inc (acos_test): Add more tests.
29580 (asin_test): Likewise.
29581 * sysdeps/i386/fpu/libm-test-ulps: Update.
29582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29585 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29587 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29588 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29589 * math/libm-test.inc (acos_test_tonearest): New function.
29590 (acos_test_towardzero): Likewise.
29591 (acos_test_downward): Likewise.
29592 (acos_test_upward): Likewise.
29593 (asin_test_tonearest): Likewise.
29594 (asin_test_towardzero): Likewise.
29595 (asin_test_downward): Likewise.
29596 (asin_test_upward): Likewise.
29597 (main): Call the new functions.
29598 * sysdeps/i386/fpu/libm-test-ulps: Update.
29599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29603 * math/e_exp10.c: Include <float.h>.
29604 (__ieee754_exp10): Handle underflow here rather than multiplying
29605 large negative argument by M_LN10.
29606 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29608 * math/e_exp10l.c: Include <float.h>.
29609 (__ieee754_exp10l): Handle underflow here rather than multiplying
29610 large negative argument by M_LN10l.
29611 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29612 spurious overflow exception on underflow.
29614 2012-04-29 Marek Polacek <polacek@redhat.com>
29616 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29617 (__fortify_function): New macro.
29618 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29619 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29620 __extern_always_inline.
29621 * libio/bits/stdio2.h: Likewise.
29622 * libio/bits/stdio.h: Likewise.
29623 * string/string.h: Likewise.
29624 * string/bits/string3.h: Likewise.
29625 * include/stdio.h: Likewise.
29626 * stdlib/bits/stdlib.h: Likewise.
29627 * stdlib/stdlib.h: Likewise.
29628 * rt/bits/mqueue2.h: Likewise.
29629 * rt/mqueue.h: Likewise.
29630 * posix/bits/unistd.h: Likewise.
29631 * posix/unistd.h: Likewise.
29632 * io/bits/poll2.h: Likewise.
29633 * io/bits/fcntl2.h: Likewise.
29634 * io/fcntl.h: Likewise.
29635 * io/sys/poll.h: Likewise.
29636 * misc/bits/syslog.h: Likewise.
29637 * misc/bits/syslog-ldbl.h: Likewise.
29638 * misc/sys/syslog.h: Likewise.
29639 * socket/bits/socket2.h: Likewise.
29640 * socket/sys/socket.h: Likewise.
29641 * debug/tst-chk1.c: Likewise.
29642 * wcsmbs/bits/wchar2.h: Likewise.
29643 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29644 * wcsmbs/wchar.h: Likewise.
29646 2012-04-29 Andreas Jaeger <aj@suse.de>
29648 * Makerules (tests): Remove enable-check-abi protection.
29649 (check-abi-warn): Remove.
29650 (check-abi-%): Remove check-abi-warn usage.
29652 * configure.in: Remove check-abi configure option.
29653 * configure: Regenerated.
29654 * config.make.in (enable-check-abi): Remove.
29656 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29659 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29660 double functions to double *_finite functions.
29663 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29664 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29666 * stdio-common/Makefile (tests): Add tst-sprintf3.
29667 * stdio-common/tst-sprintf3.c: New file.
29669 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29670 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29672 2012-04-28 Joseph Myers <joseph@codesourcery.com>
29674 * conform/conformtest.pl: Remove duplicate typed-constant
29677 2012-04-28 David S. Miller <davem@davemloft.net>
29679 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29680 (check-abi-%): Remove AWK script prerequisite and explicit
29682 (check-abi): Rewrite to just diff the symlist with the abilist.
29683 (config-tls, config-abi-config): Delete, no longer used.
29684 (update-abi-%): Remove AWK script and explicit abilist directory.
29685 (update-abi): Rewrite to simply compare and conditionally copy the
29686 symlist and the sysdep abilist file. Remove update-abi-config
29688 * abilist/ld.abilist: Remove.
29689 * abilist/libBrokenLocale.abilist: Remove.
29690 * abilist/libanl.abilist: Remove.
29691 * abilist/libcrypt.abilist: Remove.
29692 * abilist/libdl.abilist: Remove.
29693 * abilist/librt.abilist: Remove.
29694 * abilist/libthread_db.abilist: Remove.
29695 * abilist/libutil.abilist: Remove.
29696 * scripts/extract-abilist.awk: Remove.
29697 * scripts/merge-abilist.awk: Remove.
29698 * sysdeps/generic/libcidn.abilist: New file.
29699 * sysdeps/generic/libnss_compat.abilist: New file.
29700 * sysdeps/generic/libnss_db.abilist: New file.
29701 * sysdeps/generic/libnss_dns.abilist: New file.
29702 * sysdeps/generic/libnss_files.abilist: New file.
29703 * sysdeps/generic/libnss_hesiod.abilist: New file.
29704 * sysdeps/generic/libnss_nis.abilist: New file.
29705 * sysdeps/generic/libnss_nisplus.abilist: New file.
29706 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29707 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29708 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29710 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29711 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29712 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29713 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29714 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29715 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29716 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29717 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29718 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29720 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29721 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29722 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29723 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29725 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29726 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29727 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29728 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29729 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29730 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29732 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29733 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29734 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29736 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29839 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29840 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29841 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29844 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29845 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29846 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29847 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29848 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29849 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29850 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29851 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29852 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29904 2012-04-28 Joseph Myers <joseph@codesourcery.com>
29906 * conform/conformtest.pl: Fix typo in handling typed-constant from
29909 2012-04-27 Joseph Myers <joseph@codesourcery.com>
29911 * README: Cut down references to pre-2.6 Linux kernels and
29912 Linuxthreads. Update lists of configurations in libc and ports
29913 and sort alphabetically. Say "or newer" with Linux kernel version
29916 * config.h.in [IS_IN_build]: Allow compiling without optimization.
29918 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29921 * math/libm-test.inc (logb_test_downward): New test to expose
29922 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29925 2012-04-27 Joseph Myers <joseph@codesourcery.com>
29928 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29930 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29931 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29933 2012-04-26 Joseph Myers <joseph@codesourcery.com>
29935 * sysdeps/unix/i386/brk.S: Remove file.
29936 * sysdeps/unix/i386/dl-brk.S: Likewise.
29937 * sysdeps/unix/i386/pipe.S: Likewise.
29938 * sysdeps/unix/i386/sigreturn.S: Likewise.
29939 * sysdeps/unix/i386/syscall.S: Likewise.
29940 * sysdeps/unix/i386/vfork.S: Likewise.
29941 * sysdeps/unix/i386/wait.S: Likewise.
29943 * sysdeps/unix/common/tcsendbrk.c: Move to ...
29944 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29946 * configure.in (arm*-none*): Do not allow without
29947 --enable-hacker-mode.
29948 (netbsd*): Remove case setting base_os.
29949 (386bsd*): Likewise.
29950 (freebsd*): Likewise.
29953 (sunos*): Likewise.
29954 (ultrix*): Likewise.
29955 (newsos*): Likewise.
29956 (dynix*): Likewise.
29962 (minix*): Likewise.
29963 (irix4*): Likewise.
29964 (irix6*): Likewise.
29965 (solaris[2-9]*): Likewise.
29967 * configure: Regenerated.
29969 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29972 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
29973 overflow or cancellation in calculating denominator.
29974 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
29975 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
29976 down expression to avoid unexpected rounding in newer GCCs.
29977 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
29979 2012-04-26 David S. Miller <davem@davemloft.net>
29981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
29982 long-double compat symbols.
29983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
29987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
29989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
29990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
29991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
29992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
29994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
29995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29997 2012-04-25 David S. Miller <davem@davemloft.net>
29999 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30000 HWCAP_* values only after the memory barriers have been defined.
30001 (atomic_full_barrier): Define.
30002 (atomic_read_barrier): Define.
30003 (atomic_write_barrier): Define.
30005 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30007 * shlib-versions: Add libgcc_s version information.
30008 * sysdeps/generic/libgcc_s.h: Remove.
30009 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30011 * sysdeps/gnu/unwind-resume.c: Likewise.
30012 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30014 2012-04-25 David S. Miller <davem@davemloft.net>
30016 * sysdeps/unix/sparc/brk.S: Delete.
30017 * sysdeps/unix/sparc/dl-brk.S: Delete.
30018 * sysdeps/unix/sparc/pipe.S: Delete.
30019 * sysdeps/unix/sparc/sysdep.S: Delete.
30020 * sysdeps/unix/sparc/sysdep.h: Delete.
30021 * sysdeps/unix/sparc/vfork.S: Delete.
30022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30023 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30025 ret_ERRVAL, r0, r1, MOVE): Define.
30026 (JUMPTARGET): Remove.
30027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30028 sysdeps/unix/sparc/sysdep.h
30029 (ENTRY, END): Remove.
30030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30032 2012-04-25 Joseph Myers <joseph@codesourcery.com>
30034 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30035 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30038 * timezone/README: Update upstream location and email address for
30040 * timezone/zdump.c: Update from tzcode 2012b.
30041 * timezone/zic.c: Likewise.
30043 * configure.in (libc_cv_as_needed): Remove test.
30044 * configure: Regenerated.
30045 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30046 conditional definition.
30047 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30048 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30049 * config.make.in (have-as-needed): Remove variable.
30051 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30052 Paul Pluzhnikov <ppluzhnikov@google.com>
30054 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30057 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30059 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30060 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30061 * sysdeps/sh/strlen.S: Likewise.
30063 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30065 * sysdeps/unix/fork.S: Remove file.
30066 * sysdeps/unix/i386/fork.S: Likewise.
30067 * sysdeps/unix/sparc/fork.S: Likewise.
30069 * sysdeps/unix/system.c: Remove file.
30070 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30072 * sysdeps/unix/getegid.S: Remove file.
30073 * sysdeps/unix/geteuid.S: Likewise.
30075 2012-04-24 Roland McGrath <roland@hack.frob.com>
30077 * scripts/check-localplt.awk: New file.
30078 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30080 * scripts/data/localplt-generic.data: Add a comment.
30082 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30083 NODE when __dir_mkfile failed.
30084 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30085 Reported by Ludovic Courtès <ludo@gnu.org>.
30087 2012-04-24 Andreas Jaeger <aj@suse.de>
30089 * Makerules (common-clean): Also remove gen-as-const-headers
30092 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30094 * Makerules (native-compile): Do not change working directory for
30095 build. Use $(OUTPUT_OPTION) in command.
30096 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30098 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30101 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30102 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30103 * math/libm-test.inc (floor_test): Add more tests.
30104 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30106 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30108 * sysdeps/unix/getdents.c: Remove file.
30109 * sysdeps/unix/sysv/getdents.c: Likewise.
30110 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30112 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30113 sysdeps/unix/mman/syscalls.list.
30115 (mprotect): Likewise.
30117 (munmap): Likewise.
30118 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30119 * sysdeps/unix/mman/syscalls.list: Remove.
30120 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30122 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30123 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30124 * configure: Regenerated.
30125 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30126 $(libgcc_s_suffix).
30127 * config.make.in (libgcc_s_suffix): Remove variable.
30129 2012-04-23 Joseph Myers <joseph@codesourcery.com>
30131 * sysdeps/unix/sysv/gethostname.c: Move to ...
30132 * sysdeps/posix/gethostname.c: ... here.
30134 * sysdeps/unix/execve.S: Remove file.
30136 * sysdeps/unix/_exit.S: Remove file.
30138 2012-04-23 Andreas Jaeger <aj@suse.de>
30141 * manual/Makefile: Remove make dist support, there's no
30142 need for a stand-alone documentation tar ball.
30143 (TEXI2DVI): Define always, it's not in Makeconfig.
30146 (edition): Removed.
30147 (glibc-doc-$(edition).tar): Removed
30151 (ETAGS): Remove, it's in Makeconfig.
30152 (move-if-change): Remove, it's in Makeconfig.
30154 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30157 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30158 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30159 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30160 (strtod_l, strtof_l, strtold_l): Remove __wur.
30161 It is not necessarily an error to ignore strtol's return value.
30162 One can reliably look at the stored endptr to decide whether
30163 the number had valid syntax.
30165 2012-04-21 Andreas Jaeger <aj@suse.de>
30168 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30170 2012-04-21 Joseph Myers <joseph@codesourcery.com>
30172 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30173 * sysdeps/unix/sysv/Versions: Remove file.
30175 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30180 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
30183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30184 version from __vm86.
30186 2012-04-20 Joseph Myers <joseph@codesourcery.com>
30188 * sysdeps/unix/common/lxstat.c: Remove file.
30189 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30191 * sysdeps/unix/sysv/Makefile: Remove file.
30193 * sysdeps/unix/sysv/direct.h: Remove file.
30195 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30196 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30197 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30198 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30199 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30200 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30201 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30203 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30205 * sysdeps/unix/xmknod.c: Remove file.
30206 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30208 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30210 * sysdeps/unix/sysv/i386/time.S: Remove file.
30212 * sysdeps/unix/fxstat.c: Remove file.
30213 * sysdeps/unix/xstat.c: Likewise.
30214 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30216 * sysdeps/unix/sysv/sigaction.c: Remove file.
30218 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30219 (sysdep_headers): Remove variable.
30220 [termio.h not in sysdep_headers] (generated): Likewise.
30221 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30222 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30223 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30224 * sysdeps/unix/sysv/tcflow.c: Likewise.
30225 * sysdeps/unix/sysv/tcflush.c: Likewise.
30226 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30227 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30228 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30229 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30230 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30232 * sysdeps/unix/siglist.c: Remove file.
30234 * sysdeps/unix/getppid.S: Remove file.
30236 * sysdeps/unix/mkdir.c: Remove file.
30237 * sysdeps/unix/rmdir.c: Likewise.
30239 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30241 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30243 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30244 errlist-compat value.
30246 2012-04-18 David S. Miller <davem@davemloft.net>
30248 * sysdeps/generic/memcopy.h (reg_char): Delete.
30249 * debug/strcat_chk.c: Use char, not reg_char.
30250 * debug/strcpy_chk.c: Likewise.
30251 * debug/strncat_chk.c: Likewise.
30252 * debug/strncpy_chk.c: Likewise.
30253 * string/memchr.c: Likewise.
30254 * string/memrchr.c: Likewise.
30255 * string/rawmemchr.c: Likewise.
30256 * string/strcat.c: Likewise.
30257 * string/strchr.c: Likewise.
30258 * string/strchrnul.c: Likewise.
30259 * string/strcmp.c: Likewise.
30260 * string/strcpy.c: Likewise.
30261 * string/strncat.c: Likewise.
30262 * string/strncmp.c: Likewise.
30263 * string/strncpy.c: Likewise.
30265 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30267 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30268 __builtin_memcopy is called when src and dest ranges are known to not
30271 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30273 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30274 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30275 fwd_align_merge macro call.
30276 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30277 bwd_align_merge macro call.
30278 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30280 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30282 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30283 bwd_align_merge macros.
30284 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30285 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30286 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30288 2012-04-18 David S. Miller <davem@davemloft.net>
30290 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30292 2012-04-18 Andreas Jaeger <aj@suse.de>
30295 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30296 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30297 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30299 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30300 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30303 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30304 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30305 Adjust for changed ldbl-128 files.
30307 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30308 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30309 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30311 2012-04-17 David S. Miller <davem@davemloft.net>
30313 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30315 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30317 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30318 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30319 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30320 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30321 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30322 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30324 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30327 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30328 * math/libm-test.inc: Add ilogb errno and exception tests.
30329 * math/w_ilogb.c: New file: ilogb wrapper.
30330 * math/w_ilogbf.c: New file: ilogbf wrapper.
30331 * math/w_ilogbl.c: New file: ilogbl wrapper.
30332 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30333 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30334 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30335 exception being thrown with 0.0 as argument.
30336 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30337 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30338 exception being thrown with 0.0 as argument.
30339 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30340 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30341 exception being thrown with 0.0 as argument.
30342 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30343 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30344 exception being thrown with 0.0 as argument.
30345 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30346 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30347 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30348 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30349 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30350 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30351 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30352 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30353 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30355 2012-04-17 Petr Baudis <pasky@ucw.cz>
30357 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30360 2012-04-16 Marek Polacek <polacek@redhat.com>
30362 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30364 2012-04-16 Marek Polacek <polacek@redhat.com>
30366 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30367 operands of fdivp instruction.
30369 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30371 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30372 * elf/tst-auditmod3b.c: Likewise.
30373 * elf/tst-auditmod4b.c: Likewise.
30374 * elf/tst-auditmod5b.c: Likewise.
30375 * elf/tst-auditmod6b.c: Likewise.
30376 * elf/tst-auditmod6c.c: Likewise.
30377 * elf/tst-auditmod7b.c: Likewise.
30378 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30379 * sysdeps/x86_64/preconfigure.in: Likewise.
30380 * sysdeps/x86_64/preconfigure: Regenerated.
30382 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30384 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30387 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
30389 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30390 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30392 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30395 * locale/iso-639.def: Fix gl language name. Spotted by
30398 2012-04-12 Roland McGrath <roland@hack.frob.com>
30401 * libio/libio.h (__io_write_fn): Update comment.
30403 2012-04-12 Petr Baudis <pasky@ucw.cz>
30406 * stdio.texi (Hook Functions): The user provided writer function
30407 is not allowed to return -1.
30409 2012-04-11 David S. Miller <davem@davemloft.net>
30411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30413 2012-04-11 Mike Frysinger <vapier@gentoo.org>
30415 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30416 Add a leading slash to rtkaio.
30418 2012-04-11 Jim Meyering <meyering@redhat.com>
30421 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30422 It is not necessarily an error to ignore fwrite's return
30423 value. One can reliably use ferror to test for errors after
30426 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30428 * bits/types.h (__snseconds_t): New type.
30429 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30431 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30433 (__SNSECONDS_T_TYPE): Likewise.
30434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30435 (__SNSECONDS_T_TYPE): Likewise.
30436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30437 (__SNSECONDS_T_TYPE): Likewise.
30439 2012-04-10 Andreas Jaeger <aj@suse.de>
30442 * manual/time.texi (Processor Time): Return type of times is
30443 elapsed real time since an arbitrary point in the past.
30444 (CPU Time): Move CLK_TCK from here...
30445 (Processor Time): ...to here. Correct description.
30446 * manual/conf.texi (Constants for Sysconf): Correct description of
30449 2012-04-10 David S. Miller <davem@davemloft.net>
30452 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30453 where the is a gap between DT_REL(A) and DT_JMPREL.
30455 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30457 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30458 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30459 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30461 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30463 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30464 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30465 (dl_main): Handle --inhibit-cache.
30466 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30468 * elf/dl-load.c (_dl_map_object): Use it.
30469 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30471 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30474 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30475 (__ieee754_powl): Saturate large exponents rather than testing for
30476 overflow of y*log2(x).
30477 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30478 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30482 * math/s_ctan.c: Include <float.h>.
30483 (__ctan): Avoid internal overflow or cancellation in calculating
30485 * math/s_ctanf.c: Likewise.
30486 * math/s_ctanl.c: Likewise.
30487 * math/s_ctanh.c: Likewise.
30488 * math/s_ctanhf.c: Likewise.
30489 * math/s_ctanhl.c: Likewise.
30490 * math/libm-test.inc (ctan_test): Add more tests.
30491 (ctanh_test): Likewise.
30492 * sysdeps/i386/fpu/libm-test-ulps: Update.
30493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30495 2012-04-09 Andreas Jaeger <aj@suse.de>
30498 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30499 is an optional BSD extension.
30502 * manual/stdio.texi (Opening Streams): Document additional fopen
30505 2012-04-09 Roland McGrath <roland@hack.frob.com>
30507 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30508 %eax without telling the compiler.
30510 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30513 * manual/install.texi: Use sourceware.org.
30515 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30518 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30519 (__ieee754_pow): Generate overflow and underflow using huge*huge
30520 and tiny*tiny rather than just returning constant infinity or zero
30521 for large exponents.
30522 * math/libm-test.inc (pow_test): Require overflow exceptions for
30523 applicable cases of large exponents.
30526 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30527 (__ieee754_pow): Use iterative multiplication algorithm only for
30528 integer exponents with absolute value below 1024. Check for odd
30529 integer exponents when using algorithm for real exponents.
30530 * math/libm-test.inc (pow_test): Add more tests.
30531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30533 2012-04-08 Joseph Myers <joseph@codesourcery.com>
30536 * math/libm-test.inc (exp_test): Do not allow overflow exception
30539 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30542 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30543 instead of __kernel_standard_f.
30545 2012-04-08 Mike Frysinger <vapier@gentoo.org>
30547 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30548 * sysdeps/x86_64/memset_chk.S: Likewise.
30550 2012-04-08 Andreas Jaeger <aj@suse.de>
30553 * manual/startup.texi (Environment Access): Describe return value
30554 for putenv and setenv.
30557 * manual/filesys.texi (Directory Entries): Add description for
30561 * manual/filesys.texi (Directory Entries): Clarify that it's file
30562 system not operating system in the description of DT_UNKNOWN.
30565 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30567 2012-04-08 Stephen Compall <s11@member.fsf.org>
30570 * manual/llio.texi (Opening and Closing Files): Add cross
30571 reference to explain mode argument.
30573 2012-04-07 Mike Frysinger <vapier@gentoo.org>
30575 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30576 * sysdeps/x86_64/memset_chk.S: Likewise.
30578 2012-04-07 David S. Miller <davem@davemloft.net>
30580 * elf/elf.h (R_SPARC_WDISP10): Define.
30581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30583 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30584 R_SPARC_SIZE64 and R_SPARC_H34.
30586 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30588 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30589 conditions and remove no longer applicable assertion.
30591 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30593 * bits/byteswap.h: Include <features.h>.
30594 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30595 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30597 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30599 * bits/byteswap.h (__bswap_16): Removed.
30600 Include <bits/byteswap-16.h> to get __bswap_16.
30601 * sysdeps/i386/bits/byteswap.h: Likewise.
30602 * sysdeps/s390/bits/byteswap.h: Likewise.
30603 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30604 * bits/byteswap-16.h: New file.
30605 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30606 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30607 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30608 * string/Makefile (headers): Add bits/byteswap-16.h.
30610 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30613 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30615 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30616 * nss/tst-nss-static.c: New.
30618 2012-04-06 Robert Millan <rmh@gnu.org>
30621 * manual/llio.texi (File Position Primitive): lseek
30622 refers to WHENCE when it really means OFFSET.
30624 2012-04-06 Andreas Jaeger <aj@suse.de>
30626 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30627 strncmp declarations.
30629 * abilist/libc.abilist: Add __poll and __ppoll.
30631 2012-04-05 David S. Miller <davem@davemloft.net>
30633 * scripts/check-local-headers.sh: Accept a host triplet in the
30634 path matched by the exclude regexp.
30636 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30638 * sysdeps/powerpc/powerpc32/dl-machine.h
30639 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30640 * sysdeps/s390/s390-32/dl-machine.h
30641 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30642 * sysdeps/sparc/sparc32/dl-machine.h
30643 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30644 * sysdeps/sparc/sparc64/dl-machine.h
30645 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30647 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30649 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30650 undefined symbol errors.
30652 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30655 2012-04-05 Michael Matz <matz@suse.de>
30658 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30660 2012-04-05 Andreas Jaeger <aj@suse.de>
30663 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30666 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30668 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30669 which ROUND is no valid rounding mode.
30671 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30673 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30675 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30677 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30679 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30680 an exception using FPU order intentionally.
30682 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30684 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30685 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30686 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30687 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30689 2012-04-05 Simon Josefsson <simon@josefsson.org>
30692 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30693 EINVAL when BUFLEN is too smal.
30695 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30698 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30699 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30701 2012-04-03 Andreas Jaeger <aj@suse.de>
30704 * manual/setjmp.texi (System V contexts): Fix sentence.
30707 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30708 New macro for this case.
30709 [!__GNUC__] (__bswap_64): New inline function for this case.
30710 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30711 * bits/byteswap.h: Likewise.
30712 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30713 ull, guard with __GLIBC_HAVE_LONG_LONG.
30715 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30716 __GLIBC_HAVE_LONG_LONG.
30718 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30719 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30721 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30724 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30725 inptr and inend, rather than using last_ch.
30727 2012-04-02 David S. Miller <davem@davemloft.net>
30729 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30730 * stdio-common/printf-parse.h (read_int): Change return type to
30731 'int', return -1 on INT_MAX overflow.
30732 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30733 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30734 overflows INT_MAX. Check for overflow of in-format-string precision
30735 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30736 SIZE_MAX not INT_MAX for integer overflow test.
30737 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30738 skip the construct in the format string but do not record anything.
30739 * stdio-common/bug22.c: Adjust to test both width/prevision
30740 INT_MAX overflow as well as total length INT_MAX overflow. Check
30741 explicitly for proper errno values.
30743 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30745 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30747 * string/test-strcmp.c [! WIDE]: Likewise.
30748 * time/tst-mktime2.c: Likewise for INT_MAX.
30749 * string/test-string.h: #include <sys/param.h> for MIN.
30751 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30752 * sysdeps/i386/init-first.c (init): Likewise.
30753 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30754 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30755 * sysdeps/sh/init-first.c (init): Likewise.
30757 2012-04-01 Ulrich Drepper <drepper@gmail.com>
30759 * po/ru.po: Update from translation team.
30760 * po/vi.po: Likewise.
30762 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30764 * resolv/nss_dns/dns-host.c: Merge copyright years.
30766 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30768 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30769 Optimize memcpy with prefetch if
30770 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30771 src, dst pointers have unequal 16 byte alignments.
30773 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30776 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30777 from a CNAME entry and return the minimum ttl for the query.
30778 (gaih_getanswer_slice): Likewise.
30780 2012-03-30 Jeff Law <law@redhat.com>
30782 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30784 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30785 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30787 * resolv/nss_dns/dns-host.c: Update copyright year.
30789 2012-03-30 Ulrich Drepper <drepper@gmail.com>
30791 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30792 requests to save a system call. Fix check that all bytes are sent.
30794 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30795 comments for sendmmsg.
30797 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30800 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30801 with only 1 character between 0x0041 and 0x01b0.
30802 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30803 * wcsmbs/tst-mbsnrtowcs.c: New file.
30805 2012-03-29 David S. Miller <davem@davemloft.net>
30807 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30808 small copies by hand.
30810 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30813 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30814 _nss_compat_initgroups_dyn): Fall back to malloc/free
30815 for large group memberships.
30817 2012-03-28 David S. Miller <davem@davemloft.net>
30819 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30820 that branches into memcpy.
30821 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30822 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30823 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30824 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30827 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30828 implementation too.
30829 * sysdeps/sparc/mempcpy.S: New file.
30831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30832 the IFUNC routine in the libc case.
30833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30835 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30836 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30837 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30838 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30839 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30840 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30841 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30842 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30844 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30845 loop to 256 bytes instead of 64 bytes and fix test signedness.
30847 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30848 * sysdeps/sparc/sparc32/Makefile: rather than here...
30849 * sysdeps/sparc/sparc64/Makefile: and here.
30851 2012-03-28 Ulrich Drepper <drepper@gmail.com>
30853 * malloc/mallocbug.c: Avoid warnings about unused variables.
30855 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30858 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30859 in the right place. Discard and retry query if response is
30860 larger than input buffer size.
30862 2012-03-28 Joseph Myers <joseph@codesourcery.com>
30867 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30868 x for large integer exponent.
30869 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30870 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
30871 sign of result as needed afterwards.
30872 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30873 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30874 result for underflowing pow the same as for overflow.
30875 (__kernel_standard_l): Handle powl overflow and underflow here
30876 rather than calling __kernel_standard.
30877 * math/libm-test.inc (pow_test): Add more tests.
30892 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30893 * sysdeps/ieee754/k_standard.c: Include <float.h>.
30894 (__kernel_standard_l): New function.
30895 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30897 * math/w_acosl.c (__acosl): Likewise.
30898 * math/w_asinl.c (__asinl): Likewise.
30899 * math/w_atan2l.c (__atan2l): Likewise.
30900 * math/w_atanhl.c (__atanhl): Likewise.
30901 * math/w_coshl.c (__coshl): Likewise.
30902 * math/w_exp10l.c (__exp10l): Likewise.
30903 * math/w_exp2l.c (__exp2l): Likewise.
30904 * math/w_fmodl.c (__fmodl): Likewise.
30905 * math/w_hypotl.c (__hypotl): Likewise.
30906 * math/w_j0l.c (__j0l, __y0l): Likewise.
30907 * math/w_j1l.c (__j1l, __y1l): Likewise.
30908 * math/w_jnl.c (__jnl, __ynl): Likewise.
30909 * math/w_lgammal.c (__lgammal): Likewise.
30910 * math/w_log10l.c (__log10l): Likewise.
30911 * math/w_log2l.c (__log2l): Likewise.
30912 * math/w_logl.c (__logl): Likewise.
30913 * math/w_powl.c (__powl): Likewise.
30914 * math/w_remainderl.c (__remainderl): Likewise.
30915 * math/w_scalbl.c (sysv_scalbl): Likewise.
30916 * math/w_sinhl.c (__sinhl): Likewise.
30917 * math/w_sqrtl.c (__sqrtl): Likewise.
30918 * math/w_tgammal.c (__tgammal): Likewise.
30919 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30920 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30921 * math/libm-test.inc (acos_test): Add more tests.
30922 (acosh_test): Likewise.
30923 (asin_test): Likewise.
30924 (atanh_test): Likewise.
30925 (exp_test): Likewise.
30926 (exp10_test): Likewise.
30927 (exp2_test): Likewise.
30928 (expm1_test): Likewise.
30929 (lgamma_test): Likewise.
30930 (log_test): Likewise.
30931 (log10_test): Likewise.
30932 (log1p_test): Likewise.
30933 (log2_test): Likewise.
30934 (pow_test): Do not allow some spurious overflow exceptions.
30935 (sqrt_test): Add more tests.
30936 (tgamma_test): Likewise.
30937 (y0_test): Likewise.
30938 (y1_test): Likewise.
30939 (yn_test): Likewise.
30941 2012-03-27 Anton Blanchard <anton@samba.org>
30943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30945 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30946 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30947 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30949 2012-03-27 David S. Miller <davem@davemloft.net>
30951 * conform/Makefile: Run run-conformtest.sh using $(BASH).
30953 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30954 have-as-vis3 check.
30956 2012-03-27 Andreas Jaeger <aj@suse.de>
30958 * sysdeps/x86_64/elf/configure.in: Moved to ...
30959 * sysdeps/x86_64/configure.in: ... here.
30960 * sysdeps/x86_64/elf/start.S: Moved to ...
30961 * sysdeps/x86_64/start.S: ... here.
30962 * sysdeps/x86_64/elf/configure: Delete.
30964 * sysdeps/x86_64/configure.in: Merge contents from
30965 sysdeps/i386/configure.in (without i686 check).
30967 * sysdeps/i386/elf/Versions: Merge into ...
30968 * sysdeps/i386/Versions: ... this.
30969 * sysdeps/i386/elf/Versions: Delete file.
30970 * sysdeps/i386/elf/start.S: Moved to ...
30971 * sysdeps/i386/start.S: ...here.
30972 * sysdeps/i386/elf/configure.in: Merge into...
30973 * sysdeps/i386/configure.in: ...here.
30974 * sysdeps/i386/elf/configure.in: Delete file.
30975 * sysdeps/i386/elf/configure: Delete file.
30977 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30978 * debug/backtracesyms.c: ... here.
30979 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
30980 * debug/backtracesymsfd.c: ... here.
30981 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
30982 * sysdeps/generic/ifunc-sel.h: ... here.
30984 * sysdeps/unix/i386/start.c: Delete file.
30985 * sysdeps/unix/sparc/start.c: Delete file.
30986 * sysdeps/unix/start.c: Delete file.
30988 * sysdeps/sh/elf/configure.in: Moved to ...
30989 * sysdeps/sh/configure.in: ... here.
30990 * sysdeps/sh/elf/start.S: Moved to ...
30991 * sysdeps/sh/start.S: ... here.
30992 * sysdeps/sh/elf/configure: Delete file.
30994 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
30995 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
30996 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
30997 * sysdeps/powerpc/powerpc64/entry.h: ... here.
30998 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
30999 * sysdeps/powerpc/powerpc64/start.S: here.
31000 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31001 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31002 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31003 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31004 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31006 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31007 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31008 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31009 * sysdeps/powerpc/powerpc32/start.S: ... here.
31010 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31011 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31012 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31014 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31015 * sysdeps/powerpc/ifunc-sel.h: ... here.
31016 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31017 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31019 * sysdeps/sparc/elf/configure.in: Moved to ...
31020 * sysdeps/sparc/configure.in: ... here.
31021 * sysdeps/sparc/elf/configure: Delete file.
31022 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31023 * sysdeps/sparc/sparc32/start.S: ... here.
31024 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31025 * sysdeps/sparc/sparc64/start.S: ... here.
31026 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31027 * sysdeps/sparc/sparc32/Makefile: ... this.
31028 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31029 * sysdeps/sparc/sparc64/Makefile: ... this.
31031 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31032 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31033 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31034 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31035 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31036 * sysdeps/s390/s390-32/setjmp.S: ... here.
31037 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31038 * sysdeps/s390/s390-32/configure.in: ... here.
31039 * sysdeps/s390/s390-32/elf/configure: Delete file.
31040 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31041 * sysdeps/s390/s390-32/start.S: ... here.
31043 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31044 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31045 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31046 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31047 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31048 * sysdeps/s390/s390-64/setjmp.S: ... here.
31049 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31050 * sysdeps/s390/s390-64/configure.in: ... here
31051 * sysdeps/s390/s390-64/elf/configure: Delete file.
31052 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31053 * sysdeps/s390/s390-64/start.S: ... here.
31054 * sysdeps/s390/s390-64/elf/configure: Delete.
31056 * configure.in: Remove support for elf directories in sysdeps.
31058 * configure: Regenerated.
31059 * sysdeps/i386/configure: Regenerated.
31060 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31061 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31062 * sysdeps/s390/s390-32/configure: Regenerated.
31063 * sysdeps/s390/s390-64/configure: Regenerated.
31064 * sysdeps/sh/configure: Regenerated.
31065 * sysdeps/sparc/configure: Regenerated.
31066 * sysdeps/x86_64/configure: Regenerated.
31068 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31072 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31073 denormal result into account.
31075 2012-03-25 Roland McGrath <roland@hack.frob.com>
31077 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31078 Reported by Allan McRae <allan@archlinux.org>.
31080 2012-03-23 Jeff Law <law@redhat.com>
31082 * nss/getnssent.c (__nss_getent): Fix typo.
31084 2012-03-23 David S. Miller <davem@davemloft.net>
31086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31088 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31090 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31091 to pad to uint64_t for each field.
31092 (dl_tls_index): Replace unsigned long with uint64_t.
31094 2012-03-23 Daniel Jacobowitz <dmj@google.com>
31095 Paul Pluzhnikov <ppluzhnikov@google.com>
31098 * grp/Makefile (otherlibs): Don't set it.
31099 * inet/Makefile (otherlibs): Likewise.
31100 * login/Makefile (otherlibs): Likewise.
31101 * nscd/Makefile (otherlibs): Likewise.
31102 * posix/Makefile (otherlibs): Likewise.
31103 * pwd/Makefile (otherlibs): Likewise.
31104 * rt/Makefile (otherlibs): Likewise.
31105 * sunrpc/Makefile (otherlibs): Likewise.
31106 * nss/Makefile (otherlibs): Likewise.
31107 Add libnss_files to routines and static-only-routines.
31108 ($(objpfx)getent): Remove rule.
31109 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31110 static-only-routines.
31112 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31115 * math/s_cexp.c: Include <float.h>.
31116 (__cexp): Handle exp result overflowing not necessarily
31117 overflowing both real and imaginary parts of result.
31118 * math/s_cexpf.c: Likewise.
31119 * math/s_cexpl.c: Likewise.
31120 * math/libm-test.inc (cexp_test): Add more tests.
31121 * sysdeps/i386/fpu/libm-test-ulps: Update.
31122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31124 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31126 * include/link.h (ELFW): New macro.
31127 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31128 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31130 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31132 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31135 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31137 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31139 (struct La_x32_retval): Likewise.
31141 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31143 * sysdeps/x86_64/preconfigure.in: New file.
31144 * sysdeps/x86_64/preconfigure: New generated file.
31146 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31149 * math/e_exp2l.c: Include <float.h>.
31150 (__ieee754_exp2l): Handle overflow and underflow cases
31151 separately. Only pass fractional part of argument to
31153 * math/libm-test.inc (exp2_test): Add more tests.
31155 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31156 negating x to take absolute value.
31157 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31159 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31160 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31162 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31163 computing low part if x was negated.
31164 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31166 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31168 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31169 la_x32_gnu_pltexit.
31170 (pltexit): Cast int_retval to ptrdiff_t.
31171 * elf/tst-auditmod3b.c: Likewise.
31172 * elf/tst-auditmod4b.c: Likewise.
31173 * elf/tst-auditmod5b.c: Likewise.
31174 * elf/tst-auditmod6b.c: Likewise.
31175 * elf/tst-auditmod6c.c: Likewise.
31176 * elf/tst-auditmod7b.c: Likewise.
31178 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31179 and x32_gnu_pltexit.
31181 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31182 __ELF_NATIVE_CLASS.
31183 (La_x32_regs): New macro.
31184 (La_x32_retval): Likewise.
31185 (la_x32_gnu_pltenter): New function prototype.
31186 (la_x32_gnu_pltexit): Likewise.
31188 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31190 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31195 * configure.in (libc_cv_cc_nofma): Check for option to disable
31196 generation of FMA instructions.
31197 * configure: Regenerate.
31198 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31199 * sysdeps/ieee754/dbl-64/Makefile: New file.
31200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31201 Remove brandred-fma4.
31202 (CFLAGS-brandred-fma4.c): Remove.
31203 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31204 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31206 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31209 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31211 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31212 LLONG_MAX != LONG_MAX.
31213 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31214 (_fitoa_word): Likewise.
31215 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31216 LLONG_MAX != LONG_MAX.
31217 * stdio-common/_itowa.h: Include <_itoa.h>.
31218 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31219 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31220 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31221 only if not defined.
31222 (_ITOA_WORD_TYPE): Likewise.
31223 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31224 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31226 2012-03-21 David S. Miller <davem@davemloft.net>
31228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31230 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31232 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31233 of x86_64 when setting libc_cv_slibdir, libdir and
31235 * sysdeps/unix/sysv/linux/configure: Regenerated.
31237 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31239 * manual/lang.texi (Old Varargs): Remove section.
31240 (How Variadic): Update menu.
31241 (va_start): Do not mention varargs.h.
31243 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31244 Joseph Myers <joseph@codesourcery.com>
31246 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31248 * configure: Regenerated.
31250 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31252 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31253 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31256 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31259 * Makefile (files-for-dist): Remove NOTES.
31260 (NOTES): Remove rule.
31261 * README: Don't refer to NOTES.
31262 * manual/creature.texi: Don't include macros.texi.
31263 * manual/intro.texi (creature.texi): Remove comment referring to
31266 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31267 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31268 * configure: Regenerated.
31269 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31270 LIBC_TRY_CC_OPTION.
31271 (libc_cv_as_i686): Likewise.
31272 (libc_cv_cc_avx): Likewise.
31273 (libc_cv_cc_sse2avx): Likewise.
31274 (libc_cv_cc_fma4): Likewise.
31275 (libc_cv_cc_novzeroupper): Likewise.
31276 * sysdeps/i386/configure: Regenerated.
31279 * sysdeps/i386/fpu/s_cexp.S: Remove.
31280 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31281 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31282 * math/libm-test.inc (cexp_test): Add more tests.
31283 * sysdeps/i386/fpu/libm-test-ulps: Update.
31284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31286 2012-03-21 Allan McRae <allan@archlinux.org>
31288 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31290 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31293 * math/w_exp2.c: Do not include <float.h>.
31294 (o_threshold, u_threshold): Remove.
31295 (__exp2): Calculate result before checking finiteness and calling
31297 * math/w_exp2f.c: Likewise.
31298 * math/w_exp2l.c: Likewise.
31299 * math/libm-test.inc (exp2_test): Require overflow exception for
31303 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31304 range of signed 64-bit integers before using fistpll. Remove
31305 checks for whether integers fit in mantissa bits.
31306 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31307 the range of signed 32-bit integers before using fistpl. Remove
31308 checks for whether integers fit in mantissa bits.
31309 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31310 (__ieee754_powl): Test for y outside the range of signed 64-bit
31311 integers before using fistpll. Reduce 64-bit values to 63-bit
31313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31314 divide-by-zero is raised for zero to large negative powers.
31315 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31316 (__ieee754_powl): Test for y outside the range of signed 64-bit
31317 integers before using fistpll. Reduce 64-bit values to 63-bit
31319 * math/libm-test.inc (pow_test): Add more tests.
31321 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31323 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31324 <stdio-common/_itoa.h>.
31325 * debug/segfault.c: Likewise.
31326 * elf/dl-cache.c: Likewise.
31327 * elf/dl-minimal.c: Likewise.
31328 * elf/dl-misc.c: Likewise.
31329 * elf/dl-sysdep.c: Likewise.
31330 * elf/dl-version.c: Likewise.
31331 * elf/rtld.c: Likewise.
31332 * hurd/hurdsock.c: Likewise.
31333 * hurd/lookup-retry.c: Likewise.
31334 * malloc/malloc.c: Likewise.
31335 * malloc/mtrace.c: Likewise.
31336 * nscd/nscd_getgr_r.c: Likewise.
31337 * nscd/nscd_getpw_r.c: Likewise.
31338 * nscd/nscd_getserv_r.c: Likewise.
31339 * posix/getopt_init.c: Likewise.
31340 * posix/wordexp.c: Likewise.
31341 * stdio-common/_itoa.c: Likewise.
31342 * stdio-common/printf_fphex.c: Likewise.
31343 * stdio-common/vfprintf.c: Likewise.
31344 * string/_strerror.c: Likewise.
31345 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31346 * sysdeps/i386/i686/hp-timing.h: Likewise.
31347 * sysdeps/mach/_strerror.c: Likewise.
31348 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31349 * sysdeps/mach/hurd/sethostid.c: Likewise.
31350 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31351 * sysdeps/mach/xpg-strerror.c: Likewise.
31352 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31353 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31354 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31355 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31356 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31357 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31358 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31359 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31360 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31361 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31362 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31363 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31364 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31365 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31366 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31367 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31368 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31369 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31370 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31371 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31372 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31374 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31376 * stdio-common/_itoa.h: Moved to ...
31377 * sysdeps/generic/_itoa.h: Here.
31379 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31381 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31382 instead of "_itoa.h" and "_itowa.h".
31383 * stdio-common/vfprintf.: Likewise.
31385 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31387 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31389 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31390 (__signbit): Likwise.
31391 (llrintf): Likwise.
31394 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31396 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31399 2012-03-20 Joseph Myers <joseph@codesourcery.com>
31401 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31402 OVERFLOW_EXCEPTION_OK.
31403 * math/libm-test.inc ("Philosophy"): Update comment about
31405 (OVERFLOW_EXCEPTION): Define.
31406 (OVERFLOW_EXCEPTION_OK): Likewise.
31407 (INVALID_EXCEPTION_OK): Renumber.
31408 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31409 (IGNORE_ZERO_INF_SIGN): Likewise.
31410 (test_exceptions): Handle FE_OVERFLOW.
31411 (exp10_test): Expect overflow exceptions.
31412 (exp2_test): Likewise.
31413 (expm1_test): Likewise.
31414 (nextafter_test): Likewise.
31415 (pow_test): Likewise.
31416 (scalbn_test): Likewise.
31417 (scalbln_test): Likewise.
31419 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31421 * sysdeps/x86_64/bits/atomic.h
31422 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31424 (atomic_exchange_acq): Likewise.
31425 (__arch_exchange_and_add_body): Likewise.
31426 (__arch_add_body): Likewise.
31427 (atomic_add_negative): Likewise.
31428 (atomic_add_zero): Likewise.
31430 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31432 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31433 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31435 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31437 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31438 Check __x86_64__ instead of __WORDSIZE.
31440 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31442 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31444 2012-03-19 David S. Miller <davem@davemloft.net>
31446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31448 * sysdeps/sparc/fpu/fenv_private.h: New file.
31449 * sysdeps/sparc/fpu/math_private.h: Use it.
31450 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31452 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31453 (libc_feholdexcept_setroundl): Remove.
31454 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31456 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31457 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31459 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31461 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31462 int64_t instead of long int.
31463 (INSERT_WORDS64): Likwise.
31465 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31467 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31468 _Unwind_GetCFA return to _Unwind_Ptr first.
31470 2012-03-19 Joseph Myers <joseph@codesourcery.com>
31473 * math/s_clog.c: Include <float.h>.
31474 (__clog): Scale large or subnormal inputs.
31475 * math/s_clogf.c: Likewise.
31476 * math/s_clogl.c: Likewise.
31477 * math/s_clog10.c: Include <float.h>.
31478 (M_LOG10_2): Define.
31479 (__clog10): Scale large or subnormal inputs.
31480 * math/s_clog10f.c: Likewise.
31481 * math/s_clog10l.c: Likewise.
31482 * math/libm-test.inc (clog_test): Add more tests.
31483 (clog10_test): Likewise.
31484 * sysdeps/i386/fpu/libm-test-ulps: Update.
31485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31488 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31490 * math/libm-test.inc (atan2_test): Add another test.
31492 * Makerules (common-objdir-compile): Remove.
31493 * sysdeps/unix/Makefile (config-generated): Do not add
31494 $(unix-generated) to variable.
31495 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31496 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31498 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31500 [generic bits/local_lim.h] (before-compile): Do not append to
31502 [generic bits/local_lim.h] (common-generated): Likewise.
31503 [generic sys/param.h] (before-compile): Do not append to variable.
31504 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31505 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31506 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31507 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31509 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31510 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31511 [generic sys/param.h] ($(addprefix
31512 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31513 [generic sys/param.h] (common-generated): Do not append to
31515 [generic sys/param.h] (sysdep_headers): Likewise.
31516 [generic bits/errno.h] (before-compile): Do not append to
31518 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31520 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31521 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31522 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31523 [generic bits/errno.h] (common-generated): Do not append to
31525 [generic bits/ioctls.h] (before-compile): Do not append to
31527 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31529 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31530 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31531 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31533 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31534 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31535 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31536 [generic bits/ioctls.h] (common-generated): Do not append to
31538 [generic sys/syscall.h] (syscall.h): Remove variable.
31539 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31541 [generic sys/syscall.h] (before-compile): Do not append to
31543 [generic sys/syscall.h] (common-generated): Likewise.
31544 * sysdeps/unix/errnos-tmpl.c: Remove file.
31545 * sysdeps/unix/errnos.awk: Likewise.
31546 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31547 * sysdeps/unix/ioctls.awk: Likewise.
31548 * sysdeps/unix/mk-local_lim.c: Likewise.
31549 * sysdeps/unix/snarf-ioctls: Likewise.
31551 2012-03-19 Richard Henderson <rth@twiddle.net>
31553 * sysdeps/i386/fpu/fenv_private.h: New file.
31554 * sysdeps/i386/fpu/math_private.h: Use it.
31555 (math_opt_barrier, math_force_eval): Remove.
31556 (libc_feholdexcept_setround_53bit): Remove.
31557 (libc_feupdateenv_53bit): Remove.
31558 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31559 (math_opt_barrier, math_force_eval): Remove.
31560 (libc_feholdexcept): Remove.
31561 (libc_feholdexcept_setround): Remove.
31562 (libc_fetestexcept, libc_fesetenv): Remove.
31563 (libc_feupdateenv_test): Remove.
31564 (libc_feupdateenv, libc_feholdsetround): Remove.
31565 (libc_feresetround): Remove.
31567 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31568 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31570 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31571 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31572 (libc_feupdateenv_testl): New.
31573 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31574 (libc_feupdateenv_testf): New.
31575 (libc_feupdateenv): Use libc_feupdateenv_test.
31576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31577 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31579 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31580 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31581 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31582 (libc_feresetround_noex): New.
31583 (libc_feresetround_noexf): New.
31584 (libc_feresetround_noexl): New.
31585 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31586 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31587 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31588 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31593 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31594 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31595 SET_RESTORE_ROUND_NOEX.
31596 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31597 SET_RESTORE_ROUND_NOEXF.
31598 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31599 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31600 (libc_feholdsetroundf): New.
31601 (libc_feresetround, libc_feresetroundf): New.
31603 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31604 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31605 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31607 * sysdeps/generic/math_private.h: Include <fenv.h>.
31608 (default_libc_feholdexcept): New.
31609 (default_libc_feholdexcept_setround): New.
31610 (default_libc_fesetenv, default_libc_feupdateenv): New.
31611 (libc_feholdexcept): Only define if undefined.
31612 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31613 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31614 (libc_feholdexcept_setroundl): Likewise.
31615 (libc_feholdexcept_setround_53bit): Likewise.
31616 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31617 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31618 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31619 (libc_feupdateenv_53bit): Likewise.
31620 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31621 (libc_feholdexcept): Convert from macro to inline function.
31622 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31623 (libc_fesetenv, libc_feupdateenv): Likewise.
31625 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31626 not previously defined.
31627 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31628 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31629 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31630 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31631 * sysdeps/ieee754/flt-32/math_private.h: New file.
31632 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31633 math_private.h below SET_FLOAT_WORD.
31634 (__isnan, __isinf_ns, __finite): Remove.
31635 (__isnanf, __isinf_nsf, __finitef): Remove.
31637 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31641 2012-03-17 David S. Miller <davem@davemloft.net>
31644 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31647 2012-03-16 David S. Miller <davem@davemloft.net>
31649 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31653 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31655 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31656 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31657 sysdep_routines when subdir is sysvipc.
31658 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31659 __getshmlba helper.
31661 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31663 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31665 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31668 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31670 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31671 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31672 (__lround): Renamed to ...
31673 (__llround): This. Replace long int with long long int.
31674 Define lround functions as aliases of llround functions.
31675 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31677 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31679 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31680 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31681 adresses to uintptr_t. Replace "long int" and "unsigned long
31682 int" with "greg_t" on va_arg.
31684 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31686 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31687 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31689 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31690 Move e_machine check before EI_CLASS check. Handle x32
31691 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31692 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31693 SKIP_EM_IA_64 and include
31694 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31696 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31697 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31698 (add_system_dir): New macro.
31700 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31701 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31703 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31714 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31716 * math/w_j0f.c (j0f): Likewise.
31718 * math/w_j0l.c (__j0l): Likewise.
31720 * math/w_j1.c (j1): Likewise.
31722 * math/w_j1f.c (j1f): Likewise.
31724 * math/w_j1l.c (__j1l): Likewise.
31726 * math/w_jn.c (jn): Likewise.
31728 * math/w_jnf.c (jnf): Likewise.
31730 * math/w_jnl.c (__jnl): Likewise.
31732 * math/libm-test.inc (j0_test): Add more tests.
31733 (j1_test): Likewise.
31734 (jn_test): Likewise. Add trailing semicolon to existing test.
31735 (y0_test): Likewise.
31736 (y1_test): Likewise.
31737 * sysdeps/i386/fpu/libm-test-ulps: Update.
31738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31742 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31743 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31744 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31745 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31746 (__tanl): Set errno for infinite argument.
31747 * sysdeps/i386/fpu/mptan.c: Remove.
31748 * sysdeps/i386/fpu/s_tan.S: Likewise.
31749 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31750 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31751 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31752 * math/libm-test.inc (tan_test): Add more tests and enable more
31753 tests for double and long double.
31754 * sysdeps/i386/fpu/libm-test-ulps: Update.
31755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31757 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31759 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31760 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31762 2012-03-16 Roland McGrath <roland@hack.frob.com>
31764 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31765 * configure.in: Use it for both main tree and add-ons.
31766 * configure: Regenerated.
31768 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31770 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31772 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31774 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31778 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31779 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31780 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31781 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31782 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31784 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31785 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31786 != 0 for prec == 2.
31787 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31788 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31789 * sysdeps/i386/fpu/s_cosl.S: Likewise.
31790 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31791 * sysdeps/i386/fpu/s_sinl.S: Likewise.
31792 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31793 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31794 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31795 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31796 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31797 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31798 * math/libm-test.inc (cos_test): Add more tests and enable more
31799 tests for long double.
31800 (sin_test): Likewise.
31801 (sincos_test): Likewise.
31802 * sysdeps/i386/fpu/libm-test-ulps: Update.
31803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31805 2012-03-16 David S. Miller <davem@davemloft.net>
31807 * sysdeps/sparc/fpu/math_private.h: New file.
31809 2012-03-15 David S. Miller <davem@davemloft.net>
31811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31821 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31825 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31826 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31828 * sysdeps/sparc/sparc-ifunc.h: New file.
31829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31872 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31874 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31876 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31880 2012-03-15 Andreas Jaeger <aj@suse.de>
31883 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31884 ieee754/flt-32 implementation for sin, cos and sincos.
31885 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31886 * sysdeps/i386/fpu/s_cosf.S: Likewise.
31887 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31888 * sysdeps/i386/fpu/s_sinf.S: Likewise.
31889 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31890 ieee754/flt-32 implementation for tan.
31892 * math/libm-test.inc (cos_test): Enable some large input tests for
31894 (sin_test): Likewise.
31895 (sincos_test): Likewise.
31896 (tan_test): Add tests for large input.
31898 * sysdeps/i386/fpu/libm-test-ulps: Update.
31900 2012-03-15 Andreas Jaeger <aj@suse.de>
31903 * math/libm-test.inc (cos_test): Add more test cases.
31904 (sin_test): Likewise.
31905 (sincos_test): Likewise.
31907 2012-03-15 Andreas Jaeger <aj@suse.de>
31910 * math/libm-test.inc (cos_test): Add a test case for large input
31912 (sin_test): Likewise.
31913 (sincos_test): Likewise.
31915 2012-03-15 Andreas Jaeger <aj@suse.de>,
31916 Joseph Myers <joseph@codesourcery.com>
31919 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
31920 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31921 * sysdeps/i386/fpu/branred.c: Likewise.
31922 * sysdeps/i386/fpu/dosincos.c: Likewise.
31923 * sysdeps/i386/fpu/mpa.c: Likewise.
31924 * sysdeps/i386/fpu/s_cos.S: Likewise.
31925 * sysdeps/i386/fpu/s_sin.S: Likewise.
31926 * sysdeps/i386/fpu/s_sincos.S: Likewise.
31927 * sysdeps/i386/fpu/sincos32.c: Likewise.
31929 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31931 (libc_feupdateenv_53bit): Define.
31932 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31934 (libc_feupdateenv_53bit): Define.
31936 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31937 53 bit (without extend i386 double precision).
31939 * math/libm-test.inc (sincos_test): Add tests for large input.
31943 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31945 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31949 2012-03-15 David S. Miller <davem@davemloft.net>
31951 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31952 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31953 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31954 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
31966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
31969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
31972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
31974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
31975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
31977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
31978 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31979 fmin/fmax sysdep routines.
31980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31982 2012-03-14 David S. Miller <davem@davemloft.net>
31984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
31985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
31986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
31987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
31988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
31989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
31990 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
31991 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
31992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
31993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
31994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
31995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
31996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
31997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
31998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
31999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32007 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32009 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32010 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32011 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32056 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32061 * sysdeps/sparc/configure.in: New file.
32062 * sysdeps/sparc/configure: Generate.
32063 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32064 * configure: Regenerate.
32065 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32066 * config.make.in (have-as-vis3): New.
32067 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32068 available use -Av9d instead of -Av9a.
32069 * sysdeps/sparc/sparc64/Makefile: Likewise.
32070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32085 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32086 fzeros/fnegs to load 0x80000000 into a float register instead of
32088 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32090 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32094 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32095 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32096 ($(inst_includedir)/bits/syscall.h): Remove rule.
32097 ($(objpfx)bits/syscall.d): Include instead of
32098 $(objpfx)syscall-list.d.
32099 (generated): Change syscall-list.h and syscall-list.d to
32100 bits/syscall.h and bits/syscall.d.
32102 2012-03-14 Roland McGrath <roland@hack.frob.com>
32105 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32107 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32110 * math/s_csqrt.c: Include <float.h>.
32111 (__csqrt): Scale large or subnormal inputs.
32112 * math/s_csqrtf.c: Likewise.
32113 * math/s_csqrtl.c: Likewise.
32114 * math/libm-test.inc (csqrt_test): Add more tests.
32115 * sysdeps/i386/fpu/libm-test-ulps: Update.
32116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32119 * math/libm-test.inc (hypot_test): Add more tests.
32121 2012-03-13 David S. Miller <davem@davemloft.net>
32124 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32125 double-precision for the calculation instead of scaling.
32127 2012-03-13 Joseph Myers <joseph@codesourcery.com>
32129 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32130 manipulate bits before adding and subtracting TWO52[sx].
32131 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32132 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32134 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32136 2012-03-13 David S. Miller <davem@davemloft.net>
32138 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32139 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32141 rtld-global-offsets.h
32142 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32144 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32147 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32149 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32150 'err' in the ifdef scope in which it is actually used.
32152 * nss/nss_db/db-init.c: Include string.h
32154 2012-03-12 David S. Miller <davem@davemloft.net>
32156 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32157 masking out of the most significant byte of random value used.
32158 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32159 Fix coding style in previous change.
32161 * sysdeps/unix/sysv/linux/kernel-features.h
32162 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32163 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32165 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32168 2012-03-11 David S. Miller <davem@davemloft.net>
32170 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32171 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32173 for 'resultvar' otherwise things get truncated on 64-bit.
32175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32176 Fix masking out of the most significant byte of random value used.
32178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32180 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32184 2012-03-09 David S. Miller <davem@davemloft.net>
32186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32187 variables with appropriate CPP guards.
32188 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32189 frame pointer, not the stack pointer. Correct layout comments. Fix test
32190 on resulting framesize and the management of the outregs buffer for pltexit.
32191 Preserve floating point return values across _dl_call_pltexit call.
32192 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32193 framesize and the management of the outregs buffer for pltexit.
32194 Preserve floating point return values across _dl_call_pltexit
32196 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32197 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32198 (print_exit): Fix format string for return register value.
32200 2012-03-10 Joseph Myers <joseph@codesourcery.com>
32202 * sunrpc/Makefile (others): Add rpcgen.
32203 ($(objpfx)rpcgen): Remove special build rule and dependency on
32205 * sunrpc/rpcgen.c: New file.
32207 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32210 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32211 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32212 * sysdeps/i386/crti.S: Likewise.
32213 * sysdeps/i386/crtn.S: Likewise.
32214 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32215 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32216 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32217 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32218 * sysdeps/sh/crti.S: Likewise.
32219 * sysdeps/sh/crtn.S: Likewise.
32220 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32223 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32225 * locale/programs/locfile-kw.gperf: Likewise.
32226 * locale/programs/charmap-kw.h: Regenerated.
32227 * locale/programs/locfile-kw.h: Likewise.
32230 * intl/plural.y: Replace FSF snail mail address with URL.
32231 * intl/plural.c: Regenerated.
32233 2012-03-09 Richard Henderson <rth@twiddle.net>
32235 * include/math_private.h: Remove file.
32236 * math/math_private.h: Move file ...
32237 * sysdeps/generic/math_private.h: ... here.
32239 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32240 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32241 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32243 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32244 and <math_private.h>.
32245 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32246 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32247 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32248 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32249 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32250 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32251 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32252 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32253 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32254 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32256 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32257 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32258 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32259 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32260 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32261 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32262 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32263 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32264 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32266 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32267 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32269 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32270 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32271 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32272 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32275 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32276 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32277 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32278 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32279 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32280 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32281 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32282 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32283 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32284 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32285 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32286 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32287 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32288 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32289 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32290 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32291 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32292 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32293 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32294 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32295 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32296 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32297 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32299 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32300 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32301 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32302 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32303 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32304 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32305 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32306 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32308 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32309 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32310 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32311 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32312 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32313 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32314 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32315 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32316 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32317 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32319 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32321 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32323 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32324 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32325 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32326 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32327 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32328 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32329 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32332 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32333 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32334 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32335 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32336 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32337 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32338 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32339 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32340 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32341 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32342 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32343 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32344 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32345 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32346 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32347 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32348 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32349 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32350 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32351 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32352 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32353 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32355 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32356 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32357 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32358 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32359 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32360 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32361 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32362 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32363 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32364 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32365 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32366 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32367 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32368 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32369 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32370 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32371 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32372 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32373 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32374 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32375 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32376 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32377 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32378 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32379 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32380 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32381 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32382 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32383 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32384 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32385 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32386 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32387 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32388 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32389 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32390 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32391 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32392 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32393 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32394 * sysdeps/ieee754/k_standard.c: Likewise.
32395 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32396 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32397 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32398 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32399 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32400 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32401 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32402 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32403 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32404 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32405 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32406 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32407 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32408 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32409 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32410 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32415 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32419 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32420 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32421 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32422 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32423 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32424 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32426 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32427 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32428 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32429 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32430 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32431 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32432 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32433 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32434 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32435 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32436 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32437 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32438 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32440 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32441 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32442 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32443 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32444 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32445 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32446 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32447 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32448 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32449 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32450 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32451 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32452 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32453 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32454 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32455 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32456 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32457 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32458 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32459 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32460 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32461 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32462 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32463 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32464 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32465 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32467 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32468 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32469 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32470 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32471 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32472 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32474 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32475 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32476 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32477 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32478 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32479 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32480 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32481 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32482 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32483 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32485 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32486 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32487 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32488 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32489 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32490 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32491 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32492 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32493 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32494 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32496 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32497 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32499 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32502 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32503 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32504 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32505 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32506 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32507 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32508 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32509 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32510 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32511 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32512 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32513 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32514 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32515 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32516 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32517 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32518 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32519 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32520 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32521 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32522 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32523 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32524 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32525 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32526 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32527 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32528 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32529 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32530 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32531 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32532 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32533 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32534 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32535 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32536 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32537 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32538 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32539 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32540 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32541 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32542 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32543 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32544 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32545 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32547 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32552 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32553 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32554 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32555 * sysdeps/ieee754/s_lib_version.c: Likewise.
32556 * sysdeps/ieee754/s_matherr.c: Likewise.
32557 * sysdeps/ieee754/s_signgam.c: Likewise.
32558 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32559 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32560 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32561 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32562 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32563 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32564 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32565 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32566 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32567 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32568 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32569 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32570 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32571 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32572 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32573 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32574 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32575 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32576 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32577 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32578 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32580 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32582 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32583 * sunrpc/rpc_main.c: Likewise.
32584 * sunrpc/rpc_svcout.c: Likewise.
32586 2012-03-09 David S. Miller <davem@davemloft.net>
32588 * include/math_private.h: New file.
32590 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32592 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32593 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32594 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32595 from <bits/socket_type.h>.
32596 (enum __socket_type): Don't define here.
32597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32599 bits/socket_type.h.
32602 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32603 checking __USE_GNU.
32605 * Makerules ($(inst_includedir)/%.h): New rule.
32606 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32607 (install-others): Remove variable setting.
32608 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32610 2012-03-08 Richard Henderson <rth@twiddle.net>
32612 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32613 from macro to inline function; merge with the
32614 !__LIBC_INTERNAL_MATH_INLINES version.
32615 (__ieee754_sqrtf): Likewise.
32617 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32618 to inline function.
32619 (__rintf, __floor, __floorf): Likewise.
32621 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32622 macro to inline function.
32623 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32625 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32626 not <math/math_private.h>.
32628 2012-03-08 David S. Miller <davem@davemloft.net>
32630 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32632 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32634 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32636 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32638 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32639 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32641 2012-03-08 Ulrich Drepper <drepper@gmail.com>
32643 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32644 be defined individually, they must be defined as a block. Define
32645 S for printing a string instead of hidint the different by using a
32646 macro for adding the 'l'.
32647 * stdio-common/tst-fphex-wide.c: Adjust.
32649 2012-03-07 Marek Polacek <polacek@redhat.com>
32651 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32653 2012-03-08 Marek Polacek <polacek@redhat.com>
32656 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32657 * stdio-common/tst-fphex.c: Define a few macros to make the
32658 test reusable. Use them.
32659 * stdio-common/tst-fphex-wide.c: New file.
32661 2012-03-08 Joseph Myers <joseph@codesourcery.com>
32664 * manual/macros.texi (gnusystems): New macro.
32665 (nongnusystems): Likewise.
32666 (gnulinuxhurdsystems): Likewise.
32667 (gnuhurdsystems): Likewise..
32668 (gnulinuxsystems): Likewise.
32669 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32670 variants of the GNU system, not "GNU system".
32671 * manual/conf.texi: Likewise.
32672 * manual/errno.texi: Likewise. Update example of errno macro
32674 * manual/filesys.texi: Likewise.
32675 (getumask): Document as specific to GNU/Hurd.
32676 * manual/install.texi: Likewise. Reword some references to
32678 * manual/intro.texi: Likewise.
32679 * manual/io.texi: Likewise.
32680 (File Name Portability): Detail which constraints are inapplicable
32681 to all GNU systems and which are only inapplicable to GNU/Hurd.
32682 * manual/job.texi: Likewise.
32683 * manual/llio.texi: Likewise.
32684 (O_NOCTTY): Document as present on GNU/Linux.
32685 * manual/maint.texi: Likewise.
32686 * manual/memory.texi: Likewise.
32687 * manual/pattern.texi: Likewise.
32688 * manual/pipe.texi: Likewise.
32689 * manual/process.texi: Likewise.
32690 * manual/resource.texi: Likewise.
32691 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32693 * manual/setjmp.texi: Likewise.
32694 * manual/signal.texi: Likewise.
32695 * manual/startup.texi: Likewise.
32696 * manual/stdio.texi: Likewise.
32697 * manual/terminal.texi: Likewise.
32698 (ONLCR): Document as POSIX.
32699 (OXTABS): Document availability on GNU/Linux as XTABS.
32700 (ONOEOT): Document availability separately from other bits.
32701 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32702 * manual/time.texi: Likewise.
32703 * manual/users.texi: Likewise.
32704 * INSTALL: Regenerated.
32705 * sysdeps/gnu/errlist.c: Regenerated.
32707 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32708 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32709 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32711 * configure: Regenerated.
32713 2012-03-07 Joseph Myers <joseph@codesourcery.com>
32715 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32716 default includes instead of AC_HEADER_CHECK.
32717 * sysdeps/i386/configure: Regenerated.
32720 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32721 * math/s_cacoshf.c (__cacoshf): Likewise.
32722 * math/s_cacoshl.c (__cacoshl): Likewise.
32723 * math/s_casinh.c (__casinh): Set signs of result from argument.
32724 * math/s_casinhf.c (__casinhf): Likewise.
32725 * math/s_casinhl.c (__casinhl): Likewise.
32726 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32727 (casinh_test): Add more tests.
32728 * sysdeps/i386/fpu/libm-test-ulps: Update.
32729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32731 2012-03-07 Ulrich Drepper <drepper@gmail.com>
32733 * po/zh_TW.po: Update from translation team.
32735 * login/Makefile (distribute): Remove variable.
32736 * catgets/Makefile: Likewise.
32737 * mach/Makefile: Likewise.
32738 * malloc/Makefile: Likewise.
32739 * misc/Makefile: Likewise.
32740 * iconv/Makefile: Likewise.
32741 * nscd/Makefile: Likewise.
32742 * hurd/Makefile: Likewise.
32743 * manual/Makefile: Likewise.
32744 * locale/Makefile: Likewise.
32745 * intl/Makefile: Likewise.
32746 * conform/Makefile: Likewise.
32747 * nss/Makefile: Likewise.
32748 * time/Makefile: Likewise.
32749 * soft-fp/Makefile: Likewise.
32750 * dirent/Makefile: Likewise.
32751 * gmon/Makefile: Likewise.
32752 * po/Makefile: Likewise.
32753 * rt/Makefile: Likewise.
32754 * socket/Makefile: Likewise.
32755 * math/Makefile: Likewise.
32756 * signal/Makefile: Likewise.
32757 * debug/Makefile: Likewise.
32758 * elf/Makefile: Likewise.
32759 * timezone/Makefile: Likewise.
32760 * stdlib/Makefile: Likewise.
32761 * iconvdata/Makefile: Likewise.
32762 * sunrpc/Makefile: Likewise.
32763 * io/Makefile: Likewise.
32764 * argp/Makefile: Likewise.
32765 * inet/Makefile: Likewise.
32766 * hesiod/Makefile: Likewise.
32767 * grp/Makefile: Likewise.
32768 * csu/Makefile: Likewise.
32769 * wctype/Makefile: Likewise.
32770 * crypt/Makefile: Likewise.
32771 * libio/Makefile: Likewise.
32772 * string/Makefile: Likewise.
32773 * nis/Makefile: Likewise.
32774 * resolv/Makefile: Likewise.
32775 * stdio-common/Makefile: Likewise.
32776 * wcsmbs/Makefile: Likewise.
32777 * dlfcn/Makefile: Likewise.
32778 * posix/Makefile: Likewise.
32781 * timezone/Makefile: Don't install timezone files, just the programs
32784 2012-03-06 Ulrich Drepper <drepper@gmail.com>
32786 * nss/databases.def: Add missing gshadow entry.
32788 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
32790 2012-03-06 Marek Polacek <polacek@redhat.com>
32793 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32794 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32795 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32796 * stdio-common/tst-long-dbl-fphex.c: New file.
32798 2012-03-06 David S. Miller <davem@davemloft.net>
32800 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32801 (set_obp_int): New function.
32802 (get_obp_int): New function.
32803 (__get_clockfreq_via_dev_openprom): Likewise.
32804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32805 Avoid unused variable warnings on 'val' and use builtin_expect.
32806 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32808 (INLINE_CLONE_SYSCALL): Likewise.
32810 2012-03-05 David S. Miller <davem@davemloft.net>
32812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32814 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
32816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32818 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32819 only for |x| >= 40.
32820 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32822 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
32824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32825 Replace gettimeofday with __vdso_gettimeofday.
32827 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32828 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32829 __vdso_clock_gettime and __vdso_getcpu.
32831 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32832 time with __vdso_time.
32834 2012-03-05 Joseph Myers <joseph@codesourcery.com>
32836 * manual/lang.texi (size_t): Note types to which size_t may be
32837 equivalent with the GNU C Library, but do not describe when
32838 differences between them are significant.
32840 2012-03-05 Andreas Jaeger <aj@suse.de>
32842 * sysdeps/i386/fpu/libm-test-ulps: Update.
32844 2012-03-05 Joseph Myers <joseph@codesourcery.com>
32847 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32848 (__ieee754_pow): Save and restore rounding mode and use
32849 round-to-nearest for main computations.
32850 * math/libm-test.inc (pow_test_tonearest): New function.
32851 (pow_test_towardzero): Likewise.
32852 (pow_test_downward): Likewise.
32853 (pow_test_upward): Likewise.
32854 (main): Call the new functions.
32855 * sysdeps/i386/fpu/libm-test-ulps: Update.
32856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32859 * math/libm-test.inc (cosh_test_tonearest): New function.
32860 (cosh_test_towardzero): Likewise.
32861 (cosh_test_downward): Likewise.
32862 (cosh_test_upward): Likewise.
32863 (sinh_test_tonearest): Likewise.
32864 (sinh_test_towardzero): Likewise.
32865 (sinh_test_downward): Likewise.
32866 (sinh_test_upward): Likewise.
32867 (main): Call the new functions.
32868 * sysdeps/i386/fpu/libm-test-ulps: Update.
32869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32871 2012-03-05 Tom de Vries <tom@codesourcery.com>
32873 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32874 default stack guard is set in last bytes.
32875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32877 2012-03-05 Kees Cook <keescook@chromium.org>
32879 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32882 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32883 possibly allocate from heap instead of stack.
32884 * stdio-common/bug-vfprintf-nargs.c: New file.
32885 * stdio-common/Makefile (tests): Add nargs overflow test.
32887 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
32889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32891 2012-03-03 Marek Polacek <polacek@redhat.com>
32893 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32894 * math/math_private.h: Likewise.
32895 * stdlib/tst-strtod.c: Likewise.
32896 * sysdeps/i386/i486/bits/atomic.h: Likewise.
32897 * sysdeps/x86_64/bits/atomic.h: Likewise.
32899 2012-03-02 David S. Miller <davem@davemloft.net>
32901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32905 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32906 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32907 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32908 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32910 2012-03-02 Roland McGrath <roland@hack.frob.com>
32913 * manual/examples/README: New file, says the example source files
32914 can be used under GPL>=2.
32915 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32916 line containing just "*/".
32917 * manual/examples/add.c: Add copyright header (GPL>=2).
32918 * manual/examples/argp-ex1.c: Likewise.
32919 * manual/examples/argp-ex2.c: Likewise.
32920 * manual/examples/argp-ex3.c: Likewise.
32921 * manual/examples/argp-ex4.c: Likewise.
32922 * manual/examples/atexit.c: Likewise.
32923 * manual/examples/db.c: Likewise.
32924 * manual/examples/dir.c: Likewise.
32925 * manual/examples/dir2.c: Likewise.
32926 * manual/examples/execinfo.c: Likewise.
32927 * manual/examples/filecli.c: Likewise.
32928 * manual/examples/filesrv.c: Likewise.
32929 * manual/examples/fmtmsgexpl.c: Likewise.
32930 * manual/examples/genpass.c: Likewise.
32931 * manual/examples/inetcli.c: Likewise.
32932 * manual/examples/inetsrv.c: Likewise.
32933 * manual/examples/isockad.c: Likewise.
32934 * manual/examples/longopt.c: Likewise.
32935 * manual/examples/memopen.c: Likewise.
32936 * manual/examples/memstrm.c: Likewise.
32937 * manual/examples/mkfsock.c: Likewise.
32938 * manual/examples/mkisock.c: Likewise.
32939 * manual/examples/mygetpass.c: Likewise.
32940 * manual/examples/pipe.c: Likewise.
32941 * manual/examples/popen.c: Likewise.
32942 * manual/examples/rprintf.c: Likewise.
32943 * manual/examples/search.c: Likewise.
32944 * manual/examples/select.c: Likewise.
32945 * manual/examples/setjmp.c: Likewise.
32946 * manual/examples/sigh1.c: Likewise.
32947 * manual/examples/sigusr.c: Likewise.
32948 * manual/examples/stpcpy.c: Likewise.
32949 * manual/examples/strdupa.c: Likewise.
32950 * manual/examples/strftim.c: Likewise.
32951 * manual/examples/strncat.c: Likewise.
32952 * manual/examples/subopt.c: Likewise.
32953 * manual/examples/swapcontext.c: Likewise.
32954 * manual/examples/termios.c: Likewise.
32955 * manual/examples/testopt.c: Likewise.
32956 * manual/examples/testpass.c: Likewise.
32957 * manual/examples/timeval_subtract.c: Likewise.
32960 * manual/time.texi (Elapsed Time): Move timeval_subtract example
32962 * manual/timeval_subtract.c.texi: ... here, new file.
32964 2012-03-02 David S. Miller <davem@davemloft.net>
32966 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32968 2012-03-02 Joseph Myers <joseph@codesourcery.com>
32971 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32972 (__sin): Save and restore rounding mode and use round-to-nearest
32973 for all computations.
32974 (__cos): Save and restore rounding mode and use round-to-nearest
32975 for all computations.
32976 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
32978 (tan): Save and restore rounding mode and use round-to-nearest for
32980 * math/libm-test.inc (cos_test_tonearest): New function.
32981 (cos_test_towardzero): Likewise.
32982 (cos_test_downward): Likewise.
32983 (cos_test_upward): Likewise.
32984 (sin_test_tonearest): Likewise.
32985 (sin_test_towardzero): Likewise.
32986 (sin_test_downward): Likewise.
32987 (sin_test_upward): Likewise.
32988 (tan_test_tonearest): Likewise.
32989 (tan_test_towardzero): Likewise.
32990 (tan_test_downward): Likewise.
32991 (tan_test_upward): Likewise.
32992 (main): Call the new functions.
32993 * sysdeps/i386/fpu/libm-test-ulps: Update.
32994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32997 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
32998 small n, then large n, before computing and testing k+n.
32999 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33000 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33004 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33005 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33006 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33007 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33008 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33009 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33010 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33011 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33012 * math/libm-test.inc (scalbn_test): Add more tests.
33013 (scalbln_test): Likewise.
33015 * manual/filesys.texi (mode_t): Describe constraints on size and
33016 signedness, not exact equivalence to a particular type.
33018 (ino64_t): Likewise.
33020 (nlink_t): Likewise.
33021 (blkcnt_t): Likewise.
33022 (blkcnt64_t): Likewise.
33023 * manual/llio.texi (off_t): Likewise.
33026 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33027 (__ieee754_exp): Save and restore rounding mode and use
33028 round-to-nearest for all computations.
33029 * math/libm-test.inc (exp_test_tonearest): New function.
33030 (exp_test_towardzero): Likewise.
33031 (exp_test_downward): Likewise.
33032 (exp_test_upward): Likewise.
33033 (main): Call the new functions.
33034 * sysdeps/i386/fpu/libm-test-ulps: Update.
33035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33037 2012-03-01 Chris Demetriou <cgd@google.com>
33039 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33040 have predictable order.
33042 2012-03-01 David S. Miller <davem@davemloft.net>
33044 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33046 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33047 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33048 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33049 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33051 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33052 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33053 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33055 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33056 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33057 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33058 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33059 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33063 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33064 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33065 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33067 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33068 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33069 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33070 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33071 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33072 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33073 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33074 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33075 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33076 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33077 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33078 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33080 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33081 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33083 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33084 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33085 * sysdeps/sparc/elf/configure: Regenerated.
33087 2012-03-01 Joseph Myers <joseph@codesourcery.com>
33089 * configure.in (AS, LD): Require binutils 2.20 or later.
33090 * configure: Regenerated.
33091 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33092 as required minimum version.
33093 * INSTALL: Regenerated.
33097 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33098 before squaring exponent.
33099 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33100 bottom long double and 27 bits of top long double before squaring
33102 * math/libm-test.inc (erfc_test): Add more tests.
33103 * sysdeps/i386/fpu/libm-test-ulps: Update.
33104 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33107 2012-03-01 Kai Tietz <ktietz@redhat.com>
33109 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33110 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33111 containing bit-fields.
33112 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33113 * soft-fp/single.h (_FP_UNION_S): Likewise.
33114 * soft-fp/double.h (_FP_UNION_D): Likewise.
33116 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33119 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33120 not include ../strcmp.S.
33121 [USE_AS_STRNCASECMP_L]: Likewise.
33122 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33123 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33124 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33125 (__strncasecmp_l_ia32): Define as alias to
33126 __strncasecmp_l_nonascii.
33129 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33130 * sysdeps/i386/fpu/libm-test-ulps: Update.
33131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33133 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33136 2012-02-29 Jeff Law <law@redhat.com>
33138 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33139 out of bounds read.
33141 2012-02-29 Marek Polacek <polacek@redhat.com>
33144 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33145 * elf/Makefile: Add rules to run tst-unused-dep.out.
33147 2012-02-28 David S. Miller <davem@davemloft.net>
33149 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33150 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33151 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33152 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33153 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33154 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33156 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33158 * math/libm-test.inc (llround_test): Move one test from
33159 lround_test. Use TEST_f_L in moved test.
33160 (lround_test): Move misplaced test to llround_test. Add testcase
33163 2012-02-28 Ulrich Drepper <drepper@gmail.com>
33165 * sysdeps/x86_64/fpu/e_expf.S: New file.
33166 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33168 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33171 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33172 of remain_len that may cause incomplete multi-byte character and
33174 * posix/bug-regex33.c: New file.
33175 * posix/Makefile (tests): Add bug-regex33.
33177 2012-02-28 Joseph Myers <joseph@codesourcery.com>
33179 * manual/macros.texi: New file.
33180 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33181 * manual/libc.texinfo: Include macros.texi.
33182 * manual/creatute.texi: Likewise.
33183 * manual/install.texi: Likewise.
33184 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33185 @glibcadj{} in references to the GNU C Library.
33186 * manual/charset.texi: Likewise.
33187 * manual/conf.texi: Likewise.
33188 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33189 when not using those macros.
33190 * manual/creature.texi: Likewise.
33191 * manual/crypt.texi: Likewise.
33192 * manual/errno.texi: Likewise.
33193 * manual/filesys.texi: Likewise.
33194 * manual/header.texi: Likewise.
33195 * manual/install.texi: Likewise.
33196 * manual/intro.texi: Likewise.
33197 * manual/io.texi: Likewise.
33198 * manual/job.texi: Likewise.
33199 * manual/lang.texi: Likewise.
33200 * manual/libc.texiinfo: Likewise.
33201 * manual/llio.texi: Likewise.
33202 * manual/locale.texi: Likewise.
33203 * manual/maint.texi: Likewise.
33204 * manual/math.texi: Likewise.
33205 * manual/memory.texi: Likewise.
33206 * manual/message.texi: Likewise.
33207 * manual/nss.texi: Likewise.
33208 * manual/pattern.texi: Likewise.
33209 * manual/process.texi: Likewise.
33210 * manual/resource.texi: Likewise.
33211 * manual/search.texi: Likewise.
33212 * manual/setjmp.texi: Likewise.
33213 * manual/signal.texi: Likewise.
33214 * manual/socket.texi: Likewise.
33215 * manual/startup.texi: Likewise.
33216 * manual/stdio.texi: Likewise.
33217 * manual/string.texi: Likewise.
33218 * manual/sysinfo.texi: Likewise.
33219 * manual/syslog.texi: Likewise.
33220 * manual/terminal.texi: Likewise.
33221 * manual/time.texi: Likewise.
33222 * manual/users.texi: Likewise.
33223 * INSTALL: Regenerated.
33224 * NOTES: Regenerated.
33225 * sysdeps/gnu/errlist.c: Regenerated.
33227 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33229 * include/dirent.h: Include <dirstream.h> before
33232 2012-02-28 David S. Miller <davem@davemloft.net>
33234 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33235 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33236 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33237 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33239 2012-02-27 David S. Miller <davem@davemloft.net>
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33243 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33244 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33247 frame pointer instead of stack pointer relative arg slot.
33248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33249 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33250 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33252 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33255 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33257 2012-02-27 David S. Miller <davem@davemloft.net>
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33263 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33264 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33265 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33266 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33268 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33270 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33271 later. Allow versions 5-9.
33272 * configure: Regenerated.
33273 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33274 required minimum version and 4.6 as recommended version. Do not
33275 mention bugs in GCC 2.7 and 2.8.
33276 * INSTALL: Regenerated.
33278 2012-02-27 David S. Miller <davem@davemloft.net>
33280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33284 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33285 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33286 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33287 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33289 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33290 manipulate bits before adding and subtracting TWO112[sx].
33291 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33293 2012-02-27 Roland McGrath <roland@hack.frob.com>
33296 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33297 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33298 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33299 being in POSIX, because they are in 1003.1-2008.
33301 * rt/tst-aio.c: Include <fcntl.h>.
33302 * rt/tst-aio7.c: Likewise.
33303 * rt/tst-aio64.c: Likewise.
33305 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33307 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33309 * manual/install.texi (--with-headers): Describe headers as
33310 interface headers, not private headers.
33311 (Specific advice for GNU/Linux systems): Describe use of headers
33312 from "make headers_install", not private headers from older
33314 * INSTALL: Regenerated.
33315 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33317 * sysdeps/unix/sysv/linux/configure: Regenerated.
33319 * manual/llio.texi (fclean): Remove documentation.
33321 * manual/Makefile (libc-texi-generated): New variable. Include
33323 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33324 $(libc-texi-generated), not duplicated list of files.
33325 (version.texi, stamp-version): New rules.
33326 (realclean): Remove $(libc-texi-generated), not individual files
33327 from that list. Do not remove dir-add.texinfo.
33328 * manual/libc.texinfo: Comment out uses of edition numbers and
33329 references to printed manual. Remove last-updated dates.
33330 (EDITION): Comment out.
33332 (VERSION, UPDATED): Remove.
33333 (version.texi): Include.
33335 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33337 * sysdeps/posix/spawni.c: Include <signal.h>.
33338 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33339 * sysdeps/pthread/aio_fsync.c: Likewise.
33341 2012-02-26 Ulrich Drepper <drepper@gmail.com>
33343 * conform/Makefile (tests): Run only when not cross-compiling and
33344 when fast-check is not defined.
33346 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33347 * conform/data/limits.h-data: Fixes for POSIX2008.
33348 * conform/run-conformtest.sh: Run all tests.
33349 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33351 * include/bits/dlfcn.h: Likewise.
33352 * include/langinfo.h: Likewise.
33353 * include/monetary.h: Likewise.
33354 * include/sys/poll.h: Likewise.
33356 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33358 * posix/spawn.h: Define __need_sigset_t.
33359 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33360 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33361 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33362 to get sigevent_t only.
33363 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33364 only for __USE_GNU.
33365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33366 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33367 process_vm_writev only for __USE_GNU.
33368 * termios/termios.h: Declare tcgetsid also for POSIX2008.
33370 * conform/Makefile: For now ignore errors from run-conformtest.
33371 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33372 POSIX to avoid namespace pollution. Don't prepend headers.
33373 * conform/data/aio.h-data: Fixes for POSIX testing.
33374 * conform/data/fcntl.h-data: Likewise.
33375 * conform/data/glob.h-data: Likewise.
33376 * conform/data/grp.h-data: Likewise.
33377 * conform/data/pthread.h-data: Likewise.
33378 * conform/data/pwd.h-data: Likewise.
33379 * conform/data/signal.h-data: Likewise.
33380 * conform/data/spawn.h-data: Likewise.
33381 * conform/data/stdio.h-data: Likewise.
33382 * conform/data/stdlib.h-data: Likewise.
33383 * conform/data/stropts.h-data: Likewise.
33384 * conform/data/sys/mman.h-data: Likewise.
33385 * conform/data/sys/stat.h-data: Likewise.
33386 * conform/data/sys/types.h-data: Likewise.
33387 * conform/data/sys/wait.h-data: Likewise.
33388 * conform/data/time.h-data: Likewise.
33389 * conform/data/unistd.h-data: Likewise.
33390 * conform/data/utime.h-data: Likewise.
33392 * io/sys/stat.h: fchmod was always in POSIX.
33393 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33394 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33395 * rt/aio.h: Define __need_timespec before including <time.h>.
33396 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33397 struct. Add forward declaration of pthread_attr_t and use it in
33399 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33400 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33401 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33402 always remove CLK_TCK definition.
33404 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33406 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33408 2012-02-25 Ulrich Drepper <drepper@gmail.com>
33410 * conform/run-conformtest.sh: New file.
33411 * conform/Makefile: Run run-conformtest for tests.
33412 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33415 * conform/data/uchar.h-data: New file.
33416 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33417 * conform/data/arpa/inet.h-data: Likewise.
33418 * conform/data/assert.h-data: Likewise.
33419 * conform/data/complex.h-data: Likewise.
33420 * conform/data/cpio.h-data: Likewise.
33421 * conform/data/ctype.h-data: Likewise.
33422 * conform/data/dirent.h-data: Likewise.
33423 * conform/data/dlfcn.h-data: Likewise.
33424 * conform/data/errno.h-data: Likewise.
33425 * conform/data/fcntl.h-data: Likewise.
33426 * conform/data/float.h-data: Likewise.
33427 * conform/data/fmtmsg.h-data: Likewise.
33428 * conform/data/fnmatch.h-data: Likewise.
33429 * conform/data/ftw.h-data: Likewise.
33430 * conform/data/glob.h-data: Likewise.
33431 * conform/data/grp.h-data: Likewise.
33432 * conform/data/iconv.h-data: Likewise.
33433 * conform/data/inttypes.h-data: Likewise.
33434 * conform/data/langinfo.h-data: Likewise.
33435 * conform/data/libgen.h-data: Likewise.
33436 * conform/data/limits.h-data: Likewise.
33437 * conform/data/locale.h-data: Likewise.
33438 * conform/data/math.h-data: Likewise.
33439 * conform/data/monetary.h-data: Likewise.
33440 * conform/data/mqueue.h-data: Likewise.
33441 * conform/data/ndbm.h-data: Likewise.
33442 * conform/data/net/if.h-data: Likewise.
33443 * conform/data/netdb.h-data: Likewise.
33444 * conform/data/netinet/in.h-data: Likewise.
33445 * conform/data/nl_types.h-data: Likewise.
33446 * conform/data/poll.h-data: Likewise.
33447 * conform/data/pthread.h-data: Likewise.
33448 * conform/data/pwd.h-data: Likewise.
33449 * conform/data/regex.h-data: Likewise.
33450 * conform/data/sched.h-data: Likewise.
33451 * conform/data/search.h-data: Likewise.
33452 * conform/data/semaphore.h-data: Likewise.
33453 * conform/data/setjmp.h-data: Likewise.
33454 * conform/data/signal.h-data: Likewise.
33455 * conform/data/spawn.h-data: Likewise.
33456 * conform/data/stdarg.h-data: Likewise.
33457 * conform/data/stdio.h-data: Likewise.
33458 * conform/data/stdlib.h-data: Likewise.
33459 * conform/data/string.h-data: Likewise.
33460 * conform/data/strings.h-data: Likewise.
33461 * conform/data/stropts.h-data: Likewise.
33462 * conform/data/sys/ipc.h-data: Likewise.
33463 * conform/data/sys/mman.h-data: Likewise.
33464 * conform/data/sys/msg.h-data: Likewise.
33465 * conform/data/sys/resource.h-data: Likewise.
33466 * conform/data/sys/select.h-data: Likewise.
33467 * conform/data/sys/sem.h-data: Likewise.
33468 * conform/data/sys/shm.h-data: Likewise.
33469 * conform/data/sys/socket.h-data: Likewise.
33470 * conform/data/sys/stat.h-data: Likewise.
33471 * conform/data/sys/statvfs.h-data: Likewise.
33472 * conform/data/sys/time.h-data: Likewise.
33473 * conform/data/sys/timeb.h-data: Likewise.
33474 * conform/data/sys/times.h-data: Likewise.
33475 * conform/data/sys/types.h-data: Likewise.
33476 * conform/data/sys/uio.h-data: Likewise.
33477 * conform/data/sys/un.h-data: Likewise.
33478 * conform/data/sys/utsname.h-data: Likewise.
33479 * conform/data/sys/wait.h-data: Likewise.
33480 * conform/data/syslog.h-data: Likewise.
33481 * conform/data/tar.h-data: Likewise.
33482 * conform/data/termios.h-data: Likewise.
33483 * conform/data/utime.h-data: Likewise.
33484 * conform/data/utmpx.h-data: Likewise.
33485 * conform/data/varargs.h-data: Likewise.
33486 * conform/data/wchar.h-data: Likewise.
33487 * conform/data/wctype.h-data: Likewise.
33488 * conform/data/wordexp.h-data: Likewise.
33490 * include/stropts.h: New file.
33491 * include/uchar.h: New file.
33492 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33493 * include/assert.h: Likewise.
33494 * include/ctype.h: Likewise.
33495 * include/dirent.h: Likewise.
33496 * include/dlfcn.h: Likewise.
33497 * include/fcntl.h: Likewise.
33498 * include/fnmatch.h: Likewise.
33499 * include/glob.h: Likewise.
33500 * include/grp.h: Likewise.
33501 * include/libio.h: Likewise.
33502 * include/locale.h: Likewise.
33503 * include/math.h: Likewise.
33504 * include/net/if.h: Likewise.
33505 * include/netdb.h: Likewise.
33506 * include/netinet/in.h: Likewise.
33507 * include/pthread.h: Likewise.
33508 * include/pwd.h: Likewise.
33509 * include/regex.h: Likewise.
33510 * include/sched.h: Likewise.
33511 * include/search.h: Likewise.
33512 * include/setjmp.h: Likewise.
33513 * include/signal.h: Likewise.
33514 * include/stdio.h: Likewise.
33515 * include/stdlib.h: Likewise.
33516 * include/string.h: Likewise.
33517 * include/sys/cdefs.h: Likewise.
33518 * include/sys/mman.h: Likewise.
33519 * include/sys/msg.h: Likewise.
33520 * include/sys/resource.h: Likewise.
33521 * include/sys/select.h: Likewise.
33522 * include/sys/socket.h: Likewise.
33523 * include/sys/stat.h: Likewise.
33524 * include/sys/statvfs.h: Likewise.
33525 * include/sys/time.h: Likewise.
33526 * include/sys/times.h: Likewise.
33527 * include/sys/uio.h: Likewise.
33528 * include/sys/utsname.h: Likewise.
33529 * include/sys/wait.h: Likewise.
33530 * include/termios.h: Likewise.
33531 * include/time.h: Likewise.
33532 * include/ulimit.h: Likewise.
33533 * include/unistd.h: Likewise.
33534 * include/utime.h: Likewise.
33535 * include/wchar.h: Likewise.
33536 * include/wctype.h: Likewise.
33537 * include/wordexp.h: Likewise.
33539 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33541 * time/time.h: TIME_UTC must be a macro.
33542 Make timespec_get available for ISO C11 only as well.
33544 2012-02-24 Ulrich Drepper <drepper@gmail.com>
33546 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33547 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33549 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33551 * configure.in: Use -o not -a in test for unsupported multi-arch.
33553 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33555 * manual/texinfo.tex: Update to version 2012-01-19.16.
33557 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33559 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33561 2012-02-24 Roland McGrath <roland@hack.frob.com>
33564 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33565 * manual/fdl-1.3.texi: New file.
33566 * manual/fdl-1.1.texi: File removed.
33569 * manual/libc.texinfo (FDL_VERSION): New @set.
33570 Use it for mention of FDL in cover text.
33571 (Documentation License): Use it in @include file name.
33573 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33574 Roland McGrath <roland@hack.frob.com>
33577 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33578 not LONG_LONG_MAX and LONG_LONG_MIN.
33579 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33580 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33582 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33584 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33588 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33589 manipulate bits before adding and subtracting TWO23[sx].
33590 * math/libm-test.inc (nearbyint_test): Add more tests.
33592 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33595 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33596 bits before adding and subtracting TWO23[sx].
33597 * math/libm-test.inc (rint_test): Add more tests.
33598 (rint_test_tonearest): Likewise.
33599 (rint_test_towardzero): Likewise.
33600 (rint_test_downward): Likewise.
33601 (rint_test_upward: Likewise.
33603 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33606 * include/stdc-predef.h: New file. Extracted from features.h.
33607 * include/features.h: Include stdc-predef.h.
33608 * Makefile (headers): Add stdc-predef.h.
33609 * CONFORMANCE (Compiler limitations): Update.
33611 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33613 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33615 2012-02-21 David S. Miller <davem@davemloft.net>
33617 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33618 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33620 2012-02-20 David S. Miller <davem@davemloft.net>
33622 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33623 using a normal save/restore sequence, rather than allocating a
33624 dummy stack frame just to store a frame pointer and restore.
33625 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33627 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33629 * manual/install.texi: Fix stray word in line-wrapped comment.
33631 2012-02-20 David S. Miller <davem@davemloft.net>
33633 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33634 both binutils and gcc support GOTDATA.
33636 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33637 "rd %pc" in the PIC register setup sequences.
33639 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33640 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33641 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33642 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33643 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33645 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33646 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33647 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33648 (SYSCALL_ERROR_HANDLER): Likewise.
33649 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33650 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33652 (SYSCALL_ERROR_HANDLER): Likewise.
33654 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33655 (HAVE_GCC_GOTDATA): New.
33656 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33657 relocation support in both binutils and gcc.
33658 * sysdeps/sparc/elf/configure: Regenerate.
33660 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33661 * sysdeps/sparc/sparc32/elf/configure: Delete.
33662 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33663 * sysdeps/sparc/sparc64/elf/configure: Delete.
33664 * sysdeps/sparc/elf/configure.in: New file.
33665 * sysdeps/sparc/elf/configure: Generate.
33667 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33668 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33669 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33670 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33671 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33673 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33675 * manual/install.texi: Do not mention specific glibc version
33677 * manual/libc.texinfo (VERSION, UPDATED): Update.
33678 (@copying): Use @copyright{} and range of years.
33680 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33683 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33684 [crti.S not in sysdirs] (generated): Do not append.
33685 [crti.S not in sysdirs] (omit-deps): Likewise.
33686 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33687 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33688 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33689 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33690 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33692 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33693 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33694 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33695 * csu/defs.awk: Remove file.
33696 * sysdeps/generic/initfini.c: Likewise.
33697 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33699 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33702 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33704 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33705 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33706 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33707 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33708 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33709 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33711 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33712 (__EPOLL_PACKED): Define to empty if not defined by
33714 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33718 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33720 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33721 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33722 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33723 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33725 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33729 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33731 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33733 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33734 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33735 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33738 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33743 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33745 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33746 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33748 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33750 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33753 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33755 * math/w_acos.c: Use non-signaling floating-point comparisons.
33756 * math/w_acosf.c: Likewise.
33757 * math/w_acosh.c: Likewise.
33758 * math/w_acoshf.c: Likewise.
33759 * math/w_acoshl.c: Likewise.
33760 * math/w_acosl.c: Likewise.
33761 * math/w_asin.c: Likewise.
33762 * math/w_asinf.c: Likewise.
33763 * math/w_asinl.c: Likewise.
33764 * math/w_atanh.c: Likewise.
33765 * math/w_atanhf.c: Likewise.
33766 * math/w_atanhl.c: Likewise.
33767 * math/w_exp2.c: Likewise.
33768 * math/w_exp2f.c: Likewise.
33769 * math/w_exp2l.c: Likewise.
33770 * math/w_j0.c: Likewise.
33771 * math/w_j0f.c: Likewise.
33772 * math/w_j0l.c: Likewise.
33773 * math/w_j1.c: Likewise.
33774 * math/w_j1f.c: Likewise.
33775 * math/w_j1l.c: Likewise.
33776 * math/w_jn.c: Likewise.
33777 * math/w_jnf.c: Likewise.
33778 * math/w_log.c: Likewise.
33779 * math/w_log10.c: Likewise.
33780 * math/w_log10f.c: Likewise.
33781 * math/w_log10l.c: Likewise.
33782 * math/w_log2.c: Likewise.
33783 * math/w_log2f.c: Likewise.
33784 * math/w_log2l.c: Likewise.
33785 * math/w_logf.c: Likewise.
33786 * math/w_logl.c: Likewise.
33787 * math/w_sqrt.c: Likewise.
33788 * math/w_sqrtf.c: Likewise.
33789 * math/w_sqrtl.c: Likewise.
33790 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33792 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33793 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33794 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33796 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33799 * manual/string.texi (strnlen): Use correct parameter name in
33800 equivalent expression.
33802 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33805 * manual/users.texi (seteuid): Consistently use neweuid for
33808 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33811 * manual/nss.texi (Services in the NSS configuration): Correct
33812 list of services in example configuration file.
33814 2012-02-19 Nick Bowler <nbowler@draconx.ca>
33817 * manual/arith.texi: Remove statements about negative zero
33818 behaving identically to zero.
33820 2012-02-18 Joseph Myers <joseph@codesourcery.com>
33823 * manual/install.texi: Do not document upgrading from libc5.
33825 2012-02-18 Joseph Myers <joseph@codesourcery.com>
33828 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33830 2012-02-18 David S. Miller <davem@davemloft.net>
33832 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33833 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33834 %o7 across the call.
33835 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33838 SETUP_PIC_REG_LEAF.
33839 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33840 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33841 * sysdeps/sparc/crtn.S: Likewise.
33843 2012-02-17 Ulrich Drepper <drepper@gmail.com>
33845 * aout/Makefile: Remove.
33847 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
33850 * manual/examples/argp-ex1.c (main): Format definition in GNU
33852 * manual/examples/argp-ex2.c (main): Likewise.
33853 * manual/examples/argp-ex3.c (main): Likewise.
33854 * manual/examples/argp-ex4.c (main): Likewise.
33855 * manual/examples/longopt.c (main): Use new-style prototype
33857 * manual/examples/strncat.c (main): Specify return type and use
33858 (void) for arguments.
33859 * manual/examples/subopt.c (main): Use char **argv argument.
33861 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33864 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33867 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
33870 * manual/string.texi (strchr): Change when strchrnul is
33873 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
33876 * manual/locale.texi (setlocale): Document LOCPATH.
33878 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33881 * manual/process.texi (execle): Move @dots{} before last argument.
33883 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
33886 * manual/charset.texi (Generic Charset Conversion): Fix typo
33887 (LC_TYPE -> LC_CTYPE).
33889 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
33892 * manual/arith.texi (scalbn): Use @var{} on parameter names.
33893 (scalbnf): Likewise.
33894 (scalbnl): Likewise.
33895 (scalbln): Likewise.
33896 (scalblnf): Likewise.
33897 (scalblnl): Likewise.
33898 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33899 (vwarnx): Likewise.
33902 * manual/filesys.texi (telldir): Use braces around return type.
33903 * manual/llio.texi (mmap): Add space after comma.
33904 (mmap64): Likewise.
33905 * manual/math.texi (jn): Use @var{} on parameter names.
33911 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33913 * manual/resource.texi (ulimit): Use @dots{} instead of literal
33915 (sched_get_priority_min): Remove semicolon on @deftypefun line.
33916 (sched_get_priority_max): Likewise.
33917 * manual/signal.texi (sigvec): Add space after comma.
33918 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33920 (if_indextoname): Likewise.
33921 (if_freenameindex): Likewise.
33922 (sendto): Use ',' instead of '.' in prototype.
33923 * manual/startup.texi (syscall): Use @dots{} instead of literal
33925 * manual/stdio.texi (__fpending): Separate initial words of
33926 paragraph from @deftypefun line.
33927 * manual/syslog.texi (syslog): Use @dots{} instead of literal
33929 (vsyslog): Use @var{} on parameter names.
33930 * manual/terminal.texi (stty): Use @var{} on parameter names.
33931 * manual/users.texi (getutmp): Use @var{} on parameter names.
33932 (getutmpx): Likewise.
33934 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33937 * manual/stdio.texi (fopen): Fix typos in description of
33940 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
33943 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33944 get clock_id definition.
33946 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
33949 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33950 (madvise): Cast every argument to void on its own.
33952 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33955 * manual/startup.texi (Exit Status): Fix typo.
33957 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33960 * manual/examples/argp-ex1.c: Include <stdlib.h>.
33961 * manual/examples/argp-ex2.c: Likewise.
33962 * manual/examples/argp-ex3.c: Likewise.
33964 2012-02-16 Richard Henderson <rth@redhat.com>
33966 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33967 * sysdeps/s390/s390-32/initfini.c: Remove.
33968 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33969 * sysdeps/s390/s390-64/initfini.c: Remove.
33971 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33973 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
33974 compiler output for sysdeps/generic/initfini.c.
33975 * sysdeps/sh/elf/initfini.c: Remove file.
33977 2012-02-16 David S. Miller <davem@davemloft.net>
33980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
33982 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
33983 * sysdeps/sparc/crti.S: New file.
33984 * sysdeps/sparc/crtn.S: New file.
33985 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
33986 * sysdeps/sparc/sparc64/Makefile: Likewise.
33988 2012-02-15 Mike Frysinger <vapier@gentoo.org>
33991 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
33993 2012-02-15 Roland McGrath <roland@hack.frob.com>
33996 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
33998 * mach/devstream.c (cookie_io_functions_t): Macro removed.
33999 (write, read, close): Likewise.
34000 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34002 2012-02-15 Joseph Myers <joseph@codesourcery.com>
34004 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34005 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34006 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34007 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34009 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34013 2012-02-14 Marek Polacek <polacek@redhat.com>
34015 * sysdeps/x86_64/crti.S: New file.
34016 * sysdeps/x86_64/crtn.S: New file.
34017 * sysdeps/x86_64/elf/initfini.c: Remove file.
34019 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34021 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34022 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34023 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34024 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34026 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34030 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34032 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34033 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34034 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34035 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34037 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34041 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34043 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34044 __feraiseexcept instead of feraiseexcept.
34046 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34047 nanosleep invocations.
34048 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34049 strings, and add error checking for a nanosleep invocations.
34051 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34053 Replace FSF snail mail address with URLs, as per GNU coding standards.
34054 Most of the snail mail addresses were wrong anyway, and omitting
34055 them makes the source code easier to maintain. Almost all of the
34056 changes are to license notices and to locale LC_IDENTIFICATION
34057 addresses, except for this one:
34058 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34059 not its snail mail address.
34061 2012-02-09 Richard Henderson <rth@twiddle.net>
34063 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34064 of kernel-features.h.
34066 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34068 2012-02-08 Marek Polacek <polacek@redhat.com>
34070 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34071 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34072 * sysdeps/gnu/_G_config.h: Likewise.
34073 * sysdeps/generic/_G_config.h: Likewise.
34075 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34077 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34081 * sysdeps/powerpc/powerpc32/crti.S: New file.
34082 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34083 * sysdeps/powerpc/powerpc64/crti.S: New file.
34084 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34086 * Makeconfig (have-initfini): Don't set.
34087 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34088 * configure.in (nopic_initfini): Don't substitute.
34089 * config.h.in (HAVE_INITFINI): Don't #undef.
34090 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34091 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34093 2012-02-08 Joseph Myers <joseph@codesourcery.com>
34095 Support crti.S and crtn.S provided directly by architectures.
34096 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34097 [crti.S in sysdirs] (omit-deps): Likewise.
34098 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34099 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34100 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34101 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34102 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34103 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34104 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34105 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34106 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34107 compiler output for sysdeps/generic/initfini.c.
34108 * sysdeps/i386/elf/Makefile: Remove file.
34109 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34111 2012-02-07 Marek Polacek <polacek@redhat.com>
34113 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34114 * sysdeps/gnu/_G_config.h: Likewise.
34115 * sysdeps/mach/hurd/_G_config.h: Likewise.
34117 2012-02-07 Marek Polacek <polacek@redhat.com>
34119 * math/Makefile (tests): Add tst-CMPLX2.
34120 * math/tst-CMPLX2.c: New file.
34122 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34124 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34126 * math/libm-test.inc (jn_test): Add missing L suffix.
34128 2012-02-06 Marek Polacek <polacek@redhat.com>
34130 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34131 * sysdeps/i386/fpu/e_powf.S: Likewise.
34132 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34133 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34134 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34135 * sysdeps/i386/fpu/e_pow.S: Likewise.
34136 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34137 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34138 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34139 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34140 * sysdeps/i386/fpu/e_log2.S: Likewise.
34141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34143 * sysdeps/i386/fpu/e_powl.S: Likewise.
34144 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34145 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34146 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34147 * sysdeps/i386/fpu/e_logl.S: Likewise.
34148 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34149 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34150 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34151 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34152 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34153 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34154 * sysdeps/i386/fpu/e_log.S: Likewise.
34155 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34156 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34157 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34158 * sysdeps/i386/fpu/e_logf.S: Likewise.
34159 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34160 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34161 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34162 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34163 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34164 * sysdeps/i386/fpu/e_log10.S: Likewise.
34165 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34166 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34167 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34168 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34169 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34170 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34171 * sysdeps/i386/asm-syntax.h: Likewise.
34172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34173 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34174 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34175 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34176 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34177 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34178 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34179 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34180 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34181 * sysdeps/powerpc/sysdep.h: Likewise.
34182 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34183 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34185 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34188 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34190 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34192 * sysdeps/i386/sysdep.h: Include <features.h>.
34193 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34196 2012-02-05 Joseph Myers <joseph@codesourcery.com>
34198 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34200 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34203 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34205 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34206 (SETUP_PIC_REG): Use GET_PC_THUNK.
34207 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34210 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34212 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34213 for non-PIC compilation.
34214 (SETUP_PIC_REG): Add .p2align directive.
34215 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34216 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34217 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34218 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34219 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34220 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34221 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34222 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34223 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34224 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34225 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34226 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34227 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34228 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34229 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34230 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34231 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34232 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34233 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34234 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34235 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34236 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34237 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34238 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34239 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34241 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34242 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34243 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34244 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34245 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34246 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34247 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34248 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34249 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34250 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34251 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34252 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34253 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34254 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34255 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34257 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34259 * math/tst-CMPLX.c: Include <stdio.h>.
34261 2012-01-31 Joseph Myers <joseph@codesourcery.com>
34263 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34265 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34266 * sysdeps/sparc/bits/mathdef.h: Likewise.
34268 2012-01-31 Marek Polacek <polacek@redhat.com>
34270 * libio/libio.h: Don't define _PARAMS.
34271 * locale/programs/config.h: Don't define PARAMS.
34272 * stdlib/strtol_l.c: Likewise.
34273 (__strtol_l): Remove PARAMS from the prototype.
34275 2012-01-31 Ulrich Drepper <drepper@gmail.com>
34277 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34278 names. Just use the correct names. Remove unnecessary wrapper
34280 * malloc/arena.c: Likewise.
34281 * malloc/hooks.c: Likewise.
34283 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34284 ARENA_TEST says not to. Simplify test for creation of a new arena.
34285 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34287 2012-01-30 Ulrich Drepper <drepper@gmail.com>
34289 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34291 (update_get_addr): New function.
34292 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34293 GET_ADDR_MODULE parameter.
34295 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34297 * crypt/cert.c: Remove __STDC__ conditionals.
34298 * crypt/crypt-entry.c: Likewise.
34299 * crypt/crypt_util.c: Likewise.
34300 * libio/filedoalloc.c: Likewise.
34301 * libio/fileops.c: Likewise.
34302 * libio/genops.c: Likewise.
34303 * libio/iofclose.c: Likewise.
34304 * libio/iofdopen.c: Likewise.
34305 * libio/iofopen.c: Likewise.
34306 * libio/iofopen64.c: Likewise.
34307 * libio/iogetdelim.c: Likewise.
34308 * libio/iopopen.c: Likewise.
34309 * libio/obprintf.c: Likewise.
34310 * libio/oldfileops.c: Likewise.
34311 * libio/oldiofclose.c: Likewise.
34312 * libio/oldiofdopen.c: Likewise.
34313 * libio/oldiofopen.c: Likewise.
34314 * libio/oldiopopen.c: Likewise.
34315 * libio/wfiledoalloc.c: Likewise.
34316 * libio/wgenops.c: Likewise.
34317 * locale/programs/xmalloc.c: Likewise.
34318 * misc/syslog.c: Likewise.
34319 * stdio-common/xbug.c: Likewise.
34320 * string/memchr.c: Likewise.
34321 * string/memcmp.c: Likewise.
34322 * string/memrchr.c: Likewise.
34323 * string/rawmemchr.c: Likewise.
34324 * sysdeps/posix/getcwd.c: Likewise.
34325 * time/strftime_l.c: Likewise.
34327 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34329 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34330 * config.make.in (config-cflags-sse2avx): Define.
34331 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34334 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34336 * scripts/config.guess: Update from upstream config git repository.
34337 * scripts/config.sub: Likewise.
34339 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34341 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34343 (R_TILEPRO_*, R_TILEGX_*): New macros.
34345 * scripts/firstversions.awk: Fix bug in version range handling.
34347 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34349 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34351 * include/sys/epoll.h: New file.
34352 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34355 2012-01-28 Ulrich Drepper <drepper@gmail.com>
34357 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34358 Avoid unnecessary __WORDSIZE == 64 test.
34359 (fmaxf): Use VEX format if possible.
34364 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34365 * math/math_private.h: Remove libc_fegetround* and
34367 * sysdeps/i386/configure.in: Check for -msse2avx.
34368 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34369 also if SSE2AVX is defined.
34370 Remove libc_fegetround* and libc_fesetround*.
34371 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34372 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34373 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34376 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34377 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34378 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34379 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34381 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34383 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34385 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34387 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34389 2012-01-27 Ulrich Drepper <drepper@gmail.com>
34392 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34394 * Makeconfig (libm): Define.
34395 * elf/Makefile: Add rules to build and run tst-relsort1.
34396 * elf/tst-relsort1.c: New file.
34397 * elf/tst-relsort1mod1.c: New file.
34398 * elf/tst-relsort1mod2.c: New file.
34400 2012-01-27 Joseph Myers <joseph@codesourcery.com>
34402 * math/s_ldexp.c: Remove __STDC__ conditionals.
34403 * math/s_ldexpf.c: Likewise.
34404 * math/s_ldexpl.c: Likewise.
34405 * math/s_nextafter.c: Likewise.
34406 * math/s_nexttowardf.c: Likewise.
34407 * math/s_significand.c: Likewise.
34408 * math/s_significandf.c: Likewise.
34409 * math/s_significandl.c: Likewise.
34410 * math/w_jnl.c: Likewise.
34411 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34412 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34413 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34414 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34415 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34416 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34417 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34418 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34419 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34420 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34421 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34422 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34423 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34424 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34425 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34426 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34427 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34428 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34430 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34431 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34432 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34433 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34434 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34435 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34436 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34437 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34438 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34439 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34440 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34441 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34442 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34443 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34444 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34445 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34446 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34447 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34448 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34449 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34450 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34451 * sysdeps/ieee754/k_standard.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34494 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34495 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34496 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34497 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34499 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34500 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34501 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34502 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34503 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34504 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34505 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34506 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34507 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34508 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34509 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34510 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34511 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34512 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34513 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34514 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34515 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34516 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34517 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34518 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34519 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34520 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34521 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34522 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34523 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34524 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34525 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34526 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34527 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34528 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34529 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34531 * sysdeps/ieee754/s_matherr.c: Likewise.
34532 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34533 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34535 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34537 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34539 * crypt/md5.h: Remove __STDC__ conditionals.
34540 * libio/libioP.h: Likewise.
34541 * locale/programs/config.h: Likewise.
34542 * sysdeps/generic/sysdep.h: Likewise.
34543 * sysdeps/i386/asm-syntax.h: Likewise.
34544 * sysdeps/s390/asm-syntax.h: Likewise.
34545 * sysdeps/unix/sysdep.h: Likewise.
34546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34549 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34551 * libio/libio.h: Remove __STDC__ conditionals.
34552 * malloc/obstack.h: Likewise.
34553 * math/complex.h: Likewise.
34554 * math/math.h: Likewise.
34555 * sysdeps/generic/_G_config.h: Likewise.
34556 * sysdeps/gnu/_G_config.h: Likewise.
34557 * sysdeps/mach/hurd/_G_config.h: Likewise.
34558 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34559 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34560 * sysdeps/sparc/bits/mathdef.h: Likewise.
34562 2012-01-26 Ulrich Drepper <drepper@gmail.com>
34565 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34566 Clean up HAS_* macros.
34567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34568 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34570 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34572 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34573 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34574 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34575 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34576 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34578 2012-01-25 Joseph Myers <joseph@codesourcery.com>
34580 * elf/tst-unique3.cc (gets): Remove declaration.
34581 * elf/tst-unique3lib.cc (gets): Likewise.
34582 * elf/tst-unique3lib2.cc (gets): Likewise.
34583 * elf/tst-unique4.cc (gets): Likewise.
34585 2012-01-24 Ulrich Drepper <drepper@gmail.com>
34587 * include/stdio.h: Add C++ protection. Add gets declarations and
34589 * debug/tst-chk1.c: Don't declare gets here.
34590 * stdio-common/tst-gets.c: Likewise.
34592 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34594 * posix/glob: Remove directory.
34596 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34598 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34600 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34602 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34603 of the non-standard EPFNOSUPPORT.
34605 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34607 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34608 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34609 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34611 2012-01-21 Ulrich Drepper <drepper@gmail.com>
34613 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34615 2012-01-20 Ulrich Drepper <drepper@gmail.com>
34617 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34619 * nscd/grpcache.c (cache_addgr): Likewise.
34620 * nscd/hstcache.c (cache_addhst): Likewise.
34621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34622 * nscd/pwdcache.c (cache_addpw): Likewise.
34623 * nscd/servicescache.c (cache_addserv): Likewise.
34625 2012-01-16 Ulrich Drepper <drepper@gmail.com>
34627 * malloc/malloc.c: Various cleanups.
34628 * malloc/hooks.c: Likewise.
34630 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34631 * stdlib/bug-fmtmsg1.c: New file.
34633 * stdlib/fmtmsg.c (init): Add missing unlock.
34634 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34636 2012-01-12 Marek Polacek <polacek@redhat.com>
34638 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34641 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34643 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34644 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34645 macro to ensure uniqueness of label name.
34646 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34647 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34649 2012-01-11 Ulrich Drepper <drepper@gmail.com>
34651 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34653 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34654 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34655 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34658 2012-01-10 Ulrich Drepper <drepper@gmail.com>
34660 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34662 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34663 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34664 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34666 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34668 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34669 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34670 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34673 * math/bits/math-finite.h: Add ldexp support.
34675 2012-01-10 Marek Polacek <polacek@redhat.com>
34677 * locale/programs/localedef.h (show_archive_content): Add noreturn
34680 2012-01-09 Ulrich Drepper <drepper@gmail.com>
34682 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34684 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34686 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34688 * io/Makefile (headers): Add bits/poll2.h.
34690 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34693 typo #include statement.
34695 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34697 * include/sys/cdefs.h: Define __attribute_alloc_size.
34698 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34699 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34700 * elf/pldd.c: Likewise.
34701 * iconv/iconv_charmap.c: Likewise.
34702 * iconv/iconvconfig.c: Likewise.
34703 * iconv/strtab.c: Likewise.
34704 * locale/programs/locale.c: Likewise.
34705 * locale/programs/localedef.h: Likewise.
34706 * locale/programs/simple-hash.c: Likewise.
34707 * nscd/nscd.h: Likewise.
34708 * nss/makedb.c: Likewise.
34709 * sysdeps/generic/ldconfig.h: Likewise.
34710 * locale/programs/localedef.c: Remove xmalloc prototype.
34711 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34713 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34715 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34718 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34720 * math/Makefile (tests): Add tst-CMPLX.
34721 * math/tst-CMPLX.c: New file.
34723 * math/complex.h (CMPLXL): Fix typo.
34725 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34726 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34728 * debug/tst-chk1.c: Add poll and ppoll tests.
34729 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34730 * include/sys/poll.h: Add hidden proto for ppoll.
34731 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34732 * sysdeps/mach/hurd/ppoll.c: Likewise.
34733 * io/ppoll.c: Likewise.
34734 * debug/poll_chk.c: New file.
34735 * debug/ppoll_chk.c: New file.
34736 * include/bits/poll2.h: New file.
34737 * io/bits/poll2.h: New file.
34740 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34742 * configure.in: static is always set to yes. Remove.
34743 * config.make.in: Don't set build-static.
34744 * Makeconfig: Remove use of build-static.
34745 * dlfcn/Makefile: Likewise.
34746 * elf/Makefile: Likewise.
34747 * math/Makefile: Likewise.
34748 * misc/Makefile: Likewise.
34749 * nptl/Makefile: Likewise.
34750 * sysdeps/mach/hurd/Makefile: Likewise.
34752 * configure.in: PWD_P is not used anymore.
34753 * config.make.in: Remove PWD_P entry.
34755 * configure.in: Remove last remnants of RANLIB.
34756 No need to check for signed size_t anymore.
34757 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34759 Remove __builtin_expect test because we require at least gcc 3.4.
34760 * aclocal.m4: Likewise.
34762 * wcsmbs/mbrtoc16.c: Implement using towc function.
34763 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34764 * wcsmbs/wcsmbsload.c: Likewise.
34765 * iconv/gconv_simple.c: Likewise.
34766 * iconv/gconv_int.h: Likewise.
34767 * iconv/gconv_builtin.h: Likewise.
34768 * iconv/iconv_prog.c: Remove CHAR16 handling.
34770 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34772 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34774 * configure.in: Remove --with-elf and --enable-bounded options.
34775 Dont set base_machine for ia64. More non-ELF conditions removed.
34776 Remove testing and setting of leading underscore information.
34777 * config.make.in (build-bounded): Set to no.
34778 * config.h.in: Remove NO_UNDERSCORES entry.
34779 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
34781 * csu/start.c: Remove !NO_UNDERSCORE code.
34782 * locale/localeinfo.h: Likewise.
34783 * sysdeps/generic/machine-gmon.h: Likewise.
34784 * sysdeps/generic/sysdep.h: Likewise.
34785 * sysdeps/i386/sysdep.h: Likewise.
34786 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34787 * sysdeps/mach/sysdep.h: Likewise.
34788 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34790 * sysdeps/sh/sysdep.h: Likewise.
34791 * sysdeps/sparc/sparc32/alloca.S: Likewise.
34792 * sysdeps/unix/i386/sysdep.S: Likewise.
34793 * sysdeps/unix/sparc/start.c: Likewise.
34794 * sysdeps/unix/sparc/sysdep.S: Likewise.
34795 * sysdeps/unix/sparc/sysdep.h: Likewise.
34796 * sysdeps/unix/start.c: Likewise.
34797 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34798 * sysdeps/x86_64/sysdep.h: Likewise.
34800 2012-01-07 Ulrich Drepper <drepper@gmail.com>
34803 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34805 * argp/argp-fmtstream.h: Use const instead __const.
34806 * argp/argp.h: Likewise.
34807 * assert/assert.h: Likewise.
34808 * bits/fenv.h: Likewise.
34809 * bits/sched.h: Likewise.
34810 * bits/sigset.h: Likewise.
34811 * bits/sigthread.h: Likewise.
34812 * catgets/nl_types.h: Likewise.
34813 * conform/data/pthread.h-data: Likewise.
34814 * crypt/crypt-private.h: Likewise.
34815 * crypt/crypt.h: Likewise.
34816 * crypt/crypt_util.c: Likewise.
34817 * ctype/ctype.h: Likewise.
34818 * debug/execinfo.h: Likewise.
34819 * debug/mbsnrtowcs_chk.c: Likewise.
34820 * debug/mbsrtowcs_chk.c: Likewise.
34821 * debug/wcsnrtombs_chk.c: Likewise.
34822 * debug/wcsrtombs_chk.c: Likewise.
34823 * debug/wcstombs_chk.c: Likewise.
34824 * dirent/dirent.h: Likewise.
34825 * dlfcn/dlfcn.h: Likewise.
34826 * elf/neededtest4.c: Likewise.
34827 * grp/grp.h: Likewise.
34828 * gshadow/gshadow.h: Likewise.
34829 * iconv/gconv.h: Likewise.
34830 * iconv/gconv_int.h: Likewise.
34831 * iconv/gconv_simple.c: Likewise.
34832 * iconv/iconv.h: Likewise.
34833 * iconv/loop.c: Likewise.
34834 * iconv/skeleton.c: Likewise.
34835 * include/aio.h: Likewise.
34836 * include/aliases.h: Likewise.
34837 * include/argz.h: Likewise.
34838 * include/arpa/inet.h: Likewise.
34839 * include/assert.h: Likewise.
34840 * include/dirent.h: Likewise.
34841 * include/dlfcn.h: Likewise.
34842 * include/execinfo.h: Likewise.
34843 * include/fcntl.h: Likewise.
34844 * include/fenv.h: Likewise.
34845 * include/glob.h: Likewise.
34846 * include/grp.h: Likewise.
34847 * include/libintl.h: Likewise.
34848 * include/mntent.h: Likewise.
34849 * include/netdb.h: Likewise.
34850 * include/pwd.h: Likewise.
34851 * include/rpc/netdb.h: Likewise.
34852 * include/sched.h: Likewise.
34853 * include/search.h: Likewise.
34854 * include/shadow.h: Likewise.
34855 * include/signal.h: Likewise.
34856 * include/stdio.h: Likewise.
34857 * include/stdlib.h: Likewise.
34858 * include/string.h: Likewise.
34859 * include/sys/socket.h: Likewise.
34860 * include/sys/stat.h: Likewise.
34861 * include/sys/statfs.h: Likewise.
34862 * include/sys/statvfs.h: Likewise.
34863 * include/sys/syslog.h: Likewise.
34864 * include/sys/time.h: Likewise.
34865 * include/sys/uio.h: Likewise.
34866 * include/time.h: Likewise.
34867 * include/unistd.h: Likewise.
34868 * include/utmp.h: Likewise.
34869 * include/wchar.h: Likewise.
34870 * include/wctype.h: Likewise.
34871 * inet/aliases.h: Likewise.
34872 * inet/arpa/inet.h: Likewise.
34873 * inet/netinet/ether.h: Likewise.
34874 * inet/netinet/in.h: Likewise.
34875 * intl/libintl.h: Likewise.
34876 * io/bits/fcntl2.h: Likewise.
34877 * io/fcntl.h: Likewise.
34878 * io/ftw.h: Likewise.
34879 * io/sys/poll.h: Likewise.
34880 * io/sys/stat.h: Likewise.
34881 * io/sys/statfs.h: Likewise.
34882 * io/sys/statvfs.h: Likewise.
34883 * io/utime.h: Likewise.
34884 * libio/bits/stdio.h: Likewise.
34885 * libio/bits/stdio2.h: Likewise.
34886 * libio/libio.h: Likewise.
34887 * libio/libioP.h: Likewise.
34888 * libio/stdio.h: Likewise.
34889 * locale/lc-ctype.c: Likewise.
34890 * locale/locale.h: Likewise.
34891 * login/utmp.h: Likewise.
34892 * malloc/arena.c: Likewise.
34893 * malloc/malloc.c: Likewise.
34894 * malloc/malloc.h: Likewise.
34895 * malloc/mcheck.c: Likewise.
34896 * malloc/mtrace.c: Likewise.
34897 * math/bits/mathcalls.h: Likewise.
34898 * math/fenv.h: Likewise.
34899 * math/math_private.h: Likewise.
34900 * misc/bits/error.h: Likewise.
34901 * misc/bits/syslog.h: Likewise.
34902 * misc/err.h: Likewise.
34903 * misc/error.h: Likewise.
34904 * misc/fstab.h: Likewise.
34905 * misc/mntent.h: Likewise.
34906 * misc/regexp.h: Likewise.
34907 * misc/search.h: Likewise.
34908 * misc/sgtty.h: Likewise.
34909 * misc/sys/mman.h: Likewise.
34910 * misc/sys/syslog.h: Likewise.
34911 * misc/sys/uio.h: Likewise.
34912 * misc/sys/xattr.h: Likewise.
34913 * misc/ttyent.h: Likewise.
34914 * nis/rpcsvc/ypclnt.h: Likewise.
34915 * nss/nss.h: Likewise.
34916 * posix/bits/unistd.h: Likewise.
34917 * posix/fnmatch.h: Likewise.
34918 * posix/glob.h: Likewise.
34919 * posix/sched.h: Likewise.
34920 * posix/spawn.h: Likewise.
34921 * posix/sys/wait.h: Likewise.
34922 * posix/unistd.h: Likewise.
34923 * posix/wordexp.h: Likewise.
34924 * pwd/pwd.h: Likewise.
34925 * resolv/netdb.h: Likewise.
34926 * resource/sys/resource.h: Likewise.
34927 * rt/aio.h: Likewise.
34928 * rt/bits/mqueue2.h: Likewise.
34929 * rt/mqueue.h: Likewise.
34930 * shadow/shadow.h: Likewise.
34931 * signal/signal.h: Likewise.
34932 * socket/send.c: Likewise.
34933 * socket/sendto.c: Likewise.
34934 * socket/sys/socket.h: Likewise.
34935 * stdio-common/printf.h: Likewise.
34936 * stdlib/bits/stdlib.h: Likewise.
34937 * stdlib/fmtmsg.h: Likewise.
34938 * stdlib/monetary.h: Likewise.
34939 * stdlib/stdlib.h: Likewise.
34940 * stdlib/ucontext.h: Likewise.
34941 * streams/stropts.h: Likewise.
34942 * string/argz.h: Likewise.
34943 * string/bits/string2.h: Likewise.
34944 * string/string.h: Likewise.
34945 * string/strings.h: Likewise.
34946 * sunrpc/rpc/auth.h: Likewise.
34947 * sunrpc/rpc/auth_des.h: Likewise.
34948 * sunrpc/rpc/clnt.h: Likewise.
34949 * sunrpc/rpc/netdb.h: Likewise.
34950 * sunrpc/rpc/pmap_clnt.h: Likewise.
34951 * sunrpc/rpc/xdr.h: Likewise.
34952 * sysdeps/generic/inttypes.h: Likewise.
34953 * sysdeps/generic/net/if.h: Likewise.
34954 * sysdeps/generic/sys/swap.h: Likewise.
34955 * sysdeps/gnu/net/if.h: Likewise.
34956 * sysdeps/gnu/utmpx.h: Likewise.
34957 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34958 * sysdeps/i386/i486/bits/string.h: Likewise.
34959 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34960 * sysdeps/s390/bits/string.h: Likewise.
34961 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34962 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34963 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34964 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34965 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34966 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34967 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34968 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34969 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34970 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34971 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34972 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34973 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
34974 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34975 * sysdeps/unix/sysv/linux/readv.c: Likewise.
34976 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
34977 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34979 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34980 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34981 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34982 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
34983 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
34984 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
34985 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
34986 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
34987 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
34988 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34989 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
34990 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
34991 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
34992 * sysvipc/sys/ipc.h: Likewise.
34993 * sysvipc/sys/msg.h: Likewise.
34994 * sysvipc/sys/sem.h: Likewise.
34995 * sysvipc/sys/shm.h: Likewise.
34996 * termios/termios.h: Likewise.
34997 * time/sys/time.h: Likewise.
34998 * time/time.h: Likewise.
34999 * wcsmbs/bits/wchar2.h: Likewise.
35000 * wcsmbs/uchar.h: Likewise.
35001 * wcsmbs/wchar.h: Likewise.
35002 * wctype/wctype.h: Likewise.
35005 * Makeconfig: Remove all but ELF support including AIX support.
35006 * Makerules: Likewise.
35007 * config.h.in: Likewise.
35008 * config.make.in: Likewise.
35009 * configure: Likewise.
35010 * configure.in: Likewise.
35011 * csu/Makefile: Likewise.
35012 * csu/version.c: Likewise.
35013 * debug/Makefile: Likewise.
35014 * dlfcn/Makefile: Likewise.
35015 * elf/Makefile: Likewise.
35016 * extra-lib.mk: Likewise.
35017 * iconv/Makefile: Likewise.
35018 * include/libc-symbols.h: Likewise.
35019 * include/shlib-compat.h: Likewise.
35020 * resolv/Makefile: Likewise.
35021 * resolv/res_libc.c: Likewise.
35022 * rt/Makefile: Likewise.
35023 * sysdeps/i386/asm-syntax.h: Likewise.
35024 * sysdeps/i386/sysdep.h: Likewise.
35025 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35026 * sysdeps/mach/sysdep.h: Likewise.
35027 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35028 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35029 * sysdeps/s390/asm-syntax.h: Likewise.
35030 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35031 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35032 * sysdeps/sh/sysdep.h: Likewise.
35033 * sysdeps/unix/sparc/sysdep.h: Likewise.
35034 * sysdeps/wordsize-32/divdi3.c: Likewise.
35035 * sysdeps/x86_64/sysdep.h: Likewise.
35037 * argp/Versions: Remove _argp_unlock_xxx.
35040 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35041 * abilist/libBrokenLocale.abilist: Likewise.
35042 * abilist/libanl.abilist: Likewise.
35043 * abilist/libc.abilist: Likewise.
35044 * abilist/libcrypt.abilist: Likewise.
35045 * abilist/libdl.abilist: Likewise.
35046 * abilist/libm.abilist: Likewise.
35047 * abilist/libnsl.abilist: Likewise.
35048 * abilist/libpthread.abilist: Likewise.
35049 * abilist/libresolv.abilist: Likewise.
35050 * abilist/librt.abilist: Likewise.
35051 * abilist/libthread_db.abilist: Likewise.
35052 * abilist/libutil.abilist: Likewise.
35053 * abilist/libnss_db.abilist: New file.
35055 * scripts/abilist.awk: Add support for indirect functions.
35057 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35059 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35061 * shlib-versions: Remove entries for ports architectures.
35063 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35065 * elf/stackguard-macros.h: Remove support for IA-64.
35066 * elf/tst-auditmod1.c: Likewise.
35067 * sysdeps/generic/ldsodefs.h: Likewise.
35069 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35070 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35074 * configure.in: Remove --enable-omitfp support.
35076 * config.make.in: Likewise.
35077 * Makeconfig: Likewise.
35078 * manual/install.texi: Likewise.
35080 In case anyone cares, the IA-64 architecture could move to ports.
35081 * sysdeps/ia64/*: Removed.
35082 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35083 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35086 * configure.in: Remove entries for unsupported architectures.
35089 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35090 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35092 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35093 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35094 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35095 fall back to using wcrtomb.
35096 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35097 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35099 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35100 * wcsmbs/tst-c16c32-1.c: New file.
35102 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35105 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35107 * elf/tst-unique3.cc: Add explicit declaration of gets.
35108 * elf/tst-unique3lib.cc: Likewise.
35109 * elf/tst-unique3lib2.cc: Likewise.
35110 * elf/tst-unique4.cc: Likewise.
35112 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35114 2012-01-06 Joseph Myers <joseph@codesourcery.com>
35117 * assert/assert.h (static_assert): Don't define for C++.
35118 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35119 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35121 2012-01-03 Ulrich Drepper <drepper@gmail.com>
35123 * iconv/loop.c (single loop): Fix assertion in storing of
35126 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35128 2012-01-01 Ulrich Drepper <drepper@gmail.com>
35130 * posix/getconf.c: Update copyright year.
35131 * nss/getent.c: Likewise.
35132 * nss/makedb.c: Likewise.
35133 * iconv/iconvconfig.c: Likewise.
35134 * iconv/iconv_prog.c: Likewise.
35135 * elf/ldconfig.c: Likewise.
35136 * elf/pldd.c: Likewise.
35137 * elf/sotruss.ksh: Likewise.
35138 * catgets/gencat.c: Likewise.
35139 * csu/version.c: Likewise.
35140 * elf/ldd.bash.in: Likewise.
35141 * elf/sprof.c (print_version): Likewise.
35142 * locale/programs/locale.c: Likewise.
35143 * locale/programs/localedef.c: Likewise.
35144 * login/programs/pt_chown.c: Likewise.
35145 * nscd/nscd.c (print_version): Likewise.
35146 * debug/xtrace.sh: Likewise.
35147 * malloc/memusage.sh: Likewise.
35148 * malloc/mtrace.pl: Likewise.
35149 * debug/catchsegv.sh: Likewise.
35151 2011-12-30 Jakub Jelinek <jakub@redhat.com>
35153 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35156 2011-12-24 Ulrich Drepper <drepper@gmail.com>
35159 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35160 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35162 * iconv/gconv_int.h: Likewise.
35163 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35164 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35165 from libc for GLIBC_2.16.
35166 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35167 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35168 * wcsmbs/uchar.h: Really define mbstate_t.
35169 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35170 * wcsmbs/c16rtomb.c: New file.
35171 * wcsmbs/mbrtoc16.c: New file.
35172 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35173 for C/POSIX locale.
35174 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35175 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35177 * wcsmbs/wchar.h: Add missing __restrict.
35179 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35182 * time/Makefile (routines): Add timespec_get.
35183 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35184 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35185 timespec for ISO C11.
35186 * time/timespec_get.c: New file.
35187 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35188 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35191 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35192 * stdlib/stdlib.h: Declare aligned_alloc.
35193 * Versions.def: Add GLIBC_2.16 for libc.
35194 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35197 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35200 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35204 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35207 * assert/assert.h (static_assert): Define.
35209 * version.h: Update for 2.16 development version.
35212 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35215 * version.h (RELEASE): Bump for 2.15 release.
35216 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35218 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35219 Patch by Marek Polacek <mpolacek@redhat.com>.
35221 * bits/byteswap.h: Protect long long constants with __extension__.
35222 * sysdeps/i386/bits/byteswap.h: Likewise.
35223 * sysdeps/ia64/bits/byteswap.h: Likewise.
35224 * sysdeps/s390/bits/byteswap.h: Likewise.
35225 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35227 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35230 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35231 destination buffer.
35232 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35234 2011-12-23 Marek Polacek <polacek@redhat.com>
35236 * elf/dl-addr.c (determine_info): Add inline keyword.
35237 * elf/tst-auditmod4b.c (check_avx): Likewise.
35238 * elf/tst-auditmod6b.c (check_avx): Likewise.
35239 * elf/tst-auditmod6c.c (check_avx): Likewise.
35240 * elf/tst-auditmod7b.c (check_avx): Likewise.
35242 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35244 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35247 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35250 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35251 processing for last bytes.
35253 2011-08-06 Bruno Haible <bruno@clisp.org>
35256 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35257 U+0385, not to U+1FEE.
35260 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35261 entry for U+00A5 U+0301.
35263 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35266 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35267 buffer for the output is too small.
35269 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35273 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35274 SSE flags if possible.
35276 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35279 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35280 processing for last bytes.
35282 2011-12-22 Joseph Myers <joseph@codesourcery.com>
35284 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35285 (syscall-list-default-options, syscall-list-default-condition)
35286 (syscall-list-includes): Define.
35287 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35288 list of ABIs and options and #if conditions for each ABI. Do not
35289 handle common syscalls between ABIs specially.
35290 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35292 (syscall-list-variants, syscall-list-32bit-options)
35293 (syscall-list-32bit-condition, syscall-list-64bit-options)
35294 (syscall-list-64bit-condition): Define.
35295 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35296 (syscall-list-variants, syscall-list-32bit-options)
35297 (syscall-list-32bit-condition, syscall-list-64bit-options)
35298 (syscall-list-64bit-condition): Define.
35299 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35301 (syscall-list-variants, syscall-list-32bit-options)
35302 (syscall-list-32bit-condition, syscall-list-64bit-options)
35303 (syscall-list-64bit-condition): Define.
35304 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35306 (syscall-list-variants, syscall-list-32bit-options)
35307 (syscall-list-32bit-condition, syscall-list-64bit-options)
35308 (syscall-list-64bit-condition): Define.
35310 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35312 * locale/iso-639.def: Add brx entry.
35315 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35316 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35318 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35319 __feraiseexcept_renamed.
35321 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35324 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35325 EPOLLET with unsigned values.
35326 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35327 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35329 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35330 to large cancellation.
35331 * math/s_cacoshf.c: Likewise.
35332 * math/s_cacoshl.c: Likewise.
35334 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35338 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35339 * math/s_cacoshf.c: Likewise.
35340 * math/s_cacoshl.c: Likewise.
35342 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35345 * iconv/gconv.h: Define __GCONV_SWAP.
35346 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35347 * iconvdata/utf-16.c: Likewise.
35348 * iconvdata/utf-32.c: Likewise.
35350 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35353 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35354 numerator after shifting it by one limb.
35356 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35358 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35359 under [__USE_EXTERN_INLINES].
35361 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35364 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35366 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35368 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35369 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35371 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35372 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35373 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35374 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35375 for strncasecmp/strncasecmp_l compilation.
35376 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35377 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35379 2011-12-08 Marek Polacek <mpolacek@redhat.com>
35382 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35385 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35388 * time/tzfile.c (__tzfile_read): Check values from file header.
35390 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35392 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35393 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35394 * powerpc/powerpc32/dl-start.S: Likewise.
35395 * powerpc/powerpc32/elf/start.S: Likewise.
35396 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35397 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35398 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35399 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35400 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35401 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35402 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35403 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35404 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35405 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35406 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35407 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35408 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35409 * powerpc/powerpc32/memset.S: Likewise.
35410 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35411 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35412 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35413 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35414 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35415 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35416 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35417 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35418 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35419 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35420 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35421 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35422 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35424 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35426 * math/libm-test.inc: Added more nearbyint tests.
35427 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35428 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35429 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35430 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35432 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35434 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35437 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35439 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35440 Add wcscpy-ssse3 wcscpy-c.
35441 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35442 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35443 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35444 * sysdeps/x86_64/wcschr.S: New file.
35445 * sysdeps/x86_64/wcsrchr.S: New file.
35446 * string/test-strcmp.c: Remove checking of wcscmp function for
35448 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35449 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35450 wcsrchr-sse2 wcsrchr-c.
35451 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35452 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35453 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35454 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35455 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35456 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35457 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35458 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35459 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35460 * wcsmbc/wcschr.c (WCSCHR): New macro.
35462 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35464 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35465 * wcsmbs/test-wcsrchr.c: New file.
35466 * string/test-strrchr.c: Add wcsrchr support.
35468 * wcsmbs/test-wcscpy.c: New file.
35469 * string/test-strcpy.c: Add wcscpy support.
35472 2011-12-10 Ulrich Drepper <drepper@gmail.com>
35474 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35477 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35480 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35482 2011-12-04 Ulrich Drepper <drepper@gmail.com>
35484 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35485 Minor optimizations.
35487 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35488 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35489 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35491 2011-12-03 Ulrich Drepper <drepper@gmail.com>
35493 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35494 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35495 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35496 for gcc to avoid warnings.
35497 * inet/Makefile (tests): Add tst-checks.
35498 * inet/tst-checks.c: New file.
35500 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35503 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35506 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35507 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35509 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35511 2011-12-02 Ulrich Drepper <drepper@gmail.com>
35513 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35516 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35518 2011-11-29 Joseph Myers <joseph@codesourcery.com>
35520 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35521 conditional on GCC version.
35522 (__arch_compare_and_exchange_val_8_acq)
35523 (__arch_compare_and_exchange_val_16_acq)
35524 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35525 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35526 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35528 2011-12-02 Joseph Myers <joseph@codesourcery.com>
35530 * sysdeps/sh/backtrace.c: New file.
35532 2011-12-02 Andreas Schwab <schwab@redhat.com>
35534 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35537 2011-12-01 Andreas Schwab <schwab@redhat.com>
35539 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35540 falling back to utime.
35542 2011-11-30 Andreas Schwab <schwab@redhat.com>
35544 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35545 expectations for float.
35547 2011-11-29 Andreas Schwab <schwab@redhat.com>
35549 * locale/weight.h (findidx): Add parameter len.
35550 * locale/weightwc.h (findidx): Likewise.
35551 * posix/fnmatch_loop.c (FCT): Adjust caller.
35552 * posix/regcomp.c (build_equiv_class): Likewise.
35553 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35554 * posix/regexec.c (check_node_accept_bytes): Likewise.
35555 * string/strcoll_l.c (STRCOLL): Likewise.
35556 * string/strxfrm_l.c (STRXFRM): Likewise.
35558 2011-11-17 Ulrich Drepper <drepper@gmail.com>
35560 * Makefile.in: Remove CVSOPT handling.
35561 * configure.in: Remove use of AC_REVISION.
35562 * iconvdata/Makefile (distribute): No need to filter out CVS.
35563 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35566 2011-11-16 Andreas Schwab <schwab@redhat.com>
35568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35569 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35570 [USE_AS_STRNCASECMP_L]: Likewise.
35571 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35572 NO_TLS_DIRECT_SEG_REFS.
35573 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35574 Fix argument offsets for non-PIC.
35575 [USE_AS_STRNCASECMP_L]: Likewise.
35576 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35577 NO_TLS_DIRECT_SEG_REFS.
35579 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35581 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35583 * locale/loadlocale.c (_nl_load_locale): Likewise.
35585 2011-11-15 Andreas Schwab <schwab@redhat.com>
35587 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35588 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35589 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35590 (SYSCALL_GETTIME): Set errno on error.
35592 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35593 count references to noai6ai_cached.
35595 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35597 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35599 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35600 FD_CLOEXEC for /proc/self/maps.
35602 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35603 FD_CLOEXEC for /proc/meminfo.
35605 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35608 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35609 FD_CLOEXEC for given file.
35611 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35613 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35614 FD_CLOEXEC for /etc/hosts.
35615 (_gethtent): Likewise.
35617 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35619 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35620 cancellation and set FD_CLOEXEC for /etc/netgroup.
35622 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35623 reading /etc/publickey.
35625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35626 allow cancellation when reading /etc/group.
35628 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35630 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35632 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35633 when using data file.
35635 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35637 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35638 (write_nis_obj): Use "c" and "e" in fopen.
35640 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35642 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35644 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35646 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35648 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35651 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35653 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35655 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35657 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35658 file parsing and set FD_CLOEXEC.
35660 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35662 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35664 2011-11-14 Andreas Schwab <schwab@redhat.com>
35666 * malloc/arena.c (arena_get2): Don't call reused_arena when
35667 _int_new_arena failed.
35669 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35671 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35672 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35673 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35674 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35675 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35676 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35677 to compile strcasecmp and strncasecmp.
35678 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35679 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35683 2011-11-13 Ulrich Drepper <drepper@gmail.com>
35685 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35686 locale-defines.sym to gen-as-const-headers.
35687 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35688 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35690 to compile strcasecmp and strncasecmp.
35691 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35692 strcasecmp_l and strncasecmp_l.
35693 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35694 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35695 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35696 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35697 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35698 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35699 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35700 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35701 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35702 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35703 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35705 2011-11-12 Ulrich Drepper <drepper@gmail.com>
35707 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35708 result of SYSDEP_GETTIME_CPU to retval.
35709 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35710 parameter list to macro. Remove trailing semicolon. Adjust users.
35712 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35715 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35717 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35719 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35720 from unused variable.
35722 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35724 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35727 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35730 * sunrpc/rpc_prot.c (rejected): Fix case value.
35732 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35733 unsigned long long int to avoid warnings in shift.
35735 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35737 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35740 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35741 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35742 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35744 * nis/nis_table.c (nis_list): Use variable of correct type for
35745 result of __follow_path call.
35747 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35749 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35750 of math functions ceil, trunc, floor, round, and sqrt, when
35751 avaliable on the platform.
35752 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35754 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35755 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35756 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35758 2011-10-30 Marek Polacek <mpolacek@redhat.com>
35760 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35761 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35763 2011-11-11 Roland McGrath <roland@hack.frob.com>
35765 * include/unistd.h: Fix __readlink return type.
35766 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35768 2011-11-11 Ulrich Drepper <drepper@gmail.com>
35770 * stdlib/ucontext.h: Undo last change for makecontext.
35772 2011-11-11 Andreas Schwab <schwab@redhat.com>
35774 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35776 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35777 * setjmp/setjmp.h: Mark functions as non-leaf.
35778 * setjmp/bits/setjmp2.h: Likewise.
35779 * stdlib/ucontext.h: Likewise.
35781 2011-11-10 Andreas Schwab <schwab@redhat.com>
35783 * malloc/arena.c (_int_new_arena): Don't increment narenas.
35784 (reused_arena): Don't check arena limit.
35785 (arena_get2): Atomically check arena limit.
35787 2011-11-08 Ulrich Drepper <drepper@gmail.com>
35789 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35790 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35792 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35795 2011-11-07 Andreas Schwab <schwab@redhat.com>
35797 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35798 handler when locking.
35800 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35801 Fix size of allocated buffer.
35803 2011-11-04 Andreas Schwab <schwab@redhat.com>
35806 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35807 declarations for long double functions.
35808 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35810 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35812 2011-11-03 Andreas Schwab <schwab@redhat.com>
35814 * nscd/nscd.c (main): Don't start AVC thread until credentials are
35817 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35820 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35822 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35824 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
35826 * include/alloca.h (stackinfo_alloca_round): Define.
35827 (extend_alloca): Use it.
35828 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35829 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35832 * scripts/check-local-headers.sh: Ignore libaudit.h.
35834 * nscd/Makefile (extra-objs): Make recursively expanded.
35836 2011-11-01 Ulrich Drepper <drepper@gmail.com>
35838 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35839 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35841 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35842 * posix/tst-rfc3484-2.c: Likewise.
35843 * posix/tst-rfc3484-3.c: Likewise.
35845 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35847 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35849 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35850 process_vm_writev from libc using GLIBC_2.15 version.
35852 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35854 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
35856 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35859 2011-10-31 Ulrich Drepper <drepper@gmail.com>
35862 * nss/getent.c (initgroups_keys): Show error message in case no group
35865 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35866 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35867 __bump_nl_timestamp.
35868 * nscd/connections (nscd_init): When host database is served open
35869 netlink socket and request notification about configuration changes.
35870 (main_loop_poll): Track netlink file descriptor and bump timestamp
35871 in case data becomes available.
35872 (main_loop_epoll): Likewise.
35873 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35874 (database_pers_head): Add extra_data fileds.
35875 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35876 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35877 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35880 in6ai data, call __free_in6ai.
35881 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35882 Add -DHAVE_NETLINK.
35883 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
35884 interface information. Reuse previous data if netlink timestamp
35886 (__bump_nl_timestamp): New function.
35887 (__free_in6ai): New function.
35889 2011-10-30 Ulrich Drepper <drepper@gmail.com>
35891 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35892 close_not_cancel_no_status here.
35893 (__check_pf): Reorganize code a bit to not call close twice if OOM.
35895 2011-10-29 Ulrich Drepper <drepper@gmail.com>
35898 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35901 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35902 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35903 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35905 2011-07-03 Andreas Jaeger <aj@suse.de>
35908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35909 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35910 * math/libm-test.inc (sin_test): Add test case.
35912 2011-10-29 Ulrich Drepper <drepper@gmail.com>
35915 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35916 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35918 * elf/chroot_canon.c (chroot_canon): Cleanups.
35920 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35923 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35924 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35926 * string/test-strchr.c: Make usable for strchrnul testing.
35927 * string/test-strchrnul.c: New file.
35928 * string/Makefile (strop-tests): Add strchrnul.
35930 * po/it.po: Update from translation team.
35931 * po/es.po: Likewise.
35933 2011-10-28 Ulrich Drepper <drepper@gmail.com>
35935 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35936 the three constants needed as parameters. Drop the others.
35937 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35938 __m128i_strloadu_tolower.
35939 Create and initialize variable zero and use it in all the places
35940 where _mm_setzero_si128 was used.
35942 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35943 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35944 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35945 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35947 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35948 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35949 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35950 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35951 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35952 __mpranred, __mptan.
35953 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35954 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35955 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35956 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35957 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35958 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35959 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35960 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35961 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35963 2011-10-28 Andreas Schwab <schwab@redhat.com>
35965 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35966 redefine if SHARED.
35967 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35970 wide char related routines to wcsmbs subdir.
35972 2011-10-27 Andreas Schwab <schwab@redhat.com>
35975 * misc/sys/cdefs.h (__THROWNL): Define.
35976 * posix/unistd.h: Use __THREADNL instead of __THREAD
35977 for memory synchronization functions.
35979 2011-10-26 Roland McGrath <roland@hack.frob.com>
35982 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
35984 * manual/stdio.texi (Obstack Streams): Node removed.
35986 2011-10-26 Andreas Schwab <schwab@redhat.com>
35988 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
35989 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35990 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35992 * math/math_private.h (math_force_eval): Allow non-addressable
35994 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
35996 2011-10-25 Ulrich Drepper <drepper@gmail.com>
35998 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
35999 file is not needed.
36001 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36002 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36003 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36004 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36005 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36006 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36007 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36008 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36010 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36011 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36012 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36013 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36014 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36015 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36016 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36017 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36018 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36019 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36020 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36021 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36023 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36024 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36025 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36026 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36027 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36028 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36030 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36031 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36033 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36034 place. Use VEX encoding when compiling for AVX.
36036 2011-10-25 Andreas Schwab <schwab@redhat.com>
36038 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36039 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36041 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36043 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36045 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36046 useless if() expression.
36047 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36048 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36049 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36050 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36052 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36053 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36054 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36055 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36057 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36058 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36059 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36060 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36061 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36063 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36065 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36067 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36069 2011-10-25 Andreas Schwab <schwab@redhat.com>
36071 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36073 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36075 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36077 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36078 .text section. Avoid duplicate constants.
36079 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36081 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36083 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36084 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36087 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36088 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36089 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36090 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36091 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36092 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36093 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36094 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36095 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36096 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36097 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36099 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36100 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36101 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36102 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36103 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36104 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36105 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36106 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36107 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36108 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36109 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36110 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36111 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36112 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36113 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36114 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36115 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36116 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36117 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36118 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36119 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36120 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36121 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36122 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36123 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36125 2011-10-24 Ulrich Drepper <drepper@gmail.com>
36127 * sysdeps/x86_64/dla.h: Move to ...
36128 * sysdeps/x86_64/fpu/dla.h: ...here.
36129 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36130 situations. Use __builtin_fma only for gcc 4.6 and up.
36132 * config.make.in: Add have-mfma4 entry.
36133 * configure.in: Substitute libc_cv_cc_fma4.
36134 * math/Makefile (dbl-only-routines): Add sincostab.
36135 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36136 Use __sincostab not sincos.
36137 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36139 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36144 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36145 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36146 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36147 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36149 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36150 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36152 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36153 define aliases when function name is a macro.
36154 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36155 sysdeps/ieee754/dbl-64/sincos.tbl.
36156 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36157 fma4-enabled routines.
36158 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36159 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36160 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36161 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36162 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36163 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36165 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36167 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36168 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36169 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36170 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36171 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36172 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36173 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36174 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36175 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36176 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36177 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36178 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36179 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36180 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36181 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36183 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36184 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36185 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36186 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36187 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36189 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36192 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36195 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36197 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36198 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36200 2011-10-24 Andreas Schwab <schwab@redhat.com>
36202 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36204 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36206 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36208 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36212 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36213 Remove unused variable magic_bits.
36214 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36216 * string/strnlen.c: Define and use STRNLEN macro.
36217 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36218 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36219 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36220 * wcsmbs/wcslen.c: Define and use WCSLEN.
36221 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36222 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36223 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36224 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36225 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36226 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36227 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36229 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36232 strnlen-sse2-no-bsf.
36233 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36234 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36235 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36236 Add strnlen support.
36237 (USE_AS_STRNLEN): New macro.
36238 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36239 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36240 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36241 * sysdeps/x86_64/wcslen.S: New file.
36243 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36245 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36246 XMM-moves are used for copying on small sizes.
36248 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36250 * wcsmbs/Makefile (strop-tests): Add wcschr.
36251 * wcsmbs/test-wcschr.c: New file.
36252 * string/test-strchr.c: Update.
36253 Add wcschr support.
36256 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36258 * wcsmbs/Makefile (strop-tests): Add wcslen.
36259 * wcsmbs/test-wcslen.c: New file.
36260 * string/test-strlen.c: Update.
36261 Add wcslen support.
36264 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36266 * po/it.po: Update from translation team.
36268 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36270 * sysdeps/x86_64/wcscmp.S: Update.
36271 Fix wrong comparison semantics.
36272 wcscmp shall use signed comparison not unsigned.
36273 Don't use substraction to avoid overflow bug.
36274 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36275 * wcsmbc/wcscmp.c: Likewise.
36276 * string/test-strcmp.c: Likewise.
36277 Add new tests to check cases with negative values.
36279 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36281 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36282 * sysdeps/x86_64/dla.h: ...here. New file.
36283 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36288 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36289 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36290 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36293 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36296 __ynl_finite aliases.
36298 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36302 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36304 [DLA_FMA] (EMULV): Use DLA_FMA.
36305 [DLA_FMA] (MUL12): Use EMULV.
36306 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36307 that are not needed.
36308 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36310 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36311 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36312 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36313 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36314 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36316 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36318 * math/s_nan.c: Undef __nan.
36319 * math/s_nanf.c: Undef __nanf.
36320 * math/s_nanl.c: Undef __nanl.
36321 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36324 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36326 * math/s_catan.c: Add branch predictions.
36327 * math/s_catanf.c: Likewise.
36328 * math/s_catanh.c: Likewise.
36329 * math/s_catanhf.c: Likewise.
36330 * math/s_catanhl.c: Likewise.
36331 * math/s_catanl.c: Likewise.
36332 * math/s_cexp.c: Likewise.
36333 * math/s_cexpf.c: Likewise.
36334 * math/s_cexpl.c: Likewise.
36335 * math/s_clog.c: Likewise.
36336 * math/s_clog10.c: Likewise.
36337 * math/s_clog10f.c: Likewise.
36338 * math/s_clog10l.c: Likewise.
36339 * math/s_clogf.c: Likewise.
36340 * math/s_clogl.c: Likewise.
36341 * math/s_csqrt.c: Likewise.
36342 * math/s_csqrtf.c: Likewise.
36343 * math/s_csqrtl.c: Likewise.
36344 * math/s_ctanf.c: Likewise.
36345 * math/s_ctanh.c: Likewise.
36346 * math/s_ctanhf.c: Likewise.
36347 * math/s_ctanhl.c: Likewise.
36348 * math/s_ctanl.c: Likewise.
36350 * math/math_private.h: Define __nan, __nanf, __nanl.
36351 * math/s_cacosh.c: Include <math_private.h>.
36352 * math/s_cacoshl.c: Likewise.
36353 * math/s_casinh.c: Likewise.
36354 * math/s_casinhf.c: Likewise.
36355 * math/s_casinhl.c: Likewise.
36356 * math/s_ccos.c: Rely entire on ccosh.
36357 * math/s_ccosf.c: Rely entire on ccoshf.
36358 * math/s_ccosl.c: Rely entirely on ccoshl.
36359 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36360 Remove tests for FE_INVALID.
36361 * math/s_ccoshf.c: Likewise.
36362 * math/s_ccoshl.c: Likewise.
36363 * math/s_csin.c: Likewise.
36364 * math/s_csinf.c: Likewise.
36365 * math/s_csinh.c Likewise.
36366 * math/s_csinhf.c: Likewise.
36367 * math/s_csinhl.c: Likewise.
36368 * math/s_csinl.c: Likewise.
36369 * math/s_ctan.c: Likewise.
36370 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36371 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36372 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36374 2011-10-21 Ulrich Drepper <drepper@gmail.com>
36376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36377 compilation problems.
36379 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36382 2011-10-20 Ulrich Drepper <drepper@gmail.com>
36384 * sysdeps/i386/configure.in: Test for -mfma4 option.
36385 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36386 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36387 COMMON_CPUID_INDEX_80000001.
36388 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36389 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36390 use it if FMA3 is not supported.
36391 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36393 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36394 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36396 2011-10-20 Andreas Schwab <schwab@redhat.com>
36399 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36400 it would create a cycle with a link time dependency.
36402 2011-10-19 Ulrich Drepper <drepper@gmail.com>
36404 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36406 * string/Makefile (strop-tests): Add rawmemchr.
36407 * string/test-rawmemchr.c: New file.
36409 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36410 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36411 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36412 when compiling str{,n}casecmp and when AVX is available. Hook up
36413 new optimized code in initializers.
36415 2011-10-19 Andreas Schwab <schwab@redhat.com>
36417 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36418 __feraiseexcept instead of feraiseexcept.
36420 2011-10-18 Ulrich Drepper <drepper@gmail.com>
36422 * math/math_private.h: Define defaults for libc_fetestexcept and
36424 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36425 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36426 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36427 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36428 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36429 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36430 libc_fetestexcept and libc_feupdateenv.
36432 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36433 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36434 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36435 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36436 libc_feholdexcept_setround.
36438 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36439 Add s_nearbyint-c and s_nearbyintf-c.
36440 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36441 nearbyintf inlines.
36442 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36443 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36444 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36445 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36447 * math/math_private.h: Define defaults for libc_fegetround,
36448 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36449 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36450 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36451 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36452 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36453 standard functions.
36454 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36455 Remove comments and hacks for old compiler versions.
36456 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36457 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36458 libc_feholdexceptl.
36460 2011-10-18 Andreas Schwab <schwab@redhat.com>
36462 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36463 (__feraiseexcept_renamed): Add __NTH.
36464 (feraiseexcept): Add __NTH. Rename local variables to fix
36465 namespace violations.
36467 2011-10-17 Ulrich Drepper <drepper@gmail.com>
36469 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36471 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36473 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36474 recently added interfaces.
36475 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36477 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36478 about macro parameter expansion.
36480 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36481 __NO_MATH_INLINES is defined. Cleanups.
36483 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36484 and __floorf is target has SSE4.1.
36485 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36486 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36487 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36488 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36490 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36492 (floorf): Likewise.
36494 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36496 2011-10-17 Andreas Schwab <schwab@redhat.com>
36498 * misc/sys/cdefs.h: Fix last change.
36500 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36503 2011-10-16 Ulrich Drepper <drepper@gmail.com>
36505 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36507 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36509 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36510 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36511 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36512 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36513 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36514 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36515 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36516 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36517 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36518 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36519 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36520 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36521 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36522 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36523 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36524 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36525 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36526 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36527 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36528 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36530 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36531 ceil, ceilf, floor, floorf.
36533 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36534 Perform IRELATIVE relocations last.
36536 * elf/do-rel.h: Add another parameter nrelative, replacing the
36537 local variable with the same name. Change name of the function
36538 to end in Rel or Rela (uppercase).
36539 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36540 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36541 elf_dynamic_do_##reloc function.
36543 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36545 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36546 is sufficient, at least on modern CPUs.
36548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36550 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36551 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36553 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36555 * math/bits/math-finite.h: Add entries for exp.
36556 * math/e_expl.c: Add __*_finite alias.
36557 * sysdeps/i386/fpu/e_exp.S: Likewise.
36558 * sysdeps/i386/fpu/e_expf.S: Likewise.
36559 * sysdeps/i386/fpu/e_expl.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36561 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36562 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36563 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36565 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36566 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36568 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36569 is sufficient, at least on modern CPUs.
36571 * ctype/ctype-info.c (__ctype_init): Define.
36572 * include/ctype.h (__ctype_init): Declare.
36573 (__ctype_b_loc): The variable is always initialized.
36574 (__ctype_toupper_loc): Likewise.
36575 (__ctype_tolower_loc): Likewise.
36576 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36577 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36579 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36581 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36583 * configure.in: Also look in $cxxmachine/include for C++ system
36586 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36588 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36589 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36590 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36591 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36592 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36593 (USE_AS_WMEMCMP): New macro.
36595 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36596 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36597 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36598 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36600 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36601 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36602 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36603 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36604 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36605 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36606 (USE_AS_WMEMCMP): New macro.
36607 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36608 * sysdeps/string/test-memcmp.c: Update.
36609 Fix simple_wmemcmp.
36611 * wcsmbs/wmemcmp.c: Update.
36612 (WMEMCMP): New macro.
36615 2011-10-12 Andreas Jaeger <aj@suse.de>
36618 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36620 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36622 * libio/iofwide.c (do_length): Avoid warning.
36624 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36626 2011-10-14 Ulrich Drepper <drepper@gmail.com>
36628 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36630 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36631 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36632 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36633 * sysdeps/i386/i686/fpu/e_log.S: New file.
36634 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36635 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36637 * ctype/ctype.h: Add support for inlined isXXX functions when
36638 compiling C++ code.
36640 2011-10-14 Andreas Schwab <schwab@redhat.com>
36642 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36644 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36646 2011-10-13 Roland McGrath <roland@hack.frob.com>
36649 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36651 2011-10-13 Andreas Schwab <schwab@redhat.com>
36653 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36654 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36657 * sysdeps/x86_64/memrchr.S: Check for zero size.
36659 * string/stratcliff.c: Add memrchr tests.
36661 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36664 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36665 rawmemchr-sse2 rawmemchr-sse2-bsf.
36666 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36667 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36668 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36669 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36670 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36671 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36672 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36673 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36674 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36675 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36676 * string/memrchr.c (MEMRCHR): New macro.
36678 2011-10-12 Ulrich Drepper <drepper@gmail.com>
36680 Add integration with gcc's -ffinite-math-only and optimize wrapper
36682 * Versions.def: Define GLIBC_2.15 version for libm.
36683 * math/Makefile (headers): Add bits/math-finite.h.
36684 * math/bits/math-finite.h: New file.
36685 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36686 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36687 * math/e_acoshl.c: Add __*_finite alias.
36688 * math/e_acosl.c: Likewise.
36689 * math/e_asinl.c: Likewise.
36690 * math/e_atan2l.c: Likewise.
36691 * math/e_atanhl.c: Likewise.
36692 * math/e_coshl.c: Likewise.
36693 * math/e_exp10.c: Likewise.
36694 * math/e_exp10f.c: Likewise.
36695 * math/e_exp10l.c: Likewise.
36696 * math/e_exp2l.c: Likewise.
36697 * math/e_fmodl.c: Likewise.
36698 * math/e_gammal_r.c: Likewise.
36699 * math/e_hypotl.c: Likewise.
36700 * math/e_j0l.c: Likewise.
36701 * math/e_j1l.c: Likewise.
36702 * math/e_jnl.c: Likewise.
36703 * math/e_lgammal_r.c: Likewise.
36704 * math/e_log10l.c: Likewise.
36705 * math/e_log2l.c: Likewise.
36706 * math/e_logl.c: Likewise.
36707 * math/e_powl.c: Likewise.
36708 * math/e_sinhl.c: Likewise.
36709 * math/e_sqrtl.c: Likewise.
36710 * math/e_scalb.c: Completely rewritten and optimized.
36711 * math/e_scalbf.c: Likewise.
36712 * math/e_scalbl.c: Likewise.
36713 * math/w_acos.c: Likewise.
36714 * math/w_acosf.c: Likewise.
36715 * math/w_acosl.c: Likewise.
36716 * math/w_acosh.c: Likewise.
36717 * math/w_acoshf.c: Likewise.
36718 * math/w_acoshl.c: Likewise.
36719 * math/w_asin.c: Likewise.
36720 * math/w_asinf.c: Likewise.
36721 * math/w_asinl.c: Likewise.
36722 * math/w_atan2.c: Likewise.
36723 * math/w_atan2f.c: Likewise.
36724 * math/w_atan2l.c: Likewise.
36725 * math/w_atanh.c: Likewise.
36726 * math/w_atanhf.c: Likewise.
36727 * math/w_atanhl.c: Likewise.
36728 * math/w_exp10.c: Likewise.
36729 * math/w_exp10f.c: Likewise.
36730 * math/w_exp10l.c: Likewise.
36731 * math/w_fmod.c: Likewise.
36732 * math/w_fmodf.c: Likewise.
36733 * math/w_fmodl.c: Likewise.
36734 * math/w_j0.c: Likewise.
36735 * math/w_j0f.c: Likewise.
36736 * math/w_j0l.c: Likewise.
36737 * math/w_j1.c: Likewise.
36738 * math/w_j1f.c: Likewise.
36739 * math/w_j1l.c: Likewise.
36740 * math/w_jn.c: Likewise.
36741 * math/w_jnf.c: Likewise.
36742 * math/w_log.c: Likewise.
36743 * math/w_logf.c: Likewise.
36744 * math/w_logl.c: Likewise.
36745 * math/w_log10.c: Likewise.
36746 * math/w_log10f.c: Likewise.
36747 * math/w_log10l.c: Likewise.
36748 * math/w_log2.c: Likewise.
36749 * math/w_log2f.c: Likewise.
36750 * math/w_log2l.c: Likewise.
36751 * math/w_pow.c: Likewise.
36752 * math/w_powf.c: Likewise.
36753 * math/w_powl.c: Likewise.
36754 * math/w_remainder.c: Likewise.
36755 * math/w_remainderf.c: Likewise.
36756 * math/w_remainderl.c: Likewise.
36757 * math/w_scalb.c: Likewise.
36758 * math/w_scalbf.c: Likewise.
36759 * math/w_scalbl.c: Likewise.
36760 * math/w_sqrt.c: Likewise.
36761 * math/w_sqrtf.c: Likewise.
36762 * math/w_sqrtl.c: Likewise.
36763 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36764 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36766 * math/math_private.h: Declare __kernel_standard_f.
36767 * math/w_cosh.c: Remove cruft and optimize a bit.
36768 * math/w_coshf.c: Likewise.
36769 * math/w_coshl.c: Likewise.
36770 * math/w_exp2.c: Likewise.
36771 * math/w_exp2f.c: Likewise.
36772 * math/w_exp2l.c: Likewise.
36773 * math/w_hypot.c: Likewise.
36774 * math/w_hypotf.c: Likewise.
36775 * math/w_hypotl.c: Likewise.
36776 * math/w_lgamma.c: Likewise.
36777 * math/w_lgamma_r.c: Likewise.
36778 * math/w_lgammaf.c: Likewise.
36779 * math/w_lgammaf_r.c: Likewise.
36780 * math/w_lgammal.c: Likewise.
36781 * math/w_lgammal_r.c: Likewise.
36782 * math/w_sinh.c: Likewise.
36783 * math/w_sinhf.c: Likewise.
36784 * math/w_sinhl.c: Likewise.
36785 * math/w_tgamma.c: Likewise.
36786 * math/w_tgammaf.c: Likewise.
36787 * math/w_tgammal.c: Likewise.
36788 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36789 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36790 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36791 Minor optimizations. Pretty printing. Remove cruft.
36792 * sysdeps/i386/fpu/e_acosf.S: Likewise.
36793 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36794 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36795 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36796 * sysdeps/i386/fpu/e_acosl.c: Likewise.
36797 * sysdeps/i386/fpu/e_asin.S: Likewise.
36798 * sysdeps/i386/fpu/e_asinf.S: Likewise.
36799 * sysdeps/i386/fpu/e_atan2.S: Likewise.
36800 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36801 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36802 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36803 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36804 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36805 * sysdeps/i386/fpu/e_exp10.S: Likewise.
36806 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36807 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36808 * sysdeps/i386/fpu/e_exp2.S: Likewise.
36809 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36810 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36811 * sysdeps/i386/fpu/e_fmod.S: Likewise.
36812 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36813 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36814 * sysdeps/i386/fpu/e_hypot.S: Likewise.
36815 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36816 * sysdeps/i386/fpu/e_log.S: Likewise.
36817 * sysdeps/i386/fpu/e_log10.S: Likewise.
36818 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36819 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36820 * sysdeps/i386/fpu/e_log2.S: Likewise.
36821 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36822 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36823 * sysdeps/i386/fpu/e_logf.S: Likewise.
36824 * sysdeps/i386/fpu/e_logl.S: Likewise.
36825 * sysdeps/i386/fpu/e_pow.S: Likewise.
36826 * sysdeps/i386/fpu/e_powf.S: Likewise.
36827 * sysdeps/i386/fpu/e_powl.S: Likewise.
36828 * sysdeps/i386/fpu/e_remainder.S: Likewise.
36829 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36830 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36831 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36832 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36833 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36834 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36835 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36836 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36837 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36838 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36840 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36841 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36842 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36843 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36844 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36845 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36846 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36847 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36848 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36850 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36851 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36853 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36854 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36855 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36858 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36859 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36860 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36861 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36862 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36863 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36864 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36865 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36866 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36867 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36868 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36869 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36870 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36871 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36872 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36873 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36874 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36875 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36876 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36877 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36878 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36879 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36880 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36881 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36882 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36883 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36884 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36885 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36886 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36887 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36888 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36889 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36890 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36891 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36892 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36893 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36894 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36895 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36896 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36897 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36898 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36901 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36903 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36904 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36905 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36906 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36907 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36908 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36909 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36911 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36913 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36914 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36915 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36916 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36917 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36918 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36919 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36920 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36921 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36922 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36923 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36924 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36925 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36926 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36927 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36928 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36929 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36930 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36931 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36932 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36933 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36934 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36935 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36936 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36937 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36938 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36939 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36940 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36941 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36942 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36943 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36944 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36945 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36946 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36947 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
36948 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36949 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36950 (__isnanf): Likewise.
36951 (__isinf_ns): Likewise.
36952 (__isinf_nsf): Likewise.
36953 (__finite): Likewise.
36954 (__finitef): Likewise.
36955 (__ieee754_sqrt): Define as macro.
36956 (__ieee754_sqrtf): Define as macro.
36957 (__ieee754_sqrtl): Define as macro.
36958 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36960 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36961 __FINITE_MATH_ONLY__ consistent.
36962 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36964 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
36966 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36969 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36971 2011-10-09 Ulrich Drepper <drepper@gmail.com>
36973 * po/ja.po: Update from translation team.
36975 2011-10-08 Roland McGrath <roland@hack.frob.com>
36977 * locale/programs/locarchive.c (prepare_address_space): New function.
36978 (create_archive, enlarge_archive, open_archive): Use it.
36980 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
36981 inside [SHARED], where it is used.
36983 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
36985 * nss/getent.c (netgroup_keys): Remove unused variable.
36986 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36988 2011-10-08 Ulrich Drepper <drepper@gmail.com>
36990 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
36991 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
36992 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
36993 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
36994 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
36995 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
36996 * math/Makefile (libm-calls): Add s_isinf_ns.
36997 * math/divtc3.c: Use __isinf_nsl instead of isinf.
36998 * math/multc3.c: Likewise.
36999 * math/s_casin.c: Likewise.
37000 * math/s_casinf.c: Likewise.
37001 * math/s_casinl.c: Likewise.
37002 * math/s_ccos.c: Likewise.
37003 * math/s_ccosf.c: Likewise.
37004 * math/s_ccosl.c: Likewise.
37005 * math/s_ctan.c: Likewise.
37006 * math/s_ctanf.c: Likewise.
37007 * math/s_ctanh.c: Likewise.
37008 * math/s_ctanhf.c: Likewise.
37009 * math/s_ctanhl.c: Likewise.
37010 * math/s_ctanl.c: Likewise.
37011 * math/w_fmod.c: Likewise.
37012 * math/w_fmodf.c: Likewise.
37013 * math/w_fmodl.c: Likewise.
37014 * math/w_remainder.c: Likewise.
37015 * math/w_remainderf.c: Likewise.
37016 * math/w_remainderl.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37018 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37019 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37021 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37022 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37023 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37024 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37026 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37028 * stdio-common/printf_fphex.c: Likewise.
37029 * stdio-common/printf_size.c: Likewise.
37031 * math/e_exp10.c: Include math_private.h using <...> not "...".
37032 * math/e_exp10f.c: Likewise.
37033 * math/e_exp10l.c: Likewise.
37034 * math/e_exp2l.c: Likewise.
37035 * math/e_j0l.c: Likewise.
37036 * math/e_j1l.c: Likewise.
37037 * math/e_jnl.c: Likewise.
37038 * math/e_lgammal_r.c: Likewise.
37039 * math/e_rem_pio2l.c: Likewise.
37040 * math/e_scalb.c: Likewise.
37041 * math/e_scalbf.c: Likewise.
37042 * math/e_scalbl.c: Likewise.
37043 * math/k_cosl.c: Likewise.
37044 * math/k_sinl.c: Likewise.
37045 * math/k_tanl.c: Likewise.
37046 * math/s_cacoshf.c: Likewise.
37047 * math/s_catan.c: Likewise.
37048 * math/s_catanf.c: Likewise.
37049 * math/s_catanh.c: Likewise.
37050 * math/s_catanhf.c: Likewise.
37051 * math/s_catanhl.c: Likewise.
37052 * math/s_catanl.c: Likewise.
37053 * math/s_ccosh.c: Likewise.
37054 * math/s_ccoshf.c: Likewise.
37055 * math/s_ccoshl.c: Likewise.
37056 * math/s_cexp.c: Likewise.
37057 * math/s_cexpf.c: Likewise.
37058 * math/s_cexpl.c: Likewise.
37059 * math/s_clog.c: Likewise.
37060 * math/s_clog10.c: Likewise.
37061 * math/s_clog10f.c: Likewise.
37062 * math/s_clog10l.c: Likewise.
37063 * math/s_clogf.c: Likewise.
37064 * math/s_clogl.c: Likewise.
37065 * math/s_csin.c: Likewise.
37066 * math/s_csinf.c: Likewise.
37067 * math/s_csinh.c: Likewise.
37068 * math/s_csinhf.c: Likewise.
37069 * math/s_csinhl.c: Likewise.
37070 * math/s_csinl.c: Likewise.
37071 * math/s_csqrt.c: Likewise.
37072 * math/s_csqrtf.c: Likewise.
37073 * math/s_csqrtl.c: Likewise.
37074 * math/s_ctan.c: Likewise.
37075 * math/s_ctanf.c: Likewise.
37076 * math/s_ctanh.c: Likewise.
37077 * math/s_ctanhf.c: Likewise.
37078 * math/s_ctanhl.c: Likewise.
37079 * math/s_ctanl.c: Likewise.
37080 * math/s_ldexp.c: Likewise.
37081 * math/s_ldexpf.c: Likewise.
37082 * math/s_ldexpl.c: Likewise.
37083 * math/s_significand.c: Likewise.
37084 * math/s_significandf.c: Likewise.
37085 * math/s_significandl.c: Likewise.
37086 * math/w_acos.c: Likewise.
37087 * math/w_acosf.c: Likewise.
37088 * math/w_acosh.c: Likewise.
37089 * math/w_acoshf.c: Likewise.
37090 * math/w_acoshl.c: Likewise.
37091 * math/w_acosl.c: Likewise.
37092 * math/w_asin.c: Likewise.
37093 * math/w_asinf.c: Likewise.
37094 * math/w_asinl.c: Likewise.
37095 * math/w_atan2.c: Likewise.
37096 * math/w_atan2f.c: Likewise.
37097 * math/w_atan2l.c: Likewise.
37098 * math/w_atanh.c: Likewise.
37099 * math/w_atanhf.c: Likewise.
37100 * math/w_atanhl.c: Likewise.
37101 * math/w_cosh.c: Likewise.
37102 * math/w_coshf.c: Likewise.
37103 * math/w_coshl.c: Likewise.
37104 * math/w_dremf.c: Likewise.
37105 * math/w_exp10.c: Likewise.
37106 * math/w_exp10f.c: Likewise.
37107 * math/w_exp10l.c: Likewise.
37108 * math/w_exp2.c: Likewise.
37109 * math/w_exp2f.c: Likewise.
37110 * math/w_fmod.c: Likewise.
37111 * math/w_fmodf.c: Likewise.
37112 * math/w_fmodl.c: Likewise.
37113 * math/w_hypot.c: Likewise.
37114 * math/w_hypotf.c: Likewise.
37115 * math/w_hypotl.c: Likewise.
37116 * math/w_j0.c: Likewise.
37117 * math/w_j0f.c: Likewise.
37118 * math/w_j0l.c: Likewise.
37119 * math/w_j1.c: Likewise.
37120 * math/w_j1f.c: Likewise.
37121 * math/w_j1l.c: Likewise.
37122 * math/w_jn.c: Likewise.
37123 * math/w_jnf.c: Likewise.
37124 * math/w_jnl.c: Likewise.
37125 * math/w_lgamma.c: Likewise.
37126 * math/w_lgamma_r.c: Likewise.
37127 * math/w_lgammaf.c: Likewise.
37128 * math/w_lgammaf_r.c: Likewise.
37129 * math/w_lgammal.c: Likewise.
37130 * math/w_lgammal_r.c: Likewise.
37131 * math/w_log.c: Likewise.
37132 * math/w_log10.c: Likewise.
37133 * math/w_log10f.c: Likewise.
37134 * math/w_log10l.c: Likewise.
37135 * math/w_log2.c: Likewise.
37136 * math/w_log2f.c: Likewise.
37137 * math/w_log2l.c: Likewise.
37138 * math/w_logf.c: Likewise.
37139 * math/w_logl.c: Likewise.
37140 * math/w_pow.c: Likewise.
37141 * math/w_powf.c: Likewise.
37142 * math/w_powl.c: Likewise.
37143 * math/w_remainder.c: Likewise.
37144 * math/w_remainderf.c: Likewise.
37145 * math/w_remainderl.c: Likewise.
37146 * math/w_scalb.c: Likewise.
37147 * math/w_scalbf.c: Likewise.
37148 * math/w_scalbl.c: Likewise.
37149 * math/w_sinh.c: Likewise.
37150 * math/w_sinhf.c: Likewise.
37151 * math/w_sinhl.c: Likewise.
37152 * math/w_sqrt.c: Likewise.
37153 * math/w_sqrtf.c: Likewise.
37154 * math/w_sqrtl.c: Likewise.
37155 * math/w_tgamma.c: Likewise.
37156 * math/w_tgammaf.c: Likewise.
37157 * math/w_tgammal.c: Likewise.
37159 * po/ja.po: Update from translation team.
37161 2011-09-29 Andreas Jaeger <aj@suse.de>
37164 * sunrpc/netname.c (netname2host): Fix logic.
37168 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37170 * math/w_remainder.c (__remainder): Likewise.
37171 * math/w_remainderf.c (__remainderf): Likewise.
37172 * math/libm-test.inc (remainder_test): Add test cases.
37174 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37176 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37179 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37181 * string/test-memcmp.c: Avoid unncessary #defines.
37182 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37184 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37186 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37187 Use new sse2 version for core i3 - i7 as it's faster
37188 than sse42 version.
37189 (bit_Prefer_PMINUB_for_stringop): New.
37190 * sysdeps/x86_64/rawmemchr.S: Update.
37191 Replace with faster SSE2 version.
37192 * sysdeps/x86_64/memrchr.S: New file.
37193 * sysdeps/x86_64/memchr.S: Update.
37194 Replace with faster SSE2 version.
37196 2011-09-12 Marek Polacek <mpolacek@redhat.com>
37198 * elf/dl-load.c (lose): Add cast to avoid warning.
37200 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37202 * po/ca.po: Update from translation team.
37204 * inet/getnetgrent_r.c: Hook up nscd.
37205 * nscd/Makefile (routines): Add nscd_netgroup.
37206 (nscd-modules): Add netgroupcache.
37207 (CFLAGS-netgroupcache.c): Define.
37208 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37209 (cache_search): Add const to second parameter.
37210 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37212 (dbs): Add netgrdb entry.
37213 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37214 (verify_persistent_db): Handle netgrdb.
37215 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37216 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37218 (netgroup_response_header): Define.
37219 (innetgroup_response_header): Define.
37220 (datahead): Add netgroup_response_header and innetgroup_response_header
37222 * nscd/nscd.conf: Add entries for netgroup cache.
37223 * nscd/nscd.h (dbtype): Add netgrdb.
37224 (_PATH_NSCD_NETGROUP_DB): Define.
37225 (netgroup_iov_disabled): Declare.
37226 (xmalloc, xcalloc, xrealloc): Move declarations here.
37227 (cache_search): Adjust prototype.
37228 Add netgroup-related prototypes.
37229 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37230 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37231 (__nscd_innetgr): Declare.
37232 * nscd/selinux.c (perms): Use access_vector_t as element type and
37233 add netgroup-related initializers.
37234 * nscd/netgroupcache.c: New file.
37235 * nscd/nscd_netgroup.c: New file.
37236 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37237 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37238 For four parameters use innetgr.
37239 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37240 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37241 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37242 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37244 * nscd/connections.c (register_traced_file): Don't register file
37245 for disabled databases.
37247 2011-10-06 Ulrich Drepper <drepper@gmail.com>
37249 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37251 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37252 from tree and freeing node.
37254 2011-09-25 Jiri Olsa <jolsa@redhat.com>
37256 * nss/nsswitch.c (__nss_database_lookup): Handle
37257 nss_parse_service_list out of memory case.
37259 2011-09-15 Jiri Olsa <jolsa@redhat.com>
37261 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37262 out of memory case.
37264 2011-10-04 Andreas Schwab <schwab@redhat.com>
37266 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37267 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37269 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37270 elf_machine_rela, elf_machine_lazy_rel.
37271 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37272 (ELF_DYNAMIC_DO_REL): Likewise.
37273 (ELF_DYNAMIC_DO_RELA): Likewise.
37274 (ELF_DYNAMIC_RELOCATE): Likewise.
37275 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37276 to ELF_DYNAMIC_DO_REL.
37277 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37278 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37279 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37281 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37282 skip_ifunc, don't call ifunc function if non-zero.
37283 (elf_machine_rela): Likewise.
37284 (elf_machine_lazy_rel): Likewise.
37285 (elf_machine_lazy_rela): Likewise.
37286 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37287 (elf_machine_lazy_rel): Likewise.
37288 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37290 (elf_machine_lazy_rel): Likewise.
37291 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37293 (elf_machine_lazy_rel): Likewise.
37294 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37295 (elf_machine_lazy_rel): Likewise.
37296 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37297 (elf_machine_lazy_rel): Likewise.
37298 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37299 (elf_machine_lazy_rel): Likewise.
37300 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37301 (elf_machine_lazy_rel): Likewise.
37302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37303 (elf_machine_lazy_rel): Likewise.
37304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37305 (elf_machine_lazy_rel): Likewise.
37307 2011-09-28 Ulrich Drepper <drepper@gmail.com>
37309 * nss/nss_files/files-init.c (_nss_files_init): Use static
37310 initialization for all the *_traced_file variables.
37312 2011-09-28 Andreas Schwab <schwab@redhat.com>
37314 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37316 2011-09-27 Roland McGrath <roland@hack.frob.com>
37319 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37321 2011-09-27 Andreas Schwab <schwab@redhat.com>
37323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37324 Reread the line before reparsing it.
37326 2011-09-26 Andreas Schwab <schwab@redhat.com>
37328 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37330 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37331 Maxim Kuvyrkov <maxim@codesourcery.com>
37332 Joseph Myers <joseph@codesourcery.com>
37334 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37335 if needed for __stack_chk_guard.
37337 2011-09-19 Roland McGrath <roland@hack.frob.com>
37339 * sysdeps/posix/spawni.c (script_execute): Always define it.
37340 It will be optimized away if unused.
37341 (maybe_script_execute): New function.
37342 (__spawni): Call it.
37344 * Makerules: Don't include tls.make.
37345 (config-tls): Always set to thread.
37346 * tls.make.c: File removed.
37348 2011-09-19 Mike Frysinger <vapier@gentoo.org>
37350 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37351 * config.make.in (CPPFLAGS-config): New substituted variable.
37353 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37355 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37358 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37359 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37361 2011-09-15 Roland McGrath <roland@hack.frob.com>
37363 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37364 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37366 (CALL_FAIL): Likewise.
37367 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37368 (CALL_FAIL): Macro removed.
37369 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37371 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37373 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37374 for __FINITE_MATH_ONLY__ == 1.
37376 2011-09-15 Andreas Schwab <schwab@redhat.com>
37378 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37379 __ieee754_sqrt instead of sqrt.
37380 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37381 __ieee754_sqrtf instead of sqrtf.
37382 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37383 __floorf instead of floorf.
37384 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37385 __floorf, __truncf instead of floorf, truncf.
37387 2011-09-14 Ulrich Drepper <drepper@gmail.com>
37389 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37391 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37392 __extern_always_inline.
37393 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37396 2011-09-14 Andreas Schwab <schwab@redhat.com>
37398 * elf/rtld.c (dl_main): Also relocate in dependency order when
37399 doing symbol dependency testing.
37401 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37404 Always define `refsym'.
37406 2011-09-13 Andreas Schwab <schwab@redhat.com>
37408 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37409 (__FD_ELT): Renamed from __FDELT.
37410 * misc/bits/select2.h (__FD_ELT): Likewise.
37411 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37412 __FD_MASK instead of __FDELT, __FDMASK.
37413 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37415 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37418 * elf/Makefile (gen-ldd): Fix pattern.
37420 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37421 (init_tls): Likewise.
37423 2011-09-12 Ulrich Drepper <drepper@gmail.com>
37425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37427 2011-09-12 Andreas Schwab <schwab@redhat.com>
37429 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37430 `struct cmsghdr *' instead of `void *'.
37431 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37434 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37436 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37438 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37439 ldd_rewrite_script.
37441 2011-09-11 Ulrich Drepper <drepper@gmail.com>
37443 * configure.in: Remove --with-tls option.
37444 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37445 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37446 out in case it is missing.
37447 * sysdeps/ia64/elf/configure.in: Likewise.
37448 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37449 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37450 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37451 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37452 * sysdeps/sh/elf/configure.in: Likewise.
37453 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37454 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37455 * sysdeps/x86_64/elf/configure.in: Likewise.
37456 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37457 * sysdeps/mach/hurd/tls.h: Likewise.
37460 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37463 * configure.in: Fix use of AC_INIT.
37465 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37467 2011-09-10 Ulrich Drepper <drepper@gmail.com>
37469 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37471 * malloc/hooks.c: Likewise.
37474 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37475 variables statically.
37476 (narenas): Initialize.
37477 (list_lock): Initialize.
37478 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37479 initializtion of main_arena and list_lock. Small cleanups.
37480 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37481 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37482 Add initializers to main_arena and mp_.
37483 (malloc_state): Remove pagesize member. Change all users to use
37486 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37487 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37488 is always initialized.
37490 * malloc/malloc.c: Removed unused configurations and dead code.
37491 * malloc/arena.c: Likewise.
37492 * malloc/hooks.c: Likewise.
37493 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37495 * include/tls.h: Removed. USE___THREAD must always be defined.
37496 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37497 * elf/dl-libc.c: Likewise.
37498 * elf/dl-tsd.c: Likewise.
37499 * include/errno.h: Likewise.
37500 * include/netdb.h: Likewise.
37501 * include/resolv.h: Likewise.
37502 * inet/herrno-loc.c: Likewise.
37503 * inet/herrno.c: Likewise.
37504 * malloc/arena.c: Likewise.
37505 * malloc/hooks.c: Likewise.
37506 * malloc/malloc.c: Likewise.
37507 * resolv/res-state.c: Likewise.
37508 * resolv/res_libc.c: Likewise.
37509 * sysdeps/i386/dl-machine.h: Likewise.
37510 * sysdeps/ia64/dl-machine.h: Likewise.
37511 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37512 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37513 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37514 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37515 * sysdeps/sh/dl-machine.h: Likewise.
37516 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37517 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37518 * sysdeps/unix/i386/sysdep.S: Likewise.
37519 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37520 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37521 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37522 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37524 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37525 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37527 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37529 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37530 * sysdeps/x86_64/dl-machine.h: Likewise.
37531 * tls.make.c: Likewise.
37533 * configure.in: Remove --with-__thread option. Make tests for
37534 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37535 tls_model attribute fail if no support is available. Remove
37537 * Makeconfig: Adjust for dropped configure option. All features are
37539 * Makerules: Likewise.
37540 * Versions.def: Likewise.
37541 * argp/argp-fmtstream.c: Likewise.
37542 * argp/argp-fmtstream.h: Likewise.
37543 * argp/argp-help.c: Likewise.
37544 * assert/assert.c: Likewise.
37545 * config.h.in: Likewise.
37546 * config.make.in: Likewise.
37547 * configure: Likewise.
37548 * configure.in: Likewise.
37549 * csu/Versions: Likewise.
37550 * csu/init.c: Likewise.
37551 * elf/tst-audit2.c: Likewise.
37552 * elf/tst-tls10.c: Likewise.
37553 * elf/tst-tls10.h: Likewise.
37554 * elf/tst-tls11.c: Likewise.
37555 * elf/tst-tls12.c: Likewise.
37556 * elf/tst-tls14.c: Likewise.
37557 * elf/tst-tlsmod11.c: Likewise.
37558 * elf/tst-tlsmod12.c: Likewise.
37559 * elf/tst-tlsmod13.c: Likewise.
37560 * elf/tst-tlsmod13a.c: Likewise.
37561 * elf/tst-tlsmod14a.c: Likewise.
37562 * elf/tst-tlsmod15b.c: Likewise.
37563 * elf/tst-tlsmod16a.c: Likewise.
37564 * elf/tst-tlsmod16b.c: Likewise.
37565 * elf/tst-tlsmod7.c: Likewise.
37566 * elf/tst-tlsmod8.c: Likewise.
37567 * elf/tst-tlsmod9.c: Likewise.
37568 * gmon/gmon.c: Likewise.
37569 * grp/fgetgrent_r.c: Likewise.
37570 * grp/putgrent.c: Likewise.
37571 * hurd/fopenport.c: Likewise.
37572 * include/libc-symbols.h: Likewise.
37573 * include/tls.h: Likewise.
37574 * intl/gettextP.h: Likewise.
37575 * intl/loadinfo.h: Likewise.
37576 * locale/global-locale.c: Likewise.
37577 * locale/localeinfo.h: Likewise.
37578 * mach/devstream.c: Likewise.
37579 * malloc/arena.c: Likewise.
37580 * malloc/set-freeres.c: Likewise.
37581 * misc/err.c: Likewise.
37582 * misc/getttyent.c: Likewise.
37583 * misc/mntent_r.c: Likewise.
37584 * posix/getopt.c: Likewise.
37585 * posix/wordexp.c: Likewise.
37586 * pwd/fgetpwent_r.c: Likewise.
37587 * resolv/Versions: Likewise.
37588 * resolv/res_hconf.c: Likewise.
37589 * shadow/fgetspent_r.c: Likewise.
37590 * shadow/putspent.c: Likewise.
37591 * stdio-common/printf_fphex.c: Likewise.
37592 * stdio-common/tmpfile.c: Likewise.
37593 * stdlib/abort.c: Likewise.
37594 * stdlib/fmtmsg.c: Likewise.
37595 * sunrpc/auth_unix.c: Likewise.
37596 * sunrpc/clnt_perr.c: Likewise.
37597 * sunrpc/clnt_tcp.c: Likewise.
37598 * sunrpc/clnt_udp.c: Likewise.
37599 * sunrpc/clnt_unix.c: Likewise.
37600 * sunrpc/openchild.c: Likewise.
37601 * sunrpc/svc_simple.c: Likewise.
37602 * sunrpc/svc_tcp.c: Likewise.
37603 * sunrpc/svc_udp.c: Likewise.
37604 * sunrpc/svc_unix.c: Likewise.
37605 * sunrpc/xdr.c: Likewise.
37606 * sunrpc/xdr_array.c: Likewise.
37607 * sunrpc/xdr_rec.c: Likewise.
37608 * sunrpc/xdr_ref.c: Likewise.
37609 * sunrpc/xdr_stdio.c: Likewise.
37611 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37613 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37615 2011-07-03 Andreas Jaeger <aj@suse.de>
37617 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37618 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37619 regenerate with gen-libm-tests.pl.
37621 2010-05-12 Petr Baudis <pasky@suse.cz>
37624 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37625 around j0() zero points by switching to j1().
37626 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37627 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37629 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37631 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37633 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37635 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37638 Patch in part by Pavel Roskin <proski@gnu.org>.
37641 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37643 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37644 Free memory block if necessary.
37647 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37648 be NULL. Don't lock in this case.
37650 2011-09-09 Roland McGrath <roland@hack.frob.com>
37652 * elf/elf.h (ELFOSABI_GNU): New macro.
37653 (ELFOSABI_LINUX): Define to that.
37655 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37657 * string/strncat.c (strncat): Undef the symbol in case it has been
37658 defined in bits/string.h.
37660 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37662 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37664 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37667 2011-08-17 Andreas Jaeger <aj@suse.de>
37669 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37671 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37672 Ian Lance Taylor <iant@google.com>
37674 * math/libm-test.inc (lround_test): New testcase.
37675 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37677 2011-09-08 Ulrich Drepper <drepper@gmail.com>
37679 * Makefile: Remove support for automatic cvs check-ins.
37680 * Makerules: Likewise.
37681 * config.make.in: Likewise.
37682 * configure.in: Likewise.
37683 * intl/Makefile: Likewise.
37684 * locale/Makefile: Likewise.
37685 * po/Makefile: Likewise.
37686 * posix/Makefile: Likewise.
37687 * sysdeps/gnu/Makefile: Likewise.
37688 * sysdeps/mach/hurd/Makefile: Likewise.
37689 * sysdeps/sparc/sparc32/Makefile: Likewise.
37692 * posix/Makefile (bug-regex32-ENV): Define.
37693 Patch by John Stanley <jpsinthemix@verizon.net>.
37695 * misc/Makefile (headers): Add bits/select2.h.
37696 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37697 * misc/bits/select2.h: New file.
37698 * include/bits/select2.h: New file.
37699 * debug/Makefile (routines): Add fdelt_chk.
37700 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37701 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37703 * debug/fdelt_chk.c: New file.
37705 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37706 * wcsmbs/test-wmemcmp.c: Likewise.
37707 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37708 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37710 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37712 * string/Makefile (strop-tests): Add memcmp.
37713 * string/test-wmemcmp.c: New file.
37714 * string/test-memcmp.c: Add wmemcmp support.
37716 2011-09-08 Roland McGrath <roland@hack.frob.com>
37719 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37722 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37723 garbage value in a __mach_port_mod_refs call in the cases of the
37724 task-self and thread-self ports.
37726 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37728 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37730 2011-09-08 Andreas Schwab <schwab@redhat.com>
37732 * elf/dl-load.c (lose): Check for non-null L.
37734 2011-09-07 Ulrich Drepper <drepper@gmail.com>
37736 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37738 * elf/dl-libc.c (dlerror_run): Pass back error code from
37742 * elf/dl-load.c (lose): Free l_origin if it is valid.
37744 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37746 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37747 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37748 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37749 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37750 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37751 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37753 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37755 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37756 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37757 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37758 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37759 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37760 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37761 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37762 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37763 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37764 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37766 2011-08-15 Alan Modra <amodra@gmail.com>
37769 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37770 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37771 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37772 ppc_mcount to static-only-routines.
37773 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37775 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37776 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37778 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
37780 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37781 for finite and infinity parameters.
37783 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37785 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37786 and add nop instructions for throughput optimization.
37787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37789 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
37791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37792 aligned copy for power7 with vector-scalar instructions.
37793 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37795 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
37797 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37800 2011-09-07 Andreas Schwab <schwab@redhat.com>
37803 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37806 2011-09-07 Ulrich Drepper <drepper@gmail.com>
37808 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37809 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37810 syscall wrapper around clock_gettime in __vdso_clock_gettime.
37811 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37814 2011-09-06 Ulrich Drepper <drepper@gmail.com>
37816 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37817 Forgot to demangle the pointer.
37819 * sysdeps/i386/sysdep.h: Define atom_text_section.
37820 * sysdeps/x86_64/sysdep.h: Likewise.
37821 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37822 section with atom_text_section.
37823 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37824 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37825 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37826 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37827 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37829 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37830 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37831 already be defined. Change to take two parameters and don't assign
37832 result to variable. Adjust all users.
37833 Define INTERNAL_GETTIME if not already defined.
37834 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37837 HAVE_CLOCK_GETTIME_VSYSCALL.
37838 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37840 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37841 gettimeofday vsyscall, just use time.
37843 2011-09-06 Andreas Schwab <schwab@redhat.com>
37845 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37848 2011-09-06 Ulrich Drepper <drepper@gmail.com>
37850 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37854 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37855 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37856 syscall if possible.
37858 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37860 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37861 e_ident. Don't pass to find_mapsXX.
37862 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37864 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37867 strchr-sse2-no-bsf strrchr-sse2-no-bsf
37868 * sysdeps/x86_64/multiarch/strchr.S: Update.
37869 Check bit_slow_BSF bit.
37870 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37871 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37872 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37874 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37877 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37879 (tryshell): Define.
37880 (__spawni): Change last parameter to be flag. Test
37881 SPAWN_XFLAGS_USE_PATH flag to use path or not.
37882 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37883 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37884 * posix/spawni.c: Likewise.
37885 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37886 * posix/spawnp.c: Likewise. Change normal version to use
37887 SPAWN_XFLAGS_USE_PATH.
37888 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37889 SPAWN_XFLAGS_TRY_SHELL.
37892 * posix/glob.h: Remove gcc 1.x support.
37895 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37897 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37900 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37902 * sysdeps/i386/i686/multiarch/strchr.S: New file.
37903 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37904 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37905 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37906 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37907 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37909 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37911 * sysdeps/x86_64/wcscmp.S: New file.
37913 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37914 wcscmp-c wcscmp-sse2
37915 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37916 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37917 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37918 * wcsmbs/wcscmp.c: Allow renaming.
37920 2011-09-05 David S. Miller <davem@davemloft.net>
37922 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37923 stack slot, rather than the struct return pointer slot.
37924 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37925 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37927 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37929 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37931 * po/ja.po: Update from translation team.
37934 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37935 kernel in 64-bit binaries.
37937 2011-09-01 David S. Miller <davem@davemloft.net>
37939 * elf/elf.h (HWCAP_SPARC_*): Move to..
37940 * sysdeps/sparc/sysdep.h: this new file and add new values.
37941 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37942 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37943 _DL_HWCAP_COUNT to 24.
37944 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37946 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37947 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37948 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37950 instead of magic constants.
37951 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37953 2011-08-31 David S. Miller <davem@davemloft.net>
37955 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37956 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37957 Reimplement to do errno handling inline.
37958 (SYSCALL_ERROR_HANDLER): New macro.
37959 (__SYSCALL_STRING): Do not do errno handling in asm.
37960 (__CLONE_SYSCALL_STRING): Delete.
37961 (__INTERNAL_SYSCALL_STRING): Delete.
37962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37963 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37964 (PSEUDO): Reimplement to do errno handling inline.
37965 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
37966 (SYSCALL_ERROR_HANDLER): New macro.
37967 (__SYSCALL_STRING): Do not do errno handling in asm.
37968 (__CLONE_SYSCALL_STRING): Delete.
37969 (__INTERNAL_SYSCALL_STRING): Delete.
37970 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
37971 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37973 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
37974 (inline_syscall*): Add 'err' argument.
37975 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
37976 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
37977 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
37978 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
37980 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
37981 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37983 2011-08-30 Andreas Schwab <schwab@redhat.com>
37985 * elf/rtld.c (dl_main): Relocate objects in dependency order.
37987 2011-08-29 Jiri Olsa <jolsa@redhat.com>
37989 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
37992 2011-08-24 David S. Miller <davem@davemloft.net>
37994 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
37996 2011-08-24 Andreas Schwab <schwab@redhat.com>
37998 * elf/Makefile: Add rules to build and run unload8 test.
37999 * elf/unload8.c: New file.
38000 * elf/unload8mod1.c: New file.
38001 * elf/unload8mod1x.c: New file.
38002 * elf/unload8mod2.c: New file.
38003 * elf/unload8mod3.c: New file.
38005 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38008 2011-08-23 David S. Miller <davem@davemloft.net>
38010 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38011 subtract stack bias.
38012 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38013 %sp not %fp in calculations.
38014 (_JMPBUF_UNWINDS_ADJ): Likewise.
38016 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38017 (aio_suspend): Call it to force an exception region around the
38018 AIO_MISC_WAIT() invocation.
38020 2011-08-23 Andreas Schwab <schwab@redhat.com>
38022 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38025 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38027 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38029 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38030 and <dl-machine.h>.
38031 (Elf64_FuncDesc): Remove.
38033 2011-08-22 David S. Miller <davem@davemloft.net>
38035 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38036 sigaltstack check, add missing cfi directives.
38037 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38038 missing cfi directives, and sigaltstack handling.
38040 2011-08-16 Andreas Schwab <schwab@redhat.com>
38043 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38044 object is seen twice.
38045 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38047 * elf/Makefile (distribute): Add tst-initorder2.c.
38048 (tests): Add tst-initorder2.
38049 (modules-names): Add tst-initorder2a tst-initorder2b
38050 tst-initorder2c tst-initorder2d. Add rules to build them.
38051 ($(objpfx)tst-initorder2.out): New rule.
38052 * elf/tst-initorder2.c: New file.
38053 * elf/tst-initorder2.exp: New file.
38055 2011-08-22 Andreas Schwab <schwab@redhat.com>
38057 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38059 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38060 dependencies back to end of function.
38062 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38063 $(elfobjdir)/ld.so.
38065 2011-08-21 Ulrich Drepper <drepper@gmail.com>
38067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38068 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38070 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38071 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38072 of __vdso_gettimeofday.
38073 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38074 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38076 (_libc_vdso_platform_setup): Remove initialization of
38077 __vdso_gettimeofday and __vdso_time.
38079 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38081 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38082 and fgetc_unlocked.
38083 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38086 * elf/dl-open.c (add_to_global): Report additions to the global scope
38087 for LD_DEBUG=scopes.
38088 (dl_open_worker): Also print scope of newly loaded dependencies.
38089 (_dl_show_scope): Indicate if there is no scope.
38092 * stdio-common/Makefile (tests): Add bug24.
38093 * stdio-common/bug24.c: New file.
38095 2011-08-19 Andreas Jaeger <aj@suse.de>
38098 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38099 non-existant file when using close-on-exec mode.
38101 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38104 the very first instruction.
38106 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38107 the CFI state in the end.
38108 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38109 inclusion of dl-trampoline.h.
38110 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38112 2011-08-19 Andreas Schwab <schwab@redhat.com>
38114 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38115 expectations for long double.
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38118 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38120 2011-08-14 David S. Miller <davem@davemloft.net>
38122 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38123 artificual limit depends upon the system page size.
38125 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38127 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38128 * resolv/Makefile: Define CFLAGS-libresolv.
38130 2011-08-17 Andreas Schwab <schwab@redhat.com>
38132 * nss/makedb.c (compute_tables): Make variables used in nested
38135 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38137 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38138 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38139 if buffer was too small.
38141 * elf/pldd.c (main): Attach to all threads in the process.
38142 Rewrite /proc handling to use *at functions.
38144 2011-08-16 Ulrich Drepper <drepper@gmail.com>
38146 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38147 specifies first scope to show.
38148 (dl_open_worker): Update callers. Move printing scope of new
38149 object to before the relocation.
38150 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38151 * sysdeps/generic/ldsodefs.h: Update declaration.
38153 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38154 string for the scope number.
38156 2011-08-14 Ulrich Drepper <drepper@gmail.com>
38158 * nscd/servicescache.c (cache_addserv): Make sure written is always
38161 2011-08-14 Roland McGrath <roland@hack.frob.com>
38163 * sysdeps/i386/i486/bits/atomic.h
38164 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38165 statement expression, so as to suppress "set but not used" warning.
38166 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38168 * string/strncat.c (STRNCAT): Use prototype definition.
38170 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38171 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38173 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38174 (localedef-modules): Add localedef.
38175 (locale-modules): Add locale.
38177 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38178 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38179 to avoid a warning.
38181 2011-08-14 David S. Miller <davem@davemloft.net>
38183 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38184 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38186 2011-08-13 Ulrich Drepper <drepper@gmail.com>
38188 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38189 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38190 * elf/rtld.c (dl_main): Set l_name of vDSO.
38191 Call _dl_show_scope when DL_DEBUG_SCOPES.
38192 (process_dl_debug): Recognize scopes flag and also set it for all.
38193 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38194 Declare _dl_show_scope.
38196 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38197 (do_dlopen): Pass caller_dlopen to dl_open.
38198 (__libc_dlopen_mode): Initialize caller_dlopen.
38200 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38201 of libc. Make tolower call locale-independent. Optimize a bit by
38202 using isdigit instead of isalnum.
38203 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38205 2011-08-12 Ulrich Drepper <drepper@gmail.com>
38207 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38208 was a dependency or dynamically loaded.
38210 2011-08-11 Ulrich Drepper <drepper@gmail.com>
38212 * intl/l10nflist.c: Allow architecture-specific pop function.
38213 * sysdeps/x86_64/l10nflist.c: New file.
38215 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38218 2011-08-10 Andreas Schwab <schwab@redhat.com>
38220 * include/dirent.h: Add libc_hidden_proto for scandirat and
38221 scandirat64. Don't declare __scandirat64.
38222 * dirent/scandirat.c: Add libc_hidden_def.
38223 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38224 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38226 2011-08-10 David S. Miller <davem@davemloft.net>
38228 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38231 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38232 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38234 2011-08-09 Ulrich Drepper <drepper@gmail.com>
38236 * Versions.def [libc]: Add GLIBC_2.15.
38237 * dirent/Makefile (routines): Add scandirat and scandirat64.
38238 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38240 * dirent/dirent.h: Declare scandirat and scandirat64.
38241 * dirent/scandirat.c: New file.
38242 * dirent/scandirat64.c: New file.
38243 * sysdeps/wordsize-64/scandirat.c: New file.
38244 * sysdeps/wordsize-64/scandirat64.c: New file.
38245 * dirent/opendir.c: Define opendirat.
38246 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38248 * dirent/scandir64.c: Adjust for scandir.c change.
38249 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38250 __scandirat64, and __scandir_cancel_handler.
38251 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38252 additional parameter and use openat instead of open (outside of ld.so).
38253 Add new __opendir as wrapper around __opendirat.
38254 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38255 here without requiring old scandirat implementation.
38257 2011-08-08 Ulrich Drepper <drepper@gmail.com>
38259 * dirent/scandir.c (cancel_handler): Renamed to
38260 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38261 defined. Adjust users.
38262 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38263 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38265 2011-08-04 Ulrich Drepper <drepper@gmail.com>
38267 * string/test-string.h (IMPL): Use __STRING to expand name and then
38270 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38273 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38275 * string/Makefile: Update.
38276 (strop-tests): Append strncat.
38277 * string/test-wcscmp.c: New file.
38278 New comprehensive test for wcscmp.
38279 * string/test-strcmp.c: Update.
38280 (WIDE): New define.
38282 2011-07-22 Andreas Schwab <schwab@redhat.com>
38284 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38287 2011-07-26 Andreas Schwab <schwab@redhat.com>
38289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38290 encoding to ACE if AI_IDN.
38292 2011-08-01 Jakub Jelinek <jakub@redhat.com>
38294 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38295 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38297 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38299 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38300 Fix overflow bug in strncat.
38301 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38303 * string/test-strncat.c: Update.
38304 Add new tests for checking overflow bugs.
38306 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38308 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38309 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38310 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38311 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38312 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38313 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38314 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38315 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38316 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38318 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38319 (USE_AS_STRCAT): Define.
38320 Add strcat and strncat support.
38321 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38323 2011-07-25 Andreas Schwab <schwab@redhat.com>
38325 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38326 __n bigger than INT_MAX+1.
38327 (__strncmp_g): Likewise.
38329 2011-07-23 Ulrich Drepper <drepper@gmail.com>
38331 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38332 * libio/stido.h: Likewise.
38334 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38339 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38340 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38341 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38342 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38343 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38346 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38349 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38351 (_dl_x86_64_save_sse): Likewise.
38353 2011-07-22 Ulrich Drepper <drepper@gmail.com>
38355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38357 (_dl_x86_64_save_sse): Likewise.
38359 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38361 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38363 2011-07-21 Andreas Schwab <schwab@redhat.com>
38365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38367 (_dl_x86_64_save_sse): Use correct AVX check.
38369 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38371 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38372 bug in strncpy/strncat.
38373 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38375 2011-07-21 Ulrich Drepper <drepper@gmail.com>
38377 * string/tester.c (test_strcat): Add tests for different alignments
38378 of source and destination.
38379 (test_strncat): Likewise.
38381 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38384 * posix/glob.c (glob): Check passed in values before using them in
38385 expressions to avoid some overflows.
38386 (glob_in_dir): Likewise.
38389 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38390 check for AVX enablement so that we don't crash with old kernels and
38392 * elf/tst-audit4.c: Add same checks here.
38393 * elf/tst-audit6.c: Likewise.
38395 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38397 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38399 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38401 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38403 * po/cs.po: Update from translation team.
38404 * po/bg.po: Likewise.
38406 2011-07-12 Marek Polacek <mpolacek@redhat.com>
38408 * misc/sys/cdefs.h: Add support for const attribute.
38409 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38410 to gnu_dev_{major,minor,makedev} functions.
38412 2011-07-20 Marek Polacek <mpolacek@redhat.com>
38414 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38416 2011-07-20 Andreas Schwab <schwab@redhat.com>
38418 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38421 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38423 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38424 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38425 register in order to avoid conflicts with the soft frame pointer
38426 being held in r11 when necessary.
38427 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38428 (INTERNAL_VSYSCALL_NCS): Likewise.
38430 2011-07-14 Marek Polacek <mpolacek@redhat.com>
38432 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38433 * elf/dl-fini.c (_dl_fini): Adjust caller.
38434 * elf/dl-close.c (_dl_close_worker): Likewise.
38435 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38437 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38439 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38440 "aux_cache->nlibs < 0".
38442 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38443 in the reload-count case.
38445 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38448 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38449 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38450 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38451 * sysdeps/x86_64/multiarch/strcat.S: New file.
38452 * sysdeps/x86_64/multiarch/strncat.S: New file.
38453 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38454 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38455 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38456 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38457 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38458 (USE_AS_STRCAT): Define.
38459 Add strcat and strncat support.
38460 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38462 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38463 * string/strncat.c: Update.
38464 (USE_AS_STRNCAT): Define.
38465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38466 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38468 * sysdeps/x86_64/multiarch/init-arch.h
38469 (bit_Prefer_PMINUB_for_stringop): New.
38470 (index_Prefer_PMINUB_for_stringop): Likewise.
38471 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38472 bit_Prefer_PMINUB_for_stringop.
38474 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38476 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38478 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38479 of casting of buffer.
38480 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38481 buffer32 and buffer64.
38482 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38483 writes instead of casting of buffer.
38484 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38486 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38489 2011-07-19 Andreas Schwab <schwab@redhat.com>
38491 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38493 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38495 * nscd/nscd.c (termination_handler): Don't do anything for a database
38496 if it has not yet been initialized.
38498 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38500 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38502 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38504 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38506 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38508 * po/nl.po: Update from translation team.
38509 * po/sv.po: Likewise.
38511 2011-07-16 Roland McGrath <roland@hack.frob.com>
38513 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38514 now disallowed by GCC.
38516 * configure.in (use-default-link): Default to yes if a test -shared
38517 link meets our qualifications.
38518 * configure: Regenerated.
38520 * config.make.in (output-format): New variable.
38521 * configure.in: Check for ld --print-output-format support.
38522 * configure: Regenerated.
38523 * Makerules ($(common-objpfx)format.lds)
38524 [$(output-format) != unknown]: Just use $(output-format),
38525 instead of the linker-script munging.
38527 2011-07-14 Roland McGrath <roland@hack.frob.com>
38529 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38530 of $(common-objpfx)shlib.lds.
38531 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38533 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38534 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38536 * configure.in (-z relro check): Adjust test code to add a large
38537 writable data section after it.
38538 * configure: Regenerated.
38540 2011-07-11 Roland McGrath <roland@hack.frob.com>
38542 * configure.in (-z relro check): Fix test code to make the variable
38544 * configure: Regenerated.
38546 2011-07-11 Ulrich Drepper <drepper@gmail.com>
38548 * nscd/nscd.h (struct traced_file): Define.
38549 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38550 elements. Add traced_files.
38551 (inotify_fd): Declare.
38552 (register_traced_file): Declare.
38553 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38554 (inotify_fd): Export.
38555 (resolv_conf_descr): Remove.
38556 (nscd_init): Move inotify descriptor creation to main.
38557 Don't register files for notification here.
38558 (register_traced_file): New function.
38559 (invalidate_cache): Don't use reset_res to determine whether to call
38560 res_init, go through the list of registered files.
38561 (main_loop_poll): The inotify descriptors are now stored in the
38562 structures for the traced files.
38563 (main_loop_epoll): Likewise
38564 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38565 to __nss_disable_nscd.
38566 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38567 for a database anymore. Check the records for all the registered
38569 * nss/Makefile (libnss_files-routines): Add files-init.
38570 (libnss_db-routines): Add db-init.
38571 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38572 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38573 * nss/nss_db/db-init.c: New file.
38574 * nss/nss_files/files-init.c: New file.
38575 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38576 __nss_lookup_function.
38577 (__nss_lookup_function): Call nss_load_library.
38578 (nss_load_all_libraries): New function.
38579 (__nss_disable_nscd): Take parameter with callback function for files
38580 to register. Set is_nscd. Load all the DSOs for the NSS modules
38581 used for the cached services.
38582 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38583 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38584 options for features to all the files in nscd.
38586 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38588 2011-07-10 Roland McGrath <roland@hack.frob.com>
38590 * csu/elf-init.c (__libc_csu_init): Comment typo.
38592 2011-07-09 Ulrich Drepper <drepper@gmail.com>
38594 * po/pl.po: Update from translation team.
38595 * po/ja.po: Likewise.
38596 * po/ru.po: Likewise.
38597 * po/ko.po: Likewise.
38598 * po/fr.po: Likewise.
38600 2011-07-09 Roland McGrath <roland@hack.frob.com>
38602 * configure.in (.ctors/.dtors header and trailer check):
38603 Use an empirical test on a built program.
38604 * configure: Regenerated.
38606 * configure.in (-z relro check): Use an empirical test on a built DSO.
38607 Detect, but do not require, on ia64.
38608 * configure: Regenerated.
38610 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38611 Update tests that use readelf to use $READELF instead.
38612 * configure: Regenerated.
38614 2011-07-08 Ulrich Drepper <drepper@gmail.com>
38616 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38617 if the result is not used.
38619 2011-07-05 Andreas Jaeger <aj@suse.de>
38622 * stdlib/tst-strtod.c: Add testcase.
38624 2011-07-07 Ulrich Drepper <drepper@gmail.com>
38626 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38627 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38628 The latter has a higher limit. Take additional parameter to pass to
38630 (__pathconf): Pass file to __statfs_link_max.
38631 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38633 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38637 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38638 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38640 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38641 (__statfs_filesize_max): Likewise.
38642 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38644 2011-07-05 Andreas Jaeger <aj@suse.de>
38646 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38648 2011-07-06 Marek Polacek <mpolacek@redhat.com>
38650 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38652 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38655 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38657 * Makefile (strop-tests): Add strncat.
38658 * string/test-strncat.c: New file.
38660 2011-06-30 Marek Polacek <mpolacek@redhat.com>
38662 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38664 2011-06-21 Andreas Jaeger <aj@suse.de>
38666 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38667 Copy rule from iconvdata/Makefile.
38669 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38672 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38673 but no long options are defined, just return 'W'.
38675 2011-06-22 Marek Polacek <mpolacek@redhat.com>
38678 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38680 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38682 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38684 (innetgr): Likewise.
38686 2011-07-05 Roland McGrath <roland@hack.frob.com>
38688 * config.make.in (install_root): Default to $(DESTDIR).
38690 2011-07-05 Ulrich Drepper <drepper@gmail.com>
38692 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38694 2011-07-02 Roland McGrath <roland@hack.frob.com>
38696 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38698 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38699 containing directory rather than embedding absolute directory names.
38701 * scripts/check-local-headers.sh: Rewritten using awk.
38702 Match by word, not by line. Print error messages for matches.
38703 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38705 * Makerules [shlib-lds-flags empty]:
38706 ($(common-objpfx)libc_pic.opts): New target.
38707 ($(common-objpfx)libc_pic.os.clean): New target.
38708 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38710 * config.make.in (OBJCOPY): New variable.
38711 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38712 * configure: Regenerated.
38714 * config.make.in (use-default-link): New variable.
38715 * configure.in (use_default_link): Grok --with-default-link to set it.
38716 * configure: Regenerated.
38717 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38718 (shlib-lds, shlib-lds-flags): Define to empty.
38720 * Makerules (shlib-lds): New variable.
38721 (shlib-lds-flags): New variable.
38722 (build-shlib, build-moduile, build-module-asneeded): Use it.
38723 ($(common-objpfx)libc.so): Use $(shlib-lds).
38724 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38725 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38727 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38728 DT_FLAGS/DT_FLAGS_1 with zero flags.
38730 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38731 linker script munging.
38733 2011-07-02 Ulrich Drepper <drepper@gmail.com>
38735 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38737 * crypt/sha512.c (sha512_process_block): Perform total addition using
38738 128-bit if possible.
38739 (__sha512_finish_ctx): Likewise.
38740 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38742 * crypt/sha256.c (SWAP64): Define.
38743 (sha256_process_block): Perform total addition using 64-bit if
38745 (__sha256_finish_ctx): Likewise.
38747 2011-07-01 Ulrich Drepper <drepper@gmail.com>
38749 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38750 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38751 * nscd/hstcache.c (cache_addhst): Likewise.
38752 * nscd/grpcache.c (cache_addgr): Likewise.
38753 * nscd/aicache.c (addhstaiX): Likewise
38754 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38756 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
38758 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38759 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38760 * nscd/hstcache.c (cache_addhst): Likewise.
38761 * nscd/grpcache.c (cache_addgr): Likewise.
38762 * nscd/aicache.c (addhstaiX): Likewise
38764 2011-07-01 Andreas Schwab <schwab@redhat.com>
38766 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38767 domain only when needed.
38769 2011-06-30 Andreas Schwab <schwab@redhat.com>
38771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38772 is always restored.
38774 2011-06-29 Ulrich Drepper <drepper@gmail.com>
38776 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38777 are re-adding the entry.
38778 * nscd/servicescache.c (cache_addserv): Likewise.
38780 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
38782 * sysdeps/generic/dl-irel.h: fix protection against multiple
38784 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38786 2011-06-28 Ulrich Drepper <drepper@gmail.com>
38789 * malloc/memusage.sh: Fix quoting in message.
38790 * debug/xtrace.sh: Likewise.
38792 * configure.in: Remove support for --experimental-malloc option, make
38794 * config.make.in: Likewise.
38795 * malloc/Makefile: Likewise.
38797 2011-06-27 Andreas Schwab <schwab@redhat.com>
38799 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38800 two-byte characters.
38802 2011-06-27 Roland McGrath <roland@hack.frob.com>
38804 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38805 AC_CACHE_CHECK invocation.
38806 * configure: Regenerated.
38808 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38810 2011-06-27 Ulrich Drepper <drepper@gmail.com>
38813 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
38814 bit from old_res_options.
38816 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38818 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38819 value type for setfct.
38821 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
38823 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38824 __gettimeofday instead of gettimeofday.
38826 2011-06-26 Ulrich Drepper <drepper@gmail.com>
38828 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38830 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
38832 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38834 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38837 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38840 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38841 strcpy-sse2-unaligned strncpy-sse2-unaligned
38842 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38843 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38844 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38845 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38846 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38847 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38848 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38849 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38850 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38851 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38852 (STRCPY): Support SSE2 and SSSE3 versions.
38854 2011-06-24 Ulrich Drepper <drepper@gmail.com>
38857 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38858 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38859 kernels which artificially limit size of requests.
38861 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38864 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38865 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38866 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38867 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38868 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38869 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38870 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38871 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38873 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38874 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38875 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38876 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38877 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38879 Enable unaligned load optimization for Intel Core i3, i5 and i7
38881 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38883 (index_Fast_Unaligned_Load): Define.
38884 (HAS_FAST_UNALIGNED_LOAD): Define.
38886 2011-06-23 Marek Polacek <mpolacek@redhat.com>
38888 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38890 2011-06-22 Ulrich Drepper <drepper@gmail.com>
38893 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38894 until it is clear that the information is realy needed.
38895 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38897 2011-06-22 Andreas Schwab <schwab@redhat.com>
38899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38901 2011-06-22 Ulrich Drepper <drepper@gmail.com>
38903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38904 /sys/devices/system/cpu/online if it is usable.
38906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38907 reading the information from the /proc filesystem to once a second.
38909 2011-06-21 Andreas Jaeger <aj@suse.de>
38911 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38912 NULL after inclusion of kernel headers.
38914 2011-06-21 Ulrich Drepper <drepper@gmail.com>
38916 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38917 calls to internal_setent.
38920 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38921 addresses using gethostbyname4_r ignore IPv4 addresses.
38923 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38924 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
38926 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38928 2011-06-20 David S. Miller <davem@davemloft.net>
38930 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38932 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38934 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38935 (elf_irel): Use it.
38936 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38937 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38938 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38939 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38940 * sysdeps/x86_64/dl-irel.h: Likewise.
38942 * elf/dl-runtime.c: Use elf_ifunc_invoke.
38943 * elf/dl-sym.c: Likewise.
38945 2011-06-15 Ulrich Drepper <drepper@gmail.com>
38947 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
38948 need to dereference resplen2.
38950 2011-06-14 Andreas Schwab <schwab@redhat.com>
38952 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38954 2011-06-15 Ulrich Drepper <drepper@gmail.com>
38956 * Makeconfig: Define vardbdir and inst_vardbdir.
38957 * nss/Makefile: Add rules to install db-Makefile.
38959 * nss/nss_db/db-XXX.c: Cleanup.
38961 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38962 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38964 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38965 * nss/makedb.c: Implement -g option to specify that value strings
38966 are generated and should not be added to table iterated over for
38968 * nss/nss_db/db-initgroups.c: New file.
38970 * nss/getent.c: Add support for initgroups lookups through getgrouplist
38973 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
38974 (internal_getgrouplist): Adjust to name change.
38975 Update use_initgroups_entry if this is not the first call.
38976 * nss/databases.def: Add initgroups entry.
38978 * nss/makedb.c (compute_tables): Check result of multiple hash table
38979 sizes to minimize maximum chain length.
38981 2011-06-14 Ulrich Drepper <drepper@gmail.com>
38983 * Versions.def: Add entry for libnss_db.
38984 * shlib-versions: Likewise.
38985 * nss/Makefile: Add rules to build libnss_db.
38986 * nss/Versions: Add libnss_db information. Organize libnss_files
38988 * nss/db-Makefile: Add gshadow support. Change rules for the new
38989 makedb progra. Some minor improvements to generate smaller files.
38990 * nss/nss_db/nss_db.h: Move NSS database header data structures to
38992 * nss/makedb.c: ...here.
38993 Improve database format to be smaller and require less memory at
38995 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
38997 * nss/nss_db/db-netgrp.c: Likewise.
38998 * nss/nss_db/db-open.c: Likewise.
38999 * nss/nss_files/flies-XXX.x: Adjust comments.
39000 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39001 * nss/nss_files/files-grp.c: Likewise.
39002 * nss/nss_files/files-hosts.c: Likewise.
39003 * nss/nss_files/files-network.c: Likewise.
39004 * nss/nss_files/files-proto.c: Likewise.
39005 * nss/nss_files/files-pwd.c: Likewise.
39006 * nss/nss_files/files-rpc.c: Likewise.
39007 * nss/nss_files/files-service.c: Likewise.
39008 * nss/nss_files/files-sgrp.c: Likewise.
39009 * nss/nss_files/files-spwd.c: Likewise.
39010 * nss/nss_db/db-alias.c: Removed.
39011 * nss/nss_db/dummy-db.h: Removed.
39013 2011-06-02 Ulrich Drepper <drepper@gmail.com>
39015 * nss/makedb.c: Rewritten to not use database library.
39016 * nss/Makefile: Update to build new makedb program.
39018 2011-06-14 Andreas Jaeger <aj@suse.de>
39020 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39021 memset declaration.
39023 2011-06-10 Andreas Schwab <schwab@redhat.com>
39025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39028 2011-06-10 Roland McGrath <roland@hack.frob.com>
39030 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39031 * elf/Makefile ($(objpfx)ld.so): Likewise.
39033 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39034 Don't list ld.so twice in dependencies.
39036 * posix/bug-regex31.c: Include <stdlib.h>.
39038 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39040 * nis/nss_compat/compat-spwd.c
39041 (getspent_next_nss_netgr): Remove unused variable.
39042 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39044 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39045 nonmembers" output to use the right array.
39047 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39049 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39051 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39052 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39053 * catgets/gencat.c (read_input_file): Likewise.
39054 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39056 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39057 variable definition inside #if's controlling its use.
39059 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39061 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39063 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39065 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39068 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39070 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39071 * configure: Regenerated.
39073 * Makerules: Revert last change.
39074 * elf/Makefile: Likewise.
39076 2011-06-09 Roland McGrath <roland@hack.frob.com>
39078 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39079 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39080 (reloc-link): Likewise.
39082 2011-06-09 Ulrich Drepper <drepper@gmail.com>
39084 * elf/Makefile: Add rules to build pldd.
39085 * elf/pldd.c: New file.
39086 * elf/pldd-xx.c: New file.
39088 2011-06-07 Ulrich Drepper <drepper@gmail.com>
39090 * version.h: Update for 2.15 development version.
39092 2011-06-07 David S. Miller <davem@davemloft.net>
39094 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39096 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39097 elf_machine_lazy_rel): Likewise.
39098 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39099 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39100 elf_machine_lazy_rel): Likewise.
39101 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39102 dl_hwcap via passed in argument.
39103 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39106 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39108 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39110 2011-06-06 Roland McGrath <roland@hack.frob.com>
39113 * manual/fdl-1.1.texi: New file, verbatim from:
39114 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39115 * manual/lgpl-2.1.texi: New file, verbatim from:
39116 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39117 * manual/Makefile (licenses): New variable, list those new file names.
39119 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39121 * manual/fdl.texi: File removed.
39122 * manual/lesser.texi: File removed.
39123 * manual/libc.texinfo (Copying, Documentation License):
39124 Use new @include file names, put @appendix directive before @include.
39126 2011-06-04 Jakub Jelinek <jakub@redhat.com>
39129 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39130 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39131 (mq_open): Add __NTH.
39133 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39136 Assume Intel Core i3/i5/i7 processor if AVX is available.
39138 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39143 2011-05-31 Andreas Schwab <schwab@redhat.com>
39145 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39146 memory. Use alloca_account. Fix memory leak when retrying.
39148 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39150 * version.h (RELEASE): Bump for 2.14 release.
39151 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39153 * config.make.in (RANLIB): Remove entry.
39155 2011-05-30 Ulrich Drepper <drepper@gmail.com>
39157 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39158 (libc.pot): Work around missing support for .ksh extension in xgettext.
39161 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39162 if both request failed.
39163 (send_dg): In case of server errors clear resplen or *resplen2.
39166 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39167 when there are multiple maps.
39168 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39169 (_dl_fini): Remove test here.
39171 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39173 2011-05-29 Ulrich Drepper <drepper@gmail.com>
39176 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39177 bit from old_res_options.
39178 (gaih_inet): Likewise.
39181 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39184 * resolv/res_init.c (res_setoptions): Make the code more compact.
39187 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39191 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39193 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39196 * malloc/malloc.h: Declare malloc hook variables as volatile.
39198 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39202 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39203 raise in the comment.
39204 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39205 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39206 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39208 2011-05-28 Ulrich Drepper <drepper@gmail.com>
39211 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39212 grow the buffers more if it already has to be sufficient.
39213 (build_wcs_upper_buffer): Likewise.
39214 * posix/regexec.c (check_matching): Likewise.
39215 (clean_state_log_if_needed): Likewise.
39216 (extend_buffers): Don't enlarge buffers beyond size of the input
39218 Patches mostly by Emil Wojak <emil@wojak.eu>.
39219 * posix/bug-regex32.c: New file.
39220 * posix/Makefile (tests): Add bug-regex32.
39222 * locale/findlocale.c (_nl_find_locale): Return right away if
39223 _nl_explode_name failed.
39224 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39226 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39228 * debug/xtrace.sh: Unify messages.
39229 * malloc/memusage.sh: Likewise.
39232 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39233 time symbol from vDSO. Substitute with vsyscall if not available.
39234 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39237 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39238 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39239 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39240 Add sendmmsg and internal_sendmmsg.
39241 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39242 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39243 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39245 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39246 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39247 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39249 2011-05-27 Ulrich Drepper <drepper@gmail.com>
39252 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39253 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39255 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39259 * iconvdata/Makefile (tests): Add bug-iconv9.
39260 * iconvdata/bug-iconv9.c: New file.
39262 2011-05-27 Andreas Schwab <schwab@redhat.com>
39265 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39267 2011-05-25 Jakub Jelinek <jakub@redhat.com>
39269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39270 (struct user_regs_struct): Change intcs field back to cs.
39272 2011-05-25 Ulrich Drepper <drepper@gmail.com>
39274 * po/ja.po: Update from translation team.
39276 2011-05-23 Ulrich Drepper <drepper@gmail.com>
39279 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39280 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39282 2011-05-20 Andreas Schwab <schwab@redhat.com>
39284 * stdlib/longlong.h: Update from GCC.
39286 2011-05-23 Andreas Schwab <schwab@redhat.com>
39288 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39290 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39291 Add parameter name.
39292 (__sysconf): Pass it down.
39294 2011-05-22 Ulrich Drepper <drepper@gmail.com>
39297 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39299 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39300 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39301 add in in __libc_use_alloca calls. Adjust callers.
39302 (glob): Use malloc in some situations.
39304 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39305 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39308 2011-05-21 Ulrich Drepper <drepper@gmail.com>
39310 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39311 and CLOCK_BOOTTIME_ALARM.
39314 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39317 * string/_strerror.c (__strerror_r): Print negative errors as signed
39321 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39322 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39323 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39325 * configure.in: Fix typo in redirection and correct removal of test
39326 files in two cases.
39329 * locale/setlocale.c (new_composite_name): Fix test to check for
39330 identical name of all categories.
39333 * libio/filedoalloc.c (local_isatty): New function.
39334 (_IO_file_doallocate): Use local_isatty.
39335 * stdio-common/perror.c (perror): In case a new stream is used
39336 forward the stream error.
39337 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39340 2011-05-20 Ulrich Drepper <drepper@gmail.com>
39343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39345 * include/alloca.h (extend_alloca_account): Define.
39348 * posix/regex.h: Fix comments with documentation of user-accessible
39349 fields after compilation and describe correct free'ing of pattern
39350 after re_compile_pattern.
39351 Patch by Reuben Thomas <rrt@sc3d.org>.
39353 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39355 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39356 and -mno-altivec to prevent the compiler from using Altivec and/or
39357 VSX instructions when the corresponding registers are not available.
39359 2011-05-19 Andreas Schwab <schwab@redhat.com>
39361 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39363 2011-05-19 Ulrich Drepper <drepper@gmail.com>
39365 * libio/freopen.c (freopen): Use __dup2, not dup2.
39366 * libio/freopen64.c (freopen64): Likewise.
39368 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39371 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39372 * math/Makefile (tests): Add test-powl.
39373 (CFLAGS-test-powl.c): Define.
39374 * math/test-powl.c: New file.
39376 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39378 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39380 2011-05-17 Ulrich Drepper <drepper@gmail.com>
39383 * iconvdata/gb18030.c: Update to GB18020-2005.
39385 2011-05-16 Ulrich Drepper <drepper@gmail.com>
39387 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39388 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39389 Patch by Aharon Robbins <arnold@skeeve.com>.
39392 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39396 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39397 through underflows.
39400 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39401 point to strings before performing equality test for error_one_per_line
39405 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39408 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39409 (struct user_fpregs_struct): Avoid __uint*_t types.
39412 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39413 symbol info. Use it instead of calling _dl_addr locally.
39414 (lock_and_info): New function.
39415 (tr_freehook): Call lock_and_info and pass symbol info as additional
39416 parameter to tr_where.
39417 (tr_mallochook): Likewise.
39418 (tr_reallochook): Likewise.
39419 (tr_memalignhook): Likewise.
39421 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39422 used and couldn't be at all thread-safe.
39424 2011-05-15 Ulrich Drepper <drepper@gmail.com>
39426 * libio/freopen.c (freopen): Don't close old file descriptor
39427 before the new one is opened. Instead dup the new file descriptor
39428 to the old one after the new stream is created.
39429 * libio/freopen64.c (freopen64): Likewise.
39430 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39431 * libio/fileops.c (_IO_new_file_close_it): Handle new
39432 _IO_FLAGS2_NOCLOSE flag.
39433 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39434 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39435 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39436 _IO_FLAGS2_NOCLOSE flag.
39437 * include/unistd.h: Add hidden_proto for dup3.
39438 Define __have_dup3.
39439 * io/dup3.c: Define hidden symbol.
39440 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39443 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39444 when an incomplete long option is used.
39445 * posix/tst-getopt_long1.c: New file.
39446 * posix/Makefile (tests): Add tst-getopt_long1.
39449 * scripts/config.guess: Update from autoconf-2.68.
39450 * scripts/config.sub: Likewise.
39453 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39455 (has_cpuclock): ...this. New function.
39456 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39457 macro here based on has_cpuclock code.
39460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39461 First byte (not low byte) is now always NUL.
39462 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39464 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39465 Use non-cancelable interfaces.
39468 * locale/iso-639.def: Add entry for Sorani.
39471 * include/stdlib.h: Move include protection to the right place.
39472 Define abort_msg_s. Declare __abort_msg with it.
39473 * stdlib/abort.c (__abort_msg): Adjust type.
39474 * assert/assert.c (__assert_fail_base): New function. Majority
39475 of code from __assert_fail. Allocate memory for __abort_msg with
39477 (__assert_fail): Now call __assert_fail_base.
39478 * assert/assert-perr.c: Remove bulk of implementation. Use
39479 __assert_fail_base.
39480 * include/assert.hL Declare __assert_fail_base.
39481 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39483 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39485 2011-05-14 Ulrich Drepper <drepper@gmail.com>
39489 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39490 until all modules are registered in the DTV.
39491 * elf/Makefile: Add rules to build and run tst-tls19.
39492 * elf/tst-tls19.c: New file.
39493 * elf/tst-tls19mod1.c: New file.
39494 * elf/tst-tls19mod2.c: New file.
39495 * elf/tst-tls19mod3.c: New file.
39496 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39499 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39503 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39504 two-byte sequence errors.
39505 * iconvdata/Makefile (tests): Add bug-iconv8.
39506 * iconvdata/bug-iconv8.c: New file.
39509 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39512 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39515 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39516 (dummy_getcfa): New function.
39517 (init): Get _Unwind_GetCFA address, use dummy if not found.
39518 (backtrace_helper): In recursion check, also check whether CFA changes.
39519 (__backtrace): Completely initialize arg.
39521 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39522 storing incomplete byte sequence in state object. Avoid testing for
39523 guaranteed too small input if we know there is enough data available.
39525 2011-05-11 Andreas Schwab <schwab@redhat.com>
39527 * Makeconfig (+link-pie): Indent.
39528 * Rules (binaries-pie): Define if $(have-fpie) and
39530 (binaries-shared): Also filter out $(binaries-pie).
39531 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39532 * nscd/Makefile (others-pie): Add nscd.
39533 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39534 ($(objpfx)nscd): Remove command override.
39535 * login/Makefile (others-pie): Add pt_chown.
39536 ($(objpfx)pt_chown): Remove command override.
39537 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39538 remove command overrides.
39540 2011-05-13 Ulrich Drepper <drepper@gmail.com>
39542 * libio/tst_putwc.c: Fix error messages.
39545 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39546 currently writing and seek to current position when not.
39547 * libio/Makefile (tests): Add bug-fclose1.
39548 * libio/bug-fclose1.c: New file.
39550 2011-05-12 Ulrich Drepper <drepper@gmail.com>
39553 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39554 don't set DF_1_NODELETE here.
39555 (do_lookup_x): When entering new entry test for copy relocation
39556 and if necessary set DF_1_NODELETE flag.
39557 * elf/tst-unique4.cc: New file.
39558 * elf/tst-unique4.h: New file.
39559 * elf/tst-unique4lib.cc: New file.
39560 * elf/Makefile: Add rules to build and run tst-unique4.
39561 Patch by Piotr Bury <pbury@goahead.com>.
39563 2011-05-11 Ulrich Drepper <drepper@gmail.com>
39566 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39569 * misc/mntent_r.c (addmntent): Flush the stream after the output
39572 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39573 (is_trusted_path_normalize): Skip initial colon. Append slash
39574 to empty buffer. Duplicate is_trusted_path code but allow
39575 constructed patch to be prefix.
39576 (is_dst): Allow $ORIGIN followed by /.
39577 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39578 Correct testing of result of is_trusted_path_normalize
39579 (decompose_rpath): Fix warning.
39581 2011-05-10 Ulrich Drepper <drepper@gmail.com>
39584 * grp/initgroups.c (internal_getgrouplist): When we found the service
39585 list through the initgroups entry in nsswitch.conf do not always
39586 continue on a successful lookup. Don't always use the
39587 __nss_group_database value if it is set.
39588 * nss/nsswitch.conf (initgroups): Change action for successful db
39589 lookup to continue for compatibility.
39591 2011-05-09 Ulrich Drepper <drepper@gmail.com>
39594 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39596 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39598 * iconvdata/tst-tables.sh: Likewise.
39599 * iconvdata/cp770.c: New file.
39600 * iconvdata/cp771.c: New file.
39601 * iconvdata/cp772.c: New file.
39602 * iconvdata/cp773.c: New file.
39603 * iconvdata/cp774.c: New file.
39604 * iconvdata/testdata/CP770: New file.
39605 * iconvdata/testdata/CP770..UTF8: New file.
39606 * iconvdata/testdata/CP771: New file.
39607 * iconvdata/testdata/CP771..UTF8: New file.
39608 * iconvdata/testdata/CP772: New file.
39609 * iconvdata/testdata/CP772..UTF8: New file.
39610 * iconvdata/testdata/CP773: New file.
39611 * iconvdata/testdata/CP773..UTF8: New file.
39612 * iconvdata/testdata/CP774: New file.
39613 * iconvdata/testdata/CP774..UTF8: New file.
39615 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39617 * iconvdata/gen-8bit-gap.sh: Likewise.
39618 * iconvdata/gen-8bit.sh: Likewise.
39620 * locale/iso-639.def: Add ary entry.
39623 * locale/C-translit.h.in: Add U20A1 transliteration.
39626 * locale/iso-639.def: Add wae entry.
39627 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39630 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39634 * locale/C-translit.h.in: Add entry for U20B9.
39635 Patch by pravin.d.s@gmail.com.
39637 2011-05-08 Ulrich Drepper <drepper@gmail.com>
39640 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39641 ENAMETOOLONG use generic getcwd.
39642 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39643 in rtld. Use *stat64.
39644 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39645 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39646 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39647 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39648 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39649 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39650 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39651 __fstatat64 macros.
39652 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39653 * dirent/rewinddir.c: Add libc_hidden_def.
39654 * sysdeps/mach/hurd/rewinddir.c: Likewise.
39655 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
39657 * include/dirent.h (__alloc_dir): Add flags parameter.
39658 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39659 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39661 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39662 from fdopendir if O_CLOEXEC is already set.
39664 2011-03-15 Alan Modra <amodra@gmail.com>
39666 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39667 l_tls_firstbyte_offset non-zero. Save padding offset in
39668 l_tls_firstbyte_offset for later use.
39669 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39670 freeing static tls block.
39672 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39674 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39675 where #ifdef was intended. The intent is to prevent ARG_MAX from
39676 being defined by the kernel headers.
39678 2011-05-07 Ulrich Drepper <drepper@gmail.com>
39681 * resolv/resolv.h: Define RES_NOTLDQUERY.
39682 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39683 no-tld-query and set RES_NOTLDQUERY.
39684 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39685 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39686 modern BIND to search name as TLD unless forbidden.
39688 2011-05-07 Petr Baudis <pasky@suse.cz>
39689 Ulrich Drepper <drepper@gmail.com>
39692 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39693 (is_trusted_path): ...to here.
39694 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39695 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39696 using is_trusted_path_normalize() in setuid scripts.
39698 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39700 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39701 __BEGIN/__END_DECLS.
39703 2011-05-06 Ulrich Drepper <drepper@gmail.com>
39705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39706 NSS_STATUS_NOTFOUND if no record was found.
39708 2011-05-05 Andreas Schwab <schwab@redhat.com>
39710 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39711 (headers-not-in-tirpc): Remove rpc/netdb.h
39712 * resolv/netdb.h: Revert last change.
39714 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39716 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39717 circular dependency between libgcc.a and libc.a.
39719 2011-05-05 Andreas Schwab <schwab@redhat.com>
39721 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39722 * nis/Makefile: Don't install rpcsvc/*.
39723 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39724 instead of <rpc/types.h>.
39725 (MAXHOSTNAMELEN): Define.
39727 2011-05-03 Andreas Schwab <schwab@redhat.com>
39729 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39731 2011-04-28 Maciej Babinski <mbabinski@google.com>
39734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39735 gethostbyname4_r when IPv6 results are possible.
39737 2011-05-02 Ulrich Drepper <drepper@gmail.com>
39740 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39741 _PC_PIPE_BUF handling.
39743 2011-04-30 Bruno Haible <bruno@clisp.org>
39746 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39747 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39749 * inet/getnameinfo.c (getnameinfo): Likewise.
39751 2011-04-29 Ulrich Drepper <drepper@gmail.com>
39753 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39754 to groups setting in database lookup.
39755 * nss/nsswitch.conf: Add initgroups entry.
39757 2011-04-22 Ulrich Drepper <drepper@gmail.com>
39760 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39762 Patch by Eric Blake <eblake@redhat.com>.
39764 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39766 * sunrpc/Makefile (need-export-routines): Add svc_run.
39767 (routines): Remove svc_run.
39768 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39769 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39770 * sunrpc/svc_run.c (svc_run): Likewise.
39771 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39773 2011-04-21 Ulrich Drepper <drepper@gmail.com>
39775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39776 problem in reallocation in last patch.
39778 2011-04-20 Ulrich Drepper <drepper@gmail.com>
39780 * sunrpc/Makefile: Move inclusion of Rules.
39782 2011-04-19 Ulrich Drepper <drepper@gmail.com>
39784 * nss/nss_files/files-initgroups.c: New file.
39785 * nss/Makefile (libnss_files-routines): Add files-initgroups.
39786 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39787 _nss_files_initgroups_dyn.
39789 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
39791 * elf/elf.h (R_ARM_IRELATIVE): Define.
39793 2011-04-19 Ulrich Drepper <drepper@gmail.com>
39795 * po/ru.po: Update from translation team.
39797 2011-04-17 Ulrich Drepper <drepper@gmail.com>
39799 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39802 2011-02-06 Mike Frysinger <vapier@gentoo.org>
39805 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39806 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39807 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39808 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39809 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39811 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
39813 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39815 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39819 2011-04-17 Ulrich Drepper <drepper@gmail.com>
39822 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39824 * stdlib/bug-getcontext.c: New file.
39825 * stdlib/Makefile: Add rules to build and run bug-getcontext.
39827 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39829 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39830 instructions into .machine "z9-109".
39831 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39832 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39834 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39836 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39837 between environment variables and auxiliary vector.
39839 2011-04-16 Ulrich Drepper <drepper@gmail.com>
39841 * Makefile: Add rules to build linkobj/libc.so.
39842 * include/libc-symbols.h: Define libc_hidden_nolink.
39843 * include/rpc/auth.h: Mark functions which are to be hidden.
39844 * include/rpc/auth_des.h: Likewise.
39845 * include/rpc/auth_unix.h: Likewise.
39846 * include/rpc/clnt.h: Likewise.
39847 * include/rpc/des_crypt.h: Likewise.
39848 * include/rpc/key_prot.h: Likewise.
39849 * include/rpc/pmap_clnt.h: Likewise.
39850 * include/rpc/pmap_prot.h: Likewise.
39851 * include/rpc/pmap_rmt.h: Likewise.
39852 * include/rpc/rpc_msg.h: Likewise.
39853 * include/rpc/svc.h: Likewise.
39854 * include/rpc/svc_auth.h: Likewise.
39855 * include/rpc/xdr.h: Likewise.
39856 * nis/Makefile: Link all DSOs against linkobj/libc.so.
39857 * nss/Makefile: Likewise.
39858 * sunrpc/Makefile: Don't install headers. Build library with normal
39859 entry points. Don't build rpcinfo. Link RPC tests appropriately.
39860 * sunrpc/auth_des.c: Hide exported symbols by default, export some
39861 for the compat linking library. Remove use of INTDEF/INTUSE.
39862 * sunrpc/auth_none.c: Likewise.
39863 * sunrpc/auth_unix.c: Likewise.
39864 * sunrpc/authdes_prot.c: Likewise.
39865 * sunrpc/authuxprot.c: Likewise.
39866 * sunrpc/clnt_gen.c: Likewise.
39867 * sunrpc/clnt_perr.c: Likewise.
39868 * sunrpc/clnt_raw.c: Likewise.
39869 * sunrpc/clnt_simp.c: Likewise.
39870 * sunrpc/clnt_tcp.c: Likewise.
39871 * sunrpc/clnt_udp.c: Likewise.
39872 * sunrpc/clnt_unix.c: Likewise.
39873 * sunrpc/des_crypt.c: Likewise.
39874 * sunrpc/des_soft.c: Likewise.
39875 * sunrpc/get_myaddr.c: Likewise.
39876 * sunrpc/key_call.c: Likewise.
39877 * sunrpc/key_prot.c: Likewise.
39878 * sunrpc/netname.c: Likewise.
39879 * sunrpc/pm_getmaps.c: Likewise.
39880 * sunrpc/pm_getport.c: Likewise.
39881 * sunrpc/pmap_clnt.c: Likewise.
39882 * sunrpc/pmap_prot.c: Likewise.
39883 * sunrpc/pmap_prot2.c: Likewise.
39884 * sunrpc/pmap_rmt.c: Likewise.
39885 * sunrpc/publickey.c: Likewise.
39886 * sunrpc/rpc_cmsg.c: Likewise.
39887 * sunrpc/rpc_common.c: Likewise.
39888 * sunrpc/rpc_dtable.c: Likewise.
39889 * sunrpc/rpc_prot.c: Likewise.
39890 * sunrpc/rpc_thread.c: Likewise.
39891 * sunrpc/rtime.c: Likewise.
39892 * sunrpc/svc.c: Likewise.
39893 * sunrpc/svc_auth.c: Likewise.
39894 * sunrpc/svc_authux.c: Likewise.
39895 * sunrpc/svc_raw.c: Likewise.
39896 * sunrpc/svc_run.c: Likewise.
39897 * sunrpc/svc_simple.c: Likewise.
39898 * sunrpc/svc_tcp.c: Likewise.
39899 * sunrpc/svc_udp.c: Likewise.
39900 * sunrpc/svc_unix.c: Likewise.
39901 * sunrpc/svcauth_des.c: Likewise.
39902 * sunrpc/xcrypt.c: Likewise.
39903 * sunrpc/xdr.c: Likewise.
39904 * sunrpc/xdr_array.c: Likewise.
39905 * sunrpc/xdr_float.c: Likewise.
39906 * sunrpc/xdr_intXX_t.c: Likewise.
39907 * sunrpc/xdr_mem.c: Likewise.
39908 * sunrpc/xdr_rec.c: Likewise.
39909 * sunrpc/xdr_ref.c: Likewise.
39910 * sunrpc/xdr_sizeof.c: Likewise.
39911 * sunrpc/xdr_stdio.c: Likewise.
39913 2011-04-10 Ulrich Drepper <drepper@gmail.com>
39916 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39917 * sysdeps/ia64/dl-tls.h: Likewise.
39918 * sysdeps/powerpc/dl-tls.h: Likewise.
39919 * sysdeps/s390/dl-tls.h: Likewise.
39920 * sysdeps/sh/dl-tls.h: Likewise.
39921 * sysdeps/sparc/dl-tls.h: Likewise.
39922 * sysdeps/x86_64/dl-tls.h: Likewise.
39923 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39925 2011-03-14 Andreas Schwab <schwab@redhat.com>
39927 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39928 rpath element also skip the following colon.
39929 (expand_dynamic_string_token): Add is_path parameter and pass
39930 down to DL_DST_REQUIRED and _dl_dst_substitute.
39931 (decompose_rpath): Call expand_dynamic_string_token with
39932 non-zero is_path. Ignore empty rpaths.
39933 (_dl_map_object_from_fd): Call expand_dynamic_string_token
39936 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
39938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39941 2011-04-09 Ulrich Drepper <drepper@gmail.com>
39944 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39945 Patch by Filipe David Manana <fdmanana@apache.org>.
39947 2011-04-07 Andreas Schwab <schwab@redhat.com>
39949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39950 Maintain aligned stack.
39951 (CHECK_RSP): Remove unused macro.
39953 2011-04-03 Ulrich Drepper <drepper@gmail.com>
39955 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39956 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39958 2011-04-02 Ulrich Drepper <drepper@gmail.com>
39960 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39962 * include/features.h: Mention __USE_XOPEN2K8 in comment.
39964 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
39967 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39968 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39969 * sysdeps/x86_64/memmove.c: New file.
39970 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39971 (memcpy): Renamed to ...
39972 (__new_memcpy): This.
39973 (memcpy): Provide GLIBC_2_14 memcpy.
39974 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
39975 (memcpy): Provide GLIBC_2_2_5 memcpy.
39977 2011-04-01 Ulrich Drepper <drepper@gmail.com>
39980 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
39982 2011-03-30 Andreas Schwab <schwab@redhat.com>
39984 * misc/syncfs.c: New file.
39985 * misc/Makefile (routines): Add syncfs.
39986 * posix/unistd.h: Declare syncfs.
39987 * sysdeps/unix/syscalls.list: Add syncfs.
39989 2011-04-01 Andreas Schwab <schwab@redhat.com>
39991 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
39993 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39994 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39995 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39996 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39997 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39998 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
39999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40001 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40003 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40004 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40005 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40006 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40007 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40009 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40011 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40012 sync_file_range.c with -fexceptions.
40013 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40014 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40015 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40016 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40017 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40018 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40020 sync_file_range as cancellation point
40021 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40022 now a wrapper around __call_sync_file_range with cancellation handling.
40023 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40024 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40025 function name to __call_sync_file_range.
40026 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40027 Add call_sync_file_range.
40029 2011-04-01 Andreas Schwab <schwab@redhat.com>
40031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40034 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40036 * iconv/iconv.h: Fix typo in comment.
40037 * io/fcntl.h: Likewise.
40038 * libio/stdio.h: Likewise.
40039 * posix/spawn.h: Likewise.
40040 * posix/unistd.h: Likewise.
40041 * stdlib/stdlib.h: Likewise.
40042 * time/time.h: Likewise.
40043 * wcsmbs/wchar.h: Likewise.
40045 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40046 open_by_handle): Add.
40047 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40048 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40049 Augment a few comments.
40050 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40052 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40054 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40055 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40058 * io/fcntl.h (AT_EMPTY_PATH): Define.
40060 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40062 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40063 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40064 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40066 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40067 * Versions.def: Add GLIBC_2.14.
40068 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40071 2011-03-22 Ulrich Drepper <drepper@gmail.com>
40073 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40075 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40077 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40080 * string/test-strncmp.c (do_page_test): New function.
40081 (check2): Likewise.
40082 (test_main): Call check2.
40083 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40085 2011-03-20 Ulrich Drepper <drepper@gmail.com>
40088 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40089 Handle cache information in CPU leaf 4.
40090 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40092 2011-03-18 Ulrich Drepper <drepper@gmail.com>
40095 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40096 character representation.
40097 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40099 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40101 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40102 END(__isnan) to END(__isnanf) to match function entry point/label
40103 EALIGN(__isnanf,...).
40105 2011-03-10 Jakub Jelinek <jakub@redhat.com>
40107 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40109 2011-03-10 Ulrich Drepper <drepper@gmail.com>
40112 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40113 copy from the symbol referenced in the relocation to initialize the
40115 Patch by Piotr Bury <pbury@goahead.com>.
40116 * elf/Makefile: Add rules to build and tst-unique3.
40117 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40118 * elf/tst-unique3.cc: New file.
40119 * elf/tst-unique3.h: New file.
40120 * elf/tst-unique3lib.cc: New file.
40121 * elf/tst-unique3lib2.cc: New file.
40123 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40125 2011-03-10 Mike Frysinger <vapier@gentoo.org>
40127 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40128 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40131 2011-03-06 Ulrich Drepper <drepper@gmail.com>
40133 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40134 to-be-loaded object along a path to loader is ld.so.
40136 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40137 Ulrich Drepper <drepper@gmail.com>
40139 * sysdeps/x86_64/memset.S: After aligning destination, code
40140 branches to different locations depending on the value of
40141 misalignment, when multiarch is enabled. Fix this.
40143 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40145 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40146 Set _x86_64_preferred_memory_instruction for AMD processsors.
40147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40148 Set bit_Prefer_SSE_for_memop for AMD processors.
40150 2011-03-04 Ulrich Drepper <drepper@gmail.com>
40152 * libio/fmemopen.c (fmemopen): Optimize a bit.
40154 2011-03-03 Andreas Schwab <schwab@redhat.com>
40156 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40158 2011-03-03 Roland McGrath <roland@redhat.com>
40160 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40162 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40164 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40165 __bzero_ultra1 instead of __memset_ultra1.
40167 2011-02-23 Andreas Schwab <schwab@redhat.com>
40168 Ulrich Drepper <drepper@gmail.com>
40171 * include/link.h (struct link_map): Add l_orig_initfini.
40172 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40173 returning unsuccessfully.
40174 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40175 close of a file loaded at startup, restore the original l_initfini
40177 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40178 list, store the pointer.
40179 * elf/Makefile ($(objpfx)noload-mem): New rule.
40180 (noload-ENV): Define.
40181 (tests): Add $(objpfx)noload-mem.
40182 * elf/noload.c: Include <memcheck.h>.
40183 (main): Call mtrace. Close all opened handles.
40185 2011-02-17 Andreas Schwab <schwab@redhat.com>
40188 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40189 dependencies are missing.
40191 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40193 Fix __if_freereq crash: Unlike the generic version which uses free,
40195 * sysdeps/mach/hurd/ifreq.h: New file.
40197 2011-01-27 Petr Baudis <pasky@suse.cz>
40198 Ulrich Drepper <drepper@gmail.com>
40201 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40202 to extend_alloca().
40203 * stdio-common/bug23.c: New file.
40204 * stdio-common/Makefile (tests): Add bug23.
40206 2010-09-28 Andreas Schwab <schwab@redhat.com>
40207 Ulrich Drepper <drepper@gmail.com>
40210 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40211 before performing relro protection. At old place add assertion
40212 to make sure nothing changed.
40214 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40215 Glauber de Oliveira Costa <glommer@gmail.com>
40217 * elf/elf.h: Add new ARM TLS relocs.
40219 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40222 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40224 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40226 * sysdeps/wordsize-64/tst-writev.c: New file.
40228 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40230 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40231 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40232 insns in _dl_start to prevent a TOC reference before relocs are
40235 2011-02-15 Ulrich Drepper <drepper@gmail.com>
40238 * Makeconfig: Remove RANLIB definition.
40239 * Makerules: Don't use RANLIB.
40240 * aclocal.m4: Remove ranlib test.
40241 * configure.in: No need to check for ranlib.
40242 * elf/rtld-Rules: Don't use RANLIB.
40244 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40246 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40248 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40249 inclusion protection macro.
40251 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40252 SIGRTMIN and SIGRTMAX and print information in that case only when
40253 SIGRTMIN is defined.
40255 2011-02-11 Jakub Jelinek <jakub@redhat.com>
40257 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40258 arginfo fn returning -1.
40260 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40261 and thousands string is zero terminated.
40263 2011-02-03 Andreas Schwab <schwab@redhat.com>
40265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40266 sysdeps/unix/sysv/linux/bits/socket.h.
40268 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40270 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40271 (__CPU_COUNT): Remove old macros.
40272 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40273 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40274 (__CPU_ALLOC, __CPU_FREE): Add macros.
40275 (__sched_cpualloc, __sched_cpufree): Add declarations.
40277 2011-02-05 Ulrich Drepper <drepper@gmail.com>
40279 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40280 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40281 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40282 (readdhstai): Return value of addhstaiX call.
40283 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40284 (addgrbyX): Return value returned by cache_addgr.
40285 (readdgrbyname): Return value returned by addgrbyX.
40286 (readdgrbygid): Likewise.
40287 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40288 (addpwbyX): Return value returned by cache_addpw.
40289 (readdpwbyname): Return value returned by addhstbyX.
40290 (readdpwbyuid): Likewise.
40291 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40292 (addservbyX): Return value returned by cache_addserv.
40293 (readdservbyname): Return value returned by addservbyX:
40294 (readdservbyport): Likewise.
40295 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40296 (addhstbyX): Return value returned by cache_addhst.
40297 (readdhstbyname): Return value returned by addhstbyX.
40298 (readdhstbyaddr): Likewise.
40299 (readdhstbynamev6): Likewise.
40300 (readdhstbyaddrv6): Likewise.
40301 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40302 (readdinitgroups): Return value returned by addinitgroupsX.
40303 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40304 (prune_cache): Keep track of timeout value of re-added entries.
40305 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40306 * nscd/nscd.h: Adjust prototypes of readd* functions.
40308 2011-02-04 Roland McGrath <roland@redhat.com>
40310 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40311 (nis_stats): Likewise.
40312 * nis/nis_modify.c (nis_modify): Likewise.
40313 * nis/nis_remove.c (nis_remove): Likewise.
40314 * nis/nis_add.c (nis_add): Likewise.
40316 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40318 * posix/fnmatch_loop.c: Add some consts.
40320 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40322 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40325 * config.make.in (config-cflags-novzeroupper): Define.
40326 * configure.in: Substitute libc_cv_cc_novzeroupper.
40327 * elf/Makefile (AVX-CFLAGS): Define.
40328 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40329 (CFLAGS-tst-auditmod4a.c): Likewise.
40330 (CFLAGS-tst-auditmod4b.c): Likewise.
40331 (CFLAGS-tst-auditmod6b.c): Likewise.
40332 (CFLAGS-tst-auditmod6c.c): Likewise.
40333 (CFLAGS-tst-auditmod7b.c): Likewise.
40334 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40336 2011-02-02 Ulrich Drepper <drepper@gmail.com>
40338 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40339 function to the callback.
40340 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40342 2011-02-02 Andreas Schwab <schwab@redhat.com>
40344 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40347 2011-01-19 Ulrich Drepper <drepper@gmail.com>
40350 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40352 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40354 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40357 * elf/Makefile: Add rules to build and run new test.
40358 * elf/tst-initorder.c: New file.
40359 * elf/tst-initorder.exp: New file.
40360 * elf/tst-initordera1.c: New file.
40361 * elf/tst-initordera2.c: New file.
40362 * elf/tst-initordera3.c: New file.
40363 * elf/tst-initordera4.c: New file.
40364 * elf/tst-initorderb1.c: New file.
40365 * elf/tst-initorderb2.c: New file.
40366 * elf/tst-order-a1.c: New file.
40367 * elf/tst-order-a2.c: New file.
40368 * elf/tst-order-a3.c: New file.
40369 * elf/tst-order-a4.c: New file.
40370 * elf/tst-order-b1.c: New file.
40371 * elf/tst-order-b2.c: New file.
40372 * elf/tst-order-main.c: New file.
40373 New test case by George Gensure <werkt0@gmail.com>.
40375 2010-10-01 Andreas Schwab <schwab@redhat.com>
40377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40378 decoding ACE if AI_CANONIDN.
40380 2011-01-18 Ulrich Drepper <drepper@gmail.com>
40382 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40384 2011-01-17 Ulrich Drepper <drepper@gmail.com>
40386 * version.h (RELEASE): Bump for 2.13 release.
40387 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40389 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40391 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40393 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40394 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40395 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40396 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40397 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40398 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40400 * posix/getconf.c: Update copyright year.
40401 * catgets/gencat.c: Likewise.
40402 * csu/version.c: Likewise.
40403 * debug/catchsegv.sh: Likewise.
40404 * debug/xtrace.sh: Likewise.
40405 * elf/ldconfig.c: Likewise.
40406 * elf/ldd.bash.in: Likewise.
40407 * elf/sprof.c (print_version): Likewise.
40408 * iconv/iconv_prog.c: Likewise.
40409 * iconv/iconvconfig.c: Likewise.
40410 * locale/programs/locale.c: Likewise.
40411 * locale/programs/localedef.c: Likewise.
40412 * malloc/memusage.sh: Likewise.
40413 * malloc/mtrace.pl: Likewise.
40414 * nscd/nscd.c (print_version): Likewise.
40415 * nss/getent.c: Likewise.
40417 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40418 PF_CAIF, and PF_ALG.
40419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40421 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40423 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40424 (modules-names): Use them.
40425 (ifunc-test-modules, ifunc-pie-tests): Define.
40426 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40427 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40428 (test-extras): Likewise.
40429 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40430 $(compile-command.c).
40431 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40432 (all-built-dso): Define.
40433 (check-textrel.out, check-execstack.out): Depend on it.
40435 * configure.in: Don't override --enable-multi-arch.
40437 2011-01-15 Ulrich Drepper <drepper@gmail.com>
40440 * nscd/hstcache.c (tryagain): Define.
40441 (cache_addhst): Return tryagain not notfound for temporary errors.
40442 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40445 2011-01-14 Ulrich Drepper <drepper@gmail.com>
40448 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40449 to make the syscall.
40450 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40453 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40454 and fall back to matching as normal character if the string ends before
40455 the matching ']' is found. This is what POSIX requires.
40456 * posix/testfnm.c: Adjust test result.
40457 * posix/globtest.sh: Adjust test result. Add new test.
40458 * posix/tst-fnmatch.input: Likewise.
40459 * posix/tst-fnmatch2.c: Add new test.
40461 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40463 * elf/Makefile (check-execstack): Revert last change. Depend on
40465 (check-execstack.h): New target.
40466 (generated): Add check-execstack.h.
40467 * elf/check-execstack.c: Include "check-execstack.h".
40468 (main): Revert last change.
40469 (handle_file): Return zero if GNU_STACK is absent and
40470 DEFAULT_STACK_PERMS doesn't include PF_X.
40472 2011-01-13 Ulrich Drepper <drepper@gmail.com>
40474 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40475 in child fails because the descriptor is already closed.
40476 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40477 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40478 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40481 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40485 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40486 temporary buffer used to handle multi lookups locally.
40487 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40489 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40491 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40494 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40496 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40497 alignment for SSE2.
40499 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40502 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40503 characters. When rounding increased number of integer digits recompute
40505 * stdio-common/tst-grouping.c: New file.
40506 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40508 2011-01-09 Ulrich Drepper <drepper@gmail.com>
40510 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40511 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40513 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40515 * bits/select.h: Likewise.
40517 2011-01-08 Ulrich Drepper <drepper@gmail.com>
40519 * po/ja.po: Update from translation team.
40521 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
40524 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40525 implementation just like for lxstat, fxstatat, et al.
40527 2010-12-27 Jim Meyering <meyering@redhat.com>
40530 * posix/regexec.c (build_trtable): Return failure indication upon
40531 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40533 2010-12-25 Ulrich Drepper <drepper@gmail.com>
40536 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40537 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40538 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40539 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40542 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40545 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40546 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40548 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40550 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40551 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40552 script has SORT_BY_INIT_PRIORITY.
40553 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40554 NO_CTORS_DTORS_SECTIONS is defined.
40555 * elf/soinit.c: Likewise.
40556 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40557 NO_CTORS_DTORS_SECTIONS is defined.
40558 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40559 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40560 * sysdeps/sh/init-first.c: Likewise.
40561 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40563 2010-12-24 Ulrich Drepper <drepper@gmail.com>
40565 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40566 always use the slow path.
40568 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40570 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40571 similar rule which adds the sysdep directories to the header search in
40572 order to pick up the correct platform stackinfo.h.
40573 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40574 perform test if it is, otherwise return successfully without testing.
40575 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40576 DEFAULT_STACK_PERMS define in stackinfo.h.
40577 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40578 defined in stackinfo.h.
40579 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40580 DEFAULT_STACK_PERMS defined in stackinfo.h.
40581 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40582 * sysdeps/ia64/stackinfo.h: Likewise.
40583 * sysdeps/s390/stackinfo.h: Likewise.
40584 * sysdeps/sh/stackinfo.h: Likewise.
40585 * sysdeps/sparc/stackinfo.h: Likewise.
40586 * sysdeps/x86_64/stackinfo.h: Likewise.
40587 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40588 PF_X for powerpc64. Retain PF_X for powerpc32.
40590 2010-12-19 Ulrich Drepper <drepper@gmail.com>
40592 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40594 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40595 GETDENTS_64BIT_ALIGNED.
40597 2010-12-14 Ulrich Drepper <dreper@gmail.com>
40599 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40601 2010-12-10 Andreas Schwab <schwab@redhat.com>
40603 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40606 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40607 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40609 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40610 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40612 2010-12-09 Ulrich Drepper <drepper@gmail.com>
40615 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40618 2010-12-09 Jakub Jelinek <jakub@redhat.com>
40620 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40622 2010-12-03 Ulrich Drepper <drepper@gmail.com>
40624 * po/it.po: Update from translation team.
40626 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40628 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40631 2010-11-30 Ulrich Drepper <drepper@gmail.com>
40633 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40635 2010-11-24 Andreas Schwab <schwab@redhat.com>
40637 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40639 (gaih_getanswer_slice): Likewise.
40641 2010-10-20 Jakub Jelinek <jakub@redhat.com>
40643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40645 2010-05-31 Petr Baudis <pasky@suse.cz>
40648 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40649 silently even in the chroot mode.
40651 2010-11-22 Ulrich Drepper <drepper@gmail.com>
40653 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40654 last patch a bit. Pretty printing
40656 2010-05-31 Petr Baudis <pasky@suse.cz>
40659 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40660 initialization of skip_initgroups_dyn.
40662 2010-11-19 Ulrich Drepper <drepper@gmail.com>
40664 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40667 2010-11-16 Ulrich Drepper <drepper@gmail.com>
40669 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40671 2010-11-11 Andreas Schwab <schwab@redhat.com>
40673 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40674 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40675 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40676 ($(objpfx)tst-fnmatch-mem): New rule.
40677 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40678 * posix/tst-fnmatch.c (main): Call mtrace.
40680 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40683 Support Intel processor model 6 and model 0x2c.
40685 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
40687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40690 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40693 * string/test-strncasecmp.c (check_result): New function.
40694 (do_one_test): Use it.
40695 (check1): New function.
40696 (test_main): Use it.
40697 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40698 Support strcasecmp and strncasecmp.
40700 2010-11-08 Ulrich Drepper <drepper@gmail.com>
40703 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40704 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40706 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40708 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40712 * sysdeps/x86_64/multiarch/bzero.S: New file.
40713 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40714 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40715 * sysdeps/x86_64/multiarch/memset.S: New file.
40716 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40718 Set bit_Prefer_SSE_for_memop for Intel processors.
40719 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40721 (index_Prefer_SSE_for_memop): Define.
40722 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40724 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
40726 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40727 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40729 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40732 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40733 (__x86_64_raw_data_cache_size_half): Likewise.
40734 (__x86_64_raw_shared_cache_size): Likewise.
40735 (__x86_64_raw_shared_cache_size_half): Likewise.
40737 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40738 (__x86_64_raw_data_cache_size_half): Likewise.
40739 (__x86_64_raw_shared_cache_size): Likewise.
40740 (__x86_64_raw_shared_cache_size_half): Likewise.
40741 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40742 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40743 and __x86_64_raw_shared_cache_size_half. Round
40744 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40745 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40746 to multiple of 256 bytes.
40748 2010-11-03 Ulrich Drepper <drepper@gmail.com>
40751 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40752 of inacessible symlinks. Verify result of symlink before returning it.
40753 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40754 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40756 2010-10-28 Erich Ritz <erichritz@gmail.com>
40758 * math/math.h (isinf): Fix typo in comment.
40760 2010-11-01 Ulrich Drepper <drepper@gmail.com>
40762 * po/da.po: Update from translation team.
40764 2010-10-26 Ulrich Drepper <drepper@gmail.com>
40766 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40767 is added to the list.
40769 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40770 Ulrich Drepper <drepper@gmail.com>
40772 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40773 the global list here. Move code to...
40774 (_dl_add_to_namespace_list): ...here. New function.
40775 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40776 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40777 * elf/dl-load.c (lose): Don't remove the element from the list.
40778 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40779 (_dl_map_object): Likewise.
40781 2010-10-25 Ulrich Drepper <drepper@gmail.com>
40784 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40785 into all bytes of SSE register.
40786 Patch by Richard Li <richardpku@gmail.com>.
40788 2010-10-24 Ulrich Drepper <drepper@gmail.com>
40791 * malloc/malloc.c (_int_free): Fill correct number of bytes when
40794 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
40796 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40797 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40798 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40799 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40804 2010-10-22 Andreas Schwab <schwab@redhat.com>
40806 * include/dlfcn.h (__RTLD_SECURE): Define.
40807 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
40808 mode & __RTLD_SECURE instead.
40809 (open_path): Rename preloaded parameter to secure.
40810 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40811 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40812 * elf/dl-deps.c (openaux): Likewise.
40813 * elf/rtld.c (struct map_args): Remove is_preloaded.
40814 (map_doit): Don't use it.
40815 (dl_main): Likewise.
40816 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40817 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40819 2010-09-09 Andreas Schwab <schwab@redhat.com>
40821 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40822 (sysd-rules-targets): Remove duplicates.
40823 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40824 rtld-%.$o dependency.
40826 2010-10-18 Andreas Schwab <schwab@redhat.com>
40828 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40829 _dl_map_object do it.
40831 2010-10-19 Ulrich Drepper <drepper@gmail.com>
40833 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40834 fast fma builtins, define the macros in the C99 standard.
40835 (FP_FAST_FMAF): Likewise.
40836 (FP_FAST_FMAL): Likewise.
40837 * sysdeps/x86_64/bits/mathdef.h: Likewise.
40839 * bits/mathdef.h: Update copyright year.
40840 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40842 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
40844 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40845 builtins, define the macros in the C99 standard.
40846 (FP_FAST_FMAF): Likewise.
40847 (FP_FAST_FMAL): Likewise.
40848 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40850 (FP_FAST_FMAF): Likewise.
40852 2010-10-15 Jakub Jelinek <jakub@redhat.com>
40855 * math/libm-test.inc (fma_test): Some new testcases.
40856 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40857 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40858 y and infinite z. Do multiplication by C already in long double.
40859 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40861 y and infinite z. Do bitwise or of inexact bit into u.d.
40862 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40863 * sysdeps/i386/fpu/s_fmaf.S: Removed.
40864 * sysdeps/i386/fpu/s_fma.S: Removed.
40865 * sysdeps/i386/fpu/s_fmal.S: Removed.
40867 2010-10-16 Jakub Jelinek <jakub@redhat.com>
40870 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40872 computation is not scheduled after fetestexcept. Fix value
40873 of minimum denormal long double.
40875 2010-10-14 Jakub Jelinek <jakub@redhat.com>
40878 * math/libm-test.inc (fma_test): Add some more tests.
40879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40882 2010-10-15 Andreas Schwab <schwab@redhat.com>
40884 * scripts/data/localplt-s390-linux-gnu.data: New file.
40885 * scripts/data/localplt-s390x-linux-gnu.data: New file.
40887 2010-10-13 Jakub Jelinek <jakub@redhat.com>
40890 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40891 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40893 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40895 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40897 if one of x and y is very large and the other is subnormal.
40898 * sysdeps/s390/fpu/s_fmaf.c: New file.
40899 * sysdeps/s390/fpu/s_fma.c: New file.
40900 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40901 * sysdeps/powerpc/fpu/s_fma.S: New file.
40902 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40903 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40904 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40906 2010-10-12 Jakub Jelinek <jakub@redhat.com>
40909 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40911 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40912 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40913 * sysdeps/i386/i686/multiarch/s_fma.c: Include
40914 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40915 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40916 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40917 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40919 2010-10-12 Ulrich Drepper <drepper@redhat.com>
40922 * posix/regcomp.c (parse_branch): One more memory leak plugged.
40923 * posix/bug-regex31.input: Add test case.
40925 2010-10-11 Ulrich Drepper <drepper@gmail.com>
40927 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40928 * posix/bug-regex31.input: New file.
40931 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40932 (parse_sub_exp): Fix last change, use postorder.
40934 * posix/bug-regex31.c: New file.
40935 * posix/Makefile: Add rules to build and run bug-regex31.
40937 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40940 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40943 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40944 to have entries in sys_siglist.
40947 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40950 2010-10-07 Jakub Jelinek <jakub@redhat.com>
40953 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40954 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40955 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40956 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40957 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40958 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40959 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40960 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40961 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40962 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40963 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40964 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40965 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40966 * math/ftestexcept.c (fetestexcept): Likewise.
40967 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40968 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40969 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40970 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40971 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40972 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
40973 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40975 2010-10-11 Ulrich Drepper <drepper@gmail.com>
40978 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
40981 2010-10-06 Ulrich Drepper <drepper@gmail.com>
40983 * string/bug-strstr1.c: New file.
40984 * string/Makefile: Add rules to build and run bug-strstr1.
40986 2010-10-05 Eric Blake <eblake@redhat.com>
40989 * string/str-two-way.h (two_way_long_needle): Always clear memory
40990 when skipping input due to the shift table.
40992 2010-10-03 Ulrich Drepper <drepper@gmail.com>
40995 * malloc/mcheck.c: Handle large requests.
40998 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
40999 for strncmp and strncasecmp.
41000 * string/stratcliff.c: Add tests for strcmp and strncmp.
41001 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41003 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41005 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41008 2010-09-30 Andreas Jaeger <aj@suse.de>
41010 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41011 (CGROUP_SUPER_MAGIC): Define.
41012 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41013 Handle btrfs and cgroup file systems.
41014 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41017 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
41019 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41020 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41022 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41025 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41026 trying to locate the ELF header.
41028 2010-09-27 Andreas Schwab <schwab@redhat.com>
41031 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41032 Mask out sign-bit copies when constructing f_fsid.
41034 2010-09-24 Petr Baudis <pasky@suse.cz>
41036 * debug/stack_chk_fail_local.c: Add missing licence exception.
41037 * debug/warning-nop.c: Likewise.
41039 2010-09-15 Joseph Myers <joseph@codesourcery.com>
41041 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41042 implementing getdents64 using getdents syscall, set d_type if
41043 __ASSUME_GETDENTS32_D_TYPE.
41045 2010-09-16 Andreas Schwab <schwab@redhat.com>
41047 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41048 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41050 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41053 * posix/unistd.h: Undo change of feature selection for ftruncate from
41056 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41058 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41061 2010-09-20 Andreas Schwab <schwab@redhat.com>
41063 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41067 2010-09-14 Andreas Schwab <schwab@redhat.com>
41069 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41070 variables after CHECK_SP call.
41071 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41073 2010-09-13 Andreas Schwab <schwab@redhat.com>
41074 Ulrich Drepper <drepper@redhat.com>
41076 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41077 re-relocationg ld.so.
41078 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41079 _dl_init_paths call.
41080 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41083 2010-09-14 Ulrich Drepper <drepper@redhat.com>
41085 * resolv/res_init.c (__res_vinit): Count the default server we added.
41087 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41088 Ulrich Drepper <drepper@redhat.com>
41091 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41092 (____longjmp_chk): Use %ebx for saving value across system call.
41095 2010-09-06 Andreas Schwab <schwab@redhat.com>
41097 * manual/Makefile: Don't mix pattern rules with normal rules.
41099 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41101 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41103 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41104 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41105 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41106 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41110 2010-09-04 Ulrich Drepper <drepper@redhat.com>
41113 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41114 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41116 2010-09-02 Ulrich Drepper <drepper@redhat.com>
41118 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41119 * sysdeps/x86_64/addmul_1.S: Likewise.
41120 * sysdeps/x86_64/lshift.S: Likewise.
41121 * sysdeps/x86_64/mul_1.S: Likewise.
41122 * sysdeps/x86_64/rshift.S: Likewise.
41123 * sysdeps/x86_64/sub_n.S: Likewise.
41124 * sysdeps/x86_64/submul_1.S: Likewise.
41126 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41128 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41129 Define __sched_param instead of SCHED_* and sched_param when
41130 <bits/sched.h> is included with __need_schedparam defined.
41131 * bits/sched.h [__need_schedparam]
41132 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41133 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41134 (__defined_schedparam): Define to 1.
41135 (__sched_param): New structure, identical to sched_param.
41136 (__need_schedparam): Undefine.
41138 2010-08-31 Mike Frysinger <vapier@gentoo.org>
41140 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41141 (epoll_create1): Declare.
41143 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41145 2010-08-31 Andreas Schwab <schwab@redhat.com>
41148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41149 shifting retval into place.
41151 2010-09-01 Ulrich Drepper <drepper@redhat.com>
41153 * nis/rpcsvc/nis.h: Update copyright notice.
41154 * nis/rpcsvc/nis.x: Likewise.
41155 * nis/rpcsvc/nis_callback.h: Likewise.
41156 * nis/rpcsvc/nis_callback.x: Likewise.
41157 * nis/rpcsvc/nis_object.x: Likewise.
41158 * nis/rpcsvc/nis_tags.h: Likewise.
41159 * nis/rpcsvc/yp.h: Likewise.
41160 * nis/rpcsvc/yp.x: Likewise.
41161 * nis/rpcsvc/ypupd.h: Likewise.
41162 * nis/yp_xdr.c: Likewise.
41163 * nis/ypupdate_xdr.c: Likewise.
41165 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41166 mainly the body of pmap_getport. Add parameters to specify timeouts.
41167 (pmap_getport): Use __libc_rpc_getport.
41168 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41169 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41170 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41172 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41177 2010-08-27 Roland McGrath <roland@redhat.com>
41179 * sysdeps/i386/i686/multiarch/Makefile
41180 (CFLAGS-varshift.c): New variable.
41182 2010-08-27 Ulrich Drepper <drepper@redhat.com>
41184 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41185 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41189 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41191 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41193 * sysdeps/x86_64/strlen.S: Unroll the loop.
41194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41195 strlen-sse2 strlen-sse2-bsf.
41196 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41197 __strlen_no_bsf if bit_Slow_BSF is set.
41198 (__strlen_sse42): Removed.
41199 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41200 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41202 2010-08-25 Roland McGrath <roland@redhat.com>
41204 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41205 * sysdeps/x86_64/multiarch/varshift.c: New file.
41206 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41207 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41208 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41209 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41211 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41214 strlen-sse2 strlen-sse2-bsf.
41215 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41216 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41217 (__strlen_sse2): Removed.
41218 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41219 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41221 bit_Slow_BSF for Atom.
41222 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41223 (index_Slow_BSF): Define.
41224 (HAS_SLOW_BSF): Define.
41226 2010-08-25 Ulrich Drepper <drepper@redhat.com>
41229 * resolv/res_init.c (__res_vinit): When no server address at all
41230 is given default to loopback.
41232 2010-08-24 Roland McGrath <roland@redhat.com>
41234 * configure.in: Remove config-name.h generation.
41235 * configure: Regenerated.
41236 * config-name.in: File removed.
41237 * scripts/config-uname.sh: New file.
41238 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41239 ($(objdir)config-name.h): New target.
41241 * sunrpc/rpc_parse.h: Avoid nested comment.
41243 2010-08-24 Richard Henderson <rth@redhat.com>
41244 Ulrich Drepper <drepper@redhat.com>
41245 H.J. Lu <hongjiu.lu@intel.com>
41247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41249 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41250 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41251 _mm_alignr_epi8 with _mm_loadu_si128.
41252 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41253 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41254 (__m128i_shift_right): Removed.
41255 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41256 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41257 * sysdeps/x86_64/multiarch/varshift.h: New file.
41258 * sysdeps/x86_64/multiarch/varshift.S: New file.
41260 2010-08-21 Mike Frysinger <vapier@gentoo.org>
41262 * configure.in: Move assembler checks to before sysdep dir checking.
41264 2010-08-20 Petr Baudis <pasky@suse.cz>
41266 * LICENSES: Sync the sunrpc license.
41268 2010-08-19 Ulrich Drepper <drepper@redhat.com>
41270 * sunrpc/auth_des.c: Update copyright notice once again.
41271 * sunrpc/auth_none.c: Likewise.
41272 * sunrpc/auth_unix.c: Likewise.
41273 * sunrpc/authdes_prot.c: Likewise.
41274 * sunrpc/authuxprot.c: Likewise.
41275 * sunrpc/bindrsvprt.c: Likewise.
41276 * sunrpc/clnt_gen.c: Likewise.
41277 * sunrpc/clnt_perr.c: Likewise.
41278 * sunrpc/clnt_raw.c: Likewise.
41279 * sunrpc/clnt_simp.c: Likewise.
41280 * sunrpc/clnt_tcp.c: Likewise.
41281 * sunrpc/clnt_udp.c: Likewise.
41282 * sunrpc/clnt_unix.c: Likewise.
41283 * sunrpc/des_crypt.c: Likewise.
41284 * sunrpc/des_soft.c: Likewise.
41285 * sunrpc/get_myaddr.c: Likewise.
41286 * sunrpc/getrpcport.c: Likewise.
41287 * sunrpc/key_call.c: Likewise.
41288 * sunrpc/key_prot.c: Likewise.
41289 * sunrpc/openchild.c: Likewise.
41290 * sunrpc/pm_getmaps.c: Likewise.
41291 * sunrpc/pm_getport.c: Likewise.
41292 * sunrpc/pmap_clnt.c: Likewise.
41293 * sunrpc/pmap_prot.c: Likewise.
41294 * sunrpc/pmap_prot2.c: Likewise.
41295 * sunrpc/pmap_rmt.c: Likewise.
41296 * sunrpc/rpc/auth.h: Likewise.
41297 * sunrpc/rpc/auth_unix.h: Likewise.
41298 * sunrpc/rpc/clnt.h: Likewise.
41299 * sunrpc/rpc/des_crypt.h: Likewise.
41300 * sunrpc/rpc/key_prot.h: Likewise.
41301 * sunrpc/rpc/netdb.h: Likewise.
41302 * sunrpc/rpc/pmap_clnt.h: Likewise.
41303 * sunrpc/rpc/pmap_prot.h: Likewise.
41304 * sunrpc/rpc/pmap_rmt.h: Likewise.
41305 * sunrpc/rpc/rpc.h: Likewise.
41306 * sunrpc/rpc/rpc_des.h: Likewise.
41307 * sunrpc/rpc/rpc_msg.h: Likewise.
41308 * sunrpc/rpc/svc.h: Likewise.
41309 * sunrpc/rpc/svc_auth.h: Likewise.
41310 * sunrpc/rpc/types.h: Likewise.
41311 * sunrpc/rpc/xdr.h: Likewise.
41312 * sunrpc/rpc_clntout.c: Likewise.
41313 * sunrpc/rpc_cmsg.c: Likewise.
41314 * sunrpc/rpc_common.c: Likewise.
41315 * sunrpc/rpc_cout.c: Likewise.
41316 * sunrpc/rpc_dtable.c: Likewise.
41317 * sunrpc/rpc_hout.c: Likewise.
41318 * sunrpc/rpc_main.c: Likewise.
41319 * sunrpc/rpc_parse.c: Likewise.
41320 * sunrpc/rpc_parse.h: Likewise.
41321 * sunrpc/rpc_prot.c: Likewise.
41322 * sunrpc/rpc_sample.c: Likewise.
41323 * sunrpc/rpc_scan.c: Likewise.
41324 * sunrpc/rpc_scan.h: Likewise.
41325 * sunrpc/rpc_svcout.c: Likewise.
41326 * sunrpc/rpc_tblout.c: Likewise.
41327 * sunrpc/rpc_util.c: Likewise.
41328 * sunrpc/rpc_util.h: Likewise.
41329 * sunrpc/rpcinfo.c: Likewise.
41330 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41331 * sunrpc/rpcsvc/key_prot.x: Likewise.
41332 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41333 * sunrpc/rpcsvc/mount.x: Likewise.
41334 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41335 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41336 * sunrpc/rpcsvc/rex.x: Likewise.
41337 * sunrpc/rpcsvc/rstat.x: Likewise.
41338 * sunrpc/rpcsvc/rusers.x: Likewise.
41339 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41340 * sunrpc/rpcsvc/spray.x: Likewise.
41341 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41342 * sunrpc/rtime.c: Likewise.
41343 * sunrpc/svc.c: Likewise.
41344 * sunrpc/svc_auth.c: Likewise.
41345 * sunrpc/svc_authux.c: Likewise.
41346 * sunrpc/svc_raw.c: Likewise.
41347 * sunrpc/svc_run.c: Likewise.
41348 * sunrpc/svc_simple.c: Likewise.
41349 * sunrpc/svc_tcp.c: Likewise.
41350 * sunrpc/svc_udp.c: Likewise.
41351 * sunrpc/svc_unix.c: Likewise.
41352 * sunrpc/svcauth_des.c: Likewise.
41353 * sunrpc/xcrypt.c: Likewise.
41354 * sunrpc/xdr.c: Likewise.
41355 * sunrpc/xdr_array.c: Likewise.
41356 * sunrpc/xdr_float.c: Likewise.
41357 * sunrpc/xdr_mem.c: Likewise.
41358 * sunrpc/xdr_rec.c: Likewise.
41359 * sunrpc/xdr_ref.c: Likewise.
41360 * sunrpc/xdr_sizeof.c: Likewise.
41361 * sunrpc/xdr_stdio.c: Likewise.
41363 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41366 2010-08-19 Andreas Schwab <schwab@redhat.com>
41368 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41370 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
41372 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41373 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41374 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41375 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41376 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41377 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41378 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41379 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41380 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41381 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41382 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41383 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41384 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41385 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41387 2010-07-26 Anton Blanchard <anton@samba.org>
41389 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41390 * malloc/arena.c (heap_trim): Likewise.
41392 2010-08-16 Ulrich Drepper <drepper@redhat.com>
41394 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41397 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41399 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41401 * sysdeps/i386/elf/Makefile: New file.
41403 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41405 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41406 from fanotify_init.
41407 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41408 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41410 2010-08-15 Ulrich Drepper <drepper@redhat.com>
41412 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41414 * sysdeps/multiarch/strcmp.S: Likewise.
41416 2010-08-14 Ulrich Drepper <drepper@redhat.com>
41418 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41419 strncase_l-nonascii.
41420 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41421 Add strncase_l-ssse3.
41422 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41423 * sysdeps/x86_64/strcmp.S: Likewise.
41424 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41425 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41426 * sysdeps/x86_64/strncase.S: New file.
41427 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41428 * sysdeps/x86_64/strncase_l.S: New file.
41429 * string/Makefile (strop-tests): Add strncasecmp.
41430 * string/test-strncasecmp.c: New file.
41432 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41435 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41436 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41438 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41440 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41442 2010-08-12 Ulrich Drepper <drepper@redhat.com>
41444 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41445 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41446 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41448 2010-05-01 Alan Modra <amodra@gmail.com>
41450 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41451 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41452 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41453 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41454 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41455 tidying. Don't tail-call __sigjmp_save for static lib.
41456 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41458 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41459 (CALL_MCOUNT): Add eh info, and nop after bl.
41460 (TAIL_CALL_SYSCALL_ERROR): New macro.
41461 (PSEUDO_RET): Use it.
41462 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41463 Correct save location of integer regs and cr.
41464 (_dl_profile_resolve): Correct cr save location. Delete nops
41465 after bl when SHARED. Reduce cfi size a little by better
41466 placement of cfi directives.
41467 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41468 make a stack frame. Instead use parm save area as a temp.
41469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41470 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41472 Don't make a stack frame for parent, use parm save area.
41473 Increase child stack frame to 112 bytes. Don't save unused reg,
41474 and adjust reg usage. Set up cfi on error recovery and
41475 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41477 (__makecontext): Add dummy nop after jump to exit.
41478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41479 Use correct parm save area and cr save, reduce stack frame.
41480 Correct cfi for possible PSEUDO_RET frame setup.
41481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41482 Branch to local label emitted by PSEUDO_RET rather than
41485 2010-08-12 Andreas Schwab <schwab@redhat.com>
41488 * locale/programs/locale.c (print_assignment): New function.
41489 (show_locale_vars): Use it.
41491 2010-08-11 Ulrich Drepper <drepper@redhat.com>
41493 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41495 (struct statfs64): Likewise.
41496 (_STATFS_F_FLAGS): Define.
41497 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41498 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41499 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41500 (ST_VALID): Define locally.
41501 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41502 __statvfs_getflags, use the provided value.
41503 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41504 __ASSUME_STATFS_F_FLAGS.
41506 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41508 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41509 Add sys/fanotify.h.
41510 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41511 fanotify_mask for GLIBC_2.13.
41512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41513 fanotify_init and fanotify_mark.
41514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41515 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41517 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41519 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41520 prlimit64 for GLIBC_2.13.
41521 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41523 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41526 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41527 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41528 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41531 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41534 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41535 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41537 * nss/Makefile: Add rules to build and run tst-nss-test1.
41538 * shlib-versions: Add entry for libnss_test1.
41539 * nss/nss_test1.c: New file.
41540 * nss/tst-nss-test1.c: New file.
41542 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41543 (__nss_configure_lookup): Set appropriate entry in
41544 __nss_configure_lookup to true.
41545 * nss/nsswitch.h: Define enum with indeces of databases in
41546 databases and __nss_database_custom arrays. Declare
41547 __nss_database_custom.
41548 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41549 to avoid using nscd when custom rules are installed.
41550 * nss/getXXbyYY_r.c: Likewise.
41551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41553 * nss/nss_files/files-parse.c: Whitespace fixes.
41555 2010-08-09 Ulrich Drepper <drepper@redhat.com>
41558 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41559 * posix/fnmatch_loop.c: Likewise.
41561 2010-07-17 Andi Kleen <ak@linux.intel.com>
41563 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41564 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41565 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41566 * Versions.def [GLIBC_2.13]: Add.
41568 2010-08-06 Ulrich Drepper <drepper@redhat.com>
41570 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41571 Also fail if tpwd after pwuid call is NULL.
41573 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41575 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41576 when converting to ms.
41578 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41580 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41581 EOPNOTSUPP errors with ENOTTY.
41582 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41583 EOPNOTSUPP errors with ENOTTY.
41585 2010-07-31 Ulrich Drepper <drepper@redhat.com>
41587 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41588 Add strcasecmp_l-ssse3.
41589 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41591 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41592 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41593 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41595 2010-07-30 Ulrich Drepper <drepper@redhat.com>
41597 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41599 * string/Makefile (strop-tests): Add strcasecmp.
41600 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41601 strcasecmp_l-nonascii.
41602 (gen-as-const-headers): Add locale-defines.sym.
41603 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41604 * sysdeps/x86_64/strcasecmp.S: New file.
41605 * sysdeps/x86_64/strcasecmp_l.S: New file.
41606 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41607 * sysdeps/x86_64/locale-defines.sym: New file.
41608 * string/test-strcasecmp.c: New file.
41610 * string/test-strcasestr.c: Test both ends of the range of characters.
41611 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41613 2010-07-29 Roland McGrath <roland@redhat.com>
41616 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41618 2010-07-27 Ulrich Drepper <drepper@redhat.com>
41620 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41623 2010-07-27 Andreas Schwab <schwab@redhat.com>
41625 * manual/memory.texi (Malloc Tunable Parameters): Document
41628 2010-07-26 Roland McGrath <roland@redhat.com>
41631 * configure.in (-fgnu89-inline check): Set and substitute
41632 gnu89_inline, not libc_cv_gnu89_inline.
41633 * configure: Regenerated.
41634 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41636 2010-07-26 Ulrich Drepper <drepper@redhat.com>
41638 * string/test-strnlen.c: New file.
41639 * string/Makefile (strop-tests): Add strnlen.
41640 * string/tester.c (test_strnlen): Add a few more test cases.
41641 * string/tst-strlen.c: Better error reporting.
41643 * sysdeps/x86_64/strnlen.S: New file.
41645 2010-07-24 Ulrich Drepper <drepper@redhat.com>
41647 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41648 lower-latency instructions.
41650 2010-07-23 Ulrich Drepper <drepper@redhat.com>
41652 * string/test-strcasestr.c: New file.
41653 * string/test-strstr.c: New file.
41654 * string/Makefile (strop-tests): Add strstr and strcasestr.
41655 * string/str-two-way.h: Don't undefine MAX.
41656 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41658 2010-07-21 Andreas Schwab <schwab@redhat.com>
41660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41661 strcasestr-nonascii.
41662 (CFLAGS-strcasestr-nonascii.c): Define.
41663 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41664 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41665 Remove unused attribute.
41667 2010-07-20 Roland McGrath <roland@redhat.com>
41669 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41670 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41671 ld.so.cache was broken. With it, there is no way to disable dsocaps
41672 like LD_HWCAP_MASK can disable hwcaps.
41674 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41676 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41678 2010-07-16 Ulrich Drepper <drepper@redhat.com>
41680 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41681 call in strcasestr.
41682 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41683 __strcasestr_sse42_nonascii.
41684 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41685 strcasestr-nonascii.c.
41686 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41688 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
41690 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41691 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41692 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41693 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41695 2010-07-09 Ulrich Drepper <drepper@redhat.com>
41697 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41700 2010-07-06 Andreas Schwab <schwab@redhat.com>
41703 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41706 2010-07-06 Ulrich Drepper <drepper@redhat.com>
41708 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41709 _PC_PIPE_BUF using F_GETPIPE_SZ.
41711 2010-07-05 Roland McGrath <roland@redhat.com>
41713 * manual/arith.texi (Rounding Functions): Fix rint description
41714 implicit in round description.
41716 2010-07-02 Ulrich Drepper <drepper@redhat.com>
41718 * elf/Makefile: Fix linking for a few tests to make recent linker
41721 2010-06-30 Andreas Schwab <schwab@redhat.com>
41723 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41724 $(common-objpfx)libc_nonshared.a.
41726 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
41728 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41729 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41730 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41731 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41732 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41733 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41734 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41735 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41750 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41751 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41752 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41753 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41754 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41755 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41756 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41757 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41758 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41759 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41760 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41761 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41777 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41779 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41780 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
41781 * string/memmove.c (memmove): Renamed to ...
41782 (MEMMOVE): ...this. Default to memmove.
41783 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41784 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41787 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41788 mempcpy-ssse3-back memmove-ssse3-back.
41789 * sysdeps/x86_64/multiarch/bcopy.S: New file .
41790 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41791 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41792 * sysdeps/x86_64/multiarch/memcpy.S: New file.
41793 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41794 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41795 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41796 * sysdeps/x86_64/multiarch/memmove.c: New file.
41797 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41798 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41799 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41800 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41801 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41802 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41804 (index_Fast_Copy_Backward): Define.
41805 (HAS_ARCH_FEATURE): Define.
41806 (HAS_FAST_REP_STRING): Define.
41807 (HAS_FAST_COPY_BACKWARD): Define.
41809 2010-06-21 Andreas Schwab <schwab@redhat.com>
41811 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41812 Restore proper fallback handling.
41814 2010-06-19 Ulrich Drepper <drepper@redhat.com>
41817 * posix/group_member.c (__group_member): Correct checking loop.
41819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41820 OOM in getpwuid_r correctly. Return error number when the caller
41821 should return, otherwise -1.
41822 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41823 call returning > 0 value.
41824 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41826 2010-06-07 Andreas Schwab <schwab@redhat.com>
41828 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41829 libc_nonshared.a from targets in modules-names.
41831 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
41833 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41836 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
41838 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41839 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41840 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41841 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41843 2010-06-02 Andreas Schwab <schwab@redhat.com>
41845 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41847 2010-06-14 Ulrich Drepper <drepper@redhat.com>
41849 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41852 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41854 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41855 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41856 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41858 2010-06-14 Roland McGrath <roland@redhat.com>
41860 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41862 2010-06-07 Jakub Jelinek <jakub@redhat.com>
41864 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41865 __REDIRECT followed by __THROW.
41866 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41867 * posix/getopt.h (getopt): Likewise.
41869 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41871 * hurd/lookup-at.c (__file_name_lookup_at): Accept
41872 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
41873 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41875 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41876 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41878 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
41880 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41882 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
41885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41886 Properly check family and model.
41888 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
41890 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41892 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
41894 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41896 2010-05-21 Ulrich Drepper <drepper@redhat.com>
41898 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41901 2010-05-19 Andreas Schwab <schwab@redhat.com>
41903 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41906 2010-05-21 Andreas Schwab <schwab@redhat.com>
41908 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41909 and internal_recvmmsg.
41910 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41911 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41912 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41913 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41915 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41916 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41917 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41919 2010-05-20 Andreas Schwab <schwab@redhat.com>
41921 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41923 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
41925 POWER7 optimizations.
41926 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41927 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41929 2010-05-19 Ulrich Drepper <drepper@redhat.com>
41931 * version.h: Update for 2.13 development version.
41933 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
41935 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41936 exceptions. Return 0.
41938 2010-05-07 Roland McGrath <roland@redhat.com>
41940 * elf/ldconfig.c (main): Add a const.
41942 2010-05-06 Ulrich Drepper <drepper@redhat.com>
41944 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41945 (args_options): Add no-idn option.
41946 (ahosts_keys_int): Add idn_flags to ai_flags.
41947 (parse_option): Handle 'i' option to clear idn_flags.
41949 * malloc/malloc.c (_int_free): Possible race in the most recently
41950 added check. Only act on the data if no current modification
41953 See ChangeLog.17 for earlier changes.