1 2014-03-13 Roland McGrath <roland@hack.frob.com>
3 * configure.ac (HAVE_EHDR_START): New check.
4 * configure: Regenerated.
5 * config.h.in (HAVE_EHDR_START): New #undef.
6 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7 assuming the lowest-addressed segment maps the start of the file.
9 2014-03-13 Joseph Myers <joseph@codesourcery.com>
11 * INSTALL: Regenerated.
13 2014-03-13 Will Newton <will.newton@linaro.org>
15 * manual/setjmp.texi (System V contexts): Improve
16 clarity and grammar of documentation.
18 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21 * elf/Makefile (tests): Add tst-pie2.
22 (tests-pie): Add tst-pie2.
23 * elf/tst-pie2.c: New file.
24 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
26 * elf/rtld.c (map_doit): Load executable as lt_executable.
29 2014-03-12 Joseph Myers <joseph@codesourcery.com>
32 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33 (__ASSUME_PSELECT): Undefine.
35 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
42 selector for static builds.
44 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
47 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
50 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
53 selector for static builds.
55 2014-03-11 Joseph Myers <joseph@codesourcery.com>
57 * sysdeps/mips/math_private.h [__mips_hard_float]
58 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
59 libc_feresetround_mips_ctx.
60 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
61 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
62 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
65 * math/s_nextafter.c (__nextafter): Do not return value from
66 overflowing computation.
67 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
68 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
69 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
71 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
73 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
74 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
76 2014-03-11 Roland McGrath <roland@hack.frob.com>
78 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
79 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
80 Move sfi_sp use from the load-multiple (that no longer sets sp) to
81 the new mov targetting sp.
83 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
87 Define it for static builds as well.
88 (NO_BZERO_IMPL): Likewise.
90 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
92 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
93 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
94 multiarch strspn for PPC64.
95 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
96 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
97 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
98 (__libc_ifunc_impl_list): Likewise.
99 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
100 multiarch optimizations
101 * string/strspn.c (strspn): Using macro to redefine symbol name.
103 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
104 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
106 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
107 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
108 multiarch strncat for PPC64.
109 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
110 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
112 (__libc_ifunc_impl_list): Likewise.
113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
114 multiarch optimizations
116 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
119 * nscd/nscd.service: Make service type forking.
121 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
123 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
124 sign in non default rounding modes.
125 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
127 2014-03-08 Joseph Myers <joseph@codesourcery.com>
129 * math/libm-test.inc (ALL_RM_TEST): New macro.
130 (ceil_test): Use ALL_RM_TEST.
131 (cimag_test): Likewise.
132 (conj_test): Likewise.
133 (copysign_test): Likewise.
134 (cproj_test): Likewise.
135 (creal_test): Likewise.
136 (fabs_test): Likewise.
137 (floor_test): Likewise.
138 (fmax_test): Likewise.
139 (fmin_test): Likewise.
140 (fmod_test): Likewise.
141 (fpclassify_test): Likewise.
142 (frexp_test): Likewise.
143 (ilogb_test): Likewise.
144 (isfinite_test): Likewise.
145 (finite_test): Likewise.
146 (isgreater_test): Likewise.
147 (isgreaterequal_test): Likewise.
148 (isinf_test): Likewise.
149 (isless_test): Likewise.
150 (islessequal_test): Likewise.
151 (islessgreater_test): Likewise.
152 (isnan_test): Likewise.
153 (isnormal_test): Likewise.
154 (issignaling_test): Likewise.
155 (isunordered_test): Likewise.
156 (logb_test): Likewise.
157 (logb_downward_test_data): Remove.
158 (logb_test_downward): Likewise.
159 (lround_test): Use ALL_RM_TEST.
160 (llround_test): Likewise.
161 (modf_test): Likewise.
162 (nexttoward_test): Likewise.
163 (remainder_test): Likewise.
164 (drem_test): Likewise.
165 (remainder_tonearest_test_data): Likewise.
166 (remainder_test_tonearest): Likewise.
167 (drem_test_tonearest): Likewise.
168 (remainder_towardzero_test_data): Likewise.
169 (remainder_test_towardzero): Likewise.
170 (drem_test_towardzero): Likewise.
171 (remainder_downward_test_data): Likewise.
172 (remainder_test_downward): Likewise.
173 (drem_test_downward): Likewise.
174 (remainder_upward_test_data): Likewise.
175 (remainder_test_upward): Likewise.
176 (drem_test_upward): Likewise.
177 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
178 (round_test): Use ALL_RM_TEST.
179 (signbit_test): Likewise.
180 (trunc_test): Likewise.
181 (significand_test): Likewise.
182 (main): Don't call removed functions.
184 2014-03-07 Joseph Myers <joseph@codesourcery.com>
187 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
189 (ILL_ILLOPN): Likewise.
190 (ILL_ILLADR): Likewise.
191 (ILL_ILLTRP): Likewise.
192 (ILL_PRVOPC): Likewise.
193 (ILL_PRVREG): Likewise.
194 (ILL_COPROC): Likewise.
195 (ILL_BADSTK): Likewise.
196 (FPE_INTDIV): Likewise.
197 (FPE_INTOVF): Likewise.
198 (FPE_FLTDIV): Likewise.
199 (FPE_FLTOVF): Likewise.
200 (FPE_FLTUND): Likewise.
201 (FPE_FLTRES): Likewise.
202 (FPE_FLTINV): Likewise.
203 (FPE_FLTSUB): Likewise.
204 (SEGV_MAPERR): Likewise.
205 (SEGV_ACCERR): Likewise.
206 (BUS_ADRALN): Likewise.
207 (BUS_ADRERR): Likewise.
208 (BUS_OBJERR): Likewise.
209 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
210 (TRAP_TRACE): Likewise.
211 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
213 (CLD_KILLED): Likewise.
214 (CLD_DUMPED): Likewise.
215 (CLD_TRAPPED): Likewise.
216 (CLD_STOPPED): Likewise.
217 (CLD_CONTINUED): Likewise.
219 (POLL_OUT): Likewise.
220 (POLL_MSG): Likewise.
221 (POLL_ERR): Likewise.
222 (POLL_PRI): Likewise.
223 (POLL_HUP): Likewise.
224 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
226 (ILL_ILLOPN): Likewise.
227 (ILL_ILLADR): Likewise.
228 (ILL_ILLTRP): Likewise.
229 (ILL_PRVOPC): Likewise.
230 (ILL_PRVREG): Likewise.
231 (ILL_COPROC): Likewise.
232 (ILL_BADSTK): Likewise.
233 (FPE_INTDIV): Likewise.
234 (FPE_INTOVF): Likewise.
235 (FPE_FLTDIV): Likewise.
236 (FPE_FLTOVF): Likewise.
237 (FPE_FLTUND): Likewise.
238 (FPE_FLTRES): Likewise.
239 (FPE_FLTINV): Likewise.
240 (FPE_FLTSUB): Likewise.
241 (SEGV_MAPERR): Likewise.
242 (SEGV_ACCERR): Likewise.
243 (BUS_ADRALN): Likewise.
244 (BUS_ADRERR): Likewise.
245 (BUS_OBJERR): Likewise.
246 (BUS_MCEERR_AR): Likewise.
247 (BUS_MCEERR_AO): Likewise.
248 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
249 (TRAP_TRACE): Likewise.
250 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
252 (CLD_KILLED): Likewise.
253 (CLD_DUMPED): Likewise.
254 (CLD_TRAPPED): Likewise.
255 (CLD_STOPPED): Likewise.
256 (CLD_CONTINUED): Likewise.
258 (POLL_OUT): Likewise.
259 (POLL_MSG): Likewise.
260 (POLL_ERR): Likewise.
261 (POLL_PRI): Likewise.
262 (POLL_HUP): Likewise.
263 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
264 (ILL_ILLOPN): Likewise.
265 (ILL_ILLADR): Likewise.
266 (ILL_ILLTRP): Likewise.
267 (ILL_PRVOPC): Likewise.
268 (ILL_PRVREG): Likewise.
269 (ILL_COPROC): Likewise.
270 (ILL_BADSTK): Likewise.
271 (FPE_INTDIV): Likewise.
272 (FPE_INTOVF): Likewise.
273 (FPE_FLTDIV): Likewise.
274 (FPE_FLTOVF): Likewise.
275 (FPE_FLTUND): Likewise.
276 (FPE_FLTRES): Likewise.
277 (FPE_FLTINV): Likewise.
278 (FPE_FLTSUB): Likewise.
279 (SEGV_MAPERR): Likewise.
280 (SEGV_ACCERR): Likewise.
281 (BUS_ADRALN): Likewise.
282 (BUS_ADRERR): Likewise.
283 (BUS_OBJERR): Likewise.
284 (BUS_MCEERR_AR): Likewise.
285 (BUS_MCEERR_AO): Likewise.
286 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
287 (TRAP_TRACE): Likewise.
288 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
290 (CLD_KILLED): Likewise.
291 (CLD_DUMPED): Likewise.
292 (CLD_TRAPPED): Likewise.
293 (CLD_STOPPED): Likewise.
294 (CLD_CONTINUED): Likewise.
296 (POLL_OUT): Likewise.
297 (POLL_MSG): Likewise.
298 (POLL_ERR): Likewise.
299 (POLL_PRI): Likewise.
300 (POLL_HUP): Likewise.
301 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
303 (ILL_ILLOPN): Likewise.
304 (ILL_ILLADR): Likewise.
305 (ILL_ILLTRP): Likewise.
306 (ILL_PRVOPC): Likewise.
307 (ILL_PRVREG): Likewise.
308 (ILL_COPROC): Likewise.
309 (ILL_BADSTK): Likewise.
310 (ILL_BADIADDR): Likewise.
311 (ILL_BREAK): Likewise.
312 (FPE_INTDIV): Likewise.
313 (FPE_INTOVF): Likewise.
314 (FPE_FLTDIV): Likewise.
315 (FPE_FLTOVF): Likewise.
316 (FPE_FLTUND): Likewise.
317 (FPE_FLTRES): Likewise.
318 (FPE_FLTINV): Likewise.
319 (FPE_FLTSUB): Likewise.
320 (FPE_DECOVF): Likewise.
321 (FPE_DECDIV): Likewise.
322 (FPE_DECERR): Likewise.
323 (FPE_INVASC): Likewise.
324 (FPE_INVDEC): Likewise.
325 (SEGV_MAPERR): Likewise.
326 (SEGV_ACCERR): Likewise.
327 (SEGV_PSTKOVF): Likewise.
328 (BUS_ADRALN): Likewise.
329 (BUS_ADRERR): Likewise.
330 (BUS_OBJERR): Likewise.
331 (BUS_MCEERR_AR): Likewise.
332 (BUS_MCEERR_AO): Likewise.
333 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
334 (TRAP_TRACE): Likewise.
335 (TRAP_BRANCH): Likewise.
336 (TRAP_HWBKPT): Likewise.
337 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
339 (CLD_KILLED): Likewise.
340 (CLD_DUMPED): Likewise.
341 (CLD_TRAPPED): Likewise.
342 (CLD_STOPPED): Likewise.
343 (CLD_CONTINUED): Likewise.
345 (POLL_OUT): Likewise.
346 (POLL_MSG): Likewise.
347 (POLL_ERR): Likewise.
348 (POLL_PRI): Likewise.
349 (POLL_HUP): Likewise.
350 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
351 (ILL_ILLOPN): Likewise.
352 (ILL_ILLADR): Likewise.
353 (ILL_ILLTRP): Likewise.
354 (ILL_PRVOPC): Likewise.
355 (ILL_PRVREG): Likewise.
356 (ILL_COPROC): Likewise.
357 (ILL_BADSTK): Likewise.
358 (FPE_INTDIV): Likewise.
359 (FPE_INTOVF): Likewise.
360 (FPE_FLTDIV): Likewise.
361 (FPE_FLTOVF): Likewise.
362 (FPE_FLTUND): Likewise.
363 (FPE_FLTRES): Likewise.
364 (FPE_FLTINV): Likewise.
365 (FPE_FLTSUB): Likewise.
366 (SEGV_MAPERR): Likewise.
367 (SEGV_ACCERR): 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 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
377 (CLD_KILLED): Likewise.
378 (CLD_DUMPED): Likewise.
379 (CLD_TRAPPED): Likewise.
380 (CLD_STOPPED): Likewise.
381 (CLD_CONTINUED): Likewise.
383 (POLL_OUT): Likewise.
384 (POLL_MSG): Likewise.
385 (POLL_ERR): Likewise.
386 (POLL_PRI): Likewise.
387 (POLL_HUP): Likewise.
388 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
389 (ILL_ILLOPN): Likewise.
390 (ILL_ILLADR): Likewise.
391 (ILL_ILLTRP): Likewise.
392 (ILL_PRVOPC): Likewise.
393 (ILL_PRVREG): Likewise.
394 (ILL_COPROC): Likewise.
395 (ILL_BADSTK): Likewise.
396 (FPE_INTDIV): Likewise.
397 (FPE_INTOVF): Likewise.
398 (FPE_FLTDIV): Likewise.
399 (FPE_FLTOVF): Likewise.
400 (FPE_FLTUND): Likewise.
401 (FPE_FLTRES): Likewise.
402 (FPE_FLTINV): Likewise.
403 (FPE_FLTSUB): Likewise.
404 (SEGV_MAPERR): Likewise.
405 (SEGV_ACCERR): Likewise.
406 (BUS_ADRALN): Likewise.
407 (BUS_ADRERR): Likewise.
408 (BUS_OBJERR): Likewise.
409 (BUS_MCEERR_AR): Likewise.
410 (BUS_MCEERR_AO): Likewise.
411 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
412 (TRAP_TRACE): Likewise.
413 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
415 (CLD_KILLED): Likewise.
416 (CLD_DUMPED): Likewise.
417 (CLD_TRAPPED): Likewise.
418 (CLD_STOPPED): Likewise.
419 (CLD_CONTINUED): Likewise.
421 (POLL_OUT): Likewise.
422 (POLL_MSG): Likewise.
423 (POLL_ERR): Likewise.
424 (POLL_PRI): Likewise.
425 (POLL_HUP): Likewise.
426 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
427 (ILL_ILLOPN): Likewise.
428 (ILL_ILLADR): Likewise.
429 (ILL_ILLTRP): Likewise.
430 (ILL_PRVOPC): Likewise.
431 (ILL_PRVREG): Likewise.
432 (ILL_COPROC): Likewise.
433 (ILL_BADSTK): Likewise.
434 (FPE_INTDIV): Likewise.
435 (FPE_INTOVF): Likewise.
436 (FPE_FLTDIV): Likewise.
437 (FPE_FLTOVF): Likewise.
438 (FPE_FLTUND): Likewise.
439 (FPE_FLTRES): Likewise.
440 (FPE_FLTINV): Likewise.
441 (FPE_FLTSUB): Likewise.
442 (SEGV_MAPERR): Likewise.
443 (SEGV_ACCERR): Likewise.
444 (BUS_ADRALN): Likewise.
445 (BUS_ADRERR): Likewise.
446 (BUS_OBJERR): Likewise.
447 (BUS_MCEERR_AR): Likewise.
448 (BUS_MCEERR_AO): Likewise.
449 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
450 (TRAP_TRACE): Likewise.
451 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
453 (CLD_KILLED): Likewise.
454 (CLD_DUMPED): Likewise.
455 (CLD_TRAPPED): Likewise.
456 (CLD_STOPPED): Likewise.
457 (CLD_CONTINUED): Likewise.
459 (POLL_OUT): Likewise.
460 (POLL_MSG): Likewise.
461 (POLL_ERR): Likewise.
462 (POLL_PRI): Likewise.
463 (POLL_HUP): Likewise.
464 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
465 (ILL_ILLOPN): Likewise.
466 (ILL_ILLADR): Likewise.
467 (ILL_ILLTRP): Likewise.
468 (ILL_PRVOPC): Likewise.
469 (ILL_PRVREG): Likewise.
470 (ILL_COPROC): Likewise.
471 (ILL_BADSTK): Likewise.
472 (ILL_DBLFLT): Likewise.
473 (ILL_HARDWALL): 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/x86/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 (FPE_INTDIV): Likewise.
513 (FPE_INTOVF): Likewise.
514 (FPE_FLTDIV): Likewise.
515 (FPE_FLTOVF): Likewise.
516 (FPE_FLTUND): Likewise.
517 (FPE_FLTRES): Likewise.
518 (FPE_FLTINV): Likewise.
519 (FPE_FLTSUB): Likewise.
520 (SEGV_MAPERR): Likewise.
521 (SEGV_ACCERR): Likewise.
522 (BUS_ADRALN): Likewise.
523 (BUS_ADRERR): Likewise.
524 (BUS_OBJERR): Likewise.
525 (BUS_MCEERR_AR): Likewise.
526 (BUS_MCEERR_AO): Likewise.
527 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
528 (TRAP_TRACE): Likewise.
529 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
531 (CLD_KILLED): Likewise.
532 (CLD_DUMPED): Likewise.
533 (CLD_TRAPPED): Likewise.
534 (CLD_STOPPED): Likewise.
535 (CLD_CONTINUED): Likewise.
537 (POLL_OUT): Likewise.
538 (POLL_MSG): Likewise.
539 (POLL_ERR): Likewise.
540 (POLL_PRI): Likewise.
541 (POLL_HUP): Likewise.
542 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
543 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
546 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
547 before #include of <time.h>.
548 [!__USE_XOPEN2K] (__need_timespec): Likewise.
549 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
550 (test-xfail-UNIX98/sched.h/conform): Likewise.
552 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
554 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
555 error absence of trapping exception support.
556 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
558 2014-03-07 Joseph Myers <joseph@codesourcery.com>
560 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
561 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
562 * timezone/Makefile (testdata): Move definition above include of
564 (test-zones): New variable.
565 (tests-special): Add zone files.
566 (build-testdata): Use $(evaluate-test).
568 * elf/Makefile (tests-special): Rename tests to end with .out.
569 ($(objpfx)noload-mem): Likewise.
570 ($(objpfx)tst-leaks1-mem): Likewise.
571 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
572 * iconv/Makefile (xtests-special): Change test-iconvconfig to
573 $(objpfx)test-iconvconfig.out.
574 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
575 set -e inside subshell and redirect output to file.
576 * iconvdata/Makefile (generated): Rename tests to end with .out.
578 (tests-special): Rename tests to end with .out.
579 ($(objpfx)mtrace-tst-loading): Likewise.
580 * intl/Makefile (generated): Likewise.
581 (tests-special): Likewise.
582 ($(objpfx)mtrace-tst-gettext): Likewise.
583 * misc/Makefile (generated): Likewise.
584 (tests-special): Likewise.
585 ($(objpfx)tst-error1-mem): Likewise.
586 * nptl/Makefile (tests-special): Likewise.
587 ($(objpfx)tst-stack3-mem): Likewise.
588 (generated): Likewise.
589 * posix/Makefile (generated): Likewise.
590 (tests-special): Likewise.
591 (xtests-special): Likewise.
592 ($(objpfx)tst-fnmatch-mem): Likewise.
593 ($(objpfx)bug-regex2-mem): Likewise.
594 ($(objpfx)bug-regex14-mem): Likewise.
595 ($(objpfx)bug-regex21-mem): Likewise.
596 ($(objpfx)bug-regex31-mem): Likewise.
597 ($(objpfx)tst-vfork3-mem): Likewise.
598 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
599 ($(objpfx)tst-pcre-mem): Likewise.
600 ($(objpfx)tst-boost-mem): Likewise.
601 ($(objpfx)bug-ga2-mem): Likewise.
602 ($(objpfx)bug-glob2-mem): Likewise.
603 * resolv/Makefile (generate): Likewise.
604 (tests-special): Likewise.
605 (xtests-special): Likewise.
606 (generated): Likewise.
607 ($(objpfx)mtrace-tst-leaks): Likewise.
608 ($(objpfx)mtrace-tst-leaks2): Likewise.
610 * scripts/merge-test-results.sh: New file.
611 * Makefile (tests-special-notdir): New variable.
612 (tests): Run merge-test-results.sh.
614 * Rules (tests-special-notdir): New variable.
615 (xtests-special-notdir): Likewise.
616 (tests): Run merge-test-results.sh
619 * Makeconfig (test-xfail-name): New variable.
620 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
621 compute variable name for expected failures.
622 * conform/Makefile (conformtest-headers-data): New variable.
623 (conformtest-standards): Likewise.
624 (conformtest-headers-ISO): Likewise.
625 (conformtest-headers-ISO99): Likewise.
626 (conformtest-headers-ISO11): Likewise.
627 (conformtest-headers-POSIX): Likewise.
628 (conformtest-headers-XPG3): Likewise.
629 (conformtest-headers-XPG4): Likewise.
630 (conformtest-headers-UNIX98): Likewise.
631 (conformtest-headers-XOPEN2K): Likewise.
632 (conformtest-headers-POSIX2008): Likewise.
633 (conformtest-headers-XOPEN2K8): Likewise.
634 (conformtest-header-list-base): Likewise.
635 (conformtest-header-list-tests): Likewise.
636 (conformtest-header-base): Likewise.
637 (conformtest-header-tests): Likewise.
638 (tests-special): Add $(conformtest-header-list-tests). If
639 [$(fast-check) && !$(cross-compiling)], add
640 $(conformtest-header-tests) instead of
641 $(objpfx)run-conformtest.out.
642 (generated): Add $(conformtest-header-list-base). If
643 [$(fast-check) && !$(cross-compiling)], add
644 $(conformtest-header-base). Remove previous setting.
645 ($(conformtest-header-list-tests)): New target.
646 (test-xfail-run-conformtest): Remove variable.
647 ($(objpfx)run-conformtest.out): Remove target.
648 (test-xfail-ISO11/complex.h/conform): New variable.
649 (test-xfail-ISO11/stdalign.h/conform): Likewise.
650 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
651 (test-xfail-XPG3/varargs.h/conform): Likewise.
652 (test-xfail-XPG4/varargs.h/conform): Likewise.
653 (test-xfail-UNIX98/varargs.h/conform): Likewise.
654 (test-xfail-XPG4/ndbm.h/conform): Likewise.
655 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
656 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
657 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
658 (test-xfail-XPG3/fcntl.h/conform): Likewise.
659 (test-xfail-XPG3/ftw.h/conform): Likewise.
660 (test-xfail-XPG3/grp.h/conform): Likewise.
661 (test-xfail-XPG3/langinfo.h/conform): Likewise.
662 (test-xfail-XPG3/limits.h/conform): Likewise.
663 (test-xfail-XPG3/pwd.h/conform): Likewise.
664 (test-xfail-XPG3/search.h/conform): Likewise.
665 (test-xfail-XPG3/signal.h/conform): Likewise.
666 (test-xfail-XPG3/stdio.h/conform): Likewise.
667 (test-xfail-XPG3/stdlib.h/conform): Likewise.
668 (test-xfail-XPG3/string.h/conform): Likewise.
669 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
670 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
671 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
672 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
673 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
674 (test-xfail-XPG3/sys/types.h/conform): Likewise.
675 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
676 (test-xfail-XPG3/termios.h/conform): Likewise.
677 (test-xfail-XPG3/time.h/conform): Likewise.
678 (test-xfail-XPG3/unistd.h/conform): Likewise.
679 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
680 (test-xfail-XPG4/fcntl.h/conform): Likewise.
681 (test-xfail-XPG4/langinfo.h/conform): Likewise.
682 (test-xfail-XPG4/netdb.h/conform): Likewise.
683 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
684 (test-xfail-XPG4/signal.h/conform): Likewise.
685 (test-xfail-XPG4/stdio.h/conform): Likewise.
686 (test-xfail-XPG4/stdlib.h/conform): Likewise.
687 (test-xfail-XPG4/stropts.h/conform): Likewise.
688 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
689 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
690 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
691 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
692 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
693 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
694 (test-xfail-XPG4/sys/time.h/conform): Likewise.
695 (test-xfail-XPG4/sys/types.h/conform): Likewise.
696 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
697 (test-xfail-XPG4/termios.h/conform): Likewise.
698 (test-xfail-XPG4/ucontext.h/conform): Likewise.
699 (test-xfail-XPG4/unistd.h/conform): Likewise.
700 (test-xfail-XPG4/utmpx.h/conform): Likewise.
701 (test-xfail-POSIX/sched.h/conform): Likewise.
702 (test-xfail-POSIX/signal.h/conform): Likewise.
703 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
704 (test-xfail-POSIX/tar.h/conform): Likewise.
705 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
706 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
707 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
708 (test-xfail-UNIX98/netdb.h/conform): Likewise.
709 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
710 (test-xfail-UNIX98/sched.h/conform): Likewise.
711 (test-xfail-UNIX98/signal.h/conform): Likewise.
712 (test-xfail-UNIX98/stdio.h/conform): Likewise.
713 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
714 (test-xfail-UNIX98/stropts.h/conform): Likewise.
715 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
716 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
717 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
718 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
719 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
720 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
721 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
722 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
723 (test-xfail-UNIX98/unistd.h/conform): Likewise.
724 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
725 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
726 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
727 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
728 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
729 (test-xfail-XOPEN2K/math.h/conform): Likewise.
730 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
731 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
732 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
733 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
734 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
735 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
736 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
737 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
738 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
739 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
740 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
741 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
742 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
743 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
744 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
745 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
746 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
747 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
748 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
749 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
750 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
751 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
752 (test-xfail-POSIX2008/signal.h/conform): Likewise.
753 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
754 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
755 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
756 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
757 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
758 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
759 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
760 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
761 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
762 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
763 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
764 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
765 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
766 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
767 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
768 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
769 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
770 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
771 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
772 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
773 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
774 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
775 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
776 (conformtest-cc-flags): Likewise.
777 ($(conformtest-header-tests): New target.
778 * conform/check-header-lists.sh: New file.
779 * conform/run-conformtest.sh: Remove.
781 * conform/conformtest.pl: Allow ' and \ in values given for
783 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
785 [POSIX] (sys/types.h): Likewise.
786 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
788 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
790 * conform/data/signal.h-data (SIGIO): Remove expectation.
791 [XPG3] (SIGBUS): Do not expect.
792 [POSIX || XPG3] (SIGPOLL): Likewise.
793 [POSIX || XPG3] (SIGPROF): Likewise.
794 [POSIX || XPG3] (SIGSYS): Likewise.
795 [XPG3] (SIGTRAP): Likewise.
796 [POSIX || XPG3] (SIGURG): Likewise.
797 [POSIX || XPG3] (SIGVTALRM): Likewise.
798 [POSIX || XPG3] (SIGXCPU): Likewise.
799 [POSIX || XPG3] (SIGXFSZ): Likewise.
800 [POSIX] (SA_SIGINFO): Expect.
801 [XPG3] (siginfo_t): Do not expect type or contents.
802 [POSIX] (si_pid): Do not expect element.
803 [POSIX] (si_uid): Likewise.
804 [POSIX] (si_addr): Likewise.
805 [POSIX] (si_status): Likewise.
806 [POSIX] (si_band): Likewise.
807 [XPG4] (si_value): Likewise.
808 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
809 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
810 [POSIX || XPG3] (ILL_ILLADR): Likewise.
811 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
812 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
813 [POSIX || XPG3] (ILL_PRVREG): Likewise.
814 [POSIX || XPG3] (ILL_COPROC): Likewise.
815 [POSIX || XPG3] (ILL_BADSTK): Likewise.
816 [POSIX || XPG3] (FPE_INTDIV): Likewise.
817 [POSIX || XPG3] (FPE_INTOVF): Likewise.
818 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
819 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
820 [POSIX || XPG3] (FPE_FLTUND): Likewise.
821 [POSIX || XPG3] (FPE_FLTRES): Likewise.
822 [POSIX || XPG3] (FPE_FLTINV): Likewise.
823 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
824 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
825 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
826 [POSIX || XPG3] (BUS_ADRALN): Likewise.
827 [POSIX || XPG3] (BUS_ADRERR): Likewise.
828 [POSIX || XPG3] (BUS_OBJERR): Likewise.
829 [POSIX || XPG3] (CLD_EXITED): Likewise.
830 [POSIX || XPG3] (CLD_KILLED): Likewise.
831 [POSIX || XPG3] (CLD_DUMPED): Likewise.
832 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
833 [POSIX || XPG3] (CLD_STOPPED): Likewise.
834 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
835 [POSIX || XPG3] (POLL_IN): Likewise.
836 [POSIX || XPG3] (POLL_OUT): Likewise.
837 [POSIX || XPG3] (POLL_MSG): Likewise.
838 [POSIX || XPG3] (POLL_ERR): Likewise.
839 [POSIX || XPG3] (POLL_PRI): Likewise.
840 [POSIX || XPG3] (POLL_HUP): Likewise.
841 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
842 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
843 (SIG*): Do not allow.
844 [XPG3] (si_*): Likewise.
845 [XPG3] (SI_*): Likewise.
846 [XPG3 || XPG4] (sigev_*): Likewise.
847 [XPG3 || XPG4] (SIGEV_*): Likewise.
848 [XPG3 || XPG4] (sival_*): Likewise.
849 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
850 [POSIX || XPG3] (BUS_*): Likewise.
851 [POSIX || XPG3] (CLD_*): Likewise.
852 [POSIX || XPG3] (FPE_*): Likewise.
853 [POSIX || XPG3] (ILL_*): Likewise.
854 [POSIX || XPG3] (POLL_*): Likewise.
855 [POSIX || XPG3] (SEGV_*): Likewise.
856 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
857 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
858 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
859 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
860 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
861 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
862 Specify type and value.
863 (TVERSLEN): Likewise.
865 (AREGTYPE): Likewise.
871 (FIFOTYPE): Likewise.
872 (CONTTYPE): Likewise.
885 [POSIX] (TSVTX): Expect constant.
887 2014-03-06 Joseph Myers <joseph@codesourcery.com>
889 * Makefile (tests): Change dependencies to ....
890 (tests-special): ... additions to this variable.
891 (tests): Depend on $(tests-special).
892 * Makerules (check-abi-list): New variable.
893 (check-abi): Depend on $(check-abi-list).
894 [$(subdir) = elf] (tests-special): Add
895 $(objpfx)check-abi-libc.out.
896 [$(build-shared) = yes && subdir] (tests-special): Add
898 [$(build-shared) = yes && subdir] (tests): Do not depend on
900 * Rules (tests): Depend on $(tests-special).
901 (xtests): Depend on $(xtests-special).
902 * catgets/Makefile (tests): Change dependencies to ....
903 (tests-special): ... additions to this variable.
904 * conform/Makefile (tests): Change dependencies to ....
905 (tests-special): ... additions to this variable.
906 * elf/Makefile (tests): Change dependencies to ....
907 (tests-special): ... additions to this variable.
908 * grp/Makefile (tests): Change dependencies to ....
909 (tests-special): ... additions to this variable.
910 * iconv/Makefile (xtests): Change dependencies to ....
911 (xtests-special): ... additions to this variable.
912 * iconvdata/Makefile (tests): Change dependencies to ....
913 (tests-special): ... additions to this variable.
914 * intl/Makefile (tests): Change dependencies to ....
915 (tests-special): ... additions to this variable. Also add
916 $(objpfx)tst-gettext.out.
917 * io/Makefile (tests): Change dependencies to ....
918 (tests-special): ... additions to this variable.
919 * libio/Makefile (tests): Change dependencies to ....
920 (tests-special): ... additions to this variable.
921 * malloc/Makefile (tests): Change dependencies to ....
922 (tests-special): ... additions to this variable.
923 * misc/Makefile (tests): Change dependencies to ....
924 (tests-special): ... additions to this variable.
925 * nptl/Makefile (tests): Change dependencies to ....
926 (tests-special): ... additions to this variable.
927 * nptl_db/Makefile (tests): Change dependencies to ....
928 (tests-special): ... additions to this variable.
929 * posix/Makefile (tests): Change dependencies to ....
930 (tests-special): ... additions to this variable.
931 (xtests): Change dependencies to ....
932 (xtests-special): ... additions to this variable.
933 * resolv/Makefile (tests): Change dependencies to ....
934 (tests-special): ... additions to this variable.
935 (xtests): Change dependencies to ....
936 (xtests-special): ... additions to this variable.
937 * stdio-common/Makefile (tests): Change dependencies to ....
938 (tests-special): ... additions to this variable.
939 (do-tst-unbputc): Remove target.
940 (do-tst-printf): Likewise.
941 * stdlib/Makefile (tests): Change dependencies to ....
942 (tests-special): ... additions to this variable.
943 * string/Makefile (tests): Change dependencies to ....
944 (tests-special): ... additions to this variable.
945 * sysdeps/x86/Makefile (tests): Change dependencies to ....
946 (tests-special): ... additions to this variable.
948 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
950 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
952 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
953 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
955 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
956 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
957 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
958 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
959 * conform/data/libgen.h-data [XPG3]: Likewise.
960 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
961 * conform/data/ndbm.h-data [XPG3]: Likewise.
962 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
963 * conform/data/netdb.h-data [XPG3]: Likewise.
964 * conform/data/netinet/in.h-data [XPG3]: Likewise.
965 * conform/data/poll.h-data [XPG3]: Likewise.
966 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
967 * conform/data/strings.h-data [XPG3]: Likewise.
968 * conform/data/stropts.h-data [XPG3]: Likewise.
969 * conform/data/sys/mman.h-data [XPG3]: Likewise.
970 * conform/data/sys/resource.h-data [XPG3]: Likewise.
971 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
973 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
974 * conform/data/sys/time.h-data [XPG3]: Likewise.
975 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
976 * conform/data/sys/uio.h-data [XPG3]: Likewise.
977 * conform/data/sys/un.h-data [XPG3]: Likewise.
978 * conform/data/syslog.h-data [XPG3]: Likewise.
979 * conform/data/ucontext.h-data [XPG3]: Likewise.
980 * conform/data/utmpx.h-data [XPG3]: Likewise.
981 * conform/data/varargs.h-data [UNIX98]: Enable file.
983 * manual/Makefile (INSTALL_INFO): Remove variable setting.
985 * math/libm-test.inc (struct test_f_f_data): Move expected results
986 into structure for each rounding mode.
987 (struct test_ff_f_data): Likewise.
988 (struct test_ff_f_data_nexttoward): Likewise.
989 (struct test_fi_f_data): Likewise.
990 (struct test_fl_f_data): Likewise.
991 (struct test_if_f_data): Likewise.
992 (struct test_fff_f_data): Likewise.
993 (struct test_c_f_data): Likewise.
994 (struct test_f_f1_data): Likewise.
995 (struct test_fF_f1_data): Likewise.
996 (struct test_ffI_f1_data): Likewise.
997 (struct test_c_c_data): Likewise.
998 (struct test_cc_c_data): Likewise.
999 (struct test_f_i_data): Likewise.
1000 (struct test_ff_i_data): Likewise.
1001 (struct test_f_l_data): Likewise.
1002 (struct test_f_L_data): Likewise.
1003 (struct test_fFF_11_data): Likewise.
1005 (RM_FE_DOWNWARD): Likewise.
1006 (RM_FE_TONEAREST): Likewise.
1007 (RM_FE_TOWARDZERO): Likewise.
1008 (RM_FE_UPWARD): Likewise.
1009 (RUN_TEST_LOOP_f_f): Update references to expected results.
1010 (RUN_TEST_LOOP_2_f): Likewise.
1011 (RUN_TEST_LOOP_fff_f): Likewise.
1012 (RUN_TEST_LOOP_c_f): Likewise.
1013 (RUN_TEST_LOOP_f_f1): Likewise.
1014 (RUN_TEST_LOOP_fF_f1): Likewise.
1015 (RUN_TEST_LOOP_fI_f1): Likewise.
1016 (RUN_TEST_LOOP_ffI_f1): Likewise.
1017 (RUN_TEST_LOOP_c_c): Likewise.
1018 (RUN_TEST_LOOP_cc_c): Likewise.
1019 (RUN_TEST_LOOP_f_i): Likewise.
1020 (RUN_TEST_LOOP_f_i_tg): Likewise.
1021 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1022 (RUN_TEST_LOOP_f_b): Likewise.
1023 (RUN_TEST_LOOP_f_b_tg): Likewise.
1024 (RUN_TEST_LOOP_f_l): Likewise.
1025 (RUN_TEST_LOOP_f_L): Likewise.
1026 (RUN_TEST_LOOP_fFF_11): Likewise.
1027 * math/gen-libm-test.pl (parse_args): Output four copies of
1028 expected results for each test.
1030 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1031 (__ASSUME_UTIMES): Remove.
1032 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1033 (__ASSUME_UTIMES): Likewise.
1035 * math/gen-auto-libm-tests.c: Update comment on output format.
1036 (output_for_one_input_case): Generate before-rounding and
1037 after-rounding information as conditions on output flags not
1038 floating-point format.
1039 * math/auto-libm-test-out: Regenerated.
1040 * math/gen-libm-test.pl (cond_value): New function.
1041 (or_cond_value): Use cond_value.
1042 (generate_testfile): Handle conditional exceptions.
1044 2014-03-05 Joseph Myers <joseph@codesourcery.com>
1046 * math/libm-test.inc (max_valid_error): New variable.
1047 (init_max_error): Take new argument specifying whether function
1048 results are exactly determined. Set max_valid_error and bound
1049 other variables for errors based on this argument.
1050 (set_max_error): Do not record results above max_valid_error.
1051 (check_float_internal): Only accept errors of up to 0.5ulps if
1052 also at most max_valid_error.
1053 (START): Take new argument EXACT and pass it to init_max_error.
1054 (acos_test): Update call to START.
1055 (acos_test_tonearest): Likewise.
1056 (acos_test_towardzero): Likewise.
1057 (acos_test_downward): Likewise.
1058 (acos_test_upward): Likewise.
1059 (acosh_test): Likewise.
1060 (asin_test): Likewise.
1061 (asin_test_tonearest): Likewise.
1062 (asin_test_towardzero): Likewise.
1063 (asin_test_downward): Likewise.
1064 (asin_test_upward): Likewise.
1065 (asinh_test): Likewise.
1066 (atan_test): Likewise.
1067 (atanh_test): Likewise.
1068 (atan2_test): Likewise.
1069 (cabs_test): Likewise.
1070 (cacos_test): Likewise.
1071 (cacosh_test): Likewise.
1072 (carg_test): Likewise.
1073 (casin_test): Likewise.
1074 (casinh_test): Likewise.
1075 (catan_test): Likewise.
1076 (catanh_test): Likewise.
1077 (cbrt_test): Likewise.
1078 (ccos_test): Likewise.
1079 (ccosh_test): Likewise.
1080 (ceil_test): Likewise.
1081 (cexp_test): Likewise.
1082 (cimag_test): Likewise.
1083 (clog_test): Likewise.
1084 (clog10_test): Likewise.
1085 (conj_test): Likewise.
1086 (copysign_test): Likewise.
1087 (cos_test): Likewise.
1088 (cos_test_tonearest): Likewise.
1089 (cos_test_towardzero): Likewise.
1090 (cos_test_downward): Likewise.
1091 (cos_test_upward): Likewise.
1092 (cosh_test): Likewise.
1093 (cosh_test_tonearest): Likewise.
1094 (cosh_test_towardzero): Likewise.
1095 (cosh_test_downward): Likewise.
1096 (cosh_test_upward): Likewise.
1097 (cpow_test): Likewise.
1098 (cproj_test): Likewise.
1099 (creal_test): Likewise.
1100 (csin_test): Likewise.
1101 (csinh_test): Likewise.
1102 (csqrt_test): Likewise.
1103 (ctan_test): Likewise.
1104 (ctan_test_tonearest): Likewise.
1105 (ctan_test_towardzero): Likewise.
1106 (ctan_test_downward): Likewise.
1107 (ctan_test_upward): Likewise.
1108 (ctanh_test): Likewise.
1109 (ctanh_test_tonearest): Likewise.
1110 (ctanh_test_towardzero): Likewise.
1111 (ctanh_test_downward): Likewise.
1112 (ctanh_test_upward): Likewise.
1113 (erf_test): Likewise.
1114 (erfc_test): Likewise.
1115 (exp_test): Likewise.
1116 (exp_test_tonearest): Likewise.
1117 (exp_test_towardzero): Likewise.
1118 (exp_test_downward): Likewise.
1119 (exp_test_upward): Likewise.
1120 (exp10_test): Likewise.
1121 (exp10_test_tonearest): Likewise.
1122 (exp10_test_towardzero): Likewise.
1123 (exp10_test_downward): Likewise.
1124 (exp10_test_upward): Likewise.
1125 (pow10_test): Likewise.
1126 (exp2_test): Likewise.
1127 (expm1_test): Likewise.
1128 (expm1_test_tonearest): Likewise.
1129 (expm1_test_towardzero): Likewise.
1130 (expm1_test_downward): Likewise.
1131 (expm1_test_upward): Likewise.
1132 (fabs_test): Likewise.
1133 (fdim_test): Likewise.
1134 (floor_test): Likewise.
1135 (fma_test): Likewise.
1136 (fma_test_towardzero): Likewise.
1137 (fma_test_downward): Likewise.
1138 (fma_test_upward): Likewise.
1139 (fmax_test): Likewise.
1140 (fmin_test): Likewise.
1141 (fmod_test): Likewise.
1142 (fpclassify_test): Likewise.
1143 (frexp_test): Likewise.
1144 (hypot_test): Likewise.
1145 (ilogb_test): Likewise.
1146 (isfinite_test): Likewise.
1147 (finite_test): Likewise.
1148 (isgreater_test): Likewise.
1149 (isgreaterequal_test): Likewise.
1150 (isinf_test): Likewise.
1151 (isless_test): Likewise.
1152 (islessequal_test): Likewise.
1153 (islessgreater_test): Likewise.
1154 (isnan_test): Likewise.
1155 (isnormal_test): Likewise.
1156 (issignaling_test): Likewise.
1157 (isunordered_test): Likewise.
1158 (j0_test): Likewise.
1159 (j1_test): Likewise.
1160 (jn_test): Likewise.
1161 (ldexp_test): Likewise.
1162 (lgamma_test): Likewise.
1163 (gamma_test): Likewise.
1164 (lrint_test): Likewise.
1165 (lrint_test_tonearest): Likewise.
1166 (lrint_test_towardzero): Likewise.
1167 (lrint_test_downward): Likewise.
1168 (lrint_test_upward): Likewise.
1169 (llrint_test): Likewise.
1170 (llrint_test_tonearest): Likewise.
1171 (llrint_test_towardzero): Likewise.
1172 (llrint_test_downward): Likewise.
1173 (llrint_test_upward): Likewise.
1174 (log_test): Likewise.
1175 (log10_test): Likewise.
1176 (log1p_test): Likewise.
1177 (log2_test): Likewise.
1178 (logb_test): Likewise.
1179 (logb_test_downward): Likewise.
1180 (lround_test): Likewise.
1181 (llround_test): Likewise.
1182 (modf_test): Likewise.
1183 (nearbyint_test): Likewise.
1184 (nextafter_test): Likewise.
1185 (nexttoward_test): Likewise.
1186 (pow_test): Likewise.
1187 (pow_test_tonearest): Likewise.
1188 (pow_test_towardzero): Likewise.
1189 (pow_test_downward): Likewise.
1190 (pow_test_upward): Likewise.
1191 (remainder_test): Likewise.
1192 (drem_test): Likewise.
1193 (remainder_test_tonearest): Likewise.
1194 (drem_test_tonearest): Likewise.
1195 (remainder_test_towardzero): Likewise.
1196 (drem_test_towardzero): Likewise.
1197 (remainder_test_downward): Likewise.
1198 (drem_test_downward): Likewise.
1199 (remainder_test_upward): Likewise.
1200 (drem_test_upward): Likewise.
1201 (remquo_test): Likewise.
1202 (rint_test): Likewise.
1203 (rint_test_tonearest): Likewise.
1204 (rint_test_towardzero): Likewise.
1205 (rint_test_downward): Likewise.
1206 (rint_test_upward): Likewise.
1207 (round_test): Likewise.
1208 (scalb_test): Likewise.
1209 (scalbn_test): Likewise.
1210 (scalbln_test): Likewise.
1211 (signbit_test): Likewise.
1212 (sin_test): Likewise.
1213 (sin_test_tonearest): Likewise.
1214 (sin_test_towardzero): Likewise.
1215 (sin_test_downward): Likewise.
1216 (sin_test_upward): Likewise.
1217 (sincos_test): Likewise.
1218 (sinh_test): Likewise.
1219 (sinh_test_tonearest): Likewise.
1220 (sinh_test_towardzero): Likewise.
1221 (sinh_test_downward): Likewise.
1222 (sinh_test_upward): Likewise.
1223 (sqrt_test): Likewise.
1224 (sqrt_test_tonearest): Likewise.
1225 (sqrt_test_towardzero): Likewise.
1226 (sqrt_test_downward): Likewise.
1227 (sqrt_test_upward): Likewise.
1228 (tan_test): Likewise.
1229 (tan_test_tonearest): Likewise.
1230 (tan_test_towardzero): Likewise.
1231 (tan_test_downward): Likewise.
1232 (tan_test_upward): Likewise.
1233 (tanh_test): Likewise.
1234 (tgamma_test): Likewise.
1235 (trunc_test): Likewise.
1236 (y0_test): Likewise.
1237 (y1_test): Likewise.
1238 (yn_test): Likewise.
1239 (significand_test): Likewise.
1241 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1242 individual tests in comment.
1243 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1244 (prev_max_error): New variable.
1245 (prev_real_max_error): Likewise.
1246 (prev_imag_max_error): Likewise.
1247 (compare_ulp_data): Don't refer to test names in comment.
1248 (find_test_ulps): Remove function.
1249 (find_function_ulps): Likewise.
1250 (find_complex_function_ulps): Likewise.
1251 (init_max_error): Take function name as argument. Look up ulps
1253 (print_ulps): Remove function.
1254 (print_max_error): Use prev_max_error instead of calling
1256 (print_complex_max_error): Use prev_real_max_error and
1257 prev_imag_max_error instead of calling find_complex_function_ulps.
1258 (check_float_internal): Take max_ulp parameter instead of calling
1259 find_test_ulps. Don't call print_ulps.
1260 (check_float): Update call to check_float_internal.
1261 (check_complex): Update calls to check_float_internal.
1262 (START): Pass argument to init_max_error.
1263 * math/gen-libm-test.pl (%results): Don't include "kind"
1265 (parse_ulps): Don't handle ulps of individual tests.
1266 (print_ulps_file): Likewise.
1267 (output_ulps): Likewise.
1268 * math/README.libm-test: Update.
1269 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1271 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1272 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1273 * sysdeps/arm/libm-test-ulps: Likewise.
1274 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1275 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1276 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1277 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1278 * sysdeps/microblaze/libm-test-ulps: Likewise.
1279 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1280 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1281 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1282 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1283 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1284 * sysdeps/sh/libm-test-ulps: Likewise.
1285 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1286 * sysdeps/tile/libm-test-ulps: Likewise.
1287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1289 2014-03-04 Joseph Myers <joseph@codesourcery.com>
1291 * math/libm-test.inc (print_complex_max_error): Check separately
1292 whether real and imaginary errors are within allowed range and
1293 pass 0 to print_complex_function_ulps instead of value within
1296 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1298 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1300 (get_handles_fopen): Likewise.
1301 (do_write_test): Likewise.
1303 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1305 * libio/fileops.c (do_ftell): Use cached offset when
1307 * libio/iofwide.c (do_ftell_wide): Likewise.
1308 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1310 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1313 * libio/libioP.h (get_file_offset): New function.
1314 * libio/fileops.c (get_file_offset): Likewise.
1315 (do_ftell): Likewise.
1316 (_IO_new_file_seekoff): Split out ftell logic.
1317 * libio/wfileops.c (do_ftell_wide): Likewise.
1318 (_IO_wfile_seekoff): Split out ftell logic.
1319 * libio/tst-ftell-active-handler.c: New test case.
1320 * libio/Makefile (tests): Add it.
1322 2014-03-03 Roland McGrath <roland@hack.frob.com>
1324 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1325 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1327 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1330 * nscd/connections.c (nscd_init): Call do_exit.
1331 (start_threads): Call do_exit and notify_parent.
1332 (begin_drop_privileges): Call do_exit.
1333 (finish_drop_privileges): Likewise.
1334 * nscd/selinux.c (preserve_capabilities): Likewise.
1335 (install_real_capabilities): Likewise.
1336 (nscd_selinux_enabled): Likewise.
1337 (avc_create_thread): Likewise.
1338 (avc_alloc_lock): Likewise.
1339 (nscd_avc_init): Likewise.
1340 * nscd/nscd.c (parent_fd): New static variable.
1341 (main): Create a pipe between parent and child processes.
1342 Skip closing parent_fd.
1343 (monitor_child): New function.
1344 (do_exit): Likewise.
1345 (notify_parent): Likewise.
1346 * nscd/nscd.h (notify_parent): Likewise.
1347 (do_exit): Likewise.
1349 2014-03-03 Carlos O'Donell <carlos@redhat.com>
1351 * malloc/malloc.c (__libc_calloc): Revert last change.
1353 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1357 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1359 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1363 (__libc_ifunc_impl_list): Likewise.
1364 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1365 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1366 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1367 * string/strrchr.c: Define STRRCHR.
1369 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
1371 * benchtest/bench-strtok.c (simple_strtok): Delete.
1372 (strtok_string): Use as benchmark.
1373 * string/strtok (STRTOK): New macro.
1375 2014-02-28 Carlos O'Donell <carlos@redhat.com>
1377 * manual/threads.texi: Add header and standard comments to all
1380 * elf/dl-lookup.c (check_match): New function.
1381 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1382 (do_lookup_x): Remove nested function check_match. Use non-nested
1383 function check_match.
1385 2014-02-28 Roland McGrath <roland@hack.frob.com>
1387 * csu/Makefile (generated, before-compile): Use += rather than =.
1388 * catgets/Makefile (generated, generated-dirs): Likewise.
1389 * debug/Makefile (generated): Likewise.
1390 * dlfcn/Makefile (generated): Likewise.
1391 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1392 * iconvdata/Makefile (before-compile, generated): Likewise.
1393 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1394 * libio/Makefile (generated): Likewise.
1395 * malloc/Makefile (generated): Likewise.
1396 * manual/Makefile (generated, generated-dirs): Likewise.
1397 * misc/Makefile (generated): Likewise.
1398 * posix/Makefile (generated): Likewise.
1399 * resolv/Makefile (generated): Likewise.
1400 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1401 * timezone/Makefile (generated, generated-dirs): Likewise.
1403 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1405 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1410 POWER8 llround ifunc implementation.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1412 POWER8 implementation.
1413 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1414 POWER8 llround implementation.
1416 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1421 POWER8 llrint ifunc implementation.
1422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1423 POWER8 implementation.
1424 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1425 POWER8 llrint implementation.
1427 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1432 POWER8 finite ifunc implementation.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1434 POWER8 implementation.
1435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1437 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1438 POWER8 finite implementation.
1439 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1441 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1446 POWER8 isinf ifunc implementation.
1447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1448 POWER8 implementation.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1451 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1452 POWER8 isinf implementation.
1453 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1455 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1457 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1458 Add hwcap2 initialization.
1459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1462 POWER8 isnan ifunc implementation.
1463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1464 POWER8 implementation.
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1467 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1468 POWER8 isnan implementation.
1469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1471 2014-02-27 Joey Ye <joey.ye@arm.com>
1473 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1474 (_FP_NANFRAC_Q): Set to zero.
1476 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1479 * math/auto-libm-test-in: New test inputs.
1480 * math/auto-libm-test-out: Regenerate.
1481 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1484 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1486 2014-02-27 Joseph Myers <joseph@codesourcery.com>
1488 * scripts/evaluate-test.sh: Take new argument indicating whether
1489 failure is expected.
1490 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1491 indicating whether failure is expected.
1492 * conform/Makefile (test-xfail-run-conformtest): New variable.
1493 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1495 * posix/Makefile (test-xfail-annexc): New variable.
1496 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1498 2014-02-26 Joseph Myers <joseph@codesourcery.com>
1500 * argp/Makefile: Include Makeconfig immediately after defining
1502 * assert/Makefile: Likewise.
1503 * benchtests/Makefile: Likewise.
1504 * catgets/Makefile: Likewise.
1505 * conform/Makefile: Likewise.
1506 * crypt/Makefile: Likewise.
1507 * csu/Makefile: Likewise.
1508 (all): Remove target.
1509 * ctype/Makefile: Include Makeconfig immediately after defining
1511 * debug/Makefile: Likewise.
1512 * dirent/Makefile: Likewise.
1513 * dlfcn/Makefile: Likewise.
1514 * gmon/Makefile: Likewise.
1515 * gnulib/Makefile: Likewise.
1516 * grp/Makefile: Likewise.
1517 * gshadow/Makefile: Likewise.
1518 * hesiod/Makefile: Likewise.
1519 * hurd/Makefile: Likewise.
1520 (all): Remove target.
1521 * iconvdata/Makefile: Include Makeconfig immediately after
1523 * inet/Makefile: Likewise.
1524 * intl/Makefile: Likewise.
1525 * io/Makefile: Likewise.
1526 * libio/Makefile: Likewise.
1527 (all): Remove target.
1528 * locale/Makefile: Include Makeconfig immediately after defining
1530 * login/Makefile: Likewise.
1531 * mach/Makefile: Likewise.
1532 (all): Remove target.
1533 * malloc/Makefile: Include Makeconfig immediately after defining
1535 (all): Remove target.
1536 * manual/Makefile: Include Makeconfig immediately after defining
1538 * math/Makefile: Likewise.
1539 * misc/Makefile: Likewise.
1540 * nis/Makefile: Likewise.
1541 * nss/Makefile: Likewise.
1542 * po/Makefile: Likewise.
1543 (all): Remove target.
1544 * posix/Makefile: Include Makeconfig immediately after defining
1546 * pwd/Makefile: Likewise.
1547 * resolv/Makefile: Likewise.
1548 * resource/Makefile: Likewise.
1549 * rt/Makefile: Likewise.
1550 * setjmp/Makefile: Likewise.
1551 * shadow/Makefile: Likewise.
1552 * signal/Makefile: Likewise.
1553 * socket/Makefile: Likewise.
1554 * soft-fp/Makefile: Likewise.
1555 * stdio-common/Makefile: Likewise.
1556 * stdlib/Makefile: Likewise.
1557 * streams/Makefile: Likewise.
1558 * string/Makefile: Likewise.
1559 * sunrpc/Makefile: Likewise.
1560 (all): Remove target.
1561 * sysvipc/Makefile: Include Makeconfig immediately after defining
1563 * termios/Makefile: Likewise.
1564 * time/Makefile: Likewise.
1565 * timezone/Makefile: Likewise.
1566 (all): Remove target.
1567 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1569 * wctype/Makefile: Likewise.
1571 2014-02-26 Steve Ellcey <sellcey@mips.com>
1573 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1574 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1575 (libc_feholdexcept_setround_mips): Ditto.
1576 (libc_feholdsetround): New.
1577 (libc_feholdsetroundf): New.
1578 (libc_feholdsetroundl): New.
1579 (libc_feupdateenv_test_mips): New.
1580 (libc_feupdateenv_test): New.
1581 (libc_feupdateenv_testf): New.
1582 (libc_feupdateenv_testl): New.
1583 (libc_feresetround): New.
1584 (libc_feresetroundf): New.
1585 (libc_feresetroundl): New.
1586 (libc_fetestexcept_mips): New.
1587 (libc_fetestexcept): New.
1588 (libc_fetestexceptf): New.
1589 (libc_fetestexceptl): New.
1591 (libc_feholdexcept_setround_mips_ctx): New.
1592 (libc_feholdexcept_setround_ctx): New.
1593 (libc_feholdexcept_setroundf_ctx): New.
1594 (libc_feholdexcept_setroundl_ctx): New.
1595 (libc_fesetenv_mips_ctx): New.
1596 (libc_fesetenv_ctx): New.
1597 (libc_fesetenv_ctxf): New.
1598 (libc_fesetenv_ctxl): New.
1599 (libc_feupdateenv_mips_ctx): New.
1600 (libc_feupdateenv_ctx): New.
1601 (libc_feupdateenvf_ctx): New.
1602 (libc_feupdateenvl_ctx): New.
1603 (libc_feholdsetround_mips_ctx): New.
1604 (libc_feholdsetround_ctx): New.
1605 (libc_feholdsetroundf_ctx): New.
1606 (libc_feholdsetroundl_ctx): New.
1607 (libc_feresetround_mips_ctx): New.
1608 (libc_feresetround_ctx): New.
1609 (libc_feresetroundf_ctx): New.
1610 (libc_feresetroundl_ctx): New.
1612 2014-02-26 Carlos O'Donell <carlos@redhat.com>
1614 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1616 * manual/ipc.texi: New file.
1617 * manual/Makefile (chapters): Add ipc.
1618 * manual/job.texi: Add "Inter-Process Communication" to next.
1619 * manual/process.texi: Add "Inter-Process Communication" to prev.
1621 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1625 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
1627 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1629 * manual/arith.texi: Fix spaces after sentences.
1630 * manual/charset.texi: Likewise.
1631 * manual/errno.texi: Likewise.
1632 * manual/install.texi: Likewise.
1633 * manual/llio.texi: Likewise.
1634 * manual/locale.texi: Likewise.
1635 * manual/maint.texi: Likewise.
1636 * manual/math.texi: Likewise.
1637 * manual/memory.texi: Likewise.
1638 * manual/message.texi: Likewise.
1639 * manual/probes.texi: Likewise.
1640 * manual/resource.texi: Likewise.
1641 * manual/signal.texi: Likewise.
1642 * manual/socket.texi: Likewise.
1643 * manual/stdio.texi: Likewise.
1644 * manual/string.texi: Likewise.
1645 * manual/time.texi: Likewise.
1646 * manual/users.texi: Likewise.
1648 2014-02-25 Carlos O'Donell <carlos@redhat.com>
1651 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1652 _DEFAULT_SOURCE is defined.
1654 2014-02-25 Ulrich Drepper <drepper@gmail.com>
1655 Carlos O'Donell <carlos@redhat.com>
1658 * elf/dl-tls.c (_dl_count_modids): New function.
1659 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1660 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1661 audit library and increment generation counter.
1662 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1663 * elf/tst-audit9.c: New file.
1664 * elf/tst-auditmod9a.c: New file.
1665 * elf/tst-auditmod9b.c: New file.
1666 * elf/Makefile: Add rules to build and run tst-audit9.
1668 2014-02-25 Florian Weimer <fweimer@redhat.com>
1671 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1673 2014-02-25 Will Newton <will.newton@linaro.org>
1675 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1676 (__longjmp): Restore sp and lr before restoring callee
1677 saved registers. Add longjmp and longjmp_target
1678 SystemTap probe point.
1679 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1680 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1681 Define to zero to match jmpbuf layout.
1682 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1683 (__sigsetjmp): Save sp and lr before saving callee
1684 saved registers. Add setjmp SystemTap probe point.
1686 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1688 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1690 2014-02-24 Andreas Schwab <schwab@suse.de>
1693 * elf/pldd.c (wait_for_ptrace_stop): New function.
1694 (main): Call it after attaching.
1696 2014-02-22 Roland McGrath <roland@hack.frob.com>
1698 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1699 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1700 Versions files is now verboten.
1701 * hurd/Versions (libc: GLIBC_2.0):
1702 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1703 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1704 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1705 * mach/Versions: Likewise.
1707 * csu/Versions: Remove unused %include.
1708 * resolv/Versions: Likewise.
1710 2014-02-21 Joseph Myers <joseph@codesourcery.com>
1712 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1713 ($(objpfx)check-local-headers.out): Likewise.
1714 ($(objpfx)begin-end-check.out): Likewise.
1715 * Makerules (check-abi-%.out): Likewise.
1716 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1717 ($(objpfx)test2.cat): Likewise.
1718 ($(objpfx)de/libc.cat): Likewise.
1719 ($(objpfx)test-gencat.out): Likewise.
1720 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1721 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1722 ($(objpfx)noload-mem): Likewise.
1723 ($(objpfx)tst-pathopt.out): Likewise.
1724 ($(objpfx)tst-rtld-load-self.out): Likewise.
1725 ($(objpfx)tst-array1-cmp.out): Likewise.
1726 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1727 ($(objpfx)tst-array2-cmp.out): Likewise.
1728 ($(objpfx)tst-array3-cmp.out): Likewise.
1729 ($(objpfx)tst-array4-cmp.out): Likewise.
1730 ($(objpfx)tst-array5-cmp.out): Likewise.
1731 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1732 ($(objpfx)check-textrel.out): Likewise.
1733 ($(objpfx)check-execstack.out): Likewise.
1734 ($(objpfx)check-localplt.out): Likewise.
1735 ($(objpfx)order2-cmp.out): Likewise.
1736 ($(objpfx)tst-leaks1-mem): Likewise.
1737 ($(objpfx)tst-leaks1-static-mem): Likewise.
1738 ($(objpfx)tst-initorder-cmp.out): Likewise.
1739 ($(objpfx)tst-initorder2-cmp.out): Likewise.
1740 ($(objpfx)tst-unused-dep.out): Likewise.
1741 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1742 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1743 * iconv/Makefile (test-iconvconfig): Likewise.
1744 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1745 ($(objpfx)iconv-test.out): Likewise.
1746 ($(objpfx)tst-tables.out): Likewise.
1747 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1748 ($(objpfx)tst-gettext.out): Likewise.
1749 ($(objpfx)tst-translit.out): Likewise.
1750 ($(objpfx)tst-gettext2.out): Likewise.
1751 ($(objpfx)tst-gettext4.out): Likewise.
1752 ($(objpfx)tst-gettext6.out): Likewise.
1753 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1754 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1755 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1756 ($(objpfx)tst-fopenloc-mem.out): Likewise.
1757 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1758 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1759 * posix/Makefile ($(objpfx)globtest.out): Likewise.
1760 ($(objpfx)wordexp-tst.out): Likewise.
1761 ($(objpfx)annexc.out): Likewise.
1762 ($(objpfx)tst-fnmatch-mem): Likewise.
1763 ($(objpfx)bug-regex2-mem): Likewise.
1764 ($(objpfx)bug-regex14-mem): Likewise.
1765 ($(objpfx)bug-regex21-mem): Likewise.
1766 ($(objpfx)bug-regex31-mem): Likewise.
1767 ($(objpfx)tst-vfork3-mem): Likewise.
1768 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1769 ($(objpfx)tst-pcre-mem): Likewise.
1770 ($(objpfx)tst-boost-mem): Likewise.
1771 ($(objpfx)tst-getconf.out): Likewise.
1772 ($(objpfx)bug-ga2-mem): Likewise.
1773 ($(objpfx)bug-glob2-mem): Likewise.
1774 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1775 ($(objpfx)mtrace-tst-leaks2): Likewise.
1776 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1777 ($(objpfx)tst-printf.out): Likewise.
1778 ($(objpfx)tst-setvbuf1.out): Likewise.
1779 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1780 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1781 ($(objpfx)tst-fmtmsg.out): Likewise.
1782 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1783 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1785 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1786 * bits/sigaction.h [__USE_MISC]: Likewise.
1787 * bits/waitstatus.h: Update #endif comments.
1788 * ctype/ctype.h: Likewise.
1789 * dirent/dirent.h: Likewise.
1790 [__USE_MISC]: Remove redundant conditionals.
1791 * grp/grp.h: Update #endif comments.
1792 [__USE_GNU]: Remove redundant conditionals.
1793 [__USE_MISC]: Likewise.
1794 * inet/netinet/in.h [__USE_GNU]: Likewise.
1795 * io/sys/stat.h [__USE_MISC]: Likewise.
1796 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1797 * libio/bits/stdio.h: Update #endif comments.
1798 [__USE_MISC]: Remove redundant conditionals.
1799 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1800 * libio/stdio.h: Update #endif comments.
1801 [__USE_MISC]: Remove redundant conditionals.
1802 * math/bits/math-finite.h [__USE_MISC]: Likewise.
1803 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1804 * math/math.h: Update #else and #endif comments.
1805 [__USE_MISC]: Remove redundant conditionals.
1806 * misc/sys/uio.h: Update #endif comments.
1807 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1808 * posix/glob.h [__USE_MISC]: Likewise.
1809 * posix/sys/types.h: Update #endif comments.
1810 [__USE_MISC]: Remove redundant conditionals.
1811 * posix/sys/wait.h: Update #endif comments.
1812 [__USE_MISC]: Remove redundant conditionals.
1813 * posix/unistd.h: Update #endif comments.
1814 [__USE_MISC]: Remove redundant conditionals.
1815 * pwd/pwd.h [__USE_GNU]: Likewise.
1816 [__USE_MISC]: Likewise.
1817 * resolv/netdb.h [__USE_GNU]: Likewise.
1818 * signal/signal.h: Update #endif comments.
1819 [__USE_MISC]: Remove redundant conditionals.
1820 * stdlib/stdlib.h: Update #else and #endif comments.
1821 [__USE_MISC]: Remove redundant conditionals.
1822 [__USE_GNU]: Likewise.
1823 * string/bits/string2.h [__USE_MISC]: Likewise.
1824 * string/string.h: Update #endif comments.
1825 [__USE_MISC]: Remove redundant conditionals.
1826 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1828 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1829 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1830 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1832 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1836 [__USE_MISC]: Remove redundant conditionals.
1837 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1838 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1839 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1840 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1841 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1843 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1844 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1846 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1847 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1849 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1851 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1852 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1854 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1856 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1857 * sysdeps/x86/bits/string.h: Update #endif comments.
1858 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1860 * time/sys/time.h: Update #endif comments.
1861 * time/time.h: Likewise.
1862 [__USE_MISC]: Remove redundant conditionals.
1864 2014-02-21 Yury Gribov <y.gribov@samsung.com>
1867 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1869 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
1871 * Versions.def (librt): Add GLIBC_2.17.
1873 2014-02-21 Adam Conrad <adconrad@0c3.net>
1875 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1876 synonym for _SYS_AUXV_H to allow direct inclusion.
1877 * sysdeps/sparc/bits/hwcap.h: Likewise.
1878 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1879 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1880 * sysdeps/sparc/sysdep.h: Likewise.
1882 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1884 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1886 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1888 * benchtests/bench-strrchr.c: Print length instead of position.
1890 2014-02-20 Joseph Myers <joseph@codesourcery.com>
1893 * sysdeps/unix/sysv/linux/kernel-features.h
1894 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1895 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1896 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1897 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1899 [__i386__ || __powerpc__ || __sh__ || __sparc__]
1900 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1901 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1902 (__ASSUME_SENDMMSG): Define instead of using previous
1903 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1904 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1905 (__ASSUME_SENDMMSG_SYSCALL): Define.
1906 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1907 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1909 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1910 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1912 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1913 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1915 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1916 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1917 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1918 [__ASSUME_SENDMMSG]: Change conditionals to
1919 [__ASSUME_SENDMMSG_SOCKETCALL].
1920 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1921 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1923 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1924 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1926 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1927 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1928 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1929 [!__ASSUME_SENDMMSG]: Change conditional to
1930 [!__ASSUME_SENDMMSG_SOCKETCALL].
1931 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1932 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1936 * sysdeps/unix/sysv/linux/kernel-features.h
1937 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
1938 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
1939 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
1940 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
1941 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1942 [__i386__ || __sparc__]
1943 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1944 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
1945 (__ASSUME_RECVMMSG): Define instead of using previous
1946 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
1947 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1948 (__ASSUME_RECVMMSG_SYSCALL): Define.
1949 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1952 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1953 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1955 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1956 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1958 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
1959 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1960 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1961 [__ASSUME_RECVMMSG]: Change condition to
1962 [__ASSUME_RECVMMSG_SOCKETCALL].
1963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1964 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1966 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1967 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1968 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1970 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
1971 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1972 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1973 [!__ASSUME_RECVMMSG]: Change condition to
1974 [!__ASSUME_RECVMMSG_SOCKETCALL].
1975 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1976 (__ASSUME_RECVMMSG_SYSCALL): Define.
1979 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
1980 __powerpc__ || __s390__ || __sh__ || __sparc__]
1981 (__ASSUME_SOCKETCALL): Define.
1982 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
1983 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
1984 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
1985 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
1986 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1987 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1988 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
1989 (__ASSUME_ACCEPT4): Define instead of using previous
1990 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
1991 __powerpc__ || __sparc__ || __s390__)] condition.
1992 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1993 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1994 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
1995 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1996 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1997 [!__ASSUME_ACCEPT4]: Change condition to
1998 [!__ASSUME_ACCEPT4_SOCKETCALL].
1999 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2000 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2001 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2002 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2003 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2004 __ASSUME_ACCEPT4_SYSCALL.
2005 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2006 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2007 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2008 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2009 __ASSUME_ACCEPT4_SYSCALL.
2010 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2011 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2012 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2013 [__ASSUME_ACCEPT4]: Change condition to
2014 [__ASSUME_ACCEPT4_SOCKETCALL].
2015 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2016 (__ASSUME_SOCKETCALL): Define.
2017 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2019 (__ASSUME_SOCKETCALL): Define.
2020 (__ASSUME_ACCEPT4): Remove.
2021 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2023 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2024 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2026 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2027 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2029 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2031 (HWCAP_ARM_LPAE): Likewise.
2032 (HWCAP_ARM_EVTSTRM): Likewise.
2033 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2034 Add vpfd32, lpae and evtstrm.
2035 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2038 2014-02-19 Joseph Myers <joseph@codesourcery.com>
2040 * math/auto-libm-test-in: Add tests of clog10.
2041 * math/auto-libm-test-out: Regenerated.
2042 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2043 * sysdeps/i386/fpu/libm-test-ulps: Update.
2044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2046 2014-02-18 Andreas Schwab <schwab@suse.de>
2049 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2050 Store non-zero if the second buffer was newly allocated.
2051 (send_dg): Likewise.
2052 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2053 to send_vc and send_dg.
2054 (res_nsend): Pass NULL for ansp2_malloced.
2055 * resolv/res_query.c (__libc_res_nquery): Add parameter
2056 answerp2_malloced and pass it down to __libc_res_nsend.
2057 (res_nquery): Pass additional NULL to __libc_res_nquery.
2058 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2059 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2060 second answer buffer if answerp2_malloced was set.
2061 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2062 (__libc_res_nquerydomain): Add parameter
2063 answerp2_malloced and pass it down to __libc_res_nquery.
2064 (res_nquerydomain): Pass additional NULL to
2065 __libc_res_nquerydomain.
2066 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2067 additional NULL to __libc_res_nsend and __libc_res_nquery.
2068 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2069 additional NULL to __libc_res_nsearch.
2070 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2071 parameter of __libc_res_nsearch to check for separately allocated
2073 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2075 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2076 additional NULL to __libc_res_nquery.
2077 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2079 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2080 * include/resolv.h: Update prototypes of __libc_res_nquery,
2081 __libc_res_nsearch, __libc_res_nsend.
2083 2014-02-18 Joseph Myers <joseph@codesourcery.com>
2085 * math/auto-libm-test-in: Add tests of fma.
2086 * math/auto-libm-test-out: Regenerated.
2087 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2088 (fma_towardzero_test_data): Likewise.
2089 (fma_downward_test_data): Likewise.
2090 (fma_upward_test_data): Likewise.
2091 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2093 (rounding_modes): Add values for new field.
2094 (func_calc_method): Add value mpfr_fff_f.
2095 (func_calc_desc): Add mpfr_fff_f union field.
2096 (test_function): Add field exact_args.
2097 (FUNC): Add macro argument EXACT_ARGS.
2098 (FUNC_mpfr_f_f): Update call to FUNC.
2099 (FUNC_mpfr_f_f): Likewise.
2100 (FUNC_mpfr_ff_f): Likewise.
2101 (FUNC_mpfr_if_f): Likewise.
2102 (FUNC_mpc_c_f): Likewise.
2103 (FUNC_mpc_c_c): Likewise.
2104 (test_functions): Add fma. Update calls to FUNC.
2105 (handle_input_arg): Add argument exact_args.
2106 (add_test): Update call to handle_input_arg.
2107 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2108 (output_for_one_input_case): Update call to calc_generic_results.
2109 Recalculate exact zero results in each rounding mode.
2111 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2112 non-negative before setting low bit.
2113 * math/auto-libm-test-in: Mark one asin test possibly having
2115 * math/auto-libm-test-out: Regenerated.
2116 * sysdeps/i386/fpu/libm-test-ulps: Update.
2117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2119 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2121 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2122 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2123 ports/sysdeps/unix/sysv/linux/microblaze.
2124 * README: Add missing listing for microblaze*-*-linux-gnu.
2126 2014-02-16 Mike Frysinger <vapier@gentoo.org>
2128 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2129 * sysdeps/unix/sysv/linux/ia64: Move directory from
2130 ports/sysdeps/unix/sysv/linux/ia64.
2131 * README: Update listing for ia64-*-linux-gnu.
2133 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2134 Joseph Myers <joseph@codesourcery.com>
2136 * Makeconfig (test-name): New variable.
2137 (evaluate-test): Likewise.
2138 * Makerules (do-test-clean): Remove .test-result files.
2139 (common-mostlyclean): Likewise.
2140 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2141 * scripts/evaluate-test.sh: New file.
2143 2014-02-14 Joseph Myers <joseph@codesourcery.com>
2145 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2146 separate $(objpfx)tst-fopenloc-cmp.out and
2147 $(objpfx)tst-fopenloc-mem.out targets.
2148 (tests): Update dependencies.
2149 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2150 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2151 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2152 (tst-rxspencer-no-utf8-ARGS): New variable.
2153 (tst-rxspencer-no-utf8-ENV): Likewise.
2154 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2155 instead of $(objpfx)tst-rxspencer-mem.
2156 ($(objpfx)tst-rxspencer-mem): Change target to
2157 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2158 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2159 * posix/tst-rxspencer-no-utf8.c: New file.
2161 * elf/Makefile ($(objpfx)order.out): Remove rule.
2162 [$(run-built-tests) = yes] (tests): Depend on
2163 $(objpfx)order-cmp.out.
2164 ($(objpfx)order-cmp.out): New rule.
2165 [$(run-built-tests) = yes] (tests): Depend on
2166 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2167 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2168 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2169 $(objpfx)tst-array5-static-cmp.out.
2170 ($(objpfx)tst-array1.out): Remove rule.
2171 ($(objpfx)tst-array1-cmp.out): New rule.
2172 ($(objpfx)tst-array1-static.out): Remove rule.
2173 ($(objpfx)tst-array1-static-cmp.out): New rule.
2174 ($(objpfx)tst-array2.out): Remove rule.
2175 ($(objpfx)tst-array2-cmp.out): New rule.
2176 ($(objpfx)tst-array3.out): Remove rule.
2177 ($(objpfx)tst-array3-cmp.out): New rule.
2178 ($(objpfx)tst-array4.out): Remove rule.
2179 ($(objpfx)tst-array4-cmp.out): New rule.
2180 ($(objpfx)tst-array5.out): Remove rule.
2181 ($(objpfx)tst-array5-cmp.out): New rule.
2182 ($(objpfx)tst-array5-static.out): Remove rule.
2183 ($(objpfx)tst-array5-static-cmp.out): New rule.
2184 [$(run-built-tests) = yes] (tests): Depend on
2185 $(objpfx)order2-cmp.out.
2186 ($(objpfx)order2.out): Remove rule.
2187 ($(objpfx)order2-cmp.out): New rule.
2188 ($(objpfx)tst-initorder.out): Remove rule.
2189 [$(run-built-tests) = yes] (tests): Depend on
2190 $(objpfx)tst-initorder-cmp.out.
2191 ($(objpfx)tst-initorder-cmp.out): New rule.
2192 ($(objpfx)tst-initorder2.out): Remove rule.
2193 [$(run-built-tests) = yes] (tests): Depend on
2194 $(objpfx)tst-initorder2-cmp.out.
2195 ($(objpfx)tst-initorder2-cmp.out): New rule.
2196 [$(run-built-tests) = yes] (tests): Depend on
2197 $(objpfx)tst-unused-dep-cmp.out.
2198 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2199 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2200 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2201 on $(objpfx)tst-setvbuf1-cmp.out.
2202 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2203 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2204 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2205 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2206 ($(objpfx)tst-svc.out): Remove rule.
2207 ($(objpfx)tst-svc-cmp.out): New rule.
2209 2014-02-13 Joseph Myers <joseph@codesourcery.com>
2211 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2212 * ctype/ctype.h [__USE_MISC]: Likewise.
2213 * dirent/dirent.h [__USE_MISC]: Likewise.
2214 * grp/grp.h [__USE_MISC]: Likewise.
2215 * io/fcntl.h [__USE_MISC]: Likewise.
2216 * io/sys/stat.h [__USE_MISC]: Likewise.
2217 * libio/stdio.h [__USE_MISC]: Likewise.
2218 * posix/unistd.h [__USE_MISC]: Likewise.
2219 * pwd/pwd.h [__USE_MISC]: Likewise.
2220 * stdlib.h [__USE_MISC]: Likewise.
2221 * string/bits/string2.h [__USE_MISC]: Likewise.
2222 * string/string.h [__USE_MISC]: Likewise.
2223 * time/time.h [__USE_MISC]: Likewise.
2225 2014-02-13 Andreas Schwab <schwab@suse.de>
2228 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2229 second answer buffer if it was separately allocated.
2231 2014-02-12 Joseph Myers <joseph@codesourcery.com>
2233 * sysdeps/mips/math-tests.h: Include <features.h>.
2234 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2235 (ROUNDING_TESTS_long_double): Do not define.
2236 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2237 (EXCEPTION_TESTS_long_double): Likewise.
2238 * sysdeps/mips/mips64/libm-test-ulps: Update.
2240 * include/features.h (__USE_BSD): Remove macro definitions.
2241 (__USE_SVID): Likewise.
2242 (_BSD_SOURCE): Likewise.
2243 (_SVID_SOURCE): Likewise.
2244 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2245 from definition of _DEFAULT_SOURCE.
2246 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2248 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2249 * bits/mman.h [__USE_BSD]: Likewise.
2250 * bits/termios.h [__USE_BSD]: Likewise.
2251 * bits/waitstatus.h [__USE_BSD]: Likewise.
2252 * ctype/ctype.h [__USE_SVID]: Likewise.
2253 * dirent/dirent.h [__USE_BSD]: Likewise.
2254 * grp/grp.h [__USE_SVID]: Likewise.
2255 [__USE_BSD]: Likewise.
2256 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2257 * io/fcntl.h [__USE_BSD]: Likewise.
2258 * io/ftw.h [__USE_BSD]: Likewise.
2259 * io/sys/stat.h [__USE_BSD]: Likewise.
2260 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2261 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2262 * libio/stdio.h [__USE_SVID]: Likewise.
2263 [__USE_BSD]: Likewise.
2264 * math/math.h [__USE_SVID]: Likewise.
2265 [__USE_BSD]: Likewise.
2266 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2267 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2268 * misc/search.h [__USE_SVID]: Likewise.
2269 * misc/sys/mman.h [__USE_BSD]: Likewise.
2270 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2271 * misc/sys/uio.h [__USE_BSD]: Likewise.
2272 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2273 * posix/glob.h [__USE_BSD]: Likewise.
2274 * posix/regex.h [__USE_BSD]: Likewise.
2275 * posix/sys/types.h [__USE_BSD]: Likewise.
2276 [__USE_SVID]: Likewise.
2277 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2278 * posix/sys/wait.h [__USE_BSD]: Likewise.
2279 [__USE_SVID]: Likewise.
2280 * posix/unistd.h [__USE_BSD]: Likewise.
2281 [__USE_SVID]: Likewise.
2282 * pwd/pwd.h [__USE_SVID]: Likewise.
2283 * resolv/netdb.h [__USE_BSD]: Likewise.
2284 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2285 * signal/signal.h [__USE_BSD]: Likewise.
2286 [__USE_SVID]: Likewise.
2287 * socket/sys/socket.h [__USE_BSD]: Likewise.
2288 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2289 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2290 [__USE_SVID]: Likewise.
2291 * string/bits/string2.h [__USE_BSD]: Likewise.
2292 [__USE_SVID]: Likewise.
2293 * string/bits/string3.h [__USE_BSD]: Likewise.
2294 * string/endian.h [__USE_BSD]: Likewise.
2295 * string/string.h [__USE_SVID]: Likewise.
2296 [__USE_BSD]: Likewise.
2297 * string/strings.h [__USE_BSD]: Likewise.
2298 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2299 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2300 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2301 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2302 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2303 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2307 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2308 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2310 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2311 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2313 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2315 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2316 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2317 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2319 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2321 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2322 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2323 * termios/termios.h [__USE_BSD]: Likewise.
2324 * time/sys/time.h [__USE_BSD]: Likewise.
2325 * time/time.h [__USE_BSD]: Likewise.
2326 [__USE_SVID]: Likewise.
2328 * Makefile (subdir_targets): Remove subdir_lint.out.
2330 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2331 (do-tst-printf): Likewise.
2332 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2333 $(objpfx)tst-printf.out.
2335 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2337 * Makerules (check-abi-%): Change target to
2338 $(objpfx)check-abi-%.out.
2339 (check-abi target): Update dependencies.
2340 (check-abi-pattern variable): Redirect output of diff to $@.
2341 (check-abi variable): Likewise.
2342 * elf/Makefile (check-abi): Update dependencies.
2344 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2346 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2347 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2349 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2350 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2351 value has largest subnormal exponent.
2352 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2353 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2354 * sysdeps/aarch64/soft-fp/sfp-machine.h
2355 (_FP_TININESS_AFTER_ROUNDING): New macro.
2356 * sysdeps/alpha/soft-fp/sfp-machine.h
2357 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2358 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2360 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2361 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2362 * sysdeps/mips/soft-fp/sfp-machine.h
2363 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2364 * sysdeps/powerpc/soft-fp/sfp-machine.h
2365 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2366 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2368 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2369 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2370 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2371 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2372 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2375 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
2378 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2381 2014-02-12 Richard Henderson <rth@redhat.com>
2383 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2384 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2385 * sysdeps/unix/sysv/linux/alpha: Move directory from
2386 ports/sysdeps/unix/sysv/linux/alpha.
2387 * README: Update listing for alpha-*-linux-gnu.
2389 2014-02-11 Joseph Myers <joseph@codesourcery.com>
2391 * include/features.h: Update comment documenting feature test
2393 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2395 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2396 (_SVID_SOURCE): Likewise.
2397 (_DEFAULT_SOURCE): Update description of default features.
2398 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2400 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2401 (S_ISVTX): Likewise.
2402 * manual/math.texi (Mathematical Constants): Likewise.
2403 * manual/signal.texi (Interrupted Primitives): Likewise.
2404 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2405 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2406 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2407 Don't refer to _SVID_SOURCE in warning text.
2409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2411 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2413 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2414 * sysdeps/mips/dl-lookup.c: Remove.
2415 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2417 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2420 * math/auto-libm-test-in: Add testcase for expl.
2421 * math/auto-libm-test-out: Regenerate.
2422 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2423 calculation of unsafe.
2424 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2426 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2428 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2429 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2430 ports/sysdeps/unix/sysv/linux/aarch64.
2431 * README: Update listing for aarch64*-*-linux-gnu.
2433 2014-02-11 Will Newton <will.newton@linaro.org>
2435 * manual/probes.texi (Mathematical Function Probes): Use
2436 "triggered" instead of "hit".
2438 2014-02-11 Will Newton <will.newton@linaro.org>
2440 * manual/probes.texi (Internal Probes): Add documentation
2441 of setjmp, longjmp and longjmp_target probes.
2443 2014-02-11 Will Newton <will.newton@linaro.org>
2445 * include/stap-probe.h: Add comment about probe argument
2448 2014-02-11 Will Newton <will.newton@linaro.org>
2450 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2451 definition. (tr_where, tr_freehook, tr_mallochook,
2452 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2454 2014-02-11 David S. Miller <davem@davemloft.net>
2456 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2457 processing int_tests.
2459 2014-02-10 Joseph Myers <joseph@codesourcery.com>
2461 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2462 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2463 * sysdeps/unix/sysv/linux/mips: Move directory from
2464 ports/sysdeps/unix/sysv/linux/mips.
2465 * README: Update listing for mips-*-linux-gnu and
2468 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2470 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2471 * sysdeps/unix/sysv/linux/m68k: Move directory from
2472 ports/sysdeps/unix/sysv/linux/m68k.
2473 * README: Update listing for m68k-*-linux-gnu.
2475 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2477 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2478 * sysdeps/unix/sysv/linux/generic: Move directory from
2479 ports/sysdeps/unix/sysv/linux/generic.
2480 * sysdeps/unix/sysv/linux/tile: Move directory from
2481 ports/sysdeps/unix/sysv/linux/tile.
2482 * README: Update listing for tile*-*-linux-gnu.
2484 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2486 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2487 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2488 * catgets/open_catalog.c (__open_catalog): Likewise.
2489 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2490 * debug/confstr_chk.c: Likewise.
2491 * debug/fread_chk.c (__fread_chk): Likewise.
2492 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2493 * debug/getgroups_chk.c: Likewise.
2494 * debug/mbsnrtowcs_chk.c: Likewise.
2495 * debug/mbsrtowcs_chk.c: Likewise.
2496 * debug/mbstowcs_chk.c: Likewise.
2497 * debug/memcpy_chk.c: Likewise.
2498 * debug/memmove_chk.c: Likewise.
2499 * debug/mempcpy_chk.c: Likewise.
2500 * debug/memset_chk.c: Likewise.
2501 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2502 * debug/strcat_chk.c (__strcat_chk): Likewise.
2503 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2504 * debug/strncat_chk.c (__strncat_chk): Likewise.
2505 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2506 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2507 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2508 * debug/wcpncpy_chk.c: Likewise.
2509 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2510 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2511 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2512 * debug/wcsncpy_chk.c: Likewise.
2513 * debug/wcsnrtombs_chk.c: Likewise.
2514 * debug/wcsrtombs_chk.c: Likewise.
2515 * debug/wcstombs_chk.c: Likewise.
2516 * debug/wmemcpy_chk.c: Likewise.
2517 * debug/wmemmove_chk.c: Likewise.
2518 * debug/wmempcpy_chk.c: Likewise.
2519 * debug/wmemset_chk.c: Likewise.
2520 * dirent/scandirat.c (SCANDIRAT): Likewise.
2521 * dlfcn/dladdr1.c (dladdr1): Likewise.
2522 * dlfcn/dladdr.c (dladdr): Likewise.
2523 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2524 * dlfcn/dlerror.c (__dlerror): Likewise.
2525 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2526 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2527 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2528 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2529 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2530 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2531 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2532 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2534 * elf/dl-conflict.c: Likewise.
2535 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2536 * elf/dl-dst.h: Likewise.
2537 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2538 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2539 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2540 * elf/dl-init.c (call_init, _dl_init): Likewise.
2541 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2542 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2543 _dl_map_object_from_fd, open_verify, open_path,
2544 _dl_map_object): Likewise.
2545 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2547 * elf/dl-minimal.c (__libc_memalign): Likewise.
2548 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2549 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2550 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2551 * elf/dl-sym.c (do_sym): Likewise.
2552 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2553 _dl_tls_get_addr_soft): Likewise.
2554 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2555 * elf/dl-writev.h (_dl_writev): Likewise.
2556 * elf/ldconfig.c (search_dir): Likewise.
2557 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2559 * elf/setup-vdso.h (setup_vdso): Likewise.
2560 * grp/compat-initgroups.c (compat_call): Likewise.
2561 * grp/fgetgrent.c (fgetgrent): Likewise.
2562 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2563 * grp/putgrent.c (putgrent): Likewise.
2564 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2566 * hurd/hurdinit.c: Likewise.
2567 * iconvdata/8bit-gap.c (struct): Likewise.
2568 * iconvdata/ansi_x3.110.c : Likewise.
2569 * iconvdata/big5.c : Likewise.
2570 * iconvdata/big5hkscs.c : Likewise.
2571 * iconvdata/cp1255.c: Likewise.
2572 * iconvdata/cp1258.c : Likewise.
2573 * iconvdata/cp932.c : Likewise.
2574 * iconvdata/euc-cn.c: Likewise.
2575 * iconvdata/euc-jisx0213.c : Likewise.
2576 * iconvdata/euc-jp.c: Likewise.
2577 * iconvdata/euc-jp-ms.c : Likewise.
2578 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2579 * iconvdata/gb18030.c : Likewise.
2580 * iconvdata/gbbig5.c (const): Likewise.
2581 * iconvdata/gbgbk.c: Likewise.
2582 * iconvdata/gbk.c : Likewise.
2583 * iconvdata/ibm1364.c : Likewise.
2584 * iconvdata/ibm930.c : Likewise.
2585 * iconvdata/ibm932.c: Likewise.
2586 * iconvdata/ibm933.c : Likewise.
2587 * iconvdata/ibm935.c : Likewise.
2588 * iconvdata/ibm937.c : Likewise.
2589 * iconvdata/ibm939.c : Likewise.
2590 * iconvdata/ibm943.c: Likewise.
2591 * iconvdata/iso_11548-1.c: Likewise.
2592 * iconvdata/iso-2022-cn.c : Likewise.
2593 * iconvdata/iso-2022-cn-ext.c : Likewise.
2594 * iconvdata/iso-2022-jp-3.c: Likewise.
2595 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2596 * iconvdata/iso-2022-kr.c : Likewise.
2597 * iconvdata/iso646.c (gconv_end): Likewise.
2598 * iconvdata/iso_6937-2.c : Likewise.
2599 * iconvdata/iso_6937.c : Likewise.
2600 * iconvdata/iso8859-1.c: Likewise.
2601 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2602 * iconvdata/shift_jisx0213.c : Likewise.
2603 * iconvdata/sjis.c : Likewise.
2604 * iconvdata/t.61.c : Likewise.
2605 * iconvdata/tcvn5712-1.c : Likewise.
2606 * iconvdata/tscii.c: Likewise.
2607 * iconvdata/uhc.c : Likewise.
2608 * iconvdata/unicode.c (gconv_end): Likewise.
2609 * iconvdata/utf-16.c (gconv_end): Likewise.
2610 * iconvdata/utf-32.c (gconv_end): Likewise.
2611 * iconvdata/utf-7.c (base64): Likewise.
2612 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2613 * iconv/gconv_close.c (__gconv_close): Likewise.
2614 * iconv/gconv_open.c (__gconv_open): Likewise.
2615 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2616 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2617 internal_ucs4le_loop_single, ucs4le_internal_loop,
2618 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2619 * iconv/iconv.c (iconv): Likewise.
2620 * iconv/iconv_close.c: Likewise.
2621 * iconv/loop.c (SINGLE): Likewise.
2622 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2623 * include/atomic.h: Likewise.
2624 * inet/inet6_option.c (option_alloc): Likewise.
2625 * intl/bindtextdom.c (set_binding_values): Likewise.
2626 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2627 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2628 * intl/localealias.c (read_alias_file): Likewise.
2629 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2630 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2631 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2632 * libio/fmemopen.c (fmemopen): Likewise.
2633 * libio/iofgets.c (_IO_fgets): Likewise.
2634 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2635 * libio/iofgetws.c (fgetws): Likewise.
2636 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2637 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2638 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2639 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2640 * locale/findlocale.c (_nl_find_locale): Likewise.
2641 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2642 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2644 * locale/setlocale.c (setlocale): Likewise.
2645 * login/programs/pt_chown.c (main): Likewise.
2646 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2647 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2648 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2649 mmap, mmap64, mremap, munmap): Likewise.
2650 * math/e_exp2l.c: Likewise.
2651 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2652 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2653 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2654 * math/s_catan.c (__catan): Likewise.
2655 * math/s_catanf.c (__catanf): Likewise.
2656 * math/s_catanh.c (__catanh): Likewise.
2657 * math/s_catanhf.c (__catanhf): Likewise.
2658 * math/s_catanhl.c (__catanhl): Likewise.
2659 * math/s_catanl.c (__catanl): Likewise.
2660 * math/s_ccosh.c (__ccosh): Likewise.
2661 * math/s_ccoshf.c (__ccoshf): Likewise.
2662 * math/s_ccoshl.c (__ccoshl): Likewise.
2663 * math/s_cexp.c (__cexp): Likewise.
2664 * math/s_cexpf.c (__cexpf): Likewise.
2665 * math/s_cexpl.c (__cexpl): Likewise.
2666 * math/s_clog10.c (__clog10): Likewise.
2667 * math/s_clog10f.c (__clog10f): Likewise.
2668 * math/s_clog10l.c (__clog10l): Likewise.
2669 * math/s_clog.c (__clog): Likewise.
2670 * math/s_clogf.c (__clogf): Likewise.
2671 * math/s_clogl.c (__clogl): Likewise.
2672 * math/s_csin.c (__csin): Likewise.
2673 * math/s_csinf.c (__csinf): Likewise.
2674 * math/s_csinh.c (__csinh): Likewise.
2675 * math/s_csinhf.c (__csinhf): Likewise.
2676 * math/s_csinhl.c (__csinhl): Likewise.
2677 * math/s_csinl.c (__csinl): Likewise.
2678 * math/s_csqrt.c (__csqrt): Likewise.
2679 * math/s_csqrtf.c (__csqrtf): Likewise.
2680 * math/s_csqrtl.c (__csqrtl): Likewise.
2681 * math/s_ctan.c (__ctan): Likewise.
2682 * math/s_ctanf.c (__ctanf): Likewise.
2683 * math/s_ctanh.c (__ctanh): Likewise.
2684 * math/s_ctanhf.c (__ctanhf): Likewise.
2685 * math/s_ctanhl.c (__ctanhl): Likewise.
2686 * math/s_ctanl.c (__ctanl): Likewise.
2687 * math/w_pow.c: Likewise.
2688 * math/w_powf.c: Likewise.
2689 * math/w_powl.c: Likewise.
2690 * math/w_scalb.c (sysv_scalb): Likewise.
2691 * math/w_scalbf.c (sysv_scalbf): Likewise.
2692 * math/w_scalbl.c (sysv_scalbl): Likewise.
2693 * misc/error.c (error_tail): Likewise.
2694 * misc/pselect.c (__pselect): Likewise.
2695 * nis/nis_callback.c (__nis_create_callback): Likewise.
2696 * nis/nis_call.c (__nisfind_server): Likewise.
2697 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2698 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2699 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2700 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2701 * nis/nis_lookup.c (nis_lookup): Likewise.
2702 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2703 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2704 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2705 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2706 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2707 internal_getgrgid_r): Likewise.
2708 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2710 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2711 internal_getpwuid_r): Likewise.
2712 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2713 internal_getspnam_r): Likewise.
2714 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2715 _nss_nis_getaliasbyname_r): Likewise.
2716 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2717 _nss_nis_getntohost_r): Likewise.
2718 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2719 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2721 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2722 internal_nis_gethostent_r, internal_gethostbyname2_r,
2723 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2724 _nss_nis_gethostbyname4_r): Likewise.
2725 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2726 initgroups_netid): Likewise.
2727 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2728 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2729 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2730 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2731 _nss_nis_getprotobynumber_r): Likewise.
2732 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2733 _nss_nis_getsecretkey): Likewise.
2734 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2735 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2737 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2738 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2739 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2740 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2741 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2742 _nss_nis_getspnam_r): Likewise.
2743 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2745 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2746 _nss_nisplus_getntohost_r): Likewise.
2747 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2748 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2749 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2750 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2751 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2753 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2754 _nss_nisplus_getnetbyaddr_r): Likewise.
2755 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2756 _nss_nisplus_getprotobynumber_r): Likewise.
2757 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2758 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2759 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2761 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2762 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2763 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2764 _nss_nisplus_getspnam_r): Likewise.
2765 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2766 * nscd/aicache.c (addhstaiX): Likewise.
2767 * nscd/cache.c (cache_search, prune_cache): Likewise.
2768 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2769 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2770 * nscd/grpcache.c (addgrbyX): Likewise.
2771 * nscd/hstcache.c (addhstbyX): Likewise.
2772 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2773 * nscd/mem.c (gc, mempool_alloc): Likewise.
2774 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2776 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2778 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2779 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2780 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2782 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2784 * nscd/nscd_helper.c (__readvall, open_socket,
2785 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2786 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2787 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2788 * nscd/pwdcache.c (addpwbyX): Likewise.
2789 * nscd/selinux.c (preserve_capabilities): Likewise.
2790 * nscd/servicescache.c (addservbyX): Likewise.
2791 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2792 * posix/fnmatch.c (fnmatch): Likewise.
2793 * posix/getopt.c (_getopt_internal_r): Likewise.
2794 * posix/glob.c (glob, glob_in_dir): Likewise.
2795 * posix/wordexp.c (exec_comm_child): Likewise.
2796 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2797 gaih_getanswer_slice): Likewise.
2798 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2799 * resolv/res_init.c: Likewise.
2800 * resolv/res_mkquery.c (res_nmkquery): Likewise.
2801 * resolv/res_query.c (__libc_res_nquery): Likewise.
2802 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2804 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2805 * stdio-common/perror.c (perror): Likewise.
2806 * stdio-common/printf_fp.c (___printf_fp): Likewise.
2807 * stdio-common/tmpnam.c (tmpnam): Likewise.
2808 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2809 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2810 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2811 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2812 * stdlib/putenv.c (putenv): Likewise.
2813 * stdlib/setenv.c (__add_to_environ): Likewise.
2814 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2815 * stdlib/strtol_l.c (INTERNAL): Likewise.
2816 * string/memmem.c (memmem): Likewise.
2817 * string/strerror.c (strerror): Likewise.
2818 * string/strnlen.c (__strnlen): Likewise.
2819 * string/test-memmem.c (simple_memmem): Likewise.
2820 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2821 * sunrpc/pm_getport.c (__get_socket): Likewise.
2822 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2823 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2824 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2825 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2827 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2828 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2829 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2830 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2831 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2832 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2833 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2834 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2835 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2836 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2837 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2838 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2840 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2841 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2842 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2843 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2844 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2845 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2847 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2849 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2851 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2853 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2854 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2855 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2856 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2857 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2858 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2861 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2863 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2864 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2866 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2867 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2869 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2871 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2873 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2874 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2875 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2877 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2878 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2879 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2880 * sysdeps/posix/sleep.c: Likewise.
2881 * sysdeps/posix/tempname.c: Likewise.
2882 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2883 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2885 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2886 elf_machine_rela): Likewise.
2887 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2888 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2889 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2890 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2892 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2893 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2894 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2895 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2896 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2897 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2898 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2899 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2900 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2901 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2902 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2903 elf_machine_lazy_rel): Likewise.
2904 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2906 elf_machine_lazy_rel): Likewise.
2907 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2908 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2909 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2910 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2911 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2912 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2913 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2916 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2917 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2918 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2919 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2920 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2921 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2922 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2923 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2924 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2925 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2926 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2928 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2929 (__posix_fallocate64_l64): Likewise.
2930 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2931 (posix_fallocate): Likewise.
2932 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
2933 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2934 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
2935 getifaddrs_internal): Likewise.
2936 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
2937 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
2938 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2939 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2940 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2941 (__posix_fallocate64_l64): Likewise.
2942 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2944 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
2945 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2947 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
2948 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2949 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
2950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2951 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2952 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2953 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2954 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
2956 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
2957 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
2958 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2959 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2960 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2961 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
2962 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
2964 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2965 (posix_fallocate): Likewise.
2966 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2967 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2968 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
2969 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
2970 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2972 * time/asctime.c (asctime_internal): Likewise.
2973 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
2974 * time/tzset.c (__tzset_parse_tz): Likewise.
2975 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2976 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2977 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
2978 * wcsmbs/wcsmbsload.h: Likewise.
2980 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2983 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
2985 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2987 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
2988 arena_get2): Remove THREAD_STATS conditionals.
2989 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
2990 __malloc_stats, int): Likewise.
2992 2014-02-08 Mike Frysinger <vapier@gentoo.org>
2994 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
2995 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
2997 2014-02-08 Mike Frysinger <vapier@gentoo.org>
2999 * manual/setjmp.texi: Fix typos/grammar errors.
3001 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3003 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3004 Only return early when n is <= 0. Delete unused return statement.
3006 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3008 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3009 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3010 * debug/tst-longjmp_chk3.c: New file.
3012 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3014 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3015 (test_main): Replace code with set_fortify_handler call.
3016 * debug/test-strcpy_chk.c: Likewise.
3017 * debug/tst-chk1.c: Likewise.
3018 * debug/tst-longjmp_chk.c: Likewise.
3019 * test-skeleton.c: Include fcntl.h & paths.h
3020 (set_fortify_handler): Define.
3022 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3024 * debug/tst-longjmp_chk.c: Add header comment and include
3026 (do_test): Mark static.
3027 (TEST_FUNCTION): Define.
3029 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3031 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3032 (IP_PMTUDISC_INTERFACE): Likewise.
3033 (IP_MULTICAST_IF): Likewise.
3034 (IP_MULTICAST_TTL): Likewise.
3035 (IP_MULTICAST_LOOP): Likewise.
3036 (IP_ADD_MEMBERSHIP): Likewise.
3037 (IP_DROP_MEMBERSHIP): Likewise.
3038 (IP_UNBLOCK_SOURCE): Likewise.
3039 (IP_BLOCK_SOURCE): Likewise.
3040 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3041 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3042 (IP_MSFILTER): Likewise.
3043 (MCAST_JOIN_GROUP): Likewise.
3044 (MCAST_BLOCK_SOURCE): Likewise.
3045 (MCAST_UNBLOCK_SOURCE): Likewise.
3046 (MCAST_LEAVE_GROUP): Likewise.
3047 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3048 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3049 (MCAST_MSFILTER): Likewise.
3050 (IP_MULTICAST_ALL): Likewise.
3051 (IP_UNICAST_IF): Likewise.
3053 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3055 * timezone/Makefile: Delete $(have-ksh) check.
3056 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3057 * timezone/tzselect.ksh: Add +x mode bits.
3059 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3061 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3062 (ANON_INODE_FS_MAGIC): Likewise.
3063 (BDEVFS_MAGIC): Likewise.
3064 (BINFMTFS_MAGIC): Likewise.
3065 (BTRFS_TEST_MAGIC): Likewise.
3066 (CRAMFS_MAGIC_WEND): Likewise.
3067 (DEBUGFS_MAGIC): Likewise.
3068 (ECRYPTFS_SUPER_MAGIC): Likewise.
3069 (EXT3_SUPER_MAGIC): Likewise.
3070 (EXT4_SUPER_MAGIC): Likewise.
3071 (FUTEXFS_SUPER_MAGIC): Likewise.
3072 (HOSTFS_SUPER_MAGIC): Likewise.
3073 (HUGETLBFS_MAGIC): Likewise.
3074 (MINIX3_SUPER_MAGIC): Likewise.
3075 (MTD_INODE_FS_MAGIC): Likewise.
3076 (NILFS_SUPER_MAGIC): Likewise.
3077 (OPENPROM_SUPER_MAGIC): Likewise.
3078 (PIPEFS_MAGIC): Likewise.
3079 (PSTOREFS_MAGIC): Likewise.
3080 (QNX6_SUPER_MAGIC): Likewise.
3081 (RAMFS_MAGIC): Likewise.
3082 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3083 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3084 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3085 (SECURITYFS_MAGIC): Likewise.
3086 (SELINUX_MAGIC): Likewise.
3087 (SMACK_MAGIC): Likewise.
3088 (SOCKFS_MAGIC): Likewise.
3089 (SQUASHFS_MAGIC): Likewise.
3090 (STACK_END_MAGIC): Likewise.
3091 (TMPFS_MAGIC): Likewise.
3092 (USBDEVICE_SUPER_MAGIC): Likewise.
3093 (V9FS_MAGIC): Likewise.
3094 (XENFS_SUPER_MAGIC): Likewise.
3095 (CRAMFS_MAGIC): Fix typo in comment.
3096 (EXT2_SUPER_MAGIC): Update comment.
3097 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3099 2014-02-08 Joseph Myers <joseph@codesourcery.com>
3101 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3102 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3103 * sysdeps/unix/sysv/linux/arm: Move directory from
3104 ports/sysdeps/unix/sysv/linux/arm.
3105 * README: Update listing for arm-*-linux-gnueabi.
3107 * README: Remove mention of am33.
3109 2014-02-07 Roland McGrath <roland@hack.frob.com>
3111 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3112 than the comma operator, to avoid "rhs of comma has no effect"
3114 (__sigfillset, __sigandset, __sigorset): Likewise.
3115 * include/signal.h (__sigemptyset): Likewise.
3116 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3118 2014-02-07 Allan McRae <allan@archlinux.org>
3120 * version.h (RELEASE): Set to "development".
3121 (VERSION): Set to "2.19.90"
3122 * NEWS: Add 2.20 section.
3124 2014-02-06 Carlos O'Donell <carlos@redhat.com>
3127 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3129 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3131 * manual/contrib.texi: Update entry for Carlos O'Donell,
3132 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3134 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
3136 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3138 * sysdeps/unix/sysv/linux/kernel-features.h
3139 [__LINUX_KERNEL_VERSION >= 0x020621]
3140 (__ASSUME_PROC_PID_TASK_COMM): Define.
3142 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3145 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3146 conversion when destination buffer does not have enough space.
3147 * libio/tst-ftell-partial-wide.c: New test case.
3148 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3150 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3151 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3152 Leonard and Allan McRae.
3154 2014-02-04 David S. Miller <davem@davemloft.net>
3156 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3159 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3188 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3190 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3191 * shlib-versions: Likewise.
3193 2014-02-04 Roland McGrath <roland@hack.frob.com>
3194 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3196 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3197 (abilist-pattern): New variable, set to %-le.abilist.
3199 * Makerules (abilist-pattern): New variable.
3200 (vpath): Use $(abilist-pattern) in place of %.abilist.
3201 (check-abi-% pattern rule): Likewise.
3202 (check-abi, update-abi): Likewise.
3204 2014-02-04 Eric Wong <normalperson@yhbt.net>
3206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3208 2014-02-04 Eric Wong <normalperson@yhbt.net>
3210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3212 2014-02-03 Carlos O'Donell <carlos@redhat.com>
3214 * manual/startup.texi: Add next, previous, and top entries for
3215 the `Program Arguments' and `Environment Variables' nodes.
3217 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
3219 * manual/macros.texi: Add comments before MTASC-safety macros.
3221 * manual/users.texi: Document MTASC-safety properties.
3223 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3224 pthread_getspecific, pthread_setspecific): Format with
3225 @deftypefun, and add @safety note.
3226 * manual/signal.texi: Move comments that analyze the above
3227 functions to their home place.
3229 2014-02-03 Allan McRae <allan@archlinux.org>
3231 * po/sl.po: Update Slovenian translation from translation project.
3233 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
3235 * manual/time.texi (timegm): Add missing blank after @c.
3236 Reported by Joseph Myers <joseph@codesourcery.com>.
3238 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
3240 * manual/check-safety.sh: New.
3241 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3243 * manual/terminal.texi: Document MTASC-safety properties.
3245 * manual/filesys.texi: Document MTASC-safety properties.
3247 * manual/errno.texi: Document MTASC-safety properties.
3249 * manual/intro.texi: Document safety identifiers and
3252 * manual/string.texi (wcstok): Fix prototype.
3253 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3255 * manual/time.texi: Document MTASC-safety properties.
3257 * manual/string.texi: Document MTASC-safety properties.
3259 * manual/threads.texi: Document MTASC-safety properties.
3261 * manual/stdio.texi: Document MTASC-safety properties.
3263 * manual/syslog.texi: Document MTASC-safety properties.
3265 * manual/sysinfo.texi: Document MTASC-safety properties.
3267 * manual/startup.texi: Document MTASC-safety properties.
3269 * manual/socket.texi: Document MTASC-safety properties.
3271 * manual/signal.texi: Document MTASC-safety properties.
3273 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
3275 * manual/setjmp.texi: Document MTASC-safety properties.
3277 * manual/search.texi: Document MTASC-safety properties.
3279 * manual/resource.texi: Document MTASC-safety properties.
3281 * manual/process.texi: Document MTASC-safety properties.
3283 * manual/platform.texi: Document MTASC-safety properties.
3285 * manual/pipe.texi: Document MTASC-safety properties.
3287 * manual/pattern.texi: Document MTASC-safety properties.
3289 * manual/message.texi: Document MTASC-safety properties.
3292 * manual/memory.texi: Document MTASC-safety properties.
3294 * manual/math.texi: Document MTASC-safety properties.
3296 * manual/locale.texi: Document MTASC-safety properties.
3298 * manual/llio.texi: Document MTASC-safety properties.
3300 * manual/libdl.texi: New.
3302 * manual/lang.texi: Document MTASC-safety properties.
3304 * manual/job.texi: Document MTASC-safety properties.
3306 * manual/getopt.texi: Document MTASC-safety properties.
3308 * manual/ctype.texi: Document MTASC-safety properties.
3310 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3313 * csu/libc-tls.c (static_map): Remove variable.
3314 (__libc_setup_tls): Use main executable's link map for TLS data.
3315 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3316 casing for LM_ID_BASE and GL(dl_nns).
3317 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3318 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3319 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3320 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3321 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3323 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3326 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
3328 * manual/debug.texi: Document MTASC-safety properties.
3330 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3333 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3334 of __x86_64__ when disabling x87 inline functions.
3336 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
3338 * manual/charset.texi: Document MTASC-safety properties.
3340 * manual/crypt.texi: Document MTASC-safety properties.
3342 * manual/conf.texi: Document MTASC-safety properties.
3344 * manual/arith.texi: Document MTASC-safety properties.
3346 * manual/argp.texi: Document MTASC-safety properties.
3348 * manual/macros.texi: Introduce macros to document multi
3349 thread, asynchronous signal and asynchronous cancellation
3351 * manual/intro.texi: Introduce the properties themselves.
3353 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3355 * sysdeps/sh/sh4/Makefile: New file.
3357 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3359 * math/gen-libm-test.pl ($srcdir): New variable.
3360 ($auto_input): Use it.
3362 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3365 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3366 access beyond array bounds when parsing netgroups file.
3368 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3369 the old buffer before realloc.
3371 2014-01-27 Allan McRae <allan@archlinux.org>
3373 * po/fr.po: Update French translation from translation project.
3375 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3377 * sysdeps/sh/libm-test-ulps: Regenerate.
3379 2014-01-24 David S. Miller <davem@davemloft.net>
3381 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3383 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3385 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3386 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3388 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3391 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3392 string pointers after reallocation.
3394 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3396 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3397 __SH4A__ instead of __SH_FPU_ANY__.
3399 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3401 * sysdeps/sh/fpu_control.h: New file.
3402 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3403 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3404 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3405 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3406 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3407 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3408 * sysdeps/sh/sys/ucontext.h: Remove.
3409 * sysdeps/sh/sys: Remove directory.
3411 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3413 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3414 s390/sys/ucontext.h.
3415 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3416 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3418 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3421 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3423 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3426 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3427 Adjust the vDSO correctly for internal calls.
3428 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3430 2014-01-20 Allan McRae <allan@archlinux.org>
3432 * po/ca.po: Update Catalan translation from translation project.
3434 2014-01-16 Mike Frysinger <vapier@gentoo.org>
3436 * sysdeps/s390/sotruss-lib.c: New file.
3438 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3441 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3442 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3443 local calls issues by not having a PLT stub required for IFUNC calls.
3444 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3446 2014-01-16 Joseph Myers <joseph@codesourcery.com>
3448 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3449 * math/test-fpucw-static.c: Likewise.
3451 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3454 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3456 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3458 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3459 implementation for powerpc.
3461 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
3464 * sysdeps/posix/system.c (__libc_system): Do not enable
3465 asynchronous cancellation.
3467 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3470 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3471 handling only for numbers special also in the IEEE case.
3473 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3475 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3477 2014-01-11 Allan McRae <allan@archlinux.org>
3479 * po/bg.po: Update Bulgarian translation from translation project.
3481 * po/de.po: Update German translation from translation project.
3483 2014-01-10 Roland McGrath <roland@hack.frob.com>
3485 * sysdeps/generic/gcc-compat.h: New file.
3487 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3489 * benchtests/asin-inputs: Correct slow inputs.
3490 * benchtests/acos-inputs: Likewise.
3492 2014-01-10 Allan McRae <allan@archlinux.org>
3494 * po:sv.po: Update Swedish translation from translation project.
3496 * po/vi.po: Update Vietnamese translation from translation project.
3498 * po/eo.po: Update Esperanto translation from translation project.
3500 * po/cs.po: Update Czech translation from translation project.
3502 * po/nl.po: Update Dutch translation from translation project.
3504 * po/pl.po: Update Polish translation from translation project.
3506 * po/ru.po: Update Russian translation from translation project.
3508 * po/uk.po: Update Ukrainian translation from translation project.
3510 2014-01-08 Brooks Moses <bmoses@google.com>
3512 * elf/dl-load.c: Fix comment typo.
3514 2014-01-08 Carlos O'Donell <carlos@redhat.com>
3516 * po/header.pot: Rename to...
3517 * po/pot.header: ... this.
3518 * po/Makefile: Use pot.header.
3520 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3521 Maxim Kuvyrkov <maxim@kugelworks.com>
3524 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3525 SRC and DEST against LEN.
3527 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3530 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3532 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3534 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3538 2014-01-08 Joseph Myers <joseph@codesourcery.com>
3541 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3542 for large positive arguments.
3544 2014-01-07 Joseph Myers <joseph@codesourcery.com>
3546 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3548 * math/auto-libm-test-in: Mark various tests with
3549 xfail-rounding:ldbl-128ibm.
3550 * math/auto-libm-test-out: Regenerated.
3553 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3554 Increase overflow threshold.
3556 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
3559 * stdio-common/vfprintf.c: Check for integer overflow.
3561 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3563 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3564 the first argument and return value of __tls_get_addr_internal.
3566 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3568 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3569 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3571 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3573 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3574 * sysdeps/s390/rtld-global-offsets.sym: New file.
3575 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3577 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3578 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3579 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3581 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3582 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3588 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3589 halfs of GPRs for high_gprs contexts.
3590 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3591 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3593 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3595 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3597 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3598 for high GPRs (uc_high_gprs) and for future extensions
3600 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3601 for future extensions (__reserved).
3602 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3604 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3605 SC_HIGHGPRS offset definition.
3606 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3607 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3609 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3611 * Versions.def: Add GLIBC_2.19 for libpthread.
3612 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3613 siglongjmp for libpthread with GLIBC_2.19 symver.
3614 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3615 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3616 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3617 * sysdeps/s390/__longjmp.c: New file.
3618 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3619 * sysdeps/s390/longjmp.c: New file.
3620 * sysdeps/s390/setjmp.S: New file.
3621 * sysdeps/s390/sigjmp.S: New file.
3622 * sysdeps/s390/v1-longjmp.c: New file.
3623 * sysdeps/s390/v1-setjmp.h: New file.
3624 * sysdeps/s390/v1-sigjmp.c: New file.
3625 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3626 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3628 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3629 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3630 versioned symbols for ____longjmp_chk.
3631 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3641 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3642 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3643 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3644 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3645 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3646 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3647 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3648 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3649 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3650 * sysdeps/s390/rtld-__longjmp.c: New file.
3651 * sysdeps/s390/rtld-setjmp.S: New file.
3653 2014-01-06 Joseph Myers <joseph@codesourcery.com>
3656 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3657 Return -__logl (x) for small positive arguments without evaluating
3660 2014-01-06 Mike Frysinger <vapier@gentoo.org>
3662 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3664 (__ptrace_peeksiginfo_args): ... this.
3665 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3669 2014-01-06 Allan McRae <allan@archlinux.org>
3671 * inet/netinet/in.h: Fix typo in comment.
3673 2014-01-05 Andreas Jaeger <aj@suse.de>
3675 * sysdeps/i386/fpu/libm-test-ulps: Update.
3677 2014-01-05 Allan McRae <allan@archlinux.org>
3679 * po/libc.pot: Regenerated.
3681 * malloc/memusagestat.c: Fix gettext call formatting.
3683 2014-01-04 Sami Kerola <kerolasa@iki.fi>
3685 * nscd/nscd.c: Improve usage() output.
3687 2014-01-04 Mike Frysinger <vapier@gentoo.org>
3689 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3690 * sysdeps/unix/sysv/linux/configure: Regenerated.
3691 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3692 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3694 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3697 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3698 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3700 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3702 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3703 extra tokens at end of #undef directive.
3704 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3705 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3706 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3708 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3710 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3712 * math/auto-libm-test-in: Mark various tests with
3713 xfail-rounding:ldbl-128ibm.
3714 * math/auto-libm-test-out: Regenerated.
3716 2014-01-02 Joseph Myers <joseph@codesourcery.com>
3719 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3720 numbers with subnormal high part when calculating exponent.
3723 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3729 (__ieee754_acoshl): Use __log1pl not __log1p.
3731 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
3733 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3734 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3735 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3736 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3737 Convert to GNU style.
3738 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3739 mem2mem_check, mem2chunk_check, top_check, realloc_check,
3740 memalign_check, __malloc_set_state): Likewise.
3741 * malloc/mallocbug.c (main): Likewise.
3742 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3743 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3744 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3745 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3746 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3747 * malloc/malloc.h: Likewise.
3748 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3749 memalignhook, reallochook, mabort): Likewise.
3750 * malloc/mcheck.h: Likewise.
3751 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3752 mmap64, mremap, munmap, dest): Likewise.
3753 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3754 * malloc/morecore.c (__default_morecore): Likewise.
3755 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3756 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3757 _obstack_allocated_p, obstack_free, _obstack_memory_used,
3758 print_and_abort): Likewise.
3759 * malloc/obstack.h: Likewise.
3760 * malloc/set-freeres.c (__libc_freeres): Likewise.
3761 * malloc/tst-mallocstate.c (main): Likewise.
3762 * malloc/tst-mtrace.c (main): Likewise.
3763 * malloc/tst-realloc.c (do_test): Likewise.
3765 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3768 * nscd/netgroupcache.c (do_notfound): New function.
3769 (addgetnetgrentX): Use it.
3772 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3773 NSS_STATUS_NOTFOUND.
3775 2014-01-01 Joseph Myers <joseph@codesourcery.com>
3777 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3780 2014-01-01 Allan McRae <allan@archlinux.org>
3782 * scripts/update-copyrights: Update configure input file suffix.
3784 * NEWS: Update copyright year.
3785 * catgets/gencat.c: Likewise.
3786 * csu/version.c: Likewise.
3787 * debug/catchsegv.sh: Likewise.
3788 * debug/pcprofiledump.c: Likewise.
3789 * debug/xtrace.sh: Likewise.
3790 * elf/ldconfig.c: Likewise.
3791 * elf/ldd.bash.in: Likewise.
3792 * elf/pldd.c: Likewise.
3793 * elf/sotruss.ksh: Likewise.
3794 * elf/sprof.c: Likewise.
3795 * iconv/iconv_prog.c: Likewise.
3796 * iconv/iconvconfig.c: Likewise.
3797 * locale/programs/locale.c: Likewise.
3798 * locale/programs/localedef.c: Likewise.
3799 * login/programs/pt_chown.c: Likewise.
3800 * malloc/memusage.sh: Likewise.
3801 * malloc/memusagestat.c: Likewise.
3802 * malloc/mtrace.pl: Likewise.
3803 * manual/libc.texinfo: Likewise.
3804 * nscd/nscd.c: Likewise.
3805 * nss/getent.c: Likewise.
3806 * nss/makedb.c: Likewise.
3807 * posix/getconf.c: Likewise.
3808 * scripts/test-installation.pl: Likewise.
3810 * All files with FSF copyright notices: Update copyright dates
3811 using scripts/update-copyrights.
3812 * intl/plural.c: Regenerated.
3813 * locale/programs/charmap-kw.h: Likewise.
3814 * locale/programs/locfile-kw.h: Likewise.
3816 2013-12-31 Mike Frysinger <vapier@gentoo.org>
3818 * sysdeps/unix/sysv/linux/configure: Regenerated.
3819 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3820 the linux/fanotify.h header.
3821 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3822 HAVE_LINUX_FANOTIFY_H is defined.
3824 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3826 * benchtests/cos-inputs: New inputs.
3827 * benchtests/sin-inputs: Likewise.
3829 * benchtests/atan-inputs: New inputs. Fix name of multiple
3830 precision fallback inputs.
3832 * benchtests/atanh-inputs: New inputs.
3833 * benchtests/tanh-inputs: Likewise.
3835 * benchtests/acosh-inputs: New inputs.
3836 * benchtests/asinh-inputs: Likewise.
3838 * benchtests/cosh-inputs: New inputs.
3839 * benchtests/sinh-inputs: Likewise.
3841 * benchtests/acos-inputs: Add more inputs.
3842 * benchtests/asin-inputs: Likewise.
3844 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
3847 * manual/arith.texi: Fix spelling.
3848 * manual/charset.texi: Likewise.
3849 * manual/errno.texi: Likewise.
3850 * manual/filesys.texi: Likewise.
3851 * manual/lang.texi: Likewise.
3852 * manual/llio.texi: Likewise.
3853 * manual/locale.texi: Likewise.
3854 * manual/message.texi: Likewise.
3855 * manual/resource.texi: Likewise.
3856 * manual/search.texi: Likewise.
3857 * manual/setjmp.texi: Likewise.
3858 * manual/stdio.texi: Likewise.
3859 * manual/string.texi: Likewise.
3860 * manual/sysinfo.texi: Likewise.
3861 * manual/time.texi: Likewise.
3863 2013-12-27 Carlos O'Donell <carlos@redhat.com>
3865 * po/sl.po: New file.
3867 2013-12-27 Mike Frysinger <vapier@gentoo.org>
3869 * .gitignore: Add core/.gdbinit/.gdb_history.
3871 2013-12-27 Allan McRae <allan@archlinux.org>
3874 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3875 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3877 2013-12-24 Brooks Moses <bmoses@google.com>
3879 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3880 all compilers that claim C++98 compliance, not just GCC.
3881 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3884 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3886 * NEWS: Restore accidentally deleted bug-fix entries.
3888 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3889 Ondřej Bílka <neleai@seznam.cz>
3892 * malloc/malloc.c (_int_free): Perform sanity check only if we
3895 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
3898 * manual/stdio.texi (String Input Conversions): Clarify that character
3899 classes are not supported.
3901 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3905 2013-12-22 Joseph Myers <joseph@codesourcery.com>
3908 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3909 Calculate results for small negative arguments directly rather
3910 than using reflection formula with special underflow handling.
3912 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3913 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3914 sysdeps/unix/bsd/bsd4.4/syscalls.list.
3915 (fchflags): Likewise.
3917 (setlogin): Likewise.
3918 (sigaltstack): Likewise.
3921 (sigsetmask): Likewise.
3923 (waitpid): Likewise.
3924 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3925 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3927 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3928 * sysdeps/unix/bsd/Makefile: ... here.
3929 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3930 * sysdeps/unix/bsd/Versions: ... here.
3931 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3932 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
3933 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
3934 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
3935 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
3936 * sysdeps/unix/bsd/sigblock.c: ... here.
3937 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
3938 * sysdeps/unix/bsd/sigsetmask.c: ... here.
3939 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
3940 * sysdeps/unix/bsd/sigvec.c: ... here.
3941 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
3942 * sysdeps/unix/bsd/tcdrain.c: ... here.
3943 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
3944 * sysdeps/unix/bsd/tcgetattr.c: ... here.
3945 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
3946 * sysdeps/unix/bsd/tcsetattr.c: ... here.
3947 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
3948 * sysdeps/unix/bsd/wait.c: ... here.
3949 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
3950 * sysdeps/unix/bsd/wait3.c: ... here.
3951 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
3952 * sysdeps/unix/bsd/waitpid.c: ... here.
3954 2013-12-21 Joseph Myers <joseph@codesourcery.com>
3957 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
3958 round-to-nearest for [!USE_AS_EXPM1L].
3959 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3960 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
3961 more tests of exp and exp10. Expect some exp10 tests to miss
3962 exceptions or fail in directed rounding modes.
3963 * math/auto-libm-test-out: Regenerated.
3964 * math/libm-test.inc (exp10_tonearest_test_data): New array.
3965 (exp10_test_tonearest): New function.
3966 (exp10_towardzero_test_data): New array.
3967 (exp10_test_towardzero): New function.
3968 (exp10_downward_test_data): New array.
3969 (exp10_test_downward): New function.
3970 (exp10_upward_test_data): New array.
3971 (exp10_test_upward): New function.
3972 (main): Call the new functions.
3973 * sysdeps/i386/fpu/libm-test-ulps: Update.
3974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3976 2013-12-20 Joseph Myers <joseph@codesourcery.com>
3978 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3979 asinh, atan, atan2, atanh, cbrt, cos and cosh.
3980 * math/auto-libm-test-out: Regenerated.
3981 * math/libm-test.inc (acosh_test_data): Add more tests.
3982 (atanh_test_data): Likewise.
3983 (ceil_test_data): Likewise.
3984 (copysign_test_data): Likewise.
3985 * sysdeps/i386/fpu/libm-test-ulps: Update.
3986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3988 * timezone/checktab.awk: Update from tzcode 2013i.
3989 * timezone/private.h: Likewise.
3990 * timezone/scheck.c: Likewise.
3991 * timezone/tzfile.h: Likewise.
3992 * timezone/tzselect.ksh: Likewise.
3993 * timezone/zdump.c: Likewise.
3994 * timezone/zic.c: Likewise.
3996 * math/auto-libm-test-in: Add tests of cpow.
3997 * math/auto-libm-test-out: Regenerated.
3998 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
3999 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4001 (func_calc_desc): Add mpc_cc_c union field.
4002 (test_functions): Add cpow.
4003 (special_fill_2pi): New function.
4004 (special_real_inputs): Add 2pi.
4005 (calc_generic_results): Handle mpc_cc_c.
4006 * sysdeps/i386/fpu/libm-test-ulps: Update.
4007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4009 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4010 csqrt, ctan and ctanh.
4011 * math/auto-libm-test-out: Regenerated.
4012 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4013 (TEST_COND_x86): Likewise.
4014 (ccos_test_data): Use AUTO_TESTS_c_c.
4015 (ccosh_test_data): Likewise.
4016 (cexp_test_data): Likewise.
4017 (clog_test_data): Likewise.
4018 (csqrt_test_data): Likewise.
4019 (ctan_test_data): Likewise.
4020 (ctan_tonearest_test_data): Likewise.
4021 (ctan_towardzero_test_data): Likewise.
4022 (ctan_downward_test_data): Likewise.
4023 (ctan_upward_test_data): Likewise.
4024 (ctanh_test_data): Likewise.
4025 (ctanh_tonearest_test_data): Likewise.
4026 (ctanh_towardzero_test_data): Likewise.
4027 (ctanh_downward_test_data): Likewise.
4028 (ctanh_upward_test_data): Likewise.
4029 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4031 (func_calc_desc): Add mpc_c_c union field.
4032 (FUNC_mpc_c_c): New macro.
4033 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4034 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4036 (special_fill_min_subnorm_p120): New function.
4037 (special_real_inputs): Add min_subnorm_p120.
4038 (calc_generic_results): Handle mpc_c_c.
4039 * sysdeps/i386/fpu/libm-test-ulps: Update.
4040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4042 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4044 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4045 do_sin_slow): New functions.
4046 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4047 cslow2, csloww1, csloww2): Use the new functions.
4049 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4050 Use M to change sign of result instead of X. Assume X is
4052 (csloww1): Likewise.
4056 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4063 (sloww1): Don't adjust sign of DX.
4064 (csloww1): Likewise.
4065 (sloww2): Use X directly and don't adjust sign of DX.
4066 (csloww2): Likewise.
4068 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4070 * math/auto-libm-test-in: Add tests of cabs and carg.
4071 * math/auto-libm-test-out: Regenerated.
4072 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4073 (carg_test_data): Likewise.
4074 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4076 (func_calc_desc): Add mpc_c_f union field.
4077 (test_functions): Add cabs and carg.
4078 (calc_generic_results): Handle mpc_c_f.
4080 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4081 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4082 as a macro and a compat symbol.
4083 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4084 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4085 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4086 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4087 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4088 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4090 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4092 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4094 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4096 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4098 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4100 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4101 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4104 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4108 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4110 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4111 trailing whitespace removed.
4112 * scripts/config.guess: Update to version 2013-11-29.
4113 * scripts/config.sub: Update to version 2013-10-01.
4115 * math/auto-libm-test-in: Add tests of sincos.
4116 * math/auto-libm-test-out: Regenerated.
4117 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4118 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4120 (func_calc_desc): Add mpfr_f_11 union field.
4121 (test_functions): Add sincos.
4122 (calc_generic_results): Handle mpfr_f_11.
4123 * sysdeps/i386/fpu/libm-test-ulps: Update.
4124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4126 2013-12-19 Andreas Schwab <schwab@suse.de>
4128 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4130 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4131 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4132 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4134 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4136 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4137 * sysdeps/i386/fpu/libm-test-ulps: Update.
4138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4141 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4142 round-to-nearest mode when using frndint.
4143 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4144 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4145 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4147 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4149 * math/auto-libm-test-out: Regenerated.
4150 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4151 (TEST_COND_x86): Likewise.
4152 (expm1_tonearest_test_data): New array.
4153 (expm1_test_tonearest): New function.
4154 (expm1_towardzero_test_data): New array.
4155 (expm1_test_towardzero): New function.
4156 (expm1_downward_test_data): New array.
4157 (expm1_test_downward): New function.
4158 (expm1_upward_test_data): New array.
4159 (expm1_test_upward): New function.
4160 (main): Run the new test functions.
4161 * sysdeps/i386/fpu/libm-test-ulps: Update.
4162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4164 * include/features.h: Update comment documenting feature test
4165 macros. Mention _DEFAULT_SOURCE in comment.
4166 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4167 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4168 _BSD_SOURCE and _SVID_SOURCE.
4169 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4170 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4171 !_SVID_SOURCE]: Likewise.
4172 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4173 (__USE_POSIX_IMPLICITLY): Define.
4174 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4175 (_POSIX_SOURCE): Undefine and redefine.
4176 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4177 (_POSIX_C_SOURCE): Likewise.
4178 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4179 (Feature Test Macros): Update documentation of default features.
4181 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4183 * benchtests/Makefile: Add bench-strtok.
4184 * benchtests/bench-strtok.c: New file: strtok benchtest.
4186 2013-12-19 Allan McRae <allan@archlinux.org>
4188 * manual/install.texi: Suppress menu for plain text output.
4189 * INSTALL: Regenerated.
4191 2013-12-18 Brooks Moses <bmoses@google.com>
4194 * misc/getauxval.c: Include errno.h.
4195 (__getauxval): Set errno to ENOENT if the requested type is not
4197 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4198 don't declare with __attribute_const__.
4199 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4200 * manual/startup.texi: Document that getauxval sets errno.
4202 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4204 * math/auto-libm-test-in: Add tests of jn and yn.
4205 * math/auto-libm-test-out: Regenerated.
4206 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4207 (yn_test_data): Likewise.
4208 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4210 (func_calc_desc): Add mpfr_if_f union field.
4211 (FUNC_mpfr_if_f): New macro.
4212 (test_functions): Add jn and yn.
4213 (calc_generic_results): Assert type of second input for
4214 mpfr_ff_f. Handle mpfr_if_f.
4215 (output_for_one_input_case): Disable all checking for arguments
4216 fitting floating-point types in case of an integer argument.
4217 * sysdeps/i386/fpu/libm-test-ulps: Update.
4218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4221 Don't expect fegetround reference in libm.so.
4223 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4225 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4226 $(config-cflags-nofma).
4228 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4230 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4231 * math/auto-libm-test-out: Regenerated.
4234 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4235 to determine exponent and adjust argument to have exponent of -1.
4236 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4238 * math/auto-libm-test-out: Regenerated.
4239 * sysdeps/i386/fpu/libm-test-ulps: Update.
4240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4242 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
4244 * manual/probes.texi: Remove cases when per-thread arenas are
4247 2013-12-18 Andreas Schwab <schwab@suse.de>
4249 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4250 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4251 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4252 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4253 * sysdeps/i386/i686/multiarch/Makefile: Update.
4254 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4256 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4258 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4259 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4261 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4264 Support TZ transition times < 00:00:00.
4265 This is needed for version-3 tz-format files; it supports time
4266 stamps past 2037 for America/Godthab (the only entry in the tz
4267 database for which this change is relevant).
4268 * manual/time.texi (TZ Variable): Document transition times
4269 from -167:59:59 through -00:00:01.
4270 * time/tzset.c (tz_rule): Time of day is now signed.
4271 (__tzset_parse_tz): Parse negative time of day.
4273 Document TZ transition times >= 25:00:00.
4274 * manual/time.texi (TZ Variable): Document transition times from
4275 25:00:00 through 167:59:59. These are already supported, and this
4276 support will help with version-3 tz-format files.
4278 * manual/time.texi (TZ Variable): Modernize North America example
4279 to reflect current (i.e., 2007-and-later) daylight saving rules.
4281 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4283 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4285 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4286 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4287 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4289 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4290 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4291 * sysdeps/unix/bsd/clock.c: Likewise.
4292 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4293 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4294 * sysdeps/unix/bsd/init-posix.c: Likewise.
4295 * sysdeps/unix/bsd/poll.c: Likewise.
4296 * sysdeps/unix/bsd/ptsname.c: Likewise.
4297 * sysdeps/unix/bsd/seekdir.c: Likewise.
4298 * sysdeps/unix/bsd/setegid.c: Likewise.
4299 * sysdeps/unix/bsd/seteuid.c: Likewise.
4300 * sysdeps/unix/bsd/setgid.c: Likewise.
4301 * sysdeps/unix/bsd/setrgid.c: Likewise.
4302 * sysdeps/unix/bsd/setruid.c: Likewise.
4303 * sysdeps/unix/bsd/setsid.c: Likewise.
4304 * sysdeps/unix/bsd/setuid.c: Likewise.
4305 * sysdeps/unix/bsd/sigaction.c: Likewise.
4306 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4307 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4308 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4309 * sysdeps/unix/bsd/telldir.c: Likewise.
4310 * sysdeps/unix/bsd/times.c: Likewise.
4311 * sysdeps/unix/bsd/usleep.c: Likewise.
4313 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4314 ($(objpfx)libbsd-compat.a): Remove rule.
4316 * include/features.h (__FAVOR_BSD): Do not define.
4317 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4318 features conflicting with POSIX.
4319 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4320 (_BSD_SOURCE): Remove description of not being a subset of other
4321 feature test macros.
4322 * manual/job.texi (getpgrp): Do not document BSD version.
4323 (getpgid): Do not document by reference to BSD getpgrp.
4324 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4325 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4326 * signal/signal.h [__FAVOR_BSD]: Likewise.
4327 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4328 instead of making contents conditional on [__FAVOR_BSD].
4329 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4331 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4335 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4338 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4339 values below 2**-450, not 2**-500.
4340 * math/auto-libm-test-in: Don't allow spurious underflow from
4342 * math/auto-libm-test-out: Regenerated.
4346 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4347 values of ha and hb and sort them after adjusting subnormal
4349 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4351 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4352 values of ea and eb and sort them after adjusting subnormal
4354 * math/auto-libm-test-in: Do not expect some hypot tests of
4355 subnormals to fail. Add more hypot tests.
4356 * math/auto-libm-test-out: Regenerated.
4358 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4361 * sysdeps/sh/s_fma.c: New file.
4362 * sysdeps/sh/s_fmaf.c: New file.
4363 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4365 * sysdeps/sh/Implies: Add sh/soft-fp.
4367 2013-12-16 Roland McGrath <roland@hack.frob.com>
4369 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4370 level of indirection to members `objname', `errstring', `malloced'.
4371 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4372 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4373 it as the __longjmp argument (just pass 1 instead).
4374 (_dl_catch_error): Initialize C with argument pointers and address of
4375 volatile local ERRCODE rather than copying values out of C at return.
4377 2013-12-16 Joseph Myers <joseph@codesourcery.com>
4379 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4380 * math/auto-libm-test-out: Regenerated.
4381 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4382 (hypot_test_data): Likewise.
4383 (pow_test_data): Likewise.
4384 (pow_tonearest_test_data): Likewise.
4385 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4387 (func_calc_desc): Add mpfr_ff_f union field.
4388 (FUNC_mpfr_ff_f): New macro.
4389 (test_functions): Add atan2, hypot and pow.
4390 (special_fill_min): New function.
4391 (special_fill_minus_min): Likewise.
4392 (special_fill_min_subnorm): Likewise.
4393 (special_fill_minus_min_subnorm): Likewise.
4394 (special_real_inputs): Add min, -min, min_subnorm and
4396 (calc_generic_results): Handle mpfr_ff_f.
4397 * sysdeps/i386/fpu/libm-test-ulps: Update.
4398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4400 2013-12-16 Will Newton <will.newton@linaro.org>
4402 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4403 (Aligned Memory Blocks): Add documentation for aligned_alloc
4404 and suggest it as an alternative to posix_memalign.
4405 (Hooks for Malloc): Document __memalign_hook is also called
4406 for aligned_alloc. (Summary of Malloc): Add summary for
4407 aligned alloc. Document __memalign_hook is also called
4410 2013-12-16 Will Newton <will.newton@linaro.org>
4412 * manual/memory.texi (Malloc Examples): Clarify default
4413 alignment documentation. Suggest posix_memalign rather
4414 than memalign or valloc.
4415 (Aligned Memory Blocks): Remove suggestion to use memalign
4416 or valloc. Remove obsolete comment about BSD.
4417 Document memalign errno values and mark the function obsolete.
4418 Document posix_memalign returned error codes. Mark valloc
4419 as obsolete. (Hooks for Malloc): __memalign_hook is also
4420 called for posix_memalign and valloc.
4421 (Summary of Malloc): Add posix_memalign to function summary.
4422 __memalign_hook is also called for posix_memalign and valloc.
4424 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4426 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4430 (sloww): Use mynumber union. Expand ternary operator into
4432 (cslow): use mynumber union.
4434 2013-12-16 Allan McRae <allan@archlinux.org>
4436 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4437 * configure: Regenerated.
4439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4442 * configure.ac: Added --enable-maintainer-mode. Check for
4443 autoconf when enabled.
4444 * configure: Regenerated.
4446 * nscd/nscd.service: New file.
4447 * nscd/nscd.tmpfiles: New file.
4449 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
4452 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4453 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4454 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4455 (strstr): Add __strstr_sse2_unaligned ifunc.
4456 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4457 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4458 (strcasestr): Remove __strcasestr_sse42 ifunc.
4459 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4463 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4465 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4466 * sysdeps/sh/bits/fenv.h: ... here.
4467 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4469 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4471 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4473 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4476 hypotf multiarch implementations.
4477 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4478 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4479 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4480 multiarch hypot for PPC64.
4481 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4482 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4483 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4484 multiarch hypotf for PPC64.
4486 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4489 modff multiarch implementations.
4490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4493 multiarch modf for PPC64.
4494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4497 multiarch modff for PPC64.
4499 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4502 and logl multiarch implementations.
4503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4506 multiarch logb for PPC64.
4507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4510 multiarch logb for PPC64.
4511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4514 multiarch logb for PPC64.
4516 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4519 isinff multiarch implementation.
4520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4524 multiarch isinf for PPC64.
4525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4528 multiarch isinff for PPC64.
4530 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4533 finitef multiarch implementation.
4534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4538 multiarch finite for PPC64.
4539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4542 multiarch finitef for PPC64.
4544 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4547 lrint multiarch implementation.
4548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4552 multiarch llrint for PPC64.
4553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4554 multiarch lrint for PPC64.
4556 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4559 copysignf multiarch implementation.
4560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4565 multiarch copysign for PPC64.
4566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4567 multiarch copysignf for PPC64.
4569 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4572 multiarch implementation.
4573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4581 multiarch llround for PPC64.
4582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4583 multiarch trunc for PPC64.
4584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4585 multiarch truncf for PPC64.
4587 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4590 multiarch implementation.
4591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4599 multiarch llround for PPC64.
4600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4601 multiarch round for PPC64.
4602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4603 multiarch roundf for PPC64.
4605 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4608 multiarch implementation.
4609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4617 multiarch llround for PPC64.
4618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4619 multiarch floor for PPC64.
4620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4621 multiarch floorf for PPC64.
4623 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4626 multiarch implementation.
4627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4635 multiarch llround for PPC64.
4636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4637 multiarch ceil for PPC64.
4638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4639 multiarch ceilf for PPC64.
4641 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4644 multiarch implementation.
4645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4652 multiarch llround for PPC64.
4653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4654 multiarch lround for PPC64.
4656 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4659 multiarch implementation.
4660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4667 multiarch isnan for PPC64.
4668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4669 multiarch isnanf for PPC64.
4671 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4673 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4674 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4675 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4676 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4677 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4680 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4682 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4683 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4687 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4690 multiarch implementations.
4691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4692 (__libc_ifunc_impl_list): Likewise.
4693 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4694 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4695 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4696 multiarch stpcpy for PPC64.
4698 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4701 multiarch implementations.
4702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4703 (__libc_ifunc_impl_list): Likewise.
4704 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4705 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4706 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4707 multiarch strcpy for PPC64.
4709 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4711 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4712 redefine function name.
4713 (_wordcopy_fwd_dest_aligned): Likewise.
4714 (_wordcopy_bwd_aligned): Likewise.
4715 (_wordcopy_bwd_dest_aligned): Likewise.
4716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4717 multiarch implementations.
4718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4719 (__libc_ifunc_impl_list): Likewise.
4720 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4721 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4723 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4724 multiarch wcscpy for PPC64.
4726 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4729 multiarch implementations.
4730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4731 (__libc_ifunc_impl_list): Likewise.
4732 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4733 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4734 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4735 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4736 multiarch wcscpy for PPC64.
4738 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4741 multiarch implementations.
4742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4743 (__libc_ifunc_impl_list): Likewise.
4744 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4745 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4746 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4747 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4748 multiarch wcsrchr for PPC64.
4750 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4753 multiarch implementations.
4754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4755 (__libc_ifunc_impl_list): Likewise.
4756 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4757 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4758 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4759 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4760 multiarch wcschr for PPC64.
4762 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4765 multiarch implementations.
4766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4767 (__libc_ifunc_impl_list): Likewise.
4768 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4769 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4770 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4771 multiarch strchrnul for PPC64.
4773 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4778 (__libc_ifunc_impl_list): Likewise.
4779 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4780 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4781 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4782 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4785 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4790 (__libc_ifunc_impl_list): Likewise.
4791 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4792 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4793 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4794 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4797 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4800 multiarch implementations.
4801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4802 (__libc_ifunc_impl_list): Likewise.
4803 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4804 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4805 strncasecmp for PPC64.
4806 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4807 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4808 multiarch strncasecmp_l for PPC64.
4810 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4813 multiarch implementations.
4814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4815 (__libc_ifunc_impl_list): Likewise.
4816 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4817 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4818 multiarch strcasecmp for PPC64.
4819 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4821 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4822 multiarch strcasecmp_l for PPC64.
4824 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4829 (__libc_ifunc_impl_list): Likewise.
4830 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4831 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4832 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4835 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4840 (__libc_ifunc_impl_list): Likewise.
4841 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4842 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4843 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4846 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4851 (__libc_ifunc_impl_list): Likewise.
4852 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4853 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4854 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4855 rawmemrchr for PPC64.
4857 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4862 (__libc_ifunc_impl_list): Likewise.
4863 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4864 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4865 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4868 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4873 (__libc_ifunc_impl_list): Likewise.
4874 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4875 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4876 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4879 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4884 (__libc_ifunc_impl_list): Likewise.
4885 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4886 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4887 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4890 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4892 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4893 avoid cretion of __bzero symbol.
4894 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4896 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4898 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4901 multiarch implementations.
4902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4903 (__libc_ifunc_impl_list): Likewise.
4904 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4905 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4906 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4907 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4909 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4910 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4911 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4912 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4913 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4915 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4917 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4919 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4923 (__libc_ifunc_impl_list): Likewise.
4924 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4925 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4926 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4927 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4930 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4933 multiarch for POWER/PPC64.
4934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4935 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
4936 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
4937 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
4938 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
4939 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
4940 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
4941 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
4942 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
4945 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4947 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
4948 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
4949 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
4950 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
4951 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
4952 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
4953 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
4954 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
4955 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
4956 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
4957 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
4958 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
4959 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
4960 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
4961 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
4964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
4965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
4970 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4972 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
4974 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4976 * benchtests/Makefile (bench): Add exp2 and log2.
4977 (LDLIBS-bench-exp2): Add -lm.
4978 (LDLIBS-bench-log2): Likewise.
4979 * benchtests/exp2-inputs: New inputs file.
4980 * benchtests/log2-inputs: New inputs file.
4981 * benchtests/log-inputs: Add new inputs.
4982 * benchtests/tan-inputs: Likewise.
4984 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4986 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
4988 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
4989 csloww1, csloww2): ... from here.
4991 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
4992 instead of structures.
4993 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
4994 (POLYNOMIAL): Likewise.
4995 (TAYLOR_SLOW): Likewise.
5003 (bsloww1): Likewise.
5004 (bsloww2): Likewise.
5007 (csloww1): Likewise.
5008 (csloww2): Likewise.
5010 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5012 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5013 (__malloc_assert, __libc_realloc, __libc_calloc,
5014 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5016 * malloc/hooks.c (realloc_check): Likewise.
5018 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5020 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5021 * malloc/arena.c: Remove PER_THREAD conditional.
5022 [!PER_THREAD]: Remove code.
5023 (ptmalloc_unlock_all2): Likewise.
5024 (ptmalloc_init): Likewise.
5025 (_int_new_arena): Likewise.
5026 (arena_get2): Likewise.
5027 * malloc/hooks.c (__malloc_get_state): Likewise.
5028 (__malloc_set_state): Likewise.
5029 * malloc/malloc.c: Likewise.
5030 (struct malloc_state): Likewise.
5031 (struct malloc_par): Likewise.
5032 (__libc_realloc): Likewise.
5033 (__libc_mallopt): Likewise.
5035 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5037 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5039 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5041 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5042 macro to a function. Check for zero perturb_byte.
5043 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5045 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5047 * malloc/malloc.c: (force_reg): Remove.
5048 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5049 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5050 force_reg by atomic_forced_read.
5051 * malloc/arena.c (ptmalloc_init): Likewise.
5052 * malloc/hooks.c (top_check): Likewise.
5054 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5058 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5062 2013-12-08 Joseph Myers <joseph@codesourcery.com>
5064 * math/auto-libm-test-in: Add tests of lgamma.
5065 * math/auto-libm-test-out: Regenerated.
5066 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5067 (M_LOG_2_SQRT_PIl): Likewise.
5068 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5069 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5071 (func_calc_desc): Add mpfr_f_f1 union field.
5080 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5081 (test_functions): Add lgamma.
5082 (calc_generic_results): Handle mpfr_f_f1.
5083 * sysdeps/i386/fpu/libm-test-ulps: Update.
5084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5086 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5088 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5089 __mpn_add_n for PowerPC64/POWER7.
5090 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5091 __mpn_sub_n for PowerPC64/POWER7.
5093 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5095 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5096 __mpn_addmul_1 for PowerPC64.
5097 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5098 __mpn_submul_1 for PowerPC64.
5099 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5101 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5104 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5107 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5109 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5111 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5113 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5115 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5116 add multiarch folders.
5117 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5118 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5119 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5120 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5121 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5122 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5123 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5124 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5125 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5126 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5127 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5135 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5138 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5144 multiarch __ieee754_hypot for PowerPC32.
5145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5150 multiarch __ieee754_hypotf for PowerPC32.
5152 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5154 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5155 long_double_symbol only if __logbl is defined.
5156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5157 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5159 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5161 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5163 path for implementation.
5164 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5165 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5167 logb, and logbl multiarch implementations for PowerPC32.
5168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5173 multiarch logb for PowerPC32.
5174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5179 multiarch logbf for PowerPC32.
5180 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5184 multiarch logbl implementation for PowerPC32.
5186 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5189 and modff multiarch implementations.
5190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5195 multiarch modf for PowerPC32.
5196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5201 multiarch modff for PowerPC32.
5203 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5206 and lrintf multiarch implementations.
5207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5212 multiarch lrint for PowerPC32.
5213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5214 file: multiarch lrintf for PowerPC32.
5216 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5219 and lroundf multiarch implementations.
5220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5227 multiarch lround for PowerPC32.
5228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5229 file: multiarch lroundf for PowerPC32.
5231 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5234 copysign and copysignf multiarch implementations.
5235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5240 file: multiarch copysign for PowerPC32.
5241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5242 file: multiarch copysignf for PowerPC32.
5244 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5247 and truncf multiarch implementations.
5248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5253 multiarch trunc for PowerPC32.
5254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5259 multiarch truncf for PowerPC32.
5261 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5264 and roundf multiarch implementations.
5265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5270 multiarch round for PowerPC32.
5271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5276 multiarch roundf for PowerPC32.
5278 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5281 and floorf multiarch implementations.
5282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5287 multiarch floor for PowerPC32.
5288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5293 multiarch floorf for PowerPC32.
5295 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5298 and ceilf multiarch implementations.
5299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5304 multiarch ceil for PowerPC32.
5305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5310 multiarch ceilf for PowerPC32.
5312 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5314 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5316 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5319 and finitef multiarch implementations.
5320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5325 multiarch finite for PowerPC32.
5326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5329 file: multiarch finitef for PowerPC32.
5331 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5334 and isinff multiarch implementations.
5335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5340 multiarch isinf for PowerPC32.
5341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5344 multiarch isinff for PowerPC32.
5346 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5348 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5349 alias when __isnan is defined.
5350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5351 and isnanf multiarch implementations.
5352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5361 multiarch isnan for PowerPC32.
5362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5367 multiarch isnanf for PowerPC32.
5369 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5372 and sqrtf multiarch implementations.
5373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5378 multiarch sqrt for PowerPC32.
5379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5384 multiarch sqrtf for PowerPC32.
5386 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5389 and llroundf multiarch implementations.
5390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5397 file: multiarch llround for PowerPC32.
5398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5399 file: multiarch llroundf for PowerPC32.
5401 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5404 multiarch PowerPC32 fpu implementations.
5405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5410 multiarch llrint for PowerPC32.
5411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5418 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5422 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5424 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5426 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5428 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5430 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5431 multiarch wordcopy for PPC32.
5432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5435 (__libc_ifunc_impl_list): Likewise.
5436 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5437 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5438 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5439 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5440 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5441 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5443 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5445 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5448 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5453 multiarch wcscpy for PPC32.
5454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5457 (__libc_ifunc_impl_list): Likewise.
5458 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5459 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5460 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5461 sysdeps/powerpc/power6/wcscpy.c.
5463 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5465 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5466 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5470 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5472 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5473 multiarch wcsrchr for PPC32.
5474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5477 (__libc_ifunc_impl_list): Likewise.
5478 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5479 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5480 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5481 sysdeps/powerpc/power6/wcsrchr.c.
5483 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5491 multiarch wcschr for PPc32.
5492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5495 (__libc_ifunc_impl_list): Likewise.
5496 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5497 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5498 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5499 sysdeps/powerpc/power6/wcschr.c.
5501 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5503 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5504 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5506 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5507 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5508 file: multiarch strchr for PPC32.
5509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5512 (__libc_ifunc_impl_list): Likewise.
5514 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5516 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5518 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5520 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5522 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5523 multiarch strchrnul for PPC32.
5524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5527 (__libc_ifunc_impl_list): Likewise.
5529 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5533 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5534 multiarch strncasecmp for PPC32.
5535 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5537 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5538 multiarch strncasecmp_l for PPC32.
5539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5540 strncasecmp multiarch objects.
5541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5542 (__libc_ifunc_impl_list): Likewise.
5544 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5546 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5548 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5549 multiarch strncasecmp for PPC32.
5550 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5552 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5553 multiarch strcasecmp_l for PPC32.
5554 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5556 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5557 (__libc_ifunc_impl_list): Likewise.
5559 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5561 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5563 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5565 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5566 multiarch strncmp for PPC32.
5567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5570 (__libc_ifunc_impl_list): Likewise.
5572 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5574 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5575 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5577 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5578 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
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/strlen-power7.S: New
5588 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5590 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5594 (__libc_ifunc_impl_list): Likewise.
5596 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5600 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5602 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5603 multiarch rawmemchr for PPC32.
5604 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5607 (__libc_ifunc_impl_list): Likewise.
5609 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5611 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5613 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5615 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5616 file: memrchr multiarch for PPC32.
5617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5620 (__libc_ifunc_impl_list): Likewise.
5622 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5624 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5625 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5627 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5628 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5629 multiarch memchr for PPC32.
5630 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5632 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5633 (__libc_ifunc_impl_list): Likewise.
5635 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5637 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5638 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5640 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5642 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5643 file: multiarch mempcpy for PPC32.
5644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5647 (__libc_ifunc_impl_list): Likewise.
5649 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5651 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5652 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5653 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5654 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5655 multiarch bzero for PPC32.
5656 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5658 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5660 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5661 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5662 file: multiarch memset for PPC32.
5663 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5664 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5665 memset multiarch objects.
5666 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5667 (__libc_ifunc_impl_list): Likewise.
5669 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5673 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5674 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5676 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5680 (__libc_ifunc_impl_list): Likewise.
5682 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5684 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5685 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5688 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5690 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5692 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5693 multiarch memcpy for PPC32.
5694 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5696 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5697 (__libc_ifunc_impl_list): Likewise.
5699 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5702 support multiarch for POWER/PPC32.
5703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5705 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5707 Implies file to make multiarch folder appers before the fpu and
5708 default folder for power4 configuration.
5710 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5712 * scripts/bench.pl: Append volatile keyword to type.
5714 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5716 * sysdeps/sh/sotruss-lib.c: New file.
5717 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5719 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5723 2013-12-05 Joseph Myers <joseph@codesourcery.com>
5726 * math/w_tgamma.c: Include <errno.h>.
5727 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5728 * math/w_tgammaf.c: Include <errno.h>.
5729 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5730 * math/w_tgammal.c: Include <errno.h>.
5731 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5732 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5733 underflow. Add more tgamma tests.
5734 * math/auto-libm-test-out: Regenerated.
5735 * sysdeps/i386/fpu/libm-test-ulps: Update.
5736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5738 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5739 sin, sinh, tan, tanh, tgamma, y0 and y1.
5740 * math/auto-libm-test-out: Regenerated.
5741 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5742 (TEST_COND_x86): Likewise.
5743 (M_E2l): Remove macro.
5745 (M_2_SQRT_PIl): Likewise.
5746 (M_SQRT_PIl): Likewise.
5747 (M_1_DIV_El): Likewise.
5748 (log_test_data): Use AUTO_TESTS_f_f.
5749 (log10_test_data): Likewise.
5750 (log1p_test_data): Likewise.
5751 (log2_test_data): Likewise.
5752 (sin_test_data): Likewise.
5753 (sin_tonearest_test_data): Likewise.
5754 (sin_towardzero_test_data): Likewise.
5755 (sin_downward_test_data): Likewise.
5756 (sin_upward_test_data): Likewise.
5757 (sinh_test_data): Likewise.
5758 (sinh_tonearest_test_data): Likewise.
5759 (sinh_towardzero_test_data): Likewise.
5760 (sinh_downward_test_data): Likewise.
5761 (sinh_upward_test_data): Likewise.
5762 (tan_test_data): Likewise.
5763 (tan_tonearest_test_data): Likewise.
5764 (tan_towardzero_test_data): Likewise.
5765 (tan_downward_test_data): Likewise.
5766 (tan_upward_test_data): Likewise.
5767 (tanh_test_data): Likewise.
5768 (tgamma_test_data): Likewise.
5769 (y0_test_data): Likewise.
5770 (y1_test_data): Likewise.
5771 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5772 (special_real_inputs): Add pi/4.
5773 * sysdeps/i386/fpu/libm-test-ulps: Update.
5774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5776 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5778 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5779 "longjmp_target" static probes.
5780 (__longjmp): Rename to __longjmp_symbol.
5781 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5782 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5783 on which longjmp to generate.
5784 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5785 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5787 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5788 (__sigjmp_save): Rename to __sigjmp_save_symbol.
5789 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5790 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5791 and __sigjmp_save_symbol based on which sigsetjmp to generated.
5792 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5794 __longjmp_symbol based on which __longjmp to generate.
5795 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5797 (setjmp): Rename to setjmp_symbol.
5798 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5799 (_setjmp): Rename to _setjmp_symbol.
5800 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5801 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5802 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5803 which setjmp to generate.
5804 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5805 "longjmp_target" static probes.
5807 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5809 * benchtests/README: Add note about output arguments.
5810 * benchtests/bench-sincos.c: Remove file.
5811 * benchtests/sincos-inputs: New file.
5812 * scripts/bench.pl: Identify output arguments and define
5813 static variables for them.
5815 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5818 * Makefile (INSTALL): Add install-plain.texi as the primary
5820 * manual/install-plain.texi: New file.
5821 * manual/install.texi: Include node directive only for
5822 non-plaintext output.
5824 2013-12-04 Joseph Myers <joseph@codesourcery.com>
5826 * stdlib/longlong.h: Update from GCC.
5830 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5831 * math/w_j0f.c (y0f): Likewise.
5832 * math/w_j0l.c (__y0l): Likewise.
5833 * math/w_j1.c (y1): Likewise.
5834 * math/w_j1f.c (y1f): Likewise.
5835 * math/w_j1l.c (__y1l): Likewise
5836 * math/w_jn.c (yn): Likewise.
5837 * math/w_jnf.c (ynf): Likewise.
5838 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5839 Bessel function pole errors in _POSIX_ mode. Use NAN as return
5840 value for Bessel function domain errors outside _SVID_ mode.
5841 Adjust sign of return value for yn (negative integer, 0).
5842 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5843 by zero in return for negative x and set sign appropriately for
5845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5846 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5847 * math/libm-test.inc (y0_test_data): Add more tests and adjust
5848 expectations in error cases.
5849 (y1_test_data): Likewise.
5850 (yn_test_data): Likewise.
5851 * sysdeps/i386/fpu/libm-test-ulps: Update.
5852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5854 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5856 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5857 "64" to "64-v1". Add "64-v2".
5858 (abi-64-options): Rename to ...
5859 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
5860 (abi-64-condition): Rename to ...
5861 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
5862 (abi-64-ld-soname): Rename to ...
5863 (abi-64-v1-ld-soname): ... this.
5864 (abi-64-v2-options): Define.
5865 (abi-64-v2-condition): Likewise.
5866 (abi-64-v2-ld-soname): Likewise.
5867 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5868 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5873 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5874 Alan Modra <amodra@gmail.com>
5876 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5877 New versions for use with the ELFv2 ABI.
5878 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5879 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5881 (struct La_ppc64v2_retval): Likewise.
5882 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5883 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5884 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5885 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5886 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5887 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5888 Do not save or restore CR.
5889 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5890 (_dl_profile_resolve): Do no save or restore CR. Support extended
5891 return values for ELFv2 ABI. Fix location of FPR return registers.
5892 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5893 updated values for _CALL_ELF == 2.
5894 (La_regs, La_retval, int_retval): Likewise.
5896 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5898 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5899 (FRAME_MIN_SIZE_PARM): Likewise.
5900 (FRAME_BACKCHAIN): Likewise.
5901 (FRAME_CR_SAVE): Likewise.
5902 (FRAME_LR_SAVE): Likewise.
5903 (FRAME_TOC_SAVE): Likewise.
5904 (FRAME_PARM_SAVE): Likewise.
5905 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5906 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5907 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5908 (call_mcount_parm_offset): New macro.
5909 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5910 (PROF): Use symbolic stack frame offsets.
5911 (TAIL_CALL_SYSCALL_ERROR): Likewise.
5912 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5913 Redefine in terms of FRAME_MIN_SIZE.
5914 (_dl_runtime_resolve): Use symbolic stack frame offsets.
5915 (_dl_profile_resolve): Likewise. Update comment.
5916 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5917 symbols stack frame offsets.
5918 (__sigsetjmp): Likewise.
5919 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5920 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5921 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5922 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5925 (FRAME_BACKCHAIN): Remove.
5926 (FRAME_CR_SAVE): Likewise.
5927 (FRAME_LR_SAVE): Likewise.
5928 (FRAME_COMPILER_DW): Likewise.
5929 (FRAME_LINKER_DW): Likewise.
5930 (FRAME_TOC_SAVE): Likewise.
5931 (FRAME_PARM_SAVE): Likewise.
5932 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5933 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5934 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
5936 (CHECK_SP): Use symbolic stack frame offsets.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
5938 zone" instead of caller's parameter save area for temp storage.
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5940 Likewise. Also, use symbolic stack frame offsets.
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
5942 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
5943 our own stack frame instead of the caller's.
5944 (__socket): Use symbolic stack frame offsets.
5946 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5947 Alan Modra <amodra@gmail.com>
5949 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
5951 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
5952 PPC64_LOCAL_ENTRY_OFFSET): Define.
5953 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
5955 (elf_machine_fixup_plt): Call it.
5956 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
5958 (elf_machine_rela): Update call to elf_machine_plt_conflict.
5959 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5960 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
5961 r2 before calling target.
5963 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5964 Alan Modra <amodra@gmail.com>
5966 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
5967 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
5968 versions of macros to support ELFv2 ABI.
5969 (LOCALENTRY): New macro.
5970 (ENTRY, EALIGN): Use it.
5971 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
5972 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
5973 fall through into ENTRY entry point.
5974 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
5975 Only define if _CALL_ELF != 2.
5977 (elf_machine_matches_host): Verify ABI version matches.
5978 (RTLD_START): Use LOCALENTRY.
5979 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
5980 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
5981 (PLT_ENTRY_WORDS): New macro.
5982 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
5983 (elf_machine_runtime_setup): Support ELFv2 ABI.
5984 (elf_machine_fixup_plt): Likewise.
5985 (elf_machine_plt_conflict): Likewise.
5986 (resolve_ifunc): Likewise.
5987 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
5991 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5993 (makecontext): Support ELFv2 ABI.
5994 * elf/elf.h (EF_PPC64_ABI): Define.
5996 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5998 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
5999 New assembler macro.
6000 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6001 [ASSEMBLER] (ENTRY): ... but instead here ...
6002 [ASSEMBLER] (EALIGN): ... and here.
6003 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6004 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6005 [!ASSEMBLER] (ENTRY_2): Use it.
6006 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6007 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6008 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6009 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6010 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6012 Use PPC64_LOAD_FUNCPTR.
6014 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6016 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6018 2013-12-04 Alan Modra <amodra@gmail.com>
6020 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6021 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6022 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6023 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6025 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6026 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6027 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6028 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6029 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6030 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6032 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6035 (__makecontext): Fix incorrect CFI when backtracing out of
6036 context created via makecontext.
6037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6038 (__setcontext): Fix incorrect CFI during switch to new context.
6039 (__novec_setcontext): Likewise.
6041 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6044 * time/strptime_l.c (__strptime_internal): Allow modifiers
6046 * time/tst-strptime.c (day_tests): Add testcase.
6049 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6051 * scripts/bench.pl: Skip over blank lines.
6053 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6056 * manual/time.texi (Calendar Time): Clarify what timezone functions
6059 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6063 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6065 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6067 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6068 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6069 * debug/memset_chk.c (__memset_chk): Likewise.
6070 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6071 * debug/strncpy_chk.c: Likewise.
6073 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6077 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6078 (__ieee754_exp): For possibly underflowing results, check size of
6079 result and force underflow exception if required.
6080 * math/auto-libm-test-in: Add more tests of exp.
6081 * math/auto-libm-test-out: Regenerated.
6082 * sysdeps/i386/fpu/libm-test-ulps: Update.
6083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6086 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6087 * math/w_exp2f.c (__exp2f): Likewise.
6088 * math/w_exp2l.c (__exp2l): Likewise.
6089 * math/auto-libm-test-in: Do not allow missing errno on exp2
6091 * math/auto-libm-test-out: Regenerated.
6093 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
6096 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6097 handle filename validation.
6098 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6101 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6104 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6105 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6106 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6108 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6109 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6110 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6112 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6113 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6114 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6115 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6116 Add more erfc tests.
6117 * math/auto-libm-test-out: Regenerated.
6118 * sysdeps/i386/fpu/libm-test-ulps: Update.
6119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6121 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6122 exp2, expm1, j0 and j1.
6123 * math/auto-libm-test-out: Regenerated.
6124 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6125 (erfc_test_data): Likewise.
6126 (exp_test_data): Likewise.
6127 (exp_tonearest_test_data): Likewise.
6128 (exp_towardzero_test_data): Likewise.
6129 (exp_downward_test_data): Likewise.
6130 (exp_upward_test_data): Likewise.
6131 (exp10_test_data): Likewise.
6132 (exp2_test_data): Likewise.
6133 (expm1_test_data): Likewise.
6134 (j0_test_data): Likewise.
6135 (j1_test_data): Likewise.
6136 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6137 (input_flag_type): Add flag_xfail_rounding.
6138 (input_flags): Add xfail-rounding.
6139 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6140 (output_for_one_input_case): Handle flag_xfail_rounding.
6141 * sysdeps/i386/fpu/libm-test-ulps: Update.
6142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6144 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6147 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6150 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6153 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6154 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6155 (STAP_PROBE0): New macro.
6156 (STAP_PROBE1): Likewise.
6157 (STAP_PROBE2): Likewise.
6158 (STAP_PROBE3): Likewise.
6159 (STAP_PROBE4): Likewise.
6161 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
6163 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6165 2013-12-02 Steve Ellcey <sellcey@mips.com>
6167 * benchtests/Makefile (bench): Add sqrt.
6168 (LDLIBS-bench-sqrt): New.
6169 * benchtests/sqrt-input: New.
6171 2013-12-02 Pavel Simerda <psimerda@redhat.com>
6173 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6174 (GAIH_EAI): Likewise.
6175 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6176 (gaih_inet): Likewise.
6177 (getaddrinfo): Don't use GAIH_EAI.
6179 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6180 (struct gaih): Remove definition.
6182 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6184 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6185 Use HERRNOP directly.
6187 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6191 2013-11-30 Joseph Myers <joseph@codesourcery.com>
6193 * math/gen-auto-libm-tests.c (test_functions): Add more
6194 single-argument functions.
6195 (special_fill_pi_2): New function.
6196 (special_fill_minus_pi_2): Likewise.
6197 (special_fill_pi_6): Likewise.
6198 (special_fill_minus_pi_6): Likewise.
6199 (special_fill_pi_3): Likewise.
6200 (special_fill_2pi_3): Likewise.
6201 (special_fill_e): Likewise.
6202 (special_fill_1_e): Likewise.
6203 (special_fill_e_minus_1): Likewise.
6204 (special_real_inputs): Add more special inputs.
6205 (output_for_one_input_case): Do not require ERANGE on underflow to
6206 zero if round-to-nearest result does not underflow to zero, unless
6207 exact results required.
6208 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6209 atan, atanh, cbrt, cos and cosh.
6210 * math/auto-libm-test-out: Regenerated.
6211 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6212 (acos_tonearest_test_data): Likewise.
6213 (acos_towardzero_test_data): Likewise.
6214 (acos_downward_test_data): Likewise.
6215 (acos_upward_test_data): Likewise.
6216 (acosh_test_data): Likewise.
6217 (asin_test_data): Likewise.
6218 (asin_tonearest_test_data): Likewise.
6219 (asin_towardzero_test_data): Likewise.
6220 (asin_upward_test_data): Likewise.
6221 (asinh_test_data): Likewise.
6222 (atan_test_data): Likewise.
6223 (atanh_test_data): Likewise.
6224 (cbrt_test_data): Likewise.
6225 (cos_test_data): Likewise.
6226 (cos_tonearest_test_data): Likewise.
6227 (cos_towardzero_test_data): Likewise.
6228 (cos_downward_test_data): Likewise.
6229 (cos_upward_test_data): Likewise.
6230 (cosh_test_data): Likewise.
6231 (cosh_tonearest_test_data): Likewise.
6232 (cosh_towardzero_test_data): Likewise.
6233 (cosh_downward_test_data): Likewise.
6234 (cosh_upward_test_data): Likewise.
6235 * sysdeps/i386/fpu/libm-test-ulps: Update.
6236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6238 2013-11-29 Joseph Myers <joseph@codesourcery.com>
6241 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6242 * math/w_exp10f.c (__exp10f): Likewise.
6243 * math/w_exp10l.c (__exp10l): Likewise.
6244 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6245 errno settings in existing tests.
6248 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6249 precision control set to double precision.
6250 * sysdeps/i386/fpu/w_sqrt.c: New file.
6251 * math/auto-libm-test-in: Add more tests.
6252 * math/auto-libm-test-out: Update.
6254 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6255 (sqrt_test_tonearest): New function.
6256 (sqrt_towardzero_test_data): New variable.
6257 (sqrt_test_towardzero): New function.
6258 (sqrt_downward_test_data): New variable.
6259 (sqrt_test_downward): New function.
6260 (sqrt_upward_test_data): New variable.
6261 (sqrt_test_upward): New function.
6262 (main): Call the new functions.
6264 * math/gen-auto-libm-tests.c: New file.
6265 * math/auto-libm-test-in: Likewise.
6266 * math/auto-libm-test-out: New generated file.
6267 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6269 (%beautify): Add generated representations of zero.
6270 (top level): Set $auto_input and call parse_auto_input.
6271 (beautify): Remove trailing "f" from hex float constants.
6272 (parse_args): Handle XFAIL_TEST.
6273 (convert_condition): New function.
6274 (or_value): Likewise.
6275 (or_cond_value): Likewise.
6276 (generate_testfile): Handle AUTO_TESTS_* lines.
6277 (parse_auto_input): New function.
6278 * math/libm-test.inc (XFAIL_TEST): New macro.
6279 (ERRNO_UNCHANGED): Update value.
6280 (ERRNO_EDOM): Likewise.
6281 (ERRNO_ERANGE): Likewise.
6282 (IGNORE_RESULT): Likewise.
6283 (TEST_COND_flt_32): New macro.
6284 (TEST_COND_dbl_64): Likewise.
6285 (TEST_COND_ldbl_96_intel): Likewise.
6286 (TEST_COND_ldbl_96_m68k): Likewise.
6287 (TEST_COND_ldbl_128): Likewise.
6288 (TEST_COND_ldbl_128ibm): Likewise.
6289 (TEST_COND_long32): Likewise.
6290 (TEST_COND_long64): Likewise.
6291 (TEST_COND_before_rounding): Likewise.
6292 (TEST_COND_after_rounding): Likewise.
6293 (enable_test): Handle XFAIL_TEST flag.
6294 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6295 with finite results.
6296 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6299 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6300 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6303 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6304 __tls_get_addr_internal instead of __tls_get_offset in order to
6305 avoid GOT pointer dependency. Make rtld export
6306 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6307 __tls_get_addr since we are a __tls_get_offset platform.
6308 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6309 GOT pointer being set up before.
6310 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6312 2013-11-28 Joseph Myers <joseph@codesourcery.com>
6314 * manual/math.texi (Errors in Math Functions): Document accuracy
6318 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6319 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6322 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6324 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6335 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6336 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6337 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6338 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6339 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6341 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6343 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6345 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6346 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6347 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6348 atomic-feupdateenv and flt-rounds.
6349 * sysdeps/powerpc/nofpu/Versions (libc): Add
6350 __atomic_feholdexcept, __atomic_feclearexcept,
6351 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6352 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6353 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6354 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6355 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6360 * manual/arith.texi (FP Exceptions): Document that exceptions may
6361 not be raised when matherr is used.
6362 (Math Error Reporting): Document overflow in directed rounding
6363 modes. Document that errno may not be set when finite values are
6364 returned on overflow. Document intent to set errno on underflow
6365 only for underflow to zero.
6368 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6369 round-to-nearest then adjust result for other rounding modes.
6370 * include/fenv.h (fegetround): Use libm_hidden_proto.
6371 * math/fegetround.c (fegetround): Use libm_hidden_def.
6372 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6373 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6374 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6375 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6377 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6378 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6379 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6380 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6382 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6385 * nss/Versions (libnss_files): Add
6386 _nss_files_gethostbyname3_r.
6387 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6389 (HOST_DB_LOOKUP): Remove macro.
6390 (_nss_files_gethostbyname_r): Implement function without the
6391 HOST_DB_LOOKUP macro.
6392 (_nss_files_gethostbyname2_r): Likewise.
6394 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
6396 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6398 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
6400 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6401 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6404 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6406 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6407 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6408 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6409 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6410 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6411 __fe_nomask_env_priv and attribute_hidden.
6412 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6413 (libc_feupdateenv_test_ppc): Likewise.
6414 (libc_feresetround_ppc): Likewise.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6416 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6417 compat_symbol macro.
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6419 (__fe_nomask_env): Likewise.
6420 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6422 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6424 * string/Makefile: Remove ifunc tests.
6425 * string/test-string.h: Define TEST_IFUNC.
6426 * string/test-bcopy-ifunc.c: Remove.
6427 * string/test-bzero-ifunc.c: Likewise.
6428 * string/test-memccpy-ifunc.c: Likewise.
6429 * string/test-memchr-ifunc.c: Likewise.
6430 * string/test-memcmp-ifunc.c: Likewise.
6431 * string/test-memcpy-ifunc.c: Likewise.
6432 * string/test-memmem-ifunc.c: Likewise.
6433 * string/test-memmove-ifunc.c: Likewise.
6434 * string/test-mempcpy-ifunc.c: Likewise.
6435 * string/test-memrchr-ifunc.c: Likewise.
6436 * string/test-memset-ifunc.c: Likewise.
6437 * string/test-rawmemchr-ifunc.c: Likewise.
6438 * string/test-stpcpy-ifunc.c: Likewise.
6439 * string/test-stpncpy-ifunc.c: Likewise.
6440 * string/test-strcasecmp-ifunc.c: Likewise.
6441 * string/test-strcasestr-ifunc.c: Likewise.
6442 * string/test-strcat-ifunc.c: Likewise.
6443 * string/test-strchr-ifunc.c: Likewise.
6444 * string/test-strchrnul-ifunc.c: Likewise.
6445 * string/test-strcmp-ifunc.c: Likewise.
6446 * string/test-strcpy-ifunc.c: Likewise.
6447 * string/test-strcspn-ifunc.c: Likewise.
6448 * string/test-strlen-ifunc.c: Likewise.
6449 * string/test-strncasecmp-ifunc.c: Likewise.
6450 * string/test-strncat-ifunc.c: Likewise.
6451 * string/test-strncmp-ifunc.c: Likewise.
6452 * string/test-strncpy-ifunc.c: Likewise.
6453 * string/test-strnlen-ifunc.c: Likewise.
6454 * string/test-strpbrk-ifunc.c: Likewise.
6455 * string/test-strrchr-ifunc.c: Likewise.
6456 * string/test-strspn-ifunc.c: Likewise.
6457 * string/test-strstr-ifunc.c: Likewise.
6459 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6461 * benchtests/Makefile: Remove ifunc tests.
6462 * benchtests/bench-string.h: Define TEST_IFUNC.
6463 * benchtests/bench-bcopy-ifunc.c: Remove.
6464 * benchtests/bench-bzero-ifunc.c: Likewise.
6465 * benchtests/bench-memccpy-ifunc.c: Likewise.
6466 * benchtests/bench-memchr-ifunc.c: Likewise.
6467 * benchtests/bench-memcmp-ifunc.c: Likewise.
6468 * benchtests/bench-memcpy-ifunc.c: Likewise.
6469 * benchtests/bench-memmem-ifunc.c: Likewise.
6470 * benchtests/bench-memmove-ifunc.c: Likewise.
6471 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6472 * benchtests/bench-memrchr-ifunc.c: Likewise.
6473 * benchtests/bench-memset-ifunc.c: Likewise.
6474 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6475 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6476 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6477 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6478 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6479 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6480 * benchtests/bench-strcat-ifunc.c: Likewise.
6481 * benchtests/bench-strchr-ifunc.c: Likewise.
6482 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6483 * benchtests/bench-strcmp-ifunc.c: Likewise.
6484 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6485 * benchtests/bench-strcpy-ifunc.c: Likewise.
6486 * benchtests/bench-strcspn-ifunc.c: Likewise.
6487 * benchtests/bench-strlen-ifunc.c: Likewise.
6488 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6489 * benchtests/bench-strncat-ifunc.c: Likewise.
6490 * benchtests/bench-strncmp-ifunc.c: Likewise.
6491 * benchtests/bench-strncpy-ifunc.c: Likewise.
6492 * benchtests/bench-strnlen-ifunc.c: Likewise.
6493 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6494 * benchtests/bench-strrchr-ifunc.c: Likewise.
6495 * benchtests/bench-strsep-ifunc.c: Likewise.
6496 * benchtests/bench-strspn-ifunc.c: Likewise.
6497 * benchtests/bench-strstr-ifunc.c: Likewise.
6499 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6501 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6503 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6505 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6506 * rt/aio.h: Likewise.
6507 * sysdeps/gnu/bits/utmp.h: Likewise.
6508 * sysdeps/gnu/bits/utmpx.h: Likewise.
6509 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6510 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6511 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6512 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6513 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6514 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6515 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6516 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6517 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6518 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6519 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6520 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6521 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6523 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6524 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6525 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6526 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6527 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6528 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6529 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6530 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6531 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6532 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6533 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6535 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6537 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6538 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6539 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6540 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6541 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6542 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6543 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6544 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6545 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6546 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6547 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6548 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6549 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6550 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6552 2013-11-25 Carlos O'Donell <carlos@redhat.com>
6555 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6556 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6558 2013-11-25 Joseph Myers <joseph@codesourcery.com>
6560 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6561 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6564 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6566 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6567 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6568 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6569 (__fesetround): Remove define.
6570 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6571 rounding and exceptions handling.
6572 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6573 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6574 (__fe_nomask_env): Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6576 __fegetround instead of fegetround.
6577 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6580 2013-11-21 Roland McGrath <roland@hack.frob.com>
6582 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6585 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6587 2013-11-21 Meador Inge <meadori@codesourcery.com>
6590 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6591 (encrypt_r): Likewise.
6592 * malloc/obstack.h (obstack_free): Likewise.
6593 * posix/unistd.h (encrypt): Likewise.
6595 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6597 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6598 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6599 DL_CALL_DT_FINI() that call the functions directly.
6600 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6601 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6602 * elf/dl-fini.c: Likewise.
6604 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
6606 * malloc/hooks.c (memalign_check): Add alignment rounding.
6607 * malloc/malloc.c (_mid_memalign): New function.
6608 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6609 Implement by calling _mid_memalign.
6610 * manual/probes.texi (Memory Allocation Probes): Remove
6611 memory_valloc_retry and memory_pvalloc_retry.
6613 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6615 * locale/programs/locarchive.c (open_archive): Add const
6616 qualifier to ARCHIVEFNAME and copy default fname to
6620 * libio/tst-widetext.input: Rename Oriya to Odia.
6621 * locale/iso-639.def: Likewise.
6623 * manual/probes.texi (Mathematical Function Probes): Add
6624 documentation for sin, cos, asin and acos probes.
6625 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6626 (__sin32): Add slowasin probe.
6627 (__cos32): Add slowacos probe.
6628 (__mpsin): Add slowsin probe.
6629 (__mpcos): Add slowcos probe.
6631 2013-11-19 Joseph Myers <joseph@codesourcery.com>
6634 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6635 thread-local __sim_exceptions_thread and global
6636 __sim_exceptions_global.
6637 (__sim_disabled_exceptions): Change to thread-local
6638 __sim_disabled_exceptions_thread and global
6639 __sim_disabled_exceptions_global.
6640 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6641 and global __sim_round_mode_global.
6642 (__simulate_exceptions): Use thread-local floating-point state and
6643 set global state from it as needed.
6644 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6645 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6646 __sim_round_mode_thread.
6647 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6648 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6649 and global __sim_exceptions_global.
6650 (__sim_disabled_exceptions): Change to thread-local
6651 __sim_disabled_exceptions_thread and global
6652 __sim_disabled_exceptions_global.
6653 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6654 and global __sim_round_mode_global.
6655 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6656 (SIM_SET_GLOBAL): Likewise.
6657 * sysdeps/powerpc/soft-fp/sfp-machine.h
6658 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6659 __sim_round_mode_thread.
6660 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6661 __sim_disabled_exceptions_thread.
6662 (__sim_exceptions): Change to __sim_exceptions_thread.
6663 (__sim_disabled_exceptions): Change to
6664 __sim_disabled_exceptions_thread.
6665 (__sim_round_mode): Change to __sim_round_mode_thread.
6666 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6667 thread-local floating-point state and set global state from it as
6669 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6670 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6671 (__sim_disabled_exceptions): Remove extern declaration.
6672 (feenableexcept): Use thread-local floating-point state and set
6673 global state from it as needed.
6674 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6676 (__sim_disabled_exceptions): Likewise.
6677 (__sim_round_mode): Likewise.
6678 (__fegetenv): Use thread-local floating-point state.
6679 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6680 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6681 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6682 floating-point state and set global state from it as needed.
6683 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6684 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6685 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6687 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6688 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6690 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6691 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6692 Use __sim_round_mode_thread.
6693 * math/test-fenv-tls.c: New file.
6694 * math/Makefile (tests): Add test-fenv-tls.
6695 ($(objpfx)test-fenv-tls): Depend on
6696 $(common-objpfx)nptl/libpthread.so.
6698 2013-11-19 Andreas Schwab <schwab@suse.de>
6700 * locale/programs/locale.c (show_info): Decode wordarray elements.
6701 * locale/categories.def (LC_MONETARY): Add element for
6702 _NL_MONETARY_CRNCYSTR.
6703 * locale/C-monetary.c (conversion_rate): New variable.
6704 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6707 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6709 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6710 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6712 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6714 * elf/Makefile (tst-auxv): New test.
6715 * elf/tst-auxv.c: New
6716 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6718 2013-11-18 Joseph Myers <joseph@codesourcery.com>
6720 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6721 (hidden_proto): Caller changed.
6722 (hidden_tls_proto): New macro.
6723 (libc_hidden_tls_proto): Likewise.
6724 (rtld_hidden_tls_proto): Likewise.
6725 (libm_hidden_tls_proto): Likewise.
6726 (libresolv_hidden_tls_proto): Likewise.
6727 (librt_hidden_tls_proto): Likewise.
6728 (libdl_hidden_tls_proto): Likewise.
6729 (libnss_files_hidden_tls_proto): Likewise.
6730 (libnsl_hidden_tls_proto): Likewise.
6731 (libnss_nisplus_hidden_tls_proto): Likewise.
6732 (libutil_hidden_tls_proto): Likewise.
6734 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
6737 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6738 (decompose_rpath): Defer expansion to fillin_rpath.
6739 (_dl_init_paths): Pass linkmap to fillin_rpath.
6741 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6743 * benchtests/Makefile: Add strsep.
6744 * benchtests/bench-strsep.c: New file: strsep benchtest.
6745 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6747 2013-11-18 Andreas Schwab <schwab@suse.de>
6749 * locale/programs/locale.c (show_info) [case byte]: Check for
6750 '\377' instead of '\177'.
6751 * locale/C-monetary.c (not_available): Always use "\377".
6752 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6753 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
6754 detect unavailable sign_posn locale elements.
6755 * locale/localeconv.c (__localeconv): For grouping and
6756 mon_grouping handle "\177" and "\377" like no grouping.
6757 (INT_ELEM): New macro. Use it to set all numeric members.
6758 * locale/programs/ld-monetary.c (monetary_read)
6759 <tok_mon_grouping>: Normalize single -1 to the empty string.
6760 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6763 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
6766 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6767 when we match (nil).
6768 * stdio-common/tst-sscanf.c (struct test): Add testcase.
6770 2013-11-16 Joseph Myers <joseph@codesourcery.com>
6772 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6773 (NO_TEST_INLINE): Update value.
6774 (ERRNO_UNCHANGED): Likewise.
6775 (ERRNO_EDOM): Likewise.
6776 (ERRNO_ERANGE): Likewise.
6777 (IGNORE_RESULT): Likewise.
6778 (check_float_internal): Check signs of NaN results if
6780 (check_complex): Pass TEST_NAN_SIGN flag through to second
6781 check_float_internal call.
6782 (copysign_test_data): Add tests with quiet NaNs as second
6783 argument. Use TEST_NAN_SIGN.
6784 (fabs_test_data): Add test of negative quiet NaN argument. Use
6786 (signbit_test_data): Add tests of quiet NaN argument.
6787 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6789 * math/gen-libm-test.pl (show_exceptions): Take extra argument
6791 (parse_args): Handle function results specified as IGNORE.
6792 * math/libm-test.inc (IGNORE_RESULT): New macro.
6793 (check_float_internal): Do not check numerical result if flag
6795 (check_complex): Pass through IGNORE_RESULT to second
6796 check_float_internal call.
6797 (check_int): Do not check numerical result if flag IGNORE_RESULT
6799 (check_long): Likewise.
6800 (check_bool): Likewise.
6801 (check_longlong): Likewise.
6802 (lrint_test_data): Add tests of infinite and NaN arguments.
6803 (lrint_tonearest_test_data): Likewise.
6804 (lrint_towardzero_test_data): Likewise.
6805 (lrint_downward_test_data): Likewise.
6806 (lrint_upward_test_data): Likewise.
6807 (llrint_test_data): Likewise.
6808 (llrint_tonearest_test_data): Likewise.
6809 (llrint_towardzero_test_data): Likewise.
6810 (llrint_downward_test_data): Likewise.
6811 (llrint_upward_test_data): Likewise.
6812 (lround_test_data): Likewise.
6813 (llround_test_data): Likewise.
6815 * math/libm-test.inc (NO_TEST_INLINE): New macro.
6816 (ERRNO_UNCHANGED): Update value.
6817 (ERRNO_EDOM): Likewise.
6818 (ERRNO_ERANGE): Likewise.
6819 (NO_TEST_INLINE_FLOAT): New macro.
6820 (NO_TEST_INLINE_DOUBLE): Likewise.
6821 (enable_test): New function.
6822 (RUN_TEST_f_f): Check enable_test before running test.
6823 (RUN_TEST_2_f): Likewise.
6824 (RUN_TEST_fff_f): Likewise.
6825 (RUN_TEST_c_f): Likewise.
6826 (RUN_TEST_f_f1): Likewise.
6827 (RUN_TEST_fF_f1): Likewise.
6828 (RUN_TEST_fI_f1): Likewise.
6829 (RUN_TEST_ffI_f1): Likewise.
6830 (RUN_TEST_c_c): Likewise.
6831 (RUN_TEST_cc_c): Likewise.
6832 (RUN_TEST_f_i): Likewise.
6833 (RUN_TEST_f_i_tg): Likewise.
6834 (RUN_TEST_ff_i_tg): Likewise.
6835 (RUN_TEST_f_b): Likewise.
6836 (RUN_TEST_f_b_tg): Likewise.
6837 (RUN_TEST_f_l): Likewise.
6838 (RUN_TEST_f_L): Likewise.
6839 (RUN_TEST_fFF_11): Likewise.
6840 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6842 (cosh_test_data): Likewise.
6843 (exp_test_data): Likewise.
6844 (expm1_test_data): Likewise.
6845 (hypot_test_data): Likewise.
6846 (pow_test_data): Likewise.
6847 (sinh_test_data): Likewise.
6848 (tanh_test_data): Likewise.
6849 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6852 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6853 tests with quiet NaN input and output.
6854 (acosh_test_data): Likewise.
6855 (asin_test_data): Likewise.
6856 (asinh_test_data): Likewise.
6857 (atan_test_data): Likewise.
6858 (atanh_test_data): Likewise.
6859 (atan2_test_data): Likewise.
6860 (cbrt_test_data): Likewise.
6861 (cos_test_data): Likewise.
6862 (cosh_test_data): Likewise.
6863 (erf_test_data): Likewise.
6864 (erfc_test_data): Likewise.
6865 (exp_test_data): Likewise.
6866 (exp10_test_data): Likewise.
6867 (exp2_test_data): Likewise.
6868 (expm1_test_data): Likewise.
6869 (hypot_test_data): Likewise.
6870 (j0_test_data): Likewise.
6871 (j1_test_data): Likewise.
6872 (jn_test_data): Likewise.
6873 (lgamma_test_data): Likewise.
6874 (log_test_data): Likewise.
6875 (log10_test_data): Likewise.
6876 (log1p_test_data): Likewise.
6877 (log2_test_data): Likewise.
6878 (pow_test_data): Likewise.
6879 (scalb_test_data): Likewise.
6880 (sin_test_data): Likewise.
6881 (sincos_test_data): Likewise.
6882 (sinh_test_data): Likewise.
6883 (tan_test_data): Likewise.
6884 (tanh_test_data): Likewise.
6885 (tgamma_test_data): Likewise.
6886 (y0_test_data): Likewise.
6887 (y1_test_data): Likewise.
6888 (yn_test_data): Likewise.
6891 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6892 argument being NaN and avoid computations with second argument in
6894 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6895 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6896 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6898 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
6900 * locale/iso-639.def: Add Chitwani Tharu (the).
6902 2013-11-14 Andreas Schwab <schwab@suse.de>
6904 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6905 word instead of empty string.
6907 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6910 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6912 (__fe_nomask_env): Likewise.
6914 2013-11-13 Steve Ellcey <sellcey@mips.com>
6916 * benchtests/bench-timing.h: Include time.h.
6918 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
6921 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6923 * sysdeps/unix/sysv/linux/configure: Regenerated.
6925 2013-11-13 Joseph Myers <joseph@codesourcery.com>
6928 * stdlib/strtod_l.c (round_and_return): Do not consider
6929 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6930 exponent one less than half the least subnormal exponent.
6931 * stdlib/test-strtod-round-data: Add more tests.
6932 * stdlib/tst-strtod-round.c (tests): Regenerated.
6934 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6937 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
6938 (__fe_mask_env): Likewise.
6939 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
6940 libm_hidden_proto and add function prototype.
6941 (__fe_mask_env): Add function prototype.
6942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6943 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
6944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6945 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6947 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
6949 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6951 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
6952 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
6954 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6956 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
6957 of htab_find_slot().
6959 2013-11-11 David S. Miller <davem@davemloft.net>
6962 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
6963 symbol in the non-vis3 case in static builds.
6964 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
6965 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
6966 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
6967 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
6969 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6972 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
6975 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6977 * benchtests/Makefile: Add bench-strtod.
6978 * benchtests/bench-strtod.c: New file: strtod benchtest
6980 2013-11-11 Andreas Schwab <schwab@suse.de>
6983 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
6984 terminating NUL in key length.
6986 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6989 Add artificial ODP entry for vDSO symbol for PPC64.
6990 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
6991 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6993 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
6996 * nss/getent.c (services_keys): Recognize services starting with digit.
6998 2013-11-06 David S. Miller <davem@davemloft.net>
7001 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7002 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7004 2013-11-06 Will Newton <will.newton@linaro.org>
7006 * manual/memory.texi (Malloc Examples): Remove register
7007 keyword from examples.
7009 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7011 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7013 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7016 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7017 depending on [__GCC_IEC_559 > 0].
7018 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7019 depending on [__GCC_IEC_559_COMPLEX > 0].
7021 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
7023 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7026 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
7028 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7030 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
7033 * malloc/malloc (malloc_info): Do not handle first bin as
7036 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
7038 * locale/iso-639.def: Add Central Nahuatl (nhn).
7040 2013-11-01 Bruno Haible <bruno@clisp.org>
7043 * manual/math.texi (BSD Random): Specify range upper bound as
7046 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
7048 * locale/iso-639.def: Add Meadow Mari (mhr).
7050 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
7052 [BZ #14752], [BZ #15763]
7053 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7055 * rt/tst_shm.c: Add test for escaping directory.
7057 2013-10-31 Andreas Schwab <schwab@suse.de>
7060 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7061 followed by 'x' as part of digit sequence.
7062 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7064 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7067 * configure.ac: allow GNU Make 4.0 and greater.
7068 * configure: Regenerated.
7070 2013-10-30 Will Newton <will.newton@linaro.org>
7073 * malloc/hooks.c (memalign_check): Limit alignment to the
7074 maximum representable power of two.
7075 * malloc/malloc.c (__libc_memalign): Likewise.
7076 * malloc/tst-memalign.c (do_test): Add test for very
7077 large alignment values.
7078 * malloc/tst-posix_memalign.c (do_test): Likewise.
7080 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7083 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7084 (munmap_chunk): Likewise.
7085 (mremap_chunk): Likewise.
7087 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7090 * stdlib/div.c (div): Remove obsolete code.
7091 * stdlib/ldiv.c (ldiv): Likewise.
7092 * stdlib/lldiv.c (lldiv): Likewise.
7094 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7097 * nss/nss_files/files-XXX.c (get_contents_ret): New
7099 (get_contents): New function.
7100 (internal_getent): Use it. Expand size of LINEBUFLEN.
7102 2013-10-30 Mike Frysinger <vapier@gentoo.org>
7104 * configure.in: Moved to ...
7105 * configure.ac: ... here. Change reference to configure.in
7107 * sysdeps/arm/preconfigure.ac: ... here.
7108 configure.in to configure.ac.
7109 * sysdeps/gnu/configure.in: Moved to ...
7110 * sysdeps/gnu/configure.ac: ... here.
7111 * sysdeps/i386/configure.in: Moved to ...
7112 * sysdeps/i386/configure.ac: ... here.
7113 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7114 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7115 * sysdeps/mach/configure.in: Moved to ...
7116 * sysdeps/mach/configure.ac: ... here.
7117 * sysdeps/mach/hurd/configure.in: Moved to ...
7118 * sysdeps/mach/hurd/configure.ac: ... here.
7119 * sysdeps/powerpc/configure.in: Moved to ...
7120 * sysdeps/powerpc/configure.ac: ... here.
7121 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7122 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7123 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7124 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7125 * sysdeps/s390/s390-32/configure.in: Moved to ...
7126 * sysdeps/s390/s390-32/configure.ac: ... here.
7127 * sysdeps/s390/s390-64/configure.in: Moved to ...
7128 * sysdeps/s390/s390-64/configure.ac: ... here.
7129 * sysdeps/sh/configure.in: Moved to ...
7130 * sysdeps/sh/configure.ac: ... here.
7131 * sysdeps/sparc/configure.in: Moved to ...
7132 * sysdeps/sparc/configure.ac: ... here.
7133 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7134 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7135 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7136 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7137 * sysdeps/x86_64/configure.in: Moved to ...
7138 * sysdeps/x86_64/configure.ac: ... here.
7139 * sysdeps/x86_64/preconfigure.in: Moved to ...
7140 * sysdeps/x86_64/preconfigure.ac: ... here.
7141 * aclocal.m4: Change reference to configure.in to configure.ac.
7142 * config.h.in: Likewise.
7143 * manual/install.texi: Likewise.
7144 * manual/maint.texi: Likewise.
7145 * Makefile: Likewise.
7146 * malloc/Makefile: Likewise.
7147 * nscd/Makefile: Likewise.
7148 * Makeconfig: Change reference to configure.in and
7149 preconfigure.in to configure.ac and preconfigure.ac
7151 * INSTALL: Regenerated.
7152 * configure: Likewise.
7153 * sysdeps/gnu/configure: Likewise.
7154 * sysdeps/i386/configure: Likewise.
7155 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7156 * sysdeps/mach/configure: Likewise.
7157 * sysdeps/mach/hurd/configure: Likewise.
7158 * sysdeps/powerpc/configure: Likewise.
7159 * sysdeps/powerpc/powerpc32/configure: Likewise.
7160 * sysdeps/powerpc/powerpc64/configure: Likewise.
7161 * sysdeps/s390/s390-32/configure: Likewise.
7162 * sysdeps/s390/s390-64/configure: Likewise.
7163 * sysdeps/sh/configure: Likewise.
7164 * sysdeps/sparc/configure: Likewise.
7165 * sysdeps/unix/sysv/linux/configure: Likewise.
7166 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7167 * sysdeps/x86_64/configure: Likewise.
7168 * sysdeps/x86_64/preconfigure: Likewise.
7170 2013-10-29 Andreas Schwab <schwab@suse.de>
7172 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7174 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7176 * benchtests/pow-inputs: Add new inputs.
7178 * benchtests/exp-inputs: Add new inputs.
7180 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7181 conditional check for return value.
7182 (__cos32): Likewise.
7184 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7186 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7187 to provide a boost for large inputs with word alignment.
7188 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7189 implementation based on optimized PPC64 strcpy.
7190 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7191 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7192 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7193 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7195 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7198 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7200 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7203 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7204 * time/tst-strptime.c (day_tests): Add testcase.
7206 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7209 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7211 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7214 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7215 MAP_FAILED on error.
7217 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7220 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7221 heap for large requests.
7223 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7226 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7227 result if the result has no associated interface.
7228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7229 interface for all 127.X.Y.Z addresses.
7231 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
7233 * locale/iso-639.def: Add Ligurian (lij)
7235 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
7238 * sunrpc/rpc_main.c: Document rpcgen -5.
7240 2013-10-19 Michael Stahl <mstahl@redhat.com>
7242 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7244 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7247 * posix/glob.c: Match only directories when trailing slash is present.
7248 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7249 (main): Add testcase.
7251 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7254 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7256 2013-10-18 Carlos O'Donell <carlos@redhat.com>
7258 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7259 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7260 AUTH_DES and cindex for FIPS 140-2.
7261 (DES Encryption): Add cindex FIPS 46-3.
7263 * locale/locarchive.h (struct locarhandle): Add fname.
7264 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7265 if an optional argument was specified to --list-archive,
7267 * locale/programs/locarchive.c (show_archive_content): Take new
7268 argument fname and pass it via ah.fname to open_archive.
7269 * locale/programs/localedef.h: Update decl.
7270 (open_archive): If AH->fname is non-null, open that file
7271 rather than the default file name, and don't ignore ENOENT.
7272 (create_archive): Set AH.fname to NULL.
7273 (delete_locales_from_archive): Likewise.
7274 (add_locales_to_archive): Likewise.
7275 * locale/programs/locfile.c (write_all_categories): Likewise.
7277 2013-10-18 Joseph Myers <joseph@codesourcery.com>
7278 Aldy Hernandez <aldyh@redhat.com>
7280 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7281 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7282 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7283 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7284 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7285 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7286 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7287 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7288 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7289 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7290 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7291 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7292 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7293 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7294 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7296 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7298 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7300 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7302 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7303 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7305 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7306 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7307 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7308 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7310 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7311 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7312 * sysdeps/powerpc/preconfigure: Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7315 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7316 Replace contents of file by #include of <fenv_libc.h>.
7317 * sysdeps/powerpc/soft-fp/sfp-machine.h
7318 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7320 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7322 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7323 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7324 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7325 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7327 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7328 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7329 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7330 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7331 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7333 Allow copysignl PLT reference to be missing.
7335 2013-10-18 Richard Sandiford <richard@codesourcery.com>
7336 Joseph Myers <joseph@codesourcery.com
7339 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7341 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7343 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7345 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7346 * elf/tst-tls1.c: Likewise.
7347 * elf/tst-tls10.h: Likewise.
7348 * elf/tst-tls14.c: Likewise.
7349 * elf/tst-tls2.c: Likewise.
7350 * elf/tst-tls3.c: Likewise.
7351 * elf/tst-tls4.c: Likewise.
7352 * elf/tst-tls5.c: Likewise.
7353 * elf/tst-tls6.c: Likewise.
7354 * elf/tst-tls7.c: Likewise.
7355 * elf/tst-tls8.c: Likewise.
7356 * elf/tst-tls9.c: Likewise.
7357 * elf/tst-tlsmod1.c: Likewise.
7358 * elf/tst-tlsmod13.c: Likewise.
7359 * elf/tst-tlsmod13a.c: Likewise.
7360 * elf/tst-tlsmod14a.c: Likewise.
7361 * elf/tst-tlsmod16a.c: Likewise.
7362 * elf/tst-tlsmod16b.c: Likewise.
7363 * elf/tst-tlsmod2.c: Likewise.
7364 * elf/tst-tlsmod3.c: Likewise.
7365 * elf/tst-tlsmod4.c: Likewise.
7366 * elf/tst-tlsmod5.c: Likewise.
7367 * elf/tst-tlsmod6.c: Likewise.
7369 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
7372 * malloc/malloc.c: remove checks for statistics.
7374 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7377 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7378 * inet/tst-network.c: Add testcase.
7380 2013-10-17 Andreas Schwab <schwab@suse.de>
7383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7384 to determine canonical name.
7386 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7388 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7389 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7394 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7403 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7405 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7406 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7407 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7408 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7411 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7412 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7413 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7414 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7415 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7416 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7417 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7418 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7428 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7429 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7430 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7431 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7433 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7434 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7437 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7438 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7439 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7440 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7442 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7443 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7444 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7447 2013-10-17 Joseph Myers <joseph@codesourcery.com>
7450 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7451 make result into a quiet NaN.
7453 2013-10-16 Joseph Myers <joseph@codesourcery.com>
7455 * soft-fp/adddf3.c: Fix horizontal whitespace.
7456 * soft-fp/addsf3.c: Likewise.
7457 * soft-fp/addtf3.c: Likewise.
7458 * soft-fp/divdf3.c: Likewise.
7459 * soft-fp/divsf3.c: Likewise.
7460 * soft-fp/divtf3.c: Likewise.
7461 * soft-fp/double.h: Likewise.
7462 * soft-fp/eqdf2.c: Likewise.
7463 * soft-fp/eqsf2.c: Likewise.
7464 * soft-fp/eqtf2.c: Likewise.
7465 * soft-fp/extenddftf2.c: Likewise.
7466 * soft-fp/extended.h: Likewise.
7467 * soft-fp/extendsfdf2.c: Likewise.
7468 * soft-fp/extendsftf2.c: Likewise.
7469 * soft-fp/extendxftf2.c: Likewise.
7470 * soft-fp/fixdfdi.c: Likewise.
7471 * soft-fp/fixdfsi.c: Likewise.
7472 * soft-fp/fixdfti.c: Likewise.
7473 * soft-fp/fixsfdi.c: Likewise.
7474 * soft-fp/fixsfsi.c: Likewise.
7475 * soft-fp/fixsfti.c: Likewise.
7476 * soft-fp/fixtfdi.c: Likewise.
7477 * soft-fp/fixtfsi.c: Likewise.
7478 * soft-fp/fixtfti.c: Likewise.
7479 * soft-fp/fixunsdfdi.c: Likewise.
7480 * soft-fp/fixunsdfsi.c: Likewise.
7481 * soft-fp/fixunsdfti.c: Likewise.
7482 * soft-fp/fixunssfdi.c: Likewise.
7483 * soft-fp/fixunssfsi.c: Likewise.
7484 * soft-fp/fixunssfti.c: Likewise.
7485 * soft-fp/fixunstfdi.c: Likewise.
7486 * soft-fp/fixunstfsi.c: Likewise.
7487 * soft-fp/fixunstfti.c: Likewise.
7488 * soft-fp/floatdidf.c: Likewise.
7489 * soft-fp/floatdisf.c: Likewise.
7490 * soft-fp/floatditf.c: Likewise.
7491 * soft-fp/floatsidf.c: Likewise.
7492 * soft-fp/floatsisf.c: Likewise.
7493 * soft-fp/floatsitf.c: Likewise.
7494 * soft-fp/floattidf.c: Likewise.
7495 * soft-fp/floattisf.c: Likewise.
7496 * soft-fp/floattitf.c: Likewise.
7497 * soft-fp/floatundidf.c: Likewise.
7498 * soft-fp/floatundisf.c: Likewise.
7499 * soft-fp/floatunditf.c: Likewise.
7500 * soft-fp/floatunsidf.c: Likewise.
7501 * soft-fp/floatunsisf.c: Likewise.
7502 * soft-fp/floatunsitf.c: Likewise.
7503 * soft-fp/floatuntidf.c: Likewise.
7504 * soft-fp/floatuntisf.c: Likewise.
7505 * soft-fp/floatuntitf.c: Likewise.
7506 * soft-fp/fmadf4.c: Likewise.
7507 * soft-fp/fmasf4.c: Likewise.
7508 * soft-fp/fmatf4.c: Likewise.
7509 * soft-fp/gedf2.c: Likewise.
7510 * soft-fp/gesf2.c: Likewise.
7511 * soft-fp/getf2.c: Likewise.
7512 * soft-fp/ledf2.c: Likewise.
7513 * soft-fp/lesf2.c: Likewise.
7514 * soft-fp/letf2.c: Likewise.
7515 * soft-fp/muldf3.c: Likewise.
7516 * soft-fp/mulsf3.c: Likewise.
7517 * soft-fp/multf3.c: Likewise.
7518 * soft-fp/negdf2.c: Likewise.
7519 * soft-fp/negsf2.c: Likewise.
7520 * soft-fp/negtf2.c: Likewise.
7521 * soft-fp/op-1.h: Likewise.
7522 * soft-fp/op-2.h: Likewise.
7523 * soft-fp/op-4.h: Likewise.
7524 * soft-fp/op-8.h: Likewise.
7525 * soft-fp/op-common.h: Likewise.
7526 * soft-fp/quad.h: Likewise.
7527 * soft-fp/single.h: Likewise.
7528 * soft-fp/soft-fp.h: Likewise.
7529 * soft-fp/sqrtdf2.c: Likewise.
7530 * soft-fp/sqrtsf2.c: Likewise.
7531 * soft-fp/sqrttf2.c: Likewise.
7532 * soft-fp/subdf3.c: Likewise.
7533 * soft-fp/subsf3.c: Likewise.
7534 * soft-fp/subtf3.c: Likewise.
7535 * soft-fp/truncdfsf2.c: Likewise.
7536 * soft-fp/trunctfdf2.c: Likewise.
7537 * soft-fp/trunctfsf2.c: Likewise.
7538 * soft-fp/trunctfxf2.c: Likewise.
7539 * soft-fp/unorddf2.c: Likewise.
7540 * soft-fp/unordsf2.c: Likewise.
7541 * soft-fp/unordtf2.c: Likewise.
7543 2013-10-15 Joseph Myers <joseph@codesourcery.com>
7545 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7546 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7548 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
7550 * elf/dl-libc.c: Clear initfini list after freeing.
7552 2013-10-14 Joseph Myers <joseph@codesourcery.com>
7554 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7555 * soft-fp/addsf3.c: Likewise.
7556 * soft-fp/addtf3.c: Likewise.
7557 * soft-fp/divdf3.c: Likewise.
7558 * soft-fp/divsf3.c: Likewise.
7559 * soft-fp/divtf3.c: Likewise.
7560 * soft-fp/double.h: Likewise.
7561 * soft-fp/eqdf2.c: Likewise.
7562 * soft-fp/eqsf2.c: Likewise.
7563 * soft-fp/eqtf2.c: Likewise.
7564 * soft-fp/extenddftf2.c: Likewise.
7565 * soft-fp/extended.h: Likewise.
7566 * soft-fp/extendsfdf2.c: Likewise.
7567 * soft-fp/extendsftf2.c: Likewise.
7568 * soft-fp/extendxftf2.c: Likewise.
7569 * soft-fp/fixdfdi.c: Likewise.
7570 * soft-fp/fixdfsi.c: Likewise.
7571 * soft-fp/fixdfti.c: Likewise.
7572 * soft-fp/fixsfdi.c: Likewise.
7573 * soft-fp/fixsfsi.c: Likewise.
7574 * soft-fp/fixsfti.c: Likewise.
7575 * soft-fp/fixtfdi.c: Likewise.
7576 * soft-fp/fixtfsi.c: Likewise.
7577 * soft-fp/fixtfti.c: Likewise.
7578 * soft-fp/fixunsdfdi.c: Likewise.
7579 * soft-fp/fixunsdfsi.c: Likewise.
7580 * soft-fp/fixunsdfti.c: Likewise.
7581 * soft-fp/fixunssfdi.c: Likewise.
7582 * soft-fp/fixunssfsi.c: Likewise.
7583 * soft-fp/fixunssfti.c: Likewise.
7584 * soft-fp/fixunstfdi.c: Likewise.
7585 * soft-fp/fixunstfsi.c: Likewise.
7586 * soft-fp/fixunstfti.c: Likewise.
7587 * soft-fp/floatdidf.c: Likewise.
7588 * soft-fp/floatdisf.c: Likewise.
7589 * soft-fp/floatditf.c: Likewise.
7590 * soft-fp/floatsidf.c: Likewise.
7591 * soft-fp/floatsisf.c: Likewise.
7592 * soft-fp/floatsitf.c: Likewise.
7593 * soft-fp/floattidf.c: Likewise.
7594 * soft-fp/floattisf.c: Likewise.
7595 * soft-fp/floattitf.c: Likewise.
7596 * soft-fp/floatundidf.c: Likewise.
7597 * soft-fp/floatundisf.c: Likewise.
7598 * soft-fp/floatunsidf.c: Likewise.
7599 * soft-fp/floatunsisf.c: Likewise.
7600 * soft-fp/floatuntidf.c: Likewise.
7601 * soft-fp/floatuntisf.c: Likewise.
7602 * soft-fp/floatuntitf.c: Likewise.
7603 * soft-fp/fmadf4.c: Likewise.
7604 * soft-fp/fmasf4.c: Likewise.
7605 * soft-fp/fmatf4.c: Likewise.
7606 * soft-fp/gedf2.c: Likewise.
7607 * soft-fp/gesf2.c: Likewise.
7608 * soft-fp/getf2.c: Likewise.
7609 * soft-fp/ledf2.c: Likewise.
7610 * soft-fp/lesf2.c: Likewise.
7611 * soft-fp/letf2.c: Likewise.
7612 * soft-fp/muldf3.c: Likewise.
7613 * soft-fp/mulsf3.c: Likewise.
7614 * soft-fp/multf3.c: Likewise.
7615 * soft-fp/negdf2.c: Likewise.
7616 * soft-fp/negsf2.c: Likewise.
7617 * soft-fp/negtf2.c: Likewise.
7618 * soft-fp/op-1.h: Likewise.
7619 * soft-fp/op-2.h: Likewise.
7620 * soft-fp/op-4.h: Likewise.
7621 * soft-fp/op-8.h: Likewise.
7622 * soft-fp/op-common.h: Likewise.
7623 * soft-fp/quad.h: Likewise.
7624 * soft-fp/single.h: Likewise.
7625 * soft-fp/soft-fp.h: Likewise.
7626 * soft-fp/sqrtdf2.c: Likewise.
7627 * soft-fp/sqrtsf2.c: Likewise.
7628 * soft-fp/sqrttf2.c: Likewise.
7629 * soft-fp/subdf3.c: Likewise.
7630 * soft-fp/subsf3.c: Likewise.
7631 * soft-fp/subtf3.c: Likewise.
7632 * soft-fp/truncdfsf2.c: Likewise.
7633 * soft-fp/trunctfdf2.c: Likewise.
7634 * soft-fp/trunctfsf2.c: Likewise.
7635 * soft-fp/trunctfxf2.c: Likewise.
7636 * soft-fp/unorddf2.c: Likewise.
7637 * soft-fp/unordsf2.c: Likewise.
7638 * soft-fp/unordtf2.c: Likewise.
7640 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
7643 * misc/error.c (error_tail): Fix possible buffer overflow.
7645 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7648 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7651 2013-10-14 P. J. McDermott <pj@pehjota.net>
7654 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7655 testing pipefail option.
7657 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7659 * soft-fp/double.h: Indent preprocessor directives inside #if.
7660 * soft-fp/extended.h: Likewise.
7661 * soft-fp/op-2.h: Likewise.
7662 * soft-fp/op-4.h: Likewise.
7663 * soft-fp/op-common.h: Likewise.
7664 * soft-fp/quad.h: Likewise.
7665 * soft-fp/single.h: Likewise.
7666 * soft-fp/soft-fp.h: Likewise.
7668 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7670 * iconv/iconv_prog.c: Fix typos.
7671 * stdio-common/psiginfo-data.h: Likewise.
7673 2013-10-12 Reuben Thomas <rrt@sc3d.org>
7676 * locale/setlocale.c: Fix typo.
7678 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7681 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7682 signaling NaN arguments.
7683 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7684 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7687 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7689 * soft-fp/gesf2.c (__gesf2): Likewise.
7690 * soft-fp/getf2.c (__getf2): Likewise.
7691 * soft-fp/ledf2.c (__ledf2): Likewise.
7692 * soft-fp/lesf2.c (__lesf2): Likewise.
7693 * soft-fp/letf2.c (__letf2): Likewise.
7695 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7696 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7697 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7698 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7699 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7700 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7701 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7702 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7703 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7704 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7705 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7706 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7707 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7708 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7709 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7710 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7711 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7712 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7713 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7714 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7715 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7716 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7717 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7718 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7719 * soft-fp/floattidf.c (__floattidf): Likewise.
7720 * soft-fp/floattisf.c (__floattisf): Likewise.
7721 * soft-fp/floattitf.c (__floattitf): Likewise.
7722 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7723 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7724 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7725 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7726 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7727 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7728 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
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/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7736 Undefine and redefine.
7737 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7738 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7739 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7740 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7741 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7742 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7743 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7744 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7745 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7746 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7747 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7748 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7749 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7750 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7751 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7754 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7755 without decrementing exponent if mantissa >= that for the
7757 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7758 denominator, not >. Decrement exponent in < case instead of
7759 incrementing in >= case.
7760 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7761 without decrementing exponent if mantissa >= that for the
7764 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7765 computing saturated result for unsigned overflow.
7767 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7768 Jeff Law <law@redhat.com>
7770 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7771 (atan2Mp): Add systemtap probe marker.
7772 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7773 (__ieee754_log): Add systemtap probe marker.
7774 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7775 (atanMp): Add systemtap probe marker.
7776 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7777 (tanMp): Add systemtap probe marker.
7778 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7779 (__slowexp): Add systemtap probe marker.
7780 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7781 (__slowpow): Add systemtap probe marker.
7782 * manual/probes.texi: Document probes.
7784 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
7787 * libio/fileops.c (_IO_new_file_write): Return count of bytes
7789 (_IO_new_file_xsputn): Don't return EOF if nothing has been
7791 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7792 written to buffer but not flushed.
7793 * libio/iofwrite_u.c: Likewise.
7794 * libio/iopadn.c: Return bytes returned even if EOF was
7796 * libio/iowpadn.c: Likewise.
7797 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7798 if _IO_padn does not write the whole buffer.
7799 [!COMPILE_WPRINTF] (PAD): Likewise.
7801 2013-10-10 David S. Miller <davem@davemloft.net>
7803 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7806 2013-10-10 Joseph Myers <joseph@codesourcery.com>
7808 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
7809 instead of FSF address.
7810 * soft-fp/fixdfti.c: Likewise.
7811 * soft-fp/fixsfti.c: Likewise.
7812 * soft-fp/fixtfti.c: Likewise.
7813 * soft-fp/fixunsdfti.c: Likewise.
7814 * soft-fp/fixunssfti.c: Likewise.
7815 * soft-fp/fixunstfti.c: Likewise.
7816 * soft-fp/floattidf.c: Likewise.
7817 * soft-fp/floattisf.c: Likewise.
7818 * soft-fp/floattitf.c: Likewise.
7819 * soft-fp/floatuntidf.c: Likewise.
7820 * soft-fp/floatuntisf.c: Likewise.
7821 * soft-fp/floatuntitf.c: Likewise.
7822 * soft-fp/trunctfxf2.c: Likewise.
7824 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
7825 * soft-fp/fixdfti.c: Likewise.
7826 * soft-fp/fixsfti.c: Likewise.
7827 * soft-fp/fixtfti.c: Likewise.
7828 * soft-fp/fixunsdfti.c: Likewise.
7829 * soft-fp/fixunssfti.c: Likewise.
7830 * soft-fp/fixunstfti.c: Likewise.
7831 * soft-fp/floattidf.c: Likewise.
7832 * soft-fp/floattisf.c: Likewise.
7833 * soft-fp/floattitf.c: Likewise.
7834 * soft-fp/floatuntidf.c: Likewise.
7835 * soft-fp/floatuntisf.c: Likewise.
7836 * soft-fp/floatuntitf.c: Likewise.
7837 * soft-fp/trunctfxf2.c: Likewise.
7839 2013-10-10 David S. Miller <davem@davemloft.net>
7841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7843 2013-10-10 Joseph Myers <joseph@codsourcery.com>
7845 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7846 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7847 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7848 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7849 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7850 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7851 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7853 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7854 for NaNs before doing comparisons on argument.
7855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7858 2013-10-10 Will Newton <will.newton@linaro.org>
7860 * malloc/hooks.c (memalign_check): Ensure the value of bytes
7861 passed to _int_memalign does not overflow.
7863 2013-10-10 Torvald Riegel <triegel@redhat.com>
7865 * scripts/bench.pl: Add include-sources directive.
7866 * benchtests/README: Update documentation.
7868 2013-10-10 Joseph Myers <joseph@codesourcery.com>
7870 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7871 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7872 instead of FP_INIT_ROUNDMODE.
7873 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7874 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7877 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
7878 copy class of input value.
7879 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
7880 not handle exceptions.
7881 * soft-fp/negsf2.c (__negsf2): Likewise.
7882 * soft-fp/negtf2.c (__negtf2): Likewise.
7883 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7885 2013-10-09 Joseph Myers <joseph@codesourcery.com>
7887 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7888 semicolon. From Linux kernel.
7890 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
7892 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7894 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
7897 * manual/socket.texi: Added statement about buffer
7898 for gethostbyname2_r.
7900 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
7902 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7903 Use .p2align directive instead, throughout.
7904 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7905 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7906 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7907 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7908 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7909 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7910 * sysdeps/x86_64/strchr.S: Likewise.
7911 * sysdeps/x86_64/strrchr.S: Likewise.
7913 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7915 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7917 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7919 * sysdeps/generic/math_private.h (__mpsin1): Remove
7921 (__mpcos1): Likewise.
7922 (__mpsin): New argument __range_reduce.
7923 (__mpcos): Likewise.
7924 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7925 (slow): Use __mpsin and __mpcos.
7932 (bsloww1): Likewise.
7933 (bsloww2): Likewise.
7936 (csloww1): Likewise.
7937 (csloww2): Likewise.
7938 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
7939 range_reduce. Merge in __mpsin1.
7940 (__mpcos): Likewise.
7942 (__mpcos1): Likewise.
7944 2013-10-07 Joseph Myers <joseph@codesourcery.com>
7946 * locale/loadlocale.c (_nl_intern_locale_data): Use
7948 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
7949 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
7950 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
7951 obstack data is appropriately aligned.
7952 (obstack_int32_grow_fast): Likewise.
7953 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
7954 * locale/programs/locfile.c (add_locale_uint32): Likewise.
7955 (add_locale_uint32_array): Likewise.
7957 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7959 * benchtests/Makefile: Remove ARGLIST and RET variables.
7960 ($(objpfx)bench-%.c): Pass only function name to the script.
7961 * benchtests/README: Update documentation.
7962 * benchtests/acos-inputs: Add new directives.
7963 * benchtests/acosh-inputs: Likewise.
7964 * benchtests/asin-inputs: Likewise.
7965 * benchtests/asinh-inputs: Likewise.
7966 * benchtests/atan-inputs: Likewise.
7967 * benchtests/atanh-inputs: Likewise.
7968 * benchtests/cos-inputs: Likewise.
7969 * benchtests/cosh-inputs: Likewise.
7970 * benchtests/exp-inputs: Likewise.
7971 * benchtests/log-inputs: Likewise.
7972 * benchtests/pow-inputs: Likewise.
7973 * benchtests/rint-inputs: Likewise.
7974 * benchtests/sin-inputs: Likewise.
7975 * benchtests/sinh-inputs: Likewise.
7976 * benchtests/tan-inputs: Likewise.
7977 * benchtests/tanh-inputs: Likewise.
7978 * scripts/bench.pl: Add support for new directives.
7980 2013-10-07 Alan Modra <amodra@gmail.com>
7982 * README: Fix careless merge.
7984 2013-10-05 Alan Modra <amodra@gmail.com>
7986 * NEWS: Mention powerpc64le support and bugs fixed.
7987 * README: Both big-endian and little-endian powerpc64 supported.
7989 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7991 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
7992 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7993 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
7994 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
7996 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
7998 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8001 2013-10-04 Joseph Myers <joseph@codesourcery.com>
8003 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8004 Move -mhard-float appending from
8005 ports/sysdeps/powerpc/powerpc32/Makefile.
8006 [$(with-fp) = yes] (ASFLAGS): Likewise.
8007 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8008 * sysdeps/powerpc/nofpu: Move directory from
8009 ports/sysdeps/powerpc/nofpu.
8010 * sysdeps/powerpc/soft-fp: Move directory from
8011 ports/sysdeps/powerpc/soft-fp.
8012 * sysdeps/powerpc/powerpc32/405: Move directory from
8013 ports/sysdeps/powerpc/powerpc32/405.
8014 * sysdeps/powerpc/powerpc32/440: Move directory from
8015 ports/sysdeps/powerpc/powerpc32/440.
8016 * sysdeps/powerpc/powerpc32/464: Move directory from
8017 ports/sysdeps/powerpc/powerpc32/464.
8018 * sysdeps/powerpc/powerpc32/476: Move directory from
8019 ports/sysdeps/powerpc/powerpc32/476.
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8021 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8023 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8025 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8027 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8029 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8030 * README: Update for powerpc-*-linux-gnu software floating point
8033 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8034 case to powerpc/powerpc32*.
8035 * sysdeps/unix/sysv/linux/configure: Regenerated.
8037 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8038 (_FPU_MASK_OM): Define as 0x04.
8039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8042 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8047 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8050 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8053 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8054 and setcontext_e500.
8056 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8058 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8060 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8062 * manual/threads.texi (Default Thread Attributes): Fix typo.
8064 2013-10-04 Will Newton <will.newton@linaro.org>
8066 * malloc/Makefile: Add tst-memalign.
8067 * malloc/tst-memalign.c: New file.
8069 * malloc/tst-posix_memalign.c: Add comments.
8070 (do_test): Add comments and call free on all potentially
8071 allocated pointers. Add space after cast.
8073 * malloc/tst-pvalloc.c: Add comments.
8074 (do_test): Add comments and call free on all potentially
8075 allocated pointers. Remove duplicate check for NULL pointer.
8076 Add space after cast.
8078 * malloc/tst-valloc.c: Add comments.
8079 (do_test): Add comments and call free on all potentially
8080 allocated pointers. Remove duplicate check for NULL pointer.
8081 Add space after cast.
8083 2013-10-04 Alan Modra <amodra@gmail.com>
8085 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8086 Use stdint types in rather than __attribute__((mode())).
8087 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8089 2013-10-04 Alan Modra <amodra@gmail.com>
8091 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8092 Correct handling of unaligned relocs for little-endian.
8093 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8095 2013-10-04 Alan Modra <amodra@gmail.com>
8097 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8098 * configure: Regenerate.
8099 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8100 * shlib-versions: Likewise.
8102 2013-10-04 Alan Modra <amodra@gmail.com>
8104 * string/tester.c (test_memrchr): Increment reported test cycle.
8106 2013-10-04 Alan Modra <amodra@gmail.com>
8108 * string/test-memcpy.c (do_one_test): When reporting errors, print
8109 string address and don't overrun end of string.
8111 2013-10-04 Alan Modra <amodra@gmail.com>
8113 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8114 insrdi. Make better use of reg selection to speed exit slightly.
8115 Schedule entry path a little better. Remove useless "are we done"
8116 checks on entry to main loop. Handle wrapping around zero address.
8117 Correct main loop count. Handle single left-over word from main
8118 loop inline rather than by using loop_small. Remove extra word
8119 case in loop_small caused by wrong loop count. Add little-endian
8121 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8122 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8124 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8125 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8126 support. Avoid rlwimi.
8127 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8129 2013-10-04 Alan Modra <amodra@gmail.com>
8131 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8133 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8134 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8135 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8136 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8137 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8138 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8140 2013-10-04 Alan Modra <amodra@gmail.com>
8142 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8143 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8144 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8145 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8146 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8147 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8148 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8149 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8150 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8151 use of regs. Use power7 mtocrf. Tidy function tails.
8153 2013-10-04 Alan Modra <amodra@gmail.com>
8155 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8156 Formatting. Consistently use rXXX register defines or rN defines.
8157 Use early exit labels that avoid restoring unused non-volatile regs.
8158 Make cr field use more consistent with rWORDn compares. Rename
8159 regs used as shift registers for unaligned loop, using rN defines
8160 for short lifetime/multiple use regs.
8161 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8162 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8163 addi 1,1,64 to pop stack frame. Simplify return value code.
8164 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8166 2013-10-04 Alan Modra <amodra@gmail.com>
8168 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8169 support. Correct typos, formatting. Optimize tail. Use insrdi
8171 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8172 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8173 little-endian support. Correct typos.
8174 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8176 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8177 in loop and entry code to keep "and." results.
8178 (strchr): Add little-endian support. Comment. Move cntlzd
8180 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8182 2013-10-04 Alan Modra <amodra@gmail.com>
8184 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8185 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8186 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8187 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8189 2013-10-04 Alan Modra <amodra@gmail.com>
8191 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8192 (rTMP): Define as r11.
8193 (strcmp): Add little-endian support. Optimise tail.
8194 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8195 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8196 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8197 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8198 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8199 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8200 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8202 2013-10-04 Alan Modra <amodra@gmail.com>
8204 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8205 little-endian support. Remove unnecessary "are we done" tests.
8206 Handle "s" wrapping around zero and extremely large "size".
8207 Correct main loop count. Handle single left-over word from main
8208 loop inline rather than by using small_loop. Correct comments.
8209 Delete "zero" tail, use "end_max" instead.
8210 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8212 2013-10-04 Alan Modra <amodra@gmail.com>
8214 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8215 support. Don't branch over align.
8216 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8217 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8218 support. Rearrange tmp reg use to suit. Comment.
8219 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8221 2013-10-04 Alan Modra <amodra@gmail.com>
8223 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8225 2013-10-04 Alan Modra <amodra@gmail.com>
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8228 conditional form of branch and link when obtaining pc.
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8231 2013-10-04 Alan Modra <amodra@gmail.com>
8233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8238 2013-10-04 Alan Modra <amodra@gmail.com>
8240 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8241 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8242 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8243 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8244 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8245 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8246 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8247 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8248 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8249 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8251 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8252 Alistair Popple <alistair@ozlabs.au.ibm.com>
8253 Alan Modra <amodra@gmail.com>
8256 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8257 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8258 _dl_hwcap access for little-endian.
8259 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8260 destroy vmx regs when saving unaligned.
8261 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8262 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8263 destroy vmx regs when saving unaligned.
8265 2013-10-04 Alan Modra <amodra@gmail.com>
8267 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8268 Don't use a union to pack hi/low value.
8270 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8272 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8274 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8275 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8276 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8277 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8278 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8280 2013-10-04 Alan Modra <amodra@gmail.com>
8282 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8283 constants to usual value for .cst8 section, and remove redundant
8285 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8286 constant for 0x1p52. Load little-endian words of double from
8287 correct stack offsets.
8289 2013-10-04 Alan Modra <amodra@gmail.com>
8291 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8292 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8293 words of double from correct stack offsets.
8294 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8295 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8296 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8297 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8298 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8299 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8300 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8301 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8302 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8303 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8304 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8305 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8306 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8307 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8308 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8309 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8310 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8312 2013-10-04 Alan Modra <amodra@gmail.com>
8314 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8315 64-bit int/double union.
8316 (_FPU_SETCW): Likewise.
8317 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8318 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8320 2013-10-04 Alan Modra <amodra@gmail.com>
8322 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8323 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8325 2013-10-04 Alan Modra <amodra@gmail.com>
8327 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8328 use vector int constants.
8329 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8331 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8333 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8334 array with long long.
8335 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8336 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8337 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8338 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8339 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8340 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8341 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8342 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8343 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8344 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8345 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8346 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8347 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8349 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8351 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8352 (__signbit): Likewise. Correct for little-endian.
8353 (__signbitl): Call __signbit.
8354 (lrint): Correct for little-endian.
8355 (lrintf): Call lrint.
8357 2013-10-04 Alan Modra <amodra@gmail.com>
8359 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8360 union 32-bit int array member with 64-bit int array.
8361 (t515, tm256): Double rather than long double.
8362 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8364 2013-10-04 Alan Modra <amodra@gmail.com>
8366 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8368 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8369 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8370 version of math_ldbl.h.
8372 2013-10-04 Alan Modra <amodra@gmail.com>
8374 [BZ #15734], [BZ #15735]
8375 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8376 all uses of ieee875 long double macros and unions. Simplify test
8377 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8378 ldbl_extract_mantissa value for ix,iy exponents. Properly
8379 normalize after ldbl_extract_mantissa, and don't add hidden bit
8380 already handled. Don't treat low word of ieee854 mantissa like
8381 low word of IBM long double and mask off bit when testing for
8383 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8384 all uses of ieee875 long double macros and unions. Simplify tests
8385 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8386 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8387 two1022, instead use their values. Recognise that tests for large
8388 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8389 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8390 Rewrite all uses of ieee875 long double macros and unions. Simplify
8391 test for 0.0L and nan. Correct negation.
8392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8393 ieee875 long double macros and unions. Correct output for large
8394 magnitude x. Correct absolute value calculation.
8395 (__erfcl): Likewise.
8396 * math/libm-test.inc: Add tests for errors discovered in IBM long
8397 double versions of fmodl, remainderl, erfl and erfcl.
8399 2013-10-04 Alan Modra <amodra@gmail.com>
8401 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8402 all uses of ieee854 long double macros and unions. Simplify tests
8403 for long doubles that are fully specified by the high double.
8404 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8406 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8407 Remove dead code too.
8408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8409 (__ieee754_ynl): Likewise.
8410 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8412 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8413 Remove dead code too.
8414 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8415 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8416 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8417 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8419 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8421 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8422 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8423 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8424 Comment on variable precision.
8425 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8426 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8428 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8429 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8430 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8431 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8432 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8434 2013-10-04 Alan Modra <amodra@gmail.com>
8436 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8438 all uses of ieee854 long double macros and unions.
8439 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8440 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8443 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8444 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8446 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8447 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8449 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8450 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8452 Simplify sign and nan test too.
8453 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8454 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8455 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8458 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8459 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8461 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8462 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8463 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8464 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8465 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8468 2013-10-04 Alan Modra <amodra@gmail.com>
8470 * stdio-common/printf_size.c (__printf_size): Don't use
8471 union ieee854_long_double in fpnum union.
8472 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8473 signbit macro to retrieve sign from long double.
8474 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8475 retrieve sign from long double.
8476 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8477 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8478 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8479 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8480 * math/test-misc.c (main): Don't use union ieee854_long_double.
8482 2013-10-04 Alan Modra <amodra@gmail.com>
8485 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8486 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8487 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8488 calculation. Remove unnecessary test for denormal exponent.
8489 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8490 Correct handling of denormals. Avoid undefined shift behaviour.
8491 Correct normalisation of low mantissa when low double is denormal.
8492 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8493 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8494 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8495 Correct normalisation of low mantissa. Test for overflow of high
8496 mantissa and normalise.
8497 (ldbl_nearbyint): Use more readable constant for two52.
8498 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8499 (__mpn_construct_long_double): Fix test for overflow of high
8500 mantissa and correct normalisation. Avoid undefined shift.
8502 2013-10-04 Alan Modra <amodra@gmail.com>
8504 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8505 (union ibm_extended_long_double): Define as an array of ieee754_double.
8506 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8507 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8508 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8509 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8510 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8511 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8513 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8514 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8518 2013-10-03 Joseph Myers <joseph@codesourcery.com>
8520 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8521 page size instead of calling getpagesize.
8523 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8524 (LOCFILE_ALIGN_MASK): Likewise.
8525 (LOCFILE_ALIGN_UP): Likewise.
8526 (LOCFILE_ALIGNED_P): Likewise.
8527 * locale/programs/ld-collate.c (collate_output): Use the new
8528 macros instead of __alignof__ (int32_t).
8529 * locale/weight.h (findidx): Likewise.
8531 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
8534 * manual/string.texi: Fix strncat and wcsncat.
8536 2013-10-03 Brooks Moses <bmoses@google.com>
8539 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8540 * Makerules: ...here, and adjust associated comments.
8542 2013-10-02 Will Newton <will.newton@linaro.org>
8544 * malloc/Makefile: Add tst-pvalloc.
8545 * malloc/tst-pvalloc.c: New file.
8547 2013-10-02 Will Newton <will.newton@linaro.org>
8549 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8550 improve test coverage.
8552 2013-10-02 Will Newton <will.newton@linaro.org>
8554 * malloc/Makefile: Add tst-posix_memalign.
8555 * malloc/tst-posix_memalign.c: New file.
8557 2013-10-01 Eric Blake <eblake@redhat.com>
8559 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8560 Use __THROWNL rather than __THROW on static functions.
8562 2013-09-30 Petr Machata <pmachata@redhat.com>
8564 * elf/elf.h (R_AARCH64_ABS16): New macro.
8565 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8566 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8567 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8568 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8569 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8570 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8571 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8572 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8573 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8574 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8575 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8576 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8577 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8578 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8579 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8580 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8581 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8582 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8583 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8584 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8585 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8586 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8587 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8588 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8589 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8590 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8591 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8592 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8593 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8594 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8595 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8596 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8597 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8598 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8599 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8600 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8601 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8602 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8603 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8604 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8605 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8606 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8607 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8608 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8609 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8610 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8611 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8612 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8613 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8614 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8615 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8616 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8617 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8618 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8619 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8620 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8621 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8622 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8623 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8624 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8625 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8626 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8627 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8628 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8629 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8630 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8631 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8632 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8633 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8634 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8635 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8636 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8637 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8638 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8639 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8640 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8641 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8642 (R_AARCH64_TLSDESC_LDR): Likewise.
8643 (R_AARCH64_TLSDESC_ADD): Likewise.
8644 (R_AARCH64_TLSDESC_CALL): Likewise.
8646 2013-09-30 Andreas Schwab <schwab@suse.de>
8649 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8650 the nss database lookup.
8651 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8654 2013-09-28 Mike Frysinger <vapier@gentoo.org>
8656 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8658 2013-09-28 P. J. McDermott <pj@pehjota.net>
8660 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8661 ${Bash-specific parameter/pattern/string} parameter expansion.
8662 * sysdeps/unix/make-syscalls.sh: Likewise.
8664 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8666 * sysdeps/sh/stackguard-macros.h: New file.
8668 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
8670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8672 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8673 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8674 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8675 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8677 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8679 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8680 Fix thread ID register.
8682 2013-09-25 Joseph Myers <joseph@codesourcery.com>
8684 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8685 [POSIX || UNIX98]: Require rather than permitting all symbols from
8687 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8688 element of struct sched_param.
8689 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8690 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8691 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8692 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8695 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8697 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8698 argument calculation.
8700 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8702 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8704 [POSIX] (pthread_attr_t): Do not require type.
8705 [POSIX] (pthread_cond_t): Likewise.
8706 [POSIX] (pthread_condattr_t): Likewise.
8707 [POSIX] (pthread_key_t): Likewise.
8708 [POSIX] (pthread_mutex_t): Likewise.
8709 [POSIX] (pthread_mutexattr_t): Likewise.
8710 [POSIX] (pthread_once_t): Likewise.
8711 [POSIX] (pthread_t): Likewise.
8712 [POSIX-based standards] (pthread_atfork): Expect function.
8714 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8715 Richard Sandiford <richard@codesourcery.com>
8717 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8718 (swap_endianness_p): New extern variable.
8719 (set_big_endian): New inline function.
8720 (maybe_swap_uint32): Likewise.
8721 (maybe_swap_uint32_array): Likewise.
8722 (maybe_swap_uint32_obstack): Likewise.
8723 * locale/programs/locfile.c: Include <stdbool.h>.
8724 (swap_endianness_p): New variable.
8725 (add_locale_uint32): Call maybe_swap_uint32.
8726 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8727 (write_locale_data): Call maybe_swap_uint32_array.
8728 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8730 (obstack_int32_grow_fast): Likewise.
8731 (output_weightwc): Call maybe_swap_uint32_obstack.
8732 (collate_output): Likewise.
8733 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8734 (OPT_LITTLE_ENDIAN): Likewise.
8735 (options): Add --little-endian and --big-endian options.
8736 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8737 * locale/programs/locarchive.c: Include "locfile.h".
8741 (create_archive): Use the new macros to access fields of
8742 structures directly mapped from or written to locale archives.
8743 (oldlocrecentcmp): Likewise.
8744 (enlarge_archive): Likewise.
8745 (insert_name): Likewise.
8746 (add_alias): Likewise.
8747 (add_locale): Likewise.
8748 (delete_locales_from_archive): Likewise.
8749 (show_archive_content): Likewise.
8750 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
8753 2013-09-24 Roland McGrath <roland@hack.frob.com>
8755 * manual/freemanuals.texi: Updated from (newly) canonical copy at
8756 http://www.gnu.org/doc/freemanuals.texi.
8757 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8759 2013-09-24 Will Newton <will.newton@linaro.org>
8761 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8764 2013-09-23 Joseph Myers <joseph@codesourcery.com>
8766 * locale/hashval.h (compute_hashval): Interpret bytes of key as
8769 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
8771 * manual/threads.texi (POSIX Threads): Fix a typo.
8773 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8776 * string/tst-strcoll-overflow.c: New test case.
8777 * string/Makefile (xtests): Add tst-strcoll-overflow.
8778 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8779 cache if string sizes may cause integer overflow.
8782 * string/strcoll_l.c (coll_seq): New members rule, idx,
8783 save_idx and back_us.
8784 (get_next_seq_nocache): New function.
8785 (do_compare_nocache): New function.
8786 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8789 2013-09-23 Carlos O'Donell <carlos@redhat.com>
8792 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8793 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8794 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8797 * elf/Makefile (tests): Add tst-ptrguard1.
8798 (tests-static): Add tst-ptrguard1-static.
8799 (tst-ptrguard1-ARGS): Define.
8800 (tst-ptrguard1-static-ARGS): Define.
8801 * elf/tst-ptrguard1.c: New file.
8802 * elf/tst-ptrguard1-static.c: New file.
8803 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8804 * sysdeps/i386/stackguard-macros.h: Likewise.
8805 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8806 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8807 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8808 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8809 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8810 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8812 2013-09-23 Hector Marco <hecmargi@upv.es>
8813 Ismael Ripoll <iripoll@disca.upv.es>
8814 Carlos O'Donell <carlos@redhat.com>
8817 * sysdeps/generic/stackguard-macros.h: Define
8818 __pointer_chk_guard_local and POINTER_CHK_GUARD.
8819 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8820 Define __pointer_chk_guard_local.
8821 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8822 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8824 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
8827 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8829 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
8831 * include/string.h (__ffs): Declare as hidden.
8832 * string/ffs.c (__ffs): Define as hidden.
8833 * sysdeps/i386/ffs.c (__ffs): Likewise.
8834 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8835 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8836 * sysdeps/s390/ffs.c (__ffs): Likewise.
8837 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8839 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
8841 * NEWS: Mention malloc probes.
8843 * malloc/arena.c (new_heap): New memory_heap_new probe.
8844 (grow_heap): New memory_heap_more probe.
8845 (shrink_heap): New memory_heap_less probe.
8846 (heap_trim): New memory_heap_free probe.
8847 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8848 (systrim): New memory_sbrk_less probe.
8849 * manual/probes.texi: Document them.
8851 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8852 * manual/probes.texi: Document it.
8854 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8855 (__libc_realloc): Add memory_realloc_retry probe.
8856 (__libc_memalign): Add memory_memalign_retry probe.
8857 (__libc_valloc): Add memory_valloc_retry probe.
8858 (__libc_pvalloc): Add memory_pvalloc_retry probe.
8859 (__libc_calloc): Add memory_calloc_retry probe.
8860 * manual/probes.texi: Document them.
8862 * malloc/arena.c (get_free_list): Add probe
8863 memory_arena_reuse_free_list.
8864 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8865 and memory_arena_reuse.
8866 (arena_get2) [!PER_THREAD]: Likewise.
8867 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8868 memory_arena_reuse_realloc.
8869 * manual/probes.texi: Document them.
8871 * malloc/malloc.c (__libc_free): Add
8872 memory_mallopt_free_dyn_thresholds probe.
8873 (__libc_mallopt): Add multiple memory_mallopt probes.
8874 * manual/probes.texi: Document them.
8876 * malloc/malloc.c: Include stap-probe.h.
8877 (__libc_mallopt): Add memory_mallopt probe.
8878 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8879 * manual/probes.texi: New.
8880 * manual/Makefile (chapters): Add probes.
8881 * manual/threads.texi: Set next node.
8883 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
8886 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8887 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8888 Add `Chinese' to `nan' entry name.
8890 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8892 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8893 (POLYNOMIAL): Likewise.
8894 (TAYLOR_SINCOS): Likewise.
8895 (TAYLOR_SLOW): Likewise.
8896 (__sin): Use TAYLOR_SINCOS.
8898 (slow): Use TAYLOR_SLOW.
8903 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8905 * stdlib/strtod_l.c: Fix buffer overrun.
8907 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8909 * benchtests/Makefile (bench): Add sincos.
8910 * benchtests/bench-sincos.c: New file.
8912 * math/libm-test.inc (cos_test_data): New test inputs.
8913 (sin_test_data): Likewise.
8915 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8923 (bsloww1): Likewise.
8924 (bsloww2): Likewise.
8926 (csloww1): Likewise.
8927 (csloww2): Likewise.
8929 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
8938 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
8940 * config.h.in (HAVE_MIPS_NAN2008): New macro.
8941 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
8942 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
8943 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
8944 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
8945 * elf/cache.c (print_entry): Handle the new cache flags.
8947 2013-09-18 Joseph Myers <joseph@codesourcery.com>
8948 Aldy Hernandez <aldyh@redhat.com>
8950 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
8951 Change condition to [_SOFT_FLOAT].
8952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
8953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
8954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
8955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
8956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
8957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
8958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
8959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
8960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
8961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
8962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
8963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
8964 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
8965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
8966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
8967 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
8970 2013-09-18 Joseph Myers <joseph@codesourcery.com>
8972 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
8973 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8974 (__longjmp): Use LOAD_GP to load saved GPRs.
8975 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
8976 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8977 (__sigsetjmp): Use SAVE_GP to save GPRs.
8979 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
8980 Do not append -msoft-float.
8981 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
8983 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8985 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
8987 2013-09-17 Joseph Myers <joseph@codesourcery.com>
8990 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
8991 (_FPU_GETCW): Use initial "__" on variable and field names but not
8992 on macro parameter name.
8993 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
8994 parentheses around reference to macro parameter.
8996 2013-09-13 Richard Sandiford <richard@codesourcery.com>
8998 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9000 (ctype_startup): Use uint32_t in cast and sizeof for
9003 2013-09-11 Jia Liu <proljc@gmail.com>
9005 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9007 [__FreeBSD__]: Likewise.
9009 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9012 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9013 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9014 (strchr): Remove __strchr_sse42 ifunc selection.
9015 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9016 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9018 2013-09-11 Will Newton <will.newton@linaro.org>
9020 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9021 parameter to RES. Remove hardcoded 1000 value.
9022 * benchtests/bench-skeleton.c (main): Pass RES parameter
9023 to TIMING_INIT and multiply result by 1000.
9025 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9029 2013-09-11 Andreas Schwab <schwab@suse.de>
9031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9033 (O_TMPFILE) [__USE_GNU]: Define.
9034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9037 2013-09-11 Will Newton <will.newton@linaro.org>
9040 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9043 2013-09-11 Will Newton <will.newton@linaro.org>
9046 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9049 2013-09-11 Will Newton <will.newton@linaro.org>
9052 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9055 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9057 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9058 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9063 2013-09-10 Allan McRae <allan@archlinux.org>
9066 * manual/arith.texi (Parsing of Floats): Clarify
9070 * manual/install.texi (Running make install): Mention
9072 * INSTALL: Regenerated.
9074 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9076 * csu/init-first.c (_init): Remove the !SHARED condition around
9077 FPU control word initialization.
9078 * elf/dl-support.c (_dl_fpu_control): New variable.
9079 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9080 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9081 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9082 * math/test-fpucw-static.c: New file.
9083 * math/test-fpucw-ieee.c: New file.
9084 * math/test-fpucw-ieee-static.c: New file.
9085 * math/Makefile (tests): Add `test-fpucw-ieee' and
9087 (tests-static): New variable.
9088 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9090 [($(build-shared),yes)]
9091 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9093 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9096 2013-09-09 Allan McRae <allan@archlinux.org>
9099 * manual/string.texi (Collation Functions): Fix typo in
9101 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9104 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9107 * libio/memstream.c (open_memstream): Fix memory leak.
9108 * libio/wmemstream.c (open_wmemstream): Likewise.
9111 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9113 2013-09-09 Will Newton <will.newton@linaro.org>
9115 * malloc/Makefile: Add tst-realloc to tests.
9116 * malloc/tst-realloc.c: New file.
9118 2013-09-09 Allan McRae <allan@archlinux.org>
9121 * COPYING: Update from GNU website to fix FSF address.
9122 * COPYING.LIB: Likewise.
9124 2013-09-06 David S. Miller <davem@davemloft.net>
9126 * po/zh_TW.po: Update Chinese (traditional) translation from
9127 translation project.
9129 2013-09-06 Richard Sandiford <richard@codesourcery.com>
9130 Joseph Myers <joseph@codesourcery.com>
9132 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9134 (obstack_chunk_alloc): New macro.
9135 (obstack_chunk_free): Likewise.
9136 (record_offset): New function.
9137 (init_locale_data): Likewise.
9138 (align_locale_data): Likewise.
9139 (add_locale_empty): Likewise.
9140 (add_locale_raw_data): Likewise.
9141 (add_locale_raw_obstack): Likewise.
9142 (add_locale_string): Likewise.
9143 (add_locale_wstring): Likewise.
9144 (add_locale_uint32): Likewise.
9145 (add_locale_uint32_array): Likewise.
9146 (add_locale_char): Likewise.
9147 (start_locale_structure): Likewise.
9148 (end_locale_structure): Likewise.
9149 (start_locale_prelude): Likewise.
9150 (end_locale_prelude): Likewise.
9151 (write_locale_data): Take locale_file structure rather than an
9153 * locale/programs/locfile.h: Include "obstack.h".
9154 (struct locale_file): Change to store locale file contents instead
9156 (init_locale_data): New prototype.
9157 (align_locale_data): Likewise.
9158 (add_locale_empty): Likewise.
9159 (add_locale_raw_data): Likewise.
9160 (add_locale_raw_obstack): Likewise.
9161 (add_locale_string): Likewise.
9162 (add_locale_wstring): Likewise.
9163 (add_locale_uint32): Likewise.
9164 (add_locale_uint32_array): Likewise.
9165 (add_locale_char): Likewise.
9166 (start_locale_structure): Likewise.
9167 (end_locale_structure): Likewise.
9168 (start_locale_prelude): Likewise.
9169 (end_locale_prelude): Likewise.
9170 (write_locale_data): Update prototype.
9171 * locale/programs/3level.h (struct TABLE): Remove result field.
9172 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9173 Use new locale_file interface.
9174 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9175 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9176 * locale/programs/ld-address.c (address_output): Use new
9177 locale_file interface.
9178 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9180 (collate_finish): Don't call collseq_table_finalize.
9181 (collate_output): Use new locale_file interface.
9182 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9184 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9185 (TABLE): Move defines earlier in file.
9186 (ELEMENT): Likewise.
9187 (DEFAULT): Likewise.
9188 (wctrans_table_add): Move macro and inline function earlier in
9190 (struct wctype_table): Move type earlier in file.
9191 (add_locale_wctype_table): New static prototype.
9192 (struct locale_ctype_t): Use logical types instead of struct iovec
9193 pointers for members.
9194 (ctype_output): Use new locale_file interface.
9195 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9196 new locale_file interface.
9197 (allocate_arrays): Update for use of new locale_file interface.
9198 * locale/programs/ld-identification.c (identification_output): Use
9199 new locale_file interface.
9200 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9201 * locale/programs/ld-messages.c (messages_output): Likewise.
9202 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9203 * locale/programs/ld-name.c (name_output): Likewise.
9204 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9205 * locale/programs/ld-paper.c (paper_output): Likewise.
9206 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9207 * locale/programs/ld-time.c (time_output): Likewise.
9209 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9211 * benchtests/Makefile: Add memrchr benchmark.
9212 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9213 benchmark as memrchr.
9214 * benchtests/bench-memrchr-ifunc.c: New file.
9215 * benchtests/bench-memrchr.c: New file.
9217 2013-09-06 Will Newton <will.newton@linaro.org>
9219 * benchtests/Makefile (string-bench): Add memcpy.
9221 2013-09-05 Carlos O'Donell <carlos@redhat.com>
9222 Cong Wang <amwang@redhat.com>
9225 * sysdeps/unix/sysv/linux/bits/in.h
9226 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9227 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9228 before __USE_KERNEL_IPV6_DEFS uses.
9229 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9231 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9232 sockaddr_in6, or ipv6_mreq.
9234 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9236 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9237 memory access for final bytes in some large inputs.
9238 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9240 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9242 * string/test-memrchr.c: New file.
9243 * string/test-memrchr-ifunc.c: New file.
9244 * string/Makefile: Add new memrchr testcase.
9246 2013-09-05 Mike Frysinger <vapier@gentoo.org>
9248 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9249 fanotify_init returns EPERM.
9251 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9253 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9255 (top level): Treat second token from macro or constant entries for
9256 allowed headers as allowed.
9257 * include/complex.h: Condition internal declarations on
9259 * include/fenv.h: Condition include of <stdbool.h> and internal
9260 declarations on [!_ISOMAC].
9262 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9265 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9267 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9269 * configure.in (--enable-versioning): Remove configure option.
9270 (libc_cv_asm_symver_directive): Remove configure test.
9271 (libc_cv_ld_version_script_option): Likewise.
9272 (VERSIONING): Remove variable and AC_SUBST.
9273 (DO_VERSIONING): Remove AC_DEFINE.
9274 * configure: Regenerated.
9275 * config.h.in (DO_VERSIONING): Remove macro.
9276 * Makerules [$(versioning) = yes]: Change conditionals to
9277 [$(build-shared) = yes].
9278 * config.make.in (versioning): Remove variable.
9279 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9280 [$(build-shared) = yes].
9281 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9282 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9283 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9284 [$(build-shared) = yes].
9285 * extra-lib.mk [$(versioning) = yes]: Likewise.
9286 * hurd/Makefile [$(versioning) = yes]: Likewise.
9287 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9289 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9291 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9292 [SHARED && !NO_HIDDEN].
9293 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9295 [SHARED && DO_VERSIONING]: Likewise..
9296 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9297 [$(build-shared) = yes].
9298 * manual/install.texi (--disable-versioning): Remove
9300 * INSTALL: Regenerated.
9301 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9303 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9304 [$(build-shared) = yes].
9305 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9306 * sysdeps/i386/i686/multiarch/strstr-c.c
9307 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9308 [SHARED && !NO_HIDDEN].
9309 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9310 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9311 * sysdeps/powerpc/powerpc32/dl-machine.c
9312 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9313 * sysdeps/powerpc/powerpc32/sysdep.h
9314 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9315 to [SHARED && PIC && !NO_HIDDEN].
9316 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9317 conditional to [SHARED].
9319 2013-09-04 Will Newton <will.newton@linaro.org>
9321 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9322 * benchtests/bench-string.h: Include bench-timing.h instead
9323 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9324 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9325 call to HP_TIMING_DIFF_INIT.
9326 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9327 instead of hp-timing.h macros.
9328 * benchtests/bench-memchr.c: Likewise.
9329 * benchtests/bench-memcmp.c: Likewise.
9330 * benchtests/bench-memcpy.c: Likewise.
9331 * benchtests/bench-memmem.c: Likewise.
9332 * benchtests/bench-memmove.c: Likewise.
9333 * benchtests/bench-memset.c: Likewise.
9334 * benchtests/bench-rawmemchr.c: Likewise.
9335 * benchtests/bench-strcasecmp.c: Likewise.
9336 * benchtests/bench-strcasestr.c: Likewise.
9337 * benchtests/bench-strcat.c: Likewise.
9338 * benchtests/bench-strchr.c: Likewise.
9339 * benchtests/bench-strcmp.c: Likewise.
9340 * benchtests/bench-strcpy.c: Likewise.
9341 * benchtests/bench-strcpy_chk.c: Likewise.
9342 * benchtests/bench-strlen.c: Likewise.
9343 * benchtests/bench-strncasecmp.c: Likewise.
9344 * benchtests/bench-strncat.c: Likewise.
9345 * benchtests/bench-strncmp.c: Likewise.
9346 * benchtests/bench-strncpy.c: Likewise.
9347 * benchtests/bench-strnlen.c: Likewise.
9348 * benchtests/bench-strpbrk.c: Likewise.
9349 * benchtests/bench-strrchr.c: Likewise.
9350 * benchtests/bench-strspn.c: Likewise.
9351 * benchtests/bench-strstr.c: Likewise.
9353 2013-09-04 Will Newton <will.newton@linaro.org>
9355 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9357 2013-09-03 Joseph Myers <joseph@codesourcery.com>
9360 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9361 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9362 * math/libm-test.inc (lgamma_test_data): Add more tests.
9363 * sysdeps/i386/fpu/libm-test-ulps: Update.
9364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9366 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
9368 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9372 Add strcmp-sse2-unaligned
9373 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9375 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9377 * Versions.def (libc): Add GLIBC_2.19.
9379 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9381 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9382 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9384 2013-09-02 Joseph Myers <joseph@codesourcery.com>
9387 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9388 intermediate calculations in recurrence.
9389 (__ieee754_ynf): Likewise.
9390 * math/libm-test.inc (jn_test_data): Do not allow spurious
9391 underflow exception. Add more tests.
9392 (yn_test_data): Add more tests.
9393 * sysdeps/i386/fpu/libm-test-ulps: Update.
9394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9396 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
9398 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9400 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9402 * csu/init-first.c: Fix then/than typos.
9403 * locale/programs/ld-collate.c: Likewise.
9404 * locale/programs/linereader.h: Likewise.
9405 * manual/charset.texi: Likewise.
9406 * manual/filesys.texi: Likewise.
9407 * manual/stdio.texi: Likewise.
9408 * manual/string.texi: Likewise.
9409 * stdlib/fmtmsg.c: Likewise.
9410 * sysdeps/i386/stpncpy.S: Likewise.
9411 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9412 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9413 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9414 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9416 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9418 * elf/dl-open.c: Fix typos.
9419 * iconvdata/gbbig5.c: Likewise.
9420 * iconvdata/iso-2022-jp.c: Likewise.
9421 * iconv/gconv_int.h: Likewise.
9422 * iconv/loop.c: Likewise.
9423 * nis/rpcsvc/nis.h: Likewise.
9424 * resolv/ns_name.c: Likewise.
9425 * stdio-common/vfscanf.c: Likewise.
9426 * streams/stropts.h: Likewise.
9427 * sunrpc/rpc_thread.c: Likewise.
9428 * sysdeps/i386/strpbrk.S: Likewise.
9429 * sysdeps/ieee754/k_standard.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9432 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9433 * sysdeps/mach/hurd/profil.c: Likewise.
9434 * sysdeps/s390/dl-procinfo.h: Likewise.
9435 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9436 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9437 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9438 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9441 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9443 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9446 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9448 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9450 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9451 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9452 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9453 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9454 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9455 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9456 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9457 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9459 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9460 Roland McGrath <roland@hack.frob.com>
9462 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9463 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9465 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9467 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9468 __executable_start symbol instead of _start.
9470 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9472 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9473 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9475 * sysdeps/gnu/ldsodefs.h: ... this new file.
9477 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9478 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9479 instead of ELFOSABI_LINUX.
9481 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9482 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9483 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9484 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9486 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9487 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9488 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9490 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9491 (ibm_extended_long_double): Add ieee_nan member.
9492 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9493 (do_test): New function.
9495 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9497 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9498 functions, renamed from truncdfsf_test, trunctfsf_test,
9500 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9502 (do_test): Run all these.
9504 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9506 * argp/argp-help.c: Fix typos.
9507 * argp/argp-parse.c: Likewise.
9508 * debug/backtracesyms.c: Likewise.
9509 * elf/elf.h: Likewise.
9510 * malloc/malloc.c: Likewise.
9511 * nis/nis_print.c: Likewise.
9512 * resolv/res_comp.c: Likewise.
9513 * stdlib/stdlib.h: Likewise.
9514 * sunrpc/clnt_tcp.c: Likewise.
9515 * sunrpc/clnt_udp.c: Likewise.
9516 * sunrpc/clnt_unix.c: Likewise.
9517 * sysdeps/unix/bsd/ptsname.c: Likewise.
9518 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9519 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9526 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9528 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9530 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9533 2013-08-27 Mike Frysinger <vapier@gentoo.org>
9536 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9537 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9538 ($(objpfx)bug-dl-leaf): New rule.
9539 ($(objpfx)bug-dl-leaf.so): Likewise.
9540 ($(objpfx)bug-dl-leaf.out): Likewise.
9541 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9542 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9543 * dlfcn/bug-dl-leaf.c: New test.
9544 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9545 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9546 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9547 (dlclose): Likewise.
9548 (dlmopen): Likewise.
9550 2013-08-27 Roland McGrath <roland@hack.frob.com>
9552 * include/netdb.h [!_ISOMAC]:
9553 Don't include <tls.h>.
9554 (h_errno, __libc_h_errno): Move declaration and macros out of
9557 * include/resolv.h [_RESOLV_H_]:
9558 Don't include <tls.h>.
9559 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9560 * resolv/res_libc.c: Don't include <tls.h>.
9561 (_res): Use __attribute__ ((nocommon)) in place of
9562 __attribute__ ((section (".bss"))).
9564 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9565 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9567 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9569 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9570 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9572 * resolv/res_mkquery.c: Include <sys/time.h>.
9574 * inet/ifreq.c: Moved to ...
9575 * sysdeps/unix/ifreq.c: ... here.
9576 * inet/ifreq.c: New file, true stub version.
9578 * socket/sa_len.c: New file.
9579 * socket/Makefile (aux): Add it.
9580 * sysdeps/unix/sysv/linux/Makefile
9581 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9582 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9583 and #include <socket/sa_len.c>.
9584 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9585 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9587 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9588 * bits/socket.h: ... here.
9590 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9591 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9592 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9594 2013-08-27 Andreas Schwab <schwab@suse.de>
9597 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9598 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9599 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9600 * string/test-strcasecmp.c (test_main): Run tests in several
9602 * string/test-strncasecmp.c (test_main): Likewise.
9604 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9605 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9606 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9607 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9608 (__strncasecmp_ssse3) [PIC]: Likewise.
9610 2013-08-26 Roland McGrath <roland@hack.frob.com>
9612 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9614 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9615 instead of explicitly declaring xdecrypt.
9616 * nis/nss_nis/nis-publickey.c: Likewise.
9618 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9621 * nscd/aicache.c: Include res_hconf.h.
9622 (addhstaiX): Initialize res_hconf.
9624 2013-08-26 Andreas Schwab <schwab@suse.de>
9626 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9627 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9629 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9631 * nscd/aicache.c (addhstaiX): Fix indentation.
9633 2013-08-25 Mike Frysinger <vapier@gentoo.org>
9635 * configure.ac: Quote $build_pt_chown test.
9636 * configure: Regenerated.
9638 2013-08-23 Joseph Myers <joseph@codesourcery.com>
9641 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9642 * math/s_cexpf.c (__cexpf): Likewise.
9643 * math/s_cexpl.c (__cexpl): Likewise.
9644 * math/libm-test.inc (cexp_test_data): Correct expected return
9645 value for NaN + i0. Add another test.
9647 2013-08-22 David S. Miller <davem@davemloft.net>
9649 * po/ca.po: Update Catalan translation from translation project.
9650 * po/uk.po: Add Ukrainian translations from translation project.
9652 2013-08-21 Joseph Myers <joseph@codesourcery.com>
9655 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9656 is infinite, not alongside NaN test.
9657 * math/s_fdimf.c (__fdimf): Likewise.
9658 * math/s_fdiml.c (__fdiml): Likewise.
9659 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9662 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
9664 * argp/argp-help.c: Fix typos.
9665 * crypt/speeds.c: Likewise.
9666 * csu/check_fds.c: Likewise.
9667 * elf/dl-load.c: Likewise.
9668 * elf/dl-open.c: Likewise.
9669 * elf/reldep3.c: Likewise.
9670 * elf/reldep.c: Likewise.
9671 * elf/sprof.c: Likewise.
9672 * iconv/iconv_charmap.c: Likewise.
9673 * iconv/skeleton.c: Likewise.
9674 * iconv/strtab.c: Likewise.
9675 * io/lockf64.c: Likewise.
9676 * libio/libioP.h: Likewise.
9677 * resolv/gai_notify.c: Likewise.
9678 * resolv/ns_name.c: Likewise.
9679 * resolv/ns_samedomain.c: Likewise.
9680 * resolv/res_send.c: Likewise.
9681 * stdlib/random.c: Likewise.
9682 * sunrpc/rpc/xdr.h: Likewise.
9683 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9684 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9685 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9686 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9687 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9688 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9690 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9691 * sysdeps/mach/hurd/check_fds.c: Likewise.
9692 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9693 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9694 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9695 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9696 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9697 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9698 * sysdeps/pthread/aio_notify.c: Likewise.
9699 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9700 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9701 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9703 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9705 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9707 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9708 version if bit_Slow_SSE4_2 is set.
9709 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9710 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9712 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9715 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9716 trampoline stack frame information.
9717 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9718 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9719 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9720 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9721 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9722 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9723 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9724 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9726 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9727 interrupting a syscall and set with option SA_SIGINFO.
9729 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9732 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9733 argument is infinite.
9734 * math/s_cprojf.c (__cprojf): Likewise.
9735 * math/s_cprojl.c (__cprojl): Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9737 * math/libm-test.inc (cproj_test_data): Add more tests.
9739 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9741 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9742 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9743 size. Use __ffs to determine corresponding shift.
9745 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9746 Roland McGrath <roland@hack.frob.com>
9748 * Makefile (INSTALL): Remove trailing blank lines from output of
9751 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9753 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9754 Align 32 bit compat elf_greg to 8 bytes.
9756 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9758 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9760 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9762 * string/strcoll_l.c (coll_seq): New structure.
9763 (get_next_seq_cached): New function.
9764 (get_next_seq): New function.
9765 (do_compare): New function.
9766 (STRCOLL): Use GNU style definition. Simplify implementation
9767 by using get_next_seq, get_next_seq_cached and do_compare.
9769 2013-08-16 Florian Weimer <fweimer@redhat.com>
9773 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9775 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9777 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9778 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9779 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
9781 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9782 GETDENTS_64BIT_ALIGNED.
9783 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9784 * manual/filesys.texi (Reading/Closing Directory): Document
9785 ENAMETOOLONG return value of readdir_r. Recommend readdir more
9787 * manual/conf.texi (Limits for Files): Add portability note to
9789 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9791 2013-08-13 Andreas Schwab <schwab@suse.de>
9794 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9796 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9797 LDBL_MAX_EXP >= 16384]: Add tests for it.
9799 2013-08-12 David S. Miller <davem@davemloft.net>
9801 * version.h (RELEASE): Set to "development".
9802 (VERSION): Set to "2.18.90".
9803 * NEWS: Add 2.19 section.
9805 2013-08-03 David S. Miller <davem@davemloft.net>
9807 * po/ko.po: Update Korean translation from translation project.
9809 2013-08-01 David S. Miller <davem@davemloft.net>
9811 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
9812 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9815 2013-07-30 David S. Miller <davem@davemloft.net>
9817 * po/fr.po: Update French translation from translation project.
9819 2013-07-28 David S. Miller <davem@davemloft.net>
9821 * po/cs.po: Update Czech translation from translation project.
9823 * po/sv.po: Update Swedish translation from translation project.
9825 2013-07-27 David S. Miller <davem@davemloft.net>
9827 * po/eo.po: Update Esperanto translation from translation project.
9829 * po/vi.po: Update Vietnamese translation from translation project.
9831 * po/de.po: Update German translation from translation project.
9833 2013-07-26 David S. Miller <davem@davemloft.net>
9835 * po/bg.po: Update Bulgarian translation from translation project.
9837 * po/nl.po: Update Dutch translation from translation project.
9838 * po/pl.po: Update Polish translation from translation project.
9839 * po/ru.po: Update Russian translation from translation project.
9841 2013-07-24 David S. Miller <davem@davemloft.net>
9843 * po/libc.pot: Update.
9845 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9847 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9849 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9850 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9851 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9853 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9855 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9857 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9858 Andreas Schwab <schwab@suse.de>
9859 Roland McGrath <roland@hack.frob.com>
9860 Joseph Myers <joseph@codesourcery.com>
9861 Carlos O'Donell <carlos@redhat.com>
9864 * config.h.in: Define HAVE_PT_CHOWN.
9865 * config.make.in (build-pt-chown): New variable.
9866 * configure.in (--enable-pt_chown): New configure option.
9867 * configure: Regenerate.
9868 * login/Makefile: Include Makeconfig. Build pt_chown only if
9869 build-pt-chown is enabled.
9870 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9871 pt_chown to fix pty ownership.
9872 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9874 * manual/install.texi (Configuring and compiling): Mention
9875 --enable-pt_chown. Add @findex for grantpt.
9876 * INSTALL: Regenerate.
9878 2013-07-20 David S. Miller <davem@davemloft.net>
9880 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9881 difference between 32-bit and 64-bit.
9883 2013-07-15 Carlos O'Donell <carlos@redhat.com>
9886 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9887 Avoid system header dependency with -ffreestanding.
9888 ($(objpfx)bits/syscall%d): Likewise.
9890 2013-07-13 David S. Miller <davem@davemloft.net>
9892 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9893 underflows from atanl/atan2l due to bug 15319.
9894 (casinh_test_data): Likewise.
9896 2013-07-07 David S. Miller <davem@davemloft.net>
9898 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9900 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
9902 * sysdeps/i386/fpu/libm-test-ulps: Update.
9903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9905 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9907 * configure.in (--enable-lock-elision): Fix message text.
9908 * INSTALL: Regenerate.
9909 * configure: Regenerate.
9911 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9915 2013-07-03 Andreas Jaeger <aj@suse.de>
9917 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9919 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9920 (ptrace_peeksiginfo_args): Add.
9921 (__ptrace_peeksiginfo_flags): Add.
9922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9923 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9924 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9926 2013-07-03 Allan McRae <allan@archlinux.org>
9928 * sysdeps/i386/fpu/libm-test-ulps: Update.
9930 2013-07-02 David S. Miller <davem@davemloft.net>
9932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9934 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
9936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9938 2013-07-02 Joseph Myers <joseph@codesourcery.com>
9940 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9943 2013-07-02 Andi Kleen <ak@linux.intel.com>
9945 * config.h.in (ENABLE_LOCK_ELISION): Add.
9946 * configure.in (--enable-lock-elision): Add option.
9947 * manual/install.texi: Document --enable lock elision.
9948 * configure: Regenerate
9949 * INSTALL: Regenerate.
9951 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
9953 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
9954 SSE4.2 strcasecmp for libc.a.
9955 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9957 2013-07-02 Joseph Myers <joseph@codesourcery.com>
9960 * soft-fp/op-common.h (_FP_FMA): New macro.
9961 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
9962 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
9963 (_FP_MUL_MEAT_1_imm): ... here.
9964 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
9965 (_FP_MUL_MEAT_1_wide): ... here.
9966 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
9967 (_FP_MUL_MEAT_1_hard): ... here.
9968 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
9969 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
9970 (_FP_MUL_MEAT_2_wide): ... here.
9971 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
9972 (_FP_MUL_MEAT_2_wide_3mul): ... here.
9973 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
9974 (_FP_MUL_MEAT_2_gmp): ... here.
9975 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
9976 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
9977 (_FP_MUL_MEAT_4_wide): ... here.
9978 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
9979 (_FP_MUL_MEAT_4_gmp): ... here.
9980 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
9981 (_FP_WFRACBITS_DW_S): Likewise.
9982 (_FP_WFRACXBITS_DW_S): Likewise.
9983 (_FP_HIGHBIT_DW_S): Likewise.
9984 (FP_FMA_S): Likewise.
9985 (_FP_FRAC_HIGH_DW_S): Likewise.
9986 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
9987 (_FP_WFRACBITS_DW_D): Likewise.
9988 (_FP_WFRACXBITS_DW_D): Likewise.
9989 (_FP_HIGHBIT_DW_D): Likewise.
9990 (FP_FMA_D): Likewise.
9991 (_FP_FRAC_HIGH_DW_D): Likewise.
9992 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
9993 (_FP_WFRACBITS_DW_E): Likewise.
9994 (_FP_WFRACXBITS_DW_E): Likewise.
9995 (_FP_HIGHBIT_DW_E): Likewise.
9996 (FP_FMA_E): Likewise.
9997 (_FP_FRAC_HIGH_DW_E): Likewise.
9998 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
9999 (_FP_WFRACBITS_DW_Q): Likewise.
10000 (_FP_WFRACXBITS_DW_Q): Likewise.
10001 (_FP_HIGHBIT_DW_Q): Likewise.
10002 (FP_FMA_Q): Likewise.
10003 (_FP_FRAC_HIGH_DW_Q): Likewise.
10004 * soft-fp/fmasf4.c: New file.
10005 * soft-fp/fmadf4.c: Likewise.
10006 * soft-fp/fmatf4.c: Likewise.
10008 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10011 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10013 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10015 (index_Slow_SSE4_2): Likewise.
10016 (index_Prefer_PMINUB_for_stringop): Likewise.
10017 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10018 bit_Slow_SSE4_2 is set.
10019 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10020 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10022 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10024 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10025 rtld_global._dl_hwcap2.
10026 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10028 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10029 POWER8 feature descriptions defined in _dl_hwcap2.
10030 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10031 string handling for POWER8 feature bits.
10032 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10033 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10034 _dl_powerpc_cap_flags.
10035 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10036 * sysdeps/powerpc/rtld-global-offsets.sym
10037 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10038 _dl_hwcap2 in the rtld_global_ro structure.
10040 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10042 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10043 hardware capabilities in support of AT_HWCAP2.
10044 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10045 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10047 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10048 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10049 explicitly the unknown a_type display mechanism is used.
10050 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10051 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10053 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10054 to macro prototype for AT_HWCAP2 support.
10055 * sysdeps/i386/dl-procinfo.h: Likewise.
10056 * sysdeps/s390/dl-procinfo.h: Likewise.
10057 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10058 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10059 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10060 return -1 for unknown a_type display fallback.
10061 * sysdeps/sparc/dl-procinfo.h: Likewise.
10062 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10063 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10065 2013-06-28 Joseph Myers <joseph@codesourcery.com>
10067 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10068 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10070 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10073 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10074 mprotect making __stack_prot writable.
10076 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10077 Joseph Myers <joseph@codesourcery.com>
10079 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10080 as being properly aligned.
10082 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10084 * dlfcn/modstatic5.c: New file.
10085 * dlfcn/tststatic5.c: New file.
10086 * dlfcn/Makefile (tests): Add tststatic5.
10087 (tests-static): Likewise.
10088 (modules-names): Add modstatic5.
10089 (tststatic5-ENV): New variable.
10090 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10093 * elf/dl-support.c (_dl_main_map): New variable.
10094 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10095 (_dl_nns, _dl_load_adds): Set to 1.
10096 (_dl_initial_searchlist): Refer to _dl_main_map.
10097 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10098 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10099 call to _dl_get_origin.
10100 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10102 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10103 * dlfcn/modstatic3.c: New file.
10104 * dlfcn/tststatic3.c: New file.
10105 * dlfcn/tststatic4.c: New file.
10106 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10107 (tests-static): Likewise.
10108 (modules-names): Add modstatic3.
10109 (tststatic3-ENV, tststatic4-ENV): New variables.
10110 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10111 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10113 2013-06-26 Joseph Myers <joseph@codesourcery.com>
10115 * configure.in (CC): Require GCC version 4.4 or later.
10116 * configure: Regenerated.
10117 * manual/install.texi (Tools for Compilation): Update GCC version
10119 * INSTALL: Regenerated.
10121 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10124 * string/test-memcmp.c (check2): New.
10125 (main): Call check2.
10127 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10129 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10132 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10134 (dl_open_worker) [!SHARED]: ... here.
10136 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10138 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10140 2013-06-25 Richard Henderson <rth@redhat.com>
10142 * locale/programs/locarchive.c: Include <libc-internal.h>
10144 2013-06-25 Joseph Myers <joseph@codesourcery.com>
10146 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10147 trailing whitespace removed.
10149 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10152 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10153 * locale/programs/locarchive.c: Include libc-mmap.h.
10154 (prepare_address_space): Take two new outputs (the mmap base and len).
10155 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10157 (create_archive): Declare new mmap base and len values for
10158 prepare_address_space, and store the result in ah.
10159 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10160 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10161 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10162 Declare new mmap base and len values for
10163 prepare_address_space, and store the result in new_ah.
10164 (open_archive): Declare new mmap base and len values for
10165 prepare_address_space, and store the result in ah.
10166 (close_archive): If ah->mmap_base is not NULL, use that and
10167 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10168 * sysdeps/generic/libc-mmap.h: New file.
10170 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10172 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10173 (ALIGN_UP): Likewise.
10174 (PTR_ALIGN_DOWN): Likewise.
10175 (PTR_ALIGN_UP): Likewise.
10177 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10179 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10180 entry mapped to PPC_PLATFORM_POWER8.
10181 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10183 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10184 (_dl_string_platform): Add case for exporting platform position for
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10187 search path to sysdeps/powerpc/powerpc32/power8 directory.
10188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10189 search path to sysdeps/powerpc/powerpc64/power8 directory.
10190 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10191 power7 directories.
10192 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10193 power7 directories.
10195 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10197 * INSTALL: Regenerate.
10199 * nscd/connections.c (nscd_init): Fix comment.
10201 2013-06-22 Joseph Myers <joseph@codesourcery.com>
10203 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10206 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10207 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10209 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10211 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10213 (DL_DST_REQ_STATIC): Remove macro.
10215 2013-06-21 Joseph Myers <joseph@codesourcery.com>
10218 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10219 with a shift of 0 bits.
10221 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10223 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10226 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10229 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10231 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10233 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10234 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10235 accepts -fno-tree-loop-distribute-patterns.
10236 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10237 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10239 * string/memset.c (memset): Likewise.
10240 * string/test-memmove.c (simple_memmove): Disable loop transformation
10242 * string/test-memset.c (simple_memset): Likewise.
10243 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10244 * benchtests/bench-memset.c (simple_memset): Likewise.
10245 * configure: Regenerated.
10247 2013-06-20 Joseph Myers <joseph@codesourcery.com>
10249 * math/test-misc.c (main): Ignore fesetround failure when failures
10250 of subsequent rounding tests would be ignored.
10253 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10254 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10255 * math/fegetenv.c (__fegetenv): Return 0.
10256 * math/fegetexcept.c (fegetexcept): Return 0.
10257 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10259 * math/feholdexcpt.c (feholdexcept): Return 0.
10260 * math/fesetenv.c (__fesetenv): Return 0.
10261 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10262 argument FE_TONEAREST.
10263 * math/feupdateenv.c (__feupdateenv): Return 0.
10264 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10266 2013-06-18 Roland McGrath <roland@hack.frob.com>
10268 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10269 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10270 ($(objpfx)rtld-%.os rules): Use them.
10272 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10274 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10277 2013-06-17 Roland McGrath <roland@hack.frob.com>
10279 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10280 length of target pattern, then descending length of dependency pattern.
10281 * configure.in (AWK): Require gawk 3.1.2 or newer.
10282 * manual/install.texi (Tools for Compilation): Say that we do.
10283 * configure: Regenerated.
10285 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10286 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10287 * scripts/sysd-rules.awk: ... this new script.
10288 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10289 than a glob-style pattern.
10291 2013-06-17 Joseph Myers <joseph@codesourcery.com>
10293 * math/test-misc.c (main): Do not treat incorrectly rounded
10294 conversions as failure unless ROUNDING_TESTS passes.
10296 2013-06-15 Joseph Myers <joseph@codesourcery.com>
10299 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10300 restore exception state around main square root computation, then
10301 check for inexactness explicitly.
10303 * math/libm-test.inc (fma_test_data): Add another test.
10305 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10307 * manual/threads.texi (Non-POSIX Extensions): New document
10308 node. Document pthread_getattr_default_np and
10309 pthread_setattr_default_np.
10311 * Versions.def (libpthread): Add GLIBC_2.18.
10312 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10321 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10332 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10335 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10337 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10338 H.J. Lu <hjl.tools@gmail.com>
10341 * sysdeps/x86_64/rtld-memset.c: Remove file.
10342 * sysdeps/x86_64/rtld-memset.S: New file.
10344 2013-06-14 Joseph Myers <joseph@codesourcery.com>
10346 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10347 (test_in_one_mode): Take arguments for whether the rounding mode
10348 is supported for each floating-point type.
10349 (do_test): Pass new arguments to test_in_one_mode using
10352 2013-06-13 Roland McGrath <roland@hack.frob.com>
10354 * posix/tst-waitid.c (do_test): Distinguish different instances of
10355 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10356 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10357 before entering the kernel for waitpid.
10359 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10361 * NEWS: Fix note on clock function precision. Text by Roland
10364 2013-06-13 Roland McGrath <roland@hack.frob.com>
10366 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10367 it into place only when and if the sanity check passes.
10369 2013-06-13 Joseph Myers <joseph@codesourcery.com>
10371 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10372 output for whether conversion result is exact. Take argument
10373 indicating whether type is IBM long double.
10374 (round_for_all): Change need_exact field to ibm_ld.
10375 * stdlib/tst-strtod-round.c (struct exactness): New type.
10376 (struct test): Change bool ld_ok field to struct exactness exact.
10377 (TEST): Update all definitions for change to field.
10378 (tests): Regenerate array contents.
10379 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10380 field value. Check for IBM long double here.
10381 (do_test): Update calls to test_in_one_mode.
10383 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10386 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10387 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10389 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10392 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10393 generated by the compiler on loop optimizations.
10394 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10395 general definitions.
10397 2013-06-12 Joseph Myers <joseph@codesourcery.com>
10399 * math/bug-nextafter.c: Include <math-tests.h>.
10400 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10402 * math/bug-nexttoward.c: Include <math-tests.h>.
10403 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10405 * math/test-misc.c: Include <math-tests.h>.
10406 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10409 2013-06-12 Andreas Jaeger <aj@suse.de>
10411 * po/ia.po: Update Interlingua translation from translation
10414 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10416 * include/fenv.h: Include stdbool.h.
10417 (struct rm_ctx): New structure.
10418 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10420 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10421 (SET_RESTORE_ROUNDF): Likewise.
10422 (SET_RESTORE_ROUNDL): Likewise.
10423 (SET_RESTORE_ROUND_NOEX): Likewise.
10424 (SET_RESTORE_ROUND_NOEXF): Likewise.
10425 (SET_RESTORE_ROUND_NOEXL): Likewise.
10426 (SET_RESTORE_ROUND_53BIT): Likewise.
10427 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10428 (libc_feresetround_noexf_ctx): Likewise.
10429 (libc_feresetround_noexl_ctx): Likewise.
10430 (libc_feholdsetround_53bit_ctx): Likewise.
10431 (libc_feresetround_53bit_ctx): Likewise.
10432 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10433 (libc_feholdexcept_setround_sse_ctx): New function.
10434 (libc_fesetenv_sse_ctx): Likewise.
10435 (libc_feupdateenv_sse_ctx): Likewise.
10436 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10437 (libc_feholdexcept_setround_387_ctx): Likewise.
10438 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10439 (libc_feholdsetround_387_prec_ctx): Likewise.
10440 (libc_feholdsetround_387_ctx): Likewise.
10441 (libc_feholdsetround_387_53bit_ctx): Likewise.
10442 (libc_feholdsetround_sse_ctx): Likewise.
10443 (libc_feresetround_sse_ctx): Likewise.
10444 (libc_feresetround_387_ctx): Likewise.
10445 (libc_feupdateenv_387_ctx): Likewise.
10446 (libc_feholdexcept_setroundf_ctx): Define macro.
10447 (libc_fesetenvf_ctx): Likewise.
10448 (libc_feupdateenvf_ctx): Likewise.
10449 (libc_feholdsetroundf_ctx): Likewise.
10450 (libc_feresetroundf_ctx): Likewise.
10451 (libc_feholdexcept_setround_ctx): Likewise.
10452 (libc_fesetenv_ctx): Likewise.
10453 (libc_feupdateenv_ctx): Likewise.
10454 (libc_feholdsetround_ctx): Likewise.
10455 (libc_feresetround_ctx): Likewise.
10456 (libc_feholdexcept_setroundl_ctx): Likewise.
10457 (libc_feupdateenvl_ctx): Likewise.
10458 (libc_feholdsetroundl_ctx): Likewise.
10459 (libc_feresetroundl_ctx): Likewise.
10460 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10461 (libc_feresetround_53bit_ctx): Likewise.
10463 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10465 * locale/iso-639.def: Convert to UTF-8.
10467 2013-06-11 Joseph Myers <joseph@codesourcery.com>
10469 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10470 (EXCEPTION_TESTS_double): Likewise.
10471 (EXCEPTION_TESTS_long_double): Likewise.
10472 (EXCEPTION_TESTS): Likewise.
10473 * math/libm-test.inc (test_exceptions): Only test exceptions if
10474 EXCEPTION_TESTS (FLOAT).
10476 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10478 * benchtests/Makefile (string-bench): Add strcpy_chk and
10480 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10481 * benchtests/bench-stpcpy_chk.c: New file.
10482 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10483 * benchtests/bench-strcpy_chk.c: New file.
10484 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10486 (do_test): Likewise.
10488 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10490 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10491 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10492 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10493 with tabs where appropriate.
10494 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10496 [PPC_PLATFORM_PPC440]: Likewise.
10497 [PPC_PLATFORM_PPC464]: Likewise.
10498 [PPC_PLATFORM_PPC476]: Likewise.
10499 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10500 ppc464, and ppc476 platform strings merging from ports/
10503 2013-06-11 Andreas Schwab <schwab@suse.de>
10506 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10507 (from_ucs4_idx): Regenerate.
10508 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10509 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10510 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10511 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10512 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10513 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10514 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10515 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10516 from FROM_LOOP and TO_LOOP specific macros.
10517 (BODY): Handle combining characters.
10518 * iconvdata/BIG5HKSCS.irreversible: Update.
10519 * iconvdata/BIG5HKSCS.precomposed: New file.
10520 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10522 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10524 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10526 * include/sys/time.h: Fix indentation and add copyright header.
10528 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10529 (do_test): Likewise.
10530 * string/test-memchr.c (do_one_test): Likewise.
10531 (do_test): Likewise.
10532 * string/test-memcmp.c (do_one_test): Likewise.
10533 (do_test): Likewise.
10534 * string/test-memcpy.c (do_one_test): Likewise.
10535 (do_test): Likewise.
10536 * string/test-memmem.c (do_one_test): Likewise.
10537 (do_test): Likewise.
10538 (do_random_tests): Likewise.
10539 * string/test-memmove.c (do_one_test): Likewise.
10540 (do_test): Likewise.
10541 * string/test-memset.c (do_one_test): Likewise.
10542 (do_test): Likewise.
10543 * string/test-rawmemchr.c (do_one_test): Likewise.
10544 (do_test): Likewise.
10545 * string/test-strcasecmp.c (do_one_test): Likewise.
10546 (do_test): Likewise.
10547 * string/test-strcasestr.c (do_one_test): Likewise.
10548 (do_test): Likewise.
10549 * string/test-strcat.c (do_one_test): Likewise.
10550 (do_test): Likewise.
10551 * string/test-strchr.c (do_one_test): Likewise.
10552 (do_test): Likewise.
10553 * string/test-strcmp.c (do_one_test): Likewise.
10554 (do_test): Likewise.
10555 * string/test-strcpy.c (do_one_test): Likewise.
10556 (do_test): Likewise.
10557 * string/test-string.h: Likewise.
10558 (test_init): Likewise.
10559 * string/test-strlen.c (do_one_test): Likewise.
10560 (do_test): Likewise.
10561 * string/test-strncasecmp.c (do_one_test): Likewise.
10562 (do_test): Likewise.
10563 * string/test-strncat.c (do_one_test): Likewise.
10564 (do_test): Likewise.
10565 * string/test-strncmp.c (do_one_test): Likewise.
10566 (do_test_limit): Likewise.
10567 (do_test): Likewise.
10568 * string/test-strncpy.c (do_one_test): Likewise.
10569 (do_test): Likewise.
10570 * string/test-strnlen.c (do_one_test): Likewise.
10571 (do_test): Likewise.
10572 * string/test-strpbrk.c (do_one_test): Likewise.
10573 (do_test): Likewise.
10574 * string/test-strrchr.c (do_one_test): Likewise.
10575 (do_test): Likewise.
10576 * string/test-strspn.c (do_one_test): Likewise.
10577 (do_test): Likewise.
10578 * string/test-strstr.c (do_one_test): Likewise.
10579 (do_test): Likewise.
10581 * benchtests/Makefile (string-bench): Add string benchmarks.
10582 * benchtests/bench-bcopy-ifunc.c: New file.
10583 * benchtests/bench-bcopy.c: New file.
10584 * benchtests/bench-bzero-ifunc.c: New file.
10585 * benchtests/bench-bzero.c: New file.
10586 * benchtests/bench-memccpy-ifunc.c: New file.
10587 * benchtests/bench-memccpy.c: New file.
10588 * benchtests/bench-memchr-ifunc.c: New file.
10589 * benchtests/bench-memchr.c: New file.
10590 * benchtests/bench-memcmp-ifunc.c: New file.
10591 * benchtests/bench-memcmp.c: New file.
10592 * benchtests/bench-memmem-ifunc.c: New file.
10593 * benchtests/bench-memmem.c: New file.
10594 * benchtests/bench-memmove-ifunc.c: New file.
10595 * benchtests/bench-memmove.c: New file.
10596 * benchtests/bench-mempcpy-ifunc.c: New file.
10597 * benchtests/bench-mempcpy.c: New file.
10598 * benchtests/bench-memset-ifunc.c: New file.
10599 * benchtests/bench-memset.c: New file.
10600 * benchtests/bench-rawmemchr-ifunc.c: New file.
10601 * benchtests/bench-rawmemchr.c: New file.
10602 * benchtests/bench-stpcpy-ifunc.c: New file.
10603 * benchtests/bench-stpcpy.c: New file.
10604 * benchtests/bench-stpncpy-ifunc.c: New file.
10605 * benchtests/bench-stpncpy.c: New file.
10606 * benchtests/bench-strcasecmp-ifunc.c: New file.
10607 * benchtests/bench-strcasecmp.c: New file.
10608 * benchtests/bench-strcasestr-ifunc.c: New file.
10609 * benchtests/bench-strcasestr.c: New file.
10610 * benchtests/bench-strcat-ifunc.c: New file.
10611 * benchtests/bench-strcat.c: New file.
10612 * benchtests/bench-strchr-ifunc.c: New file.
10613 * benchtests/bench-strchr.c: New file.
10614 * benchtests/bench-strchrnul-ifunc.c: New file.
10615 * benchtests/bench-strchrnul.c: New file.
10616 * benchtests/bench-strcmp-ifunc.c: New file.
10617 * benchtests/bench-strcmp.c: New file.
10618 * benchtests/bench-strcpy-ifunc.c: New file.
10619 * benchtests/bench-strcpy.c: New file.
10620 * benchtests/bench-strcspn-ifunc.c: New file.
10621 * benchtests/bench-strcspn.c: New file.
10622 * benchtests/bench-strlen-ifunc.c: New file.
10623 * benchtests/bench-strlen.c: New file.
10624 * benchtests/bench-strncasecmp-ifunc.c: New file.
10625 * benchtests/bench-strncasecmp.c: New file.
10626 * benchtests/bench-strncat-ifunc.c: New file.
10627 * benchtests/bench-strncat.c: New file.
10628 * benchtests/bench-strncmp-ifunc.c: New file.
10629 * benchtests/bench-strncmp.c: New file.
10630 * benchtests/bench-strncpy-ifunc.c: New file.
10631 * benchtests/bench-strncpy.c: New file.
10632 * benchtests/bench-strnlen-ifunc.c: New file.
10633 * benchtests/bench-strnlen.c: New file.
10634 * benchtests/bench-strpbrk-ifunc.c: New file.
10635 * benchtests/bench-strpbrk.c: New file.
10636 * benchtests/bench-strrchr-ifunc.c: New file.
10637 * benchtests/bench-strrchr.c: New file.
10638 * benchtests/bench-strspn-ifunc.c: New file.
10639 * benchtests/bench-strspn.c: New file.
10640 * benchtests/bench-strstr-ifunc.c: New file.
10641 * benchtests/bench-strstr.c: New file.
10643 * benchtests/Makefile: Disable parallel execution of targets.
10644 (string-bench): Add memcpy.
10645 (benchset): New variable to store a list of benchmark sets.
10646 (bench-func): Renamed from bench.
10647 (bench-set): New target.
10648 (bench): Depend on bench-func and bench-set.
10649 * benchtests/README: Add section on benchmark sets.
10650 * benchtests/bench-memcpy-ifunc.c: New file.
10651 * benchtests/bench-memcpy.c: New file.
10652 * benchtests/bench-string.h: New file.
10654 2013-06-11 Andreas Schwab <schwab@suse.de>
10657 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10658 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10659 values in the triple.
10660 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10661 terminator in the group key.
10663 2013-06-11 Andreas Jaeger <aj@suse.de>
10665 * po/zh_TW.po: Update Chinese (traditional) translation from
10666 translation project.
10668 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10670 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10671 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10672 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10674 (clock_getcpuclockid): Likewise.
10675 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10676 Add weak_alias and libc_hidden_def.
10677 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10678 * rt/clock_gettime.c (clock_gettime): Rename to
10679 __clock_gettime. Add weak_alias and libc_hidden_def.
10680 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10681 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10682 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10683 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10684 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10686 * rt/clock_settime.c (clock_settime): Rename to
10687 __clock_settime. Add weak_alias and libc_hidden_def.
10688 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10690 2013-06-10 Joseph Myers <joseph@codesourcery.com>
10692 * mach/err_boot.sub: Remove trailing whitespace.
10693 * mach/err_ipc.sub: Likewise.
10694 * mach/err_mach.sub: Likewise.
10696 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10697 (ROUNDING_TESTS_double): Likewise.
10698 (ROUNDING_TESTS_long_double): Likewise.
10699 (ROUNDING_TESTS): Likewise.
10700 * math/libm-test.inc: Include <math-tests.h>.
10701 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10702 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10703 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10704 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10706 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10708 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10711 2013-06-08 Joseph Myers <joseph@codesourcery.com>
10713 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10714 otherwise empty TRANS lines.
10715 * sysdeps/gnu/errlist.c: Regenerated.
10717 * catgets/gencat.c (error_print): Use (void) in function
10719 * crypt/crypt_util.c (__init_des): Likewise.
10720 * crypt/speeds.c (Stop): Likewise.
10722 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10723 * inet/ruserpass.c (token): Likewise.
10724 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10725 * intl/localealias.c (extend_alias_table): Likewise.
10726 * intl/plural-exp.c (init_germanic_plural): Likewise.
10727 * libio/fcloseall.c (__fcloseall): Likewise.
10728 * libio/genops.c (_IO_flush_all): Likewise.
10729 (_IO_flush_all_linebuffered): Likewise.
10730 (_IO_cleanup): Likewise.
10731 (_IO_iter_begin): Likewise.
10732 (_IO_iter_end): Likewise.
10733 (_IO_list_lock): Likewise.
10734 (_IO_list_unlock): Likewise.
10735 (_IO_list_resetlock): Likewise.
10736 * libio/getchar.c (getchar): Likewise.
10737 * libio/getchar_u.c (getchar_unlocked): Likewise.
10738 * libio/getwchar.c (getwchar): Likewise.
10739 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10740 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10741 * login/getpt.c (__getpt): Likewise.
10742 * login/tst-utmp.c (main): Likewise.
10743 * malloc/hooks.c (__malloc_check_init): Likewise.
10744 * malloc/malloc.c (__malloc_stats): Likewise.
10745 * malloc/mtrace.c (tr_break): Likewise.
10746 (mtrace): Likewise.
10747 (muntrace): Likewise.
10748 * misc/fstab.c (endfsent): Likewise.
10749 * misc/getclktck.c (__getclktck): Likewise.
10750 * misc/getdtsz.c (__getdtablesize): Likewise.
10751 * misc/gethostid.c (gethostid): Likewise.
10752 * misc/getpagesize.c (__getpagesize): Likewise.
10753 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10754 (__get_nprocs): Likewise.
10755 (__get_phys_pages): Likewise.
10756 (__get_avphys_pages): Likewise.
10757 * misc/getttyent.c (getttyent): Likewise.
10758 (setttyent): Likewise.
10759 (endttyent): Likewise.
10760 * misc/getusershell.c (getusershell): Likewise.
10761 (endusershell): Likewise.
10762 (setusershell): Likewise.
10763 (initshells): Likewise.
10764 * misc/hsearch.c (__hdestroy): Likewise.
10765 * misc/sync.c (sync): Likewise.
10766 * misc/syslog.c (closelog_internal): Likewise.
10767 (closelog): Likewise.
10768 * misc/ttyslot.c (ttyslot): Likewise.
10769 * misc/vhangup.c (vhangup): Likewise.
10770 * posix/fork.c (__fork): Likewise.
10771 * posix/getegid.c (__getegid): Likewise.
10772 * posix/geteuid.c (__geteuid): Likewise.
10773 * posix/getgid.c (__getgid): Likewise.
10774 * posix/getpid.c (__getpid): Likewise.
10775 * posix/getppid.c (__getppid): Likewise.
10776 * posix/getuid.c (__getuid): Likewise.
10777 * posix/pause.c (pause): Likewise.
10778 * posix/setpgrp.c (setpgrp): Likewise.
10779 * posix/setsid.c (__setsid): Likewise.
10780 * posix/test-vfork.c (noop): Likewise.
10781 * resolv/gethnamaddr.c (_endhtent): Likewise.
10782 (_gethtent): Likewise.
10783 (ht_endhostent): Likewise.
10784 (gethostent): Likewise.
10785 (dns_service): Likewise.
10786 * stdlib/drand48.c (drand48): Likewise.
10787 * stdlib/lrand48.c (lrand48): Likewise.
10788 * stdlib/mrand48.c (mrand48): Likewise.
10789 * stdlib/rand.c (rand): Likewise.
10790 * stdlib/random.c (__random): Likewise.
10791 * stdlib/setenv.c (clearenv): Likewise.
10792 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10793 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10794 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10795 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10796 (__get_nprocs): Likewise.
10797 (__get_phys_pages): Likewise.
10798 (__get_avphys_pages): Likewise.
10799 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10800 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10801 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10802 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10803 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10804 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10805 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10806 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10807 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10808 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10809 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10810 * sysdeps/mach/hurd/sync.c (sync): Likewise.
10811 * sysdeps/posix/clock.c (clock): Likewise.
10812 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10813 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10814 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10815 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10816 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10818 (__get_nprocs_conf): Likewise.
10819 (__get_phys_pages): Likewise.
10820 (__get_avphys_pages): Likewise.
10821 * time/clock.c (clock): Likewise.
10822 * time/tzset.c (__tzname_max): Likewise.
10824 2013-06-07 Joseph Myers <joseph@codesourcery.com>
10826 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10827 (__bswap_32): Do not use "register".
10828 * crypt/crypt.c (_ufc_doit_r): Likewise.
10829 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10830 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10831 * gmon/gmon.c (__monstartup): Likewise.
10832 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10833 * hurd/hurdmalloc.c (more_memory): Likewise.
10834 (malloc): Likewise.
10836 (realloc): Likewise.
10837 (malloc_fork_prepare): Likewise.
10838 (malloc_fork_parent): Likewise.
10839 (malloc_fork_child): Likewise.
10840 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10841 (_svcauth_des): Likewise.
10842 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10843 * inet/inet_net.c (inet_network): Likewise.
10844 * inet/inet_netof.c (inet_netof): Likewise.
10845 * inet/rcmd.c (__validuser2_sa): Likewise.
10846 * io/fts.c (fts_open): Likewise.
10847 (fts_load): Likewise.
10848 (fts_close): Likewise.
10849 (fts_read): Likewise.
10850 (fts_children): Likewise.
10851 (fts_build): Likewise.
10852 (fts_stat): Likewise.
10853 (fts_sort): Likewise.
10854 (fts_alloc): Likewise.
10855 (fts_lfree): Likewise.
10856 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10857 (_IO_file_xsgetn): Likewise.
10858 (_IO_file_xsgetn_mmap): Likewise.
10859 * libio/iofopncook.c (_IO_cookie_read): Likewise.
10860 (_IO_cookie_write): Likewise.
10861 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10862 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10863 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10864 * malloc/obstack.c (_obstack_begin): Likewise.
10865 (_obstack_begin_1): Likewise.
10866 (_obstack_newchunk): Likewise.
10867 (_obstack_allocated_p): Likewise.
10868 (obstack_free): Likewise.
10869 (_obstack_memory_used): Likewise.
10870 * misc/getttyent.c (getttynam): Likewise.
10871 (getttyent): Likewise.
10874 * misc/getusershell.c (initshells): Likewise.
10875 * misc/syslog.c (__vsyslog_chk): Likewise.
10876 * misc/ttyslot.c (ttyslot): Likewise.
10877 * nis/nis_hash.c (__nis_hash): Likewise.
10878 * posix/fnmatch_loop.c (FCT): Likewise.
10879 * posix/getconf.c (print_all): Likewise.
10881 * posix/getopt.c (exchange): Likewise.
10882 * posix/glob.c (globfree): Likewise.
10883 (prefix_array): Likewise.
10884 (__glob_pattern_type): Likewise.
10885 * resolv/arpa/nameser.h (NS_GET16): Likewise.
10886 (NS_GET32): Likewise.
10887 (NS_PUT16): Likewise.
10888 (NS_PUT32): Likewise.
10889 * resolv/gethnamaddr.c (getanswer): Likewise.
10890 (gethostbyname2): Likewise.
10891 (gethostbyaddr): Likewise.
10892 (_gethtent): Likewise.
10893 (_gethtbyname2): Likewise.
10894 (_gethtbyaddr): Likewise.
10895 * resolv/ns_print.c (dst_s_get_int16): Likewise.
10896 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10897 * resolv/res_init.c (__res_vinit): Likewise.
10898 (net_mask): Likewise.
10899 * resolv/res_mkquery.c (outchar): Likewise.
10901 * stdio-common/printf_fp.c (outchar): Likewise.
10903 * stdio-common/printf_fphex.c (outchar): Likewise.
10905 * stdio-common/printf_size.c (outchar): Likewise.
10907 * stdio-common/test_rdwr.c (main): Likewise.
10908 * stdio-common/tfformat.c (matches): Likewise.
10909 * stdio-common/vfprintf.c (outchar): Likewise.
10910 (printf_unknown): Likewise.
10911 (buffered_vfprintf): Likewise.
10912 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10913 * stdio-common/xbug.c (AppendToBuffer): Likewise.
10914 (ReadFile): Likewise.
10915 * stdlib/qsort.c (SWAP): Likewise.
10916 (_quicksort): Likewise.
10917 * stdlib/setenv.c (__add_to_environ): Likewise.
10918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10919 * stdlib/strtol_l.c (__strtol_l): Likewise.
10920 * stdlib/tst-strtod.c (main): Likewise.
10921 * stdlib/tst-strtol.c (main): Likewise.
10922 * stdlib/tst-strtoll.c (main): Likewise.
10923 * string/bits/string2.h (__strcmp_cc): Likewise.
10924 (__strcmp_cg): Likewise.
10925 (__strcspn_c1): Likewise.
10926 (__strcspn_c2): Likewise.
10927 (__strcspn_c3): Likewise.
10928 (__strspn_c1): Likewise.
10929 (__strspn_c2): Likewise.
10930 (__strspn_c3): Likewise.
10931 (__strsep_1c): Likewise.
10932 (__strsep_2c): Likewise.
10933 (__strsep_3c): Likewise.
10934 * string/memccpy.c (__memccpy): Likewise.
10935 * string/stpcpy.c (__stpcpy): Likewise.
10936 * string/strcmp.c (strcmp): Likewise.
10937 * string/strrchr.c (strrchr): Likewise.
10938 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
10940 * sysdeps/mach/hurd/getcwd.c
10941 (_hurd_canonicalize_directory_name_internal): Likewise.
10942 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
10943 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
10944 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
10945 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
10946 Likewise, in both definitions.
10947 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
10949 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
10950 64] (__bswap_64): Likewise.
10951 * time/test_time.c (main): Likewise.
10952 * time/tzfile.c (__tzfile_read): Likewise.
10953 (__tzfile_compute): Likewise.
10954 * time/tzset.c (__tzset_parse_tz): Likewise.
10955 (tzset_internal): Likewise.
10956 (compute_change): Likewise.
10957 * wcsmbs/wcscat.c (__wcscat): Likewise.
10958 * wcsmbs/wcschr.c (wcschr): Likewise.
10959 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10960 * wcsmbs/wcscspn.c (wcscspn): Likewise.
10961 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10962 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
10963 * wcsmbs/wcsspn.c (wcsspn): Likewise.
10964 * wcsmbs/wcsstr.c (wcsstr): Likewise.
10965 * wcsmbs/wmemchr.c (wmemchr): Likewise.
10966 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10967 * wcsmbs/wmemset.c (wmemset): Likewise.
10969 2013-06-06 Joseph Myers <joseph@codesourcery.com>
10971 * scripts/config.guess: Update to version 2013-05-16.
10972 * scripts/config.sub: Update to version 2013-04-24.
10973 * scripts/install-sh: Update to version 2011-11-20.07.
10974 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
10975 * scripts/move-if-change: Update to version 2012-01-06 07:23.
10977 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
10979 * debug/fgetws_u_chk.c: Fix leading whitespaces.
10980 * elf/sln.c: Likewise.
10981 * hurd/hurd/ioctl.h: Likewise.
10982 * hurd/hurdmalloc.c: Likewise.
10983 * hurd/xattr.c: Likewise.
10984 * include/shlib-compat.h: Likewise.
10985 * inet/ruserpass.c: Likewise.
10986 * libio/iofgets_u.c: Likewise.
10987 * libio/iofgetws_u.c: Likewise.
10988 * locale/programs/ld-identification.c: Likewise.
10989 * locale/programs/ld-time.c: Likewise.
10990 * mach/msg-destroy.c: Likewise.
10991 * nss/nss_files/files-netgrp.c: Likewise.
10992 * resolv/res_data.c: Likewise.
10993 * soft-fp/op-1.h: Likewise.
10994 * soft-fp/op-2.h: Likewise.
10995 * soft-fp/op-4.h: Likewise.
10996 * soft-fp/op-common.h: Likewise.
10997 * stdio-common/printf_fphex.c: Likewise.
10998 * stdlib/strtod_l.c: Likewise.
10999 * sunrpc/rpc/clnt.h: Likewise.
11000 * sysdeps/generic/framestate.c: Likewise.
11001 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11002 * sysdeps/i386/bsd-setjmp.S: Likewise.
11003 * sysdeps/i386/__longjmp.S: Likewise.
11004 * sysdeps/i386/setjmp.S: Likewise.
11005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11006 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11007 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11023 * sysdeps/ieee754/support.c: Likewise.
11024 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11025 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11026 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11027 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11028 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11029 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11030 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11031 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11032 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11033 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11034 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11035 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11036 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11037 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11038 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11039 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11040 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11043 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
11045 * posix/transbug.c: Remove executable mode.
11047 2013-06-05 Joseph Myers <joseph@codesourcery.com>
11049 * crypt/speeds.c: Remove trailing whitespace.
11050 * dlfcn/default.c: Likewise.
11051 * elf/ifuncdep2.c: Likewise.
11052 * elf/ifuncmain1.c: Likewise.
11053 * elf/ifuncmain1vis.c: Likewise.
11054 * elf/testobj.h: Likewise.
11055 * elf/tst-stackguard1.c: Likewise.
11056 * gmon/sys/gmon.h: Likewise.
11057 * hurd/hurdmsg.c: Likewise.
11058 * hurd/new-fd.c: Likewise.
11059 * hurd/ports-get.c: Likewise.
11060 * iconvdata/ibm1008_420.c: Likewise.
11061 * inet/tst-getni1.c: Likewise.
11062 * inet/tst-getni2.c: Likewise.
11063 * libio/ioungetc.c: Likewise.
11064 * libio/wfiledoalloc.c: Likewise.
11065 * manual/libm-err-tab.pl: Likewise.
11066 * math/w_dremf.c: Likewise.
11067 * misc/ftruncate.c: Likewise.
11068 * posix/bug-glob2.c: Likewise.
11069 * posix/tst-pcre.c: Likewise.
11070 * posix/wait4.c: Likewise.
11071 * resolv/README: Likewise.
11072 * resolv/res_debug.h: Likewise.
11073 * resolv/tst-inet_ntop.c: Likewise.
11074 * setjmp/bug269-setjmp.c: Likewise.
11075 * soft-fp/extended.h: Likewise.
11076 * soft-fp/op-1.h: Likewise.
11077 * soft-fp/op-2.h: Likewise.
11078 * soft-fp/op-4.h: Likewise.
11079 * soft-fp/op-8.h: Likewise.
11080 * soft-fp/testit.c: Likewise.
11081 * stdio-common/bug16.c: Likewise.
11082 * stdlib/random.c: Likewise.
11083 * sunrpc/rpcsvc/rquota.x: Likewise.
11084 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11085 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11086 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11087 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11088 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11089 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11090 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11091 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11092 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11093 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11094 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11113 * sysdeps/ieee754/s_lib_version.c: Likewise.
11114 * sysdeps/mach/hurd/check_fds.c: Likewise.
11115 * sysdeps/mach/hurd/getsockname.c: Likewise.
11116 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11117 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11118 * sysdeps/powerpc/bits/link.h: Likewise.
11119 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11120 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11121 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11122 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11123 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11124 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11125 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11126 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11127 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11128 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11129 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11130 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11131 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11132 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11133 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11134 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11135 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11136 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11137 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11138 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11139 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11140 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11141 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11142 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11143 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11144 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11145 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11146 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11147 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11148 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11149 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11150 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11151 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11152 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11153 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11154 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11155 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11156 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11157 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11158 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11159 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11160 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11161 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11162 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11163 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11164 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11165 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11166 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11167 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11168 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11171 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11172 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11173 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11174 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11175 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11176 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11177 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11178 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11179 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11180 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11181 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11182 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11183 * sysdeps/powerpc/sysdep.h: Likewise.
11184 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11185 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11186 * sysdeps/sh/dl-trampoline.S: Likewise.
11187 * sysdeps/sh/memset.S: Likewise.
11188 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11189 * sysdeps/sh/strlen.S: Likewise.
11190 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11191 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11192 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11193 * sysdeps/sparc/sparc32/rem.S: Likewise.
11194 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11195 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11196 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11197 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11198 * sysdeps/sparc/sparc32/urem.S: Likewise.
11199 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11200 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11201 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11202 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11203 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11204 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11205 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11206 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11207 * sysdeps/unix/bsd/times.c: Likewise.
11208 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11209 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11213 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11214 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11215 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11216 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11217 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11218 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11219 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11220 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11221 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11222 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11223 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11224 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11225 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11226 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11227 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11228 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11229 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11230 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11231 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11232 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11233 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11234 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11235 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11236 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11237 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11238 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11239 * sysdeps/x86_64/strcspn.S: Likewise.
11241 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11243 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11244 generated file. Regenerate properly from gen-translit.pl.
11245 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11246 locale/C-translit.h.
11248 2013-06-05 Andreas Schwab <schwab@suse.de>
11251 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11252 week as 6 instead of -1.
11253 * time/tst-strptime.c (day_tests): Add test case.
11255 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11257 * sysdeps/generic/math_private.h
11258 (libc_feholdexcept_setround_53bit): Replace with
11259 libc_feholdsetround_53bit.
11260 (libc_feupdateenv_53bit): Replace with
11261 libc_feresetround_53bit.
11262 (SET_RESTORE_ROUND_53BIT): Adjust.
11264 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11266 * string/test-strchrnul.c: Add copyright header.
11268 * posix/tst-getaddrinfo4.c: Increase test timeout.
11270 2013-06-03 Carlos O'Donell <carlos@redhat.com>
11273 * math/libm-test.inc (MAX_EXP): Remove
11275 (ulp): Use MIN_EXP - MANT_DIG.
11276 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11278 2013-05-31 Carlos O'Donell <carlos@redhat.com>
11280 * po/be.po: Revert last change.
11281 * po/zh_CN.po: Likewise.
11282 * po/header.pot: Likewise.
11284 2013-05-31 Joseph Myers <joseph@codesourcery.com>
11286 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11287 link-libc-deps to empty as target-specific variable.
11288 * Makerules (link-libc-args): New variable.
11289 (libc-for-link): Likewise.
11290 (link-libc-deps): Likewise.
11291 (lib%.so): Depend on $(link-libc-deps). Link with
11293 (build-module): Link with $(link-libc-args).
11294 (build-module-asneeded): Likewise.
11295 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11297 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11298 target-specific variable.
11299 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11300 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11301 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11303 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11305 ($(objpfx)libpcprofile.so): Likewise.
11306 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11308 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11309 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11310 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11312 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11313 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11314 * login/Makefile ($(objpfx)libutil.so): Likewise.
11315 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11316 * math/Makefile ($(objpfx)libm.so): Likewise.
11317 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11318 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11319 variable instead of depending directly on libc.
11320 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11321 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11323 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11325 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11326 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11327 ($(objpfx)libanl.so): Likewise.
11328 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11330 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11332 * sysdeps/i386/fpu/Makefile: Remove file.
11333 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11334 ($(objpfx)libm.so): Remove dependency on ld.so.
11336 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
11339 * nis/yp_xdr.c (XDRMAXNAME): Define.
11340 (XDRMAXRECORD): Define.
11341 (xdr_domainname): Use XDRMAXNAME.
11342 (xdr_mapname): Likewise.
11343 (xdr_peername): Likewise.
11344 (xdr_keydat): Use XDRMAXRECORD.
11345 (xdr_valdat): Likewise.
11347 2013-05-30 Jeff Law <law@redhat.com>
11350 * manual/errno.texi (ESTALE): Update to account for more than
11351 just NFS file systems.
11352 * sysdeps/gnu/errlist.c: Regenerated.
11354 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11357 * elf/Makefile (tests): Add tst-null-argv.
11358 (modules-names): Add tst-null-argv-lib.
11359 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11360 (tst-null-argv-ENV): Set environment for tst-null-argv.
11361 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11362 (RTLD_PROGNAME): New macro.
11363 * elf/tst-null-argv.c: New test case.
11364 * elf/tst-null-argv-lib.c: Library for test case.
11365 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11366 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11367 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11368 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11369 * elf/dl-init.c (call_init): Likewise.
11370 (_dl_init): Likewise.
11371 * elf/dl-load.c (print_search_path): Likewise.
11372 (_dl_map_object): Likewise.
11373 * elf/dl-lookup.c (do_lookup_x): Likewise.
11374 (add_dependency): Likewise.
11375 (_dl_lookup_symbol_x): Likewise.
11376 (_dl_debug_bindings): Likewise.
11377 * elf/dl-open.c (_dl_show_scope): Likewise.
11378 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11379 * elf/dl-version.c (match_symbol): Likewise.
11380 (_dl_check_map_versions): Likewise.
11381 * elf/rtld.c (dl_main): Likewise.
11382 (print_unresolved): Use RTLD_PROGNAME.
11383 (print_missing_version): Likewise.
11384 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11385 (elf_machine_rela): Likewise.
11386 * sysdeps/powerpc/powerpc32/dl-machine.c
11387 (__process_machine_rela): Likewise.
11388 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11390 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11392 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11394 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11399 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11401 2013-05-28 Carlos O'Donell <carlos@redhat.com>
11403 * po/be.po: Add descriptive title.
11404 * po/zh_CN.po: Likewise.
11405 * po/header.pot: Likewise.
11407 2013-05-28 Mike Frysinger <vapier@gentoo.org>
11409 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11411 (enlarge_archive): Likewise.
11413 2013-05-28 Ben North <ben@redfrontdoor.org>
11415 * manual/arith.texi (frexp): It is the magnitude of the return
11416 value which lies in [0.5, 1), not the return value itself.
11418 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11422 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11424 * stdio-common/bug26.c (main): Correct fscanf template.
11426 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11427 declare _dl_skip_args.
11429 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11432 * manual/platform.texi: Add missing @end deftypefun.
11434 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11437 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11438 bit of mantissa of 2^16382.
11439 * math/libm-test.inc (hypot_test_data): Add more tests.
11441 * math/libm-test.inc: Add drem and pow10 to list of tested
11443 (pow10_test): New function.
11444 (drem_test): Likewise.
11445 (drem_test_tonearest): Likewise.
11446 (drem_test_towardzero): Likewise.
11447 (drem_test_downward): Likewise.
11448 (drem_test_upward): Likewise.
11449 (main): Call the new functions.
11451 * math/libm-test.inc (finite_test_data): Remove.
11452 (finite_test): Run tests from isfinite_test_data.
11453 (gamma_test_data): Remove.
11454 (gamma_test): Run tests from lgamma_test_data.
11455 * sysdeps/i386/fpu/libm-test-ulps: Update.
11456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11458 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11460 * manual/platform.texi: Add PowerPC PPR function set documentation.
11461 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11464 2013-05-24 Carlos O'Donell <carlos@redhat.com>
11466 * math/libm-test.inc (MAX_EXP): Define.
11468 (ulp): New function.
11469 (check_float_internal): Use ULPDIFF.
11470 (cpow_test): Disable failing test.
11471 (check_ulp): Test ulp() implemetnation.
11472 (main): Call check_ulp before starting tests.
11474 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11476 * math/gen-libm-test.pl (generate_testfile): Do not handle
11477 START_DATA and END_DATA.
11478 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11480 (acos_tonearest_test_data): Likewise.
11481 (acos_towardzero_test_data): Likewise.
11482 (acos_downward_test_data): Likewise.
11483 (acos_upward_test_data): Likewise.
11484 (acosh_test_data): Likewise.
11485 (asin_test_data): Likewise.
11486 (asin_tonearest_test_data): Likewise.
11487 (asin_towardzero_test_data): Likewise.
11488 (asin_downward_test_data): Likewise.
11489 (asin_upward_test_data): Likewise.
11490 (asinh_test_data): Likewise.
11491 (atan_test_data): Likewise.
11492 (atanh_test_data): Likewise.
11493 (atan2_test_data): Likewise.
11494 (cabs_test_data): Likewise.
11495 (cacos_test_data): Likewise.
11496 (cacosh_test_data): Likewise.
11497 (carg_test_data): Likewise.
11498 (casin_test_data): Likewise.
11499 (casinh_test_data): Likewise.
11500 (catan_test_data): Likewise.
11501 (catanh_test_data): Likewise.
11502 (cbrt_test_data): Likewise.
11503 (ccos_test_data): Likewise.
11504 (ccosh_test_data): Likewise.
11505 (ceil_test_data): Likewise.
11506 (cexp_test_data): Likewise.
11507 (cimag_test_data): Likewise.
11508 (clog_test_data): Likewise.
11509 (clog10_test_data): Likewise.
11510 (conj_test_data): Likewise.
11511 (copysign_test_data): Likewise.
11512 (cos_test_data): Likewise.
11513 (cos_tonearest_test_data): Likewise.
11514 (cos_towardzero_test_data): Likewise.
11515 (cos_downward_test_data): Likewise.
11516 (cos_upward_test_data): Likewise.
11517 (cosh_test_data): Likewise.
11518 (cosh_tonearest_test_data): Likewise.
11519 (cosh_towardzero_test_data): Likewise.
11520 (cosh_downward_test_data): Likewise.
11521 (cosh_upward_test_data): Likewise.
11522 (cpow_test_data): Likewise.
11523 (cproj_test_data): Likewise.
11524 (creal_test_data): Likewise.
11525 (csin_test_data): Likewise.
11526 (csinh_test_data): Likewise.
11527 (csqrt_test_data): Likewise.
11528 (ctan_test_data): Likewise.
11529 (ctan_tonearest_test_data): Likewise.
11530 (ctan_towardzero_test_data): Likewise.
11531 (ctan_downward_test_data): Likewise.
11532 (ctan_upward_test_data): Likewise.
11533 (ctanh_test_data): Likewise.
11534 (ctanh_tonearest_test_data): Likewise.
11535 (ctanh_towardzero_test_data): Likewise.
11536 (ctanh_downward_test_data): Likewise.
11537 (ctanh_upward_test_data): Likewise.
11538 (erf_test_data): Likewise.
11539 (erfc_test_data): Likewise.
11540 (exp_test_data): Likewise.
11541 (exp_tonearest_test_data): Likewise.
11542 (exp_towardzero_test_data): Likewise.
11543 (exp_downward_test_data): Likewise.
11544 (exp_upward_test_data): Likewise.
11545 (exp10_test_data): Likewise.
11546 (exp2_test_data): Likewise.
11547 (expm1_test_data): Likewise.
11548 (fabs_test_data): Likewise.
11549 (fdim_test_data): Likewise.
11550 (finite_test_data): Likewise.
11551 (floor_test_data): Likewise.
11552 (fma_test_data): Likewise.
11553 (fma_towardzero_test_data): Likewise.
11554 (fma_downward_test_data): Likewise.
11555 (fma_upward_test_data): Likewise.
11556 (fmax_test_data): Likewise.
11557 (fmin_test_data): Likewise.
11558 (fmod_test_data): Likewise.
11559 (fpclassify_test_data): Likewise.
11560 (frexp_test_data): Likewise.
11561 (gamma_test_data): Likewise.
11562 (hypot_test_data): Likewise.
11563 (ilogb_test_data): Likewise.
11564 (isfinite_test_data): Likewise.
11565 (isgreater_test_data): Likewise.
11566 (isgreaterequal_test_data): Likewise.
11567 (isinf_test_data): Likewise.
11568 (isless_test_data): Likewise.
11569 (islessequal_test_data): Likewise.
11570 (islessgreater_test_data): Likewise.
11571 (isnan_test_data): Likewise.
11572 (isnormal_test_data): Likewise.
11573 (issignaling_test_data): Likewise.
11574 (isunordered_test_data): Likewise.
11575 (j0_test_data): Likewise.
11576 (j1_test_data): Likewise.
11577 (jn_test_data): Likewise.
11578 (ldexp_test_data): Likewise.
11579 (lgamma_test_data): Likewise.
11580 (lrint_test_data): Likewise.
11581 (lrint_tonearest_test_data): Likewise.
11582 (lrint_towardzero_test_data): Likewise.
11583 (lrint_downward_test_data): Likewise.
11584 (lrint_upward_test_data): Likewise.
11585 (llrint_test_data): Likewise.
11586 (llrint_tonearest_test_data): Likewise.
11587 (llrint_towardzero_test_data): Likewise.
11588 (llrint_downward_test_data): Likewise.
11589 (llrint_upward_test_data): Likewise.
11590 (log_test_data): Likewise.
11591 (log10_test_data): Likewise.
11592 (log1p_test_data): Likewise.
11593 (log2_test_data): Likewise.
11594 (logb_test_data): Likewise.
11595 (logb_downward_test_data): Likewise.
11596 (lround_test_data): Likewise.
11597 (llround_test_data): Likewise.
11598 (modf_test_data): Likewise.
11599 (nearbyint_test_data): Likewise.
11600 (nextafter_test_data): Likewise.
11601 (nexttoward_test_data): Likewise.
11602 (pow_test_data): Likewise.
11603 (pow_tonearest_test_data): Likewise.
11604 (pow_towardzero_test_data): Likewise.
11605 (pow_downward_test_data): Likewise.
11606 (pow_upward_test_data): Likewise.
11607 (remainder_test_data): Likewise.
11608 (remainder_tonearest_test_data): Likewise.
11609 (remainder_towardzero_test_data): Likewise.
11610 (remainder_downward_test_data): Likewise.
11611 (remainder_upward_test_data): Likewise.
11612 (remquo_test_data): Likewise.
11613 (rint_test_data): Likewise.
11614 (rint_tonearest_test_data): Likewise.
11615 (rint_towardzero_test_data): Likewise.
11616 (rint_downward_test_data): Likewise.
11617 (rint_upward_test_data): Likewise.
11618 (round_test_data): Likewise.
11619 (scalb_test_data): Likewise.
11620 (scalbn_test_data): Likewise.
11621 (scalbln_test_data): Likewise.
11622 (signbit_test_data): Likewise.
11623 (sin_test_data): Likewise.
11624 (sin_tonearest_test_data): Likewise.
11625 (sin_towardzero_test_data): Likewise.
11626 (sin_downward_test_data): Likewise.
11627 (sin_upward_test_data): Likewise.
11628 (sincos_test_data): Likewise.
11629 (sinh_test_data): Likewise.
11630 (sinh_tonearest_test_data): Likewise.
11631 (sinh_towardzero_test_data): Likewise.
11632 (sinh_downward_test_data): Likewise.
11633 (sinh_upward_test_data): Likewise.
11634 (sqrt_test_data): Likewise.
11635 (tan_test_data): Likewise.
11636 (tan_tonearest_test_data): Likewise.
11637 (tan_towardzero_test_data): Likewise.
11638 (tan_downward_test_data): Likewise.
11639 (tan_upward_test_data): Likewise.
11640 (tanh_test_data): Likewise.
11641 (tgamma_test_data): Likewise.
11642 (trunc_test_data): Likewise.
11643 (y0_test_data): Likewise.
11644 (y1_test_data): Likewise.
11645 (yn_test_data): Likewise.
11646 (significand_test_data): Likewise.
11648 * math/gen-libm-test.pl (@functions): Remove variable.
11649 (generate_testfile): Don't handle START and END lines.
11650 * math/libm-test.inc (START): New macro.
11652 (END_COMPLEX): Likewise.
11653 (acos_test): Use END macro without arguments.
11654 (acos_test_tonearest): Likewise.
11655 (acos_test_towardzero): Likewise.
11656 (acos_test_downward): Likewise.
11657 (acos_test_upward): Likewise.
11658 (acosh_test): Likewise.
11659 (asin_test): Likewise.
11660 (asin_test_tonearest): Likewise.
11661 (asin_test_towardzero): Likewise.
11662 (asin_test_downward): Likewise.
11663 (asin_test_upward): Likewise.
11664 (asinh_test): Likewise.
11665 (atan_test): Likewise.
11666 (atanh_test): Likewise.
11667 (atan2_test): Likewise.
11668 (cabs_test): Likewise.
11669 (cacos_test): Use END_COMPLEX macro without arguments.
11670 (cacosh_test): Likewise.
11671 (carg_test): Use END macro without arguments.
11672 (casin_test): Use END_COMPLEX macro without arguments.
11673 (casinh_test): Likewise.
11674 (catan_test): Likewise.
11675 (catanh_test): Likewise.
11676 (cbrt_test): Use END macro without arguments.
11677 (ccos_test): Use END_COMPLEX macro without arguments.
11678 (ccosh_test): Likewise.
11679 (ceil_test): Use END macro without arguments.
11680 (cexp_test): Use END_COMPLEX macro without arguments.
11681 (cimag_test): Use END macro without arguments.
11682 (clog_test): Use END_COMPLEX macro without arguments.
11683 (clog10_test): Likewise.
11684 (conj_test): Likewise.
11685 (copysign_test): Use END macro without arguments.
11686 (cos_test): Likewise.
11687 (cos_test_tonearest): Likewise.
11688 (cos_test_towardzero): Likewise.
11689 (cos_test_downward): Likewise.
11690 (cos_test_upward): Likewise.
11691 (cosh_test): Likewise.
11692 (cosh_test_tonearest): Likewise.
11693 (cosh_test_towardzero): Likewise.
11694 (cosh_test_downward): Likewise.
11695 (cosh_test_upward): Likewise.
11696 (cpow_test): Use END_COMPLEX macro without arguments.
11697 (cproj_test): Likewise.
11698 (creal_test): Use END macro without arguments.
11699 (csin_test): Use END_COMPLEX macro without arguments.
11700 (csinh_test): Likewise.
11701 (csqrt_test): Likewise.
11702 (ctan_test): Likewise.
11703 (ctan_test_tonearest): Likewise.
11704 (ctan_test_towardzero): Likewise.
11705 (ctan_test_downward): Likewise.
11706 (ctan_test_upward): Likewise.
11707 (ctanh_test): Likewise.
11708 (ctanh_test_tonearest): Likewise.
11709 (ctanh_test_towardzero): Likewise.
11710 (ctanh_test_downward): Likewise.
11711 (ctanh_test_upward): Likewise.
11712 (erf_test): Use END macro without arguments.
11713 (erfc_test): Likewise.
11714 (exp_test): Likewise.
11715 (exp_test_tonearest): Likewise.
11716 (exp_test_towardzero): Likewise.
11717 (exp_test_downward): Likewise.
11718 (exp_test_upward): Likewise.
11719 (exp10_test): Likewise.
11720 (exp2_test): Likewise.
11721 (expm1_test): Likewise.
11722 (fabs_test): Likewise.
11723 (fdim_test): Likewise.
11724 (finite_test): Likewise.
11725 (floor_test): Likewise.
11726 (fma_test): Likewise.
11727 (fma_test_towardzero): Likewise.
11728 (fma_test_downward): Likewise.
11729 (fma_test_upward): Likewise.
11730 (fmax_test): Likewise.
11731 (fmin_test): Likewise.
11732 (fmod_test): Likewise.
11733 (fpclassify_test): Likewise.
11734 (frexp_test): Likewise.
11735 (gamma_test): Likewise.
11736 (hypot_test): Likewise.
11737 (ilogb_test): Likewise.
11738 (isfinite_test): Likewise.
11739 (isgreater_test): Likewise.
11740 (isgreaterequal_test): Likewise.
11741 (isinf_test): Likewise.
11742 (isless_test): Likewise.
11743 (islessequal_test): Likewise.
11744 (islessgreater_test): Likewise.
11745 (isnan_test): Likewise.
11746 (isnormal_test): Likewise.
11747 (issignaling_test): Likewise.
11748 (isunordered_test): Likewise.
11749 (j0_test): Likewise.
11750 (j1_test): Likewise.
11751 (jn_test): Likewise.
11752 (ldexp_test): Likewise.
11753 (lgamma_test): Likewise.
11754 (lrint_test): Likewise.
11755 (lrint_test_tonearest): Likewise.
11756 (lrint_test_towardzero): Likewise.
11757 (lrint_test_downward): Likewise.
11758 (lrint_test_upward): Likewise.
11759 (llrint_test): Likewise.
11760 (llrint_test_tonearest): Likewise.
11761 (llrint_test_towardzero): Likewise.
11762 (llrint_test_downward): Likewise.
11763 (llrint_test_upward): Likewise.
11764 (log_test): Likewise.
11765 (log10_test): Likewise.
11766 (log1p_test): Likewise.
11767 (log2_test): Likewise.
11768 (logb_test): Likewise.
11769 (logb_test_downward): Likewise.
11770 (lround_test): Likewise.
11771 (llround_test): Likewise.
11772 (modf_test): Likewise.
11773 (nearbyint_test): Likewise.
11774 (nextafter_test): Likewise.
11775 (nexttoward_test): Likewise.
11776 (pow_test): Likewise.
11777 (pow_test_tonearest): Likewise.
11778 (pow_test_towardzero): Likewise.
11779 (pow_test_downward): Likewise.
11780 (pow_test_upward): Likewise.
11781 (remainder_test): Likewise.
11782 (remainder_test_tonearest): Likewise.
11783 (remainder_test_towardzero): Likewise.
11784 (remainder_test_downward): Likewise.
11785 (remainder_test_upward): Likewise.
11786 (remquo_test): Likewise.
11787 (rint_test): Likewise.
11788 (rint_test_tonearest): Likewise.
11789 (rint_test_towardzero): Likewise.
11790 (rint_test_downward): Likewise.
11791 (rint_test_upward): Likewise.
11792 (round_test): Likewise.
11793 (scalb_test): Likewise.
11794 (scalbn_test): Likewise.
11795 (scalbln_test): Likewise.
11796 (signbit_test): Likewise.
11797 (sin_test): Likewise.
11798 (sin_test_tonearest): Likewise.
11799 (sin_test_towardzero): Likewise.
11800 (sin_test_downward): Likewise.
11801 (sin_test_upward): Likewise.
11802 (sincos_test): Likewise.
11803 (sinh_test): Likewise.
11804 (sinh_test_tonearest): Likewise.
11805 (sinh_test_towardzero): Likewise.
11806 (sinh_test_downward): Likewise.
11807 (sinh_test_upward): Likewise.
11808 (sqrt_test): Likewise.
11809 (tan_test): Likewise.
11810 (tan_test_tonearest): Likewise.
11811 (tan_test_towardzero): Likewise.
11812 (tan_test_downward): Likewise.
11813 (tan_test_upward): Likewise.
11814 (tanh_test): Likewise.
11815 (tgamma_test): Likewise.
11816 (trunc_test): Likewise.
11817 (y0_test): Likewise.
11818 (y1_test): Likewise.
11819 (yn_test): Likewise.
11820 (significand_test): Likewise.
11822 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
11825 * libio/genops.c (_IO_no_init): Initialize wide struct info.
11827 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
11830 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11831 __ppc_mdoio and __ppc_mdoom.
11832 * manual/platform.texi: Document new functions __ppc_yield,
11833 __ppc_mdoio and __ppc_mdoom.
11835 2013-05-22 Carlos O'Donell <carlos@redhat.com>
11837 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11838 (main): Mention "tls" pseudo-hwcap is legacy.
11839 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11841 2013-05-22 Joseph Myers <joseph@codesourcery.com>
11843 * math/gen-libm-test.pl (parse_args): Output only string of
11844 arguments as text for test name, not full call or descriptions of
11845 tests for extra outputs.
11846 (generate_testfile): Do not pass function name to parse_args.
11847 Generate this_func variable from START.
11848 * math/libm-test.inc (struct test_f_f_data): Rename test_name
11850 (struct test_ff_f_data): Likewise.
11851 (test_ff_f_data_nexttoward): Likewise.
11852 (struct test_fi_f_data): Likewise.
11853 (struct test_fl_f_data): Likewise.
11854 (struct test_if_f_data): Likewise.
11855 (struct test_fff_f_data): Likewise.
11856 (struct test_c_f_data): Likewise.
11857 (struct test_f_f1_data): Likewise. Remove field extra_name.
11858 (struct test_fF_f1_data): Likewise.
11859 (struct test_ffI_f1_data): Likewise.
11860 (struct test_c_c_data): Rename test_name field to arg_str.
11861 (struct test_cc_c_data): Likewise.
11862 (struct test_f_i_data): Likewise.
11863 (struct test_ff_i_data): Likewise.
11864 (struct test_f_l_data): Likewise.
11865 (struct test_f_L_data): Likewise.
11866 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
11868 (COMMON_TEST_SETUP): New macro.
11869 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11870 (COMMON_TEST_CLEANUP): Likewise.
11871 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11872 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
11874 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11875 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
11877 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11878 (RUN_TEST_fff_f): Take argument string. Call new setup and
11880 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11881 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
11883 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11884 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
11886 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11887 (RUN_TEST_fF_f1): Take argument string. Call new setup and
11889 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11890 (RUN_TEST_fI_f1): Take argument string. Call new setup and
11892 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11893 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
11895 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11896 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
11898 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11899 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
11901 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11902 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
11904 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11905 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
11907 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11908 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
11910 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11911 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
11913 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11914 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
11916 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11917 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
11919 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11920 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
11922 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11923 (RUN_TEST_fFF_11): Take argument string. Call new setup and
11925 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11927 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11929 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11930 to _sifields.sigfault.
11931 (si_addr_lsb): Define new macro.
11932 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11933 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11934 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
11936 2013-05-03 Carlos O'Donell <carlos at redhat.com>
11939 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
11941 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
11943 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
11944 loading the domain.
11946 2013-05-22 Joseph Myers <joseph@codesourcery.com>
11948 * math/gen-libm-test.pl (parse_args): Do not include expected
11949 result in test name.
11950 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
11951 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11952 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11953 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11954 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11957 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11959 * benchtests/Makefile: Sort function entries.
11961 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
11962 tanh, asinh, acosh, atanh.
11963 * benchtests/acos-inputs: New file.
11964 * benchtests/acosh-inputs: New file.
11965 * benchtests/asin-inputs: New file.
11966 * benchtests/asinh-inputs: New file.
11967 * benchtests/atanh-inputs: New file.
11968 * benchtests/cosh-inputs: New file.
11969 * benchtests/log-inputs: New file.
11970 * benchtests/sinh-inputs: New file.
11971 * benchtests/tanh-inputs: New file.
11973 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
11976 * posix/tst-getaddrinfo4.c: New test.
11977 * posix/Makefile (tests): Add it.
11979 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11982 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
11983 when no services were used.
11984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
11985 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
11987 2013-05-21 Andreas Schwab <schwab@suse.de>
11990 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
11991 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
11993 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
11994 redundant variable declarations and reallocation of buffer when
11995 parsing as IPv6 address. Always set NSS status when called from
11996 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
11997 buffer too small. Correct computation of needed size.
11998 * nss/Makefile (tests): Add test-digits-dots.
11999 * nss/test-digits-dots.c: New test.
12001 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12003 * benchtests/Makefile: Remove instructions for adding
12005 * benchtests/README: New file to explain how to execute and
12006 enhance the benchmark tests.
12008 2013-05-21 Andreas Schwab <schwab@suse.de>
12011 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12012 * setjmp/tst-sigsetjmp.c: New test.
12014 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12016 * sysdeps/x86_64/memset.S (memset): New implementation.
12017 (__bzero): Likewise.
12018 (__memset_tail): New function.
12020 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12022 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12023 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12024 __memcpy_sse2_unaligned ifunc selection.
12025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12026 Add memcpy-sse2-unaligned.S.
12027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12028 Add: __memcpy_sse2_unaligned.
12030 2013-05-19 Joseph Myers <joseph@codesourcery.com>
12033 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12034 math_force_eval before restoring floating-point envrionment.
12035 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12036 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12038 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12040 (__nearbyintl): Use math_force_eval before restoring
12041 floating-point environment.
12042 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12044 * math/gen-libm-test.pl (special_functions): Remove.
12045 (parse_args): Don't handle TEST_extra. Handle functions with no
12047 * math/libm-test.inc (struct test_sincos_data): Replace with
12048 struct test_fFF_11_data.
12049 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12050 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12051 (sincos_test_data): Change element type to struct
12052 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12053 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12054 RUN_TEST_LOOP_sincos.
12055 * math/README.libm-test: Don't mention special handling of
12056 individual functions.
12057 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12058 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12059 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12060 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12061 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12064 * math/gen-libm-test.pl (get_variable): Remove function.
12065 (parse_args): Don't show pointer parameters to call in test
12066 names. Use "extra output N" in test names for extra outputs
12067 rather than naming variables.
12069 2013-05-18 Joseph Myers <joseph@codesourcery.com>
12072 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12073 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12074 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12076 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12078 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12081 * math/gen-libm-test.pl (@tests): Remove variable.
12082 ($count): Likewise.
12083 (new_test): Remove function.
12084 (show_exceptions): New function.
12085 (special_functions): Use show_exceptions instead of new_test.
12086 (parse_args): Likewise.
12087 (generate_testfile): Pass only function name in generated call to
12088 print_max_error or print_complex_max_error.
12089 (get_ulps): Do not handle complex tests specially.
12090 (output_test): Rename to ...
12091 (get_all_ulps_for_test): ... this. Return a string rather than
12092 printing to a file. Require ulps to be present.
12093 (output_ulps): Generate arrays rather than #defines.
12094 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12095 (struct ulp_data): New type.
12096 (BUILD_COMPLEX_ULP): Remove macro.
12097 (compare_ulp_data): New function.
12098 (find_ulps): Likewise.
12099 (find_test_ulps): Likewise.
12100 (find_function_ulps): Likewise.
12101 (find_complex_function_ulps): Likewise.
12102 (print_max_error): Determine allowed ulps using
12103 find_function_ulps.
12104 (print_complex_max_error): Determine allowed ulps using
12105 find_complex_function_ulps.
12106 (check_float_internal): Determine max ulps using find_test_ulps.
12107 (check_float): Do not take max_ulp parameter. Update call to
12108 check_float_internal.
12109 (check_complex): Likewise.
12110 (check_int): Do not take max_ulp parameter.
12111 (check_long): Likewise.
12112 (check_bool): Likewise.
12113 (check_longlong): Likewise.
12114 (struct test_f_f_data): Remove max_ulp field.
12115 (struct test_ff_f_data): Likewise.
12116 (struct test_ff_f_data_nexttoward): Likewise.
12117 (struct test_fi_f_data): Likewise.
12118 (struct test_fl_f_data): Likewise.
12119 (struct test_if_f_data): Likewise.
12120 (struct test_fff_f_data): Likewise.
12121 (struct test_c_f_data): Likewise.
12122 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12123 (struct test_fF_f1_data): Likewise.
12124 (struct test_ffI_f1_data): Likewise.
12125 (struct test_c_c_data): Remove max_ulp field.
12126 (struct test_cc_c_data): Likewise.
12127 (struct test_f_i_data): Likewise.
12128 (struct test_ff_i_data): Likewise.
12129 (struct test_f_l_data): Likewise.
12130 (struct test_f_L_data): Likewise.
12131 (struct test_sincos_data): Likewise.
12132 (RUN_TEST_f_f): Do not handle ulps.
12133 (RUN_TEST_LOOP_f_f): Likewise.
12134 (RUN_TEST_2_f): Likewise.
12135 (RUN_TEST_LOOP_2_f): Likewise.
12136 (RUN_TEST_fff_f): Likewise.
12137 (RUN_TEST_LOOP_fff_f): Likewise.
12138 (RUN_TEST_c_f): Likewise.
12139 (RUN_TEST_LOOP_c_f): Likewise.
12140 (RUN_TEST_f_f1): Likewise.
12141 (RUN_TEST_LOOP_f_f1): Likewise.
12142 (RUN_TEST_fF_f1): Likewise.
12143 (RUN_TEST_LOOP_fF_f1): Likewise.
12144 (RUN_TEST_fI_f1): Likewise.
12145 (RUN_TEST_LOOP_fI_f1): Likewise.
12146 (RUN_TEST_ffI_f1): Likewise.
12147 (RUN_TEST_LOOP_ffI_f1): Likewise.
12148 (RUN_TEST_c_c): Likewise.
12149 (RUN_TEST_LOOP_c_c): Likewise.
12150 (RUN_TEST_cc_c): Likewise.
12151 (RUN_TEST_LOOP_cc_c): Likewise.
12152 (RUN_TEST_f_i): Likewise.
12153 (RUN_TEST_LOOP_f_i): Likewise.
12154 (RUN_TEST_f_i_tg): Likewise.
12155 (RUN_TEST_LOOP_f_i_tg): Likewise.
12156 (RUN_TEST_ff_i_tg): Likewise.
12157 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12158 (RUN_TEST_f_b): Likewise.
12159 (RUN_TEST_LOOP_f_b): Likewise.
12160 (RUN_TEST_f_b_tg): Likewise.
12161 (RUN_TEST_LOOP_f_b_tg): Likewise.
12162 (RUN_TEST_f_l): Likewise.
12163 (RUN_TEST_LOOP_f_l): Likewise.
12164 (RUN_TEST_f_L): Likewise.
12165 (RUN_TEST_LOOP_f_L): Likewise.
12166 (RUN_TEST_sincos): Likewise.
12167 (RUN_TEST_LOOP_sincos): Likewise.
12169 2013-05-17 Joseph Myers <joseph@codesourcery.com>
12173 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12174 main case of finite arguments, set rounding mode to FE_TONEAREST
12175 and discard exceptions.
12176 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12178 (remainder_tonearest_test_data): New variable.
12179 (remainder_test_tonearest): New function.
12180 (remainder_towardzero_test_data): New variable.
12181 (remainder_test_towardzero): New function.
12182 (remainder_downward_test_data): New variable.
12183 (remainder_test_downward): New function.
12184 (remainder_upward_test_data): New variable.
12185 (remainder_test_upward): New function.
12186 (main): Call the new test functions.
12188 * math/libm-test.inc (struct test_f_f1_data): Remove field
12190 (struct test_fF_f1_data): Likewise.
12191 (struct test_ffI_f1_data): Likewise.
12192 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12193 based on value of EXTRA_EXPECTED.
12194 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12195 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12196 EXTRA_VAR based on value of EXTRA_EXPECTED.
12197 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12198 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12199 EXTRA_VAR based on value of EXTRA_EXPECTED.
12200 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12201 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12202 EXTRA_VAR based on value of EXTRA_EXPECTED.
12203 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12204 * math/gen-libm-test.pl (parse_args): Don't output initializers
12205 for extra output values.
12207 * math/libm-test.inc (check_int): Expect result to be exactly
12208 equal to expected value and do not handle ulps.
12209 (check_long): Likewise.
12210 (check_longlong): Likewise.
12212 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12214 (cimag_test_data): Likewise.
12215 (conj_test_data): Likewise.
12216 (copysign_test_data): Likewise.
12217 (cproj_test_data): Likewise.
12218 (creal_test_data): Likewise.
12219 (fabs_test_data): Likewise.
12220 (fdim_test_data): Likewise.
12221 (finite_test_data): Likewise.
12222 (floor_test_data): Likewise.
12223 (fmax_test_data): Likewise.
12224 (fmin_test_data): Likewise.
12225 (fmod_test_data): Likewise.
12226 (fpclassify_test_data): Likewise.
12227 (frexp_test_data): Likewise.
12228 (ilogb_test_data): Likewise.
12229 (isfinite_test_data): Likewise.
12230 (isgreater_test_data): Likewise.
12231 (isgreaterequal_test_data): Likewise.
12232 (isinf_test_data): Likewise.
12233 (isless_test_data): Likewise.
12234 (islessequal_test_data): Likewise.
12235 (islessgreater_test_data): Likewise.
12236 (isnan_test_data): Likewise.
12237 (isnormal_test_data): Likewise.
12238 (issignaling_test_data): Likewise.
12239 (isunordered_test_data): Likewise.
12240 (ldexp_test_data): Likewise.
12241 (lrint_test_data): Likewise.
12242 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12243 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12244 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12245 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12246 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12247 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12249 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12250 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12251 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12252 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12254 (lrint_downward_test_data): Test for "inexact" exceptions.
12255 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12256 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12257 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12259 (lrint_upward_test_data): Test for "inexact" exceptions.
12260 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12262 (llrint_test_data): Test for "inexact" exceptions.
12263 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12264 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12265 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12266 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12267 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12268 (llrint_downward_test_data): Test for "inexact" exceptions.
12269 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12270 (llrint_upward_test_data): Test for "inexact" exceptions.
12271 (logb_test_data): Likewise.
12272 (logb_downward_test_data): Likewise.
12273 (nextafter_test_data): Likewise.
12274 (nexttoward_test_data): Likewise.
12275 (remainder_test_data): Likewise.
12276 (remquo_test_data): Likewise.
12277 (scalbn_test_data): Likewise.
12278 (scalbln_test_data): Likewise.
12279 (signbit_test_data): Likewise.
12280 (sqrt_test_data): Likewise.
12281 (significand_test_data): Likewise.
12283 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12286 * benchtests/bench-modf.c (struct args): Mark arg0 as
12288 * scripts/bench.pl: Mark members of struct args as volatile.
12290 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12293 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12294 negative infinity on POWER6 or lower.
12295 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12297 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12300 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12301 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12302 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12303 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12304 (_FP_SETQNAN): New macro.
12305 (_FP_SETQNAN_SEMIRAW): Likewise.
12306 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12307 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12308 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12309 (FP_EXTEND): Use _FP_FRAC_SNANP.
12310 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12311 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12315 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12318 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12320 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12321 with DIVIDE_BY_ZERO_EXCEPTION.
12322 (gamma_test_data): Likewise.
12323 (lgamma_test_data): Likewise.
12324 (log_test_data): Likewise.
12325 (log10_test_data): Likewise.
12326 (log2_test_data): Likewise.
12327 (tgamma_test_data): Likewise.
12329 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12330 (acos_test_tonearest): Likewise.
12331 (acos_test_towardzero): Likewise.
12332 (acos_test_downward): Likewise.
12333 (acos_test_upward): Likewise.
12334 (acosh_test): Likewise.
12335 (asin_test): Likewise.
12336 (asin_test_tonearest): Likewise.
12337 (asin_test_towardzero): Likewise.
12338 (asin_test_downward): Likewise.
12339 (asin_test_upward): Likewise.
12340 (asinh_test): Likewise.
12341 (atan_test): Likewise.
12342 (atanh_test): Likewise.
12343 (atan2_test): Likewise.
12344 (cabs_test): Likewise.
12345 (cacos_test): Likewise.
12346 (cacosh_test): Likewise.
12347 (casin_test): Likewise.
12348 (casinh_test): Likewise.
12349 (catan_test): Likewise.
12350 (catanh_test): Likewise.
12351 (cbrt_test): Likewise.
12352 (ccos_test): Likewise.
12353 (ccosh_test): Likewise.
12354 (cexp_test): Likewise.
12355 (clog_test): Likewise.
12356 (clog10_test): Likewise.
12357 (cos_test): Likewise.
12358 (cos_test_tonearest): Likewise.
12359 (cos_test_towardzero): Likewise.
12360 (cos_test_downward): Likewise.
12361 (cos_test_upward): Likewise.
12362 (cosh_test): Likewise.
12363 (cosh_test_tonearest): Likewise.
12364 (cosh_test_towardzero): Likewise.
12365 (cosh_test_downward): Likewise.
12366 (cosh_test_upward): Likewise.
12367 (cpow_test): Likewise.
12368 (csin_test): Likewise.
12369 (csinh_test): Likewise.
12370 (csqrt_test): Likewise.
12371 (ctan_test): Likewise.
12372 (ctan_test_tonearest): Likewise.
12373 (ctan_test_towardzero): Likewise.
12374 (ctan_test_downward): Likewise.
12375 (ctan_test_upward): Likewise.
12376 (ctanh_test): Likewise.
12377 (ctanh_test_tonearest): Likewise.
12378 (ctanh_test_towardzero): Likewise.
12379 (ctanh_test_downward): Likewise.
12380 (ctanh_test_upward): Likewise.
12381 (erf_test): Likewise.
12382 (erfc_test): Likewise.
12383 (exp_test): Likewise.
12384 (exp_test_tonearest): Likewise.
12385 (exp_test_towardzero): Likewise.
12386 (exp_test_downward): Likewise.
12387 (exp_test_upward): Likewise.
12388 (exp10_test): Likewise.
12389 (exp2_test): Likewise.
12390 (expm1_test): Likewise.
12391 (fmod_test): Likewise.
12392 (gamma_test): Likewise.
12393 (hypot_test): Likewise.
12394 (j0_test): Likewise.
12395 (j1_test): Likewise.
12396 (jn_test): Likewise.
12397 (lgamma_test): Likewise.
12398 (log_test): Likewise.
12399 (log10_test): Likewise.
12400 (log1p_test): Likewise.
12401 (log2_test): Likewise.
12402 (logb_test_downward): Likewise.
12403 (pow_test): Likewise.
12404 (pow_test_tonearest): Likewise.
12405 (pow_test_towardzero): Likewise.
12406 (pow_test_downward): Likewise.
12407 (pow_test_upward): Likewise.
12408 (remainder_test): Likewise.
12409 (remquo_test): Likewise.
12410 (sin_test): Likewise.
12411 (sin_test_tonearest): Likewise.
12412 (sin_test_towardzero): Likewise.
12413 (sin_test_downward): Likewise.
12414 (sin_test_upward): Likewise.
12415 (sincos_test): Likewise.
12416 (sinh_test): Likewise.
12417 (sinh_test_tonearest): Likewise.
12418 (sinh_test_towardzero): Likewise.
12419 (sinh_test_downward): Likewise.
12420 (sinh_test_upward): Likewise.
12421 (sqrt_test): Likewise.
12422 (tan_test): Likewise.
12423 (tan_test_tonearest): Likewise.
12424 (tan_test_towardzero): Likewise.
12425 (tan_test_downward): Likewise.
12426 (tan_test_upward): Likewise.
12427 (tanh_test): Likewise.
12428 (tgamma_test): Likewise.
12429 (y0_test): Likewise.
12430 (y1_test): Likewise.
12431 (yn_test): Likewise.
12433 * math/gen-libm-test.pl (adjust_arg): Remove function.
12434 (special_function): Remove argument $in_func. Only handle
12435 generating output for tables of tests, not inside functions.
12436 (parse_args): Likewise.
12437 (generate_testfile): Remove variable $in_func. Update call to
12439 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12440 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12441 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12442 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12443 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12444 (MAX_VALUE_INIT): Rename macro to max_value.
12445 (MIN_VALUE_INIT): Rename macro to min_value.
12446 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12447 (plus_zero): Remove variable.
12448 (minus_zero): Likewise.
12449 (plus_infty): Likewise.
12450 (minus_infty): Likewise.
12451 (qnan_value): Likewise.
12452 (max_value): Likewise.
12453 (min_value): Likewise.
12454 (min_subnorm_value): Likewise.
12456 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12458 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12459 uint64_t or uint32_t usage.
12460 * crypt/sha256-block.c: Likewise.
12461 * crypt/sha256-crypt.c: Likewise.
12462 * crypt/sha256.c: Likewise.
12463 * crypt/sha512-block.c: Likewise.
12464 * crypt/sha512-crypt.c: Likewise.
12465 * crypt/sha512.c: Likewise.
12466 * debug/backtrace-tst.c: Likewise.
12467 * debug/pcprofiledump.c: Likewise.
12468 * elf/cache.c: Likewise.
12469 * elf/dl-cache.c: Likewise.
12470 * elf/dl-misc.c: Likewise.
12471 * elf/dl-profile.c: Likewise.
12472 * elf/dl-support.c: Likewise.
12473 * elf/ldconfig.c: Likewise.
12474 * elf/sprof.c: Likewise.
12475 * iconv/dummy-repertoire.c: Likewise.
12476 * iconv/iconv_charmap.c: Likewise.
12477 * iconv/skeleton.c: Likewise.
12478 * iconvdata/8bit-generic.c: Likewise.
12479 * iconvdata/cp737.h: Likewise.
12480 * iconvdata/cp775.h: Likewise.
12481 * iconvdata/ibm1008.h: Likewise.
12482 * iconvdata/ibm1025.h: Likewise.
12483 * iconvdata/ibm1046.h: Likewise.
12484 * iconvdata/ibm1097.h: Likewise.
12485 * iconvdata/ibm1112.h: Likewise.
12486 * iconvdata/ibm1122.h: Likewise.
12487 * iconvdata/ibm1123.h: Likewise.
12488 * iconvdata/ibm1124.h: Likewise.
12489 * iconvdata/ibm1129.h: Likewise.
12490 * iconvdata/ibm1130.h: Likewise.
12491 * iconvdata/ibm1132.h: Likewise.
12492 * iconvdata/ibm1133.h: Likewise.
12493 * iconvdata/ibm1137.h: Likewise.
12494 * iconvdata/ibm1140.h: Likewise.
12495 * iconvdata/ibm1141.h: Likewise.
12496 * iconvdata/ibm1142.h: Likewise.
12497 * iconvdata/ibm1143.h: Likewise.
12498 * iconvdata/ibm1144.h: Likewise.
12499 * iconvdata/ibm1145.h: Likewise.
12500 * iconvdata/ibm1146.h: Likewise.
12501 * iconvdata/ibm1147.h: Likewise.
12502 * iconvdata/ibm1148.h: Likewise.
12503 * iconvdata/ibm1149.h: Likewise.
12504 * iconvdata/ibm1153.h: Likewise.
12505 * iconvdata/ibm1154.h: Likewise.
12506 * iconvdata/ibm1155.h: Likewise.
12507 * iconvdata/ibm1156.h: Likewise.
12508 * iconvdata/ibm1157.h: Likewise.
12509 * iconvdata/ibm1158.h: Likewise.
12510 * iconvdata/ibm1160.h: Likewise.
12511 * iconvdata/ibm1161.h: Likewise.
12512 * iconvdata/ibm1162.h: Likewise.
12513 * iconvdata/ibm1163.h: Likewise.
12514 * iconvdata/ibm1164.h: Likewise.
12515 * iconvdata/ibm1166.h: Likewise.
12516 * iconvdata/ibm1167.h: Likewise.
12517 * iconvdata/ibm12712.h: Likewise.
12518 * iconvdata/ibm1390.h: Likewise.
12519 * iconvdata/ibm1399.h: Likewise.
12520 * iconvdata/ibm16804.h: Likewise.
12521 * iconvdata/ibm4517.h: Likewise.
12522 * iconvdata/ibm4899.h: Likewise.
12523 * iconvdata/ibm4909.h: Likewise.
12524 * iconvdata/ibm4971.h: Likewise.
12525 * iconvdata/ibm5347.h: Likewise.
12526 * iconvdata/ibm803.h: Likewise.
12527 * iconvdata/ibm856.h: Likewise.
12528 * iconvdata/ibm901.h: Likewise.
12529 * iconvdata/ibm902.h: Likewise.
12530 * iconvdata/ibm9030.h: Likewise.
12531 * iconvdata/ibm9066.h: Likewise.
12532 * iconvdata/ibm921.h: Likewise.
12533 * iconvdata/ibm922.h: Likewise.
12534 * iconvdata/ibm9448.h: Likewise.
12535 * iconvdata/isiri-3342.h: Likewise.
12536 * iconvdata/jis0201.h: Likewise.
12537 * include/link.h: Likewise.
12538 * include/netdb.h: Likewise.
12539 * inet/check_native.c: Likewise.
12540 * inet/check_pf.c: Likewise.
12541 * inet/getipv4sourcefilter.c: Likewise.
12542 * inet/getnameinfo.c: Likewise.
12543 * inet/getsourcefilter.c: Likewise.
12544 * inet/htonl.c: Likewise.
12545 * inet/setipv4sourcefilter.c: Likewise.
12546 * inet/setsourcefilter.c: Likewise.
12547 * inet/test-inet6_opt.c: Likewise.
12548 * inet/tst-network.c: Likewise.
12549 * locale/C-collate.c: Likewise.
12550 * locale/C-ctype.c: Likewise.
12551 * locale/C-time.c: Likewise.
12552 * locale/C-translit.h: Likewise.
12553 * locale/loadarchive.c: Likewise.
12554 * locale/programs/3level.h: Likewise.
12555 * locale/programs/charmap.c: Likewise.
12556 * locale/programs/charmap.h: Likewise.
12557 * locale/programs/ld-address.c: Likewise.
12558 * locale/programs/ld-collate.c: Likewise.
12559 * locale/programs/ld-ctype.c: Likewise.
12560 * locale/programs/ld-identification.c: Likewise.
12561 * locale/programs/ld-measurement.c: Likewise.
12562 * locale/programs/ld-messages.c: Likewise.
12563 * locale/programs/ld-monetary.c: Likewise.
12564 * locale/programs/ld-name.c: Likewise.
12565 * locale/programs/ld-numeric.c: Likewise.
12566 * locale/programs/ld-paper.c: Likewise.
12567 * locale/programs/ld-telephone.c: Likewise.
12568 * locale/programs/ld-time.c: Likewise.
12569 * locale/programs/linereader.c: Likewise.
12570 * locale/programs/locale.c: Likewise.
12571 * locale/programs/locarchive.c: Likewise.
12572 * locale/programs/locfile.h: Likewise.
12573 * locale/programs/repertoire.c: Likewise.
12574 * locale/programs/simple-hash.c: Likewise.
12575 * locale/programs/simple-hash.h: Likewise.
12576 * malloc/memusage.c: Likewise.
12577 * malloc/memusagestat.c: Likewise.
12578 * nis/nis_defaults.c: Likewise.
12579 * nis/nis_hash.c: Likewise.
12580 * nis/nis_print.c: Likewise.
12581 * nis/nis_xdr.c: Likewise.
12582 * nscd/connections.c: Likewise.
12583 * nscd/hstcache.c: Likewise.
12584 * nscd/nscd_gethst_r.c: Likewise.
12585 * nscd/nscd_getserv_r.c: Likewise.
12586 * nscd/nscd_helper.c: Likewise.
12587 * nscd/servicescache.c: Likewise.
12588 * nss/makedb.c: Likewise.
12589 * nss/nss_db/db-XXX.c: Likewise.
12590 * nss/nss_db/db-initgroups.c: Likewise.
12591 * nss/nss_db/db-netgrp.c: Likewise.
12592 * nss/nss_files/files-network.c: Likewise.
12593 * nss/nss_files/files-parse.c: Likewise.
12594 * posix/bug-regex5.c: Likewise.
12595 * posix/fnmatch_loop.c: Likewise.
12596 * posix/regcomp.c: Likewise.
12597 * posix/regexec.c: Likewise.
12598 * posix/tst-rfc3484-2.c: Likewise.
12599 * posix/tst-rfc3484-3.c: Likewise.
12600 * posix/tst-rfc3484.c: Likewise.
12601 * resolv/nss_dns/dns-canon.c: Likewise.
12602 * resolv/nss_dns/dns-network.c: Likewise.
12603 * resolv/res_init.c: Likewise.
12604 * resolv/res_mkquery.c: Likewise.
12605 * resolv/tst-aton.c: Likewise.
12606 * stdlib/cxa_atexit.c: Likewise.
12607 * stdlib/cxa_finalize.c: Likewise.
12608 * stdlib/gen-fpioconst.c: Likewise.
12609 * stdlib/strtol_l.c: Likewise.
12610 * string/tst-endian.c: Likewise.
12611 * sunrpc/auth_des.c: Likewise.
12612 * sunrpc/clnt_udp.c: Likewise.
12613 * sunrpc/rtime.c: Likewise.
12614 * sunrpc/svcauth_des.c: Likewise.
12615 * sunrpc/xdr.c: Likewise.
12616 * sunrpc/xdr_intXX_t.c: Likewise.
12617 * sunrpc/xdr_rec.c: Likewise.
12618 * sysdeps/generic/ldconfig.h: Likewise.
12619 * sysdeps/generic/ldsodefs.h: Likewise.
12620 * sysdeps/generic/memusage.h: Likewise.
12621 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12624 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12631 * sysdeps/posix/getaddrinfo.c: Likewise.
12632 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12633 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12634 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12635 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12636 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12637 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12638 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12639 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12640 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12641 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12642 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12643 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12644 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12645 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12646 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12647 * sysdeps/x86_64/dl-tls.h: Likewise.
12648 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12649 * time/alt_digit.c: Likewise.
12650 * time/era.c: Likewise.
12651 * wcsmbs/tst-c16c32-1.c: Likewise.
12653 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12655 * math/libm-test.inc (struct test_sincos_data): New type.
12656 (RUN_TEST_LOOP_sincos): New macro.
12657 (sincos_test_data): New variable.
12658 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12660 2013-05-16 Richard Henderson <rth@redhat.com>
12662 * math/atest-exp2.c (LIMB64): New macro.
12663 (CONSTSZ): New macro.
12664 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12666 (print_mpn_fp): ... to function scope.
12667 (read_mpn_hex): Remove.
12668 (get_log2): Remove.
12669 (exp2_mpn): Use mp_log2.
12670 (main): Use mp_exp1.
12672 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12674 * math/libm-test.inc: Remove comment about not testing "inexact"
12676 (INEXACT_EXCEPTION): New macro.
12677 (NO_INEXACT_EXCEPTION): Likewise.
12678 (INVALID_EXCEPTION_OK): Update value.
12679 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12680 (OVERFLOW_EXCEPTION_OK): Likewise.
12681 (UNDERFLOW_EXCEPTION_OK): Likewise.
12682 (IGNORE_ZERO_INF_SIGN): Likewise.
12683 (ERRNO_UNCHANGED): Likewise.
12684 (ERRNO_EDOM): Likewise.
12685 (ERRNO_ERANGE): Likewise.
12686 (test_exceptions): Handle testing "inexact" exceptions.
12687 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12688 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12689 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12690 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12692 (rint_towardzero_test_data): Likewise.
12693 (rint_downward_test_data): Likewise.
12694 (rint_upward_test_data): Likewise.
12696 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12697 with OVERFLOW_EXCEPTION.
12698 (exp10_test_data): Likewise.
12699 (exp2_test_data): Likewise.
12700 (expm1_test_data): Likewise.
12701 (lgamma_test_data): Likewise.
12702 (pow_test_data): Likewise.
12703 (tgamma_test_data): Likewise.
12704 (yn_test_data): Remove duplicate test of overflow.
12706 * math/libm-test.inc (struct test_cc_c_data): New type.
12707 (RUN_TEST_LOOP_cc_c): New macro.
12708 (cpow_test_data): New variable.
12709 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12711 * math/libm-test.inc (struct test_f_L_data): New type.
12712 (RUN_TEST_LOOP_f_L): New macro.
12713 (llrint_test_data): New variable.
12714 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12715 (llrint_tonearest_test_data): New variable.
12716 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12717 (llrint_towardzero_test_data): New variable.
12718 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12719 (llrint_downward_test_data): New variable.
12720 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12721 (llrint_upward_test_data): New variable.
12722 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12723 (llround_test_data): New variable.
12724 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12726 2013-05-13 Peter Collingbourne <pcc@google.com>
12728 * math/atest-exp2.c (get_log2): Remove const attribute.
12730 2013-05-15 Joseph Myers <joseph@codesourcery.com>
12732 * math/libm-test.inc (struct test_f_l_data): New type.
12733 (RUN_TEST_LOOP_f_l): New macro.
12734 (lrint_test_data): New variable.
12735 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12736 (lrint_tonearest_test_data): New variable.
12737 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12738 (lrint_towardzero_test_data): New variable.
12739 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12740 (lrint_downward_test_data): New variable.
12741 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12742 (lrint_upward_test_data): New variable.
12743 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12744 (lround_test_data): New variable.
12745 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12747 2013-05-15 Peter Collingbourne <pcc@google.com>
12749 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12750 (EXTRACT_WORDS64) Use where appropriate.
12751 (INSERT_WORDS64) Likewise.
12753 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12754 constraints with x constraints.
12755 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12757 * malloc/obstack.c (_obstack_compat): Add initializer.
12759 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
12761 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12762 si_trapno and add si_addr_lsb to _sifields.sigfault.
12763 (si_trapno): Remove macro.
12764 (si_addr_lsb): Define new macro.
12765 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12767 2013-05-15 Joseph Myers <joseph@codesourcery.com>
12769 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12770 instead of TEST_f_l.
12771 (llrint_test_tonearest): Likewise.
12772 (llrint_test_towardzero): Likewise.
12773 (llrint_test_downward): Likewise.
12774 (llrint_test_upward): Likewise.
12775 (llround_test): Likewise.
12777 * math/libm-test.inc (struct test_f_i_data): Add comment.
12778 (RUN_TEST_LOOP_f_b): New macro.
12779 (RUN_TEST_LOOP_f_b_tg): Likewise.
12780 (finite_test_data): New variable.
12781 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12782 (isfinite_test_data): New variable.
12783 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12784 (isinf_test_data): New variable.
12785 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12786 (isnan_test_data): New variable.
12787 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12788 (isnormal_test_data): New variable.
12789 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12790 (issignaling_test_data): New variable.
12791 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12792 (signbit_test_data): New variable.
12793 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12795 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12796 with INVALID_EXCEPTION.
12797 (acosh_test_data): Likewise.
12798 (asin_test_data): Likewise.
12799 (atanh_test_data): Likewise.
12800 (fmod_test_data): Likewise.
12801 (log_test_data): Likewise.
12802 (log10_test_data): Likewise.
12803 (log2_test_data): Likewise.
12804 (pow_test_data): Likewise.
12805 (sqrt_test_data): Likewise.
12806 (y0_test_data): Likewise.
12807 (y1_test_data): Likewise.
12808 (yn_test_data): Likewise.
12810 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12813 * math/libm-test.inc (struct test_ff_i_data): New type.
12814 (RUN_TEST_LOOP_ff_i_tg): New macro.
12815 (isgreater_test_data): New variable.
12816 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12817 (isgreaterequal_test_data): New variable.
12818 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12819 (isless_test_data): New variable.
12820 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12821 (islessequal_test_data): New variable.
12822 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12823 (islessgreater_test_data): New variable.
12824 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12825 (isunordered_test_data): New variable.
12826 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12828 2013-05-14 David S. Miller <davem@davemloft.net>
12830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12832 2013-05-14 Joseph Myers <joseph@codesourcery.com>
12834 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12836 * math/libm-test.inc (struct test_fF_f1_data): Change type of
12838 (struct test_f_i_data): Change type of max_ulp to int.
12840 * math/libm-test.inc (test_ffI_f1_data): New type.
12841 (RUN_TEST_LOOP_ffI_f1): New macro.
12842 (remquo_test_data): New variable.
12843 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12845 * setjmp/tst-setjmp-fp.c: New file.
12846 * setjmp/Makefile (tests): Add tst-setjmp-fp.
12847 (link-libm): New variable.
12848 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12850 * math/libm-test.inc (struct test_f_i_data): New type.
12851 (RUN_TEST_LOOP_f_i): New macro.
12852 (RUN_TEST_LOOP_f_i_tg): Likewise.
12853 (fpclassify_test_data): New variable.
12854 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12855 (ilogb_test_data): New variable.
12856 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12858 * math/libm-test.inc (scalbln_test): Correct function name in END
12861 * math/libm-test.inc (struct test_f_f1_data): Add comment.
12862 (RUN_TEST_LOOP_fI_f1): New macro.
12863 (frexp_test_data): New variable.
12864 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12866 * math/libm-test.inc (struct test_fF_f1_data): New type.
12867 (RUN_TEST_LOOP_fF_f1): New macro.
12868 (modf_test_data): New variable.
12869 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12871 * math/libm-test.inc (struct test_f_f1_data): New type.
12872 (RUN_TEST_LOOP_f_f1): New macro.
12873 (gamma_test_data): New variable.
12874 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12875 (lgamma_test_data): New variable.
12876 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12878 2013-05-13 Carlos O'Donell <carlos@redhat.com>
12880 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12881 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12882 (main): Comment "tls" pseudo-hwcap.
12884 2013-05-13 Joseph Myers <joseph@codesourcery.com>
12886 * math/libm-test.inc (struct test_fl_f_data): New type.
12887 (RUN_TEST_LOOP_fl_f): New variable.
12888 (scalbln_test_data): New variable.
12889 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12891 * math/libm-test.inc (struct test_fi_f_data): New type.
12892 (RUN_TEST_LOOP_fi_f): New macro.
12893 (ldexp_test_data): New variable.
12894 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12895 (scalbn_test_data): New variable.
12896 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12898 * math/libm-test.inc (struct test_c_f_data): New type.
12899 (RUN_TEST_LOOP_c_f): New macro.
12900 (cabs_test_data): New variable.
12901 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12902 (carg_test_data): New variable.
12903 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12904 (cimag_test_data): New variable.
12905 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12906 (creal_test_data): New variable.
12907 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12909 * math/libm-test.inc (struct test_if_f_data): New type.
12910 (RUN_TEST_LOOP_if_f): New macro.
12911 (jn_test_data): New variable.
12912 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12913 (yn_test_data): New variable.
12914 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12916 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12918 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12920 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12921 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12923 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12925 * benchtests/Makefile (CPPFLAGS-nonlib): Add
12926 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12927 (bench-deps): Add bench-timing.h.
12928 * benchtests-bench-skeleton.c: Include bench-timing.h.
12929 (main): Use TIMING_* macros instead of clock_gettime.
12930 * benchtests/bench-timing.h: New file.
12933 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
12934 Renamed from _LIB_VERSION.
12935 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
12937 2013-05-12 Joseph Myers <joseph@codesourcery.com>
12939 * math/libm-test.inc (struct test_fff_f_data): New type.
12940 (RUN_TEST_LOOP_fff_f): New macro.
12941 (fma_test_data): New variable.
12942 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
12943 (fma_towardzero_test_data): New variable.
12944 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
12945 (fma_downward_test_data): New variable.
12946 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
12947 (fma_upward_test_data): New variable.
12948 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
12950 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
12951 (struct test_c_c_data): New type.
12952 (RUN_TEST_LOOP_c_c): New macro.
12953 (cacos_test_data): New variable.
12954 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
12955 (cacosh_test_data): New variable.
12956 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
12957 (casin_test_data): New variable.
12958 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
12959 (casinh_test_data): New variable.
12960 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
12961 (catan_test_data): New variable.
12962 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
12963 (catanh_test_data): New variable.
12964 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
12965 (ccos_test_data): New variable.
12966 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
12967 (ccosh_test_data): New variable.
12968 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
12969 (cexp_test_data): New variable.
12970 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
12971 (clog_test_data): New variable.
12972 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
12973 (clog10_test_data): New variable.
12974 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
12975 (conj_test_data): New variable.
12976 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
12977 (cproj_test_data): New variable.
12978 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
12979 (csin_test_data): New variable.
12980 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
12981 (csinh_test_data): New variable.
12982 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
12983 (csqrt_test_data): New variable.
12984 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
12985 (ctan_test_data): New variable.
12986 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
12987 (ctan_tonearest_test_data): New variable.
12988 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12989 (ctan_towardzero_test_data): New variable.
12990 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12991 (ctan_downward_test_data): New variable.
12992 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12993 (ctan_upward_test_data): New variable.
12994 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12995 (ctanh_test_data): New variable.
12996 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
12997 (ctanh_tonearest_test_data): New variable.
12998 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12999 (ctanh_towardzero_test_data): New variable.
13000 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13001 (ctanh_downward_test_data): New variable.
13002 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13003 (ctanh_upward_test_data): New variable.
13004 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13005 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13008 * math/libm-test.inc (struct test_ff_f_data): New type.
13009 (struct test_ff_f_data_nexttoward): Likewise.
13010 (RUN_TEST_LOOP_2_f): New macro.
13011 (RUN_TEST_LOOP_ff_f): Likewise.
13012 (atan2_test_data): New variable.
13013 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13014 (copysign_test_data): New variable.
13015 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13016 (fdim_test_data): New variable.
13017 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13018 (fmax_test_data): New variable.
13019 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13020 (fmin_test_data): New variable.
13021 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13022 (fmod_test_data): New variable.
13023 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13024 (hypot_test_data): New variable.
13025 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13026 (nextafter_test_data): New variable.
13027 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13028 (nexttoward_test_data): New variable.
13029 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13030 (pow_test_data): New variable.
13031 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13032 (pow_tonearest_test_data): New variable.
13033 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13034 (pow_towardzero_test_data): New variable.
13035 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13036 (pow_downward_test_data): New variable.
13037 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13038 (pow_upward_test_data): New variable.
13039 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13040 (remainder_test_data): New variable.
13041 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13042 (scalb_test_data): New variable.
13043 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13044 * sysdeps/i386/fpu/libm-test-ulps: Update.
13046 2013-05-11 Joseph Myers <joseph@codesourcery.com>
13048 * math/libm-test.inc (fma_test): Use max_value instead of local
13050 (nextafter_test): Likewise.
13052 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13053 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13054 (acos_downward_test_data): New variable.
13055 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13056 (acos_upward_test_data): New variable.
13057 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13058 (acosh_test_data): New variable.
13059 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13060 (asin_test_data): New variable.
13061 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13062 (asin_tonearest_test_data): New variable.
13063 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13064 (asin_towardzero_test_data): New variable.
13065 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13066 (asin_downward_test_data): New variable.
13067 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13068 (asin_upward_test_data): New variable.
13069 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13070 (asinh_test_data): New variable.
13071 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13072 (atan_test_data): New variable.
13073 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13074 (atanh_test_data): New variable.
13075 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13076 (cbrt_test_data): New variable.
13077 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13078 (ceil_test_data): New variable.
13079 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13080 (cos_test_data): New variable.
13081 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13082 (cos_tonearest_test_data): New variable.
13083 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13084 (cos_towardzero_test_data): New variable.
13085 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13086 (cos_downward_test_data): New variable.
13087 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13088 (cos_upward_test_data): New variable.
13089 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13090 (cosh_test_data): New variable.
13091 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13092 (cosh_tonearest_test_data): New variable.
13093 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13094 (cosh_towardzero_test_data): New variable.
13095 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13096 (cosh_downward_test_data): New variable.
13097 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13098 (cosh_upward_test_data): New variable.
13099 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13100 (erf_test_data): New variable.
13101 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13102 (erfc_test_data): New variable.
13103 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13104 (exp_test_data): New variable.
13105 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13106 (exp_tonearest_test_data): New variable.
13107 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13108 (exp_towardzero_test_data): New variable.
13109 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13110 (exp_downward_test_data): New variable.
13111 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13112 (exp_upward_test_data): New variable.
13113 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13114 (exp10_test_data): New variable.
13115 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13116 (exp2_test_data): New variable.
13117 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13118 (expm1_test_data): New variable.
13119 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13120 (fabs_test_data): New variable.
13121 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13122 (floor_test_data): New variable.
13123 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13124 (j0_test_data): New variable.
13125 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13126 (j1_test_data): New variable.
13127 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13128 (log_test_data): New variable.
13129 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13130 (log10_test_data): New variable.
13131 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13132 (log1p_test_data): New variable.
13133 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13134 (log2_test_data): New variable.
13135 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13136 (logb_test_data): New variable.
13137 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13138 (logb_downward_test_data): New variable.
13139 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13140 (nearbyint_test_data): New variable.
13141 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13142 (rint_test_data): New variable.
13143 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13144 (rint_tonearest_test_data): New variable.
13145 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13146 (rint_towardzero_test_data): New variable.
13147 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13148 (rint_downward_test_data): New variable.
13149 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13150 (rint_upward_test_data): New variable.
13151 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13152 (round_test_data): New variable.
13153 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13154 (sin_test_data): New variable.
13155 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13156 (sin_tonearest_test_data): New variable.
13157 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13158 (sin_towardzero_test_data): New variable.
13159 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13160 (sin_downward_test_data): New variable.
13161 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13162 (sin_upward_test_data): New variable.
13163 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13164 (sinh_test_data): New variable.
13165 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13166 (sinh_tonearest_test_data): New variable.
13167 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13168 (sinh_towardzero_test_data): New variable.
13169 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13170 (sinh_downward_test_data): New variable.
13171 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13172 (sinh_upward_test_data): New variable.
13173 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13174 (sqrt_test_data): New variable.
13175 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13176 (tan_test_data): New variable.
13177 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13178 (tan_tonearest_test_data): New variable.
13179 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13180 (tan_towardzero_test_data): New variable.
13181 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13182 (tan_downward_test_data): New variable.
13183 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13184 (tan_upward_test_data): New variable.
13185 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13186 (tanh_test_data): New variable.
13187 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13188 (tgamma_test_data): New variable.
13189 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13190 (trunc_test_data): New variable.
13191 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13192 (y0_test_data): New variable.
13193 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13194 (y1_test_data): New variable.
13195 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13196 (significand_test_data): New variable.
13197 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13199 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13202 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13204 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13206 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13208 2013-05-10 Andreas Jaeger <aj@suse.de>
13211 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13212 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13214 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13216 * math/gen-libm-test.pl (adjust_arg): New function.
13217 (special_functions): Handle generating output in both functions
13219 (parse_args): Likewise.
13220 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13221 $in_func argument to parse_args.
13222 * math/libm-test.inc (struct test_f_f_data): New type.
13223 (IF_ROUND_INIT_): New macro.
13224 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13225 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13226 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13227 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13228 (ROUND_RESTORE_): Likewise.
13229 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13230 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13231 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13232 (ROUND_RESTORE_FE_UPWARD): Likewise.
13233 (RUN_TEST_LOOP_f_f): New macro.
13234 (acos_test_data): New variable.
13235 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13236 (acos_tonearest_test_data): New variable.
13237 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13239 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13241 * benchtests/bench-skeleton.c (startup): Fix coding style.
13243 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13246 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13247 negative infinity argument.
13248 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13249 negative infinity argument.
13250 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13251 negative infinity argument.
13252 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13255 2013-05-10 Florian Weimer <fweimer@redhat.com>
13257 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13258 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13259 * iconv/iconv_prog.c (main): Likewise.
13260 * locale/programs/charmap-dir.c (charmap_readdir)
13261 (fopen_uncompressed): Likewise.
13262 * locale/programs/locfile.c (siblings_uncached)
13263 (write_locale_data): Use lstat64 instead of lstat.
13264 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13267 2013-05-10 Andreas Jaeger <aj@suse.de>
13270 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13272 Include <locale.h>.
13274 2013-05-09 Carlos O'Donell <carlos@redhat.com>
13276 * elf/dl-close.c (_dl_close_worker): Add comments.
13278 2013-05-09 Joseph Myers <joseph@codesourcery.com>
13281 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13283 (__ieee754_rem_pio2l): Update comments.
13286 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13288 (__ieee754_rem_pio2l): Update comments.
13290 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13291 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13293 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13296 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13297 (M_PI_34_LOG10El): Likewise.
13298 (M_PI2_LOG10El): Likewise.
13299 (M_PI4_LOG10El): Likewise.
13300 (M_PI_LOG10El): Likewise.
13302 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13306 2013-05-08 Joseph Myers <joseph@codesourcery.com>
13308 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13309 (MINUS_ZERO_INIT): Likewise.
13310 (PLUS_INFTY_INIT): Likewise.
13311 (MINUS_INFTY_INIT): Likewise.
13312 (QNAN_VALUE_INIT): Likewise.
13313 (MAX_VALUE_INIT): Likewise.
13314 (MIN_VALUE_INIT): Likewise.
13315 (MIN_SUBNORM_VALUE_INIT): Likewise.
13316 (plus_zero): Initialize with PLUS_ZERO_INIT.
13317 (minus_zero): Initialize with MINUS_ZERO_INIT.
13318 (plus_infty): Initialize with PLUS_INFTY_INIT.
13319 (minus_infty): Initialize with MINUS_INFTY_INIT.
13320 (qnan_value): Initialize with QNAN_VALUE_INIT.
13321 (max_value): Initialize with MAX_VALUE_INIT.
13322 (min_value): Initialize with MIN_VALUE_INIT.
13323 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13325 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13326 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13327 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13328 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13330 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13331 (RUN_TEST_2_f): Likewise.
13332 (RUN_TEST_ff_f): Likewise.
13333 (RUN_TEST_fi_f): Likewise.
13334 (RUN_TEST_fl_f): Likewise.
13335 (RUN_TEST_fff_f): Likewise.
13336 (RUN_TEST_c_f): Likewise.
13337 (RUN_TEST_f_f1): Likewise.
13338 (RUN_TEST_fF_f1): Likewise.
13339 (RUN_TEST_fI_f1): Likewise.
13340 (RUN_TEST_ffI_f1): Likewise.
13341 (RUN_TEST_c_c): Likewise.
13342 (RUN_TEST_cc_c): Likewise.
13343 (RUN_TEST_f_i): Likewise.
13344 (RUN_TEST_f_i_tg): Likewise.
13345 (RUN_TEST_ff_i_tg): Likewise.
13346 (RUN_TEST_f_b): Likewise.
13347 (RUN_TEST_f_b_tg): Likewise.
13348 (RUN_TEST_f_l): Likewise.
13349 (RUN_TEST_f_L): Likewise.
13350 (RUN_TEST_sincos): Likewise.
13351 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13352 whether to show exceptions. Do not include ");\n" in return
13354 (special_functions): Output call to RUN_TEST_sincos instead of
13355 check_float calls. Update calls to new_test.
13356 (parse_args): Output call to single RUN_TEST_* macro instead of
13357 check_* calls and other assignments. Update calls to new_test.
13363 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13364 input to result for tgamma overflow.
13365 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13366 (gamma_coeff): New variable.
13367 (NCOEFF): New macro.
13368 (gamma_positive): New function.
13369 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13370 underflow here. Use gamma_positive instead of exp (lgamma) for
13372 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13373 (gamma_coeff): New variable.
13374 (NCOEFF): New macro.
13375 (gammaf_positive): New function.
13376 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13377 underflow here. Use gamma_positive instead of exp (lgamma) for
13379 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13380 (gamma_coeff): New variable.
13381 (NCOEFF): New macro.
13382 (gammal_positive): New function.
13383 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13384 underflow here. Use gamma_positive instead of exp (lgamma) for
13386 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13387 (gamma_coeff): New variable.
13388 (NCOEFF): New macro.
13389 (gammal_positive): New function.
13390 (__ieee754_gammal_r): Handle positive infinity, overflow and
13391 underflow here. Handle NaN the same as positive infinity. Remove
13392 check x < 0xffffffff for negative integers. Use gamma_positive
13393 instead of exp (lgamma) for other arguments.
13394 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13395 (gamma_coeff): New variable.
13396 (NCOEFF): New macro.
13397 (gammal_positive): New function.
13398 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13399 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13403 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13404 * sysdeps/generic/math_private.h (__gamma_productf): New
13406 (__gamma_product): Likewise.
13407 (__gamma_productl): Likewise.
13408 * math/Makefile (libm-calls): Add gamma_product.
13409 * math/libm-test.inc (tgamma_test): Add more tests.
13410 * sysdeps/i386/fpu/libm-test-ulps: Update.
13411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13413 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
13415 * benchtests/bench-skeleton.c (main): Preheat CPU.
13417 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13419 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13421 2013-05-07 Roland McGrath <roland@hack.frob.com>
13423 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13424 and _dl_skip_args_internal.
13426 2013-05-07 Carlos O'Donell <carlos@redhat.com>
13428 * manual/message.texi (Message Translation): Talk about users.
13429 Message to key mapping impacts design.
13431 2013-05-06 Roland McGrath <roland@hack.frob.com>
13433 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13435 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13437 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13438 * sysdeps/wordsize-64/glob64.c: ... here.
13440 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13441 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13444 * debug/getlogin_r_chk.c: Moved to ...
13445 * login/getlogin_r_chk.c: ... here.
13446 * debug/Makefile (routines): Move getlogin_r_chk to ...
13447 * login/Makefile (routines): ... here.
13448 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13449 * login/Versions (libc: GLIBC_2.4): ... here.
13451 * io/poll.c (__poll): Renamed from poll.
13452 Add libc_hidden_def.
13453 (poll): Define as weak alias.
13455 * debug/ptsname_r_chk.c: Moved to ...
13456 * login/ptsname_r_chk.c: ... here.
13457 * debug/Makefile (routines): Move ptsname_r_chk to ...
13458 * login/Makefile (routines): ... here.
13459 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13460 * login/Versions (libc: GLIBC_2.4): ... here.
13462 * posix/getlogin.c: Moved to ...
13463 * login/getlogin.c: ... here.
13464 * posix/getlogin_r.c: Moved to ...
13465 * login/getlogin_r.c: ... here.
13466 * posix/getlogin_r.c: Moved to ...
13467 * login/getlogin_r.c: ... here.
13468 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13469 * login/Makefile (routines): ... here.
13470 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13471 * login/Versions (libc: GLIBC_2.0): ... here.
13473 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13474 (setrlimit): Define as weak alias.
13476 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13477 Call __ names for open, ftruncate, and close.
13478 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13479 (truncate): Define as weak alias.
13481 2013-05-06 Joseph Myers <joseph@codesourcery.com>
13483 * math/gen-libm-test.pl (parse_args): Initialize x before each
13484 test of frexp, modf and remquo.
13486 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13487 test signgam value.
13489 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13493 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13495 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13497 2013-05-06 Roland McGrath <roland@hack.frob.com>
13499 * elf/dl-writev.h: New file.
13500 * elf/dl-misc.c: Include it.
13501 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13502 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13504 2013-05-04 Joseph Myers <joseph@codesourcery.com>
13506 * math/libm-test.inc (noXFails): Remove variable.
13507 (noXPasses): Likewise.
13508 (BUILD_COMPLEX_INT): Remove macro.
13509 (print_screen): Remove xfail argument.
13510 (print_screen_max_error): Likewise.
13511 (update_stats): Likewise.
13512 (print_max_error): Likewise. Update calls to other affected
13514 (print_complex_max_error): Likewise.
13515 (test_single_exception): Update calls to print_screen.
13516 (test_single_errno): Likewise.
13517 (check_float_internal): Remove xfail argument. Update calls to
13518 other affected functions.
13519 (check_float): Likewise.
13520 (check_complex): Likewise.
13521 (check_int): Likewise.
13522 (check_long): Likewise.
13523 (check_bool): Likewise.
13524 (check_longlong): Likewise.
13525 (main): Don't print noXFails and noXPasses.
13526 * math/gen-libm-test.pl (top level): Don't mention expected
13527 failure handling in comment.
13528 (new_test): Don't handle expected failures.
13529 (parse_args): Don't mention expected failure handling in comment.
13530 (generate_testfile): Don't handle expected failures.
13531 (parse_ulps): Likewise.
13532 (print_ulps_file): Likewise.
13533 (get_failure): Remove function.
13534 (output_test): Don't handle expected failures.
13535 * make/README.libm-test: Don't mention expected failure handling.
13537 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13538 (minus_zero): Likewise.
13539 (plus_infty): Likewise.
13540 (minus_infty): Likewise.
13541 (qnan_value): Likewise.
13542 (max_value): Likewise.
13543 (min_value): Likewise.
13544 (min_subnorm_value): Likewise.
13545 (initialize): Do not initialize those variables dynamically.
13547 2013-05-03 Roland McGrath <roland@hack.frob.com>
13549 * io/open.c (__open_2): Moved to ...
13550 * io/open_2.c: ... this new file.
13551 * io/open64.c (__open64_2): Moved to ...
13552 * io/open64_2.c: ... this new file.
13553 * io/openat.c (__openat_2): Moved to ...
13554 * io/openat_2.c: ... this new file.
13555 * io/openat64.c (__openat64_2): Moved to ...
13556 * io/openat64_2.c: ... this new file.
13557 * io/Makefile (routines): Add them.
13558 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13559 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13560 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13561 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13562 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13563 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13564 (__openat64): Add hidden_ver.
13565 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13566 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13568 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13569 Separately conditionalize setting of GLRO(dl_sysinfo) so
13570 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13571 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13573 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13575 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13576 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13578 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13579 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13580 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13581 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13582 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13584 2013-05-03 Joseph Myers <joseph@codesourcery.com>
13586 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13587 test signgam value.
13589 * math/libm-test.inc (hypot_test): Do not use
13590 IGNORE_ZERO_INF_SIGN.
13592 2013-05-03 Andreas Jaeger <aj@suse.de>
13594 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13596 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13597 (PF_MAX): Adjust for VSOCK change.
13599 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13603 2013-05-02 Carlos O'Donell <carlos@redhat.com>
13606 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13607 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13608 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13610 2013-05-02 David S. Miller <davem@davemloft.net>
13612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13614 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
13616 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13618 2013-05-01 Roland McGrath <roland@hack.frob.com>
13620 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13622 2013-05-01 Richard Smith <richard@metafoo.co.uk>
13625 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13626 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13627 Use __attribute__ ((__gnu_inline__)).
13628 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13629 Don't use __attribute__ ((__gnu_inline__)).
13631 2013-05-01 Joseph Myers <joseph@codesourcery.com>
13634 * math/s_catan.c (__catan): Handle small real or imaginary part of
13635 input specially to avoid spurious underflow.
13636 * math/s_catanf.c (__catanf): Likewise.
13637 * math/s_catanh.c (__catanh): Likewise.
13638 * math/s_catanhf.c (__catanhf): Likewise.
13639 * math/s_catanhl.c (__catanhl): Likewise.
13640 * math/s_catanl.c (__catanl): Likewise.
13641 * math/libm-test.inc (catan_test): Add more tests.
13642 (catanh_test): Likewise.
13643 * sysdeps/i386/fpu/libm-test-ulps: Update.
13644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13646 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13650 2013-04-30 Joseph Myers <joseph@codesourcery.com>
13653 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13654 accurately for denominator in atan2.
13655 * math/s_catanf.c (__catanf): Likewise.
13656 * math/s_catanh.c (__catanh): Likewise.
13657 * math/s_catanhf.c (__catanhf): Likewise.
13658 * math/s_catanhl.c (__catanhl): Likewise.
13659 * math/s_catanl.c (__catanl): Likewise.
13660 * math/libm-test.inc (catan_test): Add more tests.
13661 (catanh_test): Likewise.
13662 * sysdeps/i386/fpu/libm-test-ulps: Update.
13663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13665 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13667 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13669 * benchtests/Makefile (bench): Remove slow benchmarks.
13670 * benchtests/atan-inputs: Add slow benchmark inputs.
13671 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13672 (BENCH_FUNC): Accept variant offset.
13674 * benchtests/bench-skeleton.c (main): Run benchmark for each
13676 * benchtests/cos-inputs: Add slow benchmark inputs.
13677 * benchtests/exp-inputs: Likewise.
13678 * benchtests/pow-inputs: Likewise.
13679 * benchtests/sin-inputs: Likewise.
13680 * benchtests/slowatan-inputs: Remove.
13681 * benchtests/slowatan.c: Remove.
13682 * benchtests/slowcos-inputs: Remove.
13683 * benchtests/slowcos.c: Remove.
13684 * benchtests/slowexp-inputs: Remove.
13685 * benchtests/slowexp.c: Remove.
13686 * benchtests/slowpow-inputs: Remove.
13687 * benchtests/slowpow.c: Remove.
13688 * benchtests/slowsin-inputs: Remove.
13689 * benchtests/slowsin.c: Remove.
13690 * benchtests/slowtan-inputs: Remove.
13691 * benchtests/slowtan.c: Remove.
13692 * benchtests/tan-inputs: Add slow benchmark inputs.
13693 * scripts/bench.pl: Parse comments and directives.
13695 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13697 ($(objpfx)bench-%.c): Remove *-ITER.
13698 * benchtests/bench-modf.c: Remove definition of ITER.
13699 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13700 (main): Loop for DURATION seconds instead of fixed number of
13702 * scripts/bench.pl: Don't expect iterations in parameters.
13704 2013-04-29 Roland McGrath <roland@hack.frob.com>
13706 * io/fchdir.c (__fchdir): Renamed from fchdir.
13707 (fchdir): Define as weak alias.
13709 2013-04-29 Joseph Myers <joseph@codesourcery.com>
13711 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13712 (ERRNO_EDOM): Likewise.
13713 (ERRNO_ERANGE): Likewise.
13714 (noErrnoTests): New variable.
13715 (init_max_error): Set errno to 0.
13716 (test_single_errno): New function.
13717 (test_errno): Likewise.
13718 (check_float_internal): Call test_errno. Set errno to 0.
13719 (check_complex): Refer to errno tests in comment.
13720 (check_int): Call test_errno. Set errno to 0.
13721 (check_long): Likewise.
13722 (check_bool): Likewise.
13723 (check_longlong): Likewise.
13724 (cos_test): Use ERRNO_* flags for errno tests instead of
13726 (expm1_test): Likewise.
13727 (fmod_test): Likewise.
13728 (ilogb_test): Likewise.
13729 (lgamma_test): Likewise.
13730 (pow_test): Likewise.
13731 (remainder_test): Likewise.
13732 (sin_test): Likewise.
13733 (tan_test): Likewise.
13734 (yn_test): Likewise.
13735 (initialize): Set errno to 0.
13736 (main): Print number of errno tests.
13737 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13739 2013-04-29 Andreas Jaeger <aj@suse.de>
13742 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13746 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13747 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13751 * stdlib/random.c (__initstate): Return NULL if
13755 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13756 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13759 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13763 2013-04-29 Joseph Myers <joseph@codesourcery.com>
13765 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13766 of individual tests.
13767 (casin_test): Likewise.
13768 (casinh_test): Likewise.
13770 2013-04-27 Joseph Myers <joseph@codesourcery.com>
13773 * math/s_catan.c (__catan): Handle arguments with large real or
13774 imaginary part separately without squaring.
13775 * math/s_catanf.c (__catanf): Likewise.
13776 * math/s_catanh.c (__catanh): Likewise.
13777 * math/s_catanhf.c (__catanhf): Likewise.
13778 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13780 (__catanhl): Handle arguments with large real or imaginary part
13781 separately without squaring.
13782 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13784 (__catanl): Handle arguments with large real or imaginary part
13785 separately without squaring.
13786 * math/libm-test.inc (catan_test): Add more tests.
13787 (catanh_test): Likewise.
13788 * sysdeps/i386/fpu/libm-test-ulps: Update.
13789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13791 2013-04-27 Andreas Jaeger <aj@suse.de>
13794 * stdlib/stdlib.h: Update guards for qecvt.
13795 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13798 2013-04-27 Allan McRae <allan@archlinux.org>
13800 * sysdeps/i386/fpu/libm-test-ulps: Update.
13802 2013-04-26 Joseph Myers <joseph@codesourcery.com>
13805 * math/s_catan.c: Include <float.h>.
13806 (__catan): Ensure underflow exception occurs for underflowed
13808 * math/s_catanf.c: Include <float.h>.
13809 (__catanf): Ensure underflow exception occurs for underflowed
13811 * math/s_catanh.c: Include <float.h>.
13812 (__catanh): Ensure underflow exception occurs for underflowed
13814 * math/s_catanhf.c: Include <float.h>.
13815 (__catanhf): Ensure underflow exception occurs for underflowed
13817 * math/s_catanhl.c: Include <float.h>.
13818 (__catanhl): Ensure underflow exception occurs for underflowed
13820 * math/s_catanl.c: Include <float.h>.
13821 (__catanl): Ensure underflow exception occurs for underflowed
13823 * math/libm-test.inc (catan_test): Add more tests.
13824 (catanh_test): Likewise.
13827 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13828 underflowed result.
13829 * math/s_ccoshf.c (__ccoshf): Likewise.
13830 * math/s_ccoshl.c (__ccoshl): Likewise.
13831 * math/s_csin.c (__csin): Likewise.
13832 * math/s_csinf.c (__csinf): Likewise.
13833 * math/s_csinh.c (__csinh): Likewise.
13834 * math/s_csinhf.c (__csinhf): Likewise.
13835 * math/s_csinhl.c (__csinhl): Likewise.
13836 * math/s_csinl.c (__csinl): Likewise.
13837 * math/libm-test.inc (ccos_test): Add more tests.
13838 (ccosh_test): Likewise.
13839 (csin_test): Likewise.
13840 (csinh_test): Likewise.
13842 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13844 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13845 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13846 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13847 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13848 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13849 powerpc/power5+/fpu folders.
13850 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13853 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13857 2013-04-25 Joseph Myers <joseph@codesourcery.com>
13859 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13860 additions to variable.
13861 [$(config-machine) = x86_64] (modules-names): Likewise.
13862 ($(objpfx)tst-audit3): Remove dependency.
13863 ($(objpfx)tst-audit3.out): Likewise.
13864 ($(objpfx)tst-audit4): Likewise.
13865 ($(objpfx)tst-audit4.out): Likewise.
13866 ($(objpfx)tst-audit5): Likewise.
13867 ($(objpfx)tst-audit5.out): Likewise.
13868 ($(objpfx)tst-audit6): Likewise.
13869 ($(objpfx)tst-audit6.out): Likewise.
13870 ($(objpfx)tst-audit7): Likewise.
13871 ($(objpfx)tst-audit7.out): Likewise.
13872 (tst-audit3-ENV): Remove variable.
13873 (tst-audit4-ENV): Likewise.
13874 (tst-audit5-ENV): Likewise.
13875 (tst-audit6-ENV): Likewise.
13876 (tst-audit7-ENV): Likewise.
13877 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13878 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13879 addition to variable.
13880 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13881 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13882 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13883 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13884 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13885 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13886 tst-audit3, tst-audit4 and tst-audit5.
13887 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13888 tst-audit6 and tst-audit7.
13889 [$(subdir) = elf] (modules-names): Add audit modules for those
13891 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13892 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13893 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13894 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13895 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13896 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13897 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13898 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13899 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13900 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13901 [$(subdir) = elf] (tst-audit3-ENV): New variable.
13902 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13903 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13904 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13905 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13906 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13908 [$(subdir) = elf && $(config-cflags-avx) = yes]
13909 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13910 [$(subdir) = elf && $(config-cflags-avx) = yes]
13911 (CFLAGS-tst-auditmod4a.c): Likewise.
13912 [$(subdir) = elf && $(config-cflags-avx) = yes]
13913 (CFLAGS-tst-auditmod4b.c): Likewise.
13914 [$(subdir) = elf && $(config-cflags-avx) = yes]
13915 (CFLAGS-tst-auditmod6b.c): Likewise.
13916 [$(subdir) = elf && $(config-cflags-avx) = yes]
13917 (CFLAGS-tst-auditmod6c.c): Likewise.
13918 [$(subdir) = elf && $(config-cflags-avx) = yes]
13919 (CFLAGS-tst-auditmod7b.c): Likewise.
13920 * elf/tst-audit3.c: Move to ...
13921 * sysdeps/x86_64/tst-audit3.c: ... here.
13922 * elf/tst-audit4.c: Move to ...
13923 * sysdeps/x86_64/tst-audit4.c: ... here.
13924 * elf/tst-audit5.c: Move to ...
13925 * sysdeps/x86_64/tst-audit5.c: ... here.
13926 * elf/tst-audit6.c: Move to ...
13927 * sysdeps/x86_64/tst-audit6.c: ... here.
13928 * elf/tst-audit7.c: Move to ...
13929 * sysdeps/x86_64/tst-audit7.c: ... here.
13930 * elf/tst-auditmod3a.c: Move to ...
13931 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13932 * elf/tst-auditmod3b.c: Move to ...
13933 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
13934 * elf/tst-auditmod4a.c: Move to ...
13935 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
13936 * elf/tst-auditmod4b.c: Move to ...
13937 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
13938 * elf/tst-auditmod5a.c: Move to ...
13939 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
13940 * elf/tst-auditmod5b.c: Move to ...
13941 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
13942 * elf/tst-auditmod6a.c: Move to ...
13943 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
13944 * elf/tst-auditmod6b.c: Move to ...
13945 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
13946 * elf/tst-auditmod6c.c: Move to ...
13947 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
13948 * elf/tst-auditmod7a.c: Move to ...
13949 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
13950 * elf/tst-auditmod7b.c: Move to ...
13951 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
13953 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
13956 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
13957 define unconditionally.
13958 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
13959 define unconditionally.
13960 (INT8_C, INT16_C, etc.): Likewise.
13962 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
13964 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
13965 __ehdr_start with hidden visibility.
13967 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
13969 2013-04-24 Carlos O'Donell <carlos@redhat.com>
13971 * math/libm-test.inc (cos_test): Use accurate hex constants.
13972 (sincost_test): Likewise.
13974 2013-04-24 Joseph Myers <joseph@codesourcery.com>
13976 * math/libm-test.inc (catan_test): Add more tests.
13977 (catanh_test): Likewise.
13979 * math/s_catanf.c (__catanf): Use suffixed floating-point
13981 * math/s_catanhf.c (__catanhf): Likewise.
13982 * math/s_catanhl.c (__catanhl): Likewise.
13983 * math/s_catanl.c (__catanl): Likewise.
13986 * math/s_catan.c (__catan): Calculate imaginary part of result
13987 with log1p not log unless computing log of number close to 0.
13988 * math/s_catanf.c (__catanf): Likewise.
13989 * math/s_catanl.c (__catanl): Likewise.
13990 * math/s_catanh.c (__catanh): Calculate real part of result with
13991 log1p not log unless computing log of number close to 0.
13992 * math/s_catanhf.c (__catanhf): Likewise.
13993 * math/s_catanhl.c (__catanhl): Likewise.
13994 * math/libm-test.inc (catan_test): Add more tests.
13995 (catanh_test): Likewise.
13996 * sysdeps/i386/fpu/libm-test-ulps: Update.
13997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13999 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14001 * benchtests/Makefile: Mention files in which fast and slow
14002 paths of math functions are implemented.
14004 2013-04-23 Roland McGrath <roland@hack.frob.com>
14006 * sysdeps/posix/timespec_get.c: New file.
14008 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14010 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14012 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14014 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14015 powerpc/power5/fpu folders.
14016 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14017 * benchtests/Makefile: Add modf testcase.
14018 * benchtests/bench-modf.c: New file: Benchmark test for mo
14020 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14023 * time/Makefile (tests): Add tst-strptime-whitespace.
14024 * time/strptime_l.c (get_number): Use ISSPACE.
14025 (__strptime_internal): Likewise.
14026 * time/tst-strptime-whitespace.c: New test case.
14028 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14030 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14032 (_nss_files_init): Set it here.
14034 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14036 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14037 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14040 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14042 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14044 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14046 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14049 2013-04-21 David S. Miller <davem@davemloft.net>
14051 * po/ru.po: Update Russion translation from translation project.
14053 2013-04-17 Adam Conrad <adconrad@0c3.net>
14055 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14058 2013-04-17 Carlos O'Donell <carlos@redhat.com>
14060 * configure.in: Remove i386 configure warning. Remove i386 case.
14061 * configure: Regenerate.
14062 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14063 Add example to error message.
14064 * sysdeps/i386/configure: Regenerate.
14066 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14068 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14070 * benchtests/cos-inputs: New file.
14071 * benchtests/slowcos-inputs: New file.
14072 * benchtests/slowcos.c: New file.
14073 * benchtests/slowtan-inputs: New file.
14074 * benchtests/slowtan.c: New file.
14075 * benchtests/tan-inputs: New file.
14077 2013-04-16 Roland McGrath <roland@hack.frob.com>
14079 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14082 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14084 * benchtests/Makefile: Include cppflags-iterator.mk to add
14085 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14087 * Makefile.in (bench-clean): New target.
14088 * benchtests/Makefile (bench-clean): Likewise.
14090 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14092 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14094 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14096 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14098 2013-04-15 Andreas Schwab <schwab@suse.de>
14100 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14101 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14102 * nscd/pwdcache.c (cache_addpw): Likewise.
14103 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14106 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14108 * benchtests/Makefile (bench): Write all output to
14109 bench-out.tmp together.
14111 2013-04-15 Andreas Schwab <schwab@suse.de>
14113 * nscd/nscd.c (main): Don't fork again after closing files.
14115 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14117 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14119 * benchtests/Rules (bench-deps): Collect dependencies into a
14120 single variable. Add Makefile to dependencies.
14121 ($(objpfx)bench-%.c): Depend on bench-deps.
14123 2013-04-12 Roland McGrath <roland@hack.frob.com>
14124 Xavier Roche <roche+kml2@exalead.com>
14127 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14128 just that it's a file descriptor.
14129 * manual/llio.texi (Synchronizing AIO Operations): Update description
14130 for EBADF error from aio_fsync.
14132 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14134 * Rules (bench): Move target definition...
14135 * benchtests/Makefile: ... here.
14137 2013-04-11 Carlos O'Donell <carlos@redhat.com>
14139 * math/libm-test.inc (cos_test): Fix PI/2 test.
14140 (sincos_test): Likewise.
14141 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14142 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14144 2013-04-11 Andreas Schwab <schwab@suse.de>
14147 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14148 accept exponent character only when digits were seen.
14149 * stdio-common/Makefile (tests): Add bug26.
14150 * stdio-common/bug26.c: New file.
14153 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14156 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14158 * Makeconfig (rtld-prefix): Define built linker prefix.
14159 * Rules (run-bench): Use it.
14160 * math/Makefile (run-regen-ulps): Likewise.
14162 * Rules (bench): Remove eval.
14164 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14165 Roland McGrath <roland@hack.frob.com>
14166 Ondrej Bilka <neleai@seznam.cz>
14169 * time/getdate.c: Include ctype.h and alloca.h.
14170 (__getdate_r): Trim leading and trailing spaces of input.
14171 * time/tst-getdate.c (tests): Add tests with leading and
14174 2013-04-08 Roland McGrath <roland@hack.frob.com>
14177 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14178 when computing value.
14180 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14182 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14183 Use testrun.sh to run libm tests.
14186 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14188 2013-04-06 Marko Myllynen <myllynen@redhat.com>
14191 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14193 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14195 * Makefile.in (regen-ulps): New target.
14196 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14197 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14198 [ifneq (no,$(PERL)] (regen-ulps): New target.
14199 [ifeq (no,$(PERL)] (regen-ulps): New target.
14200 * math/libm-test.inc (ulps_file_name): Define.
14201 (output_dir): New variable.
14202 (options): Add "output-dir" option.
14203 (parse_opt): Handle 'o' case.
14204 (main): If output_dir is non-NULL use it as a prefix
14206 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14208 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14210 [BZ #10060, #10062]
14211 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14212 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14213 fail configure if __sync_val_compare_and_swap is not inlined.
14214 * sysdeps/i386/configure: Regenerate.
14215 * configure.in: Build for i686 when configured for i386.
14216 * configure: Regenerate.
14217 * README: Remove i386 reference.
14219 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14221 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14222 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14224 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14226 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14227 (lmsnanval): New variables.
14228 (F): Add conversion tests.
14229 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14230 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14232 * stdio-common/tstdiomisc.c (F): Properly collect individual
14235 [BZ #14686, #15336]
14236 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14237 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14238 Instead, use input NaN values or generate a qNaN by arithmetic
14239 operation. Also fix bugs to comply with the standard.
14240 * math/libm-test.inc (remainder_test): Add more tests.
14242 [BZ #15335, #15342]
14243 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14245 input NaN values or generate a qNaN by arithmetic operation.
14247 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14250 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14253 2013-04-03 Joseph Myers <joseph@codesourcery.com>
14256 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14257 underflowed result.
14258 * math/s_cexpf.c (__cexpf): Likewise.
14259 * math/s_cexpl.c (__cexpl): Likewise.
14260 * math/libm-test.inc (cexp_test): Add more tests.
14262 2013-04-03 Andreas Schwab <schwab@suse.de>
14265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14266 order arrays from heap if bigger than alloca cutoff.
14268 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14270 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14271 (SNAN_TESTS_double): Refer to GCC PR56831.
14272 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14275 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14277 * Rules (bench): Move bench.out after the run is complete.
14279 * Rules (bench): Echo currently running benchmark.
14281 * benchtests/Makefile (bench): Add atan and slowatan.
14282 * benchtests/atan-inputs: New file.
14283 * benchtests/slowatan-inputs: New file.
14284 * benchtests/slowatan.c: New file.
14286 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14287 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14291 * sysdeps/unix/sysv/linux/kernel-features.h
14292 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14293 __ASSUME_XFS_RESTRICTED_CHOWN.
14294 * sysdeps/unix/sysv/linux/pathconf.c
14295 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14296 Save and restore errno.
14298 2013-04-02 Joseph Myers <joseph@codesourcery.com>
14301 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14302 arguments using __kernel_casinh.
14303 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14304 arguments using __kernel_casinhf.
14305 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14306 arguments using __kernel_casinhl.
14307 * math/libm-test.inc (cacosh_test): Add more tests.
14308 * sysdeps/i386/fpu/libm-test-ulps: Update.
14309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14311 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14313 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14314 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14316 * bench/Makefile (bench): Add sin and slowsin.
14317 * benchtests/sin-inputs: New file.
14318 * benchtests/slowsin-inputs: New file.
14319 * benchtests/slowsin.c: New file.
14321 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14322 (bench): Add slowexp and slowpow.
14323 (exp-ITER): Increase iterations.
14324 (pow-ITER): Likewise.
14325 * benchtests/exp-inputs: Change input.
14326 * benchtests/pow-inputs: Likewise.
14327 * benchtests/slowexp-inputs: New file.
14328 * benchtests/slowexp.c: New file.
14329 * benchtests/slowpow-inputs: New file.
14330 * benchtests/slowpow.c: New file.
14332 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14334 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14336 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14337 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14338 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14339 * benchtests/Makefile: Add rint benchtest.
14340 * benchtests/rint-inputs: Input for rint benchtest.
14342 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14344 * Versions.def (libm): Add GLIBC_2.18.
14345 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14346 hidden libm prototypes.
14347 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14348 * math/Makefile (libm-calls): Add s_issignaling.
14349 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14350 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14351 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14353 * math/math.h [__USE_GNU] (issignaling): New macro.
14354 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14355 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14356 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14357 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14359 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14360 * manual/arith.texi (issignaling): New section.
14361 * manual/libm-err-tab.pl (@all_functions): Update comment.
14362 * math/gen-libm-test.pl (parse_args): Apply special handling for
14364 * math/libm-test.inc (print_float, issignaling_test): New
14366 (check_float_internal): Add issignaling checks.
14367 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14368 default definition.
14369 * sysdeps/powerpc/math-tests.h: New file.
14370 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14372 * math/test-snan.c (TEST_FUNC): Likewise.
14374 2013-03-30 David S. Miller <davem@davemloft.net>
14376 * po/de.po: Update from translation team.
14378 2013-03-30 Joseph Myers <joseph@codesourcery.com>
14381 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14382 imaginary part less than 1.0 and real part less than 0.5
14384 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14385 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14386 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14387 (cacos_test): Add more tests.
14388 (casin_test): Likewise.
14389 (casinh_test): Likewise.
14390 * sysdeps/i386/fpu/libm-test-ulps: Update.
14391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14393 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14395 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14396 ONE with its value.
14398 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14399 (__pow_mp): Replace ONE and MONE with their values.
14400 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14401 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14402 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14403 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14404 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14405 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14407 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14409 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14410 (__pow_mp): Replace ZERO and MZERO with their values.
14411 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14413 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14415 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14416 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14419 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14421 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14423 2013-03-28 Roland McGrath <roland@hack.frob.com>
14425 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14426 Declare with __attribute__ ((weak)).
14427 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14428 Call __call_tls_dtors only if it's not NULL.
14430 2013-03-28 Roland McGrath <roland@hack.frob.com>
14432 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14433 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14434 magic __ehdr_start linker symbol if it's defined.
14435 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14436 them up here if it was already done.
14438 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14439 (_dl_aux_init): Use const in cast when setting it.
14440 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14441 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14442 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14444 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14446 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14447 * csu/libc-tls.c: Nor here.
14448 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14450 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14451 (__libc_message): Never call vsyslog.
14453 2013-03-28 Alan Modra <amodra@gmail.com>
14455 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14457 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14460 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14467 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14470 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14471 Don't add gid passed as argument.
14473 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14475 2013-03-27 Joseph Myers <joseph@codesourcery.com>
14478 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14479 imaginary part between 1.0 and 1.5 and real part less than 0.5
14481 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14482 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14483 * math/libm-test.inc (cacos_test): Add more tests.
14484 (casin_test): Likewise.
14485 (casinh_test): Likewise.
14486 * sysdeps/i386/fpu/libm-test-ulps: Update.
14487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14489 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14491 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14494 (denorm): Likewise.
14495 (__dbl_mp): Likewise.
14496 (add_magnitudes): Likewise.
14497 (sub_magnitudes): Likewise.
14505 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14507 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14508 (__dubcos): Likewise.
14509 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14510 (__ieee754_acos): Likewise.
14511 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14512 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14513 (__exp1): Likewise.
14514 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14515 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14517 (my_log2): Likewise.
14518 (checkint): Likewise.
14519 * sysdeps/ieee754/dbl-64/e_remainder.c
14520 (__ieee754_remainder): Likewise.
14521 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14523 (bsloww): Likewise.
14524 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14526 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14527 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14528 MANTISSA_STORE_T to store computations on mantissa. Use
14529 macros for rounding and division.
14530 (denorm): Likewise.
14531 (__dbl_mp): Likewise.
14532 (add_magnitudes): Likewise.
14533 (sub_magnitudes): Likewise.
14536 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14537 powers of two in terms of TWOPOW macro.
14538 (mp_no): Make type of mantissa as MANTISSA_T.
14539 [!RADIXI]: Define RADIXI.
14540 [!TWO52]: Define TWO52.
14541 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14543 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14545 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14546 llroundl symbol when building for PPC32.
14548 2013-03-24 Mark H Weaver <mhw@netris.org>
14550 * manual/arith.texi (Normalization Functions): Fix prototypes for
14551 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14553 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14556 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14557 high value to check if expl overflow.
14558 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14559 to check for underflow and overflow.
14560 * math/libm-test.inc: Add exp test.
14562 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14565 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14568 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14570 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14573 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14575 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14576 wrap blocks consisting of several statements.
14578 * sysdeps/generic/math-tests.h: New file.
14579 * sysdeps/i386/fpu/math-tests.h: Likewise.
14580 * math/test-snan.c: Include it.
14581 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14583 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14586 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14587 (__ieee754_j0l): Do not improve calculations using cos of twice
14588 input for inputs above LDBL_MAX / 2.0L.
14589 (__ieee754_y0l): Likewise.
14590 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14591 (__ieee754_j1l): Do not improve calculations using cos of twice
14592 input for inputs above LDBL_MAX / 2.0L.
14593 (__ieee754_y1l): Likewise.
14594 * math/libm-test.inc (j0_test): Add another test.
14595 (j1_test): Likewise.
14596 (y0_test): Likewise.
14597 (y1_test): Likewise.
14598 * sysdeps/i386/fpu/libm-test-ulps: Update.
14600 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14602 * Rules ($(objpfx)bench-%.c): Include code from a C source
14605 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14608 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14609 imaginary part 1.0 and real part less than 0.5 specially.
14610 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14611 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14612 * math/libm-test.inc (cacos_test): Add more tests.
14613 (casin_test): Likewise.
14614 (casinh_test): Likewise.
14615 * sysdeps/i386/fpu/libm-test-ulps: Update.
14616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14618 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14620 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14621 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14623 2013-03-20 Joseph Myers <joseph@codesourcery.com>
14625 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14626 * config.make.in (config-cflags-sse4): Remove variable.
14627 (config-cflags-avx): Likewise.
14628 (config-cflags-sse2avx): Likewise.
14629 (config-cflags-novzeroupper): Likewise.
14630 (config-asflags-i686): Likewise.
14631 (have-mfma4): Likewise.
14632 (have-as-vis3): Likewise.
14634 * configure.in (MIG): Do not AC_SUBST.
14635 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14636 (libc_cv_cc_sse4): Do not AC_SUBST.
14637 (libc_cv_cc_avx): Likewise.
14638 (libc_cv_cc_sse2avx): Likewise.
14639 (libc_cv_cc_novzeroupper): Likewise.
14640 (libc_cv_cc_fma4): Likewise.
14641 (libc_cv_as_i686): Likewise.
14642 (libc_cv_sparc_as_vis3): Likewise.
14643 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14645 (config-asflags-i686): Likewise.
14646 (config-cflags-avx): Likewise.
14647 (config-cflags-sse2avx): Likewise.
14648 (have-mfma4): Likewise.
14649 (config-cflags-novzeroupper): Likewise.
14650 * sysdeps/mach/configure.in (MIG): Likewise.
14651 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14652 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14654 (config-cflags-avx): Likewise.
14655 (config-cflags-sse2avx): Likewise.
14656 (have-mfma4): Likewise.
14657 (config-cflags-novzeroupper): Likewise.
14658 * configure: Regenerated.
14659 * sysdeps/i386/configure: Likewise.
14660 * sysdeps/mach/configure: Likewise.
14661 * sysdeps/sparc/configure: Likewise.
14662 * sysdeps/x86_64/configure: Likewise.
14664 2013-03-20 Roland McGrath <roland@hack.frob.com>
14667 * locale/programs/localedef.c (options): Put N_ translation marker
14668 on argument names, not just descriptions.
14670 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14672 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14674 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
14677 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14679 2013-03-19 Roland McGrath <roland@hack.frob.com>
14681 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14682 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14683 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14684 [!BEFORE_ABORT] (before_abort): New function.
14685 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14686 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14687 (writev_for_fatal): New function.
14688 (WRITEV_FOR_FATAL): New macro; call that.
14689 (backtrace_and_maps): New function.
14690 (BEFORE_ABORT): New macro; call that.
14691 (struct str_list): Type removed.
14692 (__libc_message, __libc_fatal): Functions removed.
14693 Include <sysdeps/posix/libc_fatal.c> instead.
14695 2013-03-19 Joseph Myers <joseph@codesourcery.com>
14697 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14699 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14702 2013-03-19 Andreas Schwab <schwab@suse.de>
14704 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14705 * sysdeps/gnu/configure: Regenerate.
14707 * configure.in: Substitute libc_cv_rtlddir.
14708 * configure: Regenerate.
14709 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14710 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14711 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14712 * elf/Makefile (install-others, CFLAGS-interp.c)
14713 (ldso_install, common-ldd-rewrite): Likewise.
14714 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14715 $(inst_slibdir)/$(rtld-installed-name).
14716 * scripts/rellns-sh: Add -p option.
14717 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14720 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14722 * manual/nptl.texi: Renamed to ...
14723 * manual/threads.texi: ... this.
14724 * manual/Makefile (chapters): Update.
14726 2013-03-18 Roland McGrath <roland@hack.frob.com>
14729 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14730 on argument names, not just descriptions.
14731 * malloc/memusagestat.c (options): Likewise.
14732 * nss/getent.c (options): Likewise.
14734 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
14737 * iconv/iconv_prog.c (options): Put N_ translation marker
14738 on argument names, not just descriptions.
14739 * iconv/iconvconfig.c (options): Likewise.
14741 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
14743 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14744 implementation which is faster on all x86_64 architectures.
14745 Tested on AMD, Intel Nehalem, SNB, IVB.
14746 * sysdeps/x86_64/strnlen.S: Likewise.
14748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14749 Remove all multiarch strlen and strnlen versions.
14750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14751 Remove strlen and strnlen related parts.
14753 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14754 Inline strlen part.
14755 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14757 * sysdeps/x86_64/multiarch/strlen.S: Remove.
14758 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14759 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14760 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14761 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14762 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14764 2013-03-17 Carlos O'Donell <carlos@redhat.com>
14766 * manual/memory.texi (Malloc Tunable Parameters):
14767 Sort parameters alphabetically. Add comments for missing entries.
14769 2013-03-17 David S. Miller <davem@davemloft.net>
14771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14773 2013-03-16 Joseph Myers <joseph@codesourcery.com>
14776 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14777 for arguments at most half maximum finite value.
14778 * math/libm-test.inc (j0_test): Add more tests.
14779 (j1_test): Likewise.
14780 (y0_test): Likewise.
14781 (y1_test): Likewise.
14782 * sysdeps/i386/fpu/libm-test-ulps: Update.
14783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14786 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14787 1 / x and functions P and Q for arguments above 0x1p256L.
14788 (__ieee754_y0l): Likewise.
14789 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14790 (__ieee754_y1l): Likewise.
14791 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14792 (j1_test): Likewise.
14793 (y0_test): Likewise.
14794 (y1_test): Likewise.
14796 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
14798 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14801 2013-03-15 Roland McGrath <roland@hack.frob.com>
14803 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14804 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14805 zero since it's initialized to EXEC_PAGESIZE.
14807 * sysdeps/unix/sysv/linux/ldsodefs.h
14808 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14809 * sysdeps/generic/ldsodefs.h: ... here.
14811 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
14813 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14815 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14817 * math/test-snan.c: Renamed from
14818 sysdeps/powerpc/fpu/test-powerpc-snan.c.
14819 * math/Makefile (tests): Add test-snan.
14820 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14823 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14824 SUFFIX. Initialize qNaN_var with __builtin_nan family of
14826 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
14827 __builtin_nan family of functions.
14828 * math/libm-test.inc (initialize): Initialize qnan_value with
14829 __builtin_nan family of functions.
14830 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14832 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14834 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
14835 storage class. Initialize qNaN_var and sNaN_var with
14836 __builtin_nan and __builtin_nans families of functions,
14839 * math/libm-test.inc (acosh_test): Also test with qNaN input.
14840 (sqrt_test): Remove duplicate test with qNaN input.
14841 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14842 (round_test, signbit_test, significand_test): Note missing +/-Inf
14843 as well as qNaN tests.
14845 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14846 qNaN_var. Fix a few strings, too.
14847 * math/libm-test.inc (nan_value): Rename to qnan_value.
14848 * math/gen-libm-test.pl (%beautify): Adjust to that.
14849 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14850 * math/test-misc.c (main): Likewise.
14851 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14852 to __qnan_bytes, and __qnan_union, respectively.
14853 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14855 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14856 and lqnanval, respectively.
14857 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14858 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14859 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14860 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14862 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14863 * math/test-misc.c (main) [__x86_64__]: Enable test for long
14866 * math/test-misc.c (main): Fix copy'n'pastos.
14867 * misc/tst-efgcvt.c (special): Likewise.
14869 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14870 Remove declarations.
14872 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14874 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14875 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14876 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14877 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14879 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14881 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14882 macro to return vdso values correctly in IFUNC implementations.
14883 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14884 Optimization by using IFUNC.
14886 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14887 Richard Henderson <rth@redhat.com>
14888 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14890 * Makefile.in (bench): New target.
14891 * NEWS: Mention the benchmark framework.
14892 * Rules (bench): Likewise.
14893 (binaries-bench): Generate binaries for functions to
14895 * benchtests/Makefile: New makefile for benchmark tests.
14896 * benchtests/bench-skeleton.c: New skeleton file for benchmark
14898 * benchtests/exp-inputs: New input file for EXP function.
14899 * benchtests/pow-inputs: New input file for POW function.
14900 * scripts/bench.pl: New script to generate source files for
14901 benchmark programs.
14903 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14905 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14906 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14907 computations on mantissa. Use macros for rounding and
14909 (denorm): Likewise.
14910 (__dbl_mp): Likewise.
14911 (add_magnitudes): Likewise.
14912 (sub_magnitudes): Likewise.
14915 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14916 powers of two in terms of TWOPOW macro.
14917 (mp_no): Make type of mantissa as MANTISSA_T.
14918 [!RADIXI]: Define RADIXI.
14919 [!TWO52]: Define TWO52.
14920 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14922 * manual/nptl.texi (cindex): Modify threads to pthreads.
14924 2013-03-15 Joseph Myers <joseph@codesourcery.com>
14926 * sysdeps/x86_64/preconfigure: Regenerated.
14928 2013-03-14 Joseph Myers <joseph@codesourcery.com>
14931 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14933 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
14934 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
14936 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
14937 * math/libm-test.inc (j0_test): Do not allow one spurious
14938 underflow exception.
14939 (y1_test): Likewise.
14941 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14943 * manual/Makefile (chapters): Add nptl.
14944 * manual/debug.texi (Debugging Support): Add link to Threads
14946 * manual/nptl.texi: New file.
14948 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
14950 2013-03-14 Petr Baudis <pasky@ucw.cz>
14952 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
14953 for non-NULL pointer before the memory validity test. Pointed
14954 out by Holger Brunck <holger.brunck@keymile.com>.
14956 2013-03-13 Andreas Schwab <schwab@suse.de>
14958 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
14961 2013-03-13 Joseph Myers <joseph@codesourcery.com>
14963 * timezone/zic.c: Update from tzcode 2013b.
14965 2013-03-12 Carlos O'Donell <carlos@redhat.com>
14967 * manual/install.texi (Configuring and compiling):
14968 Mention i686 and i586.
14969 * INSTALL: Regenerate.
14971 2013-03-12 Roland McGrath <roland@hack.frob.com>
14973 * sysdeps/init_array/elf-init.c: New file.
14975 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
14976 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
14978 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
14979 __gmon_start__ as global, but as static with a .preinit_array pointer.
14980 * sysdeps/init_array/gmon-start.c: New file. Use that.
14981 * sysdeps/init_array/crti.S: New file, empty except for comments.
14982 * sysdeps/init_array/crtn.S: Likewise.
14984 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
14986 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
14988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14989 Remove Prefer_SSE_for_memop.
14990 * sysdeps/x86_64/multiarch/init-arch.h: Remove
14991 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
14992 HAS_PREFER_SSE_FOR_MEMOP.
14993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14996 Remove bzero, memset ifunc support.
14997 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
14998 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
14999 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15000 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15002 2013-03-11 Andreas Schwab <schwab@suse.de>
15005 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15008 (GLIBC_2.16): Remove pthread_atfork.
15010 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15012 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15013 (ptestcases.h): Likewise.
15015 2013-03-08 Roland McGrath <roland@hack.frob.com>
15017 * Makeconfig ($(common-objpfx)config.status): Depend on
15018 sysdeps/*/preconfigure{,.in} too.
15020 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15022 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15023 (__free_hook): Use void * instead of __malloc_ptr_t.
15024 (__malloc_hook): Likewise.
15025 (__realloc_hook): Likewise.
15026 (__memalign_hook): Likewise.
15027 (__after_morecore_hook): Likewise.
15028 * malloc/arena.c (save_malloc_hook): Likewise.
15029 (save_free_hook): Likewise.
15030 * malloc/hooks.c (malloc_hook_ini): Likewise.
15031 (realloc_hook_ini): Likewise.
15032 (memalign_hook_ini): Likewise.
15033 * malloc/malloc.c (malloc_hook_ini): Likewise.
15034 (realloc_hook_ini): Likewise.
15035 (memalign_hook_ini): Likewise.
15036 (__free_hook): Likewise.
15037 (__malloc_hook): Likewise.
15038 (__realloc_hook): Likewise.
15039 (__memalign_hook): Likewise.
15040 (__libc_malloc): Likewise.
15041 (__libc_free): Likewise.
15042 (__libc_realloc): Likewise.
15043 (__libc_memalign): Likewise.
15044 (__libc_valloc): Likewise.
15045 (__libc_pvalloc): Likewise.
15046 (__libc_calloc): Likewise.
15047 (__posix_memalign): Likewise.
15048 * malloc/morecore.c (__sbrk): Likewise.
15049 (__default_morecore): Likewise.
15051 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15053 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15054 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15055 __malloc_ptrdiff_t.
15057 * malloc/malloc.h (__malloc_size_t): Remove macro.
15058 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15060 (old_memalign_hook): Likewise.
15061 (old_realloc_hook): Likewise.
15062 (struct hdr): Likewise.
15064 (mallochook): Likewise.
15065 (memalignhook): Likewise.
15066 (reallochook): Likewise.
15067 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15068 (tr_old_realloc_hook): Likewise.
15069 (tr_old_memalign_hook): Likewise.
15070 (tr_mallochook): Likewise.
15071 (tr_reallochook): Likewise.
15072 (tr_memalignhook): Likewise.
15074 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15076 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15077 default_ldbl_pack and using as default implementation.
15078 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15080 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15081 redundant definition.
15082 (ldbl_insert_mantissa): Likewise.
15083 (ldbl_canonicalize): Likewise.
15084 (ldbl_nearbyint): Likewise.
15085 (ldbl_pack): Rename to ldbl_pack_ppc.
15086 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15087 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15088 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15090 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15093 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15094 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15095 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15097 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15098 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15099 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15101 2013-03-07 Andreas Jaeger <aj@suse.de>
15103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15106 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15108 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15109 Include mpa.h and declare __MPEXP.
15110 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15111 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15112 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15113 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15114 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15115 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15116 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15118 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15119 (__slowpow): Use long double EXPL and LOGL functions to
15121 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15122 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15123 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15124 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15125 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15126 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15129 intermediate variable to calculate exponent.
15131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15135 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15136 [!NO__SQR]: Define __sqr.
15137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15138 and NO__SQR. Remove all code except __mul and __sqr. Include
15139 sysdeps/ieee754/dbl-64/mpa.c.
15140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15143 * posix/Makefile (tests): Add tst-pathconf.
15144 * posix/tst-pathconf.c: New test case.
15145 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15147 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15149 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
15151 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15153 2013-03-06 Andreas Jaeger <aj@suse.de>
15155 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15156 definition via __MAP_ANONYMOUS.
15158 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15159 it's not part of Linux headers.
15161 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15162 (MAP_HUGE_MASK): Define.
15164 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15166 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15169 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15170 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15172 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15173 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15175 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15177 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15178 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15179 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15180 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15181 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15182 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15184 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15187 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15188 Handle f2fs and efivarfs.
15190 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15193 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15194 (EFIVARFS_MAGIC): Add.
15195 (F2FS_LINK_MAX): Add.
15197 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15199 * stdio-common/vfprintf.c: Replace __builtin_expect with
15202 2013-03-06 Joseph Myers <joseph@codesourcery.com>
15205 * sysdeps/generic/bp-sym.h: Remove file.
15206 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15207 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15208 <bp-sym.h> and <bp-asm.h>.
15209 (__longjmp): Don't use BP_SYM.
15210 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15212 (memcpy): Don't use BP_SYM.
15213 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15214 <bp-sym.h> and <bp-asm.h>.
15215 (memcpy): Don't use BP_SYM.
15216 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15218 (memcpy): Don't use BP_SYM.
15219 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15221 (memset): Don't use BP_SYM.
15222 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15223 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15224 (__bzero): Don't use BP_SYM.
15225 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15226 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15227 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15228 <bp-sym.h> and <bp-asm.h>.
15229 (memcmp): Don't use BP_SYM. Remove comment about bounded
15231 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15232 <bp-sym.h> and <bp-asm.h>.
15233 (memcpy): Don't use BP_SYM.
15234 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15235 <bp-sym.h> and <bp-asm.h>.
15236 (memset): Don't use BP_SYM.
15237 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15238 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15239 (__bzero): Don't use BP_SYM.
15240 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15241 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15242 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15243 <bp-sym.h> and <bp-asm.h>.
15244 (strncmp): Don't use BP_SYM. Remove comment about bounded
15246 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15247 <bp-sym.h> and <bp-asm.h>.
15248 (memcpy): Don't use BP_SYM.
15249 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15250 <bp-sym.h> and <bp-asm.h>.
15251 (memset): Don't use BP_SYM.
15252 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15253 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15254 (__bzero): Don't use BP_SYM.
15255 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15256 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15257 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15258 <bp-sym.h> and <bp-asm.h>.
15259 (__memchr): Don't use BP_SYM.
15260 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15261 <bp-sym.h> and <bp-asm.h>.
15262 (memcmp): Don't use BP_SYM. Remove comment about bounded
15264 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15265 <bp-sym.h> and <bp-asm.h>.
15266 (memcpy): Don't use BP_SYM.
15267 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15268 <bp-sym.h> and <bp-asm.h>.
15269 (__mempcpy): Don't use BP_SYM.
15270 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15271 <bp-sym.h> and <bp-asm.h>.
15272 (__memrchr): Don't use BP_SYM.
15273 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15274 <bp-sym.h> and <bp-asm.h>.
15275 (memset): Don't use BP_SYM.
15276 (__bzero): Likewise.
15277 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15278 <bp-sym.h> and <bp-asm.h>.
15279 (__rawmemchr): Don't use BP_SYM.
15280 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15281 <bp-sym.h> and <bp-asm.h>.
15282 (__STRCMP): Don't use BP_SYM.
15283 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15284 <bp-sym.h> and <bp-asm.h>.
15285 (strchr): Don't use BP_SYM.
15286 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15287 <bp-sym.h> and <bp-asm.h>.
15288 (__strchrnul): Don't use BP_SYM.
15289 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15290 <bp-sym.h> and <bp-asm.h>.
15291 (strlen): Don't use BP_SYM.
15292 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15293 <bp-sym.h> and <bp-asm.h>.
15294 (strncmp): Don't use BP_SYM. Remove comment about bounded
15296 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15297 <bp-sym.h> and <bp-asm.h>.
15298 (__strnlen): Don't use BP_SYM.
15299 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15300 <bp-sym.h> and <bp-asm.h>.
15301 (__GI__setjmp): Don't use BP_SYM.
15302 (_setjmp): Likewise.
15303 (__sigsetjmp): Likewise.
15304 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15305 (L(start_addresses)): Don't use BP_SYM.
15306 (_start): Likewise.
15307 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15309 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15310 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15311 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15312 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15313 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15315 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15316 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15317 about bounded pointers.
15318 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15319 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15320 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15322 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15323 about bounded pointers. Remove GKM FIXME comments.
15324 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15325 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15327 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15328 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15329 Remove GKM FIXME comments.
15330 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15331 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15332 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15334 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15335 about bounded pointers. Remove GKM FIXME comment.
15336 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15338 (strncmp): Don't use BP_SYM. Remove comment about bounded
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15341 <bp-sym.h> and <bp-asm.h>.
15342 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15344 <bp-sym.h> and <bp-asm.h>.
15345 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15348 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15350 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15353 2013-03-05 David S. Miller <davem@davemloft.net>
15355 * po/es.po: Update from translation team.
15357 2013-03-05 Andreas Jaeger <aj@suse.de>
15359 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15360 <bits/mman-linux.h>.
15361 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15363 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15364 <bits/mman-linux.h> to end of file.
15365 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15367 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15368 <bits/mman-linux.h> to end of file.
15369 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15372 <bits/mman-linux.h> to end of file.
15374 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15375 (MCL_CURRENT, MCL_FUTURE): Define here.
15377 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15380 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15382 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15384 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15386 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15387 fourth parameter needed for rt_sigprocmask syscall.
15388 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15389 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15390 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15391 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15392 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15393 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15395 2013-03-04 Joseph Myers <joseph@codesourcery.com>
15398 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15399 comment about bounded pointers.
15400 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15401 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15403 2013-03-04 Andreas Jaeger <aj@suse.de>
15405 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15406 common definitions.
15408 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15409 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15410 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15411 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15412 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15413 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15415 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15418 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15419 __ieee754_sqrl instead of __sqrl.
15421 2013-03-01 Joseph Myers <joseph@codesourcery.com>
15423 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15424 * sysdeps/powerpc/fpu_control.h: ... here.
15425 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15426 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15427 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15428 * sysdeps/powerpc/bits/mathinline.h: ... here.
15430 2013-03-01 Roland McGrath <roland@hack.frob.com>
15432 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15433 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15434 to just [NEED_DL_SYSINFO_DSO].
15435 * elf/dl-support.c: Likewise.
15436 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15437 * elf/rtld.c (dl_main): Likewise.
15438 * elf/setup-vdso.h (setup_vdso): Likewise.
15439 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15440 * sysdeps/unix/sysv/linux/dl-sysdep.c
15441 (_dl_discover_osversion): Likewise.
15443 2013-03-01 Carlos O'Donell <carlos@redhat.com>
15445 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15446 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15448 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15450 * NEWS: Mention libm performance improvements and non-x86 PI
15453 * csu/libc-start.c (__pthread_initialize_minimal): Change
15454 function arguments.
15455 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15457 2013-02-28 Joseph Myers <joseph@codesourcery.com>
15460 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15461 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15462 <bp-sym.h> and <bp-asm.h>.
15463 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15464 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15466 (memcpy): Don't use BP_SYM.
15467 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15469 (__mpn_add_n): Don't use BP_SYM.
15470 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15471 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15473 (__mpn_addmul_1): Don't use BP_SYM.
15474 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15475 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15477 (_setjmp): Don't use BP_SYM.
15478 (__novmx_setjmp): Likewise.
15479 (__GI__setjmp): Likewise.
15480 (__vmx_setjmp): Likewise.
15481 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15483 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15484 (__bzero): Don't use BP_SYM.
15485 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15486 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15487 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15488 <bp-sym.h> and <bp-asm.h>.
15489 (memcpy): Don't use BP_SYM.
15490 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15491 <bp-sym.h> and <bp-asm.h>.
15492 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15493 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15494 <bp-sym.h> and <bp-asm.h>.
15495 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15496 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15498 (__mpn_lshift): Don't use BP_SYM.
15499 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15500 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15502 (memset): Don't use BP_SYM.
15503 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15504 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15505 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15507 (__mpn_mul_1): Don't use BP_SYM.
15508 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15509 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15510 <bp-sym.h> and <bp-asm.h>.
15511 (memcmp): Don't use BP_SYM.
15512 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15513 <bp-sym.h> and <bp-asm.h>.
15514 (memcpy): Don't use BP_SYM.
15515 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15516 <bp-sym.h> and <bp-asm.h>.
15517 (memset): Don't use BP_SYM.
15518 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15519 <bp-sym.h> and <bp-asm.h>.
15520 (strncmp): Don't use BP_SYM.
15521 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15522 <bp-sym.h> and <bp-asm.h>.
15523 (memcpy): Don't use BP_SYM.
15524 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15525 <bp-sym.h> and <bp-asm.h>.
15526 (memset): Don't use BP_SYM.
15527 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15528 <bp-sym.h> and <bp-asm.h>.
15529 (__memchr): Don't use BP_SYM.
15530 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15531 <bp-sym.h> and <bp-asm.h>.
15532 (memcmp): Don't use BP_SYM.
15533 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15534 <bp-sym.h> and <bp-asm.h>.
15535 (memcpy): Don't use BP_SYM.
15536 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15537 <bp-sym.h> and <bp-asm.h>.
15538 (__mempcpy): Don't use BP_SYM.
15539 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15540 <bp-sym.h> and <bp-asm.h>.
15541 (__memrchr): Don't use BP_SYM.
15542 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15543 <bp-sym.h> and <bp-asm.h>.
15544 (memset): Don't use BP_SYM.
15545 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15546 <bp-sym.h> and <bp-asm.h>.
15547 (__rawmemchr): Don't use BP_SYM.
15548 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15549 <bp-sym.h> and <bp-asm.h>.
15550 (__STRCMP): Don't use BP_SYM.
15551 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15552 <bp-sym.h> and <bp-asm.h>.
15553 (strchr): Don't use BP_SYM.
15554 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15555 <bp-sym.h> and <bp-asm.h>.
15556 (__strchrnul): Don't use BP_SYM.
15557 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15558 <bp-sym.h> and <bp-asm.h>.
15559 (strlen): Don't use BP_SYM.
15560 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15561 <bp-sym.h> and <bp-asm.h>.
15562 (strncmp): Don't use BP_SYM.
15563 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15564 <bp-sym.h> and <bp-asm.h>.
15565 (__strnlen): Don't use BP_SYM.
15566 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15568 (__mpn_rshift): Don't use BP_SYM.
15569 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15570 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15571 <bp-sym.h> and <bp-asm.h>.
15572 (__sigsetjmp): Don't use BP_SYM.
15573 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15574 (L(start_addresses)): Don't use BP_SYM.
15575 (_start): Likewise.
15576 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15578 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15579 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15580 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15581 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15583 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15584 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15585 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15586 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15588 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15590 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15591 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15593 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15595 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15596 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15597 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15599 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15601 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15603 (strncmp): Don't use BP_SYM,
15604 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15606 (__mpn_sub_n): Don't use BP_SYM.
15607 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15608 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15610 (__mpn_submul_1): Don't use BP_SYM.
15611 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15613 <bp-sym.h> and <bp-asm.h>.
15614 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15616 <bp-sym.h> and <bp-asm.h>.
15617 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15620 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15623 Use ZK to minimize writes to Z.
15624 (sub_magnitudes): Simplify code a bit.
15625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15626 Use ZK to minimize writes to Z.
15627 (sub_magnitudes): Simplify code a bit.
15629 2013-02-27 Roland McGrath <roland@hack.frob.com>
15631 * csu/gmon-start.c: Add special exception to license text.
15633 2013-02-27 Richard Henderson <rth@redhat.com>
15635 * scripts/config.guess: Update from config.git.
15636 * scripts/config.sub: Likewise.
15638 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15640 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15642 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15644 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15646 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15648 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15650 2013-02-26 Roland McGrath <roland@hack.frob.com>
15652 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15653 [$(build-shared = yes].
15655 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15657 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15658 (__mul): Reduce iterations for calculating mantissa.
15660 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15662 (__mpranred): Likewise.
15665 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15666 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15668 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15670 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15671 Define __attribute__.
15673 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15675 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15677 * posix/regex_internal.h (__attribute): Remove.
15678 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15679 (re_string_context_at): Likewise.
15680 (bitset_not): Use __attribute__ and mark function as possibly
15682 (bitset_merge): Likewise.
15683 (bitset_mask): Likewise.
15684 (re_string_char_size_at): Likewise.
15685 (re_string_wchar_at): Likewise.
15686 (re_string_elem_size_at): Likewise.
15688 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15690 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15694 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15698 (denorm): Likewise.
15699 (__dbl_mp): Likewise.
15700 (add_magnitudes): Likewise.
15701 (sub_magnitudes): Likewise.
15705 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15708 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15711 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15715 up changes with default code.
15716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15719 2013-02-24 Allan McRae <allan@archlinux.org>
15721 * manual/socket.texi (The Internet Namespace): Order menu items
15722 to match that in the file.
15724 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15725 node listing of the info page menu.
15727 2013-02-21 Joseph Myers <joseph@codesourcery.com>
15730 * sysdeps/i386/bp-asm.h: Remove file.
15731 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15732 (PARMS): Do not use macros from bp-asm.h.
15736 (__mpn_add_n): Do not use BP_SYM
15737 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15739 (PARMS): Do not use macros from bp-asm.h.
15742 (__mpn_addmul_1): Do not use BP_SYM
15743 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15745 (PARMS): Do not use macros from bp-asm.h.
15746 (SIGMSK): Likewise.
15747 (_setjmp): Likewise. Do not use BP_SYM.
15748 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15750 (PARMS): Do not use macros from bp-asm.h.
15751 (SIGMSK): Likewise.
15752 (setjmp): Likewise. Do not use BP_SYM.
15753 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15755 (PARMS): Do not use macros from bp-asm.h.
15756 (__frexp): Do not use BP_SYM.
15758 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15760 (PARMS): Do not use macros from bp-asm.h.
15761 (__frexpf): Do not use BP_SYM.
15762 (frexpf): Likewise.
15763 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15765 (PARMS): Do not use macros from bp-asm.h.
15766 (__frexpl): Do not use BP_SYM.
15767 (frexpl): Likewise.
15768 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15770 (PARMS): Do not use macros from bp-asm.h.
15771 (__remquo): Do not use BP_SYM.
15772 (remquo): Likewise.
15773 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15775 (PARMS): Do not use macros from bp-asm.h.
15776 (__remquof): Do not use BP_SYM.
15777 (remquof): Likewise.
15778 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15780 (PARMS): Do not use macros from bp-asm.h.
15781 (__remquol): Do not use BP_SYM.
15782 (remquol): Likewise.
15783 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15785 (PARMS): Do not use macros from bp-asm.h.
15788 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
15789 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15791 (PARMS): Do not use macros from bp-asm.h.
15792 (strlen): Do not use BP_SYM.
15793 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15795 (PARMS): Do not use macros from bp-asm.h.
15799 (__mpn_add_n): Do not use BP_SYM.
15800 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15802 (PARMS): Do not use macros from bp-asm.h.
15805 (__mpn_addmul_1): Do not use BP_SYM.
15806 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15809 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15811 (PARMS): Do not use macros from bp-asm.h.
15814 (__mpn_lshift): Do not use BP_SYM.
15815 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15817 (PARMS): Do not use macros from bp-asm.h.
15821 (memcpy): Likewise. Do not use BP_SYM.
15822 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15823 libc_hidden_def and weak_alias.
15824 (mempcpy): Do not use BP_SYM in weak_alias.
15825 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15827 (PARMS): Do not use macros from bp-asm.h.
15830 [!BZERO_P] (CHR): Likewise.
15831 (memset): Likewise. Do not use BP_SYM.
15832 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15834 (PARMS): Do not use macros from bp-asm.h.
15837 (__mpn_mul_1): Do not use BP_SYM.
15838 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15840 (PARMS): Do not use macros from bp-asm.h.
15843 (__mpn_rshift): Do not use BP_SYM.
15844 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15846 (PARMS): Do not use macros from bp-asm.h.
15849 (strchr): Likewise. Do not use BP_SYM.
15850 (index): Do not use BP_SYM in weak_alias.
15851 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15853 (PARMS): Do not use macros from bp-asm.h.
15856 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
15857 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15859 (PARMS): Do not use macros from bp-asm.h.
15860 (strlen): Do not use BP_SYM.
15861 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15863 (PARMS): Do not use macros from bp-asm.h.
15867 (__mpn_sub_n): Do not use BP_SYM.
15868 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15870 (PARMS): Do not use macros from bp-asm.h.
15873 (__mpn_submul_1): Do not use BP_SYM.
15874 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15876 (PARMS): Do not use macros from bp-asm.h.
15880 (__mpn_add_n): Do not use BP_SYM.
15881 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15884 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15886 (PARMS): Do not use macros from bp-asm.h.
15889 (memcmp): Do not use BP_SYM.
15890 (bcmp): Do not use BP_SYM in weak_alias.
15891 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15893 (PARMS): Do not use macros from bp-asm.h.
15897 (memcpy): Likewise. Do not use BP_SYM.
15898 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15900 (PARMS): Do not use macros from bp-asm.h.
15904 (memmove): Likewise. Do not use BP_SYM.
15905 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15907 (PARMS): Do not use macros from bp-asm.h.
15911 (__mempcpy): Likewise. Do not use BP_SYM.
15912 (mempcpy): Do not use BP_SYM in weak_alias.
15913 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15915 (PARMS): Do not use macros from bp-asm.h.
15918 [!BZERO_P] (CHR): Likewise.
15919 (memset): Likewise. Do not use BP_SYM.
15920 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15922 (PARMS): Do not use macros from bp-asm.h.
15924 (strcmp): Do not use BP_SYM.
15925 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15927 (PARMS): Do not use macros from bp-asm.h.
15930 [USE_AS_STRTOK_R] (SAVE): Likewise.
15931 (FUNCTION): Likewise. Do not use BP_SYM.
15932 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
15934 (strtok_r): Likewise.
15935 (__GI___strtok_r): Likewise.
15936 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15937 (PARMS): Do not use macros from bp-asm.h.
15940 (__mpn_lshift): Do not use BP_SYM.
15941 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15942 (PARMS): Do not use macros from bp-asm.h.
15945 (__memchr): Do not use BP_SYM.
15946 (memchr): Do not use BP_SYM in weak_alias.
15947 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15948 (PARMS): Do not use macros from bp-asm.h.
15951 (memcmp): Do not use BP_SYM.
15952 (bcmp): Do not use BP_SYM in weak_alias.
15953 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
15954 (PARMS): Do not use macros from bp-asm.h.
15957 (__mpn_mul_1): Do not use BP_SYM.
15958 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
15960 (PARMS): Do not use macros from bp-asm.h.
15963 (__rawmemchr): Do not use BP_SYM.
15964 (rawmemchr): Do not use BP_SYM in weak_alias.
15965 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15966 (PARMS): Do not use macros from bp-asm.h.
15969 (__mpn_rshift): Do not use BP_SYM.
15970 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15971 (PARMS): Do not use macros from bp-asm.h.
15972 (SIGMSK): Likewise.
15973 (__sigsetjmp): Likewise. Do not use BP_SYM.
15974 * sysdeps/i386/start.S: Do not include "bp-sym.h".
15975 (_start): Do not use BP_SYM.
15976 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
15977 (PARMS): Do not use macros from bp-asm.h.
15980 (__stpcpy): Likewise. Do not use BP_SYM.
15981 (stpcpy): Do not use BP_SYM in weak_alias.
15982 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
15984 (PARMS): Do not use macros from bp-asm.h.
15988 (__stpncpy): Likewise. Do not use BP_SYM.
15989 (stpncpy): Do not use BP_SYM in weak_alias.
15990 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15991 (PARMS): Do not use macros from bp-asm.h.
15994 (strchr): Likewise. Do not use BP_SYM.
15995 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
15997 (PARMS): Do not use macros from bp-asm.h.
16000 (__strchrnul): Likewise. Do not use BP_SYM.
16001 (strchrnul): Do not use BP_SYM in weak_alias.
16002 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16004 (PARMS): Do not use macros from bp-asm.h.
16006 (strcspn): Do not use BP_SYM.
16007 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16009 (PARMS): Do not use macros from bp-asm.h.
16012 (strpbrk): Likewise. Do not use BP_SYM.
16013 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16015 (PARMS): Do not use macros from bp-asm.h.
16018 (strrchr): Likewise. Do not use BP_SYM.
16019 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16020 (PARMS): Do not use macros from bp-asm.h.
16022 (strspn): Do not use BP_SYM.
16023 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16024 (PARMS): Do not use macros from bp-asm.h.
16028 (FUNCTION): Likewise. Do not use BP_SYM.
16029 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16031 (strtok_r): Likewise.
16032 (__GI___strtok_r): Likewise.
16033 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16034 (PARMS): Do not use macros from bp-asm.h.
16038 (__mpn_sub_n): Do not use BP_SYM.
16039 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16041 (PARMS): Do not use macros from bp-asm.h.
16044 (__mpn_submul_1): Do not use BP_SYM.
16045 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16047 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16049 (PARMS): Do not use macros from bp-asm.h.
16054 (__clone): Do not use BP_SYM.
16055 (clone): Do not use BP_SYM in weak_alias.
16056 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16058 (PARMS): Do not use macros from bp-asm.h.
16060 (__mmap64): Do not use BP_SYM.
16061 (mmap64): Do not use BP_SYM in weak_alias.
16062 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16063 <bp-sym.h> and <bp-asm.h>.
16064 (PARMS): Do not use macros from bp-asm.h.
16065 (__posix_fadvise64_l64): Do not use BP_SYM.
16066 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16067 (PARMS): Do not use macros from bp-asm.h.
16069 (semtimedop): Do not use BP_SYM.
16070 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16073 2013-02-21 Allan McRae <allan@archlinux.org>
16075 * manual/message.texi (Charset conversion in gettext):
16076 Move @end statement to beginning of line.
16078 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16085 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16086 (denorm): Likewise.
16087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16090 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16092 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16093 tail-call to the resolved function if pltexit isn't needed.
16095 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16098 or Y being zero as being unlikely.
16099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16102 2013-02-20 Carlos O'Donell <carlos@redhat.com>
16104 * manual/nss.texi (System Databases and Name Service Switch):
16105 Remove frobnicate @pxref.
16107 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16109 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16110 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16112 2013-02-20 Petr Machata <pmachata@redhat.com>
16114 * elf/elf.h (R_ARM_TARGET1): New macro.
16115 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16116 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16117 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16118 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16119 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16120 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16121 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16122 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16123 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16124 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16125 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16126 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16127 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16128 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16129 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16130 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16131 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16132 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16133 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16134 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16135 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16136 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16137 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16138 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16139 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16140 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16141 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16142 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16143 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16144 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16145 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16146 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16147 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16148 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16149 (R_ARM_THM_GOT_BREL12): Likewise.
16150 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16151 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16152 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16153 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16154 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16155 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16156 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16157 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16158 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16160 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16162 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16163 __attribute_used__ to __attribute__ ((unused)).
16165 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16167 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16170 comment formatting.
16171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16173 2013-02-19 Joseph Myers <joseph@codesourcery.com>
16176 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16178 (ENTER): Remove both macro definitions.
16180 (CHECK_BOUNDS_LOW): Likewise.
16181 (CHECK_BOUNDS_HIGH): Likewise.
16182 (CHECK_BOUNDS_BOTH): Likewise.
16183 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16184 (RETURN_BOUNDED_POINTER): Likewise.
16185 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16186 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16187 (POP_ERRNO_LOCATION_RETURN): Likewise.
16188 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16189 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16190 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16192 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16193 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16194 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16195 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16196 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16197 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16198 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16199 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16200 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16201 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16202 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16203 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16204 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16205 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16207 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16208 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16210 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16211 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16212 * sysdeps/i386/i586/memset.S (memset): Likewise.
16213 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16214 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16215 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16217 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16218 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16219 Change uses of L(2) to L(out).
16220 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16221 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16222 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16223 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16224 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16226 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16227 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16229 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16230 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16231 (RETURN): Do not use macro LEAVE.
16232 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16233 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16234 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16235 * sysdeps/i386/i686/memset.S (memset): Likewise.
16236 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16237 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16238 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16239 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16241 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16242 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16243 L(1_2) and L(1_3) into L(1).
16244 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16245 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16246 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16247 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16248 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16249 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16250 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16251 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16252 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16254 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16255 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16256 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16257 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16258 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16259 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16260 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16261 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16262 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16263 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16264 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16265 * sysdeps/i386/strspn.S (strspn): Likewise.
16266 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16268 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16269 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16270 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16271 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16272 L(1_3) into L(1_1).
16273 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16274 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16275 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16277 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16279 2013-02-19 Jakub Jelinek <jakub@redhat.com>
16281 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16284 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16286 * math/atest-exp.c (exp_mpn): Remove ROUND.
16287 * math/atest-exp2.c (exp_mpn): Likewise.
16288 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16290 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16291 * stdlib/tst-tls-atexit-lib.c: Likewise.
16292 * stdlib/tst-tls-atexit.c: Likewise.
16294 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16296 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16297 and __attribute_alloc_size__.
16299 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16301 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16302 __attribute_alloc_size__.
16303 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16304 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16306 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16308 * include/programs/xmalloc.h: New file.
16309 * catgets/gencat.c: Include it.
16310 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16311 * elf/pldd.c: Likewise.
16312 * iconv/iconv_charmap.c: Likewise.
16313 * iconv/iconvconfig.c: Likewise.
16314 * iconv/strtab.c: Likewise.
16315 * locale/programs/locale.c: Likewise.
16316 * locale/programs/localedef.h: Likewise.
16317 * locale/programs/simple-hash.c: Likewise.
16318 * nscd/nscd.h: Likewise.
16319 * nss/makedb.c: Likewise.
16320 * sysdeps/generic/ldconfig.h: Likewise.
16322 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16324 * Versions.def: Add GLIBC_2.18.
16325 * include/link.h (struct link_map): New member l_tls_dtor_count.
16326 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16327 (__call_tls_dtors): Likewise.
16328 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16329 __cxa_thread_atexit_impl.
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16346 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16347 (tests): Add test case tst-tls-atexit.
16348 (modules-names): Add shared library for tst-tls-atexit.
16349 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16350 (GLIBC_PRIVATE): Add __call_tls_dtors.
16351 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16353 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16354 * stdlib/tst-tls-atexit.c: New test case.
16355 * stdlib/tst-tls-atexit-lib.c: New test case.
16357 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16359 * elf/Versions (ld): Add _dl_find_dso_for_object.
16360 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16361 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16362 (dl_open_worker): Use _dl_find_dso_for_object.
16363 * elf/dl-sym.c (do_sym): Likewise.
16364 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16366 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16368 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16369 Syntactic changes only.
16370 (_dl_runtime_profile): Do a tail-call to the resolved function.
16372 2013-02-17 Joseph Myers <joseph@codesourcery.com>
16375 * sysdeps/x86_64/bp-asm.h: Remove file.
16376 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16377 <bp-sym.h> and <bp-asm.h>.
16378 (__clone): Do not use BP_SYM.
16379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16380 <bp-sym.h> and <bp-asm.h>.
16381 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16382 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16384 (_setjmp): Do not use BP_SYM.
16385 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16387 (setjmp): Do not use BP_SYM.
16388 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16390 (mempcpy): Do not use BP_SYM in weak_alias.
16391 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16393 (strchr): Do not use BP_SYM.
16394 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16396 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16397 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16398 (_start): Do not use BP_SYM.
16399 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16401 (strcat): Do not use BP_SYM.
16402 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16404 (STRCMP): Do not use BP_SYM.
16405 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16407 (STRCPY): Do not use BP_SYM.
16408 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16410 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16412 (FUNCTION): Do not use BP_SYM.
16413 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16415 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16417 2013-02-17 Andreas Jaeger <aj@suse.de>
16419 * time/Versions: Sort entries.
16420 * string/Versions: Likewise.
16421 * resolv/Versions: Likewise.
16422 * posix/Versions: Likewise.
16423 * iconv/Versions: Likewise.
16424 * elf/Versions: Likewise.
16425 * wcsmbs/Versions: Likewise.
16427 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16429 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16430 loop termination condition.
16432 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16433 variable to calculate EZ.
16436 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16437 the lower precision input.
16439 2013-02-15 Joseph Myers <joseph@codesourcery.com>
16442 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16443 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16444 (run-via-rtld-prefix): Do not handle %-bp tests.
16445 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16446 (all-object-suffixes): Remove .ob.
16447 (bppfx): Remove variable.
16448 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16449 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16450 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16451 [$(build-bounded) = yes] (libtype.ob): Likewise.
16452 * Makerules (elide-routines.ob): Remove variable.
16453 (do-tests-clean): Do not handle *-bp.out.
16454 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16455 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16456 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16457 (tests): Do not include $(tests-bp.out).
16458 (xtests): Do not include $(xtests-bp.out).
16459 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16460 [$(build-bounded) = yes] ($(addprefix
16461 $(objpfx),$(binaries-bounded))): Remove rule.
16462 ($(objpfx)%-bp.out): Remove rule.
16463 * config.make.in (build-bounded): Remove variable.
16464 * crypt/Makefile [$(build-bounded) = yes]
16465 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16466 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16467 append to variable.
16468 [$(build-bounded) = yes] (install-lib): Likewise.
16469 [$(build-bounded) = yes] (generated): Likewise.
16470 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16472 * intl/Makefile [$(build-bounded) = yes]
16473 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16474 * math/Makefile [$(build-bounded) = yes]
16475 ($(tests:%=$(objpfx)%-bp): Likewise.
16476 * misc/Makefile [$(build-bounded) = yes]
16477 ($(objpfx)tst-tsearch-bp): Likewise.
16478 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16479 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16481 * string/Makefile (o-objects.ob): Remove variable.
16482 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16483 (CFLAGS-.ob): Remove variable.
16484 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16485 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16486 both definitions of variable.
16487 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16488 (ASFLAGS-.ob): Remove variable.
16490 2013-02-14 Joseph Myers <joseph@codesourcery.com>
16493 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16494 Remove __BOUNDED_POINTERS__ from condition.
16495 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16496 * string/bits/string2.h [!__NO_STRING_INLINES &&
16497 !__BOUNDED_POINTERS__]: Likewise.
16498 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16500 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16501 Remove conditional code.
16502 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16503 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16504 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16508 * csu/libc-start.c: Do not include <bp-sym.h>.
16509 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16510 * elf/dl-open.c: Do not include <bp-sym.h>.
16511 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16512 * math/fegetenv.c: Do not include <bp-sym.h>.
16513 (fegetenv): Do not use BP_SYM in versioned symbols.
16514 * nptl/sysdeps/pthread/bits/libc-lockP.h
16515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16518 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16520 (__pthread_mutex_destroy): Likewise.
16521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16522 (__pthread_mutex_lock): Likewise.
16523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16524 (__pthread_mutex_trylock): Likewise.
16525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16526 (__pthread_mutex_unlock): Likewise.
16527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16528 (__pthread_mutexattr_init): Likewise.
16529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16530 (__pthread_mutexattr_destroy): Likewise.
16531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16532 (__pthread_mutexattr_settype): Likewise.
16533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16534 (__pthread_rwlock_init): Likewise.
16535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16536 (__pthread_rwlock_destroy): Likewise.
16537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16538 (__pthread_rwlock_rdlock): Likewise.
16539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16540 (__pthread_rwlock_tryrdlock): Likewise.
16541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16542 (__pthread_rwlock_wrlock): Likewise.
16543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16544 (__pthread_rwlock_trywrlock): Likewise.
16545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16546 (__pthread_rwlock_unlock): Likewise.
16547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16548 (__pthread_key_create): Likewise.
16549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16550 (__pthread_setspecific): Likewise.
16551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16552 (__pthread_getspecific): Likewise.
16553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16556 (_pthread_cleanup_push_defer): Likewise.
16557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16558 (_pthread_cleanup_pop_restore): Likewise.
16559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16560 (pthread_setcancelstate): Likewise.
16561 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16563 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16564 (memchr): Do not use BP_SYM in weak_alias.
16565 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16566 (fegetenv): Do not use BP_SYM in versioned symbols.
16567 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16568 (fesetenv): Do not use BP_SYM in versioned symbols.
16569 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16570 (feupdateenv): Do not use BP_SYM in versioned symbols.
16571 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16572 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16573 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16574 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16575 (open64): Do not use BP_SYM in weak_alias.
16576 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16577 (fegetenv): Do not use BP_SYM in versioned symbols.
16578 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16579 (fesetenv): Do not use BP_SYM in versioned symbols.
16580 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16581 (feupdateenv): Do not use BP_SYM in versioned symbols.
16582 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16583 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16584 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16585 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16586 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16587 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16588 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16590 (__libc_start_main): Do not use BP_SYM.
16592 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16595 redundant return line.
16597 (denorm): Likewise.
16598 (dbl_mp): Likewise.
16599 (sub_magnitudes): Likewise.
16605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16607 (denorm): Likewise.
16608 (dbl_mp): Likewise.
16609 (sub_magnitudes): Likewise.
16616 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16618 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16619 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16622 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16623 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16624 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16625 of __mul for squares.
16626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16630 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16631 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16633 2013-02-13 Joseph Myers <joseph@codesourcery.com>
16636 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16638 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16639 prototype or function definition. Rename ubp_* variables and
16640 parameters. Remove argv definitions conditional on
16641 [__BOUNDED_POINTERS__].
16642 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16643 * elf/dl-runtime.c (_dl_fixup): Likewise.
16644 * include/set-hooks.h (RUN_HOOK): Likewise.
16645 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16647 * string/strcpy.c (strcpy): Do not use __unbounded.
16648 * sysdeps/generic/frame.h (struct layout): Likewise.
16649 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16650 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16651 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16652 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16653 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16654 (__backtrace): Likewise.
16655 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16657 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16658 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16659 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16661 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16662 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16663 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16664 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16665 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16666 Do not use __unbounded.
16667 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16668 Rename __unboundedrlimits parameter to rlimits in prototype.
16669 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16670 Do not use __unbounded.
16671 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16672 not use __ptrvalue.
16673 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16674 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16675 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16676 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16677 __ptrvalue or __unbounded.
16678 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16679 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16681 (__new_msgctl): Do not use __ptrvalue.
16682 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16684 (__libc_msgrcv): Do not use __ptrvalue.
16685 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16686 startup_info): Do not use __unbounded.
16687 (__libc_start_main): Likewise. Rename ubp_* variables and
16688 parameters. Remove argv definitions conditional on
16689 [__BOUNDED_POINTERS__].
16690 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16692 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16694 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16696 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16698 (__new_shmctl): Do not use __ptrvalue.
16699 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16700 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16702 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16704 (__libc_sigaction): Likewise.
16705 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16706 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16708 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16710 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
16712 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16714 * string/mempcpy.c: Implement by calling memcpy.
16716 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16718 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16723 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16724 values in the mantissa.
16726 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16727 minimize writes to Z.
16728 (sub_magnitudes): Simplify code a bit.
16730 2013-02-12 Roland McGrath <roland@hack.frob.com>
16732 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16733 from the message. The linker prefixes all warnings with that already.
16735 2013-02-12 Andreas Schwab <schwab@suse.de>
16738 * posix/regexec.c (extend_buffers): Add parameter min_len.
16739 (check_matching): Pass minimum needed length.
16740 (clean_state_log_if_needed): Likewise.
16741 (get_subexp): Likewise.
16742 * posix/Makefile (tests): Add bug-regex34.
16743 (bug-regex34-ENV): Define.
16744 * posix/bug-regex34.c: New file.
16747 * posix/regcomp.c (parse_bracket_exp): When looking up collating
16748 elements compare against the byte sequence of it, not its name.
16749 * posix/Makefile (tests): Add bug-regex35.
16750 (bug-regex35-ENV): Define.
16751 * posix/bug-regex35.c: New file.
16753 2013-02-11 Tom de Vries <tom@codesourcery.com>
16755 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
16757 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16758 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16759 (CHECK_EOL): Add undef.
16761 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
16763 * bits/stdlib-bsearch.h: New file.
16764 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16765 * stdlib/stdlib.h: Likewise.
16767 2013-02-11 Roland McGrath <roland@hack.frob.com>
16769 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16770 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16772 * manual/search.texi (Array Search Function): Add missing const in
16774 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16775 declaration to use rlim_t.
16776 (Basic Scheduling Functions): Remove erroneous const from
16777 sched_getparam prototype. Remove erroneous * from
16778 sched_get_priority_max and sched_get_priority_min prototypes.
16779 (Resource Usage): Fix summary @comment on vtimes to refer to
16780 sys/vtimes.h rather than vtimes.h.
16781 Add missing *s in vtimes prototype.
16782 (Limits on Resources): Fix ulimit prototype to return long int.
16783 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16784 prototypes to use long int rather than double.
16785 (BSD Random): Fix initstate and setstate to use char *, not void *.
16786 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16787 prototype to make second argument 'struct aiocb64 *const[]'.
16788 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16789 (Status of AIO Operations): Remove erroneous const in aio_return and
16790 aio_return64 prototypes.
16791 (Synchronizing I/O): Fix sync prototype to return void.
16792 * manual/startup.texi (Suboptions): Remove an erroneous const in
16793 getsubopt prototype.
16794 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16795 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16796 use size_t rather than int.
16797 (Scanning All Users): Likewise for getpwent_r.
16798 (Setting Groups): Add missing const to setgroups prototype.
16799 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16800 * manual/socket.texi (Host Names): Fix gethostbyaddr and
16801 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16802 'const void *' rather than 'const char *'.
16803 (Host Address Functions): Likewise for inet_ntop.
16804 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16805 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16806 ssize_t for return value.
16807 (Sending Data): Likewise for send, sendto, sendmsg.
16808 (Socket Option Functions): Add a missing const in setsockopt prototype.
16809 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16810 use wchar_t for the argument.
16811 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16812 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16814 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16815 double/float/long double for second argument.
16816 Fix return types of significand, significandf, significandl.
16817 * manual/filesys.texi (Setting Permissions): Use mode_t for second
16818 argument in fchmod prototype.
16819 (File Owner): Use uid_t and gid_t in fchown prototype.
16820 (File Times): Add const to utimes, futimes, and lutimes prototypes.
16821 (Making Special Files): Use mode_t and dev_t in mknod prototype.
16822 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16823 use 'const struct dirent **' as argument types to CMP function pointer
16825 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16826 (File Times): Fix summary magic @comment for struct utimbuf and utime
16827 to refer to utime.h, not time.h.
16828 * manual/string.texi (Argz Functions): Add missing const in
16829 argz_extract and argz_next prototypes.
16830 (Finding Tokens in a String): Likewise for basename.
16831 (String/Array Comparison): Fix typo in wcscasecmp prototype.
16832 (Copying and Concatenation): Fix typo in wmemmove prototype.
16833 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16834 (Signal Stack): Remove erroneous const in sigstack prototype.
16835 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16837 (Simple Calendar Time): Likewise for stime.
16838 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16840 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16841 say sys/sysctl.h instead.
16842 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16843 and vsyslog prototypes.
16845 2013-02-11 Tom de Vries <tom@codesourcery.com>
16847 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16850 2013-02-11 Roland McGrath <roland@hack.frob.com>
16852 * misc/sys/mman.h: Fix typo in mremap comment.
16854 2013-02-08 Roland McGrath <roland@hack.frob.com>
16856 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16857 the '\0' terminator.
16859 2013-02-08 Joseph Myers <joseph@codesourcery.com>
16862 * debug/segfault.c: Don't include <bp-checks.h>.
16863 * sysdeps/generic/bp-checks.h: Remove file.
16864 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16865 (__GETDENTS): Don't use CHECK_N.
16866 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16867 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16868 (__getgroups): Don't use CHECK_N.
16869 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16870 (setgroups): Don't use CHECK_N.
16871 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16872 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16873 (__libc_msgrcv): Don't use CHECK_N.
16874 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16875 (__libc_msgsnd): Don't use CHECK_N.
16876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16878 (__libc_pread): Don't use CHECK_N.
16879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16880 include <bp-checks.h>.
16881 (__libc_pread64): Don't use CHECK_N.
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16883 include <bp-checks.h>.
16884 (__libc_pwrite): Don't use CHECK_N.
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16886 include <bp-checks.h>.
16887 (__libc_pwrite64): Don't use CHECK_N.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16890 (__libc_pread): Don't use CHECK_N.
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16892 include <bp-checks.h>.
16893 (__libc_pread64): Don't use CHECK_N.
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16895 include <bp-checks.h>.
16896 (__libc_pwrite): Don't use CHECK_N.
16897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16898 include <bp-checks.h>.
16899 (__libc_pwrite64): Don't use CHECK_N.
16900 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16901 (do_pread): Don't use CHECK_N.
16902 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16903 (do_pread64): Don't use CHECK_N.
16904 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16905 (do_pwrite): Don't use CHECK_N.
16906 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16907 (do_pwrite64): Don't use CHECK_N.
16908 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16909 (__libc_readv): Don't use CHECK_N.
16910 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16911 (semop): Don't use CHECK_N.
16912 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16914 (semtimedop): Don't use CHECK_N.
16915 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16916 (__libc_pread): Don't use CHECK_N.
16917 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16919 (__libc_pread64): Don't use CHECK_N.
16920 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16922 (__libc_pwrite): Don't use CHECK_N.
16923 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16925 (__libc_pwrite64): Don't use CHECK_N.
16926 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16928 (__libc_msgrcv): Don't use CHECK_N.
16929 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16930 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
16931 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16932 (__libc_writev): Don't use CHECK_N.
16934 2013-02-08 Roland McGrath <roland@hack.frob.com>
16936 * string/strcpy.c: Removed unused variable.
16938 * Makeconfig (+sysdep-includes): Define with := rather than =.
16939 Use an existing include/ subdir of each sysdeps dir before it.
16941 2013-02-08 Carlos O'Donell <carlos@redhat.com>
16943 * nscd/connection.c (register_traced_file): Comment function.
16944 [HAVE_INOTIFY] (union __inev): Define.
16945 [HAVE_INOTIFY] (inotify_check_files): New function.
16946 [HAVE_INOTIFY] (clear_db_cache): Likewise.
16947 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
16949 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
16951 2013-02-08 Carlos O'Donell <carlos@redhat.com>
16953 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
16954 loaded if not already and that a failure is permanent.
16956 2013-02-08 Carlos O'Donell <carlos@redhat.com>
16959 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
16960 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
16962 2013-02-08 Joseph Myers <joseph@codesourcery.com>
16965 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
16966 (CHECK_1_NULL_OK): Likewise.
16967 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
16968 (__fxstat): Do not use CHECK_1.
16969 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
16971 (___fxstat64): Do not use CHECK_1.
16972 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16974 (__fxstatat): Do not use CHECK_1.
16975 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16977 (__fxstatat64): Do not use CHECK_1.
16978 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
16980 (__fxstat): Do not use CHECK_1.
16981 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16983 (__fxstatat): Do not use CHECK_1.
16984 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16986 (__getresgid): Do not use CHECK_1.
16987 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16989 (__getresuid): Do not use CHECK_1.
16990 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
16992 (__lxstat): Do not use CHECK_1.
16993 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16995 (__old_msgctl): Do not use CHECK_1.
16996 (__new_msgctl): Likewise.
16997 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
16999 (__new_setrlimit): Do not use CHECK_1.
17000 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17002 (__old_shmctl): Do not use CHECK_1.
17003 (__new_shmctl): Likewise.
17004 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17006 (__xstat): Do not use CHECK_1.
17007 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17008 (__lxstat): Do not use CHECK_1.
17009 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17011 (___lxstat64): Do not use CHECK_1.
17012 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17013 (__old_msgctl): Do not use CHECK_1.
17014 (__new_msgctl): Likewise.
17015 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17017 (__gettimeofday): Do not use CHECK_1.
17018 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17019 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17020 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17022 (__gettimeofday): Do not use CHECK_1.
17023 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17024 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17025 (__new_shmctl): Do not use CHECK_1.
17026 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17028 (do_sigtimedwait): Do not use CHECK_1.
17029 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17031 (do_sigwaitinfo): Do not use CHECK_1.
17032 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17034 (msgctl): Do not use CHECK_1.
17035 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17037 (shmctl): Do not use CHECK_1.
17038 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17039 (ustat): Do not use CHECK_1.
17040 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17042 (__fxstat): Do not use CHECK_1.
17043 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17045 (__fxstatat): Do not use CHECK_1.
17046 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17048 (__lxstat): Do not use CHECK_1.
17049 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17051 (__xstat): Do not use CHECK_1.
17052 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17053 (__xstat): Do not use CHECK_1.
17054 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17055 (___xstat64): Do not use CHECK_1.
17058 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17060 (CHECK_BOUNDS_HIGH): Likewise.
17061 * string/strcpy.c: Do not include <bp-checks.h>.
17062 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17064 2013-02-07 Roland McGrath <roland@hack.frob.com>
17066 * nscd/nscd-client.h (__nscd_drop_map_ref):
17067 Add __attribute__ ((unused)).
17068 * nis/nss-nisplus.h (niserr2nss): Likewise.
17070 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17071 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17073 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17074 Remove inline keyword.
17075 * include/rounding-mode.h (round_away): Likewise.
17076 * libio/wfileops.c (adjust_wide_data): Likewise.
17077 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17078 (__m128i_strloadu_tolower): Likewise.
17079 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17080 (__m128i_strloadu_tolower): Likewise.
17081 * time/mktime.c (ydhms_diff): Likewise.
17082 * locale/elem-hash.h (elem_hash): Likewise.
17083 * locale/setlocale.c (setdata): Likewise.
17084 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17085 (re_string_wchar_at): Likewise.
17086 (bitset_not, bitset_merge, bitset_mask): Likewise.
17087 [!(__GNUC__ > 3)] (inline): Remove macro.
17088 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17089 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17090 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17091 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17092 * string/memcmp.c (memcmp_bytes): Likewise.
17093 * locale/programs/locarchive.c (compute_hashval): Likewise.
17094 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17095 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17096 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17097 * nss/getent.c (print_rpc, print_protocols): Likewise.
17098 (print_passwd, print_group, print_aliases): Likewise.
17099 * nis/nss-nisplus.h (niserr2nss): Likewise.
17100 * nscd/connections.c (restart_p): Likewise.
17101 Change return type to bool.
17103 2013-02-05 Roland McGrath <roland@hack.frob.com>
17105 * Makeconfig (all-Depend-files): Add existing
17106 $(sorted-subdirs:=/Depend) files.
17107 (all-subdirs): Remove nss.
17108 * sysdeps/unix/inet/Subdirs: Add it here instead.
17109 * hesiod/Depend: New file.
17111 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17112 instead of calling alloca.
17114 * io/lseek.c (__lseek): Rename to __libc_lseek.
17115 Define __lseek as an alias.
17117 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17119 2013-02-04 Carlos O'Donell <carlos@redhat.com>
17121 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17122 else clause and remove check for non-standard endianness.
17124 2013-02-04 David S. Miller <davem@davemloft.net>
17126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17128 2013-02-04 Joseph Myers <joseph@codesourcery.com>
17131 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17132 (__ubp_memchr): Remove prototype.
17133 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17134 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17135 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17136 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17137 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17139 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17140 (__ubp_memchr): Likewise.
17141 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17142 (__ubp_memchr): Likewise.
17143 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17144 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17145 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17146 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17148 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17149 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17150 (__getcwd): Do not use CHECK_STRING.
17151 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17153 (__real_chown): Do not use CHECK_STRING.
17154 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17156 (fchownat): Do not use CHECK_STRING.
17157 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17159 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17161 (__lchown): Do not use CHECK_STRING.
17162 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17163 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17164 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17165 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17167 include <bp-checks.h>.
17168 (truncate64): Do not use CHECK_STRING.
17169 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17171 (__real_chown): Do not use CHECK_STRING.
17172 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17174 (__lchown): Do not use CHECK_STRING.
17175 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17177 (__chown): Do not use CHECK_STRING.
17178 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17180 (truncate64): Do not use CHECK_STRING.
17181 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17183 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17184 (__xmknod): Do not use CHECK_STRING.
17185 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17187 (__xmknodat): Do not use CHECK_STRING.
17188 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17189 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17191 2013-02-04 Andreas Schwab <schwab@suse.de>
17194 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17195 * include/netdb.h: Likewise for h_errno.
17196 * elf/tst-stackguard1.c: Include <tls.h>.
17198 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17200 * elf/link.h (struct link_map): Extend the l_addr comment.
17201 * include/link.h (struct link_map): Likewise.
17203 2013-02-01 Joseph Myers <joseph@codesourcery.com>
17206 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17207 (BOUNDED_1): Remove macro.
17208 * debug/backtrace.c: Don't include <bp-checks.h>.
17209 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17210 (__backtrace): Likewise.
17211 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17213 (__backtrace): Don't use BOUNDED_1.
17214 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17216 (__backtrace): Don't use BOUNDED_1.
17217 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17218 (__backtrace): Don't use BOUNDED_1.
17219 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17220 (shmat): Don't use BOUNDED_N.
17222 2013-01-31 Joseph Myers <joseph@codesourcery.com>
17225 * sysdeps/generic/bp-start.h: Remove file.
17226 * csu/libc-start.c: Don't include <bp-start.h>.
17227 (LIBC_START_MAIN): Set up __environ directly instead of using
17228 INIT_ARGV_and_ENVIRON.
17229 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17233 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17235 (CHECK_FCNTL): Likewise.
17236 (CHECK_N_PAGES): Likewise.
17239 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17241 (CHECK_SIGSET_NULL_OK): Likewise.
17242 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17244 (sigpending): Don't use CHECK_SIGSET.
17245 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17247 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17248 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17250 (do_sigsuspend): Don't use CHECK_SIGSET.
17251 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17253 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17254 (do_sigwait): Don't use CHECK_SIGSET.
17255 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17257 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17258 include <bp-checks.h>.
17259 (sigpending): Don't use CHECK_SIGSET.
17260 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17261 include <bp-checks.h>.
17262 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17263 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17265 (sigpending): Don't use CHECK_SIGSET.
17266 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17268 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17271 * sysdeps/generic/bp-semctl.h: Remove file.
17272 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17273 <bp-checks.h> and <bp-semctl.h>.
17274 (__old_semctl): Don't use CHECK_SEMCTL.
17275 (__new_semctl): Likewise.
17276 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17278 (__old_semctl): Don't use CHECK_SEMCTL.
17279 (__new_semctl): Likewise.
17280 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17281 <bp-checks.h> and <bp-semctl.h>.
17282 (__old_semctl): Don't use CHECK_SEMCTL.
17283 (__new_semctl): Likewise.
17284 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17285 <bp-checks.h> and <bp-semctl.h>.
17286 (semctl): Don't use CHECK_SEMCTL.
17289 * Makerules (elide-bp-thunks): Remove variable.
17290 (elide-routines.oS): Don't use $(elide-bp-thunks).
17291 (elide-routines.os): Likewise.
17292 (elide-routines.o): Likewise.
17293 (elide-routines.op): Likewise.
17294 (elide-routines.og): Likewise.
17295 (objects): Don't use $(bp-thunks).
17296 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17298 (common-generated): Do not add s-proto-bp.d.
17299 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17302 Do not generate makefile rules for bounded-pointer thunks.
17303 * sysdeps/generic/bp-thunks.h: Remove file.
17304 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17305 * sysdeps/unix/s-proto-bp.S: Likewise.
17308 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17309 parts of result separately when argument is not close to line from
17310 -i to i and one part of argument is small.
17311 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17312 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17313 * math/libm-test.inc (cacos_test): Add more tests.
17314 (casin_test): Likewise.
17315 (casinh_test): Likewise.
17316 * sysdeps/i386/fpu/libm-test-ulps: Update.
17317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17319 2013-01-31 David S. Miller <davem@davemloft.net>
17321 * po/de.po: Update from translation team.
17323 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17325 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17327 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17329 * configure.in (_AC_PROG_CC_C89): New definition.
17330 * configure: Regenerate.
17332 * configure.in (AC_PROG_CPP): New definition.
17333 * configure: Regenerate.
17335 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17337 * debug/tst-backtrace.h: New file.
17338 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17339 (ret): Remove variable.
17341 (FAIL): Remove macro.
17342 (NO_INLINE): Likewise.
17343 (fn1): Use match function instead of strstr.
17344 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17345 (ret): Remove variable.
17347 (FAIL): Remove macro.
17348 (NO_INLINE): Likewise.
17349 (fn): Use match function instead of strstr.
17350 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17351 (ret): Remove variable.
17353 (FAIL): Remove macro.
17354 (NO_INLINE): Likewise.
17355 (handle_signal): Use match function instead of strstr.
17356 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17357 (ret): Remove variable.
17359 (FAIL): Remove macro.
17360 (NO_INLINE): Likewise.
17361 (handle_signal): Use match function instead of strstr.
17363 2013-01-23 Roland McGrath <roland@hack.frob.com>
17365 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17367 2013-01-23 David S. Miller <davem@davemloft.net>
17369 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17370 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17371 argument of CAS if possible.
17372 * sysdeps/sparc/sparc64/bits/atomic.h
17373 (__arch_compare_and_exchange_val_32_acq): Likewise.
17374 (__arch_compare_and_exchange_val_64_acq): Likewise.
17376 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17378 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17379 * sysdeps/posix/ulimit.c: ... this.
17380 Include <limits.h>.
17381 * sysdeps/unix/bsd/ulimit.c: Remove file.
17383 2013-01-23 Adam Conrad <adconrad@0c3.net>
17385 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17386 (LDFLAGS-tst-array5): Likewise.
17388 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17391 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17392 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17393 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17394 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17396 2013-01-21 David S. Miller <davem@davemloft.net>
17398 * sysdeps/sparc/backtrace.c: New file.
17399 * sysdeps/sparc/sparc32/backtrace.h: New file.
17400 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17401 * sysdeps/sparc/sparc64/backtrace.h: New file.
17402 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17403 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17406 2013-01-21 Andreas Schwab <schwab@suse.de>
17409 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17412 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17418 2013-01-18 Joseph Myers <joseph@codesourcery.com>
17419 Mark Mitchell <mark@codesourcery.com>
17420 Tom de Vries <tom@codesourcery.com>
17421 Paul Pluzhnikov <ppluzhnikov@google.com>
17423 * debug/tst-backtrace2.c: New file.
17424 * debug/tst-backtrace3.c: Likewise.
17425 * debug/tst-backtrace4.c: Likewise.
17426 * debug/tst-backtrace5.c: Likewise.
17427 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17428 (CFLAGS-tst-backtrace3.c): Likewise.
17429 (CFLAGS-tst-backtrace4.c): Likewise.
17430 (CFLAGS-tst-backtrace5.c): Likewise.
17431 (LDFLAGS-tst-backtrace2): Likewise.
17432 (LDFLAGS-tst-backtrace3): Likewise.
17433 (LDFLAGS-tst-backtrace4): Likewise.
17434 (LDFLAGS-tst-backtrace5): Likewise.
17435 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17436 tst-backtrace4 and tst-backtrace5.
17438 2013-01-18 Anton Blanchard <anton@samba.org>
17439 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17441 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17442 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17443 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17444 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17446 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17447 "+r" and remove output regs list as redundant. Add explicit inline
17448 asm to specify register of return val to work around compiler codegen
17449 bug. Remove (int) cast on return value. Add return type parameter to
17450 use in macro so that this macro does not truncate return value for
17452 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17453 pass to INTERNAL_VSYSCALL_NCS.
17454 (INLINE_VSYSCALL): Add 'long int' as return type to
17455 INTERNAL_VSYSCALL_NCS macro invocation.
17456 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17457 INTERNAL_VSYSCALL_NCS macro invocation.
17458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17460 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17463 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17464 Fix application of SIMD FP exception mask.
17466 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17467 mp_no from a power of two.
17468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17469 __mpexp_twomm1. Use __pow_mp.
17471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17474 2013-01-17 David S. Miller <davem@davemloft.net>
17476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17478 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17481 * include/complex.h: Condition contents on [!_COMPLEX_H].
17482 (__kernel_casinhf): New prototype.
17483 (__kernel_casinh): Likewise.
17484 (__kernel_casinhl): Likewise.
17485 * math/Makefile (libm_calls): Add k_casinh.
17486 * math/k_casinh.c: New file.
17487 * math/k_casinhf.c: Likewise.
17488 * math/k_casinhl.c: Likewise.
17489 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17490 finite nonzero arguments.
17491 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17492 finite nonzero arguments.
17493 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17494 finite nonzero arguments.
17495 * math/s_casinh.c: Do not include <float.h>.
17496 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17497 * math/s_casinhf.c: Do not include <float.h>.
17498 (__casinhf): Move code for finite nonzero arguments to
17500 * math/s_casinhl.c: Do not include <float.h>.
17501 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17503 (__casinhl): Move code for finite nonzero arguments to
17505 * math/libm-test.inc (cacos_test): Add more tests.
17506 * sysdeps/i386/fpu/libm-test-ulps: Update.
17507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17509 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17511 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17512 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17513 [!HAVE_MREMAP]: Remove [defined linux] case.
17514 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17516 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17518 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17520 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
17522 * elf/elf.h (R_386_SIZE32): New relocation.
17523 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17525 (elf_machine_rela): Likewise.
17526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17527 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17529 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17531 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17532 (FP_FAST_FMA): Do not define.
17533 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17534 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17535 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17536 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17537 !_SOFT_FLOAT]: Likewise.
17538 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17539 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17541 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17542 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17543 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17544 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17545 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17546 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17549 2013-01-16 Andreas Schwab <schwab@suse.de>
17552 * include/stdlib.h (__mktemp): Add declaration.
17553 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17554 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17556 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17558 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17560 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17561 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17562 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17564 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17565 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17567 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17569 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17570 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17571 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17573 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17574 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17576 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17578 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17580 2013-01-15 David S. Miller <davem@davemloft.net>
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17583 trunc{,f} to libm-sysdep_routes.
17584 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17594 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17595 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17596 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17597 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17598 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17599 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17602 nearbyint{,f} to libm-sysdep_routes.
17603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17614 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17616 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17617 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17619 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17620 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17621 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17623 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17624 libc_feholdexcept and libc_fesetenv.
17626 2013-01-15 Mike Frysinger <vapier@gentoo.org>
17628 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17630 2013-01-14 David S. Miller <davem@davemloft.net>
17632 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17633 (SPARC_ASM_VIS2_IFUNC): Likewise.
17634 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17636 use of 'siam' instruction.
17637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17670 routines to libm-sysdep_routines.
17671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17674 fdim/fdimf to libm-sysdep_routines.
17675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17683 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17684 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17685 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17686 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17688 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17690 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17691 to optimize copies.
17693 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17698 local variable MPTWO.
17699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17702 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17704 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17707 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17709 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17711 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17713 * manual/pattern.texi (glob_t): Document gl_flags.
17714 (glob64_t): Likewise.
17716 2013-01-11 David S. Miller <davem@davemloft.net>
17718 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17719 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17720 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
17721 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17722 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17723 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17724 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17725 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17726 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17727 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17728 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17729 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17730 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17732 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17733 sparc V9 rather than using V8 code.
17734 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17735 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17737 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17739 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17742 2013-01-11 Roland McGrath <roland@hack.frob.com>
17744 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17745 not in the main loop.
17746 * configure: Regenerated.
17748 2013-01-11 Joseph Myers <joseph@codesourcery.com>
17750 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17751 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17753 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
17754 [!__GLIBC_HAVE_LONG_LONG] case.
17755 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17756 condition to just #else.
17757 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17758 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17759 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17760 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17762 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17763 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17764 #elif condition to just #else.
17765 * sysdeps/unix/sysv/linux/sys/sysmacros.h
17766 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17767 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17768 #elif condition to just #else.
17770 2013-01-11 Steve Ellcey <sellcey@mips.com>
17772 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17773 (EF_MIPS_ARCH_64): Fix value.
17774 (EF_MIPS_ARCH_32R2): New.
17775 (EF_MIPS_ARCH_64R2): New.
17777 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
17779 * Makeconfig (+link-pie-before-libc): New.
17780 (+link-pie-after-libc): Likewise.
17781 (+link-pie-tests): Likewise.
17782 (+link-pie): Rewritten.
17783 (link-before-libc): Remove $(config-LDFLAGS).
17784 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17785 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17786 (config-LDFLAGS): Renamed to ...
17787 (rtld-LDFLAGS): This.
17788 (rtld-tests-LDFLAGS): New macro.
17789 (link-libc-rpath-link): Likewise.
17790 (link-libc-tests-rpath-link): Likewise.
17791 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17792 (link-libc): Prepand $(link-libc-rpath-link).
17793 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17794 (test-program-prefix): New macro.
17795 (test-via-rtld-prefix): Likewise.
17796 (test-program-cmd): Likewise.
17797 (host-test-program-cmd): Likewise.
17798 * Makefile ($(common-objpfx)testrun.sh): Replace
17799 $(run-program-prefix) with $(test-program-prefix).
17800 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17802 ($(common-objpfx)shlib.lds): Likewise.
17803 (build-module-helper): Likewise.
17804 ($(common-objpfx)format.lds): Likewise.
17805 * Rules (binaries-pie-tests): New.
17806 (binaries-pie-notests): Likewise.
17807 (binaries-pie): Rewritten.
17808 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17809 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17810 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17811 (make-test-out): Replace $(host-built-program-cmd) with
17812 $(host-test-program-cmd).
17813 * config.make.in (build-hardcoded-path-in-tests): New variable.
17814 * configure.in (--enable-hardcoded-path-in-tests): New configure
17816 (hardcoded_path_in_tests): New AC_SUBST.
17817 * configure: Regenerated.
17818 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17819 $(built-program-cmd) with $(test-program-cmd).
17820 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17821 (test_program_cmd): This.
17822 * elf/Makefile ($(objpfx)order.out): Run test with
17823 $(test-program-prefix).
17824 ($(objpfx)order2.out): Likewise.
17825 ($(objpfx)tst-initorder.out): Likewise.
17826 ($(objpfx)tst-initorder2.out): Likewise.
17827 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17828 $(test-program-cmd).
17829 ($(objpfx)tst-array1-static.out): Likewise.
17830 ($(objpfx)tst-array2.out): Likewise.
17831 ($(objpfx)tst-array3.out): Likewise.
17832 ($(objpfx)tst-array4.out): Likewise.
17833 ($(objpfx)tst-array5.out): Likewise.
17834 ($(objpfx)tst-array5-static.out): Likewise.
17835 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17836 $(test-program-cmd).
17837 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17838 $(run-program-prefix) with $(test-program-prefix).
17839 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17840 (test_program_prefix): This.
17841 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17842 $(run-program-prefix) with $(test-program-prefix).
17843 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17844 (test_program_prefix): This.
17845 * iconvdata/tst-tables.sh: Likewise.
17846 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17847 $(run-program-prefix) with $(test-program-prefix).
17848 ($(objpfx)tst-translit.out): Likewise.
17849 ($(objpfx)tst-gettext2.out): Likewise.
17850 ($(objpfx)tst-gettext4.out): Likewise.
17851 ($(objpfx)tst-gettext6.out): Likewise.
17852 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17853 (test_program_prefix): This.
17854 * intl/tst-gettext2.sh: Likewise.
17855 * intl/tst-gettext4.sh Likewise.
17856 * intl/tst-gettext6.sh: Likewise.
17857 * intl/tst-translit.sh: Likewise.
17858 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17859 with $(test-program-cmd).
17860 * libio/Makefile ($(objpfx)test-freopen.out): Replace
17861 $(run-program-prefix) with $(test-program-prefix).
17862 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17863 (test_program_prefix): This.
17864 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17865 $(run-program-prefix) with $(test-program-prefix).
17866 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17867 (test_program_prefix): This.
17868 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17869 * posix/Makefile ($(objpfx)globtest.out): Replace
17870 $(run-via-rtld-prefix) and $(test-wrapper) with
17871 $(test-program-prefix) and $(test-via-rtld-prefix).
17872 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17873 $(test-program-prefix).
17874 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17875 $(host-test-program-cmd).
17876 (tst-spawn-ARGS): Likewise.
17877 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17878 $(test-program-prefix).
17879 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17880 (test_via_rtld_prefix): This.
17881 (test_wrapper): Renamed to ...
17882 (test_program_prefix): This.
17883 (run_program_prefix): Replaced by test_program_prefix.
17884 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17885 (test_program_prefix): This.
17886 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17887 with $(host-test-program-cmd).
17888 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17889 $(run-program-prefix) with $(test-program-prefix).
17890 ($(objpfx)tst-printf.out): Likewise.
17891 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17892 $(test-program-cmd).
17893 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17894 (test_program_prefix): This.
17895 * stdio-common/tst-unbputc.sh: Likewise.
17896 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17897 $(run-program-prefix) with $(test-program-prefix).
17898 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17899 (test_program_prefix): This.
17900 * string/Makefile ($(objpfx)tst-svc.out): Replace
17901 $(built-program-cmd) with $(test-program-cmd).
17903 2013-01-11 Andreas Jaeger <aj@suse.de>
17906 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17907 value. Sync with Linux 3.7.
17909 2013-01-10 David S. Miller <davem@davemloft.net>
17911 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17912 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17913 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17915 2013-01-10 Roland McGrath <roland@hack.frob.com>
17917 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17919 * configure: Regenerated.
17921 2013-01-10 David S. Miller <davem@davemloft.net>
17923 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17924 sparc V9 rather than using V8 code.
17925 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17926 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17928 2013-01-10 Roland McGrath <roland@hack.frob.com>
17930 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17931 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17932 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
17933 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
17934 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
17935 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
17936 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17937 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
17938 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
17939 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
17940 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
17941 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
17942 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
17943 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17944 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
17945 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
17946 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
17947 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
17948 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
17949 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
17950 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
17951 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
17952 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
17953 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
17954 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
17955 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
17956 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
17958 2013-01-10 David S. Miller <davem@davemloft.net>
17960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17962 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
17964 * posix/Makefile (tests-static): New variable.
17965 (tests): Add $(tests-static).
17966 (tst-exec-static-ARGS): New variable.
17967 (tst-spawn-static-ARGS): Likewise.
17968 * posix/tst-exec-static.c: New file.
17969 * posix/tst-spawn-static.c: Likewise.
17970 * posix/tst-exec.c: Support run directly.
17971 * posix/tst-spawn.c: Likewise.
17973 2013-01-10 Joseph Myers <joseph@codesourcery.com>
17975 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
17977 * math/bits/mathcalls.h (llrint): Likewise.
17978 (llround): Likewise.
17979 * stdlib/stdlib.h (struct drand48_data): Likewise.
17980 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
17981 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
17982 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
17984 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
17986 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
17987 (elf_greg_t): Likewise.
17988 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
17989 (__jmp_buf): Likewise.
17990 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
17992 (llrint): Likewise, for all definitions.
17993 (llrintl): Likewise.
17995 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
17996 Remove [__GNUC__] condition.
17997 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
17998 condition to just [__USE_ISOC99].
17999 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18001 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18004 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18005 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18007 (_POSIX_V6_ILP32_OFF32): Likewise.
18008 (_XBS5_ILP32_OFF32): Likewise.
18009 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18010 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18012 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18014 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18017 doubles __mpexp_twomm1. Adjust usage.
18018 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18021 2013-01-10 Andreas Schwab <schwab@suse.de>
18024 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18025 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18027 2013-01-09 David S. Miller <davem@davemloft.net>
18030 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18031 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18032 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18033 TCP_FASTOPEN): Define.
18034 (tcp_repair_opt): New structure.
18035 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18037 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18038 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18039 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18040 (tcp_cookie_transactions): New structure.
18042 2013-01-09 Anton Blanchard <anton@samba.org>
18044 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18045 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18046 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18047 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18049 2013-01-09 Joseph Myers <joseph@codesourcery.com>
18051 * include/features.h (__USE_ANSI): Remove.
18053 2013-01-09 Roland McGrath <roland@hack.frob.com>
18055 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18057 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18059 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18061 * sysdeps/s390/fpu/libm-test-ulps: Update.
18063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18065 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18069 (denorm): Likewise.
18070 (__mp_dbl): Likewise.
18071 (__dbl_mp): Likewise.
18072 (add_magnitudes): Likewise.
18073 (sub_magnitudes): Likewise.
18079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18083 (denorm): Likewise.
18084 (__mp_dbl): Likewise.
18085 (__dbl_mp): Likewise.
18086 (add_magnitudes): Likewise.
18087 (sub_magnitudes): Likewise.
18093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18097 (denorm): Likewise.
18098 (__mp_dbl): Likewise.
18099 (__dbl_mp): Likewise.
18100 (add_magnitudes): Likewise.
18101 (sub_magnitudes): Likewise.
18108 2013-01-08 Joseph Myers <joseph@codesourcery.com>
18110 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18111 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18112 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18113 2 && __USE_EXTERN_INLINES]: Likewise.
18115 2013-01-08 Andreas Jaeger <aj@suse.de>
18118 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18120 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18121 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18123 2013-01-07 Anton Blanchard <anton@samba.org>
18125 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18126 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18127 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18128 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18129 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18130 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18131 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18132 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18134 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18135 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18136 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18137 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18138 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18139 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18140 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18141 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18142 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18143 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18144 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18145 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18146 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18148 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18149 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18150 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18151 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18152 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18153 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18154 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18155 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18157 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18158 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18159 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18160 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18161 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18163 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18164 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18165 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18166 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18167 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18169 2013-01-07 Joseph Myers <joseph@codesourcery.com>
18171 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18172 (__MALLOC_PMT): Likewise.
18173 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18174 [__GNUC__], only on [_LIBC].
18175 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18176 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18177 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18178 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18179 forward declaration.
18180 (realloc_hook_ini): Likewise.
18181 (memalign_hook_ini): Likewise.
18182 (__libc_memalign): Do not use __MALLOC_PMT in variable
18184 (__libc_valloc): Likewise.
18185 (__libc_pvalloc): Likewise.
18186 (__libc_calloc): Likewise.
18187 (__posix_memalign): Likewise.
18190 * math/s_casinh.c: Include <float.h>.
18191 (__casinh): Do not do computation with squaring and square root
18192 for large arguments.
18193 * math/s_casinhf.c: Include <float.h>.
18194 (__casinhf): Do not do computation with squaring and square root
18195 for large arguments.
18196 * math/s_casinhl.c: Include <float.h>.
18197 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18198 (__casinhl): Do not do computation with squaring and square root
18199 for large arguments.
18200 * math/libm-test.inc (casin_test): Add more tests.
18201 (casinh_test): Likewise.
18202 * sysdeps/i386/fpu/libm-test-ulps: Update.
18203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18205 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18207 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18208 (__x86_64_raw_data_cache_size): Likewise.
18209 (__x86_64_data_cache_size_half): Likewise.
18210 (__x86_64_raw_data_cache_size_half): Likewise.
18211 (__x86_64_shared_cache_size): Likewise.
18212 (__x86_64_raw_shared_cache_size): Likewise.
18213 (__x86_64_shared_cache_size_half): Likewise.
18214 (__x86_64_raw_shared_cache_size_half): Likewise.
18215 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18217 (__x86_data_cache_size): This.
18218 (__x86_64_raw_data_cache_size): Renamed to ...
18219 (__x86_raw_data_cache_size): This.
18220 (__x86_64_data_cache_size_half): Renamed to ...
18221 (__x86_data_cache_size_half): This.
18222 (__x86_64_raw_data_cache_size_half): Renamed to ...
18223 (__x86_raw_data_cache_size_half): This.
18224 (__x86_64_shared_cache_size): Renamed to ...
18225 (__x86_shared_cache_size): This.
18226 (__x86_64_raw_shared_cache_size): Renamed to ...
18227 (__x86_raw_shared_cache_size): This.
18228 (__x86_64_shared_cache_size_half): Renamed to ...
18229 (__x86_shared_cache_size_half): This.
18230 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18231 (__x86_raw_shared_cache_size_half): This.
18232 * sysdeps/x86_64/memcpy.S: Updated.
18233 * sysdeps/x86_64/memset.S: Likewise.
18234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18238 2013-01-04 David S. Miller <davem@davemloft.net>
18240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18242 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18244 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18245 1 to avoid redefinition warning.
18246 (__USE_GNU): Don't define.
18247 (init_signaling_nan): Protoize.
18249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18251 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18253 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18255 (__cpymn): Likewise.
18256 (norm): Remove commented code.
18257 (denorm): Likewise.
18258 (__mp_dbl): Likewise.
18260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18261 (__cpymn): Likewise.
18262 (norm): Remove commented code.
18263 (denorm): Likewise.
18264 (__mp_dbl): Likewise.
18267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18268 mp_no value for 1.0 and 2.0.
18269 (norm): Use RADIXI instead of radixi.d.
18270 (denorm): Likewise.
18271 (__mul): Use 0.0 instead of zero.d.
18272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18273 mp_no value for 1.0 and 2.0.
18274 (norm): Use RADIXI instead of radixi.d.
18275 (denorm): Likewise.
18276 (__mul): Use 0.0 instead of zero.d.
18278 2013-01-04 Joseph Myers <joseph@codesourcery.com>
18281 * math/s_casinh.c (__casinh): Reduce finite argument to first
18282 quadrant then set signs of results at the end.
18283 * math/s_casinhf.c (__casinhf): Likewise.
18284 * math/s_casinhl.c (__casinhl): Likewise.
18285 * math/libm-test.inc (casin_test): Add more tests.
18286 (casinh_test): Likewise.
18287 * sysdeps/i386/fpu/libm-test-ulps: Update.
18288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18290 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18292 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18294 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18296 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18298 (denorm): Likewise.
18299 (__mp_dbl): Likewise.
18302 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18303 and adjust the header comment.
18305 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18306 variable name from declaration.
18308 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18311 Initialize COMMON_CPUID_INDEX_7 element.
18312 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18313 (CPUID_RTM): Likewise.
18314 (HAS_RTM): Likewise.
18315 (COMMON_CPUID_INDEX_7): New enum.
18317 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18320 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18321 size is zero, record memory as freed.
18323 2013-01-03 Andreas Jaeger <aj@suse.de>
18325 * po/ia.po: Add new Interlingua translation.
18327 2012-01-03 Allan McRae <allan@archlinux.org>
18329 * locale/programs/localedef.c: Fix description of '--posix' flag.
18331 2013-01-02 Joseph Myers <joseph@codesourcery.com>
18333 * NEWS: Update dates in second copyright notice.
18334 * README: Update copyright dates in example.
18335 * manual/libc.texinfo: Update copyright dates.
18336 * scripts/test-installation.pl: Update copyright date in --version
18339 * hurd/ctty-input.c: Fix copyright notice formatting.
18340 * hurd/ctty-output.c: Likewise.
18341 * hurd/dtable.c: Likewise.
18342 * hurd/hurd-raise.c: Likewise.
18343 * hurd/hurdprio.c: Likewise.
18344 * hurd/msgportdemux.c: Likewise.
18345 * misc/sys/file.h: Likewise.
18346 * misc/sys/ioctl.h: Likewise.
18347 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18348 * sysdeps/mach/hurd/chdir.c: Likewise.
18349 * sysdeps/mach/hurd/fchdir.c: Likewise.
18350 * sysdeps/mach/hurd/rename.c: Likewise.
18351 * sysdeps/mach/hurd/rmdir.c: Likewise.
18352 * sysdeps/mach/hurd/seekdir.c: Likewise.
18353 * sysdeps/mach/hurd/setsid.c: Likewise.
18354 * sysdeps/posix/wait3.c: Likewise.
18356 * All files with FSF copyright notices: Update copyright dates
18357 using scripts/update-copyrights.
18358 * intl/plural.c: Regenerated.
18359 * locale/programs/charmap-kw.h: Likewise.
18360 * locale/programs/locfile-kw.h: Likewise.
18362 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18364 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18367 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18368 calculation loop and add branch prediction.
18370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18371 check access beyond bounds of m1np.
18373 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18375 (__inv): Remove local variable MPTWO to use the global
18377 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18380 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18381 MP3HALFS static const.
18383 2013-01-01 David S. Miller <davem@davemloft.net>
18385 * po/ca.po: Update from translation team.
18387 2013-01-01 Joseph Myers <joseph@codesourcery.com>
18389 * scripts/update-copyrights: New file.
18390 * Makeconfig: Reformat copyright notice.
18391 * ctype/ctype.h: Likewise.
18392 * debug/swprintf_chk.c: Likewise.
18393 * elf/dl-cache.c: Likewise.
18394 * elf/dl-debug.c: Likewise.
18395 * elf/dl-object.c: Likewise.
18396 * grp/initgroups.c: Likewise.
18397 * hurd/Makefile: Likewise.
18398 * hurd/hurd/signal.h: Likewise.
18399 * hurd/hurdfault.c: Likewise.
18400 * hurd/hurdioctl.c: Likewise.
18401 * hurd/hurdlookup.c: Likewise.
18402 * hurd/intr-msg.c: Likewise.
18403 * iconv/gconv_open.c: Likewise.
18404 * libio/swprintf.c: Likewise.
18405 * locale/lc-ctype.c: Likewise.
18406 * locale/nl_langinfo.c: Likewise.
18407 * mach/Machrules: Likewise.
18408 * mach/Makefile: Likewise.
18409 * malloc/obstack.h: Likewise.
18410 * manual/Makefile: Likewise.
18411 * manual/tsort.awk: Likewise.
18412 * misc/bits/stab.def: Likewise.
18413 * nis/nis_print_group_entry.c: Likewise.
18414 * nis/nis_table.c: Likewise.
18415 * nis/nss_compat/compat-pwd.c: Likewise.
18416 * nis/nss_compat/compat-spwd.c: Likewise.
18417 * po/Makefile: Likewise.
18418 * posix/fnmatch.c: Likewise.
18419 * posix/regex.h: Likewise.
18420 * resolv/Makefile: Likewise.
18421 * resolv/nss_dns/dns-network.c: Likewise.
18422 * resolv/res_hconf.c: Likewise.
18423 * scripts/gen-sorted.awk: Likewise.
18424 * soft-fp/soft-fp.h: Likewise.
18425 * stdio-common/printf.h: Likewise.
18426 * stdlib/monetary.h: Likewise.
18427 * stdlib/random.c: Likewise.
18428 * stdlib/random_r.c: Likewise.
18429 * sysdeps/generic/Makefile: Likewise.
18430 * sysdeps/gnu/Makefile: Likewise.
18431 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18433 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18438 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18439 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18441 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18442 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18443 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18444 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18445 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18446 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18447 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18449 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18450 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18451 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18452 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18453 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18454 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18455 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18456 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18457 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18458 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18459 * sysdeps/mach/hurd/errnos.awk: Likewise.
18460 * sysdeps/mach/hurd/fork.c: Likewise.
18461 * sysdeps/mach/hurd/getcwd.c: Likewise.
18462 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18463 * sysdeps/mach/hurd/mmap.c: Likewise.
18464 * sysdeps/mach/hurd/utimes.c: Likewise.
18465 * sysdeps/mach/hurd/xmknod.c: Likewise.
18466 * sysdeps/posix/profil.c: Likewise.
18467 * sysdeps/posix/readdir_r.c: Likewise.
18468 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18469 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18470 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18471 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18473 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18474 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18477 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18478 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18479 * sysdeps/pthread/lio_listio.c: Likewise.
18480 * sysdeps/sparc/dl-procinfo.h: Likewise.
18481 * sysdeps/unix/i386/sysdep.S: Likewise.
18482 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18483 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18484 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18485 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18487 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18488 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18489 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18490 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18491 * sysdeps/wordsize-32/divdi3.c: Likewise.
18492 * time/sys/time.h: Likewise.
18493 * wcsmbs/Makefile: Likewise.
18495 2013-01-01 David S. Miller <davem@davemloft.net>
18497 * po/fr.po: Update from translation team.
18499 * catgets/gencat.c: Update copyright year.
18500 * csu/version.c: Likewise.
18501 * debug/catchsegv.sh: Likewise.
18502 * debug/pcprofiledump.c: Likewise.
18503 * debug/xtrace.sh: Likewise.
18504 * elf/ldconfig.c: Likewise.
18505 * elf/ldd.bash.in: Likewise.
18506 * elf/pldd.c: Likewise.
18507 * elf/sotruss.ksh: Likewise.
18508 * elf/sprof.c: Likewise.
18509 * iconv/iconv_prog.c: Likewise.
18510 * iconv/iconvconfig.c: Likewise.
18511 * locale/programs/locale.c: Likewise.
18512 * locale/programs/localedef.c: Likewise.
18513 * login/programs/pt_chown.c: Likewise.
18514 * malloc/memusage.sh: Likewise.
18515 * malloc/memusagestat.c: Likewise.
18516 * malloc/mtrace.pl: Likewise.
18517 * nscd/nscd.c: Likewise.
18518 * nss/getent.c: Likewise.
18519 * nss/makedb.c: Likewise.
18520 * posix/getconf.c: Likewise.
18522 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18524 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18527 2012-12-30 Mike Frysinger <vapier@gentoo.org>
18529 * math/bits/mathcalls.h (modf): Use __nonnull.
18531 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18533 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18534 (split): Use macro CN instead of the bare value.
18535 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18538 instead of the bare value.
18539 (power1): Likewise.
18541 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18545 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18547 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18549 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18550 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18551 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18552 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18554 2012-12-28 Andreas Jaeger <aj@suse.de>
18556 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18557 values are from Linux 3.7.
18559 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18560 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18562 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18564 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18567 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18569 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18570 variables with preprocessor constants.
18571 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18572 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18573 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18575 2012-12-27 Bruno Haible <bruno@clisp.org>
18578 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18581 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18584 and use variable directly.
18585 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18587 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18589 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18590 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18592 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18593 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18594 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18595 include directive. Remove local variable MPONE.
18596 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18597 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18598 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18600 2012-12-25 David S. Miller <davem@davemloft.net>
18602 * version.h (RELEASE): Set to "development".
18603 (VERSION): Set to "2.17.90".
18604 * NEWS: Add 2.18 section.
18606 2012-12-21 David S. Miller <davem@davemloft.net>
18608 * po/hr.po: Update from translation team.
18610 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18612 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18614 2012-12-19 Steve Ellcey <sellcey@mips.com>
18616 * NEWS: Mention new memcpy for MIPS.
18618 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18620 * manual/contrib.texi (Contributors): Spelling correction.
18622 2012-12-15 David S. Miller <davem@davemloft.net>
18624 * po/ru.po: Update from translation team.
18626 2012-12-13 David S. Miller <davem@davemloft.net>
18628 * NEWS: Mention IFUNC testsuite enhancements.
18630 * po/pl.po: Update from translation team.
18631 * po/bg.po: Likewise.
18633 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18634 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18636 2012-12-11 David S. Miller <davem@davemloft.net>
18638 * po/sv.po: Update from translation team.
18640 * po/vi.po: Update from translation team.
18642 * po/cs.po: Update from translation team.
18644 * po/de.po: Update from translation team.
18645 * po/eo.po: Likewise.
18646 * po/nl.po: Likewise.
18648 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18651 * manual/argp.texi (Argp Helper Functions): Move node to follow
18652 Argp Parsing State.
18655 * manual/conf.texi (Limits on File System Capacity): Mention if
18656 terminating null is included in the max size.
18658 2012-12-10 Andreas Jaeger <aj@suse.de>
18660 * po/cs.po: Update from translation team.
18662 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18664 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18665 void pointer and cast to uintptr_t.
18666 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18668 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18669 * sysdeps/s390/s390-64/memset.S: Likewise.
18671 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
18674 * menual/message.texi (Message Translation): Fix typos.
18675 (Helper programs for gettext): Likewise.
18677 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18680 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18683 2012-12-07 David S. Miller <davem@davemloft.net>
18685 * po/libc.pot: Update.
18687 2012-12-07 Richard Henderson <rth@redhat.com>
18690 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18691 normal/normal case to before the switch.
18692 (_FP_DIV): Likewise.
18694 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18695 Mike Frysinger <vapier@gentoo.org>
18697 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18698 check for __NR_fadvise64_64.
18700 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18702 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18703 0, not just to plain "0" as a statement.
18704 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18707 2012-12-06 Joseph Myers <joseph@codesourcery.com>
18709 * NEWS: Use sourceware.org in Bugzilla URL.
18711 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18714 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18716 * stdio-common/tst-put-error.c (do_test): Add newline to the
18717 padded test to ensure flush.
18719 2012-12-05 Jeff Law <law@redhat.com>
18721 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18723 2012-12-05 Joseph Myers <joseph@codesourcery.com>
18725 * README: Don't refer to ports add-on as distributed separately.
18726 Mention AArch64 in list of systems supported in the ports add-on.
18728 * LICENSES: Add more non-FSF copyright and license notices.
18730 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18733 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18735 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18736 10000 as width of padded output.
18738 2012-12-04 Joseph Myers <joseph@codesourcery.com>
18740 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18742 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18743 variable LX with __attribute__ ((unused)).
18744 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18746 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18749 with __attribute__ ((unused)).
18751 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
18753 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18755 2012-12-04 Joseph Myers <joseph@codesourcery.com>
18757 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18758 (CFLAGS-nldbl-acos.c): New variable.
18759 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18760 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18761 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18762 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18763 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18764 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18765 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18766 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18767 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18768 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18769 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18770 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18771 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18772 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18773 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18774 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18775 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18776 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18777 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18778 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18779 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18780 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18781 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18782 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18783 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18784 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18785 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18786 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18787 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18788 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18789 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18790 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18791 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18792 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18793 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18794 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18795 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18796 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18797 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18798 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18799 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18800 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18801 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18802 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18803 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18804 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18805 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18806 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18807 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18808 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18809 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18810 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18811 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18812 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18813 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18814 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18815 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18816 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18817 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18818 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18819 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18820 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18821 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18822 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18823 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18824 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18825 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18826 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18827 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18828 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18829 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18830 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18831 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18832 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18833 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18834 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18835 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18836 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18837 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18838 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18839 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18840 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18841 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18842 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18843 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18844 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18845 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18846 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18847 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18848 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18849 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18850 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18851 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18852 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18853 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18854 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18855 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18858 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18862 whole low double instead of just low 47 bits when splitting values
18865 2012-12-03 Allan McRae <allan@archlinux.org>
18867 * manual/stdio.texi (Predefined Printf Handlers): Remove
18868 @hsep and @vsep usage.
18870 2012-12-03 Mike Frysinger <vapier@gentoo.org>
18872 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18873 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18875 2012-12-03 Jeff Law <law@redhat.com>
18877 * time/sys/time.h (settimeofday): Do not mark TV argument
18880 2012-12-01 Mike Frysinger <vapier@gentoo.org>
18882 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18883 when currently writing and seek to current position when not.
18884 * libio/Makefile (tests): Remove bug-fclose1.
18885 * libio/bug-fclose1.c: Delete.
18887 2012-12-01 Joseph Myers <joseph@codesourcery.com>
18889 * manual/arith.texi (feenableexcept): Fix typo.
18890 (fedisableexcept): Likewise.
18892 2012-11-30 Roland McGrath <roland@hack.frob.com>
18894 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18895 second, differently-typed declaration, rather than a cast.
18897 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18899 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18900 * include/rpc/svc.h: ... here.
18902 2012-11-30 Aurelien Jarno <aurel32@debian.org>
18905 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18906 depending n and resplen2 to catch cases where answer
18909 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
18911 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18912 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18914 2012-11-29 Mike Frysinger <vapier@gentoo.org>
18916 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18918 2012-11-29 Roland McGrath <roland@hack.frob.com>
18920 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18922 2012-11-28 Jeff Law <law@redhat.com>
18925 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18926 dataset_temporary. Track alloca usage into alloca_used.
18927 If dataset is large allocate and release it via malloc/free.
18929 2012-06-04 Florian Weimer <fweimer@redhat.com>
18932 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
18934 2012-11-28 David S. Miller <davem@davemloft.net>
18936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18938 2012-11-28 Joseph Myers <joseph@codesourcery.com>
18941 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
18942 of pi/2 rounded to nearest to 64 bits.
18943 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
18944 nearest to 64 bits.
18945 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
18948 2012-11-28 Jeff Law <law@redhat.com>
18949 Martin Osvald <mosvald@redhat.com>
18952 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
18953 * sunrpc/svc.c: Include time.h.
18954 (__svc_accept_failed): New function.
18955 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
18956 any reason other than EINTR, call __svc_accept_failed.
18957 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
18958 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
18960 2012-11-28 Andreas Schwab <schwab@suse.de>
18962 * scripts/abilist.awk: Also handle indirect functions in .opd
18965 2012-11-28 Joseph Myers <joseph@codesourcery.com>
18968 * sysdeps/x86/fpu/powl_helper.c: New file.
18969 * sysdeps/x86/fpu/Makefile: Likewise.
18970 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
18972 (__ieee754_powl): Use __powl_helper for finite arguments except
18973 integer exponents below 8.
18974 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
18976 (__ieee754_powl): Use __powl_helper for finite arguments except
18977 integer exponents below 8.
18978 * math/libm-test.inc (pow_test): Add more tests and enable some
18979 previously disabled tests.
18980 * sysdeps/i386/fpu/libm-test-ulps: Update.
18981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18983 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18984 Carlos O'Donell <carlos_odonell@mentor.com>
18986 * nss/makedb.c (is_prime): Assert that input is odd and greater
18987 than 4. Note that fact in a comment too.
18988 (next_prime): Add 4 to input.
18990 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18993 * libio/Makefile (tests): Add test case tst-fwrite-error.
18994 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
18995 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18996 * libio/tst-fwrite-error.c: New test case.
18998 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19000 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19001 before casting to void *.
19002 * include/libc-internal.h (__pointer_type): New macro.
19003 (__integer_if_pointer_type_sub): Likewise.
19004 (__integer_if_pointer_type): Likewise.
19005 (cast_to_integer): Likewise.
19006 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19007 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19008 before casting to atomic64_t.
19009 (atomic_exchange_acq): Likewise.
19010 (__arch_exchange_and_add_body): Likewise.
19011 (__arch_add_body): Likewise.
19012 (atomic_add_negative): Likewise.
19013 (atomic_add_zero): Likewise.
19015 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19017 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19018 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19019 (add_fdes): Likewise.
19020 (linear_search_fdes): Likewise.
19021 (binary_search_unencoded_fdes): Likewise.
19023 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19025 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19027 2012-11-24 Adam Conrad <adconrad@0c3.net>
19029 * configure.in: Autodetect C++ header directories.
19030 * configure: Regenerated.
19032 2012-11-23 Mike Frysinger <vapier@gentoo.org>
19034 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19036 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19040 2012-11-22 Joseph Myers <joseph@codesourcery.com>
19042 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19043 LDBL_MANT_DIG == 106]: Disable some tests.
19044 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19046 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19051 input for small inputs. Return +/- pi/2 for large inputs.
19052 * math/libm-test.inc (atan_test): Add more tests.
19054 * sysdeps/generic/unwind-dw2-fde-glibc.c
19055 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19056 __attribute__ ((unused)).
19059 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19060 x * y if x and y are nonzero and z is zero.
19063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19064 nonzero exponents with absolute value below 0x1p-117 to +/-
19068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19069 up arguments below 2**-450, not just those below 2**-500.
19070 * math/libm-test.inc (hypot_test): Add another test.
19073 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19074 Return a+b for ratio over 2**120, not 2**60.
19075 * math/libm-test.inc (hypot_test): Add another test.
19077 * math/libm-test.inc (clog_test): Use
19078 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19079 (clog10_test): Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19084 2012-11-22 Andreas Schwab <schwab@suse.de>
19086 * sysdeps/i386/fpu/libm-test-ulps: Update.
19088 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19090 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19091 printf output with newline.
19093 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19096 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19097 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19098 -z nodlopen, -z initfirst and -z execstack support.
19099 * configure: Regenerated.
19101 * elf/elf.h (DF_1_NODIRECT): New macro.
19102 (DF_1_IGNMULDEF): Likewise.
19103 (DF_1_NOKSYMS): Likewise.
19104 (DF_1_NOHDR): Likewise.
19105 (DF_1_EDITED): Likewise.
19106 (DF_1_NORELOC): Likewise.
19107 (DF_1_SYMINTPOSE): Likewise.
19108 (DF_1_GLOBAUDIT): Likewise.
19109 (DF_1_SINGLETON): Likewise.
19110 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19111 DT_1_SUPPORTED_MASK bits.
19112 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19114 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19116 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19118 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19120 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19123 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19124 (sendmmsg): Move declarations...
19125 * socket/sys/socket.h: ... here.
19126 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19127 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19129 * socket/recvmmsg.c: ... this new file.
19130 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19131 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19132 definition of __sendmmsg hidden.
19133 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19134 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19135 Move ENOSYS stub into and include it from...
19136 * socket/sendmmsg.c: ... this new file.
19137 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19138 (sysdep_routines): Move recvmmsg and sendmmsg...
19139 * socket/Makefile (routines): ... here.
19140 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19141 (GLIBC_PRIVATE): Add __sendmmsg.
19142 * include/sys/socket.h (__sendmmsg): Add declarations.
19143 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19146 2012-11-20 Joseph Myers <joseph@codesourcery.com>
19148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19149 variable I1 with __attribute__ ((unused)).
19150 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19152 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19154 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19155 DUMMY variables with __attribute__ ((unused)).
19157 * bits/byteswap.h: Include <bits/types.h>.
19158 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19160 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19162 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19163 string_t. Do not manually set errno.
19164 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19165 length with __strnlen. Make sure to both set errno and return it on
19168 2012-11-19 David S. Miller <davem@davemloft.net>
19170 With help from Joseph Myers.
19171 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19172 very large arguments properly.
19173 * math/libm-test.inc (atan_test): New tests.
19174 (atan2_test): New tests.
19175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19178 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19181 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19184 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19185 [POSIX] (EADDRNOTAVAIL): Likewise.
19186 [POSIX] (EAFNOSUPPORT): Likewise.
19187 [POSIX] (EALREADY): Likewise.
19188 [POSIX] (ECONNABORTED): Likewise.
19189 [POSIX] (ECONNREFUSED): Likewise.
19190 [POSIX] (ECONNRESET): Likewise.
19191 [POSIX] (EDESTADDRREQ): Likewise.
19192 [POSIX] (EDQUOT): Likewise.
19193 [POSIX] (EHOSTUNREACH): Likewise.
19194 [POSIX] (EIDRM): Likewise.
19195 [POSIX] (EISCONN): Likewise.
19196 [POSIX] (ELOOP): Likewise.
19197 [POSIX] (EMULTIHOP): Likewise.
19198 [POSIX] (ENETDOWN): Likewise.
19199 [POSIX] (ENETUNREACH): Likewise.
19200 [POSIX] (ENOBUFS): Likewise.
19201 [POSIX] (ENODATA): Likewise.
19202 [POSIX] (ENOLINK): Likewise.
19203 [POSIX] (ENOMSG): Likewise.
19204 [POSIX] (ENOPROTOOPT): Likewise.
19205 [POSIX] (ENOSR): Likewise.
19206 [POSIX] (ENOSTR): Likewise.
19207 [POSIX] (ENOTCONN): Likewise.
19208 [POSIX] (ENOTSOCK): Likewise.
19209 [POSIX] (EOPNOTSUPP): Likewise.
19210 [POSIX] (EOVERFLOW): Likewise.
19211 [POSIX] (EPROTO): Likewise.
19212 [POSIX] (EPROTONOSUPPORT): Likewise.
19213 [POSIX] (EPROTOTYPE): Likewise.
19214 [POSIX] (ESTALE): Likewise.
19215 [POSIX] (ETIME): Likewise.
19216 [POSIX] (ETXTBSY): Likewise.
19217 [POSIX] (EWOULDBLOCK): Likewise.
19218 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19219 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19220 [POSIX] (SEEK_CUR): Likewise.
19221 [POSIX] (SEEK_END): Likewise.
19222 [POSIX || UNIX98] (mode_t): Do not require.
19223 [POSIX] (off_t): Likewise.
19224 [POSIX] (pid_t): Likewise.
19225 [POSIX] (sys/stat.h): Do not allow header.
19226 [POSIX] (unistd.h): Likewise.
19227 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19228 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19229 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19230 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19232 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19233 sigevent): Specify elements.
19234 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19236 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19237 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19239 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19240 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19241 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19242 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19243 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19244 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19245 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19246 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19247 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19248 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19249 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19250 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19251 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19252 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19254 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19256 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19258 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19260 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19261 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19262 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19263 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19264 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19265 Specify lower bound on value.
19266 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19267 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19268 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19269 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19270 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19271 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19272 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19273 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19275 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19277 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19278 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19279 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19280 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19281 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19282 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19283 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19284 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19285 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19286 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19287 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19288 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19289 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19290 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19291 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19292 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19294 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19296 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19297 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19298 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19299 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19300 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19301 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19303 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19304 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19305 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19306 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19307 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19308 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19309 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19311 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19312 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19313 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19314 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19315 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19316 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19317 specify as optional.
19318 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19319 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19320 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19321 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19322 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19323 [XPG3] (NL_LANGMAX): Likewise.
19324 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19325 [POSIX || XPG3] (NL_NMAX): Likewise.
19326 [POSIX || XPG3] (NL_SETMAX): Likewise.
19327 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19328 [XPG3] (NZERO): Likewise.
19329 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19330 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19331 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19332 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19333 (REG_ERANGE): Expect.
19334 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19336 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19337 Use (void) in prototype.
19338 [POSIX] (*_t): Allow.
19339 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19340 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19341 (WRDE_BADVAL): Expect.
19343 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19345 [XPG3 || XPG4] (O_RSYNC): Likewise.
19346 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19348 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19349 [XPG3 || XPG4] (sigqueue): Likewise.
19350 [XPG3 || XPG4] (sigtimedwait): Likewise.
19351 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19352 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19353 [XPG3 || XPG4] (vsnprintf): Likewise.
19354 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19356 [XPG3 || XPG4] (blksize_t): Likewise.
19357 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19359 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19360 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19361 [XPG3 || XPG4] (struct itimerspec): Likewise.
19362 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19363 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19364 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19365 [XPG3 || XPG4] (clockid_t): Likewise.
19366 [XPG3 || XPG4] (timer_t): Likewise.
19367 [XPG3 || XPG4] (clock_getres): Likewise.
19368 [XPG3 || XPG4] (clock_gettime): Likewise.
19369 [XPG3 || XPG4] (clock_settime): Likewise.
19370 [XPG3 || XPG4] (nanosleep): Likewise.
19371 [XPG3 || XPG4] (timer_create): Likewise.
19372 [XPG3 || XPG4] (timer_delete): Likewise.
19373 [XPG3 || XPG4] (timer_gettime): Likewise.
19374 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19375 [XPG3 || XPG4] (timer_settime): Likewise.
19376 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19377 [XPG3 || XPG4] (getlogin_r): Likewise.
19378 [XPG3 || XPG4] (pread): Likewise.
19379 [XPG3 || XPG4] (pthread_atfork): Likewise.
19380 [XPG3 || XPG4] (pwrite): Likewise.
19383 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19386 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19388 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19389 finalizing MALLSTREAM.
19391 * sysdeps/mach/hurd/syncfs.c: New file.
19393 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19396 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19397 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19398 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19399 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19400 (_nss_dns_gethostbyname4_r): Likewise.
19401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19402 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19404 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19407 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19409 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19411 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19412 * elf/cache.c (print_entry): Print ",AArch64" for
19415 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19416 * elf/cache.c (print_entry): Print ",hard-float" for
19419 2012-11-18 David S. Miller <davem@davemloft.net>
19421 With help from Joseph Myers.
19422 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19424 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19426 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19427 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19429 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19430 * math/libm-test.inc (y0_test): New tests.
19431 (y1_test): New tests.
19432 * sysdeps/i386/fpu/libm-test-ulps: Update.
19433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19436 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19438 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19440 * configure: Regenerated.
19442 2012-11-17 David S. Miller <davem@davemloft.net>
19445 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19446 nonzero exponents with absolute value below 0x1p-128 to +/-
19449 2012-11-17 Joseph Myers <joseph@codesourcery.com>
19451 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19453 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19455 * posix/getconf-speclist.c: New file.
19456 * posix/posix-envs.def: Likewise.
19457 * posix/confstr.c (START_ENV_GROUP): New macro.
19458 (END_ENV_GROUP): Likewise.
19459 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19460 (KNOWN_PRESENT_ENV_STRING): Likewise.
19461 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19462 (UNKNOWN_ENVIRONMENT): Likewise.
19463 (confstr): Include posix-envs.def instead of handling
19464 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19465 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19466 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19467 (END_ENV_GROUP): Likewise.
19468 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19469 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19470 (UNKNOWN_ENVIRONMENT): Likewise.
19471 (__sysconf): Include posix-envs.def instead of handling associated
19472 cases directly here.
19473 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19474 preprocessing getconf-speclist.c rather than running getconf or
19475 generating empty file.
19477 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19479 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19481 2012-11-16 Andrej Lajovic <natrij@gmail.com>
19484 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19486 2012-11-16 David S. Miller <davem@davemloft.net>
19488 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19489 smaller than LDBL_EPSILON/2.0L, just return xm1.
19491 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19493 * elf/tst-array1.c (init): Set constructor priority to 1000.
19494 (fini): Set destructor priority to 1000.
19495 * elf/tst-array2dep.c: Likewise.
19497 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19500 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19501 (_IO_new_file_xsputn): Also return EOF if none of the input
19502 data was written when overflow failed.
19503 * libio/iopadn.c (_IO_padn): Likewise.
19504 * libio/iowpadn.c (_IO_wpadn): Likewise.
19505 * stdio-common/tst-put-error.c: Add copyright notice.
19506 (do_test): Add case for printing padded string.
19507 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19508 _IO_padn returned error.
19509 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19510 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19513 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19515 * libio/libioP.h: Add comment note that the references to C++
19516 bits are now obsolete.
19518 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19520 * math/libm-test.inc (check_complex): Use asprintf.
19522 2012-11-14 Joseph Myers <joseph@codesourcery.com>
19524 * debug/pcprofiledump.c (print_version): Update copyright year.
19525 * malloc/memusagestat.c (print_version): Likewise.
19527 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19530 * elf/Makefile (tests): Add tst-audit8.
19531 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19532 ($(objpfx)tst-audit8.out): New target.
19533 (tst-audit8-ENV): New variable.
19534 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19535 audit if l_reloc_result is NULL.
19536 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19537 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19538 * elf/tst-audit8.c: New file.
19540 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19542 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19543 * misc/Makefile (CFLAGS-select.c): Define.
19544 * posix/Makefile (CFLAGS-pause.c): Define.
19546 2012-11-13 David S. Miller <davem@davemloft.net>
19548 * crypt/Makefile: Move test targets after toplevel Rules
19549 inclusion. Grab any necessary sysdep routines when linking.
19550 * crypt/md5.c (md5_process_block): Remove define, we will always
19551 name it __md5_process_block.
19552 (md5_finish_ctx): Update md5_process_block call.
19553 (md5_stream): Likewise.
19554 (md5_process_bytes): Likewise.
19555 (md5_process_block): Rename to __md5_process_block and move to ...
19556 * crypt/md5-block.c: ... here.
19557 * crypt/sha256.c (sha256_process_block): Move to ...
19558 * crypt/sha256-block.c: ... here.
19559 * crypt/sha512.c (sha512_process_block): Move to ...
19560 * crypt/sha512-block.c: ... here.
19561 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19563 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19564 * sysdeps/sparc/sparc64/multiarch/Makefile
19565 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19567 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19568 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19570 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19571 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19572 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19573 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19574 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19575 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19576 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19577 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19578 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19580 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19581 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19583 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19585 2012-11-13 Joseph Myers <joseph@codesourcery.com>
19587 * timezone/tzselect.ksh: Update from tzcode git revision
19588 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19589 * timezone/zdump.c: Likewise.
19590 * timezone/zic.c: Likewise.
19591 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19592 in TZVERSION setting, not $(PKGVERSION).
19593 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19594 REPORT_BUGS_TO settings.
19597 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19600 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19602 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19603 detection to immediately after _FP_ROUND().
19604 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19607 2012-11-11 David S. Miller <davem@davemloft.net>
19609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19611 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19612 __close rather than their public counterparts.
19614 2012-11-10 Joseph Myers <joseph@codesourcery.com>
19616 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19618 [UNIX98] (sem_timedwait): Do not expect.
19619 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19620 [XPG4 || UNIX98] (sockatmark): Do not expect.
19621 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19622 (clock_getcpuclockid): Do not expect.
19623 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19624 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19626 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19627 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19628 [UNIX98] (vwscanf): Likewise.
19629 [UNIX98] (vswscanf): Likewise.
19631 2012-11-09 Joseph Myers <joseph@codesourcery.com>
19633 * timezone/version.h: Remove file.
19634 * timezone/README: Do not refer to version.h.
19635 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19636 $(objpfx)version.h.
19637 ($(objpfx)zdump.o): Likewise.
19638 ($(objpfx)version.h): New target.
19640 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19642 * timezone/README: Don't mention modification to tzselect.ksh.
19643 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19644 work on unmodified tzselect.ksh. Substitute version numbers in
19647 * Makefile (format-me): Remove.
19648 (INSTALL): Adjust indentation. Use commands directly instead of
19649 using $(format-me).
19651 * aclocal.m4 (ACX_PKGVERSION): New macro.
19652 (ACX_BUGURL): Likewise.
19653 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19654 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19655 (REPORT_BUGS_TO): Likewise.
19656 * configure: Regenerated.
19657 * config.h.in (PKGVERSION): New macro.
19658 (REPORT_BUGS_TO): Likewise.
19659 * config.make.in (PKGVERSION): New variable.
19660 (PKGVERSION_TEXI): Likewise.
19661 (REPORT_BUGS_TO): Likewise.
19662 (REPORT_BUGS_TEXI): Likewise.
19663 * Makefile (format-me): Use -I$(common-objpfx)manual.
19664 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19665 ($(common-objpfx)manual/%): New target.
19666 (manual/%): Remove target.
19667 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19668 (print_version): Use PKGVERSION.
19669 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19670 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19671 and REPORT_BUGS_TO.
19672 ($(objpfx)xtrace): Likewise.
19673 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19674 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19675 (print_version): Use PKGVERSION.
19676 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19677 (do_version): Use PKGVERSION.
19678 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19680 (common-ldd-rewrite): Likewise.
19681 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19682 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19683 (print_version): Use PKGVERSION.
19684 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19685 * elf/pldd.c (argp_program_bug_address): Remove variable.
19686 (more_help): New function.
19687 (argp): Use more_help.
19688 (print_version): Use PKGVERSION.
19689 * elf/sln.c (main): Use PKGVERSION.
19690 (usage): Use REPORT_BUGS_TO.
19691 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19692 (top level): Use PKGVERSION.
19693 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19694 (print_version): Use PKGVERSION.
19695 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19696 (print_version): Use PKGVERSION.
19697 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19698 (print_version): Use PKGVERSION.
19699 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19700 (print_version): Use PKGVERSION.
19701 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19702 (print_version): Use PKGVERSION.
19703 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19704 (print_version): Use PKGVERSION.
19705 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19707 ($(objpfx)memusage): Likewise.
19708 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19709 (do_version): Use PKGVERSION.
19710 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19711 (print_version): Use PKGVERSION.
19712 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19713 ($PKGVERSION): New variable.
19714 ($REPORT_BUGS_TO): Likewise.
19715 (usage): Use $REPORT_BUGS_TO.
19716 (top level): Use $PKGVERSION.
19717 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19718 ($(objpfx)pkgvers.texi): New rule.
19719 ($(objpfx)stamp-pkgvers): Likewise.
19720 * manual/install.texi: Include pkgvers.texi.
19721 (--with-pkgversion): Document new configure option.
19722 (--with-bugurl): Likewise.
19723 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19724 than necessarily for this particular distribution. Use
19725 REPORT_BUGS_TO for where to report bugs.
19726 * INSTALL: Regenerated.
19727 * manual/libc.texinfo: Include pkgvers.texi.
19728 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19729 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19730 (print_version): Use PKGVERSION.
19731 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19732 (print_version): Use PKGVERSION.
19733 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19734 (print_version): Use PKGVERSION.
19735 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19736 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19738 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19739 (print_version): Use PKGVERSION.
19740 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19741 (print_version): Use PKGVERSION.
19742 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19745 * timezone/checktab.awk: Update from tzcode 2012i.
19746 * timezone/ialloc.c: Likewise.
19747 * timezone/private.h: Likewise.
19748 * timezone/scheck.c: Likewise.
19749 * timezone/tzfile.h: Likewise.
19750 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19751 (TZVERSION): Hardcode tzcode version number.
19752 * timezone/zdump.c: Update from tzcode 2012i.
19753 * timezone/zic.c: Likewise.
19754 * timezone/version.h: New file.
19755 * timezone/README: Describe version.h. Update upstream location.
19758 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19759 (mktemp): Enable declaration.
19760 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19761 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19762 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19763 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19765 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19767 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19769 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19771 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19777 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19778 offset in buffer as u_int32_t not u_long. Consistently use memcpy
19779 for copies of such integer values.
19780 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19781 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19783 2012-11-09 Andreas Jaeger <aj@suse.de>
19785 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19786 definitions and declarations that are provided by
19787 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19789 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19791 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19792 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19793 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19796 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19798 * elf/elf.h: Update comment before AArch64 relocations.
19800 2012-11-07 David S. Miller <davem@davemloft.net>
19802 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19803 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19804 (__start_context): Declare.
19805 (__makecontext_ret): Delete.
19806 (__makecontext): Hook up __start_context instead of
19808 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19809 (sysdep_routines): Add __start_context when in stdlib.
19811 2012-11-07 Joseph Myers <joseph@codesourcery.com>
19813 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19814 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19815 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
19817 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
19818 (READELF): New variable. Use it instead of hardcoded "readelf".
19820 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
19822 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19823 * sysdeps/x86/Makefile: Here.
19824 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19825 * sysdeps/x86/tst-xmmymm.sh: This.
19827 2012-11-07 Joseph Myers <joseph@codesourcery.com>
19829 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19831 [UNIX98] (pthread_barrier_t): Do not expect.
19832 [UNIX98] (pthread_barrierattr_t): Likewise.
19833 [UNIX98] (pthread_spinlock_t): Likewise.
19834 [UNIX98] (pthread_barrier_destroy): Likewise.
19835 [UNIX98] (pthread_barrier_init): Likewise.
19836 [UNIX98] (pthread_barrier_wait): Likewise.
19837 [UNIX98] (pthread_barrierattr_destroy): Likewise.
19838 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19839 [UNIX98] (pthread_barrierattr_init): Likewise.
19840 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19841 [UNIX98] (pthread_getcpuclockid): Likewise.
19842 [UNIX98] (pthread_mutex_timedlock): Likewise.
19843 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19844 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19845 [UNIX98] (pthread_sigmask): Likewise.
19846 [UNIX98] (pthread_spin_destroy): Likewise.
19847 [UNIX98] (pthread_spin_init): Likewise.
19848 [UNIX98] (pthread_spin_lock): Likewise.
19849 [UNIX98] (pthread_spin_trylock): Likewise.
19850 [UNIX98] (pthread_spin_unlock): Likewise.
19851 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19853 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19855 [XPG3 || XPG4] (pthread_cond_t): Likewise.
19856 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19857 [XPG3 || XPG4] (pthread_key_t): Likewise.
19858 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19859 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19860 [XPG3 || XPG4] (pthread_once_t): Likewise.
19861 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19862 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19863 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19864 [XPG3 || XPG4] (pthread_t): Likewise.
19866 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19868 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19870 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19871 Change function return type to int.
19873 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19874 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19875 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19876 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19877 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19878 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19879 [!POSIX] (posix_madvise): Likewise.
19880 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19882 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19883 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19884 (mode_t): Likewise.
19885 (posix_mem_offset): Likewise.
19886 (posix_typed_mem_get_info): Likewise.
19887 (posix_typed_mem_open): Likewise.
19889 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19890 Change condition to [XOPEN2K8].
19892 * conform/conformtest.pl: Preprocess allow-header data with -x c
19893 instead of from stdin.
19894 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19895 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19896 [C99-based standards] (cerfc): Likewise.
19897 [C99-based standards] (cexp2): Likewise.
19898 [C99-based standards] (cexpm1): Likewise.
19899 [C99-based standards] (clog10): Likewise.
19900 [C99-based standards] (clog1p): Likewise.
19901 [C99-based standards] (clog2): Likewise.
19902 [C99-based standards] (clgamma): Likewise.
19903 [C99-based standards] (ctgamma): Likewise.
19904 [C99-based standards] (cerff): Likewise.
19905 [C99-based standards] (cerfcf): Likewise.
19906 [C99-based standards] (cexp2f): Likewise.
19907 [C99-based standards] (cexpm1f): Likewise.
19908 [C99-based standards] (clog10f): Likewise.
19909 [C99-based standards] (clog1pf): Likewise.
19910 [C99-based standards] (clog2f): Likewise.
19911 [C99-based standards] (clgammaf): Likewise.
19912 [C99-based standards] (ctgammaf): Likewise.
19913 [C99-based standards] (cerfl): Likewise.
19914 [C99-based standards] (cerfcl): Likewise.
19915 [C99-based standards] (cexp2l): Likewise.
19916 [C99-based standards] (cexpm1l): Likewise.
19917 [C99-based standards] (clog10l): Likewise.
19918 [C99-based standards] (clog1pl): Likewise.
19919 [C99-based standards] (clog2l): Likewise.
19920 [C99-based standards] (clgammal): Likewise.
19921 [C99-based standards] (ctgammal): Likewise.
19922 * conform/data/inttypes.h-data [C99-based standards]: Include
19923 stdint.h-data. Remove all expectations for stdint.h contents.
19924 [C99-based standards] (PRI*): Do not allow.
19925 [C99-based standards] (SCN*): Likewise.
19926 [C99-based standards] (*_t): Likewise.
19927 [C99-based-standards] (PRId8): Expect macro.
19928 [C99-based-standards] (PRIi8): Likewise.
19929 [C99-based-standards] (PRIo8): Likewise.
19930 [C99-based-standards] (PRIu8): Likewise.
19931 [C99-based-standards] (PRIx8): Likewise.
19932 [C99-based-standards] (PRIX8): Likewise.
19933 [C99-based-standards] (SCNd8): Likewise.
19934 [C99-based-standards] (SCNi8): Likewise.
19935 [C99-based-standards] (SCNo8): Likewise.
19936 [C99-based-standards] (SCNu8): Likewise.
19937 [C99-based-standards] (SCNx8): Likewise.
19938 [C99-based-standards] (PRIdLEAST8): Likewise.
19939 [C99-based-standards] (PRIiLEAST8): Likewise.
19940 [C99-based-standards] (PRIoLEAST8): Likewise.
19941 [C99-based-standards] (PRIuLEAST8): Likewise.
19942 [C99-based-standards] (PRIxLEAST8): Likewise.
19943 [C99-based-standards] (PRIXLEAST8): Likewise.
19944 [C99-based-standards] (SCNdLEAST8): Likewise.
19945 [C99-based-standards] (SCNiLEAST8): Likewise.
19946 [C99-based-standards] (SCNoLEAST8): Likewise.
19947 [C99-based-standards] (SCNuLEAST8): Likewise.
19948 [C99-based-standards] (SCNxLEAST8): Likewise.
19949 [C99-based-standards] (PRIdFAST8): Likewise.
19950 [C99-based-standards] (PRIiFAST8): Likewise.
19951 [C99-based-standards] (PRIoFAST8): Likewise.
19952 [C99-based-standards] (PRIuFAST8): Likewise.
19953 [C99-based-standards] (PRIxFAST8): Likewise.
19954 [C99-based-standards] (PRIXFAST8): Likewise.
19955 [C99-based-standards] (SCNdFAST8): Likewise.
19956 [C99-based-standards] (SCNiFAST8): Likewise.
19957 [C99-based-standards] (SCNoFAST8): Likewise.
19958 [C99-based-standards] (SCNuFAST8): Likewise.
19959 [C99-based-standards] (SCNxFAST8): Likewise.
19960 [C99-based-standards] (PRId16): Likewise.
19961 [C99-based-standards] (PRIi16): Likewise.
19962 [C99-based-standards] (PRIo16): Likewise.
19963 [C99-based-standards] (PRIu16): Likewise.
19964 [C99-based-standards] (PRIx16): Likewise.
19965 [C99-based-standards] (PRIX16): Likewise.
19966 [C99-based-standards] (SCNd16): Likewise.
19967 [C99-based-standards] (SCNi16): Likewise.
19968 [C99-based-standards] (SCNo16): Likewise.
19969 [C99-based-standards] (SCNu16): Likewise.
19970 [C99-based-standards] (SCNx16): Likewise.
19971 [C99-based-standards] (PRIdLEAST16): Likewise.
19972 [C99-based-standards] (PRIiLEAST16): Likewise.
19973 [C99-based-standards] (PRIoLEAST16): Likewise.
19974 [C99-based-standards] (PRIuLEAST16): Likewise.
19975 [C99-based-standards] (PRIxLEAST16): Likewise.
19976 [C99-based-standards] (PRIXLEAST16): Likewise.
19977 [C99-based-standards] (SCNdLEAST16): Likewise.
19978 [C99-based-standards] (SCNiLEAST16): Likewise.
19979 [C99-based-standards] (SCNoLEAST16): Likewise.
19980 [C99-based-standards] (SCNuLEAST16): Likewise.
19981 [C99-based-standards] (SCNxLEAST16): Likewise.
19982 [C99-based-standards] (PRIdFAST16): Likewise.
19983 [C99-based-standards] (PRIiFAST16): Likewise.
19984 [C99-based-standards] (PRIoFAST16): Likewise.
19985 [C99-based-standards] (PRIuFAST16): Likewise.
19986 [C99-based-standards] (PRIxFAST16): Likewise.
19987 [C99-based-standards] (PRIXFAST16): Likewise.
19988 [C99-based-standards] (SCNdFAST16): Likewise.
19989 [C99-based-standards] (SCNiFAST16): Likewise.
19990 [C99-based-standards] (SCNoFAST16): Likewise.
19991 [C99-based-standards] (SCNuFAST16): Likewise.
19992 [C99-based-standards] (SCNxFAST16): Likewise.
19993 [C99-based-standards] (PRId32): Likewise.
19994 [C99-based-standards] (PRIi32): Likewise.
19995 [C99-based-standards] (PRIo32): Likewise.
19996 [C99-based-standards] (PRIu32): Likewise.
19997 [C99-based-standards] (PRIx32): Likewise.
19998 [C99-based-standards] (PRIX32): Likewise.
19999 [C99-based-standards] (SCNd32): Likewise.
20000 [C99-based-standards] (SCNi32): Likewise.
20001 [C99-based-standards] (SCNo32): Likewise.
20002 [C99-based-standards] (SCNu32): Likewise.
20003 [C99-based-standards] (SCNx32): Likewise.
20004 [C99-based-standards] (PRIdLEAST32): Likewise.
20005 [C99-based-standards] (PRIiLEAST32): Likewise.
20006 [C99-based-standards] (PRIoLEAST32): Likewise.
20007 [C99-based-standards] (PRIuLEAST32): Likewise.
20008 [C99-based-standards] (PRIxLEAST32): Likewise.
20009 [C99-based-standards] (PRIXLEAST32): Likewise.
20010 [C99-based-standards] (SCNdLEAST32): Likewise.
20011 [C99-based-standards] (SCNiLEAST32): Likewise.
20012 [C99-based-standards] (SCNoLEAST32): Likewise.
20013 [C99-based-standards] (SCNuLEAST32): Likewise.
20014 [C99-based-standards] (SCNxLEAST32): Likewise.
20015 [C99-based-standards] (PRIdFAST32): Likewise.
20016 [C99-based-standards] (PRIiFAST32): Likewise.
20017 [C99-based-standards] (PRIoFAST32): Likewise.
20018 [C99-based-standards] (PRIuFAST32): Likewise.
20019 [C99-based-standards] (PRIxFAST32): Likewise.
20020 [C99-based-standards] (PRIXFAST32): Likewise.
20021 [C99-based-standards] (SCNdFAST32): Likewise.
20022 [C99-based-standards] (SCNiFAST32): Likewise.
20023 [C99-based-standards] (SCNoFAST32): Likewise.
20024 [C99-based-standards] (SCNuFAST32): Likewise.
20025 [C99-based-standards] (SCNxFAST32): Likewise.
20026 [C99-based-standards] (PRId64): Likewise.
20027 [C99-based-standards] (PRIi64): Likewise.
20028 [C99-based-standards] (PRIo64): Likewise.
20029 [C99-based-standards] (PRIu64): Likewise.
20030 [C99-based-standards] (PRIx64): Likewise.
20031 [C99-based-standards] (PRIX64): Likewise.
20032 [C99-based-standards] (SCNd64): Likewise.
20033 [C99-based-standards] (SCNi64): Likewise.
20034 [C99-based-standards] (SCNo64): Likewise.
20035 [C99-based-standards] (SCNu64): Likewise.
20036 [C99-based-standards] (SCNx64): Likewise.
20037 [C99-based-standards] (PRIdLEAST64): Likewise.
20038 [C99-based-standards] (PRIiLEAST64): Likewise.
20039 [C99-based-standards] (PRIoLEAST64): Likewise.
20040 [C99-based-standards] (PRIuLEAST64): Likewise.
20041 [C99-based-standards] (PRIxLEAST64): Likewise.
20042 [C99-based-standards] (PRIXLEAST64): Likewise.
20043 [C99-based-standards] (SCNdLEAST64): Likewise.
20044 [C99-based-standards] (SCNiLEAST64): Likewise.
20045 [C99-based-standards] (SCNoLEAST64): Likewise.
20046 [C99-based-standards] (SCNuLEAST64): Likewise.
20047 [C99-based-standards] (SCNxLEAST64): Likewise.
20048 [C99-based-standards] (PRIdFAST64): Likewise.
20049 [C99-based-standards] (PRIiFAST64): Likewise.
20050 [C99-based-standards] (PRIoFAST64): Likewise.
20051 [C99-based-standards] (PRIuFAST64): Likewise.
20052 [C99-based-standards] (PRIxFAST64): Likewise.
20053 [C99-based-standards] (PRIXFAST64): Likewise.
20054 [C99-based-standards] (SCNdFAST64): Likewise.
20055 [C99-based-standards] (SCNiFAST64): Likewise.
20056 [C99-based-standards] (SCNoFAST64): Likewise.
20057 [C99-based-standards] (SCNuFAST64): Likewise.
20058 [C99-based-standards] (SCNxFAST64): Likewise.
20059 [C99-based-standards] (PRIdMAX): Likewise.
20060 [C99-based-standards] (PRIiMAX): Likewise.
20061 [C99-based-standards] (PRIoMAX): Likewise.
20062 [C99-based-standards] (PRIuMAX): Likewise.
20063 [C99-based-standards] (PRIxMAX): Likewise.
20064 [C99-based-standards] (PRIXMAX): Likewise.
20065 [C99-based-standards] (SCNdMAX): Likewise.
20066 [C99-based-standards] (SCNiMAX): Likewise.
20067 [C99-based-standards] (SCNoMAX): Likewise.
20068 [C99-based-standards] (SCNuMAX): Likewise.
20069 [C99-based-standards] (SCNxMAX): Likewise.
20070 [C99-based-standards] (PRIdPTR): Likewise.
20071 [C99-based-standards] (PRIiPTR): Likewise.
20072 [C99-based-standards] (PRIoPTR): Likewise.
20073 [C99-based-standards] (PRIuPTR): Likewise.
20074 [C99-based-standards] (PRIxPTR): Likewise.
20075 [C99-based-standards] (PRIXPTR): Likewise.
20076 [C99-based-standards] (SCNdPTR): Likewise.
20077 [C99-based-standards] (SCNiPTR): Likewise.
20078 [C99-based-standards] (SCNoPTR): Likewise.
20079 [C99-based-standards] (SCNuPTR): Likewise.
20080 [C99-based-standards] (SCNxPTR): Likewise.
20081 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20083 * conform/data/stdint.h-data: Update comments to clarify
20085 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20087 [C99-based standards] (INT8_MAX): Likewise.
20088 [C99-based standards] (INT16_MIN): Likewise.
20089 [C99-based standards] (INT16_MAX): Likewise.
20090 [C99-based standards] (INT32_MIN): Likewise.
20091 [C99-based standards] (INT32_MAX): Likewise.
20092 [C99-based standards] (INT64_MIN): Likewise.
20093 [C99-based standards] (INT64_MAX): Likewise.
20094 [C99-based standards] (UINT8_MAX): Likewise.
20095 [C99-based standards] (UINT16_MAX): Likewise.
20096 [C99-based standards] (UINT32_MAX): Likewise.
20097 [C99-based standards] (UINT64_MAX): Likewise.
20098 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20099 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20100 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20101 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20102 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20103 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20104 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20105 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20106 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20107 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20108 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20109 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20110 [C99-based standards] (INT_FAST8_MIN): Likewise.
20111 [C99-based standards] (INT_FAST8_MAX): Likewise.
20112 [C99-based standards] (INT_FAST16_MIN): Likewise.
20113 [C99-based standards] (INT_FAST16_MAX): Likewise.
20114 [C99-based standards] (INT_FAST32_MIN): Likewise.
20115 [C99-based standards] (INT_FAST32_MAX): Likewise.
20116 [C99-based standards] (INT_FAST64_MIN): Likewise.
20117 [C99-based standards] (INT_FAST64_MAX): Likewise.
20118 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20119 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20120 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20121 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20122 [C99-based standards] (INTPTR_MIN): Likewise.
20123 [C99-based standards] (INTPTR_MAX): Likewise.
20124 [C99-based standards] (UINTPTR_MAX): Likewise.
20125 [C99-based standards] (INTMAX_MIN): Likewise.
20126 [C99-based standards] (INTMAX_MAX): Likewise.
20127 [C99-based standards] (UINTMAX_MAX): Likewise.
20128 [C99-based standards] (PTRDIFF_MIN): Likewise.
20129 [C99-based standards] (PTRDIFF_MAX): Likewise.
20130 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20131 [C99-based standards] (SIZE_MAX): Likewise.
20132 [C99-based standards] (WCHAR_MAX): Likewise.
20133 [C99-based standards] (WINT_MAX): Likewise.
20134 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20135 constraint on value.
20136 [C99-based standards] (WCHAR_MIN): Likewise.
20137 [C99-based standards] (WINT_MIN): Likewise.
20138 [C99-based standards] (*_t): Allow.
20139 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20140 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20141 Include math.h-data and complex.h-data. Remove all expectations
20142 of math.h and complex.h contents.
20143 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20145 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20146 (struct tm): Expect tag.
20147 [C99-based-standards] (wcstof): Expect function.
20148 [C99-based-standards] (wcstold): Likewise.
20149 [C99-based-standards] (wcstoll): Likewise.
20150 [C99-based-standards] (wcstoull): Likewise.
20151 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20152 macro-int-constant. Specify type.
20153 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20154 constraint on value.
20155 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20157 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20159 [ISO C standards]: Do not allow headers.
20160 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20161 wcs[abcdefghijklmnopqrstuvwxyz]*.
20162 [ISO C standards] (*_t): Do not allow.
20163 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20165 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20166 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20168 [ISO C standards]: Do not allow headers.
20169 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20170 is[abcdefghijklmnopqrstuvwxyz]*.
20171 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20172 to[abcdefghijklmnopqrstuvwxyz]*.
20173 [ISO C standards] (*_t): Do not allow.
20174 * conform/data/stdalign.h-data: New file.
20175 * conform/data/stdbool.h-data: Likewise.
20176 * conform/data/stdnoreturn.h-data: Likewise.
20178 2012-11-07 Roland McGrath <roland@hack.frob.com>
20181 * manual/filesys.texi (Directory Entries): Typo fix.
20182 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20184 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20186 * elf/elf.h (EM_AARCH64): New macro.
20187 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20188 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20189 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20190 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20191 (R_AARCH64_TLSDESC): Likewise.
20192 (NT_ARM_TLS): Likewise.
20193 (NT_ARM_HW_BREAK): Likewise.
20194 (NT_ARM_HW_WATCH): Likewise.
20196 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20199 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20200 (__ieee754_powl): Saturate nonzero exponents with absolute value
20201 below 0x1p-79 to +/- 0x1p-79.
20202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20203 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20204 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20205 nonzero exponents with absolute value below 0x1p-32 to +/-
20207 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20208 (__ieee754_powl): Saturate nonzero exponents with absolute value
20209 below 0x1p-79 to +/- 0x1p-79.
20210 * math/libm-test.inc (pow_test): Add more tests.
20212 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20214 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20215 _dl_s390_cap_flags with kernel. Increase string length.
20216 (_dl_s390_platforms): Add z196 and zEC12.
20218 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20220 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20221 Change XOPEN21K to XOPEN2K.
20223 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20225 * string/memmove.c: Use memcpy when possible.
20227 2012-11-06 Andreas Jaeger <aj@suse.de>
20229 * po/eo.po: Update from translation team.
20231 2012-11-06 Joseph Myers <joseph@codesourcery.com>
20234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20235 exponent and small x and y exponents, scale x or y up. Increase
20236 by 2 the exponent used in scaling up.
20237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20239 * math/libm-test.inc (fma_test): Add more tests.
20240 (fma_test_towardzero): Likewise.
20241 (fma_test_downward): Likewise.
20242 (fma_test_upward): Likewise.
20244 2012-11-05 Joseph Myers <joseph@codesourcery.com>
20247 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20251 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20252 namespace for names of struct fields.
20253 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20255 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20256 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20258 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20261 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20263 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20265 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20269 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20272 2012-11-04 Joseph Myers <joseph@codesourcery.com>
20275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20276 definitely overflow as x * y not x * y + z.
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-04 Thomas Schwinge <thomas@codesourcery.com>
20288 * include/stub-tag.h: Remove file.
20289 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20291 * manual/maint.texi (Porting): Don't reference it.
20292 * Makerules ($(objpfx)stubs): Likewise.
20293 * dirent/closedir.c: Don't include <stub-tag.h>.
20294 * dirent/dirfd.c: Likewise.
20295 * dirent/fdopendir.c: Likewise.
20296 * dirent/getdents.c: Likewise.
20297 * dirent/getdents64.c: Likewise.
20298 * dirent/opendir.c: Likewise.
20299 * dirent/readdir.c: Likewise.
20300 * dirent/readdir64.c: Likewise.
20301 * dirent/readdir64_r.c: Likewise.
20302 * dirent/readdir_r.c: Likewise.
20303 * dirent/rewinddir.c: Likewise.
20304 * dirent/seekdir.c: Likewise.
20305 * dirent/telldir.c: Likewise.
20306 * gmon/profil.c: Likewise.
20307 * grp/setgroups.c: Likewise.
20308 * inet/if_index.c: Likewise.
20309 * io/access.c: Likewise.
20310 * io/chdir.c: Likewise.
20311 * io/chmod.c: Likewise.
20312 * io/chown.c: Likewise.
20313 * io/close.c: Likewise.
20314 * io/dup.c: Likewise.
20315 * io/dup2.c: Likewise.
20316 * io/dup3.c: Likewise.
20317 * io/euidaccess.c: Likewise.
20318 * io/faccessat.c: Likewise.
20319 * io/fchdir.c: Likewise.
20320 * io/fchmod.c: Likewise.
20321 * io/fchmodat.c: Likewise.
20322 * io/fchown.c: Likewise.
20323 * io/fchownat.c: Likewise.
20324 * io/fcntl.c: Likewise.
20325 * io/flock.c: Likewise.
20326 * io/fstatfs.c: Likewise.
20327 * io/fstatfs64.c: Likewise.
20328 * io/fstatvfs.c: Likewise.
20329 * io/fstatvfs64.c: Likewise.
20330 * io/futimens.c: Likewise.
20331 * io/fxstat.c: Likewise.
20332 * io/fxstat64.c: Likewise.
20333 * io/fxstatat.c: Likewise.
20334 * io/fxstatat64.c: Likewise.
20335 * io/getcwd.c: Likewise.
20336 * io/isatty.c: Likewise.
20337 * io/lchmod.c: Likewise.
20338 * io/lchown.c: Likewise.
20339 * io/link.c: Likewise.
20340 * io/linkat.c: Likewise.
20341 * io/lseek.c: Likewise.
20342 * io/lseek64.c: Likewise.
20343 * io/lxstat64.c: Likewise.
20344 * io/mkdir.c: Likewise.
20345 * io/mkdirat.c: Likewise.
20346 * io/mkfifo.c: Likewise.
20347 * io/mkfifoat.c: Likewise.
20348 * io/open.c: Likewise.
20349 * io/open64.c: Likewise.
20350 * io/openat.c: Likewise.
20351 * io/openat64.c: Likewise.
20352 * io/pipe.c: Likewise.
20353 * io/pipe2.c: Likewise.
20354 * io/poll.c: Likewise.
20355 * io/posix_fadvise.c: Likewise.
20356 * io/posix_fadvise64.c: Likewise.
20357 * io/posix_fallocate.c: Likewise.
20358 * io/posix_fallocate64.c: Likewise.
20359 * io/read.c: Likewise.
20360 * io/readlink.c: Likewise.
20361 * io/readlinkat.c: Likewise.
20362 * io/rmdir.c: Likewise.
20363 * io/sendfile.c: Likewise.
20364 * io/sendfile64.c: Likewise.
20365 * io/statfs.c: Likewise.
20366 * io/statfs64.c: Likewise.
20367 * io/statvfs.c: Likewise.
20368 * io/statvfs64.c: Likewise.
20369 * io/symlink.c: Likewise.
20370 * io/symlinkat.c: Likewise.
20371 * io/ttyname.c: Likewise.
20372 * io/ttyname_r.c: Likewise.
20373 * io/umask.c: Likewise.
20374 * io/unlink.c: Likewise.
20375 * io/unlinkat.c: Likewise.
20376 * io/utime.c: Likewise.
20377 * io/utimensat.c: Likewise.
20378 * io/write.c: Likewise.
20379 * io/xmknod.c: Likewise.
20380 * io/xmknodat.c: Likewise.
20381 * io/xstat.c: Likewise.
20382 * io/xstat64.c: Likewise.
20383 * login/getpt.c: Likewise.
20384 * login/grantpt.c: Likewise.
20385 * login/unlockpt.c: Likewise.
20386 * math/e_acoshl.c: Likewise.
20387 * math/e_acosl.c: Likewise.
20388 * math/e_asinl.c: Likewise.
20389 * math/e_atan2l.c: Likewise.
20390 * math/e_atanhl.c: Likewise.
20391 * math/e_coshl.c: Likewise.
20392 * math/e_expl.c: Likewise.
20393 * math/e_fmodl.c: Likewise.
20394 * math/e_gammal_r.c: Likewise.
20395 * math/e_hypotl.c: Likewise.
20396 * math/e_j0l.c: Likewise.
20397 * math/e_j1l.c: Likewise.
20398 * math/e_jnl.c: Likewise.
20399 * math/e_lgammal_r.c: Likewise.
20400 * math/e_log10l.c: Likewise.
20401 * math/e_log2l.c: Likewise.
20402 * math/e_logl.c: Likewise.
20403 * math/e_powl.c: Likewise.
20404 * math/e_rem_pio2l.c: Likewise.
20405 * math/e_sinhl.c: Likewise.
20406 * math/e_sqrtl.c: Likewise.
20407 * math/fclrexcpt.c: Likewise.
20408 * math/fedisblxcpt.c: Likewise.
20409 * math/feenablxcpt.c: Likewise.
20410 * math/fegetenv.c: Likewise.
20411 * math/fegetexcept.c: Likewise.
20412 * math/fegetround.c: Likewise.
20413 * math/feholdexcpt.c: Likewise.
20414 * math/fesetenv.c: Likewise.
20415 * math/fesetround.c: Likewise.
20416 * math/feupdateenv.c: Likewise.
20417 * math/fgetexcptflg.c: Likewise.
20418 * math/fraiseexcpt.c: Likewise.
20419 * math/fsetexcptflg.c: Likewise.
20420 * math/ftestexcept.c: Likewise.
20421 * math/k_cosl.c: Likewise.
20422 * math/k_rem_pio2l.c: Likewise.
20423 * math/k_sinl.c: Likewise.
20424 * math/k_tanl.c: Likewise.
20425 * math/s_asinhl.c: Likewise.
20426 * math/s_atanl.c: Likewise.
20427 * math/s_cbrtl.c: Likewise.
20428 * math/s_erfl.c: Likewise.
20429 * math/s_expm1l.c: Likewise.
20430 * math/s_log1pl.c: Likewise.
20431 * math/s_tanhl.c: Likewise.
20432 * misc/acct.c: Likewise.
20433 * misc/brk.c: Likewise.
20434 * misc/chflags.c: Likewise.
20435 * misc/chroot.c: Likewise.
20436 * misc/fchflags.c: Likewise.
20437 * misc/fgetxattr.c: Likewise.
20438 * misc/flistxattr.c: Likewise.
20439 * misc/fremovexattr.c: Likewise.
20440 * misc/fsetxattr.c: Likewise.
20441 * misc/fsync.c: Likewise.
20442 * misc/ftruncate.c: Likewise.
20443 * misc/futimes.c: Likewise.
20444 * misc/futimesat.c: Likewise.
20445 * misc/getdomain.c: Likewise.
20446 * misc/getdtsz.c: Likewise.
20447 * misc/gethostid.c: Likewise.
20448 * misc/gethostname.c: Likewise.
20449 * misc/getloadavg.c: Likewise.
20450 * misc/getpagesize.c: Likewise.
20451 * misc/getsysstats.c: Likewise.
20452 * misc/getxattr.c: Likewise.
20453 * misc/gtty.c: Likewise.
20454 * misc/ioctl.c: Likewise.
20455 * misc/lgetxattr.c: Likewise.
20456 * misc/listxattr.c: Likewise.
20457 * misc/llistxattr.c: Likewise.
20458 * misc/lremovexattr.c: Likewise.
20459 * misc/lsetxattr.c: Likewise.
20460 * misc/lutimes.c: Likewise.
20461 * misc/madvise.c: Likewise.
20462 * misc/mincore.c: Likewise.
20463 * misc/mlock.c: Likewise.
20464 * misc/mlockall.c: Likewise.
20465 * misc/mmap.c: Likewise.
20466 * misc/mprotect.c: Likewise.
20467 * misc/msync.c: Likewise.
20468 * misc/munlock.c: Likewise.
20469 * misc/munlockall.c: Likewise.
20470 * misc/munmap.c: Likewise.
20471 * misc/preadv.c: Likewise.
20472 * misc/preadv64.c: Likewise.
20473 * misc/ptrace.c: Likewise.
20474 * misc/pwritev.c: Likewise.
20475 * misc/pwritev64.c: Likewise.
20476 * misc/readv.c: Likewise.
20477 * misc/reboot.c: Likewise.
20478 * misc/remap_file_pages.c: Likewise.
20479 * misc/removexattr.c: Likewise.
20480 * misc/revoke.c: Likewise.
20481 * misc/select.c: Likewise.
20482 * misc/setdomain.c: Likewise.
20483 * misc/setegid.c: Likewise.
20484 * misc/seteuid.c: Likewise.
20485 * misc/sethostid.c: Likewise.
20486 * misc/sethostname.c: Likewise.
20487 * misc/setregid.c: Likewise.
20488 * misc/setreuid.c: Likewise.
20489 * misc/setxattr.c: Likewise.
20490 * misc/sstk.c: Likewise.
20491 * misc/stty.c: Likewise.
20492 * misc/swapoff.c: Likewise.
20493 * misc/swapon.c: Likewise.
20494 * misc/sync.c: Likewise.
20495 * misc/syncfs.c: Likewise.
20496 * misc/syscall.c: Likewise.
20497 * misc/truncate.c: Likewise.
20498 * misc/ualarm.c: Likewise.
20499 * misc/usleep.c: Likewise.
20500 * misc/ustat.c: Likewise.
20501 * misc/utimes.c: Likewise.
20502 * misc/vhangup.c: Likewise.
20503 * misc/writev.c: Likewise.
20504 * posix/_exit.c: Likewise.
20505 * posix/alarm.c: Likewise.
20506 * posix/execve.c: Likewise.
20507 * posix/fexecve.c: Likewise.
20508 * posix/fork.c: Likewise.
20509 * posix/fpathconf.c: Likewise.
20510 * posix/getaddrinfo.c: Likewise.
20511 * posix/getegid.c: Likewise.
20512 * posix/geteuid.c: Likewise.
20513 * posix/getgid.c: Likewise.
20514 * posix/getgroups.c: Likewise.
20515 * posix/getlogin.c: Likewise.
20516 * posix/getlogin_r.c: Likewise.
20517 * posix/getpgid.c: Likewise.
20518 * posix/getpid.c: Likewise.
20519 * posix/getppid.c: Likewise.
20520 * posix/getresgid.c: Likewise.
20521 * posix/getresuid.c: Likewise.
20522 * posix/getsid.c: Likewise.
20523 * posix/getuid.c: Likewise.
20524 * posix/glob64.c: Likewise.
20525 * posix/nanosleep.c: Likewise.
20526 * posix/pathconf.c: Likewise.
20527 * posix/pause.c: Likewise.
20528 * posix/posix_madvise.c: Likewise.
20529 * posix/pread.c: Likewise.
20530 * posix/pread64.c: Likewise.
20531 * posix/pwrite.c: Likewise.
20532 * posix/pwrite64.c: Likewise.
20533 * posix/sched_getaffinity.c: Likewise.
20534 * posix/sched_getp.c: Likewise.
20535 * posix/sched_gets.c: Likewise.
20536 * posix/sched_primax.c: Likewise.
20537 * posix/sched_primin.c: Likewise.
20538 * posix/sched_rr_gi.c: Likewise.
20539 * posix/sched_setaffinity.c: Likewise.
20540 * posix/sched_setp.c: Likewise.
20541 * posix/sched_sets.c: Likewise.
20542 * posix/sched_yield.c: Likewise.
20543 * posix/setgid.c: Likewise.
20544 * posix/setlogin.c: Likewise.
20545 * posix/setpgid.c: Likewise.
20546 * posix/setresgid.c: Likewise.
20547 * posix/setresuid.c: Likewise.
20548 * posix/setsid.c: Likewise.
20549 * posix/setuid.c: Likewise.
20550 * posix/sleep.c: Likewise.
20551 * posix/spawni.c: Likewise.
20552 * posix/sysconf.c: Likewise.
20553 * posix/times.c: Likewise.
20554 * posix/wait.c: Likewise.
20555 * posix/wait3.c: Likewise.
20556 * posix/wait4.c: Likewise.
20557 * posix/waitpid.c: Likewise.
20558 * resolv/gai_sigqueue.c: Likewise.
20559 * resource/getpriority.c: Likewise.
20560 * resource/getrlimit.c: Likewise.
20561 * resource/getrusage.c: Likewise.
20562 * resource/nice.c: Likewise.
20563 * resource/setpriority.c: Likewise.
20564 * resource/setrlimit.c: Likewise.
20565 * resource/ulimit.c: Likewise.
20566 * rt/aio_cancel.c: Likewise.
20567 * rt/aio_fsync.c: Likewise.
20568 * rt/aio_read.c: Likewise.
20569 * rt/aio_sigqueue.c: Likewise.
20570 * rt/aio_suspend.c: Likewise.
20571 * rt/aio_write.c: Likewise.
20572 * rt/clock_getres.c: Likewise.
20573 * rt/clock_gettime.c: Likewise.
20574 * rt/clock_nanosleep.c: Likewise.
20575 * rt/clock_settime.c: Likewise.
20576 * rt/lio_listio.c: Likewise.
20577 * rt/mq_close.c: Likewise.
20578 * rt/mq_getattr.c: Likewise.
20579 * rt/mq_notify.c: Likewise.
20580 * rt/mq_open.c: Likewise.
20581 * rt/mq_receive.c: Likewise.
20582 * rt/mq_send.c: Likewise.
20583 * rt/mq_setattr.c: Likewise.
20584 * rt/mq_timedreceive.c: Likewise.
20585 * rt/mq_timedsend.c: Likewise.
20586 * rt/mq_unlink.c: Likewise.
20587 * rt/shm_open.c: Likewise.
20588 * rt/shm_unlink.c: Likewise.
20589 * rt/timer_create.c: Likewise.
20590 * rt/timer_delete.c: Likewise.
20591 * rt/timer_getoverr.c: Likewise.
20592 * rt/timer_gettime.c: Likewise.
20593 * rt/timer_settime.c: Likewise.
20594 * setjmp/__longjmp.c: Likewise.
20595 * setjmp/setjmp.c: Likewise.
20596 * signal/kill.c: Likewise.
20597 * signal/killpg.c: Likewise.
20598 * signal/raise.c: Likewise.
20599 * signal/sigaction.c: Likewise.
20600 * signal/sigaltstack.c: Likewise.
20601 * signal/sigblock.c: Likewise.
20602 * signal/sigignore.c: Likewise.
20603 * signal/sigintr.c: Likewise.
20604 * signal/signal.c: Likewise.
20605 * signal/sigpause.c: Likewise.
20606 * signal/sigpending.c: Likewise.
20607 * signal/sigqueue.c: Likewise.
20608 * signal/sigreturn.c: Likewise.
20609 * signal/sigset.c: Likewise.
20610 * signal/sigsetmask.c: Likewise.
20611 * signal/sigstack.c: Likewise.
20612 * signal/sigsuspend.c: Likewise.
20613 * signal/sigtimedwait.c: Likewise.
20614 * signal/sigvec.c: Likewise.
20615 * signal/sigwait.c: Likewise.
20616 * signal/sigwaitinfo.c: Likewise.
20617 * signal/sysv_signal.c: Likewise.
20618 * socket/accept.c: Likewise.
20619 * socket/accept4.c: Likewise.
20620 * socket/bind.c: Likewise.
20621 * socket/connect.c: Likewise.
20622 * socket/getpeername.c: Likewise.
20623 * socket/getsockname.c: Likewise.
20624 * socket/getsockopt.c: Likewise.
20625 * socket/isfdtype.c: Likewise.
20626 * socket/listen.c: Likewise.
20627 * socket/recv.c: Likewise.
20628 * socket/recvfrom.c: Likewise.
20629 * socket/recvmsg.c: Likewise.
20630 * socket/send.c: Likewise.
20631 * socket/sendmsg.c: Likewise.
20632 * socket/sendto.c: Likewise.
20633 * socket/setsockopt.c: Likewise.
20634 * socket/shutdown.c: Likewise.
20635 * socket/sockatmark.c: Likewise.
20636 * socket/socket.c: Likewise.
20637 * socket/socketpair.c: Likewise.
20638 * stdio-common/ctermid.c: Likewise.
20639 * stdio-common/cuserid.c: Likewise.
20640 * stdio-common/remove.c: Likewise.
20641 * stdio-common/rename.c: Likewise.
20642 * stdio-common/renameat.c: Likewise.
20643 * stdio-common/tempname.c: Likewise.
20644 * stdlib/getcontext.c: Likewise.
20645 * stdlib/makecontext.c: Likewise.
20646 * stdlib/setcontext.c: Likewise.
20647 * stdlib/swapcontext.c: Likewise.
20648 * stdlib/system.c: Likewise.
20649 * streams/fattach.c: Likewise.
20650 * streams/fdetach.c: Likewise.
20651 * streams/getmsg.c: Likewise.
20652 * streams/getpmsg.c: Likewise.
20653 * streams/putmsg.c: Likewise.
20654 * streams/putpmsg.c: Likewise.
20655 * sysdeps/unix/bsd/getpt.c: Likewise.
20656 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20657 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20658 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20661 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20662 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20663 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20664 * sysvipc/msgctl.c: Likewise.
20665 * sysvipc/msgget.c: Likewise.
20666 * sysvipc/msgrcv.c: Likewise.
20667 * sysvipc/msgsnd.c: Likewise.
20668 * sysvipc/semctl.c: Likewise.
20669 * sysvipc/semget.c: Likewise.
20670 * sysvipc/semop.c: Likewise.
20671 * sysvipc/semtimedop.c: Likewise.
20672 * sysvipc/shmat.c: Likewise.
20673 * sysvipc/shmctl.c: Likewise.
20674 * sysvipc/shmdt.c: Likewise.
20675 * sysvipc/shmget.c: Likewise.
20676 * termios/tcdrain.c: Likewise.
20677 * termios/tcflow.c: Likewise.
20678 * termios/tcflush.c: Likewise.
20679 * termios/tcgetattr.c: Likewise.
20680 * termios/tcgetpgrp.c: Likewise.
20681 * termios/tcsendbrk.c: Likewise.
20682 * termios/tcsetattr.c: Likewise.
20683 * termios/tcsetpgrp.c: Likewise.
20684 * time/adjtime.c: Likewise.
20685 * time/clock.c: Likewise.
20686 * time/getitimer.c: Likewise.
20687 * time/gettimeofday.c: Likewise.
20688 * time/setitimer.c: Likewise.
20689 * time/settimeofday.c: Likewise.
20690 * time/stime.c: Likewise.
20691 * time/time.c: Likewise.
20693 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
20695 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20698 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20700 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20702 2012-11-03 Joseph Myers <joseph@codesourcery.com>
20705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20706 FE_TONEAREST before applying Dekker multiplication and Knuth
20707 addition. Clear inexact exceptions and check for exact zero
20708 results afterwards.
20709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20710 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20712 * math/libm-test.inc (fma_test): Add more tests.
20713 (fma_test_towardzero): Likewise.
20714 (fma_test_downward): Likewise.
20715 (fma_test_upward): Likewise.
20716 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20718 (libc_fesetround): New macro.
20719 (libc_fesetroundf): Likewise.
20720 (libc_fesetroundl): Likewise.
20721 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20723 (libc_fesetround_387): Likewise.
20724 (libc_fesetroundf): New macro.
20725 (libc_fesetround): Likewise.
20726 (libc_fesetroundl): Likewise.
20727 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20729 (libc_fesetroundf): New macro.
20730 (libc_fesetround): Likewise.
20731 (libc_fesetroundl): Likewise.
20732 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20733 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20734 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20736 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20737 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20739 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20740 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20742 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20746 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20747 integer constant usable in #if and use that to give value to enum
20749 (FE_DIVBYZERO): Likewise.
20750 (FE_UNDERFLOW): Likewise.
20751 (FE_OVERFLOW): Likewise.
20752 (FE_INVALID): Likewise.
20753 (FE_INVALID_SNAN): Likewise.
20754 (FE_INVALID_ISI): Likewise.
20755 (FE_INVALID_IDI): Likewise.
20756 (FE_INVALID_ZDZ): Likewise.
20757 (FE_INVALID_IMZ): Likewise.
20758 (FE_INVALID_COMPARE): Likewise.
20759 (FE_INVALID_SOFTWARE): Likewise.
20760 (FE_INVALID_SQRT): Likewise.
20761 (FE_INVALID_INTEGER_CONVERSION): Likewise.
20762 (FE_TONEAREST): Likewise.
20763 (FE_TOWARDZERO): Likewise.
20764 (FE_UPWARD): Likewise.
20765 (FE_DOWNWARD): Likewise.
20766 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20767 (FE_DIVBYZERO): Likewise.
20768 (FE_OVERFLOW): Likewise.
20769 (FE_UNDERFLOW): Likewise.
20770 (FE_INEXACT): Likewise.
20771 (FE_TONEAREST): Likewise.
20772 (FE_DOWNWARD): Likewise.
20773 (FE_UPWARD): Likewise.
20774 (FE_TOWARDZERO): Likewise.
20775 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20776 (FE_UNDERFLOW): Likewise.
20777 (FE_OVERFLOW): Likewise.
20778 (FE_DIVBYZERO): Likewise.
20779 (FE_INVALID): Likewise.
20780 (FE_TONEAREST): Likewise.
20781 (FE_TOWARDZERO): Likewise.
20782 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20783 (FE_OVERFLOW): Likewise.
20784 (FE_UNDERFLOW): Likewise.
20785 (FE_DIVBYZERO): Likewise.
20786 (FE_INEXACT): Likewise.
20787 (FE_TONEAREST): Likewise.
20788 (FE_TOWARDZERO): Likewise.
20789 (FE_UPWARD): Likewise.
20790 (FE_DOWNWARD): Likewise.
20791 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20792 (FE_DIVBYZERO): Likewise.
20793 (FE_OVERFLOW): Likewise.
20794 (FE_UNDERFLOW): Likewise.
20795 (FE_INEXACT): Likewise.
20796 (FE_TONEAREST): Likewise.
20797 (FE_DOWNWARD): Likewise.
20798 (FE_UPWARD): Likewise.
20799 (FE_TOWARDZERO): Likewise.
20801 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
20803 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20805 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
20807 * scripts/cross-test-ssh.sh (command): Use newlines to separate
20808 commands. Quote $PWD.
20809 (blacklist_exports): Don't use remove_newlines. Replace "declare
20811 (remove_newlines): Remove.
20813 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
20815 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20816 * stdlib/stdlib.h (atof): Moved to ...
20817 * include/bits/stdlib-float.h: Here. New file.
20818 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20819 * stdlib/bits/stdlib-float.h: New file.
20820 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20822 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20825 2012-11-02 Joseph Myers <joseph@codesourcery.com>
20827 * conform/conformtest.pl (@headers): Add fenv.h.
20828 * conform/data/fenv.h-data: New file.
20829 * include/fenv.h [_ISOMAC]: Disable all contents of file except
20830 include of <math/fenv.h>.
20832 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20833 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20834 && !UNIX98]. Enables tests for XOPEN2K8.
20835 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20836 POSIX2008]: Likewise.
20838 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20839 (struct rusage): Do not expect type or its members.
20842 * math/math.h (FP_NAN): Define macro to integer constant usable in
20843 #if and use that to give value to enum constant.
20844 (FP_INFINITE): Likewise.
20845 (FP_ZERO): Likewise.
20846 (FP_SUBNORMAL): Likewise.
20847 (FP_NORMAL): Likewise.
20849 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
20851 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20852 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20855 2012-11-02 Roland McGrath <roland@hack.frob.com>
20857 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20858 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20859 autoconf-time if not.
20860 * configure.in: Remove AC_PREREQ.
20862 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20864 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20865 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20866 of the internal implementation.
20868 2012-11-02 Joseph Myers <joseph@codesourcery.com>
20870 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20871 except include of <misc/sys/syslog.h>.
20873 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20876 function returns with a NULL context exit with zero.
20878 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20880 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20882 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
20884 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20885 (run_program_cmd): This.
20886 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20887 (tst_langinfo): New variable. Use it.
20889 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
20891 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20892 floating point opcodes.
20894 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20896 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20899 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20901 * sysdeps/mach/hurd/powerpc: Remove directory.
20902 * sysdeps/mach/powerpc: Likewise.
20904 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20906 * scripts/check-local-headers.sh: Ignore c++ headers.
20908 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20910 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20911 __libc_cleanup_region_start argument.
20913 2012-11-01 Joseph Myers <joseph@codesourcery.com>
20917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20918 x * y using scaling, not as x * y + z.
20919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20921 * math/libm-test.inc (fma_test): Add more tests.
20922 (fma_test_towardzero): Likewise.
20923 (fma_test_downward): Likewise.
20924 (fma_test_upward): Likewise.
20926 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20928 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20930 2012-10-31 Joseph Myers <joseph@codesourcery.com>
20932 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
20935 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
20937 * rt/tst-shm.c (worker): Correct checking for mmap failure.
20939 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20946 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20949 Fix the order of the list for glibc 2.17.
20950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20953 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20957 2012-10-31 Joseph Myers <joseph@codesourcery.com>
20960 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
20961 for low part of x being zero before using __atanl (y).
20962 * math/libm-test.inc (atan2_test): Add another test.
20964 * manual/install.texi (Configuring and compiling): Document
20965 general use of test-wrapper and test-wrapper-env.
20966 * INSTALL: Regenerated.
20968 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
20969 (__fma): Do not extract and scale down low bits on after-rounding
20970 systems when result rounded to normal precision would have normal
20972 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
20973 (__fmal): Do not extract and scale down low bits on after-rounding
20974 systems when result rounded to normal precision would have normal
20976 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
20977 (__fmal): Do not extract and scale down low bits on after-rounding
20978 systems when result rounded to normal precision would have normal
20980 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
20982 (fma_test): Add more tests.
20983 (fma_test_towardzero): Likewise.
20984 (fma_test_downward): Likewise.
20985 (fma_test_upward): Likewise.
20987 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
20989 * sysdeps/i386/tininess.h: Renamed to ...
20990 * sysdeps/x86/tininess.h: This.
20991 * sysdeps/x86_64/tininess.h: Removed.
20993 2012-10-30 Joseph Myers <joseph@codesourcery.com>
20995 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
20996 input. Use $(build-program-cmd).
20997 ($(objpfx)tst-array1-static.out): Likewise.
20998 ($(objpfx)tst-array2.out): Likewise.
20999 ($(objpfx)tst-array3.out): Likewise.
21000 ($(objpfx)tst-array4.out): Likewise.
21001 ($(objpfx)tst-array5.out): Likewise.
21002 ($(objpfx)tst-array5-static.out): Likewise.
21004 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21006 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21009 * nss/nsswitch.h (nss_interface_function): Provide new
21010 macro for use with NSS functions.
21011 * grp/initgroups.c: Use new macro.
21012 * nss/getXXbyYY.c: Likewise.
21013 * nss/getXXbyYY_r.c: Likewise.
21014 * nss/getXXent.c: Likewise.
21015 * nss/getXXent_r.c: Likewise.
21016 * sysdeps/posix/getaddrinfo.c: Likewise.
21018 2012-10-30 Andreas Jaeger <aj@suse.de>
21020 * po/ru.po: Update Russion translation from translation project.
21022 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21027 result and shift together with sticky bit instead of replicating
21028 round-to-nearest rounding.
21029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21031 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21032 missing underflow exceptions.
21033 (fma_test_towardzero): Add more tests.
21034 (fma_test_downward): Likewise.
21035 (fma_test_upward): Likewise.
21038 * sysdeps/generic/tininess.h: New file.
21039 * sysdeps/i386/tininess.h: Likewise.
21040 * sysdeps/sh/tininess.h: Likewise.
21041 * sysdeps/x86_64/tininess.h: Likewise.
21042 * stdlib/tst-strtod-underflow.c: Likewise.
21043 * stdlib/tst-tininess.c: Likewise.
21044 * stdlib/strtod_l.c: Include <tininess.h>.
21045 (round_and_return): Do not set errno for exact underflow cases.
21046 Force an underflow exception when setting errno for underflow.
21047 Determine underflow based on rounding to normal precision if
21048 TININESS_AFTER_ROUNDING.
21049 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21050 ERANGE for exact underflow cases.
21051 * stdlib/Makefile (tests): Add tst-tininess and
21052 tst-strtod-underflow.
21053 ($(objpfx)tst-tininess): Use $(link-libm).
21054 ($(objpfx)tst-strtod-underflow): Likewise.
21056 2012-10-30 Andreas Jaeger <aj@suse.de>
21059 * elf/Makefile (tests): Remove conditional for have-initfini-array
21060 since this is now always required and the variable does not exist
21062 (tests-static): Likewise.
21063 (modules-names): Likewise.
21065 * po/eo.po: Add Esperanto translation from translation project.
21067 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21068 merged with constructor/destructor.
21069 (init_array): Likewise.
21070 * elf/tst-array2dep.c (fini_array): Likewise.
21071 (init_array): Likewise.
21073 2012-10-29 Mike Frysinger <vapier@gentoo.org>
21075 * manual/message.texi: Delete @cartouche tags.
21077 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21079 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21081 * sysdeps/mach/hurd/fsync.c: Likewise.
21083 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21084 [_POSIX_REALTIME_SIGNALS]: Change condition to
21085 [_POSIX_REALTIME_SIGNALS > 0].
21087 2012-10-27 Andreas Jaeger <aj@suse.de>
21089 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21090 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21092 [__WORDSIZE != 64]: Likewise.
21094 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21096 * iconvdata/tst-table.sh: Remove ${SHELL}.
21097 * iconvdata/tst-tables.sh: Likewise.
21099 2012-10-25 David S. Miller <davem@davemloft.net>
21101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21102 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21107 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21108 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21109 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21112 2012-10-25 Roland McGrath <roland@hack.frob.com>
21114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21115 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21118 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21119 Jim Blandy <jimb@codesourcery.com>
21121 * scripts/cross-test-ssh.sh: New file.
21122 * manual/install.texi (Configuring and compiling): Document use of
21124 * INSTALL: Regenerated.
21126 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21128 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21131 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21133 * Makeconfig (run-program-prefix): Fix comment.
21135 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21136 Jim Blandy <jimb@codesourcery.com>
21138 * Makeconfig (test-wrapper): New variable,
21139 (test-wrapper-env): Likewise.
21140 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21141 (run-built-tests): Define to yes.
21142 (run-program-prefix): Use $(test-wrapper).
21143 (built-program-cmd): Likewise.
21144 * Rules (make-test-out): Use $(test-wrapper-env) and
21145 $(host-built-program-cmd).
21146 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21147 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21149 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21150 $(test-wrapper-env) to tst-rtld-load-self.sh.
21151 ($(objpfx)order2.out): Use $(test-wrapper).
21152 ($(objpfx)tst-initorder.out): Likewise.
21153 ($(objpfx)tst-initorder2.out): Likewise.
21154 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21155 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21156 (test_wrapper_env): New variable. Use it to run ld.so.
21157 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21158 Use it to run ld.so.
21159 (test_wrapper_env): Likewise.
21160 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21161 $(test-wrapper) to run-iconv-test.sh.
21162 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21163 (ICONV): Use $test_wrapper.
21164 * posix/Makefile ($(objpfx)globtest.out): Pass
21165 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21166 globtest.sh, not $(run-program-prefix).
21167 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21168 (test_wrapper): Likewise.
21169 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21170 set together with run_via_rtld_prefix.
21171 (run_program_prefix): Define in terms of test_wrapper and
21172 run_via_rtld_prefix.
21174 2012-10-24 Roland McGrath <roland@hack.frob.com>
21176 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21177 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21181 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21182 Declare __clock_getres, __clock_gettime, __clock_settime,
21183 __clock_nanosleep, and __clock_getcpuclockid.
21184 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21185 Remove librt_hidden_def (clock_gettime).
21186 * sysdeps/unix/clock_gettime.c: Likewise.
21187 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21188 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21189 * rt/clock_getres.c: Define __clock_getres as an alias.
21190 * sysdeps/posix/clock_getres.c: Likewise.
21191 * rt/clock_settime.c: Define __clock_settime as an alias.
21192 * sysdeps/unix/clock_settime.c: Likewise.
21193 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21194 * sysdeps/unix/clock_nanosleep.c: Likewise.
21195 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21196 * rt/clock-compat.c: New file.
21197 * rt/Makefile (librt-routines): Add clock-compat and move
21198 $(clock-routines) to ...
21199 (routines): ... here, new variable.
21200 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21201 Don't add get_clockfreq here.
21202 * rt/Versions (libc: GLIBC_2.17): New version set.
21203 Add clock_* symbols here.
21204 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21205 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21206 (GLIBC_2.17): Add clock_* symbols.
21207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21218 * NEWS: Mention the move.
21220 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21221 Use __open, __read, __close rather than their public counterparts.
21222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21223 (__get_clockfreq_via_cpuinfo): Likewise.
21224 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21225 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21227 * config.h.in (HAVE_IFUNC): New #undef.
21228 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21230 * configure: Regenerated.
21232 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21234 * configure.in: Move READELF check to start of file.
21235 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21236 libc_cv_asm_gnu_indirect_function in the process.
21237 * configure: Regenerated.
21239 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21241 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21242 send the output to /dev/null.
21243 (libc_cv_cc_with_libunwind): Likewise.
21244 (libc_cv_as_noexecstack): Likewise.
21245 * configure: Regenerate.
21247 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21249 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21251 * posix/globtest.sh (TMPDIR): Do not set.
21252 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21253 (testout): Likewise.
21255 2012-10-24 Andreas Jaeger <aj@suse.de>
21257 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21258 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21259 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21260 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21261 posix_fadvise64, posix_fallocate64.
21263 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21264 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21265 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21267 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21269 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21272 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21273 <bits/fcntl-linux.h>.
21274 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21277 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21278 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21279 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21280 [__WORDSIZE != 64]: Likewise.
21282 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21284 * Makeconfig (run-built-tests): New variable.
21285 * Rules [$(cross-compiling) = yes]: Change condition to
21286 [$(run-built-tests) = no].
21287 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21288 to [$(run-built-tests) = yes].
21289 * elf/Makefile [$(cross-compiling) = no]: Likewise
21290 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21291 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21292 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21293 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21294 * io/Makefile [$(cross-compiling) = no]: Likewise.
21295 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21296 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21297 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21298 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21299 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21300 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21301 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21302 * string/Makefile [$(cross-compiling) = no]: Likewise.
21304 * posix/Makefile ($(objpfx)globtest.out): Pass
21305 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21306 $(rtld-installed-name).
21307 * posix/globtest.sh (elf_objpfx): Remove variable.
21308 (rtld_installed_name): Likewise.
21309 (library_path): Likewise.
21310 (run_program_prefix): New variable. Use for running globtest
21313 2012-10-23 Jim Blandy <jimb@codesourcery.com>
21314 Joseph Myers <joseph@codesourcery.com>
21316 * Makeconfig (host-built-program-cmd): New variable.
21317 * elf/Makefile (tst-stackguard1-ARGS): Use
21318 $(host-built-program-cmd).
21319 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21320 (tst-spawn-ARGS): Likewise.
21321 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21323 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21324 Jim Blandy <jimb@codesourcery.com>
21326 * Makeconfig (run-via-rtld-prefix): New variable.
21327 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21328 (built-program-cmd): Likewise.
21330 2012-10-22 Andreas Jaeger <aj@suse.de>
21332 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21333 __O_RSYNC if it exists, otherwise to O_SYNC.
21335 2012-10-22 Jim Blandy <jimb@codesourcery.com>
21336 Joseph Myers <joseph@codesourcery.com>
21338 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21340 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21342 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21345 2012-10-22 Andreas Jaeger <aj@suse.de>
21347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21352 bits/fcntl-linux.h.
21354 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21355 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21362 2012-10-21 Jim Blandy <jimb@codesourcery.com>
21363 Joseph Myers <joseph@codesourcery.com>
21365 * config.make.in (NM): New variable.
21367 2012-10-21 Andreas Jaeger <aj@suse.de>
21369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21370 definitions and declarations that are provided by
21371 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21373 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21376 * elf/Makefile (tests-static): Add tst-leaks1-static.
21377 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21378 ($(objpfx)tst-leaks1-static): New rule.
21379 ($(objpfx)tst-leaks1-static-mem): Likewise.
21380 (tst-leaks1-static-ENV): New macro.
21381 * elf/dl-open.c (dl_open_worker): Check the main application
21382 only if SHARED is defined.
21383 * elf/tst-leaks1-static.c: New file.
21385 2012-10-20 Andreas Jaeger <aj@suse.de>
21387 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21388 generic values for Linux.
21389 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21390 and declarations that are provided by <bits/fcntl-linux.h> and
21391 include <bits/fcntl-linux.h>.
21392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21395 2012-10-20 Roland McGrath <roland@hack.frob.com>
21397 * io/fcntl.h: Move include of <bits/types.h> to the top and
21398 include it unconditionally.
21400 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21402 * wcsmbs/Makefile (tests-ifunc): New variable.
21403 (tests): Add $(tests-ifunc).
21404 * wcsmbs/test-wcschr-ifunc.c: New file.
21405 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21406 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21407 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21408 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21409 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21411 * string/Makefile (tests-ifunc): New variable.
21412 (tests): Add $(tests-ifunc).
21413 * string/test-memccpy.c (TEST_NAME): New macro.
21414 * string/test-memchr.c (TEST_NAME): Likewise.
21415 * string/test-memcmp.c (TEST_NAME): Likewise.
21416 * string/test-memcpy.c (TEST_NAME): Likewise.
21417 * string/test-memmem.c (TEST_NAME): Likewise.
21418 * string/test-memmove.c (TEST_NAME): Likewise.
21419 * string/test-memset.c (TEST_NAME): Likewise.
21420 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21421 * string/test-stpcpy.c (TEST_NAME): Likewise.
21422 * string/test-stpncpy.c (TEST_NAME): Likewise.
21423 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21424 * string/test-strcasestr.c (TEST_NAME): Likewise.
21425 * string/test-strcat.c (TEST_NAME): Likewise.
21426 * string/test-strchr.c (TEST_NAME): Likewise.
21427 * string/test-strcmp.c(TEST_NAME): Likewise.
21428 * string/test-strcpy.c (TEST_NAME): Likewise.
21429 * string/test-strcspn.c (TEST_NAME): Likewise.
21430 * string/test-strlen.c (TEST_NAME): Likewise.
21431 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21432 * string/test-strncmp.c (TEST_NAME): Likewise.
21433 * string/test-strncpy.c (TEST_NAME): Likewise.
21434 * string/test-strnlen.c (TEST_NAME): Likewise.
21435 * string/test-strpbrk.c (TEST_NAME): Likewise.
21436 * string/test-strrchr.c (TEST_NAME): Likewise.
21437 * string/test-strspn.c (TEST_NAME): Likewise.
21438 * string/test-strstr.c (TEST_NAME): Likewise.
21439 * string/test-bcopy-ifunc.c: New file.
21440 * string/test-bzero-ifunc.c: Likewise.
21441 * string/test-memccpy-ifunc.c: Likewise.
21442 * string/test-memchr-ifunc.c: Likewise.
21443 * string/test-memcmp-ifunc.c: Likewise.
21444 * string/test-memcpy-ifunc.c: Likewise.
21445 * string/test-memmem-ifunc.c: Likewise.
21446 * string/test-memmove-ifunc.c: Likewise.
21447 * string/test-mempcpy-ifunc.c: Likewise.
21448 * string/test-memset-ifunc.c: Likewise.
21449 * string/test-rawmemchr-ifunc.c: Likewise.
21450 * string/test-stpcpy-ifunc.c: Likewise.
21451 * string/test-stpncpy-ifunc.c: Likewise.
21452 * string/test-strcasecmp-ifunc.c: Likewise.
21453 * string/test-strcasestr-ifunc.c: Likewise.
21454 * string/test-strcat-ifunc.c: Likewise.
21455 * string/test-strchr-ifunc.c: Likewise.
21456 * string/test-strchrnul-ifunc.c: Likewise.
21457 * string/test-strcmp-ifunc.c: Likewise.
21458 * string/test-strcpy-ifunc.c: Likewise.
21459 * string/test-strcspn-ifunc.c: Likewise.
21460 * string/test-strlen-ifunc.c: Likewise.
21461 * string/test-strncasecmp-ifunc.c: Likewise.
21462 * string/test-strncat-ifunc.c: Likewise.
21463 * string/test-strncmp-ifunc.c: Likewise.
21464 * string/test-strncpy-ifunc.c: Likewise.
21465 * string/test-strnlen-ifunc.c: Likewise.
21466 * string/test-strpbrk-ifunc.c: Likewise.
21467 * string/test-strrchr-ifunc.c: Likewise.
21468 * string/test-strspn-ifunc.c: Likewise.
21469 * string/test-strstr-ifunc.c: Likewise.
21471 * debug/Makefile (tests-ifunc): New variable.
21472 (tests): Add $(tests-ifunc).
21473 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21474 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21475 * debug/test-stpcpy_chk-ifunc.c: New file.
21476 * debug/test-strcpy_chk-ifunc.c: Likewise.
21478 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21481 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21482 header is not read in.
21484 2012-10-19 Joseph Myers <joseph@codesourcery.com>
21486 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21487 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21488 directly. Pass built executable to script as
21489 $(built-program-cmd).
21490 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21491 $testprogram without using LD_LIBRARY_PATH and $ldso.
21493 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21494 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21495 $(rtld-installed-name).
21496 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21497 (rtld_installed_name): Likewise.
21498 (library_path): Likewise.
21499 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21500 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21501 $(run-program-prefix) to tst-tables.sh.
21502 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21503 it to run tst-table-from and tst-table-to.
21504 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21505 Pass it to tst-table.sh.
21506 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21507 $(run-program-prefix) to tst-gettext.sh.
21508 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21510 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21512 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21513 to run tst-gettext.
21514 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21515 to run tst-gettext2.
21516 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21517 to run tst-translit.
21518 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21519 $(run-program-prefix) to tst-mtrace.sh.
21520 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21522 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21523 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21524 $(rtld-installed-name).
21525 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21526 (rtld_installed_name): Likewise.
21527 (run_program_prefix): New variable. Use it to run wordexp-test.
21529 * Makeconfig (ARCH): Remove all definitions.
21530 (machine): Likewise.
21531 [ARCH]: Remove conditional code.
21532 [!objdir]: Give error.
21533 [!objdir] (objpfx): Remove.
21534 [!objdir] (common-objpfx): Likewise.
21535 [!objdir] (common-objdir): Likewise.
21536 * configure.in (config_makefile): Remove. Hardcode Makefile in
21537 AC_CONFIG_FILES call.
21538 * configure: Regenerated.
21541 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21543 (testout): Likewise.
21545 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21546 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21547 $(rtld-installed-name).
21548 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21549 (rtld_installed_name): Likwise.
21550 (runit): Remove function.
21551 (run_getconf): New variable, Use it for running getconf binary.
21553 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21556 * string/test-memmem.c (check_result): New function.
21557 (do_one_test): Use it.
21558 (check1): New function.
21559 (test_main): Use it.
21561 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21563 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21565 2012-10-18 Joseph Myers <joseph@codesourcery.com>
21567 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21568 (_G_LSEEK64): Likewise.
21569 (_G_MMAP64): Likewise.
21570 (_G_FSTAT64): Likewise.
21571 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21572 (_G_LSEEK64): Likewise.
21573 (_G_MMAP64): Likewise.
21574 (_G_FSTAT64): Likewise.
21575 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21576 unconditional. Call __mmap64 directly.
21577 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21578 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21579 __lseek64 directly.
21580 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21581 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21583 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21584 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21585 __lseek64 directly.
21586 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21587 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21588 __lseek64 directly.
21589 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21590 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21591 __lseek64 directly.
21592 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21593 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21594 __fxstat64 directly.
21595 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21596 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21598 (freopen64) [!_G_OPEN64]: Remove conditional code.
21599 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21601 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21602 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21604 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21605 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21607 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21608 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21610 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21611 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21613 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21614 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21616 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21617 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21619 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21621 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21624 * manual/memory.texi (Malloc Tunable Parameters): Add note
21625 about free list pointers overwriting some perturb bytes.
21626 Wording suggested by Roland McGrath.
21628 2012-10-17 Joseph Myers <joseph@codesourcery.com>
21630 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21631 (lgamma_test): Likewise.
21632 (tgamma_test): Likewise.
21634 2012-10-16 Florian Weimer <fweimer@redhat.com>
21637 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21638 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21640 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21642 * NEWS: Mention BZ #14716.
21643 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21644 when removing AVAILABLE1_USES_J macro.
21646 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21648 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21649 (__bswap_64): __uint64_t for unsigned 64-bit int.
21651 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21653 * include/string.h (memmem): Declare libc hidden alias.
21654 * string/memmem.c (memmem): Define libc hidden alias.
21655 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21656 __read, __close instead of open, read, close.
21658 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21661 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21663 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21664 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21665 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21667 (__rawmemchr_sse2): Likewise.
21668 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21669 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21670 (__strchr_sse2): Likewise.
21671 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21672 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21673 (__strcasecmp_sse2): Likewise.
21674 (__strncasecmp_sse2): Likewise.
21675 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21676 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21677 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21678 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21679 (__strrchr_sse2): Likewise.
21680 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21682 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21683 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21684 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21685 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21686 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21687 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21688 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21689 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21690 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21691 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21692 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21693 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21694 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21695 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21696 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21697 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21698 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21699 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21700 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21701 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21702 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21703 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21704 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21705 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21706 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21707 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21708 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21709 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21710 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21711 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21713 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21715 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21716 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21717 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21718 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21720 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21722 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21723 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21724 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21725 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21727 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21728 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21729 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21730 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21731 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21732 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21733 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21734 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21735 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21736 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21737 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21738 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21739 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21740 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21741 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21742 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21743 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21744 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21745 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21746 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21747 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21748 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21749 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21750 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21751 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21752 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21753 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21754 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21755 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21756 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21757 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21758 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21759 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21760 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21761 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21762 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21763 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21764 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21765 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21766 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21767 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21769 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21770 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21771 * include/ifunc-impl-list.h: New file.
21772 * misc/ifunc-impl-list.c: Likewise.
21773 * misc/Makefile (routines): Add ifunc-impl-list.
21774 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21775 * string/test-string.h: Include <ifunc-impl-list.h>.
21776 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21777 impl_array): New variables.
21778 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21780 (test_init): Call __libc_ifunc_impl_list to initialize
21781 func_list if TEST_IFUNC and TEST_NAME are defined.
21783 * string/Makefile (strop-tests): Add bcopy and bzero.
21784 * string/test-bcopy.c: New file.
21785 * string/test-bzero.c: Likewise.
21786 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21788 * string/test-memset.c: Support bzero test if TEST_BZERO is
21790 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21792 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21794 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21797 2012-10-10 Joseph Myers <joseph@codesourcery.com>
21799 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21800 * configure: Regenerated.
21802 * Makeconfig (+link-static-before-libc): Don't include
21803 $(link-static-libc).
21805 * libio/libio.h (_IO_pos_t): Remove.
21807 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21809 * NEWS: Add note about FIPS mode. Wording suggested by Roland
21812 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21814 * crypt/crypt-entry.c: Include fips-private.h.
21815 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21816 * crypt/md5c-test.c (main): Tolerate disabled MD5.
21817 * sysdeps/unix/sysv/linux/fips-private.h: New file.
21818 * sysdeps/generic/fips-private.h: New file, dummy fallback.
21820 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21822 * crypt/crypt-private.h: Include stdbool.h.
21823 (_ufc_setup_salt_r): Return bool.
21824 * crypt/crypt-entry.c: Include errno.h.
21825 (__crypt_r): Return NULL with EINVAL for bad salt.
21826 * crypt/crypt_util.c (bad_for_salt): New.
21827 (_ufc_setup_salt_r): Check that salt is long enough and within
21828 the specified alphabet.
21829 * crypt/badsalttest.c: New file.
21830 * crypt/Makefile (tests): Add it.
21831 ($(objpfx)badsalttest): New.
21833 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
21835 * NEWS: Add entry for BZ #14602.
21837 2012-10-09 Joseph Myers <joseph@codesourcery.com>
21839 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21841 * math/libm-test.inc: Update comment listing what functions and
21843 (isgreater_test): New function.
21844 (isgreaterequal_test): Likewise.
21845 (isless_test): Likewise.
21846 (islessequal_test): Likewise.
21847 (islessgreater_test): Likewise.
21848 (isunordered_test): Likewise.
21849 (main): Call the new functions.
21851 2012-10-09 Roland McGrath <roland@hack.frob.com>
21853 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21854 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21855 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21856 * sysdeps/i386/configure: Regenerated.
21857 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21858 * sysdeps/mach/configure: Regenerated.
21859 * sysdeps/mach/hurd/configure: Regenerated.
21860 * sysdeps/powerpc/configure: Regenerated.
21861 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21862 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21863 * sysdeps/s390/s390-32/configure: Regenerated.
21864 * sysdeps/s390/s390-64/configure: Regenerated.
21865 * sysdeps/sh/configure: Regenerated.
21866 * sysdeps/sparc/configure: Regenerated.
21867 * sysdeps/unix/sysv/linux/configure: Regenerated.
21868 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21869 * sysdeps/x86_64/configure: Regenerated.
21871 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21872 defined. Don't check if MAP is NULL.
21874 2012-10-09 Joseph Myers <joseph@codesourcery.com>
21876 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21877 (_G_stat64): Likewise.
21878 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21879 (_G_stat64): Likewise.
21880 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21881 instead of struct _G_stat64.
21882 * libio/fileops.c (mmap_remap_check): Likewise.
21883 (decide_maybe_mmap): Likewise.
21884 (_IO_new_file_seekoff): Likewise.
21885 (_IO_file_stat): Likewise.
21886 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21888 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21889 instead of struct _G_stat64.
21890 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21892 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
21895 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21897 (CHECK_EOL): New macro.
21898 (two_way_short_needle): Check beginning of haystack for EOL. Use
21900 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21901 Replace with CHECK_EOL.
21902 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21903 Replace with CHECK_EOL.
21905 2012-10-08 Joseph Myers <joseph@codesourcery.com>
21907 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21909 * math/libm-test.inc: Update comment listing what functions and
21911 (finite_test): New function.
21912 (isinf_test): Likewise.
21913 (isnan_test): Likewise.
21914 (fpclassify_test): Test subnormal input.
21915 (isfinite_test): Likewise.
21916 (isnormal_test): Likewise.
21917 (main): Call the new functions.
21919 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
21922 * Makerules (%.dynsym): Force C locale when running
21923 $(OBJDUMP) --dynamic-syms.
21925 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
21927 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21930 2012-10-06 David S. Miller <davem@davemloft.net>
21932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
21933 upper 32-bits of the length value in %o2 since we use branch-on-register
21934 tests which consider the entire 64-bit register.
21936 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
21938 * string/test-strstr.c (check2): Add a test for page boundary.
21940 2012-10-05 David S. Miller <davem@davemloft.net>
21942 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
21943 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
21945 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21947 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21948 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
21949 and bzero when HWCAP_SPARC_CRYPTO is present.
21951 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
21954 * string/test-strstr.c (check2): New function.
21955 (test_main): Call check2.
21957 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
21959 * string/bug-strcasestr1.c (do_test): Moved to ...
21960 * string/test-strcasestr.c (check1): Here. New function.
21961 (do_one_test): Break out result checking code into ...
21962 (check_result): This. New function.
21963 (do_one_test): Call check_result.
21964 (test_main): Call check1.
21965 * string/bug-strchr1.c (do_test): Moved to ...
21966 * string/test-strchr.c (check1): Here. New function.
21967 (do_one_test): Break out result checking code into ...
21968 (check_result): This. New function.
21969 (do_one_test): Call check_result.
21970 (test_main): Call check1.
21971 * string/bug-strstr1.c (main): Moved to ...
21972 * string/test-strstr.c (check1): Here. New function.
21973 (do_one_test): Break out result checking code into ...
21974 (check_result): This. New function.
21975 (do_one_test): Call check_result.
21976 (test_main): Call check1.
21977 * string/bug-strcasestr1.c: Removed.
21978 * string/bug-strchr1.c: Likewise.
21979 * string/bug-strstr1.c: Likewise.
21981 * elf/Makefile (dl-routines): Add hwcaps.
21982 * elf/dl-support.c (_dl_important_hwcaps): Removed.
21983 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
21984 (_dl_important_hwcaps): Moved to ...
21985 * elf/dl-hwcaps.c: Here. New file.
21986 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
21989 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
21990 if IS_IN_rtld isn't defined.
21992 * elf/dl-support.c (_dl_sysinfo_map): New.
21993 Include "get-dynamic-info.h" and "setup-vdso.h".
21994 (_dl_non_dynamic_init): Call setup_vdso.
21995 * elf/dynamic-link.h: Don't include <assert.h>.
21996 (elf_get_dynamic_info): Moved to ...
21997 * elf/get-dynamic-info.h: Here. New file.
21998 * elf/dynamic-link.h: Include "get-dynamic-info.h".
21999 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22000 * elf/setup-vdso.h: Here. New file.
22001 * elf/rtld.c: Include "setup-vdso.h".
22002 (dl_main): Call setup_vdso.
22004 2012-10-05 Joseph Myers <joseph@codesourcery.com>
22006 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22007 creal in comment listing functions tested. List finite, isinf,
22008 isnan, isless, islessequal, isgreater, isgreaterequal,
22009 islessgreater, isunordered, lgamma_r and pow10 as functions and
22010 macros not tested. Mention which functions not tested are aliases
22011 for other functions. Fix typo. Note that signs of NaNs are not
22014 * scripts/config.guess: Update from config.git.
22015 * scripts/config.sub: Likewise.
22017 2012-10-04 Roland McGrath <roland@hack.frob.com>
22019 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22020 * misc/madvise.c (madvise): Renamed to __madvise.
22021 Make madvise a weak alias.
22022 * include/sys/mman.h: Declare __madvise.
22023 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22024 * sysdeps/unix/syscalls.list
22025 (madvise): Make __madvise the strong name, and madvise a weak alias.
22026 * sysdeps/unix/sysv/linux/syscalls.list
22027 (madvise, mmap): Remove redundant entries.
22028 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22029 * malloc/malloc.c (mtrim): Likewise.
22030 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22032 2012-10-03 Roland McGrath <roland@hack.frob.com>
22034 * sysdeps/mach/hurd/dl-cache.c: File removed.
22035 * config.h.in (USE_LDCONFIG): New #undef.
22036 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22037 * configure: Regenerated.
22038 * elf/Makefile (dl-routines): Add dl-cache only under
22039 [$(use-ldconfig) = yes].
22040 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22041 cache on [USE_LDCONFIG].
22042 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22044 * elf/rtld.c (dl_main): Likewise.
22046 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22048 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22049 _SC_LEVEL4_CACHE_LINESIZE.
22051 2012-10-03 Roland McGrath <roland@hack.frob.com>
22053 * sysdeps/unix/bsd/confstr.h: File removed.
22055 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
22057 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22060 2012-10-02 Roland McGrath <roland@hack.frob.com>
22062 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22063 Make 'mapoff' field ElfW(Off) rather than off_t.
22065 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22067 * nscd/Makefile: Remove nscd-cflags and all its users.
22068 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22069 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22072 * malloc.c (malloc_printerr): Clarify error message.
22074 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22078 Set bit_FMA_Usable if FMA is supported.
22079 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22081 (bit_FMA4_Usable): Updated.
22082 (index_FMA_Usable): New macro.
22083 (CPUID_FMA): Likewise
22084 (HAS_FMA): Defined with bit_FMA_Usable.
22086 2012-10-01 Roland McGrath <roland@hack.frob.com>
22088 * bits/types.h (__swblk_t): Type removed.
22089 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22090 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22092 (__SWBLK_T_TYPE): Likewise.
22093 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22094 (__SWBLK_T_TYPE): Likewise.
22095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22096 (__SWBLK_T_TYPE): Likewise.
22097 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22098 (__SWBLK_T_TYPE): Likewise.
22100 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
22101 Honza Horak <hhorak@redhat.com>
22103 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22104 (xdr_mapname): Use YPMAXMAP as maxsize.
22105 (xdr_peername): Use YPMAXPEER as maxsize.
22106 (xdr_keydat): Use YPAXRECORD as maxsize.
22107 (xdr_valdat): Use YPMAXRECORD as maxsize.
22109 2012-10-01 Roland McGrath <roland@hack.frob.com>
22111 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22113 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22114 * csu/init-first.c: ... here.
22115 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22116 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22117 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22118 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22119 * sysdeps/i386/init-first.c: File removed.
22120 * sysdeps/sh/init-first.c: File removed.
22122 2012-10-01 Joseph Myers <joseph@codesourcery.com>
22125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22126 if x * y might underflow to zero and z is zero.
22127 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22128 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22129 * math/libm-test.inc (min_subnorm_value): New variable.
22130 (fma_test): Add more tests.
22131 (fma_test_towardzero): Likewise.
22132 (fma_test_downward): Likewise
22133 (fma_test_upward): Likewise.
22134 (initialize): Set min_subnorm_value.
22136 2012-09-29 Joseph Myers <joseph@codesourcery.com>
22139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22142 mode for addition resulting in exact zero.
22143 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22144 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22146 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22147 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22148 * math/libm-test.inc (fma_test): Add more tests.
22149 (fma_test_towardzero): New function.
22150 (fma_test_downward): Likewise.
22151 (fma_test_upward): Likewise.
22152 (main): Call the new functions.
22154 2012-09-28 David S. Miller <davem@davemloft.net>
22156 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22158 2012-09-28 Roland McGrath <roland@hack.frob.com>
22160 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22161 instead of SIGALRM.
22163 * sysdeps/gnu/_G_config.h: Moved to ...
22164 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22165 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22166 * sysdeps/generic/_G_config.h: ... here.
22168 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22170 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22172 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22173 Conditionalize target on [libnss_test1.so-version].
22175 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22177 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22178 (elfobjdir): Move out of conditionals.
22180 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22181 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22182 (__nss_lookup_function): Conditionalize label remove_from_tree on
22183 [!DO_STATIC_NSS || SHARED], matching its only use.
22185 2012-09-28 David S. Miller <davem@davemloft.net>
22187 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22188 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22190 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22192 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22194 when HWCAP_SPARC_CRYPTO is present.
22196 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22198 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22200 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22203 * stdio-common/vfprintf.c (process_string_arg): Revert
22206 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22208 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22210 * stdio-common/tst-sprintf.c: Include <locale.h>
22211 (main): Test sprintf's handling of incomplete multibyte
22214 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22216 * elf/dl-runtime.c (VERSYMIDX): Removed.
22217 * elf/dl-version.c (VERSYMIDX): Likewise.
22218 * elf/do-rel.h (VERSYMIDX): Likewise.
22219 (VALIDX): Likewise.
22220 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22221 * elf/rtld.c (VALIDX): Likewise.
22222 (ADDRIDX): Likewise.
22223 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22224 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22225 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22226 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22227 (VALIDX): Likewise.
22228 (ADDRIDX): Likewise.
22230 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22232 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22234 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22237 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22239 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22240 addresses are in the same scope as 192.0.2/24.
22241 * posix/gai.conf: Document new scope table defaults.
22243 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22246 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22247 for ftell. Compute offsets from write pointers instead.
22248 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22250 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22253 * libio/Makefile (tests): New test case tst-fseek.
22254 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22255 combination works in wide mode.
22256 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22257 state when the external buffer state changes.
22259 2012-09-27 David S. Miller <davem@davemloft.net>
22262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22263 pass reloc->r_addend in as the 'high' argument to
22264 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22268 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22270 * rt/tst-aio2.c: Include <pthread.h>.
22271 * rt/tst-aio3.c: Likewise.
22273 2012-09-27 Steve Ellcey <sellcey@mips.com>
22275 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22277 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22279 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22280 contents on [SHARED].
22282 2012-09-26 Marek Polacek <polacek@redhat.com>
22286 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22287 for C++ and GCC <4.3 as well as for non GCC compilers.
22289 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22293 2012-09-25 Roland McGrath <roland@hack.frob.com>
22295 * Makefile.in (all, install): Declare with .PHONY.
22296 Reported by Michael Hope <michael.hope@linaro.org>.
22298 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22300 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22301 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22303 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22305 (sydep_routines): Add the new and the internal functions.
22306 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22307 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22309 (GLIBC_2.17): Add the new function.
22310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22311 (GLIBC_2.17): Likewise.
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22313 (GLIBC_2.17): Likewise.
22314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22315 (GLIBC_2.17): Likewise.
22316 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22318 2012-09-25 Alan Modra <amodra@gmail.com>
22320 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22321 Add release barrier before setting once_control to say
22322 initialisation is done. Add hints on lwarx. Use macro in
22324 (clear_once_control): Add release barrier.
22326 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22329 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22331 * math/s_clog10.c (__clog10): Likewise.
22332 * math/s_clog10f.c (__clog10f): Likewise.
22333 * math/s_clog10l.c (__clog10l): Likewise.
22334 * math/s_clogf.c (__clogf): Likewise.
22335 * math/s_clogl.c (__clogl): Likewise.
22336 * math/Makefile (libm-calls): Add x2y2m1.
22337 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22338 (__x2y2m1): Likewise.
22339 (__x2y2m1l): Likewise.
22340 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22341 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22342 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22343 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22344 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22345 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22346 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22347 * sysdeps/i386/fpu/libm-test-ulps: Update.
22348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22351 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22352 int as type of variable DEPTH.
22353 (glob): Use size_t instead of int as type of variables NEWCOUNT
22356 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22358 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22359 Add s_sincosf-sse2.
22360 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22361 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22362 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22363 macros for using routine as __sincosf_ia32.
22364 Use macro for function declaration and weak_alias.
22365 * sysdeps/i386/fpu/libm-test-ulps: Update.
22367 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22370 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22371 subnormal argument.
22372 * math/s_cexpf.c (__cexpf): Likewise.
22373 * math/s_csinf.c (__csinf): Likewise.
22374 * math/s_csinhf.c (__csinhf): Likewise.
22375 * math/s_ctanf.c (__ctanf): Likewise.
22376 * math/s_ctanhf.c (__ctanhf): Likewise.
22377 * math/s_ccosh.c (__ccoshf): Likewise.
22378 * math/s_cexp.c (__cexpl): Likewise.
22379 * math/s_csin.c (__csin): Likewise.
22380 * math/s_csinh.c (__csinh): Likewise.
22381 * math/s_ctan.c (__ctan): Likewise.
22382 * math/s_ctanh.c (ctanh): Likewise.
22383 * math/s_ccoshl.c (__ccoshl): Likewise.
22384 * math/s_cexpl.c (__cexpl): Likewise.
22385 * math/s_csinl.c (__csinl): Likewise.
22386 * math/s_csinhl.c (__csinhl): Likewise.
22387 * math/s_ctanl.c (__ctanl): Likewise.
22388 * math/s_ctanhl.c (__ctanhl): Likewise.
22390 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22392 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22393 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22394 (_IO_off_t): Define to __off_t, not _G_off_t.
22395 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22396 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22397 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22398 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22399 type of __dummy and __dummy2 fields.
22400 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22401 (_G_ssize_t): Likewise.
22402 (_G_off_t): Likewise.
22403 (_G_pid_t): Likewise.
22404 (_G_uid_t): Likewise.
22405 (_G_wchar_t): Likewise.
22406 (_G_wint_t): Likewise.
22407 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22408 (_G_ssize_t): Likewise.
22409 (_G_off_t): Likewise.
22410 (_G_pid_t): Likewise.
22411 (_G_uid_t): Likewise.
22412 (_G_wchar_t): Likewise.
22413 (_G_wint_t): Likewise.
22414 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22415 (_G_ssize_t): Likewise.
22416 (_G_off_t): Likewise.
22417 (_G_pid_t): Likewise.
22418 (_G_uid_t): Likewise.
22419 (_G_wchar_t): Likewise.
22420 (_G_wint_t): Likewise.
22422 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22424 * malloc/arena.c: Include malloc-sysdep.h.
22425 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22426 is sufficient to shrink the heap or an unmap is needed.
22427 * sysdeps/generic/malloc-sysdep.h: New file. Define
22428 new function check_may_shrink_heap.
22429 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22430 new function check_may_shrink_heap.
22432 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22434 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22437 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22439 * catgets/test-gencat.sh: Add "set -e".
22440 * elf/tst-pathopt.sh: Likewise.
22441 * grp/tst_fgetgrent.sh: Likewise.
22442 * iconvdata/run-iconv-test.sh: Likewise.
22443 * intl/tst-gettext.sh: Likewise.
22444 * intl/tst-gettext2.sh: Likewise.
22445 * intl/tst-gettext4.sh: Likewise.
22446 * intl/tst-gettext6.sh: Likewise.
22447 * intl/tst-translit.sh: Likewise.
22448 * io/ftwtest-sh: Likewise.
22449 * libio/test-freopen.sh: Likewise.
22450 * malloc/tst-mtrace.sh: Likewise.
22451 * posix/globtest.sh: Likewise.
22452 * posix/tst-getconf.sh: Likewise.
22453 * posix/wordexp-tst.sh: Likewise.
22454 * stdio-common/tst-printf.sh: Likewise.
22455 * stdio-common/tst-unbputc.sh: Likewise.
22456 * stdlib/tst-fmtmsg.sh: Likewise.
22457 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22458 * catgets/Makefile: Do not specify -e option when running
22459 testsuite shell scripts.
22460 * elf/Makefile: Likewise.
22461 * grp/Makefile: Likewise.
22462 * iconvdata/Makefile: Likewise.
22463 * intl/Makefile: Likewise.
22464 * io/Makefile: Likewise.
22465 * libio/Makefile: Likewise.
22466 * malloc/Makefile: Likewise.
22467 * posix/Makefile: Likewise.
22468 * stdio-common/Makefile: Likewise.
22469 * stdlib/Makefile: Likewise.
22470 * sysdeps/x86_64/Makefile: Likewise.
22472 * io/ftwtest-sh: Add copyright header.
22473 * posix/globtest.sh: Likewise.
22474 * posix/tst-getconf.sh: Likewise.
22475 * posix/wordexp-tst.sh: Likewise.
22476 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22478 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22481 * Makeconfig (+link): Defined as $(+link-static) if
22482 $(build-shared) isn't yes.
22483 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22485 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22487 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22490 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22491 new chunk size with MALLOC_ALIGN_MASK.
22493 2012-09-24 Joseph Myers <joseph@codesourcery.com>
22496 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22498 (__printf_fphex): Determine rounding using get_rounding_mode and
22500 * stdio-common/tst-printf-round.c (struct hex_test): New
22502 (hex_tests): New variable.
22503 (test_hex_in_one_mode): New function.
22504 (do_test): Also run tests for hex float output.
22506 2012-09-21 Joseph Myers <joseph@codesourcery.com>
22508 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22509 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22510 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22511 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22512 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22513 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22514 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22515 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22517 2012-09-20 Joseph Myers <joseph@codesourcery.com>
22519 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22520 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22521 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22522 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22524 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22527 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22529 * elf/tst-rtld-load-self.sh: New test.
22530 * elf/Makefile: Run it.
22532 2012-09-18 Joseph Myers <joseph@codesourcery.com>
22534 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22535 (tst-writev-ENV): Remove.
22536 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22538 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22540 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22542 2012-09-17 Joseph Myers <joseph@codesourcery.com>
22544 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22546 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22548 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22549 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22550 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22553 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22556 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22557 * config.make.in (have-cpp-asm-debuginfo): Removed.
22558 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22559 * configure: Regenerated.
22561 2012-09-14 Joseph Myers <joseph@codesourcery.com>
22564 * stdio-common/printf_fp.c: Include <stdbool.h> and
22566 (___printf_fp): Determine rounding using get_rounding_mode and
22568 * stdio-common/tst-printf-round.c: New file.
22569 * stdio-common/Makefile (tests): Add tst-printf-round.
22570 (link-libm): New variable.
22571 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22573 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22576 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22577 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22579 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22582 2012-09-13 Joseph Myers <joseph@codesourcery.com>
22584 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22585 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22586 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22587 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22589 2012-09-12 Joseph Myers <joseph@codesourcery.com>
22592 * include/rounding-mode.h: New file.
22593 * sysdeps/generic/get-rounding-mode.h: Likewise.
22594 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22595 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22596 (MAX_VALUE): New macro.
22597 (MIN_VALUE): Likewise.
22598 (overflow_value): New function.
22599 (underflow_value): Likewise.
22600 (round_and_return): Use overflow_value and underflow_value to
22601 determine return values in overflow and underflow cases. Use
22602 round_away to determine rounding depending on rounding mode.
22603 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22604 determine return values in overflow and underflow cases.
22605 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22606 (struct test_results): New structure.
22607 (struct test): Use struct test_results to store expected results
22608 for all rounding modes.
22609 (TEST): Include expected results for all rounding modes.
22610 (test_in_one_mode): New function.
22611 (do_test): Use test_in_one_mode to compute and check results.
22612 Check results for all rounding modes.
22613 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22616 2012-12-09 Allan McRae <allan@archlinux.org>
22618 * sysdeps/i386/fpu/libm-test-ulps: Update
22620 2012-09-11 Joseph Myers <joseph@codesourcery.com>
22622 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22623 (_G_int32_t): Likewise.
22624 (_G_uint16_t): Likewise.
22625 (_G_uint32_t): Likewise.
22626 (_G_HAVE_BOOL): Likewise.
22627 (_G_HAVE_ATEXIT): Likewise.
22628 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22629 (_G_HAVE_IO_FILE_OPEN): Likewise.
22630 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22631 (_G_int32_t): Likewise.
22632 (_G_uint16_t): Likewise.
22633 (_G_uint32_t): Likewise.
22634 (_G_HAVE_BOOL): Likewise.
22635 (_G_HAVE_ATEXIT): Likewise.
22636 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22637 (_G_HAVE_IO_FILE_OPEN): Likewise.
22638 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22639 (_G_int32_t): Likewise.
22640 (_G_uint16_t): Likewise.
22641 (_G_uint32_t): Likewise.
22642 (_G_HAVE_BOOL): Likewise.
22643 (_G_HAVE_ATEXIT): Likewise.
22644 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22645 (_G_HAVE_IO_FILE_OPEN): Likewise.
22647 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22649 * csu/libc-tls.c: Update copyright years.
22651 2012-09-10 Joseph Myers <joseph@codesourcery.com>
22653 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22654 [!_G_USING_THUNKS]: Remove conditional code.
22655 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22656 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22658 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22659 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22660 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22661 (_G_VTABLE_LABEL_PREFIX): Likewise.
22662 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22663 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22664 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22665 (_G_VTABLE_LABEL_PREFIX): Likewise.
22666 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22667 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22668 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22669 (_G_VTABLE_LABEL_PREFIX): Likewise.
22670 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22672 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22674 * libio/Makefile: Include ../Makeconfig before tests.
22675 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22676 only if $(build-shared) is yes.
22678 * iconv/gconv_db.c: Update copyright years.
22680 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22682 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22683 unwind info if defined PIC. Fix special cases description.
22684 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22686 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22688 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22690 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22692 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22694 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22697 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22698 (LDLIBS-tst-chk4): This.
22699 (LDFLAGS-tst-chk5): Renamed to ...
22700 (LDLIBS-tst-chk5): This.
22701 (LDFLAGS-tst-chk6): Renamed to ...
22702 (LDLIBS-tst-chk6): This.
22703 (LDFLAGS-tst-lfschk4): Renamed to ...
22704 (LDLIBS-tst-lfschk4): This.
22705 (LDFLAGS-tst-lfschk5): Renamed to ...
22706 (LDLIBS-tst-lfschk5): This.
22707 (LDFLAGS-tst-lfschk6): Renamed to ...
22708 (LDLIBS-tst-lfschk6): This.
22710 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22711 on $(common-objpfx)soversions.mk.
22713 2012-09-07 Joseph Myers <joseph@codesourcery.com>
22716 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22719 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22721 * malloc/arena.c (arena_get_retry): New function that gets
22722 another arena for the caller to try its request on.
22723 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22724 current arena cannot fulfill the request.
22725 (__libc_memalign): Likewise.
22726 (__libc_memalign): Likewise.
22727 (__libc_pvalloc): Likewise.
22728 (__libc_calloc): Likewise.
22730 2012-09-05 John Tobey <john.tobey@gmail.com>
22733 * manual/arith.texi (Operations on Complex): Fix description
22734 of carg branch cut.
22736 2012-09-06 Joseph Myers <joseph@codesourcery.com>
22739 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22743 * manual/memory.texi (Memory): Make order of menu items match
22746 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22748 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22749 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
22750 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22752 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22754 * csu/libc-tls.c (static_dtv): Renamed to ...
22755 (_dl_static_dtv): This. Make it global.
22756 (_dl_initial_dtv): Removed.
22757 (__libc_setup_tls): Updated.
22758 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22759 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22762 2012-09-06 Petr Machata <pmachata@redhat.com>
22764 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22765 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22766 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22767 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22769 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22772 * csu/libc-tls.c (_dl_initial_dtv): New variable.
22773 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22776 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22779 * Makeconfig (link-static-before-libc): Replace $(+prector)
22781 (link-static-after-libc): Replace $(+postctor) with
22783 (link-bounded): Replace $(+prector)/$(+postctor) with
22784 $(+prectorT)/$(+postctorT).
22785 (+prectorT): New macro.
22786 (+postctorT): Likewise.
22788 2012-09-06 Joseph Myers <joseph@codesourcery.com>
22790 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22791 (round_str): Handle values above the maximum for IBM long double
22793 * stdlib/tst-strtod-round.c (tests): Regenerated.
22795 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22797 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22799 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22800 zarch_nohighgprs around the zarch optimized routines.
22801 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22802 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22803 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22806 2012-09-05 David S. Miller <davem@davemloft.net>
22808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22810 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22811 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22812 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22813 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22816 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22818 * malloc/arena.c: Fold copyright years.
22819 * malloc/mcheck.c, malloc/memusage.c: Likewise.
22821 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22823 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22825 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22827 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
22829 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22831 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22832 change internal state upon failure.
22834 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22836 * malloc/mcheck.c (mcheck_check_all): Fix typo.
22837 * malloc/memusage.c (mmap): Likewise.
22838 (mmap64, mremap): Likewise. Adjust name in comment.
22840 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22842 * libio/fileops.c: Fix typos in comments.
22843 * libio/oldfileops.c: Likewise.
22844 * libio/wfileops.c: Likewise.
22846 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22849 * malloc/Makefile (tests): Add tst-malloc-usable test case.
22850 (tst-malloc-usable-ENV): Set environment for test case.
22851 * malloc/hooks.c (malloc_check_get_size): New function to get
22853 * malloc/malloc.c (musable): Use malloc_check_get_size.
22854 * malloc/tst-malloc-usable.c: New test case.
22856 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22858 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22860 2012-09-05 Allan McRae <allan@archlinux.org>
22863 * configure.in (CXX_SYSINCLUDES): Use compiler output to
22864 determine header location.
22865 * configure: Regenerated.
22867 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22869 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22871 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
22872 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22874 (test): Regenerate.
22876 2012-09-04 David S. Miller <davem@davemloft.net>
22878 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22879 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22880 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22882 2012-09-04 Florian Weimer <fweimer@redhat.com>
22884 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22887 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22889 2012-09-04 Joseph Myers <joseph@codesourcery.com>
22892 * libio/iogetdelim.c: Include <limits.h>.
22893 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22894 + len + 1 would overflow.
22896 2012-09-03 Andreas Jaeger <aj@suse.de>
22898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22899 * sysdeps/i386/fpu/libm-test-ulps: Update.
22901 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22903 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22904 Add s_sinf-sse2, s_conf-sse2.
22906 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22907 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22908 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22909 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22911 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22912 for using routine as __sinf_ia32.
22913 Use macro for function declaration and weak_alias.
22914 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22915 for using routine as __cosf_ia32.
22916 Use macro for function declaration and weak_alias.
22918 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22919 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22921 * sysdeps/x86_64/fpu/s_sinf.S: New file.
22922 * sysdeps/x86_64/fpu/s_cosf.S: New file.
22923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22925 * math/libm-test.inc (cos_test): Add more test cases.
22926 (sin_test): Likewise.
22927 (sincos_test): Likewise.
22929 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22931 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22932 (IFUNC_RESOLVE): Make pointers to the specialized implementations
22934 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22936 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
22939 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
22940 first element of the GOT.
22941 (elf_machine_load_address): Return the difference between
22942 the runtime address of _DYNAMIC and elf_machine_dynamic ().
22944 2012-09-01 Allan McRae <allan@archlinux.org>
22947 * configure.in (AWK): Require gawk version 3.0 or later.
22948 * configure: Regenerated.
22950 2012-09-01 Joseph Myers <joseph@codesourcery.com>
22952 * sysdeps/unix/sysv/linux/kernel-features.h
22953 (__ASSUME_POSIX_CPU_TIMERS): Remove.
22954 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22955 [__NR_clock_getres]: Make code unconditional.
22956 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
22957 (clock_getcpuclockid): Remove code left unreachable by removal of
22959 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
22960 code unconditional.
22961 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22962 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22963 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
22964 Make code unconditional.
22965 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22966 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22967 * sysdeps/unix/sysv/linux/clock_settime.c
22968 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
22970 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
22971 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22973 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
22976 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
22977 scripts/test-installation.pl.
22979 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
22980 and $ld_so_version if it is set.
22982 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22985 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
22986 failure if reading from procfs failed.
22987 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
22989 2012-08-27 Joseph Myers <joseph@codesourcery.com>
22991 * sysdeps/unix/sysv/linux/kernel-features.h
22992 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
22993 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22994 Remove conditional code.
22995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22996 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
22997 Remove conditional code.
22998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22999 * sysdeps/unix/sysv/linux/i386/fxstat.c
23000 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23002 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23003 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23005 * sysdeps/unix/sysv/linux/i386/lxstat.c
23006 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23008 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23009 Remove conditional code.
23010 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23011 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23012 Remove conditional code.
23013 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23014 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23015 <kernel-features.h>.
23016 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23018 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23019 Remove conditional code.
23020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23021 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23022 Remove conditional.
23024 2012-08-27 Mike Frysinger <vapier@gentoo.org>
23027 * NEWS: Add fixed bug number.
23029 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23032 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23033 underflowing exponent in case of negative sign.
23034 * stdlib/tst-strtod-round-data: Add more tests.
23035 * stdlib/tst-strtod-round.c (tests): Regenerated.
23038 * stdlib/strtod_l.c (NDIG): Remove.
23039 (HEXNDIG): Likewise.
23040 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23041 smallest representable value.
23042 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23043 lie within an exact representation of 1/2 ulp of the result.
23044 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23046 (TENS_P9_IDX): Define unconditionally.
23047 (TENS_P9_SIZE): Likewise.
23048 (TENS_P10_IDX): Likewise.
23049 (TENS_P10_SIZE): Likewise.
23050 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23051 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23052 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23053 entries for 10^2^13 and 10^2^14.
23054 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23055 (TENS_P13_IDX): Define.
23056 (TENS_P13_SIZE): Likewise.
23057 (TENS_P14_IDX): Likewise.
23058 (TENS_P14_SIZE): Likewise.
23059 (_fpioconst_pow10): Change array size to
23060 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23062 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23063 1024]: Add entries for 10^2^13 and 10^2^14.
23064 [LAST_POW10 > _LAST_POW10]: Remove #error.
23065 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23066 (_fpioconst_pow10): Change array size to
23067 FPIOCONST_POW10_ARRAY_SIZE.
23068 * stdlib/gen-fpioconst.c: New file.
23069 * stdlib/gen-tst-strtod-round.c: Likewise.
23070 * stdlib/tst-strtod-round-data: Likewise.
23071 * stdlib/tst-strtod-round.c: Likewise.
23072 * stdlib/Makefile (tests): Add tst-strtod-round.
23075 * stdlib/strtod_l.c: Include <stdint.h>.
23076 (NDEBUG): Do not define.
23077 (round_and_return): Change EXPONENT parameter to type intmax_t.
23078 Rearrange calculations to avoid internal overflow possibilities.
23079 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23080 Rearrange calculations to avoid internal overflow possibilities.
23081 Assert that number fits inside MPNSIZE limbs.
23082 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23083 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23084 calculations and add assertions to avoid internal overflow
23085 possibilities. Add casts to avoid signed/unsigned operations.
23086 * stdlib/tst-strtod-overflow.c: New file.
23087 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23089 2012-08-25 Marek Polacek <polacek@redhat.com>
23091 * time/time.h: Fix some typos in comments.
23093 2012-08-23 Roland McGrath <roland@hack.frob.com>
23095 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23096 * posix/tst-rfc3484-2.c: Likewise.
23097 * posix/tst-rfc3484-3.c: Likewise.
23099 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23101 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23102 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23104 2012-08-23 Joseph Myers <joseph@codesourcery.com>
23106 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23107 #include of fxstatat64.c.
23109 2012-08-22 Roland McGrath <roland@hack.frob.com>
23111 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23112 * shadow/getspent_r.c: Likewise.
23113 * shadow/getspnam.c: Likewise.
23114 * shadow/getspnam_r.c: Likewise.
23115 * gshadow/getsgent.c: Likewise.
23116 * gshadow/getsgent_r.c: Likewise.
23117 * gshadow/getsgnam.c: Likewise.
23118 * gshadow/getsgnam_r.c: Likewise.
23119 * inet/getnetbyad.c: Likewise.
23120 * inet/getnetbyad_r.c: Likewise.
23121 * inet/getnetbynm.c: Likewise.
23122 * inet/getnetbynm_r.c: Likewise.
23123 * inet/getnetent.c: Likewise.
23124 * inet/getnetent_r.c: Likewise.
23125 * inet/getproto.c: Likewise.
23126 * inet/getproto_r.c: Likewise.
23127 * inet/getprtent.c: Likewise.
23128 * inet/getprtent_r.c: Likewise.
23129 * inet/getprtname.c: Likewise.
23130 * inet/getprtname_r.c: Likewise.
23131 * inet/getrpcbyname.c: Likewise.
23132 * inet/getrpcbyname_r.c: Likewise.
23133 * inet/getrpcbynumber.c: Likewise.
23134 * inet/getrpcbynumber_r.c: Likewise.
23135 * inet/getrpcent.c: Likewise.
23136 * inet/getrpcent_r.c: Likewise.
23137 * inet/getaliasent.c: Likewise.
23138 * inet/getaliasent_r.c: Likewise.
23139 * inet/getaliasname.c: Likewise.
23140 * inet/getaliasname_r.c: Likewise.
23141 * nscd/getgrgid_r.c: Likewise.
23142 * nscd/getgrnam_r.c: Likewise.
23143 * nscd/gethstbyad_r.c: Likewise.
23144 * nscd/gethstbynm3_r.c: Likewise.
23145 * nscd/getpwnam_r.c: Likewise.
23146 * nscd/getpwuid_r.c: Likewise.
23147 * nscd/getsrvbynm_r.c: Likewise.
23148 * nscd/getsrvbypt_r.c: Likewise.
23149 * nscd/gai.c: Likewise.
23151 * configure.in (build_nscd): New substituted variable, set
23152 by --disable-build-nscd and defaults to $use_nscd.
23153 * configure: Regenerated.
23154 * config.make.in (build-nscd): New substituted variable.
23155 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23156 Change conditional to require [$(build-nscd) = yes] as well.
23157 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23160 * configure.in (use_nscd): New substituted variable, set by
23161 --disable-nscd. If enabled, define USE_NSCD.
23162 * configure: Regenerated.
23163 * config.h.in: Add USE_NSCD.
23164 * config.make.in (use-nscd): New substituted variable.
23165 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23166 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23167 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23168 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23169 (CFLAGS-getgrnam_r.c): Likewise.
23170 (CFLAGS-initgroups.c): Likewise.
23171 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23172 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23174 * inet/getnetgrent_r.c
23175 (nscd_setnetgrent): New function, broken out of ...
23176 (setnetgrent): ... here. Call it.
23177 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23178 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23179 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23180 * nscd/Makefile (routines, aux): Move definitions after include of
23181 Makeconfig. Conditionalize on [$(use-nscd) != no].
23182 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23183 Conditionalize on [USE_NSCD].
23184 (is_nscd, nscd_init_cb): Likewise.
23185 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23186 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23187 * nss/nss_db/db-init.c: Likewise.
23188 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23190 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23191 (make_request): Use it.
23192 (cache_valid_p): New function.
23193 (__check_pf): Use it.
23194 * NEWS: Add item for --disable-nscd.
23196 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23198 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23199 to support sed >= 4.2.1-20-ga9bf076.
23200 * configure: Regenerated.
23202 2012-08-22 Roland McGrath <roland@hack.frob.com>
23204 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23205 Conditionalize whole body on [IREL].
23207 2012-08-22 Jeff Law <law@redhat.com>
23210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23211 if the family is PF_UNSPEC.
23213 2012-08-22 Mike Frysinger <vapier@gentoo.org>
23215 * Makerules (lib-version): Rename from V.
23216 (install-lib-nosubdir): Change V to lib-version.
23218 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23221 * powerpc32/power6/wcschr.c: New file.
23222 * powerpc32/power6/wcscpy.c: New file.
23223 * powerpc32/power6/wcsrchr.c: New file.
23224 * powerpc64/power6/wcschr.c: New file.
23225 * powerpc64/power6/wcscpy.c: New file.
23226 * powerpc64/power6/wcsrchr.c: New file.
23228 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23230 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23231 (two_way_short_needle): Use it.
23232 * string/strstr.c (AVAILABLE1_USES_J): Define.
23233 * string/strcasestr.c: Likewise.
23235 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23237 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23240 * NEWS: Add an entry.
23241 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23242 define their defaults.
23243 (two_way_short_needle): Detect end-of-string on-the-fly.
23244 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23245 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23246 * string/bug-strcasestr1.c: New test.
23247 * string/Makefile: Run it.
23249 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23252 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23253 the first character.
23255 2012-08-21 Roland McGrath <roland@hack.frob.com>
23257 * csu/elf-init.c (__libc_csu_irel): Function removed.
23258 * csu/libc-start.c (apply_irel): New function.
23259 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23261 2012-08-21 Joseph Myers <joseph@codesourcery.com>
23263 * sysdeps/unix/sysv/linux/kernel-features.h
23264 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23265 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23266 <kernel-features.h>.
23267 [__NR_fadvise64_64]: Make code unconditional.
23268 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23269 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23270 !__NR_fadvise64_64)]: Likewise.
23271 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23272 !__NR_fadvise64_64))]: Likewise.
23273 [__NR_fadvise64]: Make code unconditional.
23274 [!__NR_fadvise64]: Remove conditional code.
23275 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23276 <kernel-features.h>.
23277 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23279 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23282 not include <kernel-features.h>.
23283 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23285 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23287 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23288 include <kernel-features.h>.
23289 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23291 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23294 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23296 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23297 slight instruction rearrangements per scrollpipe analysis.
23298 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23300 2012-08-20 Roland McGrath <roland@hack.frob.com>
23302 * manual/syslog.texi (syslog; vsyslog, closelog):
23303 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23304 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23306 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23307 DSOCAPS to match condition on defining it.
23309 2012-08-20 Joseph Myers <joseph@codesourcery.com>
23311 * sysdeps/unix/sysv/linux/kernel-features.h
23312 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23314 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23315 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23317 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23318 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23320 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23321 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23323 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23324 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23326 * sysdeps/unix/sysv/linux/kernel-features.h
23327 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23328 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23330 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23331 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23332 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23333 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23334 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23335 Make code unconditional.
23336 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23337 (__mmap64) [!__NR_mmap2]: Likewise.
23338 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23339 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23340 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23341 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23342 [__NR_mmap2]: Make code unconditional.
23343 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23344 (__mmap64) [!__NR_mmap2]: Likewise.
23346 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23348 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23350 2012-08-18 Andreas Jaeger <aj@suse.de>
23352 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23354 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23356 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23357 * include/unistd.h (__have_sock_cloexec): Likewise.
23358 (__have_pipe2): Likewise.
23359 (__have_dup3): Likewise.
23361 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23364 * include/unistd.h (__have_pipe2): Change define into an extern int.
23365 (__have_dup3): Likewise.
23366 * socket/have_sock_cloexec.c: Include fcntl.h.
23367 (__have_pipe2): New variable.
23368 (__have_dup3): Likewise.
23370 2012-08-17 Mike Frysinger <vapier@gentoo.org>
23372 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23374 2012-08-17 Marek Polacek <polacek@redhat.com>
23376 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23377 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23379 2012-08-17 Roland McGrath <roland@hack.frob.com>
23381 * configure.in: Add AC_SUBST for sysheaders.
23382 * configure: Regenerated.
23383 * config.make.in (sysheaders): New substituted variable.
23385 * sysdeps/unix/mkfifo.c: Moved ...
23386 * sysdeps/posix/mkfifo.c: ... here.
23387 * sysdeps/unix/mkfifoat.c: Moved ...
23388 * sysdeps/posix/mkfifoat.c: ... here.
23390 * sysdeps/unix/utime.c: Moved ...
23391 * sysdeps/posix/utime.c: ... here.
23393 * sysdeps/unix/time.c: Moved ...
23394 * sysdeps/posix/time.c: ... here.
23395 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23396 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23398 * sysdeps/unix/nice.c: Moved ...
23399 * sysdeps/posix/nice.c: ... here.
23401 * sysdeps/unix/alarm.c: Moved ...
23402 * sysdeps/posix/alarm.c: ... here.
23404 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23406 2012-08-17 Jeff Law <law@redhat.com>
23408 * intl/Makefile (codeset_mo): New variable.
23409 ($(codeset_mo)): New target.
23410 (tst-codeset.out): Depend on that. Remove explicit rule.
23411 (tst-gettext3.out, tst-gettext5.out): Likewise.
23412 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23413 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23414 * intl/tst-codeset.sh: Remove.
23415 * intl/tst-gettext3.sh: Likewise.
23416 * intl/tst-gettext5.sh: Likewise.
23418 2012-08-17 Roland McGrath <roland@hack.frob.com>
23420 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23421 * sysdeps/unix/syscalls.list: ... here.
23423 * sysdeps/posix/getaddrinfo.c
23424 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23425 (gaiconf_init, gaiconf_reload): Use them.
23426 [!_STATBUF_ST_NSEC]
23427 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23428 Define using time_t rather than struct timespec.
23430 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23431 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23433 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23435 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23436 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23439 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23440 __libc_cleanup_push argument.
23442 * bits/param.h: New file.
23443 * misc/sys/param.h: New file.
23444 * include/sys/param.h: New file.
23445 * misc/Makefile (headers): Add bits/param.h.
23446 * sysdeps/generic/sys/param.h: File removed.
23447 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23448 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23449 * sysdeps/mach/hurd/bits/param.h: New file.
23450 * sysdeps/mach/hurd/sys/param.h: File removed.
23452 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23455 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23457 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23458 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23461 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23462 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23463 rather than -D_IO_MTSAFE_IO conditionally.
23464 * stdio-common/Makefile (CPPFLAGS): Likewise.
23465 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23466 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23467 Use $(libio-mtsafe).
23468 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23469 of -D_IO_MTSAFE_IO.
23470 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23471 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23472 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23473 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23474 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23475 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23476 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23477 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23478 (CFLAGS-fread_u_chk.c): Likewise.
23479 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23480 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23481 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23482 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23483 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23484 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23485 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23486 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23487 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23489 * libio/Makefile: Test [$(libc-reentrant) = yes]
23490 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23493 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23494 * sysdeps/pthread/configure: File removed.
23495 * sysdeps/pthread/Makeconfig: New file.
23496 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23497 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23499 2012-08-16 Gary Benson <gbenson@redhat.com>
23501 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23502 unmapping the first object in a namespace.
23504 2012-08-16 Roland McGrath <roland@hack.frob.com>
23506 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23507 (__internal_setnetgrent): ... this. Add internal_function to
23508 definition. Add libc_hidden_def.
23509 (setnetgrent): Update caller.
23510 (internal_endnetgrent): Renamed to ...
23511 (__internal_endnetgrent): ... this. Add internal_function to
23512 definition. Add libc_hidden_def.
23513 (endnetgrent): Update caller.
23514 (internal_getnetgrent_r): Renamed to ...
23515 (__internal_getnetgrent_r): ... this. Add internal_function to
23516 definition. Add libc_hidden_def.
23517 (__getnetgrent_r): Update caller.
23518 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23520 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23522 * stdlib/longlong.h: Update from GCC.
23524 2012-08-16 Roland McGrath <roland@hack.frob.com>
23526 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23527 on _QL, which is set by umul_ppmm but never used.
23528 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23529 variables, which are set by GMP macros but never used.
23530 * stdio-common/_itowa.c (_itowa): Likewise.
23531 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23532 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23534 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23536 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23537 struct La_sh_regs is not constant.
23538 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23539 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23540 and struct La_sparc64_regs are not constant.
23542 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23544 * sysdeps/unix/sysv/linux/kernel-features.h
23545 (__ASSUME_POSIX_TIMERS): Remove.
23546 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23547 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23548 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23549 Make code unconditional.
23550 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23551 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23552 Make code unconditional.
23553 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23554 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23555 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23556 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23557 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23558 Make code unconditional.
23559 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23560 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23561 (__libc_missing_posix_timers): Remove.
23563 2012-08-15 Roland McGrath <roland@hack.frob.com>
23565 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23566 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23568 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23570 * elf/dl-sym.c: Include <stdlib.h>.
23572 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23573 constants, which avoids warnings in 32-bit builds.
23575 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23576 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23578 * misc/lseek.c: File moved to ...
23579 * io/lseek.c: ... here.
23581 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23583 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23584 shifting LEN more than 31 bits at once.
23586 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23589 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23590 segmentation fault for a case of two empty input strings.
23591 * string/test-strncasecmp.c (check1): Renamed to...
23592 (bz12205): ...this.
23593 (bz14195): Add new testcase for two empty input strings and N > 0.
23594 (test_main): Call new testcase, adapt for renamed function.
23596 2012-08-15 Andreas Jaeger <aj@suse.de>
23599 * crypt/md5test2.c: New test, based on test supplied by Serge
23600 Belyshev <belyshev@depni.sinp.msu.ru>.
23601 * crypt/Makefile (xtests): Add md5test-giant..
23602 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23604 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23607 * crypt/md5.c (md5_process_block): Don't assume the buffer
23608 length is less than 2**32.
23609 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23610 length is less than 2**64.
23612 2012-08-15 Roland McGrath <roland@hack.frob.com>
23614 * string/str-two-way.h: Include <sys/param.h>.
23615 (MAX): Macro removed.
23617 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23618 Move #define and #undef of memmove to just before and after
23619 including <string.h>.
23621 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23622 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23623 and after including <string.h>. Move declarations of
23624 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23625 to before #include "string/memmove.c".
23627 * include/dirent.h: Declare __getdirentries.
23629 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23630 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23632 2012-08-14 Mike Frysinger <vapier@gentoo.org>
23634 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23635 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23636 * sysdeps/i386/configure: Regenerated.
23637 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23638 STABS_CURRENT_FILE, and STABS_FUN.
23639 (END): Remove call to STABS_FUN_END.
23640 (STABS_CURRENT_FILE1): Delete.
23641 (STABS_CURRENT_FILE): Likewise.
23642 (STABS_FUN): Likewise.
23643 (STABS_FUN_END): Likewise.
23644 (STABS_FUN2): Likewise.
23645 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23646 * sysdeps/x86_64/configure: Regenerated.
23648 2012-08-14 Roland McGrath <roland@hack.frob.com>
23650 * elf/dl-open.c: Include <atomic.h>.
23651 * elf/dl-lookup.c: Likewise.
23653 2012-08-14 Joseph Myers <joseph@codesourcery.com>
23655 * sysdeps/unix/sysv/linux/kernel-features.h
23656 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23657 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23659 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23661 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23662 condition on __ASSUME_CLONE_THREAD_FLAGS.
23664 2012-08-14 Andreas Jaeger <aj@suse.de>
23666 * sysdeps/i386/fpu/libm-test-ulps: Update.
23668 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23670 * include/atomic.h (atomic_exchange_and_add): Split into ...
23671 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23674 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23678 2012-08-13 Jeff Law <law@redhat.com>
23680 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23681 null byte in the output string.
23683 2012-08-10 Joseph Myers <joseph@codesourcery.com>
23685 * sysdeps/unix/sysv/linux/kernel-features.h
23686 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23687 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23688 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23689 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23690 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23691 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23692 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23694 2012-08-09 Jeff Law <law@redhat.com>
23697 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23698 When avoid_arena is set, don't retry in the that arena. Pick the
23699 next one, whatever it might be.
23700 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23701 (arena_lock): Pass in new parameter to arena_get2.
23702 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23704 (__libc_malloc): Unify retrying after main arena failure with
23705 __libc_memalign version.
23706 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23708 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23711 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23712 to __redirect_strstr.
23713 (__strstr_sse42): Use typeof __redirect_strstr.
23714 (__strstr_ia32): Likewise.
23715 (__libc_strstr): New prototype.
23716 (strstr): Renamed to ...
23717 (__libc_strstr): This.
23718 (strstr): New strong alias of __libc_strstr.
23719 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23720 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23723 (__libc_time): New prototype.
23724 (time_ifunc): Replace time with __libc_time.
23725 (time): New strong alias and hidden definition of __libc_time.
23726 (__GI_time): Remove strong alias.
23727 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23728 Include <stddef.h>.
23729 (memmove): Redefined to __redirect_memmove.
23730 (__memmove_sse2): Use typeof __redirect_memmove.
23731 (__memmove_ssse3): Likewise.
23732 (__memmove_ssse3_back): Likewise.
23733 (__libc_memmove): New prototype.
23734 (memmove): Renamed to ...
23735 (__libc_memmove): This.
23736 (memmove): New strong alias of __libc_memmove.
23738 2012-08-08 Mark Salter <msalter@redhat.com>
23741 (R_MN10300_TLS_GD): Define.
23742 (R_MN10300_TLS_LD): Likewise.
23743 (R_MN10300_TLS_LDO): Likewise.
23744 (R_MN10300_TLS_GOTIE): Likewise.
23745 (R_MN10300_TLS_IE): Likewise.
23746 (R_MN10300_TLS_LE): Likewise.
23747 (R_MN10300_TLS_DTPMOD): Likewise.
23748 (R_MN10300_TLS_DTPOFF): Likewise.
23749 (R_MN10300_TLS_TPOFF): Likewise.
23750 (R_MN10300_SYM_DIFF): Likewise.
23751 (R_MN10300_ALIGN): Likewise.
23752 (R_MN10300_NUM): Update.
23754 2012-08-08 Joseph Myers <joseph@codesourcery.com>
23756 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23759 2012-08-08 Roland McGrath <roland@hack.frob.com>
23761 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23763 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23764 sysdeps/unix -> sysdeps/posix move.
23765 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23767 2012-08-07 Allan McRae <allan@archlinux.org>
23770 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23771 (SUNOS_CPP): Likewise.
23772 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23774 (open_input): Call CPP using execvp.
23776 2012-08-07 Joseph Myers <joseph@codesourcery.com>
23778 * sysdeps/unix/sysv/linux/kernel-features.h
23779 (__ASSUME_PROT_GROWSUPDOWN): Remove.
23780 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23781 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23782 (__ASSUME_WAITID_SYSCALL): Likewise.
23783 * sysdeps/unix/sysv/linux/dl-execstack.c
23784 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23785 code unconditional.
23786 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23788 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23789 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23790 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23792 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23794 [__ASSUME_WAITID_SYSCALL]: Likewise.
23795 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23797 2012-08-07 Roland McGrath <roland@hack.frob.com>
23799 * sysdeps/unix/closedir.c: Renamed to ...
23800 * sysdeps/posix/closedir.c: ... here.
23801 * sysdeps/unix/dirfd.c: Renamed to ...
23802 * sysdeps/posix/dirfd.c: ... here.
23803 * sysdeps/unix/dirstream.h: Renamed to ...
23804 * sysdeps/posix/dirstream.h: ... here.
23805 * sysdeps/unix/fdopendir.c: Renamed to ...
23806 * sysdeps/posix/fdopendir.c: ... here.
23807 * sysdeps/unix/opendir.c: Renamed to ...
23808 * sysdeps/posix/opendir.c: ... here.
23809 * sysdeps/unix/readdir.c: Renamed to ...
23810 * sysdeps/posix/readdir.c: ... here.
23811 * sysdeps/unix/readdir_r.c: Renamed to ...
23812 * sysdeps/posix/readdir_r.c: ... here.
23813 * sysdeps/unix/rewinddir.c: Renamed to ...
23814 * sysdeps/posix/rewinddir.c: ... here.
23815 * sysdeps/unix/seekdir.c: Renamed to ...
23816 * sysdeps/posix/seekdir.c: ... here.
23817 * sysdeps/unix/telldir.c: Renamed to ...
23818 * sysdeps/posix/telldir.c: ... here.
23819 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23820 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23821 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23822 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23824 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23825 * bits/fcntl.h: ... here.
23827 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23829 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23830 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23831 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23832 (struct flock): Move l_start, l_len to the beginning.
23833 Use __pid_t for l_pid.
23834 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23835 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23836 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23837 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23838 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23839 [__USE_LARGEFILE64] (struct flock64): New type.
23840 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23842 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23843 * bits/dirent.h: ... here.
23845 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23846 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23848 2012-08-07 Joseph Myers <joseph@codesourcery.com>
23850 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23851 Change from 2.6.0 to 2.6.16.
23852 * sysdeps/unix/sysv/linux/configure: Regenerated.
23853 * sysdeps/unix/sysv/linux/kernel-features.h
23854 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23855 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23857 (__ASSUME_UTIMES): Likewise.
23858 (__ASSUME_CLONE_STOPPED): Remove.
23859 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23860 architectures, not kernel version.
23861 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23862 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23863 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23864 (__ASSUME_WAITID_SYSCALL): Likewise.
23865 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23866 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23867 * README: State 2.6.16 as minimum Linux kernel version. Do not
23868 refer to older versions.
23870 2012-08-06 Roland McGrath <roland@hack.frob.com>
23872 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23873 Define alphasort64 as an alias.
23874 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23875 Define versionsort64 as an alias.
23876 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23877 Define scandir64 as an alias.
23878 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23879 Define scandirat64 as an alias.
23880 * dirent/alphasort64.c (alphasort64):
23881 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23882 * dirent/versionsort64.c: Likewise.
23883 * dirent/scandir64.c: Likewise.
23884 * dirent/scandirat64.c: Likewise.
23885 * sysdeps/wordsize-64/alphasort.c: File removed.
23886 * sysdeps/wordsize-64/alphasort64.c: File removed.
23887 * sysdeps/wordsize-64/scandir.c: File removed.
23888 * sysdeps/wordsize-64/scandir64.c: File removed.
23889 * sysdeps/wordsize-64/scandirat.c: File removed.
23890 * sysdeps/wordsize-64/scandirat64.c: File removed.
23891 * sysdeps/wordsize-64/versionsort.c: File removed.
23892 * sysdeps/wordsize-64/versionsort64.c: File removed.
23893 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23894 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23895 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23896 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23897 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23898 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23899 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23900 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23902 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23904 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23906 [defined __arch64__ || defined __sparcv9]
23907 (__INO_T_MATCHES_INO64_T): New macro.
23908 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23909 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23910 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23911 * sysdeps/unix/sysv/linux/bits/dirent.h
23912 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23913 (_DIRENT_MATCHES_DIRENT64): New macro.
23915 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23916 Define lockf64 as an alias.
23917 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23918 Define fseeko64 as an alias.
23919 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23920 Define ftello64 as an alias.
23921 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23922 Define _IO_fgetpos64 and fgetpos64 as aliases.
23923 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23924 Define _IO_fsetpos64 and fsetpos64 as aliases.
23925 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23926 Conditionalize body on this.
23927 * libio/fseeko64.c: Likewise.
23928 * libio/ftello64.c: Likewise.
23929 * libio/iofgetpos64.c: Likewise.
23930 * libio/iofsetpos64.c: Likewise.
23931 * sysdeps/wordsize-64/lockf.c: File removed.
23932 * sysdeps/wordsize-64/lockf64.c: File removed.
23933 * sysdeps/wordsize-64/fseeko.c: File removed.
23934 * sysdeps/wordsize-64/fseeko64.c: File removed.
23935 * sysdeps/wordsize-64/ftello.c: File removed.
23936 * sysdeps/wordsize-64/ftello64.c: File removed.
23937 * sysdeps/wordsize-64/iofgetpos.c: File removed.
23938 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
23939 * sysdeps/wordsize-64/iofsetpos.c: File removed.
23940 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
23941 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
23942 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
23943 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
23944 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
23945 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
23946 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
23947 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
23948 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
23949 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
23950 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
23952 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23954 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
23955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23956 [defined __arch64__ || defined __sparcv9]
23957 (__OFF_T_MATCHES_OFF64_T): New macro.
23958 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23959 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23960 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23961 (__OFF_T_MATCHES_OFF64_T): New macro.
23963 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
23965 * stdlib/secure-getenv.c (__secure_getenv): Replace
23966 GLIBC_2_16 with GLIBC_2_17.
23968 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
23970 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
23971 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23973 2012-08-03 David S. Miller <davem@davemloft.net>
23975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23977 2012-08-03 Joseph Myers <joseph@codesourcery.com>
23979 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
23981 (__ASSUME_CORRECT_SI_PID): Likewise.
23982 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
23983 (__ASSUME_TMPFS_NAME): Likewise.
23984 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
23985 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
23986 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
23987 (HAVE_AUX_SECURE): Make definition unconditional.
23988 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
23989 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
23991 2012-08-03 Roland McGrath <roland@hack.frob.com>
23993 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
23994 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
23995 * sysdeps/mach/hurd/eloop-threshold.h: New file.
23996 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23997 __eloop_threshold instead of SYMLOOP_MAX.
23999 * sysdeps/generic/eloop-threshold.h: New file.
24000 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24002 * elf/chroot_canon.c (chroot_canon): Likewise.
24004 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24007 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24008 Change to 2.6.0 everywhere.
24009 * sysdeps/unix/sysv/linux/configure: Regenerated.
24010 * sysdeps/unix/sysv/linux/kernel-features.h
24011 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24012 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24014 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24015 (__ASSUME_FUTEX_REQUEUE): Remove.
24016 (__ASSUME_STATFS64): Define unconditionally.
24017 (__ASSUME_AT_SECURE): Likewise.
24018 (__ASSUME_CORRECT_SI_PID): Likewise.
24019 (__ASSUME_TGKILL): Define without depending on kernel version for
24021 (__ASSUME_UTIMES): Likewise.
24022 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24024 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24025 (__ASSUME_TMPFS_NAME): Likewise.
24026 * README: Update reference to Linux kernel versions.
24028 2012-08-02 Marek Polacek <polacek@redhat.com>
24031 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24032 libc_cv_asm_type_prefix with %.
24033 * configure: Regenerated.
24034 * include/libc-symbols.h: Remove comment about
24035 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24036 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24037 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24038 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24039 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24040 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24041 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24042 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24043 * elf/tst-unique2mod1.c: Likewise.
24044 * elf/tst-unique1mod2.c: Likewise.
24045 * elf/tst-unique1mod1.c: Likewise.
24046 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24047 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24048 Replace ASM_TYPE_DIRECTIVE with .type.
24049 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24050 * sysdeps/i386/sysdep.h: Likewise.
24051 * sysdeps/x86_64/sysdep.h: Likewise.
24052 * sysdeps/sh/sysdep.h: Likewise.
24053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24054 Do not define ASM_TYPE_DIRECTIVE.
24055 * sysdeps/powerpc/sysdep.h: Likewise.
24056 * sysdeps/powerpc/powerpc32/sysdep.h:
24057 Replace ASM_TYPE_DIRECTIVE with .type.
24058 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24059 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24060 * sysdeps/i386/fpu/e_powf.S: Likewise.
24061 * sysdeps/i386/fpu/e_expl.S: Likewise.
24062 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24063 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24064 * sysdeps/i386/fpu/e_pow.S: Likewise.
24065 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24066 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24067 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24068 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24069 * sysdeps/i386/fpu/e_log2.S: Likewise.
24070 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24071 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24072 * sysdeps/i386/fpu/e_powl.S: Likewise.
24073 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24074 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24075 * sysdeps/i386/fpu/e_logl.S: Likewise.
24076 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24077 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24078 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24079 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24080 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24081 * sysdeps/i386/fpu/e_log.S: Likewise.
24082 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24083 * sysdeps/i386/fpu/e_logf.S: Likewise.
24084 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24085 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24086 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24087 * sysdeps/i386/fpu/e_log10.S: Likewise.
24088 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24089 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24090 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24091 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24092 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24094 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24095 * sysdeps/i386/i686/strtok.S: Likewise.
24096 * sysdeps/i386/i386-mcount.S: Likewise.
24097 * sysdeps/i386/strtok.S: Likewise.
24098 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24099 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24100 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24101 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24102 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24103 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24104 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24105 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24106 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24107 * sysdeps/x86_64/_mcount.S: Likewise.
24108 * sysdeps/x86_64/strtok.S: Likewise.
24109 * sysdeps/sh/_mcount.S: Likewise.
24111 2012-08-01 Roland McGrath <roland@hack.frob.com>
24113 * libio/iofopen.c: Include <fcntl.h>.
24114 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24115 (_IO_fopen64, fopen64): Define as aliases.
24116 * libio/iofopen64.c: Include <fcntl.h>.
24117 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24118 Conditionalize body on this.
24119 * sysdeps/wordsize-64/iofopen.c: File removed.
24120 * sysdeps/wordsize-64/iofopen64.c: File removed.
24122 2012-08-01 Marek Polacek <polacek@redhat.com>
24124 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24125 Use dlfcn directly instead of a variable.
24126 (binfmt-subdir): Do not define.
24129 2012-08-01 Joseph Myers <joseph@codesourcery.com>
24131 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24132 Remove all definitions.
24133 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24134 <kernel-features.h>.
24135 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24136 (miss_F_GETOWN_EX): Remove all definitions.
24137 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24139 [!__ASSUME_FCNTL64]: Remove conditional code.
24140 [__ASSUME_FCNTL64]: Make code unconditional.
24141 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24142 <kernel-features.h>.
24143 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24144 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24145 (lockf64) [__NR_fcntl64]: Make code unconditional.
24146 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24148 * sysdeps/unix/sysv/linux/kernel-features.h
24149 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24150 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24151 Make code unconditional.
24152 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24153 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24155 [__NR_vfork]: Make code unconditional.
24156 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24157 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24159 [__NR_vfork]: Make code unconditional.
24160 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24161 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24163 2012-08-01 Roland McGrath <roland@hack.frob.com>
24165 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24166 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24168 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24169 Define mkstemp64 as an alias.
24170 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24171 Define mkstemps64 as an alias.
24172 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24173 Define mkostemp64 as an alias.
24174 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24175 Define mkostemps64 as an alias.
24176 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24177 Conditionalize body on this.
24178 * misc/mkostemp64.c: Likewise.
24179 * misc/mkostemps64.c: Likewise.
24180 * misc/mkstemps64.c: Likewise.
24181 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24182 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24183 * sysdeps/wordsize-64/mkostemp.c: File removed.
24184 * sysdeps/wordsize-64/mkstemp.c: File removed.
24185 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24186 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24187 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24188 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24191 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24192 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24193 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24194 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24196 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24197 compat_symbol macros from <shlib-compat.h> rather than the underlying
24198 default_symbol_version and symbol_version macros, so that DEFAULT
24199 lines in shlib-versions are respected.
24200 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24202 2012-08-01 Florian Weimer <fweimer@redhat.com>
24204 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24205 Declare with warn_unused_result.
24206 (setgid, setregid, setegid, setresgid): Likewise.
24207 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24209 * WUR-REPORT: Remove set*id functions.
24211 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24213 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24215 2012-07-31 Roland McGrath <roland@hack.frob.com>
24218 * include/sys/socket.h (__libc_accept, __libc_accept4):
24219 Add attribute_hidden.
24220 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24222 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24224 * inet/getnetgrent_r.c (setup): Likewise.
24226 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24228 2012-07-31 David S. Miller <davem@davemloft.net>
24230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24232 2012-07-31 Joseph Myers <joseph@codesourcery.com>
24235 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24236 value between 1.0 and 2.0 and smaller part has absolute value less
24238 * math/s_clog10.c (__clog10): Likewise.
24239 * math/s_clog10f.c (__clog10f): Likewise.
24240 * math/s_clog10l.c (__clog10l): Likewise.
24241 * math/s_clogf.c (__clogf): Likewise.
24242 * math/s_clogl.c (__clogl): Likewise.
24243 * math/libm-test.inc (clog_test): Add more tests.
24244 (clog10_test): Likewise.
24245 * sysdeps/i386/fpu/libm-test-ulps: Update.
24246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24248 2012-07-31 Florian Weimer <fweimer@redhat.com>
24250 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24251 Exit with zero in case no suitable GID is found, and write a
24252 message to standard error.
24254 2012-07-30 Roland McGrath <roland@hack.frob.com>
24256 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24258 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24259 (MAXPATHLEN): Removed.
24260 (NOGROUP, NODEV): New macros.
24261 (setbit, clrbit, isset, isclr): New macros.
24262 (howmany, roundup, powerof2): New macros.
24263 (DEV_BSIZE): New macro.
24265 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24266 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24268 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24269 definition on [!__NO_LONG_DOUBLE_MATH].
24271 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24272 PTR_MANGLE and PTR_DEMANGLE.
24274 * socket/accept4.c (accept4): Rename to __libc_accept4.
24275 Define accept4 as a weak alias.
24277 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24278 on [_DIRENT_HAVE_D_TYPE].
24279 * io/ftw.c (ftw_dir): Likewise.
24281 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24283 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24285 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24286 Use the BSD numbers rather than the arbitrary ones we had.
24287 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24288 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24289 (SIGXCPU, SIGXFSZ): New macros.
24292 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24293 initializer on [_LIBC_REENTRANT].
24295 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24296 definitions inside [_POSIX_MAPPED_FILES].
24298 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24300 * dirent/opendir.c: Include <fcntl.h>.
24302 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24303 (__libc_getspecific): Likewise.
24304 (__libc_key_create): Likewise.
24306 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24307 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24308 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24309 (tmpfile64): Define as alias.
24310 * sysdeps/wordsize-64/tmpfile.c: File removed.
24311 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24312 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24313 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24315 * stdio-common/vfscanf.c: Include <stdbool.h>.
24316 * nss/makedb.c: Likewise.
24317 * stdio-common/_i18n_number.h: Likewise.
24318 * argp/argp-help.c: Likewise.
24319 * posix/wordexp.c: Likewise.
24320 * sysdeps/posix/spawni.c: Likewise.
24321 * nss/nss_files/files-initgroups.c: Likewise.
24322 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24323 * nss/nss_files/files-initgroups.c: Likewise.
24324 * nss/nss_db/db-netgrp.c: Likewise.
24325 * nss/nss_db/db-initgroups.c: Likewise.
24326 * io/fchmodat.c: Include <sys/stat.h>.
24328 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24329 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24331 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24334 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24335 Add multiple inclusion protection.
24337 2012-07-27 David S. Miller <davem@davemloft.net>
24339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24341 2012-07-27 Gary Benson <gbenson@redhat.com>
24344 * elf/rtld.c: Include <stap-probe.h>.
24345 (dl_main): Added static probes "init_start" and "init_complete".
24346 * elf/dl-load.c: Include <stap-probe.h>.
24347 (lose): Take new parameter "nsid".
24348 Added static probe "map_failed".
24349 (_dl_map_object_from_fd): Pass namespace id to lose.
24350 Added static probe "map_start".
24351 (open_verify): Pass namespace id to lose.
24352 * elf/dl-open.c: Include <stap-probe.h>.
24353 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24354 and "reloc_complete".
24355 * elf/dl-close.c: Include <stap-probe.h>.
24356 (_dl_close_worker): Added static probes "unmap_start" and
24358 * elf/rtld-debugger-interface.txt: New file documenting the above.
24360 2012-07-26 Roland McGrath <roland@hack.frob.com>
24362 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24363 rather than a string variable.
24364 * sunrpc/rpc_main.c (h_output): Likewise.
24365 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24367 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24369 * inet/check_native.c: New file.
24371 2012-07-26 Joseph Myers <joseph@codesourcery.com>
24374 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24375 if larger part has absolute value 1.0.
24376 * math/s_clog10.c (__clog10): Likewise.
24377 * math/s_clog10f.c (__clog10f): Likewise.
24378 * math/s_clog10l.c (__clog10l): Likewise.
24379 * math/s_clogf.c (__clogf): Likewise.
24380 * math/s_clogl.c (__clogl): Likewise.
24381 * math/libm-test.inc (clog_test): Add more tests.
24382 (clog10_test): Likewise.
24383 * sysdeps/i386/fpu/libm-test-ulps: Update.
24384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24386 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24387 (pltexit): Likewise.
24388 (La_regs): Likewise.
24389 (La_retval): Likewise.
24390 (int_retval): Likewise.
24391 Update #error for removed macros to refer only to definitions in
24393 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24395 (pltexit): Likewise.
24396 (La_regs): Likewise.
24397 (La_retval): Likewise.
24398 (int_retval): Likewise.
24399 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24401 (pltexit): Likewise.
24402 (La_regs): Likewise.
24403 (La_retval): Likewise.
24404 (int_retval): Likewise.
24405 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24407 (pltexit): Likewise.
24408 (La_regs): Likewise.
24409 (La_retval): Likewise.
24410 (int_retval): Likewise.
24411 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24413 (pltexit): Likewise.
24414 (La_regs): Likewise.
24415 (La_retval): Likewise.
24416 (int_retval): Likewise.
24417 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24419 (pltexit): Likewise.
24420 (La_regs): Likewise.
24421 (La_retval): Likewise.
24422 (int_retval): Likewise.
24423 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24425 (pltexit): Likewise.
24426 (La_regs): Likewise.
24427 (La_retval): Likewise.
24428 (int_retval): Likewise.
24429 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24430 macro definitions in tst-audit.h.
24431 * sysdeps/i386/tst-audit.h: New file.
24432 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24433 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24434 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24435 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24436 * sysdeps/sh/tst-audit.h: Likewise.
24437 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24438 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24439 * sysdeps/x86_64/tst-audit.h: Likewise.
24441 2012-07-26 Andreas Jaeger <aj@suse.de>
24443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24446 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24447 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24448 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24450 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24451 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24452 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24454 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24457 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24459 (si_call_addr, si_syscall, si_arch): Define new macro.
24460 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24462 (si_call_addr, si_syscall, si_arch): Define new marcro.
24463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24465 (si_call_addr, si_syscall, si_arch): Define new macro.
24466 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24468 (si_call_addr, si_syscall, si_arch): Define new macro.
24470 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24473 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24474 Change to 2.4.21 where previously 2.4.1.
24475 * sysdeps/unix/sysv/linux/configure: Regenerated.
24476 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24477 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24478 Linux kernel version.
24479 (__ASSUME_STD_AUXV): Remove.
24480 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24482 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24483 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24484 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24485 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24486 (__ASSUME_NETLINK_SUPPORT): Likewise.
24487 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24488 (__no_netlink_support): Remove conditional definition.
24489 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24491 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24492 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24493 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24494 (if_nameindex_ioctl): Remove.
24495 (if_nameindex_netlink): Do not handle __no_netlink_support.
24496 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24498 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24499 Remove conditional code.
24500 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24502 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24504 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24505 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24506 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24508 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24509 [!__ASSUME_STD_AUXV]: Remove conditional code.
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24511 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24512 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24514 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24515 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24517 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24519 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24520 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24522 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24524 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24527 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24530 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24531 code unconditional.
24532 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24534 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24536 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24539 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24541 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24544 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24545 code unconditional.
24546 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24548 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24550 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24553 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24554 code unconditional.
24555 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24557 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24559 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24562 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24564 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24565 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24566 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24567 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24568 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24569 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24570 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24571 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24572 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24573 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24574 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24575 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24576 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24577 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24578 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24579 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24580 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24581 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24582 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24584 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24585 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24586 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24588 2012-07-25 Florian Weimer <fweimer@redhat.com>
24590 * Versions.def: Add GLIBC_2.17.
24591 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24592 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24593 Introduce __libc_secure_getenv.
24594 * stdlib/Versions (2.17): Add secure_getenv
24595 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24596 * stdlib/secure-getenv.c: Rename __secure_getenv to
24597 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24598 symbol __secure_getenv for GLIBC_2.0.
24599 * stdlib/tst-secure-getenv.c: New.
24600 * stdlib/Makefile (tests): Add testcase.
24601 * manual/startup.texi (Environment Access): Document
24603 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24604 __libc_secure_getenv.
24605 * inet/ruserpass.c (ruserpass): Likewise.
24606 * malloc/mtrace.c (mtrace): Likewise.
24607 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24608 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24609 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24610 * sysdeps/posix/tempname.c: Likewise. Evaluate
24611 HAVE_SECURE_GETENV.
24612 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24613 __secure_getenv to __libc_secure_getenv.
24614 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24621 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24627 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24629 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24630 (struct La_i86_retval): Likewise.
24631 (struct La_x86_64_regs): Likewise.
24632 (struct La_x86_64_retval): Likewise.
24633 (struct La_x32_regs): Likewise.
24634 (struct La_x32_retval): Likewise.
24635 (struct La_ppc32_regs): Likewise.
24636 (struct La_ppc32_retval): Likewise.
24637 (struct La_ppc64_regs): Likewise.
24638 (struct La_ppc64_retval): Likewise.
24639 (struct La_sh_regs): Likewise.
24640 (struct La_sh_retval): Likewise.
24641 (struct La_s390_32_regs): Likewise.
24642 (struct La_s390_32_retval): Likewise.
24643 (struct La_s390_64_regs): Likewise.
24644 (struct La_s390_64_retval): Likewise.
24645 (struct La_sparc32_regs): Likewise.
24646 (struct La_sparc32_retval): Likewise.
24647 (struct La_sparc64_regs): Likewise.
24648 (struct La_sparc64_retval): Likewise.
24649 (struct audit_ifaces): Remove architecture-specific pltenter and
24651 * sysdeps/i386/ldsodefs.h: New file.
24652 * sysdeps/powerpc/ldsodefs.h: Likewise.
24653 * sysdeps/s390/ldsodefs.h: Likewise.
24654 * sysdeps/sh/ldsodefs.h: Likewise.
24655 * sysdeps/sparc/ldsodefs.h: Likewise.
24656 * sysdeps/x86_64/ldsodefs.h: Likewise.
24658 2012-07-25 Marek Polacek <polacek@redhat.com>
24661 * math/libm-test.inc (yn_test): Add another test.
24662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24663 to ERANGE when the result is +-Inf.
24664 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24665 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24666 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24667 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24669 2012-07-24 Joseph Myers <joseph@codesourcery.com>
24671 * conform/data/time.h-data (NULL): Use macro-constant. Require
24673 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24675 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24677 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24679 * configure.in <sysdeps resolving>: Correct printing
24681 * configure: Regenerate.
24683 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24685 * math/w_ilogb.c: Include <limits.h>.
24686 * math/w_ilogbl.c: Likewise.
24688 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24690 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24691 va_copy. Document allowing for unavailable va_copy only as
24692 pre-C99 compatibility.
24693 * manual/string.texi (Copying and Concatenation): Use va_copy
24694 instead of __va_copy in concat example.
24696 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24698 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24699 (__sendto): Use create_address_port. Initialize APORT and deallocate
24702 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24703 with O_NOLINK passed to __file_name_lookup.
24705 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24706 with O_NOLINK passed to __file_name_lookup.
24708 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24709 negative N or less than NGIDS.
24711 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24712 type to string_t. Set ERANGE as errno and return it if NAME is not big
24713 enough. Use memcpy instead of strncpy.
24715 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24717 * elf/Makefile (check-data): Remove.
24718 (localplt.data): New vpath directive.
24719 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24720 instead of $(check-data).
24721 * scripts/data/localplt-generic.data: Move to ...
24722 * sysdeps/generic/localplt.data: ... here.
24723 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24724 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24725 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24728 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24731 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24734 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24737 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24740 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24744 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24746 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24747 PPC32 and PPC64 files.
24748 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24749 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24751 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24753 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24754 __makecontext_ret to ...
24755 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24756 ... here and call exit if uc_link is NULL. New file.
24757 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24758 __makecontext_ret.S.
24759 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24760 __makecontext_ret to ...
24761 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24762 ... here and call exit if uc_link is NULL. New file.
24763 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24764 __makecontext_ret.S.
24766 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24768 * elf/elf.h (R_390_IRELATIVE): New definition.
24769 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24770 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
24771 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24772 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24773 (elf_machine_lazy_rel): Likewise.
24774 * sysdeps/s390/dl-irel.h: New file.
24775 * sysdeps/s390/s390-64/memcpy.S: New asm code.
24776 * sysdeps/s390/s390-64/memset.S: New asm code.
24777 * sysdeps/s390/s390-64/memcmp.S: New asm code.
24778 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24779 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24780 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24781 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24782 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24783 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24784 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24785 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24786 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24787 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24788 * sysdeps/s390/s390-32/memcpy.S: New asm code.
24789 * sysdeps/s390/s390-32/memset.S: New asm code.
24790 * sysdeps/s390/s390-32/memcmp.S: New asm code.
24792 2012-07-17 Marek Polacek <polacek@redhat.com>
24795 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24796 * sysdeps/s390/s390-64/configure.in: Likewise.
24797 * sysdeps/sparc/configure.in: Likewise.
24798 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24799 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24800 * sysdeps/i386/configure.in: Likewise.
24801 * sysdeps/x86_64/configure.in: Likewise.
24802 * sysdeps/sh/configure.in: Likewise.
24803 * sysdeps/s390/s390-32/configure: Regenerated.
24804 * sysdeps/s390/s390-64/configure: Likewise.
24805 * sysdeps/x86_64/configure: Likewise.
24806 * sysdeps/sh/configure: Likewise.
24807 * sysdeps/powerpc/powerpc64/configure: Likewise.
24808 * sysdeps/powerpc/powerpc32/configure: Likewise.
24809 * sysdeps/sparc/configure: Likwise.
24810 * sysdeps/i386/configure: Likewise.
24812 * elf/dl-open.c: Comment fixes.
24814 2012-07-17 Joseph Myers <joseph@codesourcery.com>
24816 * Makefile [CXX] (check-data): Remove.
24817 [CXX] (c++-types.data): New vpath directive.
24818 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24819 vpath. Do not allow for C++ type data being missing.
24820 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24821 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24822 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24823 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24824 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24825 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24826 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24829 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24832 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24835 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24838 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24841 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24844 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24847 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24850 * elf/tls-macros.h (TLS_LE): Move architecture-specific
24851 definitions to architecture-specific files.
24852 (TLS_IE): Likewise.
24853 (TLS_LD): Likewise.
24854 (TLS_GD): Likewise.
24855 * sysdeps/i386/tls-macros.h: New file.
24856 * sysdeps/powerpc/tls-macros.h: Likewise.
24857 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24858 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24859 * sysdeps/sh/tls-macros.h: Likewise.
24860 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24861 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24862 * sysdeps/x86_64/tls-macros.h: Likewise.
24864 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24866 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24867 zero value for regular exit case.
24869 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24870 (__start_context): Preserve zero value for regular exit case.
24872 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24873 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24875 * manual/setjmp.texi (setcontext): Clarify normal process
24876 termination when uc_link is the null pointer.
24877 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24880 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
24882 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24883 preprocessor. Test for each exception mask separately.
24885 2012-07-16 Andreas Jaeger <aj@suse.de>
24887 * po/ru.po: Update from translation team.
24889 2012-07-15 Joseph Myers <joseph@codesourcery.com>
24891 * conform/data/string.h-data (NULL): Use macro-constant. Require
24893 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24894 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24895 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24896 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24897 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24899 2012-07-13 Andreas Jaeger <aj@suse.de>
24901 * po/fr.po: Update from translation team.
24903 2012-07-12 Marek Polacek <polacek@redhat.com>
24906 * math/libm-test.inc (yn_test): Add test for BZ #14173.
24907 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24910 2012-07-12 Joseph Myers <joseph@codesourcery.com>
24913 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24914 Change to 2.4.1 where previously 2.4.0.
24915 * sysdeps/unix/sysv/linux/configure: Regenerated.
24916 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24917 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24919 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24920 (__ASSUME_AT_CLKTCK): Remove.
24921 (__ASSUME_AT_PAGESIZE): Likewise.
24922 (__ASSUME_AT_XID): Likewise.
24923 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24924 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24925 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24927 (HAVE_AUX_PAGESIZE): Likewise.
24928 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24929 [__ASSUME_AT_CLKTCK]: Make code unconditional.
24930 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24932 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
24935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
24936 the temporary buffer used to invoke __gethostbyname2_r,
24937 __gethostbyaddr_r and gethostbyname4_r to make room for struct
24938 host_data / struct gaih_addrtuple.
24939 * resolv/nss_dns/dns-host.c (global scope): Move definition of
24940 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
24941 header file nss/nsswitch.h.
24942 * nss/nsswitch.h (global scope): Add definition of implementation
24943 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
24944 resolv/nss_dns/dns-host.c).
24946 2012-07-11 Andreas Jaeger <aj@suse.de>
24948 * po/fr.po: Update from translation team.
24950 * po/sv.po: Update from translation team
24951 * po/fr.po: Another update from translation team.
24953 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24955 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
24956 for subnormals or multiply small sinh result by itself.
24957 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24960 2012-07-11 David S. Miller <davem@davemloft.net>
24962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24964 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
24967 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
24968 (INTERNAL_MARK): Shift it here.
24970 2012-07-10 Marek Polacek <polacek@redhat.com>
24973 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
24974 libc_cv_asm_global_directive with .globl.
24975 * configure: Regenerated.
24976 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
24978 * sysdeps/i386/configure: Regenerated.
24979 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
24981 * sysdeps/x86_64/configure: Regenerated.
24982 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
24983 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
24984 * elf/tst-unique2mod2.c: Likewise.
24985 * elf/tst-unique2mod1.c: Likewise.
24986 * elf/tst-unique1mod2.c: Likewise.
24987 * elf/tst-unique1mod1.c: Likewise.
24988 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24989 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24990 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24991 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24992 * sysdeps/mach/sysdep.h: Likewise.
24993 * sysdeps/i386/sysdep.h: Likewise.
24994 * sysdeps/i386/i386-mcount.S: Likewise.
24995 * sysdeps/x86_64/_mcount.S: Likewise.
24996 * sysdeps/x86_64/sysdep.h: Likewise.
24997 * sysdeps/sh/_mcount.S: Likewise.
24998 * sysdeps/sh/sysdep.h: Likewise.
24999 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25000 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25001 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25002 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25003 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25004 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25005 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25006 * locale/localeinfo.h: Likewise.
25007 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25008 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25010 2012-07-09 Roland McGrath <roland@hack.frob.com>
25013 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25015 * manual/message.texi (The Uniforum approach): Likewise.
25016 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25017 (glibc iconv Implementation): Likewise.
25019 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25022 * math/s_clog.c (__clog): Avoid scaling a value down where that
25023 could result in underflow.
25024 * math/s_clog10.c (__clog10): Likewise.
25025 * math/s_clog10f.c (__clog10f): Likewise.
25026 * math/s_clog10l.c (__clog10l): Likewise.
25027 * math/s_clogf.c (__clogf): Likewise.
25028 * math/s_clogl.c (__clogl): Likewise.
25029 * math/libm-test.inc (clog_test): Add more tests.
25030 (clog10_test): Likewise.
25031 * sysdeps/i386/fpu/libm-test-ulps: Update.
25032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25034 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25037 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25038 by 7 not 8 to examine high bit of fractional part.
25041 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25042 for call to __mcount_internal.
25043 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25044 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25045 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25047 2012-07-06 Joseph Myers <joseph@codesourcery.com>
25050 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25051 approximation for values within 0x1p-13f of an odd multiple of
25053 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25054 exception. Add more tests.
25055 * sysdeps/i386/fpu/libm-test-ulps: Update.
25058 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25059 inputs and return -1 for them. Do not check for +Inf in case not
25060 reachable for +Inf.
25061 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25062 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25063 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25064 and return -1 for them. Do not check for +Inf in case not
25065 reachable for +Inf.
25066 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25068 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25069 and return -1 for them. Do not check for +Inf in case not
25070 reachable for +Inf.
25071 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25072 spurious underflow.
25073 * sysdeps/i386/fpu/libm-test-ulps: Update.
25074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25076 2012-07-06 Mike Frysinger <vapier@gentoo.org>
25078 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25080 2012-07-05 Joseph Myers <joseph@codesourcery.com>
25084 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25085 could result in spurious underflow. Scale down values above
25086 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25087 * math/s_csqrtf.c (__csqrtf): Likewise.
25088 * math/s_csqrtl.c (__csqrtl): Likewise.
25089 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25090 spurious underflow.
25091 * sysdeps/i386/fpu/libm-test-ulps: Update.
25092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25094 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25096 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25098 * catgets/xopen-msg.awk: New file.
25099 * catgets/xopen-msg.sed: Removed.
25101 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25103 * intl/po2test.awk: New file.
25104 * intl/po2test.sed: Removed.
25106 2012-07-04 Joseph Myers <joseph@codesourcery.com>
25109 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25110 or multiply small sinh result by itself.
25111 * math/s_ctanf.c (__ctanf): Likewise.
25112 * math/s_ctanh.c (__ctanh): Likewise.
25113 * math/s_ctanhf.c (__ctanhf): Likewise.
25114 * math/s_ctanhl.c (__ctanhl): Likewise.
25115 * math/s_ctanl.c (__ctanl): Likewise.
25116 * math/libm-test.inc (ctan_test_tonearest): New function.
25117 (ctan_test_towardzero): Likewise.
25118 (ctan_test_downward): Likewise.
25119 (ctan_test_upward): Likewise.
25120 (ctanh_test_tonearest): Likewise.
25121 (ctanh_test_towardzero): Likewise.
25122 (ctanh_test_downward): Likewise.
25123 (ctanh_test_upward): Likewise.
25124 (main): Call these new functions.
25125 * sysdeps/i386/fpu/libm-test-ulps: Update.
25126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25128 2012-07-03 Mike Frysinger <vapier@gentoo.org>
25130 * .gitignore: Delete /ports entry.
25132 2012-07-03 Andreas Jaeger <aj@suse.de>
25134 * po/bg.po: Update from translation team.
25135 * po/cs.po: Likewise.
25136 * po/de.po: Likewise.
25137 * po/hr.po: Likewise.
25138 * po/nl.pl: Likewise.
25139 * po/pl.po: Likewise.
25140 * po/vi.po: Likewise.
25142 2012-07-03 Joseph Myers <joseph@codesourcery.com>
25144 * Makeconfig [!+link] (+link-before-libc): New variable.
25145 [!+link] (+link-after-libc): Likewise.
25146 [!+link] (+link-tests): Likewise.
25147 [!+link] (+link): Define in terms of $(+link-before-libc) and
25148 $(+link-after-libc).
25149 [!+link-static] (+link-static-before-libc): New variable.
25150 [!+link-static] (+link-static-after-libc): Likewise.
25151 [!+link-static] (+link-static-tests): Likewise.
25152 [!+link-static] (+link-static): Define in terms of
25153 $(+link-static-before-libc) and $(+link-static-after-libc).
25154 [build-shared] (link-libc-before-gnulib): New variable.
25155 [build-shared] (link-libc-tests): Likewise.
25156 [build-shared] (link-libc): Define in terms of
25157 $(link-libc-before-gnulib).
25158 [!build-shared] (link-libc-tests): New variable.
25159 (link-libc-static-tests): New variable.
25160 [!gnulib] (gnulib-arch): New variable.
25161 [!gnulib] (gnulib-tests): Likewise.
25162 [!gnulib] (static-gnulib-arch): Likewise.
25163 [!gnulib] (static-gnulib-tests): Likewise.
25164 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25165 Define with "=" instead of ":=".
25166 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25167 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25168 * Rules (binaries-all-notests): New variable.
25169 (binaries-all-tests): Likewise.
25170 (binaries-static-notests): Likewise.
25171 (binaries-static-tests): Likewise.
25172 (binaries-all): Define using $(binaries-all-notests) and
25173 $(binaries-all-tests).
25174 (binaries-static): Define using $(binaries-static-notests) and
25175 $(binaries-static-tests).
25176 (binaries-shared-tests): New variable.
25177 (binaries-shared-notests): Likewise.
25178 (binaries-shared): Remove variable.
25179 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25180 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25181 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25182 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25183 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25184 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25185 * elf/Makefile (sln-modules): New variable.
25186 (extra-objs): Add $(sln-modules:=.o).
25187 (ldconfig-modules): Add static-stubs.
25188 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25189 * elf/static-stubs.c: New file.
25192 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25193 by 7 not 8 to examine high bit of fractional part. Use volatile
25194 variables when splitting into final array of floats if
25195 __FLT_EVAL_METHOD__ != 0.
25196 * math/libm-test.inc (cos_test): Add another test.
25197 (sin_test): Likewise.
25198 * sysdeps/i386/fpu/libm-test-ulps: Update.
25201 * math/libm-test.inc (cosh_test): Add more tests.
25203 * version.h (RELEASE): Set to "development".
25204 (VERSION): Set to "2.16.90".
25206 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25208 * NEWS: Update copyright. Remove last-updated date.
25209 Mention math library bug fixes and timezone data changes.
25210 * README: Mention GNU/Hurd, x32, and HPPA support status.
25212 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25214 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25216 2012-06-27 Andreas Jaeger <aj@suse.de>
25218 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25220 2012-06-25 Andreas Jaeger <aj@suse.de>
25222 * sysdeps/s390/fpu/libm-test-ulps: Update.
25224 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25225 Thomas Schwinge <thomas@codesourcery.com>
25227 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25228 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25232 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25234 * sysdeps/mach/start.c: Remove file.
25235 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25236 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25237 * sysdeps/sh/init-first.c: Likewise.
25239 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25240 registers for frame unwinding purposes, add CFI directives.
25241 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25242 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25243 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25246 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25247 __fortify_fail returning.
25248 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25250 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25251 sysdeps/sh/____longjmp_chk.S.
25252 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25253 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25254 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25255 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25257 * sysdeps/sh/abort-instr.h: New file.
25258 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25259 process in case exit returns.
25261 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25262 initialize the GOT register before use.
25264 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25265 calculation of ARGC > 4.
25267 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25268 meaningful names to some local labels.
25270 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25271 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25273 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25274 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25275 (__arch_compare_and_exchange_val_16_acq): Likewise.
25276 (__arch_compare_and_exchange_val_32_acq): Likewise.
25277 (atomic_exchange_and_add): Fix gUSA sequence.
25278 (atomic_add): Likewise.
25279 (atomic_add_negative): Likewise.
25280 (atomic_add_zero): Likewise.
25281 (atomic_bit_test_set): Likewise.
25283 2012-06-22 Andreas Schwab <schwab@redhat.com>
25286 * include/link.h (struct link_map): Add l_free_initfini.
25287 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25289 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25290 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25291 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25294 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25296 * configure.in: Use AC_LANG_SOURCE.
25297 * configure: Regenerate.
25299 2012-06-22 Roland McGrath <roland@hack.frob.com>
25301 * configure.in (libc_cv_localstatedir): New substituted variable.
25302 * configure: Regenerated.
25303 * config.make.in (localstatedir): New variable, substituted from
25304 libc_cv_localstatedir.
25305 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25306 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25307 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25308 * sysdeps/gnu/configure: Regenerated.
25310 2012-06-21 Jeff Law <law@redhat.com>
25313 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25314 free. Simplify list management for _LIBC case.
25316 2012-06-21 Joseph Myers <joseph@codesourcery.com>
25319 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25320 Clear sign bit of 64-bit integer value before comparing against
25323 * sysdeps/mach/configure: Regenerated.
25325 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25328 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25330 2012-06-21 Jeff Law <law@redhat.com>
25333 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25334 uint16_t for elements in the "seen" array to avoid char overflows.
25335 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25336 * elf/dl-open.c (dl_open_worker): Likewise.
25338 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25340 * scripts/list-sources.sh: Scan PORTS for translations.
25341 * po/libc.pot: Regenerated.
25343 2012-06-21 Andreas Jaeger <aj@suse.de>
25346 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25348 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25349 * bits/byteswap-16.h (__bswap_16): Likewise.
25350 * bits/byteswap.h (__bswap_constant_16): Likewise.
25352 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25355 * sysdeps/i386/fpu_control.h: Removed.
25356 * sysdeps/x86_64/fpu_control.h: Moved to ...
25357 * sysdeps/x86/fpu_control.h: Here.
25359 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25360 (_FPU_SETCW): Likewise.
25362 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25365 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25366 * sysdeps/x86/fpu/bits/mathinline.h: This.
25367 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25371 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25372 functions if __x86_64__ is defined.
25374 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25376 * string/endian.h: Add !__ASSEMBLER__ condition for including
25377 conversion interfaces.
25379 2012-06-15 Joseph Myers <joseph@codesourcery.com>
25382 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25383 of ABS(x) in calculating zero to negative powers other than odd
25385 * math/libm-test.inc (pow_test): Add more tests.
25387 2012-06-15 Andreas Jaeger <aj@suse.de>
25389 * manual/contrib.texi (Contributors): Update entry of Liubov
25390 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25393 2012-06-15 Cyril Hrubis <metan@ucw.cz>
25395 * string/string.h: Add __wur to GNU version of strerror_r.
25397 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25400 * string/Makefile (tests): Add tst-strtok_r.
25401 * string/tst-strtok_r.c: New file.
25402 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25403 RAX_LP/RDX_LP on SAVE_PTR.
25405 2012-06-14 Roland McGrath <roland@hack.frob.com>
25407 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25409 2012-06-14 Joseph Myers <joseph@codesourcery.com>
25411 * libm_test.inc (csqrt_test): Allow more spurious underflow
25413 (j0_test): Likewise.
25414 (j1_test): Likewise.
25415 (y0_test): Likewise.
25416 (y1_test): Likewise.
25418 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25420 * po/Makefile (libc.pot): Use UTF-8 charset.
25422 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25425 Suppress sign-conversion warning from FD_SET.
25426 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25427 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25428 not unsigned long int.
25429 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25431 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25435 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25436 __extern_always_inline instead of __extern_inline.
25437 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25438 (__signbit): Likewise.
25439 (__signbitl): Support C++ namespace.
25440 (lrintf): New inline function.
25442 (llrintf): Likewise.
25443 (llrint): Likewise.
25453 (floorf): Likewise.
25454 (nearbyint): Likewise.
25455 (nearbyintf): Likewise.
25457 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25459 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25460 non-default versions.
25462 2012-06-11 Roland McGrath <roland@hack.frob.com>
25465 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25467 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25469 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25470 (FE_UPWARD, FE_DOWNWARD): Don't define.
25471 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25472 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25474 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25476 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25477 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25479 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25481 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25482 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25483 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25484 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25486 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25489 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25490 * sysdeps/i386/fpu/Implies: New file.
25491 * sysdeps/x86_64/fpu/Implies: Likewise.
25492 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25493 * sysdeps/x86/fpu/bits/fenv.h: This.
25495 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25498 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25501 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25502 character 0xffff that matches the last element of the
25505 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25507 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25510 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25512 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25513 values higher than 25.6283.
25515 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25517 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25518 subnormal exponent extraction and add some __builtin_expect.
25519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25520 Fix for subnormal mantissa calculation.
25522 2012-06-04 Mike Frysinger <vapier@gentoo.org>
25524 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25525 cpu2 is -1 and errno is not ENOSYS.
25527 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25530 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25531 * sysdeps/x86/bits/string.h: This.
25532 * sysdeps/x86_64/bits/string.h: Removed.
25534 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25535 if not compiling for x86-64, but compiling for >= i486.
25537 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25538 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25540 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25541 New macro from Linux kernel 3.4.0.
25542 (FP_XSTATE_MAGIC2): Likewise.
25543 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25544 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25545 (struct _fpx_sw_bytes): New struct.
25546 (struct _xsave_hdr): Likewise.
25547 (struct _ymmh_state): Likewise.
25548 (struct _xstate): Likewise.
25550 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25551 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25552 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25553 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25554 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25555 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25557 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25558 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25559 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25560 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25561 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25562 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25564 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25567 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25568 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25569 (sysdep_headers): Include sys/platform/ppc.h.
25570 * sysdeps/powerpc/test-gettimebase.c: Test for
25571 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25572 * manual/Makefile (appendices): Include platform.texi.
25573 * manual/contrib.texi (Contributors): Update @node pointers.
25574 * manual/maint.texi (Maintenance): Likewise.
25575 (Platform): New node.
25576 * manual/platform.texi: New file. Document the new features.
25578 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25579 Jakub Jelinek <jakub@redhat.com>
25582 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25583 where __builtin_expect is unavailable.
25585 2012-06-03 David S. Miller <davem@davemloft.net>
25587 * stdlib/longlong.h: Updated from GCC.
25589 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25592 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25593 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25596 (GLIBC_2.16): Likewise.
25598 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25600 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25602 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25605 (default-abi): New variable.
25606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25607 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25609 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25611 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25613 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25616 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25617 definition. Document in comment.
25619 2012-06-01 David S. Miller <davem@davemloft.net>
25621 * stdlib/longlong.h: Updated from GCC.
25623 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25626 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25627 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25628 sys/debugreg.h sys/io.h here.
25629 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25630 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25632 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25633 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25634 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25635 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25636 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25637 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25639 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25640 Define only if __x86_64__ is defined.
25642 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25646 Use int64_t for variable i.
25647 * math/libm-test.inc (fmod_test): Add more tests.
25649 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25650 z computation is not scheduled after fetestexcept.
25651 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25652 Use math_force_eval instead of asm to ensure calculation scheduled
25653 before exception test.
25654 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25655 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25657 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25660 computation is not scheduled after fetestexcept.
25662 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25665 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25666 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25668 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25670 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25671 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25673 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25676 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25678 (__WCHAR_MIN): Support __WORDSIZE == 64.
25679 (__WCHAR_MAX): Likewise.
25681 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25682 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25685 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25686 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25689 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25690 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25692 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25693 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25695 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25696 Defined to 1 if __x86_64__ isn't defined.
25697 (_STAT_VER_LINUX_OLD): New.
25698 (st_atime): Remove duplicate.
25699 (st_mtime): Likewise.
25700 (st_ctime): Likewise.
25702 2012-05-31 David S. Miller <davem@davemloft.net>
25704 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25707 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25709 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25713 * elf/dl-reloc.c: Include <_itoa.h>.
25714 (_dl_reloc_bad_type): Remove use of INTUSE.
25715 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25716 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25717 * stdio-common/psiginfo.c (psiginfo): Likewise.
25718 * stdio-common/psignal.c (psignal): Likewise.
25719 * string/strsignal.c (strsignal): Likewise.
25720 * include/signal.h (_sys_siglist): Declare hidden proto.
25721 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25722 INTVARDEF with libc_hidden_data_def.
25723 * stdio-common/itoa-udigits.c: Likewise.
25724 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25725 (_itoa_lower_digits_internal): Remove declaration.
25726 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25727 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25728 (_sys_sigabbrev_internal): Remove aliases.
25729 (_sys_siglist): Define hidden alias.
25731 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25736 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25739 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25740 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25742 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25743 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25744 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25745 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25746 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25747 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25749 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25750 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25751 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25753 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25761 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25762 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25763 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25765 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25766 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25767 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25768 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25769 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25770 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25772 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25773 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25775 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25776 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25780 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25782 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25783 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25785 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25787 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25788 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25789 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25791 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25793 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25795 2012-05-31 Joseph Myers <joseph@codesourcery.com>
25797 * math/math.h (M_El): Use two more decimal places.
25798 (M_LOG2El): Likewise.
25799 (M_LOG10El): Likewise.
25800 (M_LN2l): Likewise.
25801 (M_LN10l): Likewise.
25803 (M_PI_2l): Likewise.
25804 (M_PI_4l): Likewise.
25805 (M_1_PIl): Likewise.
25806 (M_2_PIl): Likewise.
25807 (M_2_SQRTPIl): Likewise.
25808 (M_SQRT2l): Likewise.
25809 (M_SQRT1_2l): Likewise.
25811 2012-05-31 David S. Miller <davem@davemloft.net>
25813 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25814 values between float registers.
25815 * sysdeps/sparc/sparc64/memset.S: Likewise.
25816 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25818 2012-05-31 Mike Frysinger <vapier@gentoo.org>
25820 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25821 -D_FORTIFY_SOURCE=1.
25822 (CPPFLAGS-tst-longjmp_chk.c): Define.
25823 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25824 (CPPFLAGS-tst-longjmp_chk2.c): Define.
25825 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25826 CFLAGS-tst-wchar-h.c.
25828 2012-05-31 Marek Polacek <polacek@redhat.com>
25831 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25832 __endmntent_internal): Remove declaration.
25833 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25834 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25835 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25837 2012-05-30 David S. Miller <davem@davemloft.net>
25839 * sysdeps/sparc/sparc32/soft-fp/q_util.c
25840 (___Q_simulate_exceptions): Use real FP ops rather than writing
25842 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25845 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25848 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25849 * sysdeps/x86/bits/xtitypes.h: This.
25851 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25852 * sysdeps/x86/bits/wordsize.h: This.
25854 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25855 * sysdeps/x86/bits/huge_vall.h: This.
25857 * sysdeps/i386/bits/select.h: Removed.
25858 * sysdeps/x86_64/bits/select.h: Renamed to ...
25859 * sysdeps/x86/bits/select.h: This.
25861 * sysdeps/i386/bits/setjmp.h: Removed.
25862 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25863 * sysdeps/x86/bits/setjmp.h: This.
25865 * sysdeps/i386/bits/mathdef.h: Removed.
25866 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25867 * sysdeps/x86/bits/mathdef.h: This.
25869 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
25872 * include/sys/socket.h (__connect_internal)
25873 (__libc_sa_len_internal): Remove declaration.
25874 (__connect, __libc_sa_len): Declare hidden_proto.
25875 (SA_LEN): Remove use of INTUSE.
25876 * socket/connect.c: Add libc_hidden_def.
25877 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25878 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25879 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25881 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25882 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25883 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25884 of adding _internal alias.
25886 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25889 * sysdeps/i386/bits/link.h: Removed.
25890 * sysdeps/i386/bits/linkmap.h: Likewise.
25891 * sysdeps/x86_64/bits/link.h: Renamed to ...
25892 * sysdeps/x86/bits/link.h: This.
25893 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25894 * sysdeps/x86/bits/linkmap.h: This.
25896 * sysdeps/i386/bits/endian.h: Removed.
25897 * sysdeps/x86_64/bits/endian.h: Renamed to ...
25898 * sysdeps/x86/bits/endian.h: This.
25900 * sysdeps/i386/bits/byteswap.h: Removed.
25901 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25902 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25903 * sysdeps/x86/bits/byteswap.h: This.
25904 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25905 * sysdeps/x86/bits/byteswap-16.h: This.
25906 * sysdeps/i386/Implies: Add x86.
25907 * sysdeps/x86_64/Implies: Likewise.
25909 2012-05-30 David S. Miller <davem@davemloft.net>
25911 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25912 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25913 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25914 (FP_TRAPPING_EXCEPTIONS): Define.
25915 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25916 (FP_TRAPPING_EXCEPTIONS): Define.
25917 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25918 subnormals only when inexact has been signalled or underflow
25919 exceptions are enabled.
25920 (_FP_PACK_CANONICAL): Likewise.
25922 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25925 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25926 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25928 2012-05-30 Richard Henderson <rth@twiddle.net>
25930 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25931 with #ifndef NOT_IN_libc.
25933 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
25934 marked to avoid plt entry.
25936 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25939 * Makeconfig (default-abi): New macro.
25940 (abi-includes): Likewise.
25941 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
25942 $(abi-$(default-abi)-lib-soname) for soname if defined.
25943 ($(common-objpfx)gnu/lib-names.stmp): Generate from
25945 * Makefile (installed-stubs): Likewise.
25946 * include/stubs-biarch.h: Removed.
25947 * scripts/lib-names.awk: Only handle one library at a time.
25948 * scripts/soversions.awk: Remove WORDSIZE support.
25949 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
25951 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
25953 (syscall-list-default-condition): Likewise.
25954 (syscall-list-default-condition): Likewise.
25955 (syscall-list-includes): Likewise.
25956 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
25957 syscall-list-* with abi-*. Handle undefined abi-variants.
25958 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
25959 * sysdeps/unix/sysv/linux/i386/Implies: New file.
25960 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
25961 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
25962 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
25963 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
25965 (syscall-list-32-options): Likewise.
25966 (syscall-list-32-condition): Likewise.
25967 (syscall-list-64-options): Likewise.
25968 (syscall-list-64-condition): Likewise.
25969 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
25971 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
25974 (abi-64-ld-soname): New macro.
25975 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
25976 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
25979 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
25980 * sysdeps/x86_64/x32/shlib-versions: Likewise.
25982 2012-05-30 Joseph Myers <joseph@codesourcery.com>
25984 * sysdeps/unix/sysv/linux/kernel-features.h
25985 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
25986 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
25987 include <kernel-features.h>.
25988 [!__NR_ftruncate64]: Remove conditional code.
25989 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25990 [__NR_ftruncate64]: Make code unconditional.
25991 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25992 * sysdeps/unix/sysv/linux/truncate64.c: Do not
25993 include <kernel-features.h>.
25994 [!__NR_ftruncate64]: Remove conditional code.
25995 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25996 [__NR_ftruncate64]: Make code unconditional.
25997 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
25999 include <kernel-features.h>.
26000 [!__NR_ftruncate64]: Remove conditional code.
26001 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26002 [__NR_ftruncate64]: Make code unconditional.
26003 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26005 include <kernel-features.h>.
26006 [!__NR_ftruncate64]: Remove conditional code.
26007 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26008 [__NR_ftruncate64]: Make code unconditional.
26009 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26011 * configure.in (libc_cv_fpie): Weaken to a compile test using
26012 LIBC_TRY_CC_OPTION.
26013 * configure: Regenerated.
26015 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26030 2012-05-27 David S. Miller <davem@davemloft.net>
26032 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26034 (__Q_simulate_exceptions): Return void. Change to simulate
26035 exceptions by writing into the %fsr.
26036 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26037 (__Qp_handle_exceptions): Likewise.
26039 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26040 __Qp_handle_exceptions.
26041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26042 __Qp_handle_exceptions.
26043 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26044 as unused and give dummy FP_RND_NEAREST initializer.
26045 (FP_INHIBIT_RESULTS): Define.
26046 (___Q_simulate_exceptions): Update declaration.
26047 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26049 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26050 as unused and give dummy FP_RND_NEAREST initializer.
26051 (__Qp_handle_exceptions): Update declaration.
26052 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26055 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26057 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26058 the temporary FPU control word.
26059 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26060 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26061 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26062 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26063 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26064 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26065 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26066 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26067 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26068 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26069 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26071 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26073 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26076 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26078 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26079 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26080 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26081 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26083 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26084 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26087 2012-05-27 Ulrich Drepper <drepper@gmail.com>
26089 * po/h.po: Update from translation team.
26091 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26093 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26095 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26096 handling of denormals.
26097 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26098 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26099 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26100 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26102 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26103 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26106 2012-05-26 Marek Polacek <polacek@redhat.com>
26109 * math/libm-test.inc (fma_test): Don't always expect underflow
26112 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26115 * elf/tst-execstack.c: Include stackinfo.h.
26116 (do_test): Adjust test case to ensure that pthread_getattr_np
26117 behaviour remains the same after marking stack executable.
26119 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26121 * sysdeps/unix/sysv/linux/kernel-features.h
26122 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26123 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26125 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26126 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26127 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26129 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26130 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26132 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26134 * configure.in: Define the default includes to being none.
26135 * configure: Regenerated.
26137 2012-05-25 Roland McGrath <roland@hack.frob.com>
26139 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26140 * sysdeps/x86_64/setjmp.S: Likewise.
26141 * sysdeps/i386/bsd-setjmp.S: Likewise.
26142 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26143 * sysdeps/i386/setjmp.S: Likewise.
26144 * sysdeps/i386/__longjmp.S: Likewise.
26145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26146 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26148 * include/stap-probe.h: New file.
26149 * configure.in: Handle --enable-systemtap.
26150 * configure: Regenerated.
26151 * config.h.in (USE_STAP_PROBE): New #undef.
26152 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26153 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26154 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26156 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26160 to 2.4.0 where earlier.
26161 * sysdeps/unix/sysv/linux/configure: Regenerated.
26162 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26163 <kernel-features.h>.
26164 [__ASSUME_32BITUIDS]: Make code unconditional.
26165 [!__ASSUME_32BITUIDS]: Remove conditional code.
26166 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26167 <kernel-features.h>.
26168 [__ASSUME_32BITUIDS]: Make code unconditional.
26169 [!__ASSUME_32BITUIDS]: Remove conditional code.
26170 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26171 [__ASSUME_32BITUIDS]: Make code unconditional.
26172 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26173 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26174 <kernel-features.h>.
26175 [__ASSUME_32BITUIDS]: Make code unconditional.
26176 [!__ASSUME_32BITUIDS]: Remove conditional code.
26177 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26178 <kernel-features.h>.
26179 [__ASSUME_32BITUIDS]: Make code unconditional.
26180 [!__ASSUME_32BITUIDS]: Remove conditional code.
26181 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26182 <kernel-features.h>.
26183 [__ASSUME_32BITUIDS]: Make code unconditional.
26184 [!__ASSUME_32BITUIDS]: Remove conditional code.
26185 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26186 <kernel-features.h>.
26187 [__ASSUME_32BITUIDS]: Make code unconditional.
26188 [!__ASSUME_32BITUIDS]: Remove conditional code.
26189 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26190 <kernel-features.h>.
26191 [__ASSUME_32BITUIDS]: Make code unconditional.
26192 [!__ASSUME_32BITUIDS]: Remove conditional code.
26193 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26194 <kernel-features.h>.
26195 [__ASSUME_32BITUIDS]: Make code unconditional.
26196 [!__ASSUME_32BITUIDS]: Remove conditional code.
26197 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26198 <kernel-features.h>.
26199 [__ASSUME_32BITUIDS]: Make code unconditional.
26200 [!__ASSUME_32BITUIDS]: Remove conditional code.
26201 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26202 <kernel-features.h>.
26203 [__ASSUME_32BITUIDS]: Make code unconditional.
26204 [!__ASSUME_32BITUIDS]: Remove conditional code.
26205 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26206 <kernel-features.h>.
26207 [__ASSUME_32BITUIDS]: Make code unconditional.
26208 [!__ASSUME_32BITUIDS]: Remove conditional code.
26209 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26210 <kernel-features.h>.
26211 [__ASSUME_32BITUIDS]: Make code unconditional.
26212 [!__ASSUME_32BITUIDS]: Remove conditional code.
26213 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26214 <kernel-features.h>.
26215 [__NR_setresgid] (__setresgid): Do not declare.
26216 [__ASSUME_32BITUIDS]: Make code unconditional.
26217 [!__ASSUME_32BITUIDS]: Remove conditional code.
26218 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26219 <kernel-features.h>.
26220 [__NR_setresuid] (__setresuid): Do not declare.
26221 [__ASSUME_32BITUIDS]: Make code unconditional.
26222 [!__ASSUME_32BITUIDS]: Remove conditional code.
26223 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26224 <kernel-features.h>.
26225 [__ASSUME_32BITUIDS]: Make code unconditional.
26226 [!__ASSUME_32BITUIDS]: Remove conditional code.
26227 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26228 <kernel-features.h>.
26229 [__ASSUME_32BITUIDS]: Make code unconditional.
26230 [!__ASSUME_32BITUIDS]: Remove conditional code.
26231 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26232 <kernel-features.h>.
26233 [__ASSUME_32BITUIDS]: Make code unconditional.
26234 [!__ASSUME_32BITUIDS]: Remove conditional code.
26235 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26236 <kernel-features.h>.
26237 [__ASSUME_32BITUIDS]: Make code unconditional.
26238 [!__ASSUME_32BITUIDS]: Remove conditional code.
26239 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26240 <kernel-features.h>.
26241 [__ASSUME_32BITUIDS]: Make code unconditional.
26242 [!__ASSUME_32BITUIDS]: Remove conditional code.
26243 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26244 <kernel-features.h>.
26245 [__ASSUME_32BITUIDS]: Make code unconditional.
26246 [!__ASSUME_32BITUIDS]: Remove conditional code.
26247 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26248 <kernel-features.h>.
26249 [__ASSUME_32BITUIDS]: Make code unconditional.
26250 [!__ASSUME_32BITUIDS]: Remove conditional code.
26251 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26252 <kernel-features.h>.
26253 [__ASSUME_32BITUIDS]: Make code unconditional.
26254 [!__ASSUME_32BITUIDS]: Remove conditional code.
26255 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26256 <kernel-features.h>.
26257 [__ASSUME_32BITUIDS]: Make code unconditional.
26258 [!__ASSUME_32BITUIDS]: Remove conditional code.
26259 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26260 <kernel-features.h>.
26261 [__ASSUME_32BITUIDS]: Make code unconditional.
26262 [!__ASSUME_32BITUIDS]: Remove conditional code.
26263 * sysdeps/unix/sysv/linux/kernel-features.h
26264 (__ASSUME_SETRESUID_SYSCALL): Remove.
26265 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26266 (__ASSUME_32BITUIDS): Likewise.
26267 (__ASSUME_LDT_WORKS): Likewise.
26268 (__ASSUME_O_DIRECTORY): Likewise.
26269 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26270 architecture but not kernel version.
26271 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26272 (__ASSUME_MMAP2_SYSCALL): Likewise.
26273 (__ASSUME_STAT64_SYSCALL): Likewise.
26274 (__ASSUME_IPC64): Likewise.
26275 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26276 <kernel-features.h>.
26277 [__ASSUME_32BITUIDS]: Make code unconditional.
26278 [!__ASSUME_32BITUIDS]: Remove conditional code.
26279 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26280 <kernel-features.h>.
26281 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26282 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26283 132096]: Remove conditional code.
26284 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26285 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26286 <kernel-features.h>.
26287 [__ASSUME_32BITUIDS]: Make code unconditional.
26288 [!__ASSUME_32BITUIDS]: Remove conditional code.
26289 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26290 <kernel-features.h>.
26291 [__ASSUME_32BITUIDS]: Make code unconditional.
26292 [!__ASSUME_32BITUIDS]: Remove conditional code.
26293 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26294 <kernel-features.h>.
26295 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26297 (__setresgid): Do not declare.
26298 [__ASSUME_32BITUIDS]: Make code unconditional.
26299 [!__ASSUME_32BITUIDS]: Remove conditional code.
26300 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26301 <kernel-features.h>.
26302 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26304 (__setresuid): Do not declare.
26305 [__ASSUME_32BITUIDS]: Make code unconditional.
26306 [!__ASSUME_32BITUIDS]: Remove conditional code.
26307 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26308 <kernel-features.h>.
26309 [__ASSUME_32BITUIDS]: Make code unconditional.
26310 [!__ASSUME_32BITUIDS]: Remove conditional code.
26311 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26312 <kernel-features.h>.
26313 [__ASSUME_32BITUIDS]: Make code unconditional.
26314 [!__ASSUME_32BITUIDS]: Remove conditional code.
26316 2012-05-25 Richard Henderson <rth@twiddle.net>
26318 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26319 dl_hwcap to ifunc resolver.
26320 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26322 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26323 dl_hwcap to ifunc resolver.
26324 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26326 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26329 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26330 for |x| <= 2**-26, not 2**-57.
26331 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26334 2012-05-24 Jeff Law <law@redhat.com>
26336 * stdio-common/Makefile (tests): Add bug25.
26337 * stdio-common/bug25.c: New test.
26339 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26342 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26343 multiple of MALLOC_ALIGNMENT in size.
26344 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26346 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26348 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26350 (FILENAME_MAX): Use macro-int-constant.
26351 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26352 (_IOFBF): Use macro-int-constant.
26353 (_IOLBF): Likewise.
26354 (_IONBF): Likewise.
26355 (SEEK_CUR): Likewise.
26356 (SEEK_END): Likewise.
26357 (SEEK_SET): Likewise.
26358 (TMP_MAX): Likewise.
26359 (EOF): Use macro-int-constant. Require < 0.
26360 (NULL): Use macro-constant. Require == 0.
26361 (stdin): Require type to be FILE *.
26362 (stdout): Likewise.
26363 (stderr): Likewise.
26364 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26365 macro-int-constant.
26366 (EXIT_SUCCESS): Likewise.
26367 (NULL): Use macro-constant. Require == 0.
26368 (RAND_MAX): Use macro-int-constant.
26369 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26370 [C99-based standards] (strtof): Require function.
26371 [C99-based standards] (strtold): Likewise.
26372 [C99-based standards] (strtoll): Likewise.
26373 [C99-based standards] (strtoull): Likewise.
26374 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26375 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26376 [ISO || ISO99 || ISO11] (math.h): Likewise.
26377 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26378 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26381 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26384 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26385 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26386 * intl/dgettext.c (DCGETTEXT): Likewise.
26387 * intl/gettext.c (DCGETTEXT): Likewise.
26388 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26389 * posix/regex_internal.h (gettext): Likewise.
26390 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26391 Remove declaration.
26392 * include/argz.h (__argz_count_internal)
26393 (__argz_stringify_internal): Remove declaration.
26394 (__argz_count, __argz_stringify): Declare hidden proto.
26395 * intl/dcgettext.c: Remove use of INTDEF.
26396 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26397 * string/argz-stringify.c: Likewise.
26398 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26399 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26400 Declare hidden proto.
26401 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26402 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26403 Declare hidden proto.
26404 * include/stdio.h (__asprintf_internal): Don't declare.
26405 (__asprintf): Don't define as macro. Declare hidden proto.
26406 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26407 (__fsetlocking): Declare hidden proto.
26408 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26409 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26411 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26412 (_IO_setlinebuf): Remove use of INTUSE.
26413 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26414 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26415 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26416 Remove declaration.
26417 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26418 (_IO_do_flush): Remove use of INTUSE.
26419 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26420 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26421 (_IO_adjust_column, _IO_least_wmarker)
26422 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26423 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26424 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26425 (_IO_default_doallocate, _IO_wdefault_doallocate)
26426 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26427 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26428 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26429 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26430 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26431 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26432 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26433 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26434 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26435 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26436 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26437 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26438 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26440 (_IO_flush_all_internal, _IO_adjust_column_internal)
26441 (_IO_default_uflow_internal, _IO_default_finish_internal)
26442 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26443 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26444 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26445 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26446 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26447 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26448 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26449 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26450 (_IO_file_close_internal, _IO_file_close_it_internal)
26451 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26452 (_IO_file_init_internal, _IO_file_attach_internal)
26453 (_IO_file_fopen_internal, _IO_file_read_internal)
26454 (_IO_file_sync_internal, _IO_file_seek_internal)
26455 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26456 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26457 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26458 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26459 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26460 (_IO_list_all_internal, _IO_link_in_internal)
26461 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26462 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26463 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26464 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26465 (_IO_do_write_internal, _IO_padn_internal)
26466 (_IO_getline_info_internal, _IO_getline_internal)
26467 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26468 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26469 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26470 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26471 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26472 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26473 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26474 with libc_hidden_ver, remove use of INTUSE.
26475 * libio/genops.c: Likewise.
26476 * libio/freopen.c: Likewise.
26477 * libio/freopen64.c: Likewise.
26478 * libio/iofclose.c: Likewise.
26479 * libio/iofdopen.c: Likewise.
26480 * libio/iofflush.c: Likewise.
26481 * libio/iofflush_u.c: Likewise.
26482 * libio/iofgets.c: Likewise.
26483 * libio/iofgets_u.c: Likewise.
26484 * libio/iofopen.c: Likewise.
26485 * libio/iofopncook.c: Likewise.
26486 * libio/iofread.c: Likewise.
26487 * libio/iofread_u.c: Likewise.
26488 * libio/ioftell.c: Likewise.
26489 * libio/iofwrite.c: Likewise.
26490 * libio/iogetline.c: Likewise.
26491 * libio/iogets.c: Likewise.
26492 * libio/iogetwline.c: Likewise.
26493 * libio/iopadn.c: Likewise.
26494 * libio/iopopen.c: Likewise.
26495 * libio/ioseekoff.c: Likewise.
26496 * libio/ioseekpos.c: Likewise.
26497 * libio/iosetbuffer.c: Likewise.
26498 * libio/iosetvbuf.c: Likewise.
26499 * libio/ioungetc.c: Likewise.
26500 * libio/ioungetwc.c: Likewise.
26501 * libio/iovdprintf.c: Likewise.
26502 * libio/iovsprintf.c: Likewise.
26503 * libio/iovsscanf.c: Likewise.
26504 * libio/memstream.c: Likewise.
26505 * libio/obprintf.c: Likewise.
26506 * libio/oldfileops.c: Likewise.
26507 * libio/oldiofclose.c: Likewise.
26508 * libio/oldiofdopen.c: Likewise.
26509 * libio/oldiofopen.c: Likewise.
26510 * libio/oldiopopen.c: Likewise.
26511 * libio/oldstdfiles.c: Likewise.
26512 * libio/putc.c: Likewise.
26513 * libio/setbuf.c: Likewise.
26514 * libio/setlinebuf.c: Likewise.
26515 * libio/stdfiles.c: Likewise.
26516 * libio/strops.c: Likewise.
26517 * libio/vasprintf.c: Likewise.
26518 * libio/vscanf.c: Likewise.
26519 * libio/vsnprintf.c: Likewise.
26520 * libio/vswprintf.c: Likewise.
26521 * libio/wfiledoalloc.c: Likewise.
26522 * libio/wfileops.c: Likewise.
26523 * libio/wgenops.c: Likewise.
26524 * libio/wmemstream.c: Likewise.
26525 * libio/wstrops.c: Likewise.
26526 * libio/__fpurge.c: Likewise.
26527 * libio/__fsetlocking.c: Likewise.
26528 * assert/assert.c: Likewise.
26529 * debug/fgets_chk.c: Likewise.
26530 * debug/fgets_u_chk.c: Likewise.
26531 * debug/fread_chk.c: Likewise.
26532 * debug/fread_u_chk.c: Likewise.
26533 * debug/gets_chk.c: Likewise.
26534 * debug/obprintf_chk.c: Likewise.
26535 * debug/vasprintf_chk.c: Likewise.
26536 * debug/vdprintf_chk.c: Likewise.
26537 * debug/vsnprintf_chk.c: Likewise.
26538 * debug/vsprintf_chk.c: Likewise.
26539 * malloc/mtrace.c: Likewise.
26540 * misc/error.c: Likewise.
26541 * misc/syslog.c: Likewise.
26542 * stdio-common/asprintf.c: Likewise.
26543 * stdio-common/fxprintf.c: Likewise.
26544 * stdio-common/getw.c: Likewise.
26545 * stdio-common/isoc99_fscanf.c: Likewise.
26546 * stdio-common/isoc99_scanf.c: Likewise.
26547 * stdio-common/isoc99_vfscanf.c: Likewise.
26548 * stdio-common/isoc99_vscanf.c: Likewise.
26549 * stdio-common/isoc99_vsscanf.c: Likewise.
26550 * stdio-common/printf-prs.c: Likewise.
26551 * stdio-common/printf_fp.c: Likewise.
26552 * stdio-common/printf_fphex.c: Likewise.
26553 * stdio-common/printf_size.c: Likewise.
26554 * stdio-common/putw.c: Likewise.
26555 * stdio-common/scanf.c: Likewise.
26556 * stdio-common/sprintf.c: Likewise.
26557 * stdio-common/tmpfile.c: Likewise.
26558 * stdio-common/vfprintf.c: Likewise.
26559 * stdio-common/vfscanf.c: Likewise.
26560 * stdlib/strfmon_l.c: Likewise.
26561 * sunrpc/openchild.c: Likewise.
26562 * sunrpc/xdr_stdio.c: Likewise.
26563 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26564 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26566 2012-05-24 Roland McGrath <roland@hack.frob.com>
26568 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26570 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26571 in the third column, to generate for the shared library an IFUNC
26572 that uses _dl_vdso_vsym.
26573 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26574 * Makeconfig (object-suffixes-noshared): New variable.
26576 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26577 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26578 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26579 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26582 * include/sys/time.h (__gettimeofday): Remove macro.
26583 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26584 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26586 (__gettimeofday): Add libc_hidden_def.
26587 (gettimeofday): Add libc_hidden_weak.
26588 * sysdeps/mach/gettimeofday.c: Likewise.
26589 * sysdeps/posix/gettimeofday.c: Likewise.
26590 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26591 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26592 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26593 (__gettimeofday_internal): Remove strong_alias.
26594 (__gettimeofday): Add libc_hidden_def.
26595 (gettimeofday): Add libc_hidden_weak.
26596 * sysdeps/unix/syscalls.list (gettimeofday):
26597 Remove __gettimeofday_internal alias.
26599 2012-05-24 Daniel Jacobowitz <drow@false.org>
26600 H.J. Lu <hongjiu.lu@intel.com>
26603 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26604 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26605 (largebin_index_32_big): New.
26606 (largebin_index): Use it for 16-byte alignment.
26607 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26608 correction with front_misalign.
26610 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26638 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26639 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26641 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26645 * math/libm-test.inc (exp_test): Add test from bug 14036.
26646 (pow_test): Add test from bug 10846.
26648 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26650 (special_function): Do not include flags in test name.
26651 (parse_args): Likewise.
26652 * sysdeps/i386/fpu/libm-test-ulps: Update.
26653 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26654 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26655 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26658 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26660 * math/libm-test.inc ("Philosophy"): Update comment about
26662 (UNDERFLOW_EXCEPTION): New macro.
26663 (UNDERFLOW_EXCEPTION_OK): Likewise.
26664 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26665 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26666 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26667 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26668 (INVALID_EXCEPTION_OK): Update value.
26669 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26670 (OVERFLOW_EXCEPTION_OK): Likewise.
26671 (IGNORE_ZERO_INF_SIGN): Likewise.
26672 (test_exceptions): Handle underflow exceptions.
26673 (acos_test): Update for underflow exception expectations.
26674 (cexp_test): Likewise.
26675 (clog_test): Likewise.
26676 (clog10_test): Likewise.
26677 (csqrt_test): Likewise.
26678 (ctan_test): Likewise.
26679 (ctanh_test): Likewise.
26680 (exp_test): Likewise.
26681 (exp10_test): Likewise.
26682 (exp2_test): Likewise.
26683 (expm1_test): Likewise.
26684 (fma_test): Likewise.
26685 (j0_test): Likewise.
26686 (jn_test): Likewise.
26687 (nexttoward_test): Likewise.
26688 (pow_test): Likewise.
26689 (scalbn_test): Likewise.
26690 (scalbln_test): Likewise.
26691 (tan_test): Likewise.
26692 (y1_test): Likewise.
26693 * sysdeps/i386/fpu/libm-test-ulps: Update.
26694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26696 2012-05-23 David S. Miller <davem@davemloft.net>
26698 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26699 (__libc_sigaction): Remove unused local variables.
26701 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26703 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26705 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26707 mktime: avoid signed integer overflow
26708 * time/mktime.c (__mktime_internal): Do not mishandle the case
26709 where diff == INT_MIN.
26711 mktime: simplify computation of average
26712 * time/mktime.c (ranged_convert): Use new time_t_avg function
26713 instead of rolling our own (probably-slower) code.
26715 mktime: do not assume signed right shift propagates sign bit
26716 * time/mktime.c (isdst_differ): New static function.
26717 (__mktime_internal): No need to normalize tm_isdst now.
26718 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26721 mktime: merge another wrapv change from gnulib
26722 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26723 from some compilers.
26725 mktime: remove incorrect attempt at unusual arithmetics
26726 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26727 The code didn't really work on such machines anyway.
26728 (TYPE_MINIMUM): Assume two's complement.
26729 (twos_complement_arithmetic): Verify that long_int and time_t
26730 are two's complement (or unsigned, in the latter case).
26732 mktime: check signed shifts on long_int and time_t, too
26733 * time/mktime.c (SHR): Check that shifts work as desired
26734 on the types long_int and time_t too, as SHR is used on
26737 mktime: do not assume 'long' is wide enough
26738 * time/mktime.c (verify): Move decl up.
26739 (long_int): New type.
26740 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26741 to remove assumption in the code that 'long' is wide enough to
26742 store year values. This assumption is not true on x32 and on
26743 some non-glibc platforms.
26745 mktime: merge wrapv change from gnulib
26746 * time/mktime.c (WRAPV): New macro.
26747 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26748 (guess_time_tm, __mktime_internal): Do not assume that signed
26749 integer overflow wraps around; modern compilers generate code
26750 where this assumption is no longer valid.
26752 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26754 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26755 Replace "jmp L(pseudo_end)" with "ret".
26756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26759 2012-05-23 Andreas Jaeger <aj@suse.de>
26761 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26762 * sysdeps/unix/sysv/linux/poll.c: Remove file.
26764 2012-05-23 Andreas Jaeger <aj@suse.de>
26765 Maximilian Attems <max@stro.at>
26767 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26770 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26772 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26773 code so that pseudo_end is just ret and the stack pointer is
26774 correct also for static library in error case.
26776 2012-05-23 Joseph Myers <joseph@codesourcery.com>
26778 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26779 move to syscalls.list.
26780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26785 * manual/install.texi (Running make install): Do not mention Linux
26786 kernel version for which pt_chown is not needed.
26787 (Linux): Do not mention problems with nscd with 2.0 kernels.
26788 * INSTALL: Regenerated.
26790 2012-05-23 Andreas Jaeger <aj@suse.de>
26792 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26793 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26795 * sysdeps/unix/sysv/linux/s390/bits/mman.h
26796 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26797 * sysdeps/unix/sysv/linux/sh/bits/mman.h
26798 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26799 * sysdeps/unix/sysv/linux/i386/bits/mman.h
26800 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26801 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26802 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26803 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26804 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26805 * sysdeps/unix/sysv/linux/bits/in.h
26806 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26808 2012-05-22 Roland McGrath <roland@hack.frob.com>
26810 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26811 (PREPARE_VERSION): Just use assert instead, it will be elided
26812 under [NDEBUG] anyway.
26814 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26816 * sysdeps/unix/sysv/linux/Makefile: Include
26817 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26818 (sysdep_routines): Remove sysctl.
26819 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26820 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26821 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26822 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26823 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26825 2012-05-22 Andreas Jaeger <aj@suse.de>
26827 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26828 that pseudo_end is just ret and the stack pointer is correct also
26829 for static library in error case.
26831 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
26834 * nss/nsswitch.c (defconfig_entries): New variable.
26835 (__nss_database_lookup): Don't leak defconfig entries.
26836 (nss_parse_service_list): Don't leak on error paths.
26837 (free_database_entries): New function.
26838 (free_defconfig): New function.
26839 (free_mem): Move common code to free_database_entries.
26841 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26843 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26845 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26847 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26848 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26851 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26852 (INTERNAL_SYSCALL_TYPES): Likewise.
26853 (LOAD_ARGS_TYPES_[1-6]): Likewise.
26854 (LOAD_REGS_TYPES_[1-6]): Likewise.
26855 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26856 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26858 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26860 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26861 copysignl for GLIBC_2_0.
26862 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26863 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26865 logbl for GLIBC_2_0.
26866 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26867 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26869 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26872 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26874 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26877 * time/mktime.c: Update copyright years.
26879 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
26881 mktime: merge comment-quoting-style change from gnulib
26882 * time/mktime.c: Quote 'like this' in comments.
26883 The GNU coding standards suggest that we no longer quote `like this',
26884 as "`" and "'" are typically rendered asymmetrically nowadays.
26885 The typical gnulib style is to quote 'like this' when quoting
26886 code, and "like this" when quoting English.
26888 * time/mktime.c (compile-command): Add "-I.".
26890 mktime: merge mktime-internal.h change from gnulib
26891 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26893 mktime: merge time_r change from gnulib
26894 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26896 mktime: merge DEBUG change from gnulib
26897 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26898 case system <time.h> has a #define.
26900 mktime: merge <sys/types.h> change from gnulib
26901 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26902 since <time.t> is now guaranteed to define time_t.
26904 mktime: merge HAVE_CONFIG_H change from gnulib
26905 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26907 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26909 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26912 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26914 (struct rusage): Use anonymous union to pad each field to
26917 2012-05-21 David S. Miller <davem@davemloft.net>
26919 * Makefules (o-iterator): Remove .s cases.
26920 (compile-command.s): Delete.
26921 (COMPILE.s): Delete.
26922 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26924 2012-05-21 Joseph Myers <joseph@codesourcery.com>
26926 * configure.in (libc_cv_predef_stack_protector): Only consider
26927 "foobar" and "__stack_chk_fail" lines in libc_undefs.
26928 * configure: Regenerated.
26930 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
26932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26933 New macro. Use R*LP on int and pointer.
26934 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
26935 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
26936 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
26937 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
26939 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
26940 [__WORDSIZE_TIME64_COMPAT32] instead of
26941 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
26942 (struct utmp): Likewise.
26943 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
26944 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
26946 (__WORDSIZE_TIME64_COMPAT32): This.
26947 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
26948 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
26949 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
26950 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
26951 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
26952 (__WORDSIZE_TIME64_COMPAT32): New macro.
26954 2012-05-21 Andreas Jaeger <aj@suse.de>
26956 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
26957 only if [SHARED]. Add prototype for __wcschr_ia32.
26959 2012-05-21 Roland McGrath <roland@hack.frob.com>
26961 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
26962 of %rbp unmolested in the jmp_buf while mangling the low bits.
26963 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
26964 unmolested high bits of %rbp while demangling the low bits.
26965 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26967 2012-05-21 Andreas Jaeger <aj@suse.de>
26969 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
26970 * sunrpc/svc_simple.c: Use it for registerrpc.
26971 * sunrpc/xcrypt.c: Use it for passwd2des.
26973 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
26975 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
26977 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
26978 Don't define if [__SYSCALL_WORDSIZE != 32].
26979 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
26982 2012-05-21 Bruno Haible <bruno@clisp.org>
26983 Andreas Jaeger <aj@suse.de>
26985 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
26986 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
26987 inptr and inend for must_buffer_ch.
26988 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
26989 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
26990 * stdio-common/Makefile (tests): Remove bug15.
26991 (bug15-ENV): Remove macro.
26992 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
26995 2012-05-19 Andreas Jaeger <aj@suse.de>
26996 Roland McGrath <roland@hack.frob.com>
26998 * manual/contrib.texi: Completely rewritten. It contains now an
26999 alphabetical list of contributors and their contributions.
27001 2012-05-21 Richard Henderson <rth@twiddle.net>
27003 * misc/getauxval.c (__getauxval): Use unsigned long int.
27004 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27005 (getauxval): Use unsigned long int.
27007 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27009 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27011 2012-05-21 Roland McGrath <roland@hack.frob.com>
27013 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27014 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27015 __alignof__ (long double).
27017 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27021 2012-05-20 Richard Henderson <rth@twiddle.net>
27023 * misc/getauxval.c: New file.
27024 * misc/sys/auxv.h: New file.
27025 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27026 (routines): Add getauxval.
27027 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27028 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27029 * elf/dl-sysdep.c (_dl_auxv): Remove.
27030 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27031 * elf/dl-support.c (_dl_auxv): New variable.
27032 (_dl_aux_init): Initialize it.
27033 * manual/startup.texi (Auxiliary Vector): New node.
27034 * sysdeps/generic/bits/hwcap.h: New file.
27035 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27036 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27037 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27038 * sysdeps/sparc/sysdep.h: ... here. Include it.
27039 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27040 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27046 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27052 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27056 2012-05-19 David S. Miller <davem@davemloft.net>
27058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27060 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27063 * math/s_ccosh.c: Include <float.h>
27064 (__ccosh): Avoid internal overflow calculating sinh and cosh
27065 values before multiplying by sin and cos values.
27066 * math/s_ccoshf.c: Likewise.
27067 * math/s_ccoshl.c: Likewise.
27068 * math/s_csin.c: Likewise.
27069 * math/s_csinf.c: Likewise.
27070 * math/s_csinl.c: Likewise.
27071 * math/s_csinh.c: Likewise.
27072 * math/s_csinhf.c: Likewise.
27073 * math/s_csinhl.c: Likewise.
27074 * math/libm-test.inc (ccos_test): Add more tests.
27075 (ccosh_test): Likewise.
27076 (csin_test): Likewise.
27077 (csinh_test): Likewise.
27078 * sysdeps/i386/fpu/libm-test-ulps: Update.
27079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27081 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27083 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27084 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27086 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27088 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27090 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27091 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27092 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27093 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27094 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27095 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27096 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27097 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27098 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27099 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27100 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27101 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27102 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27103 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27104 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27105 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27106 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27107 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27108 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27109 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27110 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27111 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27112 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27113 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27114 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27115 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27116 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27117 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27118 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27119 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27120 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27122 2012-05-18 Andreas Jaeger <aj@suse.de>
27124 * csu/.gitignore: Delete.
27126 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27128 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27129 (timex): Use __syscall_slong_t.
27131 2012-05-18 Andreas Jaeger <aj@suse.de>
27132 Carlos O'Donell <carlos_odonell@mentor.com>
27134 * manual/install.texi (Configuring and compiling): Update
27135 description about files modified in the source directory.
27136 * INSTALL: Regenerated.
27138 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27140 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27141 value. Use "or" to set return value to -1.
27142 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27143 negate return value.
27145 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27147 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27148 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27149 failure if the compiler has Graphite support disabled.
27150 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27152 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27153 CFLAGS-memmove.c): Likewise.
27154 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27157 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27159 * sysdeps/x86_64/x32/_itoa.h: New file.
27161 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27162 getdents system call only if kernel and user dirents have the
27163 same d_ino and d_off.
27165 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27166 LLONG_MAX != LONG_MAX.
27167 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27168 (_fitoa_word): Likewise.
27170 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27172 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27173 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27174 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27176 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27177 include <bits/wordsize.h>. Check __x86_64__ instead of
27179 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27180 if __x86_64__ is defined. Use anonymous union on fpstate.
27182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27185 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27187 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27188 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27189 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27190 Refer to _rtld_local_ro instead of _rtld_global_ro.
27191 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27193 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27195 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27197 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27198 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27199 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27201 * sysdeps/powerpc/powerpc32/dl-machine.c
27202 (__elf_machine_runtime_setup) [PROF]: Don't reference
27205 2012-05-18 Andreas Jaeger <aj@suse.de>
27207 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27208 function only available for GCCs before 3.4 since GCC 3.4
27209 introduced a builtin.
27211 (llrintf): Likewise.
27212 (llrint): Likewise.
27219 (nearbyint): Likewise.
27220 (nearbyintf): Likewise.
27224 (floorf): Likewise.
27226 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27228 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27229 on both fields and cast pointer to __syscall_ulong_t.
27231 * bits/types.h (__fsword_t): New type.
27232 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27233 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27234 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27235 (__FSWORD_T_TYPE): Likewise.
27236 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27237 (__FSWORD_T_TYPE): Likewise.
27238 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27239 (__FSWORD_T_TYPE): Likewise.
27240 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27241 (__FSWORD_T_TYPE): Likewise.
27242 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27243 __SWORD_TYPE with __fsword_t.
27244 (statfs64): Likewise.
27246 2012-05-17 David S. Miller <davem@davemloft.net>
27248 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27250 2012-05-17 Andreas Jaeger <aj@suse.de>
27252 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27255 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27257 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27259 2012-05-17 Andreas Jaeger <aj@suse.de>
27261 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27264 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27266 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27268 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27270 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27271 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27273 2012-05-17 Andreas Jaeger <aj@suse.de>
27274 Carlos O'Donell <carlos_odonell@mentor.com>
27277 * sysdeps/x86_64/multiarch/init-arch.h
27278 (bit_YMM_Usable): Rename to...
27279 (bit_AVX_Usable): ... this.
27280 (bit_FMA4_Usable): New macro.
27281 (bit_XMM_state): New macro.
27282 (bit_YMM_state): New macro.
27283 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27284 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27285 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27286 (CPUID_OSXSAVE): New macro.
27287 (CPUID_AVX): New macro.
27288 (CPUID_FMA4): New macro.
27289 (index_YMM_Usable): Rename to...
27290 (index_AVX_Usable): ... this.
27291 (HAS_AVX): Use HAS_ARCH_FEATURE.
27292 (HAS_FMA4): Likewise.
27293 (HAS_YMM_USABLE): Remove.
27294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27295 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27297 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27298 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27299 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27300 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27301 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27303 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27305 * math/libm-test.c: Support platforms without multiple rounding modes.
27306 * math/bug-nextafter.c: Support platforms without FP exceptions.
27307 * math/bug-nexttoward.c: Likewise.
27308 * math/test-fenv.c: Likewise.
27309 * math/test-misc.c: Likewise.
27310 * stdlib/bug-getcontext.c: Likewise.
27312 2012-05-17 Andreas Jaeger <aj@suse.de>
27314 * manual/examples/search.c (critter_cmp): Change signature to
27316 * manual/string.texi (Collation Functions): Likewise.
27318 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27320 * bits/types.h: Fold copyright years.
27321 * bits/typesizes.h: Likewise.
27322 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27324 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27326 * time/time.h: Likewise.
27328 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27331 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27332 in instead of returning them. Return void.
27333 (__libc_mallinfo): Accumulate over all arenas.
27334 (__malloc_stats): Adjust for change in int_mallinfo interface.
27336 2012-05-16 Roland McGrath <roland@hack.frob.com>
27339 * configure.in (NM): Add AC_CHECK_TOOL for it.
27340 (libc_extra_cflags): New substituted variable.
27341 Check for -fstack-protector being used implicitly.
27342 * configure: Regenerated.
27343 * config.make.in (config-extra-cflags): New variable,
27344 gets @libc_extra_cflags@.
27345 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27348 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27349 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27350 * configure: Regenerated.
27351 * config.make.in (CPPUNDEFS): New substituted variable.
27352 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27353 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27354 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27356 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27358 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27359 (mq_attr): Use __syscall_slong_t.
27361 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27363 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27364 Check __x86_64__ instead of __WORDSIZE.
27365 (_STAT_VER_LINUX): Likewise.
27366 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27367 __syscall_ulong_t and __syscall_slong_t.
27368 (stat64): Likewise.
27370 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27374 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27376 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27378 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27380 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27383 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27384 include <bits/wordsize.h>. Check __x86_64__ instead of
27386 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27388 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27390 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27391 include <bits/wordsize.h>. Check __x86_64__ instead of
27393 (user_regs_struct): Use "__extension__ unsigned long long"
27394 instead of "unsigned long" if __x86_64__ is defined.
27395 (user): Likewise. Pad after pointer field if __ILP32__ is
27398 2012-05-16 Joseph Myers <joseph@codesourcery.com>
27400 * configure.in (makeinfo): Require version 4.5 or later. Allow
27402 * configure: Regenerated.
27403 * manual/install.texi (texinfo): Increase version requirement to
27405 * INSTALL: Regenerated.
27407 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27409 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27411 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27413 * sysdeps/x86_64/x32/ffs.c: New file.
27415 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27417 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27418 defined. Use __syscall_ulong_t.
27419 (shminfo): Use __syscall_ulong_t.
27420 (shm_info): Likewise.
27422 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27425 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27427 (msgqnum_t): Use __syscall_ulong_t.
27428 (msglen_t): Likewise.
27429 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27432 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27433 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27435 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27437 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27438 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27440 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27443 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27444 include <bits/wordsize.h>. Check __x86_64__ instead of
27447 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27448 "unsigned long long int" if __x86_64__ is defined.
27449 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27451 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27452 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27453 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27455 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27457 (GET_PC): Cast to uintptr_t first.
27458 (GET_FRAME): Likewise.
27459 (GET_STACK): Likewise.
27461 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27462 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27463 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27464 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27465 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27466 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27467 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27468 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27469 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27470 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27471 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27472 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27473 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27474 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27475 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27476 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27477 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27478 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27479 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27480 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27481 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27482 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27483 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27484 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27485 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27486 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27487 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27488 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27489 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27491 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27493 * Makerules (+depfiles): Also collect depfiles from .oS in
27495 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27496 .oS, $(libnldbl-routines)).
27498 * Makerules (native-compile-mkdep-flags): Define.
27499 * sunrpc/Makefile (extra-objs): Add $(addprefix
27500 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27501 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27502 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27503 calling $(make-target-directory).
27505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27507 * bits/types.h (__snseconds_t): Removed.
27508 * time/time.h (struct timespec): Replace __snseconds_t with
27510 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27511 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27514 (__SNSECONDS_T_TYPE): Likewise.
27515 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27516 (__SNSECONDS_T_TYPE): Likewise.
27517 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27518 (__SNSECONDS_T_TYPE): Likewise.
27520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27522 * sysdeps/mach/hurd/bits/typesizes.h
27523 (__SYSCALL_SLONG_TYPE): New macro.
27524 (__SYSCALL_ULONG_TYPE): Likewise.
27526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27528 * bits/types.h (__syscall_slong_t): New type.
27529 (__syscall_ulong_t): Likewise.
27531 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27532 (__SYSCALL_ULONG_TYPE): Likewise.
27533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27534 (__SYSCALL_SLONG_TYPE): Likewise.
27535 (__SYSCALL_ULONG_TYPE): Likewise.
27536 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27537 (__SYSCALL_SLONG_TYPE): Likewise.
27538 (__SYSCALL_ULONG_TYPE): Likewise.
27539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27540 (__SYSCALL_SLONG_TYPE): Likewise.
27541 (__SYSCALL_ULONG_TYPE): Likewise.
27543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27545 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27546 Add sigaltstack-offsets.sym.
27547 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27548 <sigaltstack-offsets.h>.
27549 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27550 longjmp_msg pointer.
27551 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27552 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27554 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27556 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27558 * elf/stackguard-macros.h: Remove file.
27559 * sysdeps/generic/stackguard-macros.h: New file.
27560 * sysdeps/i386/stackguard-macros.h: Likewise.
27561 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27562 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27563 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27564 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27565 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27566 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27567 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27568 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27569 <elf/stackguard-macros.h>.
27572 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27573 __aligned__ in attribute.
27574 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27575 (gregset_t): Likewise.
27577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27579 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27580 * sysdeps/x86_64/64/Implies-after: Here. New file.
27581 * sysdeps/x86_64/x32/Implies-after: New file.
27583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27585 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27586 and access return value for _dl_profile_fixup. Use R10_LP to
27589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27591 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27595 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27596 * sysdeps/x86_64/x32/sysdep.h: New file.
27598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27600 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27601 * sysdeps/x86_64/setjmp.S: Likewise.
27603 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27605 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27606 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27607 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27608 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27609 remove unused global constant.
27611 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27613 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27614 include of <not-cancel.h>.
27616 2012-05-15 Roland McGrath <roland@hack.frob.com>
27618 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27620 2012-05-15 Jeff Law <law@redhat.com>
27621 Andreas Jaeger <aj@suse.de>
27624 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27626 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27627 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27628 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27629 code changing __hst_map_handle.map.
27631 2012-05-15 Roland McGrath <roland@hack.frob.com>
27633 * configure.in (sysnames): Look for Implies-before and Implies-after
27635 * configure: Regenerated.
27637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27639 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27640 8-byte data alignment with LP_SIZE alignment.
27642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27644 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27649 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27653 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27654 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27655 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27657 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27659 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27661 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27662 (stackinfo_sub_sp): Likewise.
27664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27666 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27671 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27681 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27685 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27686 into R11_LP and load __x86_64_shared_cache_size_half into
27689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27691 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27694 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27698 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27702 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27703 powerpc32/power7/fpu/s_logb.c via #include.
27704 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27705 powerpc32/power7/fpu/s_logbf.c via #include.
27706 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27707 powerpc32/power7/fpu/s_logbl.c via #include.
27709 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27711 * README.libm: Remove file.
27713 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27715 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27716 count for x32. Use R*_LP and omit operand-size suffix.
27718 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27720 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27721 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27722 * sysdeps/x86_64/x32/shlib-versions: New file.
27724 2012-05-14 Roland McGrath <roland@hack.frob.com>
27726 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27727 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27728 Use _dl_fatal_printf instead.
27730 2012-05-14 Joseph Myers <joseph@codesourcery.com>
27732 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27733 set if not set by the user. Do not allow for being unset.
27734 * sysdeps/unix/sysv/linux/configure: Regenerated.
27736 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27738 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27739 the `q' suffix from lea and replace .quad with ASM_ADDR.
27741 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27744 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
27746 (PTR_DEMANGLE): Likewise.
27748 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27750 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27752 (ASM_ADDR): Likewise.
27753 (RAX_LP): Likewise.
27754 (RBP_LP): Likewise.
27755 (RBX_LP): Likewise.
27756 (RCX_LP): Likewise.
27757 (RDI_LP): Likewise.
27758 (RSI_LP): Likewise.
27759 (RSP_LP): Likewise.
27762 (R10_LP): Likewise.
27763 (R10_LP): Likewise.
27764 (R11_LP): Likewise.
27765 (R12_LP): Likewise.
27766 (R13_LP): Likewise.
27767 (R14_LP): Likewise.
27768 (R15_LP): Likewise.
27770 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27772 * sysdeps/x86_64/x32/dl-machine.h: New file.
27774 2012-05-14 Andreas Jaeger <aj@suse.de>
27776 * manual/Makefile (subdir): Remove export of subdir.
27777 (all): Remove target.
27778 (.PHONY): Remove all from list.
27779 (mkinstalldirs): Remove.
27780 (.PHONY): Remove installdirs from list.
27781 ($(inst_infodir)/libc.info): Use make-target-directory.
27782 (installdirs): Remove.
27783 (subdir_%): Remove.
27784 (glibc-targets): Remove.
27787 ($(objpfx)stubs ../po/manual.pot): Remove.
27788 ($(objpfx)stamp%): Remove.
27789 (make-target-directory): Remove.
27790 (subdir_install): Remove.
27791 (routines): Remove.
27798 * manual/.gitignore: Remove, it's not needed anymore.
27799 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27801 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27803 (texis): Renamed to $(objpfx)texis.
27804 (texis-path): New, contains path to generated files.
27805 (chapters.%): Use texis-path for complete path, add extra argument
27807 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27808 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27809 (summary,texi, stamp-summary): Use complete path of
27810 files. Generate files in build dir.
27811 (dir-add.texi): Build in build dir.
27812 (libm-err.texi,stamp-libm-err): Likewise.
27813 (version.texi, stamp-version): Likewise.
27814 (.%c.texi): Likewise.
27815 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27816 (mostlyclean): Remove target.
27817 (realclean): Remove target.
27818 (generated): Add new variable with contents from mostlyclean and
27819 realclean, remove entries duplicated in common-mostlyclean, add
27820 stamp-libm-err and stamp-version.
27821 (generated-dirs): Add libc directory.
27822 ($(inst_infodir)/libc.info): Install files from build dir.
27824 * manual/install.texi (Configuring and compiling): Adjust since
27825 the info files are not part of the tar ball anymore.
27827 2012-05-14 Andreas Jaeger <aj@suse.de>
27829 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27832 2012-05-14 Joseph Myers <joseph@codesourcery.com>
27835 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27836 to 2.2.0 where earlier.
27837 * sysdeps/unix/sysv/linux/configure: Regenerated.
27838 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27839 Remove conditional code.
27840 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27841 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27842 Remove conditional code.
27843 [!__NR_lchown]: Likewise.
27844 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27845 [__NR_lchown]: Likewise.
27846 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27847 comment referencing __ASSUME_LCHOWN_SYSCALL.
27848 * sysdeps/unix/sysv/linux/i386/sigaction.c
27849 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27850 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27851 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27852 Remove conditional code.
27853 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27854 (__protocol_available): Remove #if 0 code.
27855 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27857 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27858 * sysdeps/unix/sysv/linux/kernel-features.h
27859 (__ASSUME_GETCWD_SYSCALL): Don't define.
27860 (__ASSUME_REALTIME_SIGNALS): Likewise.
27861 (__ASSUME_PREAD_SYSCALL): Likewise.
27862 (__ASSUME_PWRITE_SYSCALL): Likewise.
27863 (__ASSUME_POLL_SYSCALL): Likewise.
27864 (__ASSUME_LCHOWN_SYSCALL): Likewise.
27865 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27867 (__ASSUME_SIOCGIFNAME): Don't define.
27868 (__ASSUME_MSG_NOSIGNAL): Likewise.
27869 (__ASSUME_SENDFILE): Define unconditionally.
27870 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27871 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27873 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27874 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27875 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27876 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27877 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27878 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27879 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27881 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27882 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27884 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27885 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27887 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27888 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27890 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27891 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27893 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27894 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27896 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27897 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27899 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27900 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27902 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27903 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27904 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27905 Remove conditional code.
27906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27907 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27908 Remove conditional code.
27909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27910 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27911 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27912 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27913 Remove conditional code.
27914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27915 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27916 Remove conditional code.
27917 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27918 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27919 Remove conditional code.
27920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27921 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27922 Remove conditional code.
27923 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27924 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27925 Remove conditional code.
27926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27927 * sysdeps/unix/sysv/linux/sh/pwrite64.c
27928 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27929 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27930 * sysdeps/unix/sysv/linux/sigaction.c
27931 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27932 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27933 * sysdeps/unix/sysv/linux/sigpending.c
27934 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27935 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27936 * sysdeps/unix/sysv/linux/sigprocmask.c
27937 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27938 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27939 * sysdeps/unix/sysv/linux/sigsuspend.c
27940 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27941 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27942 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27943 (__libc_missing_rt_sigs): Remove.
27944 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
27945 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
27946 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
27947 Remove conditional code.
27948 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
27949 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
27951 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
27952 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
27953 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
27954 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
27956 2012-05-14 Andreas Jaeger <aj@suse.de>
27958 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
27959 it's not used in glibc.
27960 (__coshm1): Likewise.
27961 (__acosh1p): Likewise.
27964 * manual/string.texi (Copying and Concatenation): Add missing
27965 variable in concat example.
27966 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27968 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27971 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
27972 __builtin_clzl with __builtin_clzll.
27974 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27977 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
27980 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27982 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
27983 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
27984 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
27985 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
27987 2012-05-14 Mike Frysinger <vapier@gentoo.org>
27989 * NEWS: Update ia64 info.
27991 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
27993 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
27996 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
27998 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
27999 * sysdeps/unix/syscalls.list (dup3): Likewise.
28000 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28001 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28003 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28005 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28006 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28008 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28010 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28012 (TLS_IE): Use mov/add instead of movq/addq to load thread
28014 (TLS_GD_PREFIX): New.
28017 2012-05-11 David S. Miller <davem@davemloft.net>
28019 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28020 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28021 (_FPU_SETCW): Likewise.
28023 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28025 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28026 is 32-byte aligned.
28028 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28031 * iconvdata/gb18030.c: Update tables.
28032 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28033 characters specially.
28034 (BODY for TO_LOOP): Add encoding of missing ranges.
28036 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28039 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28040 * sysdeps/mach/hurd/dup3.c: Likewise.
28041 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28042 * sysdeps/powerpc/memmove.c:: Likewise.
28044 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28047 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28049 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28051 * elf/elf.h (R_X86_64_RELATIVE64): New.
28052 (R_X86_64_NUM): Updated.
28053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28054 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28055 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28056 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28057 tst-quad1pie tst-quad2pie
28058 (modules-names): Add tst-quadmod1 tst-quadmod2.
28059 ($(objpfx)tst-quad1): New dependency.
28060 ($(objpfx)tst-quad2): Likewise.
28061 ($(objpfx)tst-quad1pie): Likewise.
28062 ($(objpfx)tst-quad2pie): Likewise.
28063 * sysdeps/x86_64/tst-quad1.c: New file.
28064 * sysdeps/x86_64/tst-quad1pie.c: New file.
28065 * sysdeps/x86_64/tst-quad2.c: Likewise.
28066 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28067 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28068 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28069 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28070 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28072 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28074 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28075 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28076 * streams/stropts.h (t_scalar_t): Define type.
28078 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28079 (_PATH_PRESERVE): Set to "/var/lib".
28080 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28082 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28085 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28086 if __dir_mkfile succeeded.
28088 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28089 checking for _hurd_dtablesize. Unlock it right after having
28090 finished _hurd_dtable allocation.
28092 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28094 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28095 * sysdeps/mach/hurd/configure: Regenerated.
28096 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28097 special-casing to...
28098 * sysdeps/gnu/configure.in: ... this new file.
28099 * sysdeps/unix/sysv/linux/configure: Regenerated.
28100 * sysdeps/gnu/configure: New generated file.
28102 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28103 for Linux: use nsec instead of usec, as well as:
28104 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28105 members of type struct timespec.
28106 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28108 (struct stat64): Likewise.
28109 (_STATBUF_ST_NSEC): New macro.
28110 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28112 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28113 __strtoul_internal rather than strtoul.
28115 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28117 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28120 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28122 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28123 which preserves existing values.
28124 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28126 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28128 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28129 TIMEOUT values. Return EINVAL for NFDS values either negative or
28130 greater than FD_SETSIZE.
28132 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28134 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28135 allocated, call __vm_protect to finish enabling the existing space, and
28136 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28137 allocate the remainder.
28139 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28141 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28142 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28146 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28147 sysdeps/mach/hurd/readlink.c.
28149 * posix/tst-sysconf.c (posix_options): Only use
28150 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28151 _POSIX_SYNCHRONIZED_IO when they are defined
28152 * sysdeps/mach/hurd/bits/posix_opt.h:
28153 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28154 (_XOPEN_REALTIME): Undefine macro.
28155 (_XOPEN_REALTIME_THREADS): Undefine macro.
28156 (_XOPEN_SHM): Undefine macro.
28157 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28159 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28161 (_POSIX_ASYNC_IO): Undefine macro.
28162 (_POSIX_PRIORITIZED_IO): Undefine macro.
28163 (_POSIX_SPIN_LOCKS): Define macro to -1.
28165 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28166 SA_NODEFER, SA_RESETHAND.
28167 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28168 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28171 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28173 * elf/Makefile (pldd-modules): Define unconditionally.
28175 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28177 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28179 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28181 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28182 Return ENOENT when name is empty.
28183 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28185 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28187 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28189 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28193 Fix mlock in all cases except non-readable pages.
28194 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28195 instead of VM_PROT_ALL as parameter to __vm_wire function.
28197 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28198 (__mkdir): When path is `/', just fail with EEXIST.
28199 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28203 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28204 <sys/uio.h> (for writev).
28205 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28206 and <sys/param.h> (for MIN).
28208 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28210 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28211 REQUESTED_TIME. Properly set the remaining time and return EINTR
28214 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28216 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28217 Depend on against $(link-rpcuserlibs).
28219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28221 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28222 (__libc_stack_end): Do not use attribute_relro.
28223 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28224 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28225 to libthread-provided value.
28226 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28229 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28232 * bits/libc-lock.h (__libc_once_get): New macro.
28233 * sysdeps/mach/bits/libc-lock.h: Likewise.
28234 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28235 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28236 instead of using implementation details.
28238 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28239 * libio/freopen.c: Likewise.
28240 * libio/freopen64.c: Likewise.
28241 * misc/syslog.c: Likewise.
28242 * nscd/connections.c: Likewise.
28243 * nscd/netgroupcache.c: Likewise.
28244 * sysdeps/posix/getcwd.c: Likewise.
28246 2012-05-10 Roland McGrath <roland@hack.frob.com>
28248 * math/w_ilogbf.c: Add #include <limits.h>.
28250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28252 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28253 path instead of returning without unlocking.
28255 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28256 immediate-write ioctls.
28257 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28259 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28261 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28262 __builtin_frame_address instead of making assumptions about the
28263 location of the return address relative to DATA. Force early load of
28264 the return address.
28265 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28266 __builtin_frame_address.
28269 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28270 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28271 implement dup3 and do some further code clean-ups.
28272 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28273 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28275 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28277 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28279 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28280 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28281 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28282 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28283 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28286 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28287 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28288 when handler == SIG_ERR, not when handler != SIG_ERR.
28290 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28292 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28293 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28296 accept4 for GNU Hurd.
28297 * include/sys/socket.h (__libc_accept4): New prototype.
28298 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28299 to implement __libc_accept4.
28300 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28302 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28304 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28305 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28306 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28307 signal-defines.sym.
28309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28311 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28313 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28315 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28316 assertion on O_CLOEXEC flag.
28317 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28318 * hurd/intern-fd.c: Likewise.
28319 * hurd/port2fd.c: Likewise.
28321 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28324 * bits/in.h (IPV6_PKTINFO): Define new macro.
28325 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28327 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28332 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28333 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28334 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28335 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28336 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28337 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28338 * math/libm-test.inc (logb_test) : Additional logb tests.
28340 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28341 Andreas Jaeger <aj@suse.de>
28343 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28344 * configure: Regenerated.
28345 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28346 * config.make.in (link-obsolete-rpc): New substituted variable.
28347 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28348 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28349 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28350 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28351 so that libc.a contains the symbols.
28352 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28353 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28354 * sunrpc/auth_none.c: Likewise.
28355 * sunrpc/auth_unix.c: Likewise.
28356 * sunrpc/authdes_prot.c: Likewise.
28357 * sunrpc/authuxprot.c: Likewise.
28358 * sunrpc/clnt_gen.c: Likewise.
28359 * sunrpc/clnt_perr.c: Likewise.
28360 * sunrpc/clnt_raw.c: Likewise.
28361 * sunrpc/clnt_simp.c: Likewise.
28362 * sunrpc/clnt_tcp.c: Likewise.
28363 * sunrpc/clnt_udp.c: Likewise.
28364 * sunrpc/clnt_unix.c: Likewise.
28365 * sunrpc/des_crypt.c: Likewise.
28366 * sunrpc/des_soft.c: Likewise.
28367 * sunrpc/get_myaddr.c: Likewise.
28368 * sunrpc/key_call.c: Likewise.
28369 * sunrpc/key_prot.c: Likewise.
28370 * sunrpc/netname.c: Likewise.
28371 * sunrpc/pm_getmaps.c: Likewise.
28372 * sunrpc/pm_getport.c: Likewise.
28373 * sunrpc/pmap_clnt.c: Likewise.
28374 * sunrpc/pmap_prot.c: Likewise.
28375 * sunrpc/pmap_prot2.c: Likewise.
28376 * sunrpc/pmap_rmt.c: Likewise.
28377 * sunrpc/publickey.c: Likewise.
28378 * sunrpc/rpc_cmsg.c: Likewise.
28379 * sunrpc/rpc_common.c: Likewise.
28380 * sunrpc/rpc_dtable.c: Likewise.
28381 * sunrpc/rpc_prot.c: Likewise.
28382 * sunrpc/rpc_thread.c: Likewise.
28383 * sunrpc/rtime.c: Likewise.
28384 * sunrpc/svc.c: Likewise.
28385 * sunrpc/svc_auth.c: Likewise.
28386 * sunrpc/svc_raw.c: Likewise.
28387 * sunrpc/svc_run.c: Likewise.
28388 * sunrpc/svc_tcp.c: Likewise.
28389 * sunrpc/svc_udp.c: Likewise.
28390 * sunrpc/svc_unix.c: Likewise.
28391 * sunrpc/svcauth_des.c: Likewise.
28392 * sunrpc/xcrypt.c: Likewise.
28393 * sunrpc/xdr.c: Likewise.
28394 * sunrpc/xdr_array.c: Likewise.
28395 * sunrpc/xdr_float.c: Likewise.
28396 * sunrpc/xdr_intXX_t.c: Likewise.
28397 * sunrpc/xdr_mem.c: Likewise.
28398 * sunrpc/xdr_rec.c: Likewise.
28399 * sunrpc/xdr_ref.c: Likewise.
28400 * sunrpc/xdr_sizeof.c: Likewise.
28401 * sunrpc/xdr_stdio.c: Likewise.
28403 2012-05-10 Roland McGrath <roland@hack.frob.com>
28405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28406 change. Update copyright years.
28408 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28410 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28412 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28413 Joseph Myers <joseph@codesourcery.com>
28414 Paul Pluzhnikov <ppluzhnikov@google.com>
28417 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28419 [cross-compiling] (extra-libs): Likewise.
28420 [cross-compiling] (extra-libs-others): Likewise.
28421 [cross-compiling] (librpcsvc-routines): Likewise.
28422 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28423 [cross-compiling] (omit-deps): Likewise.
28424 (sunrpc-CPPFLAGS): New variable.
28425 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28426 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28427 (cross-rpcgen-objs): New variable.
28428 (extra-objs): Append $(cross-rpcgen-objs).
28429 ($(cross-rpcgen-objs)): New rule.
28430 ($(objpfx)cross-rpcgen): Likewise.
28431 (rpcgen-cmd): Define to use $(built-program-file). Expand
28433 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28434 ($(objpfx)x%.stmp): Likewise.
28435 * sunrpc/proto.h [IS_IN_build] (_): Define.
28436 [IS_IN_build] (_libc_intl_domainname): Likewise.
28438 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28440 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28441 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28442 and R_X86_64_TPOFF64.
28444 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28446 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28447 sysdeps/unix/sysv/syscalls.list.
28450 * sysdeps/unix/sysv/syscalls.list: Remove file.
28452 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28455 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28456 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28457 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28458 (__LC_IDENTIFICATION): Make these macros useful in #if
28459 expressions, as required by C99.
28461 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28463 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28464 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28467 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28469 * stdlib/longlong.h: Updated from GCC.
28471 2012-05-09 Andreas Jaeger <aj@suse.de>
28473 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28474 default is first entry.
28475 (run_mode): Set type.
28476 (main): Remove informal message about syslog.
28477 (options): Fix typo.
28480 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28483 (llrintf): Likewise.
28484 (llrint): Likewise.
28487 (nearbyint): Likewise.
28488 (nearbyintf): Likewise.
28490 2012-05-09 Andreas Jaeger <aj@suse.de>
28491 Pedro Alves <palves@redhat.com>
28493 * nscd/nscd.c (run_mode): Use enum.
28494 (main): Cleanup coding style issue.
28496 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
28497 Andreas Jaeger <aj@suse.de>
28499 * nscd/nscd.c (go_background): Replaced with...
28500 (run_mode): ... this.
28501 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28502 (options): Add -F --foreground.
28503 (main): Implement it.
28504 (parse_opt): Parse it.
28506 2012-05-09 Andreas Jaeger <aj@suse.de>
28509 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28510 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28511 -Wconversion warning.
28512 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28515 2012-05-09 Joseph Myers <joseph@codesourcery.com>
28517 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28519 (LC_ALL): Use macro-int-constant.
28520 (LC_COLLATE): Likewise.
28521 (LC_CTYPE): Likewise.
28522 (LC_MESSAGES): Likewise.
28523 (LC_MONETARY): Likewise.
28524 (LC_NUMERIC): Likewise.
28525 (LC_TIME): Likewise.
28526 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28527 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28528 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28529 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28531 [C99-based standards] (float_t): Expect type.
28532 [C99-based standards] (double_t): Expect type.
28533 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28535 [C99-based standards] (HUGE_VALL): Likewise.
28536 [C99-based standards] (INFINITY): Likewise.
28537 [C99-based standards] (NAN): Likewise.
28538 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28539 [C99-based standards] (FP_NAN): Likewise.
28540 [C99-based standards] (FP_NORMAL): Likewise.
28541 [C99-based standards] (FP_SUBNORMAL): Likewise.
28542 [C99-based standards] (FP_ZERO): Likewise.
28543 [C99-based standards] (FP_FAST_FMA): Use
28544 optional-macro-int-constant. Specify type. Require == 1.
28545 [C99-based standards] (FP_FAST_FMAF): Likewise.
28546 [C99-based standards] (FP_FAST_FMAL): Likewise.
28547 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28548 [C99-based standards] (FP_ILOGBNAN): Likewise.
28549 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28551 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28552 [C99-based standards] (math_errhandling): Specify type.
28553 [ISO99 || ISO11] (signgam): Do not allow.
28554 [non-C99-based standards] (copysignf): Do not allow.
28555 [non-C99-based standards] (exp2f): Likewise.
28556 [non-C99-based standards] (log2f): Likewise.
28557 [non-C99-based standards] (modff): Allow.
28558 [non-C99-based standards] (erff): Do not allow.
28559 [non-C99-based standards] (erfcf): Likewise.
28560 [non-C99-based standards] (gammaf): Likewise.
28561 [non-C99-based standards] (hypotf): Likewise.
28562 [non-C99-based standards] (j0f): Likewise.
28563 [non-C99-based standards] (j1f): Likewise.
28564 [non-C99-based standards] (jnf): Likewise.
28565 [non-C99-based standards] (lgammaf): Likewise.
28566 [non-C99-based standards] (tgammaf): Likewise.
28567 [non-C99-based standards] (y0f): Likewise.
28568 [non-C99-based standards] (y1f): Likewise.
28569 [non-C99-based standards] (ynf): Likewise.
28570 [non-C99-based standards] (isnanf): Likewise.
28571 [non-C99-based standards] (acoshf): Likewise.
28572 [non-C99-based standards] (asinhf): Likewise.
28573 [non-C99-based standards] (atanhf): Likewise.
28574 [non-C99-based standards] (cbrtf): Likewise.
28575 [non-C99-based standards] (expm1f): Likewise.
28576 [non-C99-based standards] (ilogbf): Likewise.
28577 [non-C99-based standards] (log1pf): Likewise.
28578 [non-C99-based standards] (logbf): Likewise.
28579 [non-C99-based standards] (nextafterf): Likewise.
28580 [non-C99-based standards] (remainderf): Likewise.
28581 [non-C99-based standards] (rintf): Likewise.
28582 [non-C99-based standards] (scalbf): Likewise.
28583 [non-C99-based standards] (copysignl): Likewise.
28584 [non-C99-based standards] (exp2l): Likewise.
28585 [non-C99-based standards] (log2l): Likewise.
28586 [non-C99-based standards] (modfl): Allow.
28587 [non-C99-based standards] (erfl): Do not allow.
28588 [non-C99-based standards] (erfcl): Likewise.
28589 [non-C99-based standards] (gammal): Likewise.
28590 [non-C99-based standards] (hypotl): Likewise.
28591 [non-C99-based standards] (j0l): Likewise.
28592 [non-C99-based standards] (j1l): Likewise.
28593 [non-C99-based standards] (jnl): Likewise.
28594 [non-C99-based standards] (lgammal): Likewise.
28595 [non-C99-based standards] (tgammal): Likewise.
28596 [non-C99-based standards] (y0l): Likewise.
28597 [non-C99-based standards] (y1l): Likewise.
28598 [non-C99-based standards] (ynl): Likewise.
28599 [non-C99-based standards] (isnanl): Likewise.
28600 [non-C99-based standards] (acoshl): Likewise.
28601 [non-C99-based standards] (asinhl): Likewise.
28602 [non-C99-based standards] (atanhl): Likewise.
28603 [non-C99-based standards] (cbrtl): Likewise.
28604 [non-C99-based standards] (expm1l): Likewise.
28605 [non-C99-based standards] (ilogbl): Likewise.
28606 [non-C99-based standards] (log1pl): Likewise.
28607 [non-C99-based standards] (logbl): Likewise.
28608 [non-C99-based standards] (nextafterl): Likewise.
28609 [non-C99-based standards] (remainderl): Likewise.
28610 [non-C99-based standards] (rintl): Likewise.
28611 [non-C99-based standards] (scalbl): Likewise.
28612 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28613 [non-C99-based standards] (FP_*): Do not allow.
28614 [C99-based standards] (FP_*): Change to
28615 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28616 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28618 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28619 (SIG_ERR): Likewise.
28620 [X/Open-based standards] (SIG_HOLD): Likewise.
28621 (SIG_IGN): Likewise.
28622 (SIGABRT): Use macro-int-constant. Specify type. Require
28624 (SIGFPE): Likewise.
28625 (SIGILL): Likewise.
28626 (SIGINT): Likewise.
28627 (SIGSEGV): Likewise.
28628 (SIGTER): Likewise.
28629 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28630 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28631 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28632 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28633 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28634 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28635 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28636 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28637 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28638 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28639 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28640 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28641 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28642 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28643 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28644 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28645 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28646 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28647 [X/Open-based standards] (SIGTRAP): Likewise.
28648 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28649 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28650 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28651 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28652 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28655 2012-05-08 Ian Wienand <ianw@vmware.com>
28658 * time/tzset.c (__tzset_parse_tz): Update default rules for
28659 daylight time changes in the Energy Policy Act of 2005.
28661 2012-05-09 Andreas Jaeger <aj@suse.de>
28664 * elf/ldconfig.c (parse_conf): Change string to make clear that
28665 ldconfig only issued a warning if ld.so.conf does not exist.
28667 2012-05-08 David S. Miller <davem@davemloft.net>
28669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28670 movxtod instead of popping the value on the stack.
28672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28674 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28676 * config.h.in: Add HAVE_ARM_PCS_VFP.
28678 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
28681 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28682 checking but the checks are disabled for any reason.
28684 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28686 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28687 and ELF64_R_TYPE with ELFW(R_TYPE).
28689 2012-05-08 Joseph Myers <joseph@codesourcery.com>
28691 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28692 (ulimit): Likewise.
28694 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28695 (settimeofday): Likewise.
28697 2012-05-08 Mike Frysinger <vapier@gentoo.org>
28699 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28700 a struct th_u2 inside the union, and move tu_block/tu_code into
28701 a new th_u3 union of tu_block/tu_code inside of that. Move
28702 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28703 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28704 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28705 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28706 (th_stuff): Change to th_u1.tu_stuff.
28708 (th_msg): Change to th_u1.th_u2.tu_data.
28710 2012-05-07 David S. Miller <davem@davemloft.net>
28712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28715 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28716 (SETUP_PIC_REG): Use it.
28717 (SETUP_PIC_REG_LEAF): Use it.
28719 2012-05-07 Joseph Myers <joseph@codesourcery.com>
28723 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28725 (EXPL_FINITE): Likewise.
28726 (FLDLOG): Likewise.
28727 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28728 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28730 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28732 (EXPL_FINITE): Likewise.
28733 (FLDLOG): Likewise.
28734 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28735 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28737 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28738 test of -max_value argument for long double.
28739 * sysdeps/i386/fpu/libm-test-ulps: Update.
28740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28742 2012-05-06 David S. Miller <davem@davemloft.net>
28744 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28745 quad soft-float symbols whose references which are compiler
28747 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28749 2012-05-06 Joseph Myers <joseph@codesourcery.com>
28753 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28755 (EXPL_FINITE): Likewise.
28756 (FLDLOG): Likewise.
28759 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28760 Adjust comments for base varying.
28761 (__expl_finite): Change alias to EXPL_FINITE.
28762 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28764 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28765 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28767 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28770 (EXPL_FINITE): Likewise.
28771 (FLDLOG): Likewise.
28774 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28775 Adjust comments for base varying.
28776 (__expl_finite): Change alias to EXPL_FINITE.
28777 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
28779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28782 * math/libm-test.inc (check_float_internal): Correct ulp
28783 calculation for subnormal expected results.
28785 2012-05-06 Andreas Jaeger <aj@suse.de>
28787 * Makeconfig (+math-flags): New, set to -frounding-math.
28788 (+cflags): Add +math-flags so that all of glibc gets compiled with
28791 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28793 2012-05-05 Joseph Myers <joseph@codesourcery.com>
28795 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28801 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28802 (__ieee754_expl): Allow for and saturate large arguments.
28803 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28804 (u_threshold): Likewise.
28805 (__exp): Call __ieee754_exp before checking for overflow and
28807 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28808 (u_threshold): Likewise.
28809 (__expf): Call __ieee754_expf before checking for overflow and
28811 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28812 (u_threshold): Likewise.
28813 (__expl): Call __ieee754_expl before checking for overflow and
28815 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28816 (__ieee754_expl): Allow for and saturate large arguments.
28817 * math/libm-test.inc (exp_test): Add another test. Do not allow
28818 missing overflow exception on overflow.
28819 (expm1_test): Do not allow missing overflow exception on overflow.
28821 * sysdeps/i386/fpu/e_expl.c: Move to ...
28822 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
28823 rather than using inline asm.
28824 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28825 * sysdeps/x86_64/fpu/e_expl.S: Copy from
28826 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28828 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28831 (signal): Likewise.
28835 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28837 * sysdeps/unix/syscalls.list (adjtime): Add entry from
28838 sysdeps/unix/common/syscalls.list.
28839 (fchmod): Likewise.
28840 (fchown): Likewise.
28841 (ftruncate): Likewise.
28842 (getrusage): Likewise.
28843 (gettimeofday): Likewise.
28844 (setpgid): Likewise.
28845 (setregid): Likewise.
28846 (setreuid): Likewise.
28847 (sigaction): Likewise.
28848 (truncate): Likewise.
28849 (vhangup): Likewise.
28850 * sysdeps/unix/common/syscalls.list: Remove file.
28851 * sysdeps/unix/bsd/Implies: Don't include unix/common.
28852 * sysdeps/unix/sysv/linux/Implies: Likewise.
28854 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
28856 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28858 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28862 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28865 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28868 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28871 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28874 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28877 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28880 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28884 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28888 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28891 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28895 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28899 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28901 * sysdeps/unix/common/bits/dirent.h: Remove file.
28902 * sysdeps/unix/common/bits/fcntl.h: Likewise.
28904 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28905 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28906 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28907 * sysdeps/unix/bsd/isatty.c: Likewise.
28908 * sysdeps/unix/bsd/tcdrain.c: Likewise.
28909 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28910 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28912 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28915 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28916 long double comparison inaccuracies.
28917 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28920 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
28922 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28923 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28925 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28929 nonzero digits before rounding a hex value.
28930 * stdlib/tst-strtod.c (tests): Add another test.
28932 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28934 * sysdeps/s390/fpu/libm-test-ulps: Update.
28936 2012-05-03 Andreas Jaeger <aj@suse.de>
28938 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
28939 does not get optimized out.
28940 (malloc_opt_barrier): New.
28942 2012-05-03 Andreas Jaeger <aj@suse.de>
28943 Roland McGrath <roland@hack.frob.com>
28945 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
28946 intermediate file deletion.
28947 (generated): Add .symlist files.
28949 2012-05-03 Joseph Myers <joseph@codesourcery.com>
28952 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
28953 Redirect under this condition.
28954 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28955 [__USE_GNU] (__dprintf_chk): Not under this condition.
28956 [__USE_GNU] (__vdprintf_chk): Likewise.
28957 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
28958 under this condition.
28959 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28960 [__USE_XOPEN2K8] (dprintf): Define under this condition.
28961 [__USE_XOPEN2K8] (vdprintf): Likewise.
28962 [__USE_GNU] (__dprintf_chk): Not under this condition.
28963 [__USE_GNU] (__vdprintf_chk): Likewise.
28964 [__USE_GNU] (dprintf): Likewise.
28965 [__USE_GNU] (vdprintf): Likewise.
28967 2012-05-03 Roland McGrath <roland@hack.frob.com>
28969 * elf/Makefile (common-generated): Set this instead of generated for
28970 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
28971 $(all-built-dso)-derived lists.
28973 2012-05-03 Andreas Jaeger <aj@suse.de>
28975 * sysdeps/i386/fpu/libm-test-ulps: Update.
28978 * FAQ.in: Likewise.
28979 * scripts/gen-FAQ.pl: Likewise.
28980 * manual/install.texi (Installation): Point to online location of
28982 * Makefile (files-for-dist): Remove FAQ.
28985 2012-05-02 Allan McRae <allan@archlinux.org>
28987 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
28988 (LDFLAGS-reldepmod5.so): Likewise.
28989 (LDFLAGS-reldep6mod1.so): Likewise.
28990 (LDFLAGS-reldep6mod4.so): Likewise.
28991 (LDFLAGS-reldep8mod3.so): Likewise.
28992 (LDFLAGS-unload4mod1.so): Likewise.
28993 (LDFLAGS-unload4mod2.so): Likewise.
28994 (LDFLAGS-tst-initorder): Likewise.
28995 (LDFLAGS-tst-initordera2.so): Likewise.
28996 (LDFLAGS-tst-initordera3.so): Likewise.
28997 (LDFLAGS-tst-initordera4.so): Likewise.
28998 (LDFLAGS-tst-initorderb2.so): Likewise.
28999 (LDFLAGS-noload): Likewise.
29000 (LDFLAGS-next): Likewise.
29001 (LDFLAGS-order2mod1.so): Likewise.
29002 (LDFLAGS-order2mod2.so): Likewise.
29003 (LDFLAGS-tst-initorder2): Likewise.
29004 (LDFLAGS-tst-initorder2a.so): Likewise.
29005 (LDFLAGS-tst-initorder2b.so): Likewise.
29006 (LDFLAGS-tst-initorder2c.so): Likewise.
29007 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29009 2012-05-02 David S. Miller <davem@davemloft.net>
29011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29013 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29016 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29018 2012-05-02 Andreas Jaeger <aj@suse.de>
29020 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29021 since we manipulate rounding mode.
29022 (CPPFLAGS-test-idouble.c): Likewise.
29023 (CPPFLAGS-test-ifloat.c): Likewise.
29024 (CFLAGS-test-ldouble.c): Likewise.
29025 (CFLAGS-test-double.c): Likewise.
29026 (CFLAGS-test-float.c): Likewise.
29027 (CFLAGS-test-misc.c): Likewise.
29028 (CFLAGS-test-test-fenv.c): Likewise.
29030 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29034 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29035 comparisons to determine direction to adjust input.
29037 2012-05-01 Roland McGrath <roland@hack.frob.com>
29039 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29040 output to the target.
29042 * scripts/localplt.awk: New file.
29043 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29044 (check-localplt-CFLAGS): Variable removed.
29045 ($(all-built-dso:=.jmprel)): New static pattern rule.
29046 (generated): Add those targets.
29047 (localplt-built-dso): New variable.
29048 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29050 * elf/check-localplt.c: File removed.
29052 * scripts/check-execstack.awk: New file.
29053 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29054 (check-execstack-CFLAGS): Variable removed.
29055 ($(objpfx)check-execstack.h): Target removed.
29056 ($(objpfx)execstack-default): New target.
29057 (generated): Add that instead of check-execstack.h.
29058 ($(all-built-dso:=.phdr)): New static pattern rule.
29059 (generated): Add those targets.
29060 * elf/check-execstack.c: File removed.
29062 * scripts/check-textrel.awk: New file.
29063 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29064 (check-textrel-CFLAGS): Variable removed.
29065 (all-built-dso): Use := to define.o
29066 ($(all-built-dso:=.dyn)): New static pattern rule.
29067 (generated): Add those targets.
29068 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29069 * config.make.in (READELF): New substituted variable.
29070 * elf/check-textrel.c: File removed.
29072 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29074 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29076 * conform/data/ctype.h-data [C99-based standards] (isblank):
29078 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29079 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29080 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29081 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29082 Specify type. Require positive value.
29083 (EILSEQ): Likewise.
29084 (ERANGE): Likewise.
29085 [ISO || POSIX] (EILSEQ): Do not expect.
29086 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29087 Specify type. Require positive value.
29088 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29089 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29090 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29091 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29092 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29093 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29094 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29095 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29096 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29097 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29098 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29099 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29100 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29101 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29102 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29103 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29104 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29105 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29106 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29107 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29108 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29109 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29110 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29111 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29112 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29113 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29114 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29115 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29116 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29117 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29118 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29119 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29120 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29121 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29122 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29123 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29124 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29125 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29126 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29127 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29128 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29129 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29130 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29131 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29132 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29133 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29134 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29135 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29136 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29137 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29138 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29139 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29140 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29141 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29142 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29143 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29144 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29145 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29146 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29147 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29148 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29149 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29150 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29151 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29152 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29153 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29154 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29155 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29156 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29157 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29158 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29159 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29160 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29161 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29162 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29163 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29164 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29166 (FLT_ROUNDS): Expect as macro, not constant.
29167 (FLT_MANT_DIG): Use macro-int-constant.
29168 (DBL_MANT_DIG): Likewise.
29169 (LDBL_MANT_DIG): Likewise.
29170 (FLT_DIG): Likewise.
29171 (DBL_DIG): Likewise.
29172 (LDBL_DIG): Likewise.
29173 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29174 (DBL_MIN_EXP): Likewise.
29175 (LDBL_MIN_EXP): Likewise.
29176 (FLT_MAX_EXP): Use macro-int-constant.
29177 (DBL_MAX_EXP): Likewise.
29178 (LDBL_MAX_EXP): Likewise.
29179 (FLT_MAX_10_EXP): Likewise.
29180 (DBL_MAX_10_EXP): Likewise.
29181 (LDBL_MAX_10_EXP): Likewise.
29182 (FLT_MAX): Use macro-constant.
29183 (DBL_MAX): Likewise.
29184 (LDBL_MAX): Likewise.
29185 (FLT_EPSILON): Use macro-constant. Give upper bound.
29186 (DBL_EPSILON): Likewise.
29187 (LDBL_EPSILON): Likewise.
29188 (FLT_MIN): Likewise.
29189 (DBL_MIN): Likewise.
29190 (LDBL_MIN): Likewise.
29191 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29192 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29193 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29194 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29195 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29196 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29197 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29198 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29199 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29200 [ISO11] (FLT_TRUE_MIN): Likewise.
29201 [ISO11] (LDBL_TRUE_MIN): Likewise.
29202 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29203 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29204 (SCHAR_MIN): Use macro-int-constant. Specify type.
29205 (SCHAR_MAX): Likewise.
29206 (UCHAR_MAX): Likewise.
29207 (CHAR_MIN): Likewise.
29208 (CHAR_MAX): Likewise.
29209 (MB_LEN_MAX): Use macro-int-constant.
29210 (SHRT_MIN): Use macro-int-constant. Specify type.
29211 (SHRT_MAX): Likewise.
29212 (USHRT_MAX): Likewise.
29213 (INT_MAX): Likewise.
29214 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29216 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29218 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29220 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29221 bound negative. Suffix upper bound with "L".
29222 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29224 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29226 [C99-based standards] (LLONG_MAX): Likewise.
29227 [C99-based standards] (ULLONG_MAX): Likewise.
29228 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29230 [ISO11] (max_align_t): Require type.
29231 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29233 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29234 from $CFLAGS, without defining away __attribute__ calls.
29235 (checknamespace): Use $CFLAGS_namespace.
29237 * conform/conformtest.pl (@keywords): Only include C99 keywords
29238 for standards based on C99 or C11.
29240 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29242 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29245 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29246 usability of symbols in #if.
29248 * conform/conformtest.pl: If macro or constant types start
29249 "promoted:", expect the symbol to be of the following type
29250 promoted by the integer promotions.
29252 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29253 in one place. Also handle "macro-constant".
29255 * conform/conformtest.pl: Only accept expected macro values with
29256 "==". Parse all "macro" lines in one place.
29257 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29259 * conform/conformtest.pl: Handle braced types on "constant" lines
29260 instead of handling "typed-constant".
29261 * conform/data/signal.h-data: Use "constant" instead of
29264 * conform/conformtest.pl: Handle "optional-" at start of lines in
29265 one place rather than duplicating several cases. Handle each
29266 format of "macro" line with initial "optional-".
29268 * conform/conformtest.pl: Only accept expected constant or
29269 optional-constant values with "==". Parse all "constant" lines in
29270 one place. Parse all "optional-constant" lines in one place.
29271 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29272 * conform/data/fmtmsg.h-data: Likewise.
29273 * conform/data/netinet/in.h-data: Likewise.
29274 * conform/data/tar.h-data: Likewise.
29275 * conform/data/limits.h-data: Use "==" form on "constant" and
29276 "optional-constant" lines.
29278 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29279 Use -std=c99 for XOPEN2K.
29280 (@knownproblems): Remove.
29281 (newtoken): Don't check %isknown.
29283 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29284 Do not expect macro.
29285 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29286 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29287 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29288 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29289 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29290 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29291 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29292 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29293 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29294 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29295 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29296 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29297 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29298 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29299 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29300 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29301 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29302 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29303 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29304 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29305 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29306 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29307 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29308 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29309 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29310 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29311 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29312 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29313 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29314 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29315 [XPG3] (acosh): Likewise.
29316 [XPG3] (asinh): Likewise.
29317 [XPG3] (atanh): Likewise.
29318 [XPG3] (cbrt): Likewise.
29319 [XPG3] (expm1): Likewise.
29320 [XPG3] (ilogb): Likewise.
29321 [XPG3] (log1p): Likewise.
29322 [XPG3] (logb): Likewise.
29323 [XPG3] (nextafter): Likewise.
29324 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29325 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29326 [XPG3] (remainder): Likewise.
29327 [XPG3] (rint): Likewise.
29328 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29329 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29330 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29331 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29332 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29333 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29334 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29335 [UNIX98 || XOPEN2K] (scalb): Expect.
29336 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29337 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29338 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29339 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29340 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29341 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29342 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29343 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29344 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29345 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29346 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29347 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29348 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29349 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29350 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29351 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29352 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29353 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29354 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29355 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29356 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29357 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29358 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29359 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29360 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29361 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29362 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29363 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29364 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29365 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29366 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29367 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29368 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29369 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29370 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29371 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29372 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29373 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29374 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29375 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29376 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29377 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29378 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29379 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29380 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29381 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29382 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29383 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29384 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29385 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29386 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29387 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29388 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29389 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29390 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29391 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29392 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29393 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29394 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29395 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29396 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29397 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29398 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29399 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29400 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29401 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29402 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29403 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29404 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29405 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29406 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29407 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29408 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29409 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29410 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29411 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29412 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29413 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29414 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29415 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29416 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29417 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29418 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29419 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29420 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29421 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29422 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29423 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29424 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29425 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29426 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29427 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29428 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29429 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29430 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29431 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29432 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29433 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29434 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29435 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29436 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29437 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29438 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29439 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29440 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29441 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29442 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29443 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29444 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29445 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29446 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29447 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29448 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29449 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29450 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29451 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29452 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29453 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29454 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29455 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29456 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29457 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29458 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29459 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29460 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29461 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29462 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29463 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29464 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29465 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29466 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29467 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29468 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29469 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29470 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29471 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29472 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29474 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29475 _XOPEN_SOURCE_EXTENDED for XPG4.
29477 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29479 * Makeconfig (localtime): Remove variable.
29480 (inst_localtime-file): Likewise.
29482 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29503 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29507 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29508 comparisons to determine direction to adjust input.
29509 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29510 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29511 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29513 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29515 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29517 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29518 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29520 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29522 * math/libm-test.inc (nexttoward_test): Add more tests.
29524 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29527 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29528 in version GLIBC_2.1, not GLIBC_2.0.
29529 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29532 2012-04-30 Joseph Myers <joseph@codesourcery.com>
29535 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29537 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29538 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29539 * math/libm-test.inc (acos_test): Add more tests.
29540 (asin_test): Likewise.
29541 * sysdeps/i386/fpu/libm-test-ulps: Update.
29542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29545 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29547 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29548 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29549 * math/libm-test.inc (acos_test_tonearest): New function.
29550 (acos_test_towardzero): Likewise.
29551 (acos_test_downward): Likewise.
29552 (acos_test_upward): Likewise.
29553 (asin_test_tonearest): Likewise.
29554 (asin_test_towardzero): Likewise.
29555 (asin_test_downward): Likewise.
29556 (asin_test_upward): Likewise.
29557 (main): Call the new functions.
29558 * sysdeps/i386/fpu/libm-test-ulps: Update.
29559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29563 * math/e_exp10.c: Include <float.h>.
29564 (__ieee754_exp10): Handle underflow here rather than multiplying
29565 large negative argument by M_LN10.
29566 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29568 * math/e_exp10l.c: Include <float.h>.
29569 (__ieee754_exp10l): Handle underflow here rather than multiplying
29570 large negative argument by M_LN10l.
29571 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29572 spurious overflow exception on underflow.
29574 2012-04-29 Marek Polacek <polacek@redhat.com>
29576 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29577 (__fortify_function): New macro.
29578 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29579 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29580 __extern_always_inline.
29581 * libio/bits/stdio2.h: Likewise.
29582 * libio/bits/stdio.h: Likewise.
29583 * string/string.h: Likewise.
29584 * string/bits/string3.h: Likewise.
29585 * include/stdio.h: Likewise.
29586 * stdlib/bits/stdlib.h: Likewise.
29587 * stdlib/stdlib.h: Likewise.
29588 * rt/bits/mqueue2.h: Likewise.
29589 * rt/mqueue.h: Likewise.
29590 * posix/bits/unistd.h: Likewise.
29591 * posix/unistd.h: Likewise.
29592 * io/bits/poll2.h: Likewise.
29593 * io/bits/fcntl2.h: Likewise.
29594 * io/fcntl.h: Likewise.
29595 * io/sys/poll.h: Likewise.
29596 * misc/bits/syslog.h: Likewise.
29597 * misc/bits/syslog-ldbl.h: Likewise.
29598 * misc/sys/syslog.h: Likewise.
29599 * socket/bits/socket2.h: Likewise.
29600 * socket/sys/socket.h: Likewise.
29601 * debug/tst-chk1.c: Likewise.
29602 * wcsmbs/bits/wchar2.h: Likewise.
29603 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29604 * wcsmbs/wchar.h: Likewise.
29606 2012-04-29 Andreas Jaeger <aj@suse.de>
29608 * Makerules (tests): Remove enable-check-abi protection.
29609 (check-abi-warn): Remove.
29610 (check-abi-%): Remove check-abi-warn usage.
29612 * configure.in: Remove check-abi configure option.
29613 * configure: Regenerated.
29614 * config.make.in (enable-check-abi): Remove.
29616 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29619 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29620 double functions to double *_finite functions.
29623 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29624 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29626 * stdio-common/Makefile (tests): Add tst-sprintf3.
29627 * stdio-common/tst-sprintf3.c: New file.
29629 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29630 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29632 2012-04-28 Joseph Myers <joseph@codesourcery.com>
29634 * conform/conformtest.pl: Remove duplicate typed-constant
29637 2012-04-28 David S. Miller <davem@davemloft.net>
29639 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29640 (check-abi-%): Remove AWK script prerequisite and explicit
29642 (check-abi): Rewrite to just diff the symlist with the abilist.
29643 (config-tls, config-abi-config): Delete, no longer used.
29644 (update-abi-%): Remove AWK script and explicit abilist directory.
29645 (update-abi): Rewrite to simply compare and conditionally copy the
29646 symlist and the sysdep abilist file. Remove update-abi-config
29648 * abilist/ld.abilist: Remove.
29649 * abilist/libBrokenLocale.abilist: Remove.
29650 * abilist/libanl.abilist: Remove.
29651 * abilist/libcrypt.abilist: Remove.
29652 * abilist/libdl.abilist: Remove.
29653 * abilist/librt.abilist: Remove.
29654 * abilist/libthread_db.abilist: Remove.
29655 * abilist/libutil.abilist: Remove.
29656 * scripts/extract-abilist.awk: Remove.
29657 * scripts/merge-abilist.awk: Remove.
29658 * sysdeps/generic/libcidn.abilist: New file.
29659 * sysdeps/generic/libnss_compat.abilist: New file.
29660 * sysdeps/generic/libnss_db.abilist: New file.
29661 * sysdeps/generic/libnss_dns.abilist: New file.
29662 * sysdeps/generic/libnss_files.abilist: New file.
29663 * sysdeps/generic/libnss_hesiod.abilist: New file.
29664 * sysdeps/generic/libnss_nis.abilist: New file.
29665 * sysdeps/generic/libnss_nisplus.abilist: New file.
29666 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29667 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29668 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29670 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29671 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29672 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29673 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29674 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29675 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29676 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29677 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29678 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29680 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29681 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29682 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29683 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29685 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29686 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29687 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29688 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29689 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29690 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29692 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29693 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29694 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29696 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29799 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29800 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29801 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29804 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29805 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29806 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29807 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29808 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29809 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29810 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29811 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29812 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29864 2012-04-28 Joseph Myers <joseph@codesourcery.com>
29866 * conform/conformtest.pl: Fix typo in handling typed-constant from
29869 2012-04-27 Joseph Myers <joseph@codesourcery.com>
29871 * README: Cut down references to pre-2.6 Linux kernels and
29872 Linuxthreads. Update lists of configurations in libc and ports
29873 and sort alphabetically. Say "or newer" with Linux kernel version
29876 * config.h.in [IS_IN_build]: Allow compiling without optimization.
29878 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29881 * math/libm-test.inc (logb_test_downward): New test to expose
29882 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29885 2012-04-27 Joseph Myers <joseph@codesourcery.com>
29888 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29890 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29891 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29893 2012-04-26 Joseph Myers <joseph@codesourcery.com>
29895 * sysdeps/unix/i386/brk.S: Remove file.
29896 * sysdeps/unix/i386/dl-brk.S: Likewise.
29897 * sysdeps/unix/i386/pipe.S: Likewise.
29898 * sysdeps/unix/i386/sigreturn.S: Likewise.
29899 * sysdeps/unix/i386/syscall.S: Likewise.
29900 * sysdeps/unix/i386/vfork.S: Likewise.
29901 * sysdeps/unix/i386/wait.S: Likewise.
29903 * sysdeps/unix/common/tcsendbrk.c: Move to ...
29904 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29906 * configure.in (arm*-none*): Do not allow without
29907 --enable-hacker-mode.
29908 (netbsd*): Remove case setting base_os.
29909 (386bsd*): Likewise.
29910 (freebsd*): Likewise.
29913 (sunos*): Likewise.
29914 (ultrix*): Likewise.
29915 (newsos*): Likewise.
29916 (dynix*): Likewise.
29922 (minix*): Likewise.
29923 (irix4*): Likewise.
29924 (irix6*): Likewise.
29925 (solaris[2-9]*): Likewise.
29927 * configure: Regenerated.
29929 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29932 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
29933 overflow or cancellation in calculating denominator.
29934 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
29935 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
29936 down expression to avoid unexpected rounding in newer GCCs.
29937 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
29939 2012-04-26 David S. Miller <davem@davemloft.net>
29941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
29942 long-double compat symbols.
29943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
29947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
29949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
29950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
29951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
29952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
29954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
29955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29957 2012-04-25 David S. Miller <davem@davemloft.net>
29959 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
29960 HWCAP_* values only after the memory barriers have been defined.
29961 (atomic_full_barrier): Define.
29962 (atomic_read_barrier): Define.
29963 (atomic_write_barrier): Define.
29965 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29967 * shlib-versions: Add libgcc_s version information.
29968 * sysdeps/generic/libgcc_s.h: Remove.
29969 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
29971 * sysdeps/gnu/unwind-resume.c: Likewise.
29972 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
29974 2012-04-25 David S. Miller <davem@davemloft.net>
29976 * sysdeps/unix/sparc/brk.S: Delete.
29977 * sysdeps/unix/sparc/dl-brk.S: Delete.
29978 * sysdeps/unix/sparc/pipe.S: Delete.
29979 * sysdeps/unix/sparc/sysdep.S: Delete.
29980 * sysdeps/unix/sparc/sysdep.h: Delete.
29981 * sysdeps/unix/sparc/vfork.S: Delete.
29982 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
29983 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
29984 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
29985 ret_ERRVAL, r0, r1, MOVE): Define.
29986 (JUMPTARGET): Remove.
29987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
29988 sysdeps/unix/sparc/sysdep.h
29989 (ENTRY, END): Remove.
29990 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29992 2012-04-25 Joseph Myers <joseph@codesourcery.com>
29994 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
29995 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
29998 * timezone/README: Update upstream location and email address for
30000 * timezone/zdump.c: Update from tzcode 2012b.
30001 * timezone/zic.c: Likewise.
30003 * configure.in (libc_cv_as_needed): Remove test.
30004 * configure: Regenerated.
30005 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30006 conditional definition.
30007 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30008 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30009 * config.make.in (have-as-needed): Remove variable.
30011 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30012 Paul Pluzhnikov <ppluzhnikov@google.com>
30014 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30017 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30019 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30020 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30021 * sysdeps/sh/strlen.S: Likewise.
30023 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30025 * sysdeps/unix/fork.S: Remove file.
30026 * sysdeps/unix/i386/fork.S: Likewise.
30027 * sysdeps/unix/sparc/fork.S: Likewise.
30029 * sysdeps/unix/system.c: Remove file.
30030 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30032 * sysdeps/unix/getegid.S: Remove file.
30033 * sysdeps/unix/geteuid.S: Likewise.
30035 2012-04-24 Roland McGrath <roland@hack.frob.com>
30037 * scripts/check-localplt.awk: New file.
30038 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30040 * scripts/data/localplt-generic.data: Add a comment.
30042 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30043 NODE when __dir_mkfile failed.
30044 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30045 Reported by Ludovic Courtès <ludo@gnu.org>.
30047 2012-04-24 Andreas Jaeger <aj@suse.de>
30049 * Makerules (common-clean): Also remove gen-as-const-headers
30052 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30054 * Makerules (native-compile): Do not change working directory for
30055 build. Use $(OUTPUT_OPTION) in command.
30056 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30058 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30061 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30062 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30063 * math/libm-test.inc (floor_test): Add more tests.
30064 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30066 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30068 * sysdeps/unix/getdents.c: Remove file.
30069 * sysdeps/unix/sysv/getdents.c: Likewise.
30070 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30072 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30073 sysdeps/unix/mman/syscalls.list.
30075 (mprotect): Likewise.
30077 (munmap): Likewise.
30078 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30079 * sysdeps/unix/mman/syscalls.list: Remove.
30080 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30082 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30083 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30084 * configure: Regenerated.
30085 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30086 $(libgcc_s_suffix).
30087 * config.make.in (libgcc_s_suffix): Remove variable.
30089 2012-04-23 Joseph Myers <joseph@codesourcery.com>
30091 * sysdeps/unix/sysv/gethostname.c: Move to ...
30092 * sysdeps/posix/gethostname.c: ... here.
30094 * sysdeps/unix/execve.S: Remove file.
30096 * sysdeps/unix/_exit.S: Remove file.
30098 2012-04-23 Andreas Jaeger <aj@suse.de>
30101 * manual/Makefile: Remove make dist support, there's no
30102 need for a stand-alone documentation tar ball.
30103 (TEXI2DVI): Define always, it's not in Makeconfig.
30106 (edition): Removed.
30107 (glibc-doc-$(edition).tar): Removed
30111 (ETAGS): Remove, it's in Makeconfig.
30112 (move-if-change): Remove, it's in Makeconfig.
30114 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30117 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30118 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30119 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30120 (strtod_l, strtof_l, strtold_l): Remove __wur.
30121 It is not necessarily an error to ignore strtol's return value.
30122 One can reliably look at the stored endptr to decide whether
30123 the number had valid syntax.
30125 2012-04-21 Andreas Jaeger <aj@suse.de>
30128 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30130 2012-04-21 Joseph Myers <joseph@codesourcery.com>
30132 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30133 * sysdeps/unix/sysv/Versions: Remove file.
30135 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30140 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
30143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30144 version from __vm86.
30146 2012-04-20 Joseph Myers <joseph@codesourcery.com>
30148 * sysdeps/unix/common/lxstat.c: Remove file.
30149 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30151 * sysdeps/unix/sysv/Makefile: Remove file.
30153 * sysdeps/unix/sysv/direct.h: Remove file.
30155 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30156 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30157 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30158 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30159 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30160 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30161 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30163 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30165 * sysdeps/unix/xmknod.c: Remove file.
30166 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30168 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30170 * sysdeps/unix/sysv/i386/time.S: Remove file.
30172 * sysdeps/unix/fxstat.c: Remove file.
30173 * sysdeps/unix/xstat.c: Likewise.
30174 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30176 * sysdeps/unix/sysv/sigaction.c: Remove file.
30178 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30179 (sysdep_headers): Remove variable.
30180 [termio.h not in sysdep_headers] (generated): Likewise.
30181 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30182 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30183 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30184 * sysdeps/unix/sysv/tcflow.c: Likewise.
30185 * sysdeps/unix/sysv/tcflush.c: Likewise.
30186 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30187 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30188 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30189 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30190 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30192 * sysdeps/unix/siglist.c: Remove file.
30194 * sysdeps/unix/getppid.S: Remove file.
30196 * sysdeps/unix/mkdir.c: Remove file.
30197 * sysdeps/unix/rmdir.c: Likewise.
30199 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30201 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30203 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30204 errlist-compat value.
30206 2012-04-18 David S. Miller <davem@davemloft.net>
30208 * sysdeps/generic/memcopy.h (reg_char): Delete.
30209 * debug/strcat_chk.c: Use char, not reg_char.
30210 * debug/strcpy_chk.c: Likewise.
30211 * debug/strncat_chk.c: Likewise.
30212 * debug/strncpy_chk.c: Likewise.
30213 * string/memchr.c: Likewise.
30214 * string/memrchr.c: Likewise.
30215 * string/rawmemchr.c: Likewise.
30216 * string/strcat.c: Likewise.
30217 * string/strchr.c: Likewise.
30218 * string/strchrnul.c: Likewise.
30219 * string/strcmp.c: Likewise.
30220 * string/strcpy.c: Likewise.
30221 * string/strncat.c: Likewise.
30222 * string/strncmp.c: Likewise.
30223 * string/strncpy.c: Likewise.
30225 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30227 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30228 __builtin_memcopy is called when src and dest ranges are known to not
30231 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30233 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30234 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30235 fwd_align_merge macro call.
30236 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30237 bwd_align_merge macro call.
30238 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30240 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30242 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30243 bwd_align_merge macros.
30244 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30245 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30246 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30248 2012-04-18 David S. Miller <davem@davemloft.net>
30250 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30252 2012-04-18 Andreas Jaeger <aj@suse.de>
30255 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30256 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30257 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30259 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30260 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30261 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30263 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30264 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30265 Adjust for changed ldbl-128 files.
30267 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30268 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30269 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30271 2012-04-17 David S. Miller <davem@davemloft.net>
30273 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30275 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30277 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30278 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30279 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30280 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30281 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30282 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30284 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30287 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30288 * math/libm-test.inc: Add ilogb errno and exception tests.
30289 * math/w_ilogb.c: New file: ilogb wrapper.
30290 * math/w_ilogbf.c: New file: ilogbf wrapper.
30291 * math/w_ilogbl.c: New file: ilogbl wrapper.
30292 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30293 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30294 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30295 exception being thrown with 0.0 as argument.
30296 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30297 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30298 exception being thrown with 0.0 as argument.
30299 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30300 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30301 exception being thrown with 0.0 as argument.
30302 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30303 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30304 exception being thrown with 0.0 as argument.
30305 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30306 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30307 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30308 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30309 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30310 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30311 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30312 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30313 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30315 2012-04-17 Petr Baudis <pasky@ucw.cz>
30317 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30320 2012-04-16 Marek Polacek <polacek@redhat.com>
30322 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30324 2012-04-16 Marek Polacek <polacek@redhat.com>
30326 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30327 operands of fdivp instruction.
30329 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30331 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30332 * elf/tst-auditmod3b.c: Likewise.
30333 * elf/tst-auditmod4b.c: Likewise.
30334 * elf/tst-auditmod5b.c: Likewise.
30335 * elf/tst-auditmod6b.c: Likewise.
30336 * elf/tst-auditmod6c.c: Likewise.
30337 * elf/tst-auditmod7b.c: Likewise.
30338 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30339 * sysdeps/x86_64/preconfigure.in: Likewise.
30340 * sysdeps/x86_64/preconfigure: Regenerated.
30342 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30344 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30347 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
30349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30350 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30352 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30355 * locale/iso-639.def: Fix gl language name. Spotted by
30358 2012-04-12 Roland McGrath <roland@hack.frob.com>
30361 * libio/libio.h (__io_write_fn): Update comment.
30363 2012-04-12 Petr Baudis <pasky@ucw.cz>
30366 * stdio.texi (Hook Functions): The user provided writer function
30367 is not allowed to return -1.
30369 2012-04-11 David S. Miller <davem@davemloft.net>
30371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30373 2012-04-11 Mike Frysinger <vapier@gentoo.org>
30375 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30376 Add a leading slash to rtkaio.
30378 2012-04-11 Jim Meyering <meyering@redhat.com>
30381 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30382 It is not necessarily an error to ignore fwrite's return
30383 value. One can reliably use ferror to test for errors after
30386 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30388 * bits/types.h (__snseconds_t): New type.
30389 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30391 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30393 (__SNSECONDS_T_TYPE): Likewise.
30394 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30395 (__SNSECONDS_T_TYPE): Likewise.
30396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30397 (__SNSECONDS_T_TYPE): Likewise.
30399 2012-04-10 Andreas Jaeger <aj@suse.de>
30402 * manual/time.texi (Processor Time): Return type of times is
30403 elapsed real time since an arbitrary point in the past.
30404 (CPU Time): Move CLK_TCK from here...
30405 (Processor Time): ...to here. Correct description.
30406 * manual/conf.texi (Constants for Sysconf): Correct description of
30409 2012-04-10 David S. Miller <davem@davemloft.net>
30412 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30413 where the is a gap between DT_REL(A) and DT_JMPREL.
30415 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30417 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30418 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30419 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30421 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30423 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30424 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30425 (dl_main): Handle --inhibit-cache.
30426 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30428 * elf/dl-load.c (_dl_map_object): Use it.
30429 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30431 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30434 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30435 (__ieee754_powl): Saturate large exponents rather than testing for
30436 overflow of y*log2(x).
30437 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30438 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30442 * math/s_ctan.c: Include <float.h>.
30443 (__ctan): Avoid internal overflow or cancellation in calculating
30445 * math/s_ctanf.c: Likewise.
30446 * math/s_ctanl.c: Likewise.
30447 * math/s_ctanh.c: Likewise.
30448 * math/s_ctanhf.c: Likewise.
30449 * math/s_ctanhl.c: Likewise.
30450 * math/libm-test.inc (ctan_test): Add more tests.
30451 (ctanh_test): Likewise.
30452 * sysdeps/i386/fpu/libm-test-ulps: Update.
30453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30455 2012-04-09 Andreas Jaeger <aj@suse.de>
30458 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30459 is an optional BSD extension.
30462 * manual/stdio.texi (Opening Streams): Document additional fopen
30465 2012-04-09 Roland McGrath <roland@hack.frob.com>
30467 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30468 %eax without telling the compiler.
30470 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30473 * manual/install.texi: Use sourceware.org.
30475 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30478 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30479 (__ieee754_pow): Generate overflow and underflow using huge*huge
30480 and tiny*tiny rather than just returning constant infinity or zero
30481 for large exponents.
30482 * math/libm-test.inc (pow_test): Require overflow exceptions for
30483 applicable cases of large exponents.
30486 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30487 (__ieee754_pow): Use iterative multiplication algorithm only for
30488 integer exponents with absolute value below 1024. Check for odd
30489 integer exponents when using algorithm for real exponents.
30490 * math/libm-test.inc (pow_test): Add more tests.
30491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30493 2012-04-08 Joseph Myers <joseph@codesourcery.com>
30496 * math/libm-test.inc (exp_test): Do not allow overflow exception
30499 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30502 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30503 instead of __kernel_standard_f.
30505 2012-04-08 Mike Frysinger <vapier@gentoo.org>
30507 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30508 * sysdeps/x86_64/memset_chk.S: Likewise.
30510 2012-04-08 Andreas Jaeger <aj@suse.de>
30513 * manual/startup.texi (Environment Access): Describe return value
30514 for putenv and setenv.
30517 * manual/filesys.texi (Directory Entries): Add description for
30521 * manual/filesys.texi (Directory Entries): Clarify that it's file
30522 system not operating system in the description of DT_UNKNOWN.
30525 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30527 2012-04-08 Stephen Compall <s11@member.fsf.org>
30530 * manual/llio.texi (Opening and Closing Files): Add cross
30531 reference to explain mode argument.
30533 2012-04-07 Mike Frysinger <vapier@gentoo.org>
30535 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30536 * sysdeps/x86_64/memset_chk.S: Likewise.
30538 2012-04-07 David S. Miller <davem@davemloft.net>
30540 * elf/elf.h (R_SPARC_WDISP10): Define.
30541 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30544 R_SPARC_SIZE64 and R_SPARC_H34.
30546 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30548 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30549 conditions and remove no longer applicable assertion.
30551 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30553 * bits/byteswap.h: Include <features.h>.
30554 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30555 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30557 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30559 * bits/byteswap.h (__bswap_16): Removed.
30560 Include <bits/byteswap-16.h> to get __bswap_16.
30561 * sysdeps/i386/bits/byteswap.h: Likewise.
30562 * sysdeps/s390/bits/byteswap.h: Likewise.
30563 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30564 * bits/byteswap-16.h: New file.
30565 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30566 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30567 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30568 * string/Makefile (headers): Add bits/byteswap-16.h.
30570 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30573 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30575 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30576 * nss/tst-nss-static.c: New.
30578 2012-04-06 Robert Millan <rmh@gnu.org>
30581 * manual/llio.texi (File Position Primitive): lseek
30582 refers to WHENCE when it really means OFFSET.
30584 2012-04-06 Andreas Jaeger <aj@suse.de>
30586 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30587 strncmp declarations.
30589 * abilist/libc.abilist: Add __poll and __ppoll.
30591 2012-04-05 David S. Miller <davem@davemloft.net>
30593 * scripts/check-local-headers.sh: Accept a host triplet in the
30594 path matched by the exclude regexp.
30596 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30598 * sysdeps/powerpc/powerpc32/dl-machine.h
30599 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30600 * sysdeps/s390/s390-32/dl-machine.h
30601 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30602 * sysdeps/sparc/sparc32/dl-machine.h
30603 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30604 * sysdeps/sparc/sparc64/dl-machine.h
30605 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30607 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30609 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30610 undefined symbol errors.
30612 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30615 2012-04-05 Michael Matz <matz@suse.de>
30618 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30620 2012-04-05 Andreas Jaeger <aj@suse.de>
30623 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30626 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30628 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30629 which ROUND is no valid rounding mode.
30631 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30633 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30635 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30637 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30639 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30640 an exception using FPU order intentionally.
30642 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30644 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30645 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30646 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30647 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30649 2012-04-05 Simon Josefsson <simon@josefsson.org>
30652 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30653 EINVAL when BUFLEN is too smal.
30655 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30658 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30659 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30661 2012-04-03 Andreas Jaeger <aj@suse.de>
30664 * manual/setjmp.texi (System V contexts): Fix sentence.
30667 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30668 New macro for this case.
30669 [!__GNUC__] (__bswap_64): New inline function for this case.
30670 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30671 * bits/byteswap.h: Likewise.
30672 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30673 ull, guard with __GLIBC_HAVE_LONG_LONG.
30675 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30676 __GLIBC_HAVE_LONG_LONG.
30678 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30679 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30681 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30684 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30685 inptr and inend, rather than using last_ch.
30687 2012-04-02 David S. Miller <davem@davemloft.net>
30689 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30690 * stdio-common/printf-parse.h (read_int): Change return type to
30691 'int', return -1 on INT_MAX overflow.
30692 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30693 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30694 overflows INT_MAX. Check for overflow of in-format-string precision
30695 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30696 SIZE_MAX not INT_MAX for integer overflow test.
30697 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30698 skip the construct in the format string but do not record anything.
30699 * stdio-common/bug22.c: Adjust to test both width/prevision
30700 INT_MAX overflow as well as total length INT_MAX overflow. Check
30701 explicitly for proper errno values.
30703 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30705 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30707 * string/test-strcmp.c [! WIDE]: Likewise.
30708 * time/tst-mktime2.c: Likewise for INT_MAX.
30709 * string/test-string.h: #include <sys/param.h> for MIN.
30711 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30712 * sysdeps/i386/init-first.c (init): Likewise.
30713 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30714 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30715 * sysdeps/sh/init-first.c (init): Likewise.
30717 2012-04-01 Ulrich Drepper <drepper@gmail.com>
30719 * po/ru.po: Update from translation team.
30720 * po/vi.po: Likewise.
30722 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30724 * resolv/nss_dns/dns-host.c: Merge copyright years.
30726 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30728 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30729 Optimize memcpy with prefetch if
30730 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30731 src, dst pointers have unequal 16 byte alignments.
30733 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30736 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30737 from a CNAME entry and return the minimum ttl for the query.
30738 (gaih_getanswer_slice): Likewise.
30740 2012-03-30 Jeff Law <law@redhat.com>
30742 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30744 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30745 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30747 * resolv/nss_dns/dns-host.c: Update copyright year.
30749 2012-03-30 Ulrich Drepper <drepper@gmail.com>
30751 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30752 requests to save a system call. Fix check that all bytes are sent.
30754 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30755 comments for sendmmsg.
30757 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30760 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30761 with only 1 character between 0x0041 and 0x01b0.
30762 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30763 * wcsmbs/tst-mbsnrtowcs.c: New file.
30765 2012-03-29 David S. Miller <davem@davemloft.net>
30767 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30768 small copies by hand.
30770 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30773 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30774 _nss_compat_initgroups_dyn): Fall back to malloc/free
30775 for large group memberships.
30777 2012-03-28 David S. Miller <davem@davemloft.net>
30779 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30780 that branches into memcpy.
30781 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30782 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30783 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30784 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30787 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30788 implementation too.
30789 * sysdeps/sparc/mempcpy.S: New file.
30791 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30792 the IFUNC routine in the libc case.
30793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30795 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30796 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30797 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30798 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30799 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30800 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30801 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30802 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30804 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30805 loop to 256 bytes instead of 64 bytes and fix test signedness.
30807 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30808 * sysdeps/sparc/sparc32/Makefile: rather than here...
30809 * sysdeps/sparc/sparc64/Makefile: and here.
30811 2012-03-28 Ulrich Drepper <drepper@gmail.com>
30813 * malloc/mallocbug.c: Avoid warnings about unused variables.
30815 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30818 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30819 in the right place. Discard and retry query if response is
30820 larger than input buffer size.
30822 2012-03-28 Joseph Myers <joseph@codesourcery.com>
30827 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30828 x for large integer exponent.
30829 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30830 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
30831 sign of result as needed afterwards.
30832 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30833 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30834 result for underflowing pow the same as for overflow.
30835 (__kernel_standard_l): Handle powl overflow and underflow here
30836 rather than calling __kernel_standard.
30837 * math/libm-test.inc (pow_test): Add more tests.
30852 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30853 * sysdeps/ieee754/k_standard.c: Include <float.h>.
30854 (__kernel_standard_l): New function.
30855 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30857 * math/w_acosl.c (__acosl): Likewise.
30858 * math/w_asinl.c (__asinl): Likewise.
30859 * math/w_atan2l.c (__atan2l): Likewise.
30860 * math/w_atanhl.c (__atanhl): Likewise.
30861 * math/w_coshl.c (__coshl): Likewise.
30862 * math/w_exp10l.c (__exp10l): Likewise.
30863 * math/w_exp2l.c (__exp2l): Likewise.
30864 * math/w_fmodl.c (__fmodl): Likewise.
30865 * math/w_hypotl.c (__hypotl): Likewise.
30866 * math/w_j0l.c (__j0l, __y0l): Likewise.
30867 * math/w_j1l.c (__j1l, __y1l): Likewise.
30868 * math/w_jnl.c (__jnl, __ynl): Likewise.
30869 * math/w_lgammal.c (__lgammal): Likewise.
30870 * math/w_log10l.c (__log10l): Likewise.
30871 * math/w_log2l.c (__log2l): Likewise.
30872 * math/w_logl.c (__logl): Likewise.
30873 * math/w_powl.c (__powl): Likewise.
30874 * math/w_remainderl.c (__remainderl): Likewise.
30875 * math/w_scalbl.c (sysv_scalbl): Likewise.
30876 * math/w_sinhl.c (__sinhl): Likewise.
30877 * math/w_sqrtl.c (__sqrtl): Likewise.
30878 * math/w_tgammal.c (__tgammal): Likewise.
30879 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30880 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30881 * math/libm-test.inc (acos_test): Add more tests.
30882 (acosh_test): Likewise.
30883 (asin_test): Likewise.
30884 (atanh_test): Likewise.
30885 (exp_test): Likewise.
30886 (exp10_test): Likewise.
30887 (exp2_test): Likewise.
30888 (expm1_test): Likewise.
30889 (lgamma_test): Likewise.
30890 (log_test): Likewise.
30891 (log10_test): Likewise.
30892 (log1p_test): Likewise.
30893 (log2_test): Likewise.
30894 (pow_test): Do not allow some spurious overflow exceptions.
30895 (sqrt_test): Add more tests.
30896 (tgamma_test): Likewise.
30897 (y0_test): Likewise.
30898 (y1_test): Likewise.
30899 (yn_test): Likewise.
30901 2012-03-27 Anton Blanchard <anton@samba.org>
30903 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30909 2012-03-27 David S. Miller <davem@davemloft.net>
30911 * conform/Makefile: Run run-conformtest.sh using $(BASH).
30913 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30914 have-as-vis3 check.
30916 2012-03-27 Andreas Jaeger <aj@suse.de>
30918 * sysdeps/x86_64/elf/configure.in: Moved to ...
30919 * sysdeps/x86_64/configure.in: ... here.
30920 * sysdeps/x86_64/elf/start.S: Moved to ...
30921 * sysdeps/x86_64/start.S: ... here.
30922 * sysdeps/x86_64/elf/configure: Delete.
30924 * sysdeps/x86_64/configure.in: Merge contents from
30925 sysdeps/i386/configure.in (without i686 check).
30927 * sysdeps/i386/elf/Versions: Merge into ...
30928 * sysdeps/i386/Versions: ... this.
30929 * sysdeps/i386/elf/Versions: Delete file.
30930 * sysdeps/i386/elf/start.S: Moved to ...
30931 * sysdeps/i386/start.S: ...here.
30932 * sysdeps/i386/elf/configure.in: Merge into...
30933 * sysdeps/i386/configure.in: ...here.
30934 * sysdeps/i386/elf/configure.in: Delete file.
30935 * sysdeps/i386/elf/configure: Delete file.
30937 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30938 * debug/backtracesyms.c: ... here.
30939 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
30940 * debug/backtracesymsfd.c: ... here.
30941 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
30942 * sysdeps/generic/ifunc-sel.h: ... here.
30944 * sysdeps/unix/i386/start.c: Delete file.
30945 * sysdeps/unix/sparc/start.c: Delete file.
30946 * sysdeps/unix/start.c: Delete file.
30948 * sysdeps/sh/elf/configure.in: Moved to ...
30949 * sysdeps/sh/configure.in: ... here.
30950 * sysdeps/sh/elf/start.S: Moved to ...
30951 * sysdeps/sh/start.S: ... here.
30952 * sysdeps/sh/elf/configure: Delete file.
30954 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
30955 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
30956 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
30957 * sysdeps/powerpc/powerpc64/entry.h: ... here.
30958 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
30959 * sysdeps/powerpc/powerpc64/start.S: here.
30960 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
30961 * sysdeps/powerpc/powerpc64/Makefile: ... this.
30962 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
30963 * sysdeps/powerpc/powerpc64/configure.in: ... this.
30964 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
30966 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
30967 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
30968 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
30969 * sysdeps/powerpc/powerpc32/start.S: ... here.
30970 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
30971 * sysdeps/powerpc/powerpc32/configure.in: ... this.
30972 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
30974 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
30975 * sysdeps/powerpc/ifunc-sel.h: ... here.
30976 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
30977 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
30979 * sysdeps/sparc/elf/configure.in: Moved to ...
30980 * sysdeps/sparc/configure.in: ... here.
30981 * sysdeps/sparc/elf/configure: Delete file.
30982 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
30983 * sysdeps/sparc/sparc32/start.S: ... here.
30984 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
30985 * sysdeps/sparc/sparc64/start.S: ... here.
30986 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
30987 * sysdeps/sparc/sparc32/Makefile: ... this.
30988 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
30989 * sysdeps/sparc/sparc64/Makefile: ... this.
30991 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
30992 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
30993 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
30994 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
30995 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
30996 * sysdeps/s390/s390-32/setjmp.S: ... here.
30997 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
30998 * sysdeps/s390/s390-32/configure.in: ... here.
30999 * sysdeps/s390/s390-32/elf/configure: Delete file.
31000 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31001 * sysdeps/s390/s390-32/start.S: ... here.
31003 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31004 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31005 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31006 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31007 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31008 * sysdeps/s390/s390-64/setjmp.S: ... here.
31009 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31010 * sysdeps/s390/s390-64/configure.in: ... here
31011 * sysdeps/s390/s390-64/elf/configure: Delete file.
31012 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31013 * sysdeps/s390/s390-64/start.S: ... here.
31014 * sysdeps/s390/s390-64/elf/configure: Delete.
31016 * configure.in: Remove support for elf directories in sysdeps.
31018 * configure: Regenerated.
31019 * sysdeps/i386/configure: Regenerated.
31020 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31021 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31022 * sysdeps/s390/s390-32/configure: Regenerated.
31023 * sysdeps/s390/s390-64/configure: Regenerated.
31024 * sysdeps/sh/configure: Regenerated.
31025 * sysdeps/sparc/configure: Regenerated.
31026 * sysdeps/x86_64/configure: Regenerated.
31028 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31032 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31033 denormal result into account.
31035 2012-03-25 Roland McGrath <roland@hack.frob.com>
31037 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31038 Reported by Allan McRae <allan@archlinux.org>.
31040 2012-03-23 Jeff Law <law@redhat.com>
31042 * nss/getnssent.c (__nss_getent): Fix typo.
31044 2012-03-23 David S. Miller <davem@davemloft.net>
31046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31048 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31050 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31051 to pad to uint64_t for each field.
31052 (dl_tls_index): Replace unsigned long with uint64_t.
31054 2012-03-23 Daniel Jacobowitz <dmj@google.com>
31055 Paul Pluzhnikov <ppluzhnikov@google.com>
31058 * grp/Makefile (otherlibs): Don't set it.
31059 * inet/Makefile (otherlibs): Likewise.
31060 * login/Makefile (otherlibs): Likewise.
31061 * nscd/Makefile (otherlibs): Likewise.
31062 * posix/Makefile (otherlibs): Likewise.
31063 * pwd/Makefile (otherlibs): Likewise.
31064 * rt/Makefile (otherlibs): Likewise.
31065 * sunrpc/Makefile (otherlibs): Likewise.
31066 * nss/Makefile (otherlibs): Likewise.
31067 Add libnss_files to routines and static-only-routines.
31068 ($(objpfx)getent): Remove rule.
31069 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31070 static-only-routines.
31072 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31075 * math/s_cexp.c: Include <float.h>.
31076 (__cexp): Handle exp result overflowing not necessarily
31077 overflowing both real and imaginary parts of result.
31078 * math/s_cexpf.c: Likewise.
31079 * math/s_cexpl.c: Likewise.
31080 * math/libm-test.inc (cexp_test): Add more tests.
31081 * sysdeps/i386/fpu/libm-test-ulps: Update.
31082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31084 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31086 * include/link.h (ELFW): New macro.
31087 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31088 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31090 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31092 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31095 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31097 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31099 (struct La_x32_retval): Likewise.
31101 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31103 * sysdeps/x86_64/preconfigure.in: New file.
31104 * sysdeps/x86_64/preconfigure: New generated file.
31106 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31109 * math/e_exp2l.c: Include <float.h>.
31110 (__ieee754_exp2l): Handle overflow and underflow cases
31111 separately. Only pass fractional part of argument to
31113 * math/libm-test.inc (exp2_test): Add more tests.
31115 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31116 negating x to take absolute value.
31117 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31119 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31120 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31122 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31123 computing low part if x was negated.
31124 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31126 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31128 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31129 la_x32_gnu_pltexit.
31130 (pltexit): Cast int_retval to ptrdiff_t.
31131 * elf/tst-auditmod3b.c: Likewise.
31132 * elf/tst-auditmod4b.c: Likewise.
31133 * elf/tst-auditmod5b.c: Likewise.
31134 * elf/tst-auditmod6b.c: Likewise.
31135 * elf/tst-auditmod6c.c: Likewise.
31136 * elf/tst-auditmod7b.c: Likewise.
31138 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31139 and x32_gnu_pltexit.
31141 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31142 __ELF_NATIVE_CLASS.
31143 (La_x32_regs): New macro.
31144 (La_x32_retval): Likewise.
31145 (la_x32_gnu_pltenter): New function prototype.
31146 (la_x32_gnu_pltexit): Likewise.
31148 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31155 * configure.in (libc_cv_cc_nofma): Check for option to disable
31156 generation of FMA instructions.
31157 * configure: Regenerate.
31158 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31159 * sysdeps/ieee754/dbl-64/Makefile: New file.
31160 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31161 Remove brandred-fma4.
31162 (CFLAGS-brandred-fma4.c): Remove.
31163 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31164 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31166 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31169 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31171 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31172 LLONG_MAX != LONG_MAX.
31173 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31174 (_fitoa_word): Likewise.
31175 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31176 LLONG_MAX != LONG_MAX.
31177 * stdio-common/_itowa.h: Include <_itoa.h>.
31178 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31179 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31180 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31181 only if not defined.
31182 (_ITOA_WORD_TYPE): Likewise.
31183 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31184 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31186 2012-03-21 David S. Miller <davem@davemloft.net>
31188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31190 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31192 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31193 of x86_64 when setting libc_cv_slibdir, libdir and
31195 * sysdeps/unix/sysv/linux/configure: Regenerated.
31197 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31199 * manual/lang.texi (Old Varargs): Remove section.
31200 (How Variadic): Update menu.
31201 (va_start): Do not mention varargs.h.
31203 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31204 Joseph Myers <joseph@codesourcery.com>
31206 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31208 * configure: Regenerated.
31210 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31212 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31213 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31216 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31219 * Makefile (files-for-dist): Remove NOTES.
31220 (NOTES): Remove rule.
31221 * README: Don't refer to NOTES.
31222 * manual/creature.texi: Don't include macros.texi.
31223 * manual/intro.texi (creature.texi): Remove comment referring to
31226 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31227 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31228 * configure: Regenerated.
31229 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31230 LIBC_TRY_CC_OPTION.
31231 (libc_cv_as_i686): Likewise.
31232 (libc_cv_cc_avx): Likewise.
31233 (libc_cv_cc_sse2avx): Likewise.
31234 (libc_cv_cc_fma4): Likewise.
31235 (libc_cv_cc_novzeroupper): Likewise.
31236 * sysdeps/i386/configure: Regenerated.
31239 * sysdeps/i386/fpu/s_cexp.S: Remove.
31240 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31241 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31242 * math/libm-test.inc (cexp_test): Add more tests.
31243 * sysdeps/i386/fpu/libm-test-ulps: Update.
31244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31246 2012-03-21 Allan McRae <allan@archlinux.org>
31248 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31250 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31253 * math/w_exp2.c: Do not include <float.h>.
31254 (o_threshold, u_threshold): Remove.
31255 (__exp2): Calculate result before checking finiteness and calling
31257 * math/w_exp2f.c: Likewise.
31258 * math/w_exp2l.c: Likewise.
31259 * math/libm-test.inc (exp2_test): Require overflow exception for
31263 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31264 range of signed 64-bit integers before using fistpll. Remove
31265 checks for whether integers fit in mantissa bits.
31266 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31267 the range of signed 32-bit integers before using fistpl. Remove
31268 checks for whether integers fit in mantissa bits.
31269 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31270 (__ieee754_powl): Test for y outside the range of signed 64-bit
31271 integers before using fistpll. Reduce 64-bit values to 63-bit
31273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31274 divide-by-zero is raised for zero to large negative powers.
31275 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31276 (__ieee754_powl): Test for y outside the range of signed 64-bit
31277 integers before using fistpll. Reduce 64-bit values to 63-bit
31279 * math/libm-test.inc (pow_test): Add more tests.
31281 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31283 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31284 <stdio-common/_itoa.h>.
31285 * debug/segfault.c: Likewise.
31286 * elf/dl-cache.c: Likewise.
31287 * elf/dl-minimal.c: Likewise.
31288 * elf/dl-misc.c: Likewise.
31289 * elf/dl-sysdep.c: Likewise.
31290 * elf/dl-version.c: Likewise.
31291 * elf/rtld.c: Likewise.
31292 * hurd/hurdsock.c: Likewise.
31293 * hurd/lookup-retry.c: Likewise.
31294 * malloc/malloc.c: Likewise.
31295 * malloc/mtrace.c: Likewise.
31296 * nscd/nscd_getgr_r.c: Likewise.
31297 * nscd/nscd_getpw_r.c: Likewise.
31298 * nscd/nscd_getserv_r.c: Likewise.
31299 * posix/getopt_init.c: Likewise.
31300 * posix/wordexp.c: Likewise.
31301 * stdio-common/_itoa.c: Likewise.
31302 * stdio-common/printf_fphex.c: Likewise.
31303 * stdio-common/vfprintf.c: Likewise.
31304 * string/_strerror.c: Likewise.
31305 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31306 * sysdeps/i386/i686/hp-timing.h: Likewise.
31307 * sysdeps/mach/_strerror.c: Likewise.
31308 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31309 * sysdeps/mach/hurd/sethostid.c: Likewise.
31310 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31311 * sysdeps/mach/xpg-strerror.c: Likewise.
31312 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31313 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31314 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31315 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31316 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31317 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31318 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31319 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31320 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31321 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31322 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31323 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31324 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31325 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31326 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31327 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31328 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31329 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31330 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31331 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31332 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31334 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31336 * stdio-common/_itoa.h: Moved to ...
31337 * sysdeps/generic/_itoa.h: Here.
31339 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31341 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31342 instead of "_itoa.h" and "_itowa.h".
31343 * stdio-common/vfprintf.: Likewise.
31345 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31347 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31349 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31350 (__signbit): Likwise.
31351 (llrintf): Likwise.
31354 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31356 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31359 2012-03-20 Joseph Myers <joseph@codesourcery.com>
31361 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31362 OVERFLOW_EXCEPTION_OK.
31363 * math/libm-test.inc ("Philosophy"): Update comment about
31365 (OVERFLOW_EXCEPTION): Define.
31366 (OVERFLOW_EXCEPTION_OK): Likewise.
31367 (INVALID_EXCEPTION_OK): Renumber.
31368 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31369 (IGNORE_ZERO_INF_SIGN): Likewise.
31370 (test_exceptions): Handle FE_OVERFLOW.
31371 (exp10_test): Expect overflow exceptions.
31372 (exp2_test): Likewise.
31373 (expm1_test): Likewise.
31374 (nextafter_test): Likewise.
31375 (pow_test): Likewise.
31376 (scalbn_test): Likewise.
31377 (scalbln_test): Likewise.
31379 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31381 * sysdeps/x86_64/bits/atomic.h
31382 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31384 (atomic_exchange_acq): Likewise.
31385 (__arch_exchange_and_add_body): Likewise.
31386 (__arch_add_body): Likewise.
31387 (atomic_add_negative): Likewise.
31388 (atomic_add_zero): Likewise.
31390 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31392 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31393 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31395 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31397 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31398 Check __x86_64__ instead of __WORDSIZE.
31400 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31402 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31404 2012-03-19 David S. Miller <davem@davemloft.net>
31406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31408 * sysdeps/sparc/fpu/fenv_private.h: New file.
31409 * sysdeps/sparc/fpu/math_private.h: Use it.
31410 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31412 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31413 (libc_feholdexcept_setroundl): Remove.
31414 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31416 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31417 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31419 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31421 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31422 int64_t instead of long int.
31423 (INSERT_WORDS64): Likwise.
31425 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31427 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31428 _Unwind_GetCFA return to _Unwind_Ptr first.
31430 2012-03-19 Joseph Myers <joseph@codesourcery.com>
31433 * math/s_clog.c: Include <float.h>.
31434 (__clog): Scale large or subnormal inputs.
31435 * math/s_clogf.c: Likewise.
31436 * math/s_clogl.c: Likewise.
31437 * math/s_clog10.c: Include <float.h>.
31438 (M_LOG10_2): Define.
31439 (__clog10): Scale large or subnormal inputs.
31440 * math/s_clog10f.c: Likewise.
31441 * math/s_clog10l.c: Likewise.
31442 * math/libm-test.inc (clog_test): Add more tests.
31443 (clog10_test): Likewise.
31444 * sysdeps/i386/fpu/libm-test-ulps: Update.
31445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31448 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31450 * math/libm-test.inc (atan2_test): Add another test.
31452 * Makerules (common-objdir-compile): Remove.
31453 * sysdeps/unix/Makefile (config-generated): Do not add
31454 $(unix-generated) to variable.
31455 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31456 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31458 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31460 [generic bits/local_lim.h] (before-compile): Do not append to
31462 [generic bits/local_lim.h] (common-generated): Likewise.
31463 [generic sys/param.h] (before-compile): Do not append to variable.
31464 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31465 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31466 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31467 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31469 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31470 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31471 [generic sys/param.h] ($(addprefix
31472 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31473 [generic sys/param.h] (common-generated): Do not append to
31475 [generic sys/param.h] (sysdep_headers): Likewise.
31476 [generic bits/errno.h] (before-compile): Do not append to
31478 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31480 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31481 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31482 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31483 [generic bits/errno.h] (common-generated): Do not append to
31485 [generic bits/ioctls.h] (before-compile): Do not append to
31487 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31489 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31490 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31491 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31493 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31494 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31495 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31496 [generic bits/ioctls.h] (common-generated): Do not append to
31498 [generic sys/syscall.h] (syscall.h): Remove variable.
31499 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31501 [generic sys/syscall.h] (before-compile): Do not append to
31503 [generic sys/syscall.h] (common-generated): Likewise.
31504 * sysdeps/unix/errnos-tmpl.c: Remove file.
31505 * sysdeps/unix/errnos.awk: Likewise.
31506 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31507 * sysdeps/unix/ioctls.awk: Likewise.
31508 * sysdeps/unix/mk-local_lim.c: Likewise.
31509 * sysdeps/unix/snarf-ioctls: Likewise.
31511 2012-03-19 Richard Henderson <rth@twiddle.net>
31513 * sysdeps/i386/fpu/fenv_private.h: New file.
31514 * sysdeps/i386/fpu/math_private.h: Use it.
31515 (math_opt_barrier, math_force_eval): Remove.
31516 (libc_feholdexcept_setround_53bit): Remove.
31517 (libc_feupdateenv_53bit): Remove.
31518 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31519 (math_opt_barrier, math_force_eval): Remove.
31520 (libc_feholdexcept): Remove.
31521 (libc_feholdexcept_setround): Remove.
31522 (libc_fetestexcept, libc_fesetenv): Remove.
31523 (libc_feupdateenv_test): Remove.
31524 (libc_feupdateenv, libc_feholdsetround): Remove.
31525 (libc_feresetround): Remove.
31527 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31528 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31530 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31531 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31532 (libc_feupdateenv_testl): New.
31533 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31534 (libc_feupdateenv_testf): New.
31535 (libc_feupdateenv): Use libc_feupdateenv_test.
31536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31537 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31539 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31540 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31541 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31542 (libc_feresetround_noex): New.
31543 (libc_feresetround_noexf): New.
31544 (libc_feresetround_noexl): New.
31545 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31546 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31547 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31548 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31553 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31554 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31555 SET_RESTORE_ROUND_NOEX.
31556 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31557 SET_RESTORE_ROUND_NOEXF.
31558 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31559 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31560 (libc_feholdsetroundf): New.
31561 (libc_feresetround, libc_feresetroundf): New.
31563 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31564 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31565 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31567 * sysdeps/generic/math_private.h: Include <fenv.h>.
31568 (default_libc_feholdexcept): New.
31569 (default_libc_feholdexcept_setround): New.
31570 (default_libc_fesetenv, default_libc_feupdateenv): New.
31571 (libc_feholdexcept): Only define if undefined.
31572 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31573 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31574 (libc_feholdexcept_setroundl): Likewise.
31575 (libc_feholdexcept_setround_53bit): Likewise.
31576 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31577 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31578 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31579 (libc_feupdateenv_53bit): Likewise.
31580 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31581 (libc_feholdexcept): Convert from macro to inline function.
31582 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31583 (libc_fesetenv, libc_feupdateenv): Likewise.
31585 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31586 not previously defined.
31587 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31588 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31589 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31590 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31591 * sysdeps/ieee754/flt-32/math_private.h: New file.
31592 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31593 math_private.h below SET_FLOAT_WORD.
31594 (__isnan, __isinf_ns, __finite): Remove.
31595 (__isnanf, __isinf_nsf, __finitef): Remove.
31597 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31601 2012-03-17 David S. Miller <davem@davemloft.net>
31604 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31607 2012-03-16 David S. Miller <davem@davemloft.net>
31609 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31613 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31615 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31616 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31617 sysdep_routines when subdir is sysvipc.
31618 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31619 __getshmlba helper.
31621 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31623 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31625 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31628 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31630 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31631 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31632 (__lround): Renamed to ...
31633 (__llround): This. Replace long int with long long int.
31634 Define lround functions as aliases of llround functions.
31635 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31637 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31639 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31640 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31641 adresses to uintptr_t. Replace "long int" and "unsigned long
31642 int" with "greg_t" on va_arg.
31644 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31646 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31647 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31649 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31650 Move e_machine check before EI_CLASS check. Handle x32
31651 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31652 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31653 SKIP_EM_IA_64 and include
31654 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31656 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31657 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31658 (add_system_dir): New macro.
31660 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31661 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31663 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31674 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31676 * math/w_j0f.c (j0f): Likewise.
31678 * math/w_j0l.c (__j0l): Likewise.
31680 * math/w_j1.c (j1): Likewise.
31682 * math/w_j1f.c (j1f): Likewise.
31684 * math/w_j1l.c (__j1l): Likewise.
31686 * math/w_jn.c (jn): Likewise.
31688 * math/w_jnf.c (jnf): Likewise.
31690 * math/w_jnl.c (__jnl): Likewise.
31692 * math/libm-test.inc (j0_test): Add more tests.
31693 (j1_test): Likewise.
31694 (jn_test): Likewise. Add trailing semicolon to existing test.
31695 (y0_test): Likewise.
31696 (y1_test): Likewise.
31697 * sysdeps/i386/fpu/libm-test-ulps: Update.
31698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31702 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31703 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31704 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31705 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31706 (__tanl): Set errno for infinite argument.
31707 * sysdeps/i386/fpu/mptan.c: Remove.
31708 * sysdeps/i386/fpu/s_tan.S: Likewise.
31709 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31710 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31711 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31712 * math/libm-test.inc (tan_test): Add more tests and enable more
31713 tests for double and long double.
31714 * sysdeps/i386/fpu/libm-test-ulps: Update.
31715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31717 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31719 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31720 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31722 2012-03-16 Roland McGrath <roland@hack.frob.com>
31724 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31725 * configure.in: Use it for both main tree and add-ons.
31726 * configure: Regenerated.
31728 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31730 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31732 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31734 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31738 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31739 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31740 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31741 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31742 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31744 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31745 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31746 != 0 for prec == 2.
31747 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31748 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31749 * sysdeps/i386/fpu/s_cosl.S: Likewise.
31750 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31751 * sysdeps/i386/fpu/s_sinl.S: Likewise.
31752 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31753 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31754 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31755 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31756 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31757 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31758 * math/libm-test.inc (cos_test): Add more tests and enable more
31759 tests for long double.
31760 (sin_test): Likewise.
31761 (sincos_test): Likewise.
31762 * sysdeps/i386/fpu/libm-test-ulps: Update.
31763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31765 2012-03-16 David S. Miller <davem@davemloft.net>
31767 * sysdeps/sparc/fpu/math_private.h: New file.
31769 2012-03-15 David S. Miller <davem@davemloft.net>
31771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31785 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31786 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31788 * sysdeps/sparc/sparc-ifunc.h: New file.
31789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31816 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31827 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31829 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31830 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31831 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31834 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31836 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31840 2012-03-15 Andreas Jaeger <aj@suse.de>
31843 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31844 ieee754/flt-32 implementation for sin, cos and sincos.
31845 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31846 * sysdeps/i386/fpu/s_cosf.S: Likewise.
31847 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31848 * sysdeps/i386/fpu/s_sinf.S: Likewise.
31849 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31850 ieee754/flt-32 implementation for tan.
31852 * math/libm-test.inc (cos_test): Enable some large input tests for
31854 (sin_test): Likewise.
31855 (sincos_test): Likewise.
31856 (tan_test): Add tests for large input.
31858 * sysdeps/i386/fpu/libm-test-ulps: Update.
31860 2012-03-15 Andreas Jaeger <aj@suse.de>
31863 * math/libm-test.inc (cos_test): Add more test cases.
31864 (sin_test): Likewise.
31865 (sincos_test): Likewise.
31867 2012-03-15 Andreas Jaeger <aj@suse.de>
31870 * math/libm-test.inc (cos_test): Add a test case for large input
31872 (sin_test): Likewise.
31873 (sincos_test): Likewise.
31875 2012-03-15 Andreas Jaeger <aj@suse.de>,
31876 Joseph Myers <joseph@codesourcery.com>
31879 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
31880 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31881 * sysdeps/i386/fpu/branred.c: Likewise.
31882 * sysdeps/i386/fpu/dosincos.c: Likewise.
31883 * sysdeps/i386/fpu/mpa.c: Likewise.
31884 * sysdeps/i386/fpu/s_cos.S: Likewise.
31885 * sysdeps/i386/fpu/s_sin.S: Likewise.
31886 * sysdeps/i386/fpu/s_sincos.S: Likewise.
31887 * sysdeps/i386/fpu/sincos32.c: Likewise.
31889 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31891 (libc_feupdateenv_53bit): Define.
31892 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31894 (libc_feupdateenv_53bit): Define.
31896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31897 53 bit (without extend i386 double precision).
31899 * math/libm-test.inc (sincos_test): Add tests for large input.
31903 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31905 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31909 2012-03-15 David S. Miller <davem@davemloft.net>
31911 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31912 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31913 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31914 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
31926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
31929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
31932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
31934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
31935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
31937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
31938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31939 fmin/fmax sysdep routines.
31940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31942 2012-03-14 David S. Miller <davem@davemloft.net>
31944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
31945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
31946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
31947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
31948 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
31949 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
31950 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
31951 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
31952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
31953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
31954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
31955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
31956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
31957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
31958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
31959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
31960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
31961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
31962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
31963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
31964 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
31965 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
31966 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
31967 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
31968 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
31969 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
31970 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
31971 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
31972 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
31974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
31976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
31977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
31979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
31980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
31982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
31983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
31985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
31986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
31988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
31989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
31991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
31993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
31995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
31997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
31999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32016 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32021 * sysdeps/sparc/configure.in: New file.
32022 * sysdeps/sparc/configure: Generate.
32023 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32024 * configure: Regenerate.
32025 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32026 * config.make.in (have-as-vis3): New.
32027 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32028 available use -Av9d instead of -Av9a.
32029 * sysdeps/sparc/sparc64/Makefile: Likewise.
32030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32041 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32042 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32045 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32046 fzeros/fnegs to load 0x80000000 into a float register instead of
32048 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32050 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32054 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32055 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32056 ($(inst_includedir)/bits/syscall.h): Remove rule.
32057 ($(objpfx)bits/syscall.d): Include instead of
32058 $(objpfx)syscall-list.d.
32059 (generated): Change syscall-list.h and syscall-list.d to
32060 bits/syscall.h and bits/syscall.d.
32062 2012-03-14 Roland McGrath <roland@hack.frob.com>
32065 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32067 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32070 * math/s_csqrt.c: Include <float.h>.
32071 (__csqrt): Scale large or subnormal inputs.
32072 * math/s_csqrtf.c: Likewise.
32073 * math/s_csqrtl.c: Likewise.
32074 * math/libm-test.inc (csqrt_test): Add more tests.
32075 * sysdeps/i386/fpu/libm-test-ulps: Update.
32076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32079 * math/libm-test.inc (hypot_test): Add more tests.
32081 2012-03-13 David S. Miller <davem@davemloft.net>
32084 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32085 double-precision for the calculation instead of scaling.
32087 2012-03-13 Joseph Myers <joseph@codesourcery.com>
32089 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32090 manipulate bits before adding and subtracting TWO52[sx].
32091 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32092 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32096 2012-03-13 David S. Miller <davem@davemloft.net>
32098 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32099 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32101 rtld-global-offsets.h
32102 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32104 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32107 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32109 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32110 'err' in the ifdef scope in which it is actually used.
32112 * nss/nss_db/db-init.c: Include string.h
32114 2012-03-12 David S. Miller <davem@davemloft.net>
32116 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32117 masking out of the most significant byte of random value used.
32118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32119 Fix coding style in previous change.
32121 * sysdeps/unix/sysv/linux/kernel-features.h
32122 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32123 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32125 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32128 2012-03-11 David S. Miller <davem@davemloft.net>
32130 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32131 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32133 for 'resultvar' otherwise things get truncated on 64-bit.
32135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32136 Fix masking out of the most significant byte of random value used.
32138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32140 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32144 2012-03-09 David S. Miller <davem@davemloft.net>
32146 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32147 variables with appropriate CPP guards.
32148 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32149 frame pointer, not the stack pointer. Correct layout comments. Fix test
32150 on resulting framesize and the management of the outregs buffer for pltexit.
32151 Preserve floating point return values across _dl_call_pltexit call.
32152 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32153 framesize and the management of the outregs buffer for pltexit.
32154 Preserve floating point return values across _dl_call_pltexit
32156 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32157 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32158 (print_exit): Fix format string for return register value.
32160 2012-03-10 Joseph Myers <joseph@codesourcery.com>
32162 * sunrpc/Makefile (others): Add rpcgen.
32163 ($(objpfx)rpcgen): Remove special build rule and dependency on
32165 * sunrpc/rpcgen.c: New file.
32167 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32170 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32171 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32172 * sysdeps/i386/crti.S: Likewise.
32173 * sysdeps/i386/crtn.S: Likewise.
32174 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32175 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32176 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32177 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32178 * sysdeps/sh/crti.S: Likewise.
32179 * sysdeps/sh/crtn.S: Likewise.
32180 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32183 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32185 * locale/programs/locfile-kw.gperf: Likewise.
32186 * locale/programs/charmap-kw.h: Regenerated.
32187 * locale/programs/locfile-kw.h: Likewise.
32190 * intl/plural.y: Replace FSF snail mail address with URL.
32191 * intl/plural.c: Regenerated.
32193 2012-03-09 Richard Henderson <rth@twiddle.net>
32195 * include/math_private.h: Remove file.
32196 * math/math_private.h: Move file ...
32197 * sysdeps/generic/math_private.h: ... here.
32199 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32200 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32201 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32203 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32204 and <math_private.h>.
32205 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32206 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32207 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32208 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32209 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32210 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32211 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32212 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32213 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32214 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32216 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32217 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32218 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32219 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32220 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32221 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32222 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32223 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32224 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32226 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32227 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32229 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32231 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32232 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32234 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32235 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32236 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32237 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32238 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32239 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32240 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32241 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32242 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32243 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32244 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32245 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32246 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32247 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32248 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32249 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32250 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32251 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32252 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32253 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32254 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32255 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32256 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32257 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32258 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32259 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32260 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32261 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32262 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32263 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32264 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32265 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32266 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32267 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32268 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32269 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32270 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32271 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32272 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32273 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32274 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32275 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32276 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32277 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32279 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32281 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32282 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32284 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32285 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32286 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32287 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32288 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32289 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32292 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32293 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32294 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32295 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32296 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32297 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32298 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32299 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32300 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32301 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32302 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32304 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32305 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32306 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32307 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32308 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32309 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32310 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32311 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32312 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32313 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32314 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32315 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32316 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32317 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32318 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32319 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32320 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32321 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32322 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32323 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32324 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32325 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32326 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32328 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32329 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32330 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32331 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32332 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32333 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32334 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32335 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32336 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32337 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32338 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32339 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32340 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32341 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32342 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32343 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32344 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32345 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32346 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32347 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32348 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32349 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32350 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32351 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32352 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32353 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32354 * sysdeps/ieee754/k_standard.c: Likewise.
32355 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32356 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32357 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32358 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32359 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32360 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32361 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32362 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32363 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32364 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32365 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32366 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32367 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32368 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32369 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32370 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32371 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32372 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32373 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32374 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32375 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32376 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32377 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32378 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32379 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32380 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32382 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32383 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32384 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32385 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32386 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32387 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32388 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32389 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32390 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32391 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32392 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32393 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32394 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32395 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32396 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32397 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32398 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32399 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32400 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32401 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32402 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32403 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32404 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32405 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32406 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32407 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32408 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32410 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32415 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32419 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32421 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32422 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32423 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32424 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32427 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32428 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32429 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32430 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32431 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32432 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32434 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32435 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32436 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32437 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32438 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32440 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32441 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32442 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32443 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32444 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32445 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32446 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32447 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32448 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32449 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32450 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32451 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32452 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32453 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32454 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32455 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32456 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32457 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32458 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32459 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32460 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32461 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32462 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32463 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32464 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32465 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32466 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32467 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32468 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32469 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32470 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32471 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32472 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32473 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32474 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32475 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32476 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32477 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32478 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32479 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32480 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32481 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32482 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32483 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32484 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32485 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32486 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32487 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32488 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32489 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32490 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32491 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32492 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32493 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32494 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32495 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32496 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32497 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32498 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32499 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32500 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32501 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32502 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32503 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32504 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32505 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32506 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32507 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32508 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32509 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32510 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32511 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32512 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32513 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32514 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32515 * sysdeps/ieee754/s_lib_version.c: Likewise.
32516 * sysdeps/ieee754/s_matherr.c: Likewise.
32517 * sysdeps/ieee754/s_signgam.c: Likewise.
32518 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32519 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32520 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32521 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32522 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32523 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32524 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32525 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32526 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32527 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32528 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32529 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32530 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32531 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32532 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32533 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32534 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32535 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32536 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32538 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32540 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32542 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32543 * sunrpc/rpc_main.c: Likewise.
32544 * sunrpc/rpc_svcout.c: Likewise.
32546 2012-03-09 David S. Miller <davem@davemloft.net>
32548 * include/math_private.h: New file.
32550 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32552 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32553 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32554 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32555 from <bits/socket_type.h>.
32556 (enum __socket_type): Don't define here.
32557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32559 bits/socket_type.h.
32562 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32563 checking __USE_GNU.
32565 * Makerules ($(inst_includedir)/%.h): New rule.
32566 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32567 (install-others): Remove variable setting.
32568 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32570 2012-03-08 Richard Henderson <rth@twiddle.net>
32572 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32573 from macro to inline function; merge with the
32574 !__LIBC_INTERNAL_MATH_INLINES version.
32575 (__ieee754_sqrtf): Likewise.
32577 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32578 to inline function.
32579 (__rintf, __floor, __floorf): Likewise.
32581 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32582 macro to inline function.
32583 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32585 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32586 not <math/math_private.h>.
32588 2012-03-08 David S. Miller <davem@davemloft.net>
32590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32592 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32594 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32596 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32598 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32599 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32601 2012-03-08 Ulrich Drepper <drepper@gmail.com>
32603 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32604 be defined individually, they must be defined as a block. Define
32605 S for printing a string instead of hidint the different by using a
32606 macro for adding the 'l'.
32607 * stdio-common/tst-fphex-wide.c: Adjust.
32609 2012-03-07 Marek Polacek <polacek@redhat.com>
32611 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32613 2012-03-08 Marek Polacek <polacek@redhat.com>
32616 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32617 * stdio-common/tst-fphex.c: Define a few macros to make the
32618 test reusable. Use them.
32619 * stdio-common/tst-fphex-wide.c: New file.
32621 2012-03-08 Joseph Myers <joseph@codesourcery.com>
32624 * manual/macros.texi (gnusystems): New macro.
32625 (nongnusystems): Likewise.
32626 (gnulinuxhurdsystems): Likewise.
32627 (gnuhurdsystems): Likewise..
32628 (gnulinuxsystems): Likewise.
32629 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32630 variants of the GNU system, not "GNU system".
32631 * manual/conf.texi: Likewise.
32632 * manual/errno.texi: Likewise. Update example of errno macro
32634 * manual/filesys.texi: Likewise.
32635 (getumask): Document as specific to GNU/Hurd.
32636 * manual/install.texi: Likewise. Reword some references to
32638 * manual/intro.texi: Likewise.
32639 * manual/io.texi: Likewise.
32640 (File Name Portability): Detail which constraints are inapplicable
32641 to all GNU systems and which are only inapplicable to GNU/Hurd.
32642 * manual/job.texi: Likewise.
32643 * manual/llio.texi: Likewise.
32644 (O_NOCTTY): Document as present on GNU/Linux.
32645 * manual/maint.texi: Likewise.
32646 * manual/memory.texi: Likewise.
32647 * manual/pattern.texi: Likewise.
32648 * manual/pipe.texi: Likewise.
32649 * manual/process.texi: Likewise.
32650 * manual/resource.texi: Likewise.
32651 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32653 * manual/setjmp.texi: Likewise.
32654 * manual/signal.texi: Likewise.
32655 * manual/startup.texi: Likewise.
32656 * manual/stdio.texi: Likewise.
32657 * manual/terminal.texi: Likewise.
32658 (ONLCR): Document as POSIX.
32659 (OXTABS): Document availability on GNU/Linux as XTABS.
32660 (ONOEOT): Document availability separately from other bits.
32661 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32662 * manual/time.texi: Likewise.
32663 * manual/users.texi: Likewise.
32664 * INSTALL: Regenerated.
32665 * sysdeps/gnu/errlist.c: Regenerated.
32667 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32668 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32669 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32671 * configure: Regenerated.
32673 2012-03-07 Joseph Myers <joseph@codesourcery.com>
32675 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32676 default includes instead of AC_HEADER_CHECK.
32677 * sysdeps/i386/configure: Regenerated.
32680 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32681 * math/s_cacoshf.c (__cacoshf): Likewise.
32682 * math/s_cacoshl.c (__cacoshl): Likewise.
32683 * math/s_casinh.c (__casinh): Set signs of result from argument.
32684 * math/s_casinhf.c (__casinhf): Likewise.
32685 * math/s_casinhl.c (__casinhl): Likewise.
32686 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32687 (casinh_test): Add more tests.
32688 * sysdeps/i386/fpu/libm-test-ulps: Update.
32689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32691 2012-03-07 Ulrich Drepper <drepper@gmail.com>
32693 * po/zh_TW.po: Update from translation team.
32695 * login/Makefile (distribute): Remove variable.
32696 * catgets/Makefile: Likewise.
32697 * mach/Makefile: Likewise.
32698 * malloc/Makefile: Likewise.
32699 * misc/Makefile: Likewise.
32700 * iconv/Makefile: Likewise.
32701 * nscd/Makefile: Likewise.
32702 * hurd/Makefile: Likewise.
32703 * manual/Makefile: Likewise.
32704 * locale/Makefile: Likewise.
32705 * intl/Makefile: Likewise.
32706 * conform/Makefile: Likewise.
32707 * nss/Makefile: Likewise.
32708 * time/Makefile: Likewise.
32709 * soft-fp/Makefile: Likewise.
32710 * dirent/Makefile: Likewise.
32711 * gmon/Makefile: Likewise.
32712 * po/Makefile: Likewise.
32713 * rt/Makefile: Likewise.
32714 * socket/Makefile: Likewise.
32715 * math/Makefile: Likewise.
32716 * signal/Makefile: Likewise.
32717 * debug/Makefile: Likewise.
32718 * elf/Makefile: Likewise.
32719 * timezone/Makefile: Likewise.
32720 * stdlib/Makefile: Likewise.
32721 * iconvdata/Makefile: Likewise.
32722 * sunrpc/Makefile: Likewise.
32723 * io/Makefile: Likewise.
32724 * argp/Makefile: Likewise.
32725 * inet/Makefile: Likewise.
32726 * hesiod/Makefile: Likewise.
32727 * grp/Makefile: Likewise.
32728 * csu/Makefile: Likewise.
32729 * wctype/Makefile: Likewise.
32730 * crypt/Makefile: Likewise.
32731 * libio/Makefile: Likewise.
32732 * string/Makefile: Likewise.
32733 * nis/Makefile: Likewise.
32734 * resolv/Makefile: Likewise.
32735 * stdio-common/Makefile: Likewise.
32736 * wcsmbs/Makefile: Likewise.
32737 * dlfcn/Makefile: Likewise.
32738 * posix/Makefile: Likewise.
32741 * timezone/Makefile: Don't install timezone files, just the programs
32744 2012-03-06 Ulrich Drepper <drepper@gmail.com>
32746 * nss/databases.def: Add missing gshadow entry.
32748 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
32750 2012-03-06 Marek Polacek <polacek@redhat.com>
32753 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32754 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32755 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32756 * stdio-common/tst-long-dbl-fphex.c: New file.
32758 2012-03-06 David S. Miller <davem@davemloft.net>
32760 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32761 (set_obp_int): New function.
32762 (get_obp_int): New function.
32763 (__get_clockfreq_via_dev_openprom): Likewise.
32764 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32765 Avoid unused variable warnings on 'val' and use builtin_expect.
32766 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32768 (INLINE_CLONE_SYSCALL): Likewise.
32770 2012-03-05 David S. Miller <davem@davemloft.net>
32772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32774 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
32776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32778 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32779 only for |x| >= 40.
32780 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32782 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
32784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32785 Replace gettimeofday with __vdso_gettimeofday.
32787 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32788 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32789 __vdso_clock_gettime and __vdso_getcpu.
32791 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32792 time with __vdso_time.
32794 2012-03-05 Joseph Myers <joseph@codesourcery.com>
32796 * manual/lang.texi (size_t): Note types to which size_t may be
32797 equivalent with the GNU C Library, but do not describe when
32798 differences between them are significant.
32800 2012-03-05 Andreas Jaeger <aj@suse.de>
32802 * sysdeps/i386/fpu/libm-test-ulps: Update.
32804 2012-03-05 Joseph Myers <joseph@codesourcery.com>
32807 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32808 (__ieee754_pow): Save and restore rounding mode and use
32809 round-to-nearest for main computations.
32810 * math/libm-test.inc (pow_test_tonearest): New function.
32811 (pow_test_towardzero): Likewise.
32812 (pow_test_downward): Likewise.
32813 (pow_test_upward): Likewise.
32814 (main): Call the new functions.
32815 * sysdeps/i386/fpu/libm-test-ulps: Update.
32816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32819 * math/libm-test.inc (cosh_test_tonearest): New function.
32820 (cosh_test_towardzero): Likewise.
32821 (cosh_test_downward): Likewise.
32822 (cosh_test_upward): Likewise.
32823 (sinh_test_tonearest): Likewise.
32824 (sinh_test_towardzero): Likewise.
32825 (sinh_test_downward): Likewise.
32826 (sinh_test_upward): Likewise.
32827 (main): Call the new functions.
32828 * sysdeps/i386/fpu/libm-test-ulps: Update.
32829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32831 2012-03-05 Tom de Vries <tom@codesourcery.com>
32833 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32834 default stack guard is set in last bytes.
32835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32837 2012-03-05 Kees Cook <keescook@chromium.org>
32839 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32842 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32843 possibly allocate from heap instead of stack.
32844 * stdio-common/bug-vfprintf-nargs.c: New file.
32845 * stdio-common/Makefile (tests): Add nargs overflow test.
32847 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
32849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32851 2012-03-03 Marek Polacek <polacek@redhat.com>
32853 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32854 * math/math_private.h: Likewise.
32855 * stdlib/tst-strtod.c: Likewise.
32856 * sysdeps/i386/i486/bits/atomic.h: Likewise.
32857 * sysdeps/x86_64/bits/atomic.h: Likewise.
32859 2012-03-02 David S. Miller <davem@davemloft.net>
32861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32865 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32866 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32867 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32868 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32870 2012-03-02 Roland McGrath <roland@hack.frob.com>
32873 * manual/examples/README: New file, says the example source files
32874 can be used under GPL>=2.
32875 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32876 line containing just "*/".
32877 * manual/examples/add.c: Add copyright header (GPL>=2).
32878 * manual/examples/argp-ex1.c: Likewise.
32879 * manual/examples/argp-ex2.c: Likewise.
32880 * manual/examples/argp-ex3.c: Likewise.
32881 * manual/examples/argp-ex4.c: Likewise.
32882 * manual/examples/atexit.c: Likewise.
32883 * manual/examples/db.c: Likewise.
32884 * manual/examples/dir.c: Likewise.
32885 * manual/examples/dir2.c: Likewise.
32886 * manual/examples/execinfo.c: Likewise.
32887 * manual/examples/filecli.c: Likewise.
32888 * manual/examples/filesrv.c: Likewise.
32889 * manual/examples/fmtmsgexpl.c: Likewise.
32890 * manual/examples/genpass.c: Likewise.
32891 * manual/examples/inetcli.c: Likewise.
32892 * manual/examples/inetsrv.c: Likewise.
32893 * manual/examples/isockad.c: Likewise.
32894 * manual/examples/longopt.c: Likewise.
32895 * manual/examples/memopen.c: Likewise.
32896 * manual/examples/memstrm.c: Likewise.
32897 * manual/examples/mkfsock.c: Likewise.
32898 * manual/examples/mkisock.c: Likewise.
32899 * manual/examples/mygetpass.c: Likewise.
32900 * manual/examples/pipe.c: Likewise.
32901 * manual/examples/popen.c: Likewise.
32902 * manual/examples/rprintf.c: Likewise.
32903 * manual/examples/search.c: Likewise.
32904 * manual/examples/select.c: Likewise.
32905 * manual/examples/setjmp.c: Likewise.
32906 * manual/examples/sigh1.c: Likewise.
32907 * manual/examples/sigusr.c: Likewise.
32908 * manual/examples/stpcpy.c: Likewise.
32909 * manual/examples/strdupa.c: Likewise.
32910 * manual/examples/strftim.c: Likewise.
32911 * manual/examples/strncat.c: Likewise.
32912 * manual/examples/subopt.c: Likewise.
32913 * manual/examples/swapcontext.c: Likewise.
32914 * manual/examples/termios.c: Likewise.
32915 * manual/examples/testopt.c: Likewise.
32916 * manual/examples/testpass.c: Likewise.
32917 * manual/examples/timeval_subtract.c: Likewise.
32920 * manual/time.texi (Elapsed Time): Move timeval_subtract example
32922 * manual/timeval_subtract.c.texi: ... here, new file.
32924 2012-03-02 David S. Miller <davem@davemloft.net>
32926 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32928 2012-03-02 Joseph Myers <joseph@codesourcery.com>
32931 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32932 (__sin): Save and restore rounding mode and use round-to-nearest
32933 for all computations.
32934 (__cos): Save and restore rounding mode and use round-to-nearest
32935 for all computations.
32936 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
32938 (tan): Save and restore rounding mode and use round-to-nearest for
32940 * math/libm-test.inc (cos_test_tonearest): New function.
32941 (cos_test_towardzero): Likewise.
32942 (cos_test_downward): Likewise.
32943 (cos_test_upward): Likewise.
32944 (sin_test_tonearest): Likewise.
32945 (sin_test_towardzero): Likewise.
32946 (sin_test_downward): Likewise.
32947 (sin_test_upward): Likewise.
32948 (tan_test_tonearest): Likewise.
32949 (tan_test_towardzero): Likewise.
32950 (tan_test_downward): Likewise.
32951 (tan_test_upward): Likewise.
32952 (main): Call the new functions.
32953 * sysdeps/i386/fpu/libm-test-ulps: Update.
32954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32957 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
32958 small n, then large n, before computing and testing k+n.
32959 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
32962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
32964 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
32965 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
32966 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
32967 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
32968 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32970 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
32971 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
32972 * math/libm-test.inc (scalbn_test): Add more tests.
32973 (scalbln_test): Likewise.
32975 * manual/filesys.texi (mode_t): Describe constraints on size and
32976 signedness, not exact equivalence to a particular type.
32978 (ino64_t): Likewise.
32980 (nlink_t): Likewise.
32981 (blkcnt_t): Likewise.
32982 (blkcnt64_t): Likewise.
32983 * manual/llio.texi (off_t): Likewise.
32986 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
32987 (__ieee754_exp): Save and restore rounding mode and use
32988 round-to-nearest for all computations.
32989 * math/libm-test.inc (exp_test_tonearest): New function.
32990 (exp_test_towardzero): Likewise.
32991 (exp_test_downward): Likewise.
32992 (exp_test_upward): Likewise.
32993 (main): Call the new functions.
32994 * sysdeps/i386/fpu/libm-test-ulps: Update.
32995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32997 2012-03-01 Chris Demetriou <cgd@google.com>
32999 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33000 have predictable order.
33002 2012-03-01 David S. Miller <davem@davemloft.net>
33004 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33006 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33007 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33008 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33009 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33011 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33012 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33013 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33015 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33016 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33017 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33018 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33019 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33024 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33025 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33027 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33028 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33029 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33030 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33031 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33032 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33033 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33034 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33035 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33036 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33037 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33038 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33040 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33041 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33042 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33043 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33044 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33045 * sysdeps/sparc/elf/configure: Regenerated.
33047 2012-03-01 Joseph Myers <joseph@codesourcery.com>
33049 * configure.in (AS, LD): Require binutils 2.20 or later.
33050 * configure: Regenerated.
33051 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33052 as required minimum version.
33053 * INSTALL: Regenerated.
33057 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33058 before squaring exponent.
33059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33060 bottom long double and 27 bits of top long double before squaring
33062 * math/libm-test.inc (erfc_test): Add more tests.
33063 * sysdeps/i386/fpu/libm-test-ulps: Update.
33064 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33067 2012-03-01 Kai Tietz <ktietz@redhat.com>
33069 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33070 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33071 containing bit-fields.
33072 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33073 * soft-fp/single.h (_FP_UNION_S): Likewise.
33074 * soft-fp/double.h (_FP_UNION_D): Likewise.
33076 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33079 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33080 not include ../strcmp.S.
33081 [USE_AS_STRNCASECMP_L]: Likewise.
33082 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33083 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33084 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33085 (__strncasecmp_l_ia32): Define as alias to
33086 __strncasecmp_l_nonascii.
33089 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33090 * sysdeps/i386/fpu/libm-test-ulps: Update.
33091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33093 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33096 2012-02-29 Jeff Law <law@redhat.com>
33098 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33099 out of bounds read.
33101 2012-02-29 Marek Polacek <polacek@redhat.com>
33104 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33105 * elf/Makefile: Add rules to run tst-unused-dep.out.
33107 2012-02-28 David S. Miller <davem@davemloft.net>
33109 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33110 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33111 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33112 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33113 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33114 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33116 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33118 * math/libm-test.inc (llround_test): Move one test from
33119 lround_test. Use TEST_f_L in moved test.
33120 (lround_test): Move misplaced test to llround_test. Add testcase
33123 2012-02-28 Ulrich Drepper <drepper@gmail.com>
33125 * sysdeps/x86_64/fpu/e_expf.S: New file.
33126 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33128 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33131 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33132 of remain_len that may cause incomplete multi-byte character and
33134 * posix/bug-regex33.c: New file.
33135 * posix/Makefile (tests): Add bug-regex33.
33137 2012-02-28 Joseph Myers <joseph@codesourcery.com>
33139 * manual/macros.texi: New file.
33140 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33141 * manual/libc.texinfo: Include macros.texi.
33142 * manual/creatute.texi: Likewise.
33143 * manual/install.texi: Likewise.
33144 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33145 @glibcadj{} in references to the GNU C Library.
33146 * manual/charset.texi: Likewise.
33147 * manual/conf.texi: Likewise.
33148 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33149 when not using those macros.
33150 * manual/creature.texi: Likewise.
33151 * manual/crypt.texi: Likewise.
33152 * manual/errno.texi: Likewise.
33153 * manual/filesys.texi: Likewise.
33154 * manual/header.texi: Likewise.
33155 * manual/install.texi: Likewise.
33156 * manual/intro.texi: Likewise.
33157 * manual/io.texi: Likewise.
33158 * manual/job.texi: Likewise.
33159 * manual/lang.texi: Likewise.
33160 * manual/libc.texiinfo: Likewise.
33161 * manual/llio.texi: Likewise.
33162 * manual/locale.texi: Likewise.
33163 * manual/maint.texi: Likewise.
33164 * manual/math.texi: Likewise.
33165 * manual/memory.texi: Likewise.
33166 * manual/message.texi: Likewise.
33167 * manual/nss.texi: Likewise.
33168 * manual/pattern.texi: Likewise.
33169 * manual/process.texi: Likewise.
33170 * manual/resource.texi: Likewise.
33171 * manual/search.texi: Likewise.
33172 * manual/setjmp.texi: Likewise.
33173 * manual/signal.texi: Likewise.
33174 * manual/socket.texi: Likewise.
33175 * manual/startup.texi: Likewise.
33176 * manual/stdio.texi: Likewise.
33177 * manual/string.texi: Likewise.
33178 * manual/sysinfo.texi: Likewise.
33179 * manual/syslog.texi: Likewise.
33180 * manual/terminal.texi: Likewise.
33181 * manual/time.texi: Likewise.
33182 * manual/users.texi: Likewise.
33183 * INSTALL: Regenerated.
33184 * NOTES: Regenerated.
33185 * sysdeps/gnu/errlist.c: Regenerated.
33187 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33189 * include/dirent.h: Include <dirstream.h> before
33192 2012-02-28 David S. Miller <davem@davemloft.net>
33194 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33195 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33196 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33197 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33199 2012-02-27 David S. Miller <davem@davemloft.net>
33201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33203 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33204 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33207 frame pointer instead of stack pointer relative arg slot.
33208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33209 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33210 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33212 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33215 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33217 2012-02-27 David S. Miller <davem@davemloft.net>
33219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33223 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33224 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33225 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33226 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33228 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33230 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33231 later. Allow versions 5-9.
33232 * configure: Regenerated.
33233 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33234 required minimum version and 4.6 as recommended version. Do not
33235 mention bugs in GCC 2.7 and 2.8.
33236 * INSTALL: Regenerated.
33238 2012-02-27 David S. Miller <davem@davemloft.net>
33240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33244 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33245 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33246 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33247 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33249 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33250 manipulate bits before adding and subtracting TWO112[sx].
33251 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33253 2012-02-27 Roland McGrath <roland@hack.frob.com>
33256 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33257 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33258 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33259 being in POSIX, because they are in 1003.1-2008.
33261 * rt/tst-aio.c: Include <fcntl.h>.
33262 * rt/tst-aio7.c: Likewise.
33263 * rt/tst-aio64.c: Likewise.
33265 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33267 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33269 * manual/install.texi (--with-headers): Describe headers as
33270 interface headers, not private headers.
33271 (Specific advice for GNU/Linux systems): Describe use of headers
33272 from "make headers_install", not private headers from older
33274 * INSTALL: Regenerated.
33275 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33277 * sysdeps/unix/sysv/linux/configure: Regenerated.
33279 * manual/llio.texi (fclean): Remove documentation.
33281 * manual/Makefile (libc-texi-generated): New variable. Include
33283 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33284 $(libc-texi-generated), not duplicated list of files.
33285 (version.texi, stamp-version): New rules.
33286 (realclean): Remove $(libc-texi-generated), not individual files
33287 from that list. Do not remove dir-add.texinfo.
33288 * manual/libc.texinfo: Comment out uses of edition numbers and
33289 references to printed manual. Remove last-updated dates.
33290 (EDITION): Comment out.
33292 (VERSION, UPDATED): Remove.
33293 (version.texi): Include.
33295 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33297 * sysdeps/posix/spawni.c: Include <signal.h>.
33298 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33299 * sysdeps/pthread/aio_fsync.c: Likewise.
33301 2012-02-26 Ulrich Drepper <drepper@gmail.com>
33303 * conform/Makefile (tests): Run only when not cross-compiling and
33304 when fast-check is not defined.
33306 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33307 * conform/data/limits.h-data: Fixes for POSIX2008.
33308 * conform/run-conformtest.sh: Run all tests.
33309 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33311 * include/bits/dlfcn.h: Likewise.
33312 * include/langinfo.h: Likewise.
33313 * include/monetary.h: Likewise.
33314 * include/sys/poll.h: Likewise.
33316 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33318 * posix/spawn.h: Define __need_sigset_t.
33319 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33320 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33321 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33322 to get sigevent_t only.
33323 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33324 only for __USE_GNU.
33325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33326 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33327 process_vm_writev only for __USE_GNU.
33328 * termios/termios.h: Declare tcgetsid also for POSIX2008.
33330 * conform/Makefile: For now ignore errors from run-conformtest.
33331 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33332 POSIX to avoid namespace pollution. Don't prepend headers.
33333 * conform/data/aio.h-data: Fixes for POSIX testing.
33334 * conform/data/fcntl.h-data: Likewise.
33335 * conform/data/glob.h-data: Likewise.
33336 * conform/data/grp.h-data: Likewise.
33337 * conform/data/pthread.h-data: Likewise.
33338 * conform/data/pwd.h-data: Likewise.
33339 * conform/data/signal.h-data: Likewise.
33340 * conform/data/spawn.h-data: Likewise.
33341 * conform/data/stdio.h-data: Likewise.
33342 * conform/data/stdlib.h-data: Likewise.
33343 * conform/data/stropts.h-data: Likewise.
33344 * conform/data/sys/mman.h-data: Likewise.
33345 * conform/data/sys/stat.h-data: Likewise.
33346 * conform/data/sys/types.h-data: Likewise.
33347 * conform/data/sys/wait.h-data: Likewise.
33348 * conform/data/time.h-data: Likewise.
33349 * conform/data/unistd.h-data: Likewise.
33350 * conform/data/utime.h-data: Likewise.
33352 * io/sys/stat.h: fchmod was always in POSIX.
33353 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33354 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33355 * rt/aio.h: Define __need_timespec before including <time.h>.
33356 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33357 struct. Add forward declaration of pthread_attr_t and use it in
33359 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33360 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33361 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33362 always remove CLK_TCK definition.
33364 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33366 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33368 2012-02-25 Ulrich Drepper <drepper@gmail.com>
33370 * conform/run-conformtest.sh: New file.
33371 * conform/Makefile: Run run-conformtest for tests.
33372 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33375 * conform/data/uchar.h-data: New file.
33376 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33377 * conform/data/arpa/inet.h-data: Likewise.
33378 * conform/data/assert.h-data: Likewise.
33379 * conform/data/complex.h-data: Likewise.
33380 * conform/data/cpio.h-data: Likewise.
33381 * conform/data/ctype.h-data: Likewise.
33382 * conform/data/dirent.h-data: Likewise.
33383 * conform/data/dlfcn.h-data: Likewise.
33384 * conform/data/errno.h-data: Likewise.
33385 * conform/data/fcntl.h-data: Likewise.
33386 * conform/data/float.h-data: Likewise.
33387 * conform/data/fmtmsg.h-data: Likewise.
33388 * conform/data/fnmatch.h-data: Likewise.
33389 * conform/data/ftw.h-data: Likewise.
33390 * conform/data/glob.h-data: Likewise.
33391 * conform/data/grp.h-data: Likewise.
33392 * conform/data/iconv.h-data: Likewise.
33393 * conform/data/inttypes.h-data: Likewise.
33394 * conform/data/langinfo.h-data: Likewise.
33395 * conform/data/libgen.h-data: Likewise.
33396 * conform/data/limits.h-data: Likewise.
33397 * conform/data/locale.h-data: Likewise.
33398 * conform/data/math.h-data: Likewise.
33399 * conform/data/monetary.h-data: Likewise.
33400 * conform/data/mqueue.h-data: Likewise.
33401 * conform/data/ndbm.h-data: Likewise.
33402 * conform/data/net/if.h-data: Likewise.
33403 * conform/data/netdb.h-data: Likewise.
33404 * conform/data/netinet/in.h-data: Likewise.
33405 * conform/data/nl_types.h-data: Likewise.
33406 * conform/data/poll.h-data: Likewise.
33407 * conform/data/pthread.h-data: Likewise.
33408 * conform/data/pwd.h-data: Likewise.
33409 * conform/data/regex.h-data: Likewise.
33410 * conform/data/sched.h-data: Likewise.
33411 * conform/data/search.h-data: Likewise.
33412 * conform/data/semaphore.h-data: Likewise.
33413 * conform/data/setjmp.h-data: Likewise.
33414 * conform/data/signal.h-data: Likewise.
33415 * conform/data/spawn.h-data: Likewise.
33416 * conform/data/stdarg.h-data: Likewise.
33417 * conform/data/stdio.h-data: Likewise.
33418 * conform/data/stdlib.h-data: Likewise.
33419 * conform/data/string.h-data: Likewise.
33420 * conform/data/strings.h-data: Likewise.
33421 * conform/data/stropts.h-data: Likewise.
33422 * conform/data/sys/ipc.h-data: Likewise.
33423 * conform/data/sys/mman.h-data: Likewise.
33424 * conform/data/sys/msg.h-data: Likewise.
33425 * conform/data/sys/resource.h-data: Likewise.
33426 * conform/data/sys/select.h-data: Likewise.
33427 * conform/data/sys/sem.h-data: Likewise.
33428 * conform/data/sys/shm.h-data: Likewise.
33429 * conform/data/sys/socket.h-data: Likewise.
33430 * conform/data/sys/stat.h-data: Likewise.
33431 * conform/data/sys/statvfs.h-data: Likewise.
33432 * conform/data/sys/time.h-data: Likewise.
33433 * conform/data/sys/timeb.h-data: Likewise.
33434 * conform/data/sys/times.h-data: Likewise.
33435 * conform/data/sys/types.h-data: Likewise.
33436 * conform/data/sys/uio.h-data: Likewise.
33437 * conform/data/sys/un.h-data: Likewise.
33438 * conform/data/sys/utsname.h-data: Likewise.
33439 * conform/data/sys/wait.h-data: Likewise.
33440 * conform/data/syslog.h-data: Likewise.
33441 * conform/data/tar.h-data: Likewise.
33442 * conform/data/termios.h-data: Likewise.
33443 * conform/data/utime.h-data: Likewise.
33444 * conform/data/utmpx.h-data: Likewise.
33445 * conform/data/varargs.h-data: Likewise.
33446 * conform/data/wchar.h-data: Likewise.
33447 * conform/data/wctype.h-data: Likewise.
33448 * conform/data/wordexp.h-data: Likewise.
33450 * include/stropts.h: New file.
33451 * include/uchar.h: New file.
33452 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33453 * include/assert.h: Likewise.
33454 * include/ctype.h: Likewise.
33455 * include/dirent.h: Likewise.
33456 * include/dlfcn.h: Likewise.
33457 * include/fcntl.h: Likewise.
33458 * include/fnmatch.h: Likewise.
33459 * include/glob.h: Likewise.
33460 * include/grp.h: Likewise.
33461 * include/libio.h: Likewise.
33462 * include/locale.h: Likewise.
33463 * include/math.h: Likewise.
33464 * include/net/if.h: Likewise.
33465 * include/netdb.h: Likewise.
33466 * include/netinet/in.h: Likewise.
33467 * include/pthread.h: Likewise.
33468 * include/pwd.h: Likewise.
33469 * include/regex.h: Likewise.
33470 * include/sched.h: Likewise.
33471 * include/search.h: Likewise.
33472 * include/setjmp.h: Likewise.
33473 * include/signal.h: Likewise.
33474 * include/stdio.h: Likewise.
33475 * include/stdlib.h: Likewise.
33476 * include/string.h: Likewise.
33477 * include/sys/cdefs.h: Likewise.
33478 * include/sys/mman.h: Likewise.
33479 * include/sys/msg.h: Likewise.
33480 * include/sys/resource.h: Likewise.
33481 * include/sys/select.h: Likewise.
33482 * include/sys/socket.h: Likewise.
33483 * include/sys/stat.h: Likewise.
33484 * include/sys/statvfs.h: Likewise.
33485 * include/sys/time.h: Likewise.
33486 * include/sys/times.h: Likewise.
33487 * include/sys/uio.h: Likewise.
33488 * include/sys/utsname.h: Likewise.
33489 * include/sys/wait.h: Likewise.
33490 * include/termios.h: Likewise.
33491 * include/time.h: Likewise.
33492 * include/ulimit.h: Likewise.
33493 * include/unistd.h: Likewise.
33494 * include/utime.h: Likewise.
33495 * include/wchar.h: Likewise.
33496 * include/wctype.h: Likewise.
33497 * include/wordexp.h: Likewise.
33499 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33501 * time/time.h: TIME_UTC must be a macro.
33502 Make timespec_get available for ISO C11 only as well.
33504 2012-02-24 Ulrich Drepper <drepper@gmail.com>
33506 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33507 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33509 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33511 * configure.in: Use -o not -a in test for unsupported multi-arch.
33513 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33515 * manual/texinfo.tex: Update to version 2012-01-19.16.
33517 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33519 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33521 2012-02-24 Roland McGrath <roland@hack.frob.com>
33524 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33525 * manual/fdl-1.3.texi: New file.
33526 * manual/fdl-1.1.texi: File removed.
33529 * manual/libc.texinfo (FDL_VERSION): New @set.
33530 Use it for mention of FDL in cover text.
33531 (Documentation License): Use it in @include file name.
33533 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33534 Roland McGrath <roland@hack.frob.com>
33537 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33538 not LONG_LONG_MAX and LONG_LONG_MIN.
33539 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33540 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33542 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33544 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33548 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33549 manipulate bits before adding and subtracting TWO23[sx].
33550 * math/libm-test.inc (nearbyint_test): Add more tests.
33552 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33555 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33556 bits before adding and subtracting TWO23[sx].
33557 * math/libm-test.inc (rint_test): Add more tests.
33558 (rint_test_tonearest): Likewise.
33559 (rint_test_towardzero): Likewise.
33560 (rint_test_downward): Likewise.
33561 (rint_test_upward: Likewise.
33563 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33566 * include/stdc-predef.h: New file. Extracted from features.h.
33567 * include/features.h: Include stdc-predef.h.
33568 * Makefile (headers): Add stdc-predef.h.
33569 * CONFORMANCE (Compiler limitations): Update.
33571 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33573 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33575 2012-02-21 David S. Miller <davem@davemloft.net>
33577 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33578 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33580 2012-02-20 David S. Miller <davem@davemloft.net>
33582 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33583 using a normal save/restore sequence, rather than allocating a
33584 dummy stack frame just to store a frame pointer and restore.
33585 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33587 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33589 * manual/install.texi: Fix stray word in line-wrapped comment.
33591 2012-02-20 David S. Miller <davem@davemloft.net>
33593 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33594 both binutils and gcc support GOTDATA.
33596 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33597 "rd %pc" in the PIC register setup sequences.
33599 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33600 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33601 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33602 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33603 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33604 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33605 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33606 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33608 (SYSCALL_ERROR_HANDLER): Likewise.
33609 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33610 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33611 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33612 (SYSCALL_ERROR_HANDLER): Likewise.
33614 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33615 (HAVE_GCC_GOTDATA): New.
33616 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33617 relocation support in both binutils and gcc.
33618 * sysdeps/sparc/elf/configure: Regenerate.
33620 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33621 * sysdeps/sparc/sparc32/elf/configure: Delete.
33622 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33623 * sysdeps/sparc/sparc64/elf/configure: Delete.
33624 * sysdeps/sparc/elf/configure.in: New file.
33625 * sysdeps/sparc/elf/configure: Generate.
33627 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33628 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33629 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33630 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33631 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33633 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33635 * manual/install.texi: Do not mention specific glibc version
33637 * manual/libc.texinfo (VERSION, UPDATED): Update.
33638 (@copying): Use @copyright{} and range of years.
33640 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33643 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33644 [crti.S not in sysdirs] (generated): Do not append.
33645 [crti.S not in sysdirs] (omit-deps): Likewise.
33646 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33647 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33648 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33649 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33650 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33652 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33653 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33654 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33655 * csu/defs.awk: Remove file.
33656 * sysdeps/generic/initfini.c: Likewise.
33657 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33659 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33662 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33664 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33665 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33666 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33667 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33668 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33669 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33671 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33672 (__EPOLL_PACKED): Define to empty if not defined by
33674 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33678 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33680 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33681 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33682 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33683 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33685 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33689 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33691 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33693 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33694 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33695 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33698 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33700 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33701 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33703 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33705 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33706 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33708 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33710 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33713 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33715 * math/w_acos.c: Use non-signaling floating-point comparisons.
33716 * math/w_acosf.c: Likewise.
33717 * math/w_acosh.c: Likewise.
33718 * math/w_acoshf.c: Likewise.
33719 * math/w_acoshl.c: Likewise.
33720 * math/w_acosl.c: Likewise.
33721 * math/w_asin.c: Likewise.
33722 * math/w_asinf.c: Likewise.
33723 * math/w_asinl.c: Likewise.
33724 * math/w_atanh.c: Likewise.
33725 * math/w_atanhf.c: Likewise.
33726 * math/w_atanhl.c: Likewise.
33727 * math/w_exp2.c: Likewise.
33728 * math/w_exp2f.c: Likewise.
33729 * math/w_exp2l.c: Likewise.
33730 * math/w_j0.c: Likewise.
33731 * math/w_j0f.c: Likewise.
33732 * math/w_j0l.c: Likewise.
33733 * math/w_j1.c: Likewise.
33734 * math/w_j1f.c: Likewise.
33735 * math/w_j1l.c: Likewise.
33736 * math/w_jn.c: Likewise.
33737 * math/w_jnf.c: Likewise.
33738 * math/w_log.c: Likewise.
33739 * math/w_log10.c: Likewise.
33740 * math/w_log10f.c: Likewise.
33741 * math/w_log10l.c: Likewise.
33742 * math/w_log2.c: Likewise.
33743 * math/w_log2f.c: Likewise.
33744 * math/w_log2l.c: Likewise.
33745 * math/w_logf.c: Likewise.
33746 * math/w_logl.c: Likewise.
33747 * math/w_sqrt.c: Likewise.
33748 * math/w_sqrtf.c: Likewise.
33749 * math/w_sqrtl.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33752 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33753 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33754 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33756 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33759 * manual/string.texi (strnlen): Use correct parameter name in
33760 equivalent expression.
33762 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33765 * manual/users.texi (seteuid): Consistently use neweuid for
33768 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33771 * manual/nss.texi (Services in the NSS configuration): Correct
33772 list of services in example configuration file.
33774 2012-02-19 Nick Bowler <nbowler@draconx.ca>
33777 * manual/arith.texi: Remove statements about negative zero
33778 behaving identically to zero.
33780 2012-02-18 Joseph Myers <joseph@codesourcery.com>
33783 * manual/install.texi: Do not document upgrading from libc5.
33785 2012-02-18 Joseph Myers <joseph@codesourcery.com>
33788 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33790 2012-02-18 David S. Miller <davem@davemloft.net>
33792 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33793 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33794 %o7 across the call.
33795 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33798 SETUP_PIC_REG_LEAF.
33799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33800 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33801 * sysdeps/sparc/crtn.S: Likewise.
33803 2012-02-17 Ulrich Drepper <drepper@gmail.com>
33805 * aout/Makefile: Remove.
33807 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
33810 * manual/examples/argp-ex1.c (main): Format definition in GNU
33812 * manual/examples/argp-ex2.c (main): Likewise.
33813 * manual/examples/argp-ex3.c (main): Likewise.
33814 * manual/examples/argp-ex4.c (main): Likewise.
33815 * manual/examples/longopt.c (main): Use new-style prototype
33817 * manual/examples/strncat.c (main): Specify return type and use
33818 (void) for arguments.
33819 * manual/examples/subopt.c (main): Use char **argv argument.
33821 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33824 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33827 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
33830 * manual/string.texi (strchr): Change when strchrnul is
33833 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
33836 * manual/locale.texi (setlocale): Document LOCPATH.
33838 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33841 * manual/process.texi (execle): Move @dots{} before last argument.
33843 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
33846 * manual/charset.texi (Generic Charset Conversion): Fix typo
33847 (LC_TYPE -> LC_CTYPE).
33849 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
33852 * manual/arith.texi (scalbn): Use @var{} on parameter names.
33853 (scalbnf): Likewise.
33854 (scalbnl): Likewise.
33855 (scalbln): Likewise.
33856 (scalblnf): Likewise.
33857 (scalblnl): Likewise.
33858 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33859 (vwarnx): Likewise.
33862 * manual/filesys.texi (telldir): Use braces around return type.
33863 * manual/llio.texi (mmap): Add space after comma.
33864 (mmap64): Likewise.
33865 * manual/math.texi (jn): Use @var{} on parameter names.
33871 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33873 * manual/resource.texi (ulimit): Use @dots{} instead of literal
33875 (sched_get_priority_min): Remove semicolon on @deftypefun line.
33876 (sched_get_priority_max): Likewise.
33877 * manual/signal.texi (sigvec): Add space after comma.
33878 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33880 (if_indextoname): Likewise.
33881 (if_freenameindex): Likewise.
33882 (sendto): Use ',' instead of '.' in prototype.
33883 * manual/startup.texi (syscall): Use @dots{} instead of literal
33885 * manual/stdio.texi (__fpending): Separate initial words of
33886 paragraph from @deftypefun line.
33887 * manual/syslog.texi (syslog): Use @dots{} instead of literal
33889 (vsyslog): Use @var{} on parameter names.
33890 * manual/terminal.texi (stty): Use @var{} on parameter names.
33891 * manual/users.texi (getutmp): Use @var{} on parameter names.
33892 (getutmpx): Likewise.
33894 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33897 * manual/stdio.texi (fopen): Fix typos in description of
33900 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
33903 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33904 get clock_id definition.
33906 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
33909 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33910 (madvise): Cast every argument to void on its own.
33912 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33915 * manual/startup.texi (Exit Status): Fix typo.
33917 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33920 * manual/examples/argp-ex1.c: Include <stdlib.h>.
33921 * manual/examples/argp-ex2.c: Likewise.
33922 * manual/examples/argp-ex3.c: Likewise.
33924 2012-02-16 Richard Henderson <rth@redhat.com>
33926 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33927 * sysdeps/s390/s390-32/initfini.c: Remove.
33928 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33929 * sysdeps/s390/s390-64/initfini.c: Remove.
33931 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33933 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
33934 compiler output for sysdeps/generic/initfini.c.
33935 * sysdeps/sh/elf/initfini.c: Remove file.
33937 2012-02-16 David S. Miller <davem@davemloft.net>
33940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
33942 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
33943 * sysdeps/sparc/crti.S: New file.
33944 * sysdeps/sparc/crtn.S: New file.
33945 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
33946 * sysdeps/sparc/sparc64/Makefile: Likewise.
33948 2012-02-15 Mike Frysinger <vapier@gentoo.org>
33951 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
33953 2012-02-15 Roland McGrath <roland@hack.frob.com>
33956 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
33958 * mach/devstream.c (cookie_io_functions_t): Macro removed.
33959 (write, read, close): Likewise.
33960 Patch by Aurelien Jarno <aurelien@aurel32.net>.
33962 2012-02-15 Joseph Myers <joseph@codesourcery.com>
33964 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
33965 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
33966 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
33967 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
33969 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
33970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33973 2012-02-14 Marek Polacek <polacek@redhat.com>
33975 * sysdeps/x86_64/crti.S: New file.
33976 * sysdeps/x86_64/crtn.S: New file.
33977 * sysdeps/x86_64/elf/initfini.c: Remove file.
33979 2012-02-13 Joseph Myers <joseph@codesourcery.com>
33981 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
33982 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
33983 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
33984 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
33986 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
33987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33990 2012-02-13 Joseph Myers <joseph@codesourcery.com>
33992 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
33993 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
33994 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
33995 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
33997 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
33998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34001 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34003 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34004 __feraiseexcept instead of feraiseexcept.
34006 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34007 nanosleep invocations.
34008 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34009 strings, and add error checking for a nanosleep invocations.
34011 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34013 Replace FSF snail mail address with URLs, as per GNU coding standards.
34014 Most of the snail mail addresses were wrong anyway, and omitting
34015 them makes the source code easier to maintain. Almost all of the
34016 changes are to license notices and to locale LC_IDENTIFICATION
34017 addresses, except for this one:
34018 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34019 not its snail mail address.
34021 2012-02-09 Richard Henderson <rth@twiddle.net>
34023 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34024 of kernel-features.h.
34026 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34028 2012-02-08 Marek Polacek <polacek@redhat.com>
34030 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34031 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34032 * sysdeps/gnu/_G_config.h: Likewise.
34033 * sysdeps/generic/_G_config.h: Likewise.
34035 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34037 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34041 * sysdeps/powerpc/powerpc32/crti.S: New file.
34042 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34043 * sysdeps/powerpc/powerpc64/crti.S: New file.
34044 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34046 * Makeconfig (have-initfini): Don't set.
34047 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34048 * configure.in (nopic_initfini): Don't substitute.
34049 * config.h.in (HAVE_INITFINI): Don't #undef.
34050 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34051 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34053 2012-02-08 Joseph Myers <joseph@codesourcery.com>
34055 Support crti.S and crtn.S provided directly by architectures.
34056 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34057 [crti.S in sysdirs] (omit-deps): Likewise.
34058 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34059 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34060 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34061 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34062 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34063 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34064 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34065 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34066 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34067 compiler output for sysdeps/generic/initfini.c.
34068 * sysdeps/i386/elf/Makefile: Remove file.
34069 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34071 2012-02-07 Marek Polacek <polacek@redhat.com>
34073 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34074 * sysdeps/gnu/_G_config.h: Likewise.
34075 * sysdeps/mach/hurd/_G_config.h: Likewise.
34077 2012-02-07 Marek Polacek <polacek@redhat.com>
34079 * math/Makefile (tests): Add tst-CMPLX2.
34080 * math/tst-CMPLX2.c: New file.
34082 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34084 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34086 * math/libm-test.inc (jn_test): Add missing L suffix.
34088 2012-02-06 Marek Polacek <polacek@redhat.com>
34090 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34091 * sysdeps/i386/fpu/e_powf.S: Likewise.
34092 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34093 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34094 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34095 * sysdeps/i386/fpu/e_pow.S: Likewise.
34096 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34097 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34098 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34099 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34100 * sysdeps/i386/fpu/e_log2.S: Likewise.
34101 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34102 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34103 * sysdeps/i386/fpu/e_powl.S: Likewise.
34104 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34105 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34106 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34107 * sysdeps/i386/fpu/e_logl.S: Likewise.
34108 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34109 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34110 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34111 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34112 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34113 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34114 * sysdeps/i386/fpu/e_log.S: Likewise.
34115 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34116 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34117 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34118 * sysdeps/i386/fpu/e_logf.S: Likewise.
34119 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34120 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34121 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34122 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34123 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34124 * sysdeps/i386/fpu/e_log10.S: Likewise.
34125 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34126 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34127 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34128 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34129 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34130 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34131 * sysdeps/i386/asm-syntax.h: Likewise.
34132 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34133 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34134 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34135 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34136 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34137 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34138 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34139 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34140 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34141 * sysdeps/powerpc/sysdep.h: Likewise.
34142 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34143 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34145 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34148 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34150 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34152 * sysdeps/i386/sysdep.h: Include <features.h>.
34153 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34156 2012-02-05 Joseph Myers <joseph@codesourcery.com>
34158 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34160 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34163 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34165 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34166 (SETUP_PIC_REG): Use GET_PC_THUNK.
34167 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34170 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34172 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34173 for non-PIC compilation.
34174 (SETUP_PIC_REG): Add .p2align directive.
34175 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34176 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34177 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34178 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34179 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34180 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34181 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34182 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34183 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34184 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34185 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34186 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34187 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34188 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34189 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34190 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34191 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34192 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34193 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34194 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34195 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34196 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34197 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34198 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34199 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34200 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34201 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34202 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34203 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34204 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34205 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34206 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34207 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34208 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34209 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34210 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34211 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34212 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34213 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34214 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34215 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34217 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34219 * math/tst-CMPLX.c: Include <stdio.h>.
34221 2012-01-31 Joseph Myers <joseph@codesourcery.com>
34223 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34225 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34226 * sysdeps/sparc/bits/mathdef.h: Likewise.
34228 2012-01-31 Marek Polacek <polacek@redhat.com>
34230 * libio/libio.h: Don't define _PARAMS.
34231 * locale/programs/config.h: Don't define PARAMS.
34232 * stdlib/strtol_l.c: Likewise.
34233 (__strtol_l): Remove PARAMS from the prototype.
34235 2012-01-31 Ulrich Drepper <drepper@gmail.com>
34237 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34238 names. Just use the correct names. Remove unnecessary wrapper
34240 * malloc/arena.c: Likewise.
34241 * malloc/hooks.c: Likewise.
34243 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34244 ARENA_TEST says not to. Simplify test for creation of a new arena.
34245 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34247 2012-01-30 Ulrich Drepper <drepper@gmail.com>
34249 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34251 (update_get_addr): New function.
34252 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34253 GET_ADDR_MODULE parameter.
34255 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34257 * crypt/cert.c: Remove __STDC__ conditionals.
34258 * crypt/crypt-entry.c: Likewise.
34259 * crypt/crypt_util.c: Likewise.
34260 * libio/filedoalloc.c: Likewise.
34261 * libio/fileops.c: Likewise.
34262 * libio/genops.c: Likewise.
34263 * libio/iofclose.c: Likewise.
34264 * libio/iofdopen.c: Likewise.
34265 * libio/iofopen.c: Likewise.
34266 * libio/iofopen64.c: Likewise.
34267 * libio/iogetdelim.c: Likewise.
34268 * libio/iopopen.c: Likewise.
34269 * libio/obprintf.c: Likewise.
34270 * libio/oldfileops.c: Likewise.
34271 * libio/oldiofclose.c: Likewise.
34272 * libio/oldiofdopen.c: Likewise.
34273 * libio/oldiofopen.c: Likewise.
34274 * libio/oldiopopen.c: Likewise.
34275 * libio/wfiledoalloc.c: Likewise.
34276 * libio/wgenops.c: Likewise.
34277 * locale/programs/xmalloc.c: Likewise.
34278 * misc/syslog.c: Likewise.
34279 * stdio-common/xbug.c: Likewise.
34280 * string/memchr.c: Likewise.
34281 * string/memcmp.c: Likewise.
34282 * string/memrchr.c: Likewise.
34283 * string/rawmemchr.c: Likewise.
34284 * sysdeps/posix/getcwd.c: Likewise.
34285 * time/strftime_l.c: Likewise.
34287 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34289 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34290 * config.make.in (config-cflags-sse2avx): Define.
34291 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34294 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34296 * scripts/config.guess: Update from upstream config git repository.
34297 * scripts/config.sub: Likewise.
34299 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34301 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34303 (R_TILEPRO_*, R_TILEGX_*): New macros.
34305 * scripts/firstversions.awk: Fix bug in version range handling.
34307 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34309 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34311 * include/sys/epoll.h: New file.
34312 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34315 2012-01-28 Ulrich Drepper <drepper@gmail.com>
34317 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34318 Avoid unnecessary __WORDSIZE == 64 test.
34319 (fmaxf): Use VEX format if possible.
34324 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34325 * math/math_private.h: Remove libc_fegetround* and
34327 * sysdeps/i386/configure.in: Check for -msse2avx.
34328 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34329 also if SSE2AVX is defined.
34330 Remove libc_fegetround* and libc_fesetround*.
34331 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34332 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34333 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34335 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34336 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34337 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34338 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34339 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34341 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34343 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34345 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34347 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34349 2012-01-27 Ulrich Drepper <drepper@gmail.com>
34352 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34354 * Makeconfig (libm): Define.
34355 * elf/Makefile: Add rules to build and run tst-relsort1.
34356 * elf/tst-relsort1.c: New file.
34357 * elf/tst-relsort1mod1.c: New file.
34358 * elf/tst-relsort1mod2.c: New file.
34360 2012-01-27 Joseph Myers <joseph@codesourcery.com>
34362 * math/s_ldexp.c: Remove __STDC__ conditionals.
34363 * math/s_ldexpf.c: Likewise.
34364 * math/s_ldexpl.c: Likewise.
34365 * math/s_nextafter.c: Likewise.
34366 * math/s_nexttowardf.c: Likewise.
34367 * math/s_significand.c: Likewise.
34368 * math/s_significandf.c: Likewise.
34369 * math/s_significandl.c: Likewise.
34370 * math/w_jnl.c: Likewise.
34371 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34372 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34373 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34374 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34375 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34376 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34377 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34378 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34379 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34380 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34381 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34382 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34383 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34384 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34385 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34386 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34387 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34388 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34390 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34391 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34392 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34393 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34394 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34395 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34396 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34397 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34398 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34399 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34400 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34401 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34402 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34403 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34404 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34405 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34406 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34407 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34408 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34409 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34410 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34411 * sysdeps/ieee754/k_standard.c: Likewise.
34412 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34413 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34414 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34415 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34416 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34422 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34423 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34425 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34426 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34437 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34441 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34442 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34443 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34444 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34445 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34446 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34447 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34473 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34478 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34480 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34486 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34487 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34491 * sysdeps/ieee754/s_matherr.c: Likewise.
34492 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34493 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34497 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34499 * crypt/md5.h: Remove __STDC__ conditionals.
34500 * libio/libioP.h: Likewise.
34501 * locale/programs/config.h: Likewise.
34502 * sysdeps/generic/sysdep.h: Likewise.
34503 * sysdeps/i386/asm-syntax.h: Likewise.
34504 * sysdeps/s390/asm-syntax.h: Likewise.
34505 * sysdeps/unix/sysdep.h: Likewise.
34506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34509 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34511 * libio/libio.h: Remove __STDC__ conditionals.
34512 * malloc/obstack.h: Likewise.
34513 * math/complex.h: Likewise.
34514 * math/math.h: Likewise.
34515 * sysdeps/generic/_G_config.h: Likewise.
34516 * sysdeps/gnu/_G_config.h: Likewise.
34517 * sysdeps/mach/hurd/_G_config.h: Likewise.
34518 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34519 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34520 * sysdeps/sparc/bits/mathdef.h: Likewise.
34522 2012-01-26 Ulrich Drepper <drepper@gmail.com>
34525 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34526 Clean up HAS_* macros.
34527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34528 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34530 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34532 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34533 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34534 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34535 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34536 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34538 2012-01-25 Joseph Myers <joseph@codesourcery.com>
34540 * elf/tst-unique3.cc (gets): Remove declaration.
34541 * elf/tst-unique3lib.cc (gets): Likewise.
34542 * elf/tst-unique3lib2.cc (gets): Likewise.
34543 * elf/tst-unique4.cc (gets): Likewise.
34545 2012-01-24 Ulrich Drepper <drepper@gmail.com>
34547 * include/stdio.h: Add C++ protection. Add gets declarations and
34549 * debug/tst-chk1.c: Don't declare gets here.
34550 * stdio-common/tst-gets.c: Likewise.
34552 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34554 * posix/glob: Remove directory.
34556 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34558 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34560 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34562 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34563 of the non-standard EPFNOSUPPORT.
34565 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34567 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34568 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34569 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34571 2012-01-21 Ulrich Drepper <drepper@gmail.com>
34573 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34575 2012-01-20 Ulrich Drepper <drepper@gmail.com>
34577 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34579 * nscd/grpcache.c (cache_addgr): Likewise.
34580 * nscd/hstcache.c (cache_addhst): Likewise.
34581 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34582 * nscd/pwdcache.c (cache_addpw): Likewise.
34583 * nscd/servicescache.c (cache_addserv): Likewise.
34585 2012-01-16 Ulrich Drepper <drepper@gmail.com>
34587 * malloc/malloc.c: Various cleanups.
34588 * malloc/hooks.c: Likewise.
34590 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34591 * stdlib/bug-fmtmsg1.c: New file.
34593 * stdlib/fmtmsg.c (init): Add missing unlock.
34594 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34596 2012-01-12 Marek Polacek <polacek@redhat.com>
34598 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34601 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34603 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34604 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34605 macro to ensure uniqueness of label name.
34606 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34607 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34609 2012-01-11 Ulrich Drepper <drepper@gmail.com>
34611 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34613 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34614 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34615 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34618 2012-01-10 Ulrich Drepper <drepper@gmail.com>
34620 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34622 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34623 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34624 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34626 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34628 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34629 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34630 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34633 * math/bits/math-finite.h: Add ldexp support.
34635 2012-01-10 Marek Polacek <polacek@redhat.com>
34637 * locale/programs/localedef.h (show_archive_content): Add noreturn
34640 2012-01-09 Ulrich Drepper <drepper@gmail.com>
34642 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34644 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34646 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34648 * io/Makefile (headers): Add bits/poll2.h.
34650 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34653 typo #include statement.
34655 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34657 * include/sys/cdefs.h: Define __attribute_alloc_size.
34658 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34659 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34660 * elf/pldd.c: Likewise.
34661 * iconv/iconv_charmap.c: Likewise.
34662 * iconv/iconvconfig.c: Likewise.
34663 * iconv/strtab.c: Likewise.
34664 * locale/programs/locale.c: Likewise.
34665 * locale/programs/localedef.h: Likewise.
34666 * locale/programs/simple-hash.c: Likewise.
34667 * nscd/nscd.h: Likewise.
34668 * nss/makedb.c: Likewise.
34669 * sysdeps/generic/ldconfig.h: Likewise.
34670 * locale/programs/localedef.c: Remove xmalloc prototype.
34671 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34673 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34675 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34678 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34680 * math/Makefile (tests): Add tst-CMPLX.
34681 * math/tst-CMPLX.c: New file.
34683 * math/complex.h (CMPLXL): Fix typo.
34685 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34686 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34688 * debug/tst-chk1.c: Add poll and ppoll tests.
34689 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34690 * include/sys/poll.h: Add hidden proto for ppoll.
34691 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34692 * sysdeps/mach/hurd/ppoll.c: Likewise.
34693 * io/ppoll.c: Likewise.
34694 * debug/poll_chk.c: New file.
34695 * debug/ppoll_chk.c: New file.
34696 * include/bits/poll2.h: New file.
34697 * io/bits/poll2.h: New file.
34700 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34702 * configure.in: static is always set to yes. Remove.
34703 * config.make.in: Don't set build-static.
34704 * Makeconfig: Remove use of build-static.
34705 * dlfcn/Makefile: Likewise.
34706 * elf/Makefile: Likewise.
34707 * math/Makefile: Likewise.
34708 * misc/Makefile: Likewise.
34709 * nptl/Makefile: Likewise.
34710 * sysdeps/mach/hurd/Makefile: Likewise.
34712 * configure.in: PWD_P is not used anymore.
34713 * config.make.in: Remove PWD_P entry.
34715 * configure.in: Remove last remnants of RANLIB.
34716 No need to check for signed size_t anymore.
34717 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34719 Remove __builtin_expect test because we require at least gcc 3.4.
34720 * aclocal.m4: Likewise.
34722 * wcsmbs/mbrtoc16.c: Implement using towc function.
34723 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34724 * wcsmbs/wcsmbsload.c: Likewise.
34725 * iconv/gconv_simple.c: Likewise.
34726 * iconv/gconv_int.h: Likewise.
34727 * iconv/gconv_builtin.h: Likewise.
34728 * iconv/iconv_prog.c: Remove CHAR16 handling.
34730 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34732 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34734 * configure.in: Remove --with-elf and --enable-bounded options.
34735 Dont set base_machine for ia64. More non-ELF conditions removed.
34736 Remove testing and setting of leading underscore information.
34737 * config.make.in (build-bounded): Set to no.
34738 * config.h.in: Remove NO_UNDERSCORES entry.
34739 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
34741 * csu/start.c: Remove !NO_UNDERSCORE code.
34742 * locale/localeinfo.h: Likewise.
34743 * sysdeps/generic/machine-gmon.h: Likewise.
34744 * sysdeps/generic/sysdep.h: Likewise.
34745 * sysdeps/i386/sysdep.h: Likewise.
34746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34747 * sysdeps/mach/sysdep.h: Likewise.
34748 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34750 * sysdeps/sh/sysdep.h: Likewise.
34751 * sysdeps/sparc/sparc32/alloca.S: Likewise.
34752 * sysdeps/unix/i386/sysdep.S: Likewise.
34753 * sysdeps/unix/sparc/start.c: Likewise.
34754 * sysdeps/unix/sparc/sysdep.S: Likewise.
34755 * sysdeps/unix/sparc/sysdep.h: Likewise.
34756 * sysdeps/unix/start.c: Likewise.
34757 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34758 * sysdeps/x86_64/sysdep.h: Likewise.
34760 2012-01-07 Ulrich Drepper <drepper@gmail.com>
34763 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34765 * argp/argp-fmtstream.h: Use const instead __const.
34766 * argp/argp.h: Likewise.
34767 * assert/assert.h: Likewise.
34768 * bits/fenv.h: Likewise.
34769 * bits/sched.h: Likewise.
34770 * bits/sigset.h: Likewise.
34771 * bits/sigthread.h: Likewise.
34772 * catgets/nl_types.h: Likewise.
34773 * conform/data/pthread.h-data: Likewise.
34774 * crypt/crypt-private.h: Likewise.
34775 * crypt/crypt.h: Likewise.
34776 * crypt/crypt_util.c: Likewise.
34777 * ctype/ctype.h: Likewise.
34778 * debug/execinfo.h: Likewise.
34779 * debug/mbsnrtowcs_chk.c: Likewise.
34780 * debug/mbsrtowcs_chk.c: Likewise.
34781 * debug/wcsnrtombs_chk.c: Likewise.
34782 * debug/wcsrtombs_chk.c: Likewise.
34783 * debug/wcstombs_chk.c: Likewise.
34784 * dirent/dirent.h: Likewise.
34785 * dlfcn/dlfcn.h: Likewise.
34786 * elf/neededtest4.c: Likewise.
34787 * grp/grp.h: Likewise.
34788 * gshadow/gshadow.h: Likewise.
34789 * iconv/gconv.h: Likewise.
34790 * iconv/gconv_int.h: Likewise.
34791 * iconv/gconv_simple.c: Likewise.
34792 * iconv/iconv.h: Likewise.
34793 * iconv/loop.c: Likewise.
34794 * iconv/skeleton.c: Likewise.
34795 * include/aio.h: Likewise.
34796 * include/aliases.h: Likewise.
34797 * include/argz.h: Likewise.
34798 * include/arpa/inet.h: Likewise.
34799 * include/assert.h: Likewise.
34800 * include/dirent.h: Likewise.
34801 * include/dlfcn.h: Likewise.
34802 * include/execinfo.h: Likewise.
34803 * include/fcntl.h: Likewise.
34804 * include/fenv.h: Likewise.
34805 * include/glob.h: Likewise.
34806 * include/grp.h: Likewise.
34807 * include/libintl.h: Likewise.
34808 * include/mntent.h: Likewise.
34809 * include/netdb.h: Likewise.
34810 * include/pwd.h: Likewise.
34811 * include/rpc/netdb.h: Likewise.
34812 * include/sched.h: Likewise.
34813 * include/search.h: Likewise.
34814 * include/shadow.h: Likewise.
34815 * include/signal.h: Likewise.
34816 * include/stdio.h: Likewise.
34817 * include/stdlib.h: Likewise.
34818 * include/string.h: Likewise.
34819 * include/sys/socket.h: Likewise.
34820 * include/sys/stat.h: Likewise.
34821 * include/sys/statfs.h: Likewise.
34822 * include/sys/statvfs.h: Likewise.
34823 * include/sys/syslog.h: Likewise.
34824 * include/sys/time.h: Likewise.
34825 * include/sys/uio.h: Likewise.
34826 * include/time.h: Likewise.
34827 * include/unistd.h: Likewise.
34828 * include/utmp.h: Likewise.
34829 * include/wchar.h: Likewise.
34830 * include/wctype.h: Likewise.
34831 * inet/aliases.h: Likewise.
34832 * inet/arpa/inet.h: Likewise.
34833 * inet/netinet/ether.h: Likewise.
34834 * inet/netinet/in.h: Likewise.
34835 * intl/libintl.h: Likewise.
34836 * io/bits/fcntl2.h: Likewise.
34837 * io/fcntl.h: Likewise.
34838 * io/ftw.h: Likewise.
34839 * io/sys/poll.h: Likewise.
34840 * io/sys/stat.h: Likewise.
34841 * io/sys/statfs.h: Likewise.
34842 * io/sys/statvfs.h: Likewise.
34843 * io/utime.h: Likewise.
34844 * libio/bits/stdio.h: Likewise.
34845 * libio/bits/stdio2.h: Likewise.
34846 * libio/libio.h: Likewise.
34847 * libio/libioP.h: Likewise.
34848 * libio/stdio.h: Likewise.
34849 * locale/lc-ctype.c: Likewise.
34850 * locale/locale.h: Likewise.
34851 * login/utmp.h: Likewise.
34852 * malloc/arena.c: Likewise.
34853 * malloc/malloc.c: Likewise.
34854 * malloc/malloc.h: Likewise.
34855 * malloc/mcheck.c: Likewise.
34856 * malloc/mtrace.c: Likewise.
34857 * math/bits/mathcalls.h: Likewise.
34858 * math/fenv.h: Likewise.
34859 * math/math_private.h: Likewise.
34860 * misc/bits/error.h: Likewise.
34861 * misc/bits/syslog.h: Likewise.
34862 * misc/err.h: Likewise.
34863 * misc/error.h: Likewise.
34864 * misc/fstab.h: Likewise.
34865 * misc/mntent.h: Likewise.
34866 * misc/regexp.h: Likewise.
34867 * misc/search.h: Likewise.
34868 * misc/sgtty.h: Likewise.
34869 * misc/sys/mman.h: Likewise.
34870 * misc/sys/syslog.h: Likewise.
34871 * misc/sys/uio.h: Likewise.
34872 * misc/sys/xattr.h: Likewise.
34873 * misc/ttyent.h: Likewise.
34874 * nis/rpcsvc/ypclnt.h: Likewise.
34875 * nss/nss.h: Likewise.
34876 * posix/bits/unistd.h: Likewise.
34877 * posix/fnmatch.h: Likewise.
34878 * posix/glob.h: Likewise.
34879 * posix/sched.h: Likewise.
34880 * posix/spawn.h: Likewise.
34881 * posix/sys/wait.h: Likewise.
34882 * posix/unistd.h: Likewise.
34883 * posix/wordexp.h: Likewise.
34884 * pwd/pwd.h: Likewise.
34885 * resolv/netdb.h: Likewise.
34886 * resource/sys/resource.h: Likewise.
34887 * rt/aio.h: Likewise.
34888 * rt/bits/mqueue2.h: Likewise.
34889 * rt/mqueue.h: Likewise.
34890 * shadow/shadow.h: Likewise.
34891 * signal/signal.h: Likewise.
34892 * socket/send.c: Likewise.
34893 * socket/sendto.c: Likewise.
34894 * socket/sys/socket.h: Likewise.
34895 * stdio-common/printf.h: Likewise.
34896 * stdlib/bits/stdlib.h: Likewise.
34897 * stdlib/fmtmsg.h: Likewise.
34898 * stdlib/monetary.h: Likewise.
34899 * stdlib/stdlib.h: Likewise.
34900 * stdlib/ucontext.h: Likewise.
34901 * streams/stropts.h: Likewise.
34902 * string/argz.h: Likewise.
34903 * string/bits/string2.h: Likewise.
34904 * string/string.h: Likewise.
34905 * string/strings.h: Likewise.
34906 * sunrpc/rpc/auth.h: Likewise.
34907 * sunrpc/rpc/auth_des.h: Likewise.
34908 * sunrpc/rpc/clnt.h: Likewise.
34909 * sunrpc/rpc/netdb.h: Likewise.
34910 * sunrpc/rpc/pmap_clnt.h: Likewise.
34911 * sunrpc/rpc/xdr.h: Likewise.
34912 * sysdeps/generic/inttypes.h: Likewise.
34913 * sysdeps/generic/net/if.h: Likewise.
34914 * sysdeps/generic/sys/swap.h: Likewise.
34915 * sysdeps/gnu/net/if.h: Likewise.
34916 * sysdeps/gnu/utmpx.h: Likewise.
34917 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34918 * sysdeps/i386/i486/bits/string.h: Likewise.
34919 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34920 * sysdeps/s390/bits/string.h: Likewise.
34921 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34922 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34923 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34924 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34925 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34926 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34927 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34928 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34929 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34930 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34931 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34932 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34933 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
34934 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34935 * sysdeps/unix/sysv/linux/readv.c: Likewise.
34936 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
34937 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34939 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34940 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34941 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34942 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
34943 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
34944 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
34945 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
34946 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
34947 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
34948 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34949 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
34950 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
34951 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
34952 * sysvipc/sys/ipc.h: Likewise.
34953 * sysvipc/sys/msg.h: Likewise.
34954 * sysvipc/sys/sem.h: Likewise.
34955 * sysvipc/sys/shm.h: Likewise.
34956 * termios/termios.h: Likewise.
34957 * time/sys/time.h: Likewise.
34958 * time/time.h: Likewise.
34959 * wcsmbs/bits/wchar2.h: Likewise.
34960 * wcsmbs/uchar.h: Likewise.
34961 * wcsmbs/wchar.h: Likewise.
34962 * wctype/wctype.h: Likewise.
34965 * Makeconfig: Remove all but ELF support including AIX support.
34966 * Makerules: Likewise.
34967 * config.h.in: Likewise.
34968 * config.make.in: Likewise.
34969 * configure: Likewise.
34970 * configure.in: Likewise.
34971 * csu/Makefile: Likewise.
34972 * csu/version.c: Likewise.
34973 * debug/Makefile: Likewise.
34974 * dlfcn/Makefile: Likewise.
34975 * elf/Makefile: Likewise.
34976 * extra-lib.mk: Likewise.
34977 * iconv/Makefile: Likewise.
34978 * include/libc-symbols.h: Likewise.
34979 * include/shlib-compat.h: Likewise.
34980 * resolv/Makefile: Likewise.
34981 * resolv/res_libc.c: Likewise.
34982 * rt/Makefile: Likewise.
34983 * sysdeps/i386/asm-syntax.h: Likewise.
34984 * sysdeps/i386/sysdep.h: Likewise.
34985 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34986 * sysdeps/mach/sysdep.h: Likewise.
34987 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
34988 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
34989 * sysdeps/s390/asm-syntax.h: Likewise.
34990 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34991 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34992 * sysdeps/sh/sysdep.h: Likewise.
34993 * sysdeps/unix/sparc/sysdep.h: Likewise.
34994 * sysdeps/wordsize-32/divdi3.c: Likewise.
34995 * sysdeps/x86_64/sysdep.h: Likewise.
34997 * argp/Versions: Remove _argp_unlock_xxx.
35000 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35001 * abilist/libBrokenLocale.abilist: Likewise.
35002 * abilist/libanl.abilist: Likewise.
35003 * abilist/libc.abilist: Likewise.
35004 * abilist/libcrypt.abilist: Likewise.
35005 * abilist/libdl.abilist: Likewise.
35006 * abilist/libm.abilist: Likewise.
35007 * abilist/libnsl.abilist: Likewise.
35008 * abilist/libpthread.abilist: Likewise.
35009 * abilist/libresolv.abilist: Likewise.
35010 * abilist/librt.abilist: Likewise.
35011 * abilist/libthread_db.abilist: Likewise.
35012 * abilist/libutil.abilist: Likewise.
35013 * abilist/libnss_db.abilist: New file.
35015 * scripts/abilist.awk: Add support for indirect functions.
35017 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35019 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35021 * shlib-versions: Remove entries for ports architectures.
35023 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35025 * elf/stackguard-macros.h: Remove support for IA-64.
35026 * elf/tst-auditmod1.c: Likewise.
35027 * sysdeps/generic/ldsodefs.h: Likewise.
35029 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35030 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35034 * configure.in: Remove --enable-omitfp support.
35036 * config.make.in: Likewise.
35037 * Makeconfig: Likewise.
35038 * manual/install.texi: Likewise.
35040 In case anyone cares, the IA-64 architecture could move to ports.
35041 * sysdeps/ia64/*: Removed.
35042 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35043 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35046 * configure.in: Remove entries for unsupported architectures.
35049 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35050 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35052 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35053 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35054 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35055 fall back to using wcrtomb.
35056 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35057 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35059 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35060 * wcsmbs/tst-c16c32-1.c: New file.
35062 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35065 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35067 * elf/tst-unique3.cc: Add explicit declaration of gets.
35068 * elf/tst-unique3lib.cc: Likewise.
35069 * elf/tst-unique3lib2.cc: Likewise.
35070 * elf/tst-unique4.cc: Likewise.
35072 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35074 2012-01-06 Joseph Myers <joseph@codesourcery.com>
35077 * assert/assert.h (static_assert): Don't define for C++.
35078 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35079 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35081 2012-01-03 Ulrich Drepper <drepper@gmail.com>
35083 * iconv/loop.c (single loop): Fix assertion in storing of
35086 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35088 2012-01-01 Ulrich Drepper <drepper@gmail.com>
35090 * posix/getconf.c: Update copyright year.
35091 * nss/getent.c: Likewise.
35092 * nss/makedb.c: Likewise.
35093 * iconv/iconvconfig.c: Likewise.
35094 * iconv/iconv_prog.c: Likewise.
35095 * elf/ldconfig.c: Likewise.
35096 * elf/pldd.c: Likewise.
35097 * elf/sotruss.ksh: Likewise.
35098 * catgets/gencat.c: Likewise.
35099 * csu/version.c: Likewise.
35100 * elf/ldd.bash.in: Likewise.
35101 * elf/sprof.c (print_version): Likewise.
35102 * locale/programs/locale.c: Likewise.
35103 * locale/programs/localedef.c: Likewise.
35104 * login/programs/pt_chown.c: Likewise.
35105 * nscd/nscd.c (print_version): Likewise.
35106 * debug/xtrace.sh: Likewise.
35107 * malloc/memusage.sh: Likewise.
35108 * malloc/mtrace.pl: Likewise.
35109 * debug/catchsegv.sh: Likewise.
35111 2011-12-30 Jakub Jelinek <jakub@redhat.com>
35113 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35116 2011-12-24 Ulrich Drepper <drepper@gmail.com>
35119 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35120 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35122 * iconv/gconv_int.h: Likewise.
35123 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35124 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35125 from libc for GLIBC_2.16.
35126 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35127 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35128 * wcsmbs/uchar.h: Really define mbstate_t.
35129 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35130 * wcsmbs/c16rtomb.c: New file.
35131 * wcsmbs/mbrtoc16.c: New file.
35132 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35133 for C/POSIX locale.
35134 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35135 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35137 * wcsmbs/wchar.h: Add missing __restrict.
35139 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35142 * time/Makefile (routines): Add timespec_get.
35143 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35144 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35145 timespec for ISO C11.
35146 * time/timespec_get.c: New file.
35147 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35148 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35151 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35152 * stdlib/stdlib.h: Declare aligned_alloc.
35153 * Versions.def: Add GLIBC_2.16 for libc.
35154 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35157 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35160 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35164 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35167 * assert/assert.h (static_assert): Define.
35169 * version.h: Update for 2.16 development version.
35172 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35175 * version.h (RELEASE): Bump for 2.15 release.
35176 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35178 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35179 Patch by Marek Polacek <mpolacek@redhat.com>.
35181 * bits/byteswap.h: Protect long long constants with __extension__.
35182 * sysdeps/i386/bits/byteswap.h: Likewise.
35183 * sysdeps/ia64/bits/byteswap.h: Likewise.
35184 * sysdeps/s390/bits/byteswap.h: Likewise.
35185 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35187 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35190 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35191 destination buffer.
35192 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35194 2011-12-23 Marek Polacek <polacek@redhat.com>
35196 * elf/dl-addr.c (determine_info): Add inline keyword.
35197 * elf/tst-auditmod4b.c (check_avx): Likewise.
35198 * elf/tst-auditmod6b.c (check_avx): Likewise.
35199 * elf/tst-auditmod6c.c (check_avx): Likewise.
35200 * elf/tst-auditmod7b.c (check_avx): Likewise.
35202 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35204 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35207 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35210 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35211 processing for last bytes.
35213 2011-08-06 Bruno Haible <bruno@clisp.org>
35216 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35217 U+0385, not to U+1FEE.
35220 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35221 entry for U+00A5 U+0301.
35223 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35226 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35227 buffer for the output is too small.
35229 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35233 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35234 SSE flags if possible.
35236 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35239 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35240 processing for last bytes.
35242 2011-12-22 Joseph Myers <joseph@codesourcery.com>
35244 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35245 (syscall-list-default-options, syscall-list-default-condition)
35246 (syscall-list-includes): Define.
35247 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35248 list of ABIs and options and #if conditions for each ABI. Do not
35249 handle common syscalls between ABIs specially.
35250 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35252 (syscall-list-variants, syscall-list-32bit-options)
35253 (syscall-list-32bit-condition, syscall-list-64bit-options)
35254 (syscall-list-64bit-condition): Define.
35255 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35256 (syscall-list-variants, syscall-list-32bit-options)
35257 (syscall-list-32bit-condition, syscall-list-64bit-options)
35258 (syscall-list-64bit-condition): Define.
35259 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35261 (syscall-list-variants, syscall-list-32bit-options)
35262 (syscall-list-32bit-condition, syscall-list-64bit-options)
35263 (syscall-list-64bit-condition): Define.
35264 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35266 (syscall-list-variants, syscall-list-32bit-options)
35267 (syscall-list-32bit-condition, syscall-list-64bit-options)
35268 (syscall-list-64bit-condition): Define.
35270 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35272 * locale/iso-639.def: Add brx entry.
35275 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35276 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35278 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35279 __feraiseexcept_renamed.
35281 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35284 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35285 EPOLLET with unsigned values.
35286 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35287 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35289 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35290 to large cancellation.
35291 * math/s_cacoshf.c: Likewise.
35292 * math/s_cacoshl.c: Likewise.
35294 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35298 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35299 * math/s_cacoshf.c: Likewise.
35300 * math/s_cacoshl.c: Likewise.
35302 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35305 * iconv/gconv.h: Define __GCONV_SWAP.
35306 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35307 * iconvdata/utf-16.c: Likewise.
35308 * iconvdata/utf-32.c: Likewise.
35310 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35313 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35314 numerator after shifting it by one limb.
35316 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35318 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35319 under [__USE_EXTERN_INLINES].
35321 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35324 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35326 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35328 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35329 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35331 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35332 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35333 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35334 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35335 for strncasecmp/strncasecmp_l compilation.
35336 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35337 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35339 2011-12-08 Marek Polacek <mpolacek@redhat.com>
35342 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35345 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35348 * time/tzfile.c (__tzfile_read): Check values from file header.
35350 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35352 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35353 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35354 * powerpc/powerpc32/dl-start.S: Likewise.
35355 * powerpc/powerpc32/elf/start.S: Likewise.
35356 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35357 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35358 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35359 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35360 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35361 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35362 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35363 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35364 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35365 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35366 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35367 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35368 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35369 * powerpc/powerpc32/memset.S: Likewise.
35370 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35371 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35372 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35373 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35374 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35375 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35376 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35377 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35378 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35379 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35380 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35381 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35382 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35384 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35386 * math/libm-test.inc: Added more nearbyint tests.
35387 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35388 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35390 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35392 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35394 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35397 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35399 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35400 Add wcscpy-ssse3 wcscpy-c.
35401 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35402 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35403 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35404 * sysdeps/x86_64/wcschr.S: New file.
35405 * sysdeps/x86_64/wcsrchr.S: New file.
35406 * string/test-strcmp.c: Remove checking of wcscmp function for
35408 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35409 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35410 wcsrchr-sse2 wcsrchr-c.
35411 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35412 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35413 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35414 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35415 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35416 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35417 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35418 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35419 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35420 * wcsmbc/wcschr.c (WCSCHR): New macro.
35422 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35424 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35425 * wcsmbs/test-wcsrchr.c: New file.
35426 * string/test-strrchr.c: Add wcsrchr support.
35428 * wcsmbs/test-wcscpy.c: New file.
35429 * string/test-strcpy.c: Add wcscpy support.
35432 2011-12-10 Ulrich Drepper <drepper@gmail.com>
35434 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35437 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35440 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35442 2011-12-04 Ulrich Drepper <drepper@gmail.com>
35444 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35445 Minor optimizations.
35447 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35448 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35449 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35451 2011-12-03 Ulrich Drepper <drepper@gmail.com>
35453 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35454 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35455 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35456 for gcc to avoid warnings.
35457 * inet/Makefile (tests): Add tst-checks.
35458 * inet/tst-checks.c: New file.
35460 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35463 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35466 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35467 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35469 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35471 2011-12-02 Ulrich Drepper <drepper@gmail.com>
35473 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35476 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35478 2011-11-29 Joseph Myers <joseph@codesourcery.com>
35480 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35481 conditional on GCC version.
35482 (__arch_compare_and_exchange_val_8_acq)
35483 (__arch_compare_and_exchange_val_16_acq)
35484 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35485 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35486 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35488 2011-12-02 Joseph Myers <joseph@codesourcery.com>
35490 * sysdeps/sh/backtrace.c: New file.
35492 2011-12-02 Andreas Schwab <schwab@redhat.com>
35494 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35497 2011-12-01 Andreas Schwab <schwab@redhat.com>
35499 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35500 falling back to utime.
35502 2011-11-30 Andreas Schwab <schwab@redhat.com>
35504 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35505 expectations for float.
35507 2011-11-29 Andreas Schwab <schwab@redhat.com>
35509 * locale/weight.h (findidx): Add parameter len.
35510 * locale/weightwc.h (findidx): Likewise.
35511 * posix/fnmatch_loop.c (FCT): Adjust caller.
35512 * posix/regcomp.c (build_equiv_class): Likewise.
35513 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35514 * posix/regexec.c (check_node_accept_bytes): Likewise.
35515 * string/strcoll_l.c (STRCOLL): Likewise.
35516 * string/strxfrm_l.c (STRXFRM): Likewise.
35518 2011-11-17 Ulrich Drepper <drepper@gmail.com>
35520 * Makefile.in: Remove CVSOPT handling.
35521 * configure.in: Remove use of AC_REVISION.
35522 * iconvdata/Makefile (distribute): No need to filter out CVS.
35523 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35526 2011-11-16 Andreas Schwab <schwab@redhat.com>
35528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35529 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35530 [USE_AS_STRNCASECMP_L]: Likewise.
35531 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35532 NO_TLS_DIRECT_SEG_REFS.
35533 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35534 Fix argument offsets for non-PIC.
35535 [USE_AS_STRNCASECMP_L]: Likewise.
35536 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35537 NO_TLS_DIRECT_SEG_REFS.
35539 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35541 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35543 * locale/loadlocale.c (_nl_load_locale): Likewise.
35545 2011-11-15 Andreas Schwab <schwab@redhat.com>
35547 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35548 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35549 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35550 (SYSCALL_GETTIME): Set errno on error.
35552 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35553 count references to noai6ai_cached.
35555 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35557 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35559 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35560 FD_CLOEXEC for /proc/self/maps.
35562 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35563 FD_CLOEXEC for /proc/meminfo.
35565 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35568 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35569 FD_CLOEXEC for given file.
35571 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35573 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35574 FD_CLOEXEC for /etc/hosts.
35575 (_gethtent): Likewise.
35577 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35579 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35580 cancellation and set FD_CLOEXEC for /etc/netgroup.
35582 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35583 reading /etc/publickey.
35585 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35586 allow cancellation when reading /etc/group.
35588 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35590 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35592 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35593 when using data file.
35595 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35597 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35598 (write_nis_obj): Use "c" and "e" in fopen.
35600 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35602 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35604 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35606 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35608 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35611 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35613 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35615 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35617 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35618 file parsing and set FD_CLOEXEC.
35620 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35622 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35624 2011-11-14 Andreas Schwab <schwab@redhat.com>
35626 * malloc/arena.c (arena_get2): Don't call reused_arena when
35627 _int_new_arena failed.
35629 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35631 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35632 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35633 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35634 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35635 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35636 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35637 to compile strcasecmp and strncasecmp.
35638 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35639 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35641 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35643 2011-11-13 Ulrich Drepper <drepper@gmail.com>
35645 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35646 locale-defines.sym to gen-as-const-headers.
35647 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35648 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35649 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35650 to compile strcasecmp and strncasecmp.
35651 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35652 strcasecmp_l and strncasecmp_l.
35653 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35654 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35655 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35656 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35657 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35658 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35659 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35660 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35661 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35662 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35663 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35665 2011-11-12 Ulrich Drepper <drepper@gmail.com>
35667 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35668 result of SYSDEP_GETTIME_CPU to retval.
35669 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35670 parameter list to macro. Remove trailing semicolon. Adjust users.
35672 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35675 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35677 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35679 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35680 from unused variable.
35682 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35684 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35687 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35690 * sunrpc/rpc_prot.c (rejected): Fix case value.
35692 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35693 unsigned long long int to avoid warnings in shift.
35695 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35697 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35700 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35701 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35702 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35704 * nis/nis_table.c (nis_list): Use variable of correct type for
35705 result of __follow_path call.
35707 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35709 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35710 of math functions ceil, trunc, floor, round, and sqrt, when
35711 avaliable on the platform.
35712 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35714 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35715 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35716 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35718 2011-10-30 Marek Polacek <mpolacek@redhat.com>
35720 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35721 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35723 2011-11-11 Roland McGrath <roland@hack.frob.com>
35725 * include/unistd.h: Fix __readlink return type.
35726 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35728 2011-11-11 Ulrich Drepper <drepper@gmail.com>
35730 * stdlib/ucontext.h: Undo last change for makecontext.
35732 2011-11-11 Andreas Schwab <schwab@redhat.com>
35734 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35736 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35737 * setjmp/setjmp.h: Mark functions as non-leaf.
35738 * setjmp/bits/setjmp2.h: Likewise.
35739 * stdlib/ucontext.h: Likewise.
35741 2011-11-10 Andreas Schwab <schwab@redhat.com>
35743 * malloc/arena.c (_int_new_arena): Don't increment narenas.
35744 (reused_arena): Don't check arena limit.
35745 (arena_get2): Atomically check arena limit.
35747 2011-11-08 Ulrich Drepper <drepper@gmail.com>
35749 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35750 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35755 2011-11-07 Andreas Schwab <schwab@redhat.com>
35757 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35758 handler when locking.
35760 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35761 Fix size of allocated buffer.
35763 2011-11-04 Andreas Schwab <schwab@redhat.com>
35766 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35767 declarations for long double functions.
35768 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35770 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35772 2011-11-03 Andreas Schwab <schwab@redhat.com>
35774 * nscd/nscd.c (main): Don't start AVC thread until credentials are
35777 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35780 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35782 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35784 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
35786 * include/alloca.h (stackinfo_alloca_round): Define.
35787 (extend_alloca): Use it.
35788 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35789 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35792 * scripts/check-local-headers.sh: Ignore libaudit.h.
35794 * nscd/Makefile (extra-objs): Make recursively expanded.
35796 2011-11-01 Ulrich Drepper <drepper@gmail.com>
35798 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35799 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35801 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35802 * posix/tst-rfc3484-2.c: Likewise.
35803 * posix/tst-rfc3484-3.c: Likewise.
35805 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35807 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35809 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35810 process_vm_writev from libc using GLIBC_2.15 version.
35812 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35814 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
35816 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35819 2011-10-31 Ulrich Drepper <drepper@gmail.com>
35822 * nss/getent.c (initgroups_keys): Show error message in case no group
35825 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35826 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35827 __bump_nl_timestamp.
35828 * nscd/connections (nscd_init): When host database is served open
35829 netlink socket and request notification about configuration changes.
35830 (main_loop_poll): Track netlink file descriptor and bump timestamp
35831 in case data becomes available.
35832 (main_loop_epoll): Likewise.
35833 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35834 (database_pers_head): Add extra_data fileds.
35835 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35836 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35837 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35840 in6ai data, call __free_in6ai.
35841 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35842 Add -DHAVE_NETLINK.
35843 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
35844 interface information. Reuse previous data if netlink timestamp
35846 (__bump_nl_timestamp): New function.
35847 (__free_in6ai): New function.
35849 2011-10-30 Ulrich Drepper <drepper@gmail.com>
35851 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35852 close_not_cancel_no_status here.
35853 (__check_pf): Reorganize code a bit to not call close twice if OOM.
35855 2011-10-29 Ulrich Drepper <drepper@gmail.com>
35858 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35861 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35862 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35863 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35865 2011-07-03 Andreas Jaeger <aj@suse.de>
35868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35869 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35870 * math/libm-test.inc (sin_test): Add test case.
35872 2011-10-29 Ulrich Drepper <drepper@gmail.com>
35875 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35876 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35878 * elf/chroot_canon.c (chroot_canon): Cleanups.
35880 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35883 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35884 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35886 * string/test-strchr.c: Make usable for strchrnul testing.
35887 * string/test-strchrnul.c: New file.
35888 * string/Makefile (strop-tests): Add strchrnul.
35890 * po/it.po: Update from translation team.
35891 * po/es.po: Likewise.
35893 2011-10-28 Ulrich Drepper <drepper@gmail.com>
35895 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35896 the three constants needed as parameters. Drop the others.
35897 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35898 __m128i_strloadu_tolower.
35899 Create and initialize variable zero and use it in all the places
35900 where _mm_setzero_si128 was used.
35902 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35903 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35904 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35905 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35907 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35908 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35909 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35910 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35911 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35912 __mpranred, __mptan.
35913 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35914 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35915 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35916 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35917 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35918 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35919 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35920 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35921 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35923 2011-10-28 Andreas Schwab <schwab@redhat.com>
35925 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35926 redefine if SHARED.
35927 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35930 wide char related routines to wcsmbs subdir.
35932 2011-10-27 Andreas Schwab <schwab@redhat.com>
35935 * misc/sys/cdefs.h (__THROWNL): Define.
35936 * posix/unistd.h: Use __THREADNL instead of __THREAD
35937 for memory synchronization functions.
35939 2011-10-26 Roland McGrath <roland@hack.frob.com>
35942 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
35944 * manual/stdio.texi (Obstack Streams): Node removed.
35946 2011-10-26 Andreas Schwab <schwab@redhat.com>
35948 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
35949 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35950 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35952 * math/math_private.h (math_force_eval): Allow non-addressable
35954 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
35956 2011-10-25 Ulrich Drepper <drepper@gmail.com>
35958 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
35959 file is not needed.
35961 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
35962 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35963 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35964 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35965 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35966 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35967 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35968 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
35970 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
35971 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
35972 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
35973 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
35974 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
35975 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
35976 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
35977 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
35978 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
35979 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
35980 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
35981 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
35982 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
35983 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
35984 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
35985 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
35986 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
35987 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
35988 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
35990 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
35991 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
35993 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
35994 place. Use VEX encoding when compiling for AVX.
35996 2011-10-25 Andreas Schwab <schwab@redhat.com>
35998 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
35999 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36001 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36003 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36005 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36006 useless if() expression.
36007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36008 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36009 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36010 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36011 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36012 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36013 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36014 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36015 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36016 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36017 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36018 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36019 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36020 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36021 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36022 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36023 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36025 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36027 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36029 2011-10-25 Andreas Schwab <schwab@redhat.com>
36031 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36033 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36035 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36037 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36038 .text section. Avoid duplicate constants.
36039 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36041 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36043 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36046 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36047 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36048 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36049 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36050 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36051 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36052 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36053 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36054 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36055 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36056 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36057 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36059 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36060 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36061 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36062 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36063 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36064 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36065 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36066 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36067 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36068 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36069 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36070 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36071 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36072 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36073 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36074 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36075 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36076 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36077 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36078 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36079 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36080 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36081 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36082 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36083 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36085 2011-10-24 Ulrich Drepper <drepper@gmail.com>
36087 * sysdeps/x86_64/dla.h: Move to ...
36088 * sysdeps/x86_64/fpu/dla.h: ...here.
36089 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36090 situations. Use __builtin_fma only for gcc 4.6 and up.
36092 * config.make.in: Add have-mfma4 entry.
36093 * configure.in: Substitute libc_cv_cc_fma4.
36094 * math/Makefile (dbl-only-routines): Add sincostab.
36095 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36096 Use __sincostab not sincos.
36097 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36104 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36105 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36106 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36107 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36109 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36110 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36112 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36113 define aliases when function name is a macro.
36114 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36115 sysdeps/ieee754/dbl-64/sincos.tbl.
36116 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36117 fma4-enabled routines.
36118 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36119 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36120 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36121 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36122 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36123 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36125 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36127 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36128 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36129 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36130 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36131 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36132 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36133 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36134 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36135 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36136 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36137 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36138 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36139 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36140 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36141 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36142 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36143 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36144 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36145 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36146 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36147 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36149 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36160 2011-10-24 Andreas Schwab <schwab@redhat.com>
36162 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36164 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36166 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36168 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36170 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36172 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36173 Remove unused variable magic_bits.
36174 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36176 * string/strnlen.c: Define and use STRNLEN macro.
36177 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36178 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36179 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36180 * wcsmbs/wcslen.c: Define and use WCSLEN.
36181 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36182 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36183 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36184 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36185 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36186 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36187 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36189 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36192 strnlen-sse2-no-bsf.
36193 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36194 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36195 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36196 Add strnlen support.
36197 (USE_AS_STRNLEN): New macro.
36198 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36199 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36200 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36201 * sysdeps/x86_64/wcslen.S: New file.
36203 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36205 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36206 XMM-moves are used for copying on small sizes.
36208 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36210 * wcsmbs/Makefile (strop-tests): Add wcschr.
36211 * wcsmbs/test-wcschr.c: New file.
36212 * string/test-strchr.c: Update.
36213 Add wcschr support.
36216 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36218 * wcsmbs/Makefile (strop-tests): Add wcslen.
36219 * wcsmbs/test-wcslen.c: New file.
36220 * string/test-strlen.c: Update.
36221 Add wcslen support.
36224 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36226 * po/it.po: Update from translation team.
36228 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36230 * sysdeps/x86_64/wcscmp.S: Update.
36231 Fix wrong comparison semantics.
36232 wcscmp shall use signed comparison not unsigned.
36233 Don't use substraction to avoid overflow bug.
36234 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36235 * wcsmbc/wcscmp.c: Likewise.
36236 * string/test-strcmp.c: Likewise.
36237 Add new tests to check cases with negative values.
36239 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36241 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36242 * sysdeps/x86_64/dla.h: ...here. New file.
36243 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36248 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36249 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36250 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36251 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36253 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36256 __ynl_finite aliases.
36258 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36262 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36264 [DLA_FMA] (EMULV): Use DLA_FMA.
36265 [DLA_FMA] (MUL12): Use EMULV.
36266 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36267 that are not needed.
36268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36273 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36276 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36278 * math/s_nan.c: Undef __nan.
36279 * math/s_nanf.c: Undef __nanf.
36280 * math/s_nanl.c: Undef __nanl.
36281 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36284 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36286 * math/s_catan.c: Add branch predictions.
36287 * math/s_catanf.c: Likewise.
36288 * math/s_catanh.c: Likewise.
36289 * math/s_catanhf.c: Likewise.
36290 * math/s_catanhl.c: Likewise.
36291 * math/s_catanl.c: Likewise.
36292 * math/s_cexp.c: Likewise.
36293 * math/s_cexpf.c: Likewise.
36294 * math/s_cexpl.c: Likewise.
36295 * math/s_clog.c: Likewise.
36296 * math/s_clog10.c: Likewise.
36297 * math/s_clog10f.c: Likewise.
36298 * math/s_clog10l.c: Likewise.
36299 * math/s_clogf.c: Likewise.
36300 * math/s_clogl.c: Likewise.
36301 * math/s_csqrt.c: Likewise.
36302 * math/s_csqrtf.c: Likewise.
36303 * math/s_csqrtl.c: Likewise.
36304 * math/s_ctanf.c: Likewise.
36305 * math/s_ctanh.c: Likewise.
36306 * math/s_ctanhf.c: Likewise.
36307 * math/s_ctanhl.c: Likewise.
36308 * math/s_ctanl.c: Likewise.
36310 * math/math_private.h: Define __nan, __nanf, __nanl.
36311 * math/s_cacosh.c: Include <math_private.h>.
36312 * math/s_cacoshl.c: Likewise.
36313 * math/s_casinh.c: Likewise.
36314 * math/s_casinhf.c: Likewise.
36315 * math/s_casinhl.c: Likewise.
36316 * math/s_ccos.c: Rely entire on ccosh.
36317 * math/s_ccosf.c: Rely entire on ccoshf.
36318 * math/s_ccosl.c: Rely entirely on ccoshl.
36319 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36320 Remove tests for FE_INVALID.
36321 * math/s_ccoshf.c: Likewise.
36322 * math/s_ccoshl.c: Likewise.
36323 * math/s_csin.c: Likewise.
36324 * math/s_csinf.c: Likewise.
36325 * math/s_csinh.c Likewise.
36326 * math/s_csinhf.c: Likewise.
36327 * math/s_csinhl.c: Likewise.
36328 * math/s_csinl.c: Likewise.
36329 * math/s_ctan.c: Likewise.
36330 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36331 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36332 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36334 2011-10-21 Ulrich Drepper <drepper@gmail.com>
36336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36337 compilation problems.
36339 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36342 2011-10-20 Ulrich Drepper <drepper@gmail.com>
36344 * sysdeps/i386/configure.in: Test for -mfma4 option.
36345 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36346 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36347 COMMON_CPUID_INDEX_80000001.
36348 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36349 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36350 use it if FMA3 is not supported.
36351 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36353 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36354 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36356 2011-10-20 Andreas Schwab <schwab@redhat.com>
36359 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36360 it would create a cycle with a link time dependency.
36362 2011-10-19 Ulrich Drepper <drepper@gmail.com>
36364 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36366 * string/Makefile (strop-tests): Add rawmemchr.
36367 * string/test-rawmemchr.c: New file.
36369 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36370 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36371 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36372 when compiling str{,n}casecmp and when AVX is available. Hook up
36373 new optimized code in initializers.
36375 2011-10-19 Andreas Schwab <schwab@redhat.com>
36377 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36378 __feraiseexcept instead of feraiseexcept.
36380 2011-10-18 Ulrich Drepper <drepper@gmail.com>
36382 * math/math_private.h: Define defaults for libc_fetestexcept and
36384 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36385 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36386 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36387 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36388 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36389 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36390 libc_fetestexcept and libc_feupdateenv.
36392 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36393 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36394 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36395 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36396 libc_feholdexcept_setround.
36398 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36399 Add s_nearbyint-c and s_nearbyintf-c.
36400 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36401 nearbyintf inlines.
36402 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36403 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36404 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36405 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36407 * math/math_private.h: Define defaults for libc_fegetround,
36408 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36409 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36410 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36411 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36412 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36413 standard functions.
36414 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36415 Remove comments and hacks for old compiler versions.
36416 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36417 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36418 libc_feholdexceptl.
36420 2011-10-18 Andreas Schwab <schwab@redhat.com>
36422 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36423 (__feraiseexcept_renamed): Add __NTH.
36424 (feraiseexcept): Add __NTH. Rename local variables to fix
36425 namespace violations.
36427 2011-10-17 Ulrich Drepper <drepper@gmail.com>
36429 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36431 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36433 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36434 recently added interfaces.
36435 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36437 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36438 about macro parameter expansion.
36440 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36441 __NO_MATH_INLINES is defined. Cleanups.
36443 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36444 and __floorf is target has SSE4.1.
36445 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36446 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36447 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36448 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36450 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36452 (floorf): Likewise.
36454 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36456 2011-10-17 Andreas Schwab <schwab@redhat.com>
36458 * misc/sys/cdefs.h: Fix last change.
36460 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36463 2011-10-16 Ulrich Drepper <drepper@gmail.com>
36465 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36467 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36468 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36469 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36470 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36471 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36472 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36473 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36474 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36475 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36476 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36477 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36478 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36479 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36480 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36481 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36482 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36483 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36484 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36485 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36486 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36487 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36488 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36490 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36491 ceil, ceilf, floor, floorf.
36493 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36494 Perform IRELATIVE relocations last.
36496 * elf/do-rel.h: Add another parameter nrelative, replacing the
36497 local variable with the same name. Change name of the function
36498 to end in Rel or Rela (uppercase).
36499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36500 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36501 elf_dynamic_do_##reloc function.
36503 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36505 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36506 is sufficient, at least on modern CPUs.
36508 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36510 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36511 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36513 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36515 * math/bits/math-finite.h: Add entries for exp.
36516 * math/e_expl.c: Add __*_finite alias.
36517 * sysdeps/i386/fpu/e_exp.S: Likewise.
36518 * sysdeps/i386/fpu/e_expf.S: Likewise.
36519 * sysdeps/i386/fpu/e_expl.c: Likewise.
36520 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36521 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36522 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36523 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36524 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36525 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36526 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36528 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36529 is sufficient, at least on modern CPUs.
36531 * ctype/ctype-info.c (__ctype_init): Define.
36532 * include/ctype.h (__ctype_init): Declare.
36533 (__ctype_b_loc): The variable is always initialized.
36534 (__ctype_toupper_loc): Likewise.
36535 (__ctype_tolower_loc): Likewise.
36536 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36537 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36539 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36541 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36543 * configure.in: Also look in $cxxmachine/include for C++ system
36546 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36548 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36549 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36550 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36551 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36552 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36553 (USE_AS_WMEMCMP): New macro.
36555 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36556 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36557 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36558 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36560 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36561 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36562 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36563 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36564 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36565 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36566 (USE_AS_WMEMCMP): New macro.
36567 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36568 * sysdeps/string/test-memcmp.c: Update.
36569 Fix simple_wmemcmp.
36571 * wcsmbs/wmemcmp.c: Update.
36572 (WMEMCMP): New macro.
36575 2011-10-12 Andreas Jaeger <aj@suse.de>
36578 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36580 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36582 * libio/iofwide.c (do_length): Avoid warning.
36584 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36586 2011-10-14 Ulrich Drepper <drepper@gmail.com>
36588 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36590 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36591 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36592 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36593 * sysdeps/i386/i686/fpu/e_log.S: New file.
36594 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36595 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36597 * ctype/ctype.h: Add support for inlined isXXX functions when
36598 compiling C++ code.
36600 2011-10-14 Andreas Schwab <schwab@redhat.com>
36602 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36604 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36606 2011-10-13 Roland McGrath <roland@hack.frob.com>
36609 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36611 2011-10-13 Andreas Schwab <schwab@redhat.com>
36613 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36614 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36617 * sysdeps/x86_64/memrchr.S: Check for zero size.
36619 * string/stratcliff.c: Add memrchr tests.
36621 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36624 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36625 rawmemchr-sse2 rawmemchr-sse2-bsf.
36626 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36627 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36628 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36629 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36630 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36631 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36632 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36633 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36634 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36635 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36636 * string/memrchr.c (MEMRCHR): New macro.
36638 2011-10-12 Ulrich Drepper <drepper@gmail.com>
36640 Add integration with gcc's -ffinite-math-only and optimize wrapper
36642 * Versions.def: Define GLIBC_2.15 version for libm.
36643 * math/Makefile (headers): Add bits/math-finite.h.
36644 * math/bits/math-finite.h: New file.
36645 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36646 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36647 * math/e_acoshl.c: Add __*_finite alias.
36648 * math/e_acosl.c: Likewise.
36649 * math/e_asinl.c: Likewise.
36650 * math/e_atan2l.c: Likewise.
36651 * math/e_atanhl.c: Likewise.
36652 * math/e_coshl.c: Likewise.
36653 * math/e_exp10.c: Likewise.
36654 * math/e_exp10f.c: Likewise.
36655 * math/e_exp10l.c: Likewise.
36656 * math/e_exp2l.c: Likewise.
36657 * math/e_fmodl.c: Likewise.
36658 * math/e_gammal_r.c: Likewise.
36659 * math/e_hypotl.c: Likewise.
36660 * math/e_j0l.c: Likewise.
36661 * math/e_j1l.c: Likewise.
36662 * math/e_jnl.c: Likewise.
36663 * math/e_lgammal_r.c: Likewise.
36664 * math/e_log10l.c: Likewise.
36665 * math/e_log2l.c: Likewise.
36666 * math/e_logl.c: Likewise.
36667 * math/e_powl.c: Likewise.
36668 * math/e_sinhl.c: Likewise.
36669 * math/e_sqrtl.c: Likewise.
36670 * math/e_scalb.c: Completely rewritten and optimized.
36671 * math/e_scalbf.c: Likewise.
36672 * math/e_scalbl.c: Likewise.
36673 * math/w_acos.c: Likewise.
36674 * math/w_acosf.c: Likewise.
36675 * math/w_acosl.c: Likewise.
36676 * math/w_acosh.c: Likewise.
36677 * math/w_acoshf.c: Likewise.
36678 * math/w_acoshl.c: Likewise.
36679 * math/w_asin.c: Likewise.
36680 * math/w_asinf.c: Likewise.
36681 * math/w_asinl.c: Likewise.
36682 * math/w_atan2.c: Likewise.
36683 * math/w_atan2f.c: Likewise.
36684 * math/w_atan2l.c: Likewise.
36685 * math/w_atanh.c: Likewise.
36686 * math/w_atanhf.c: Likewise.
36687 * math/w_atanhl.c: Likewise.
36688 * math/w_exp10.c: Likewise.
36689 * math/w_exp10f.c: Likewise.
36690 * math/w_exp10l.c: Likewise.
36691 * math/w_fmod.c: Likewise.
36692 * math/w_fmodf.c: Likewise.
36693 * math/w_fmodl.c: Likewise.
36694 * math/w_j0.c: Likewise.
36695 * math/w_j0f.c: Likewise.
36696 * math/w_j0l.c: Likewise.
36697 * math/w_j1.c: Likewise.
36698 * math/w_j1f.c: Likewise.
36699 * math/w_j1l.c: Likewise.
36700 * math/w_jn.c: Likewise.
36701 * math/w_jnf.c: Likewise.
36702 * math/w_log.c: Likewise.
36703 * math/w_logf.c: Likewise.
36704 * math/w_logl.c: Likewise.
36705 * math/w_log10.c: Likewise.
36706 * math/w_log10f.c: Likewise.
36707 * math/w_log10l.c: Likewise.
36708 * math/w_log2.c: Likewise.
36709 * math/w_log2f.c: Likewise.
36710 * math/w_log2l.c: Likewise.
36711 * math/w_pow.c: Likewise.
36712 * math/w_powf.c: Likewise.
36713 * math/w_powl.c: Likewise.
36714 * math/w_remainder.c: Likewise.
36715 * math/w_remainderf.c: Likewise.
36716 * math/w_remainderl.c: Likewise.
36717 * math/w_scalb.c: Likewise.
36718 * math/w_scalbf.c: Likewise.
36719 * math/w_scalbl.c: Likewise.
36720 * math/w_sqrt.c: Likewise.
36721 * math/w_sqrtf.c: Likewise.
36722 * math/w_sqrtl.c: Likewise.
36723 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36724 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36726 * math/math_private.h: Declare __kernel_standard_f.
36727 * math/w_cosh.c: Remove cruft and optimize a bit.
36728 * math/w_coshf.c: Likewise.
36729 * math/w_coshl.c: Likewise.
36730 * math/w_exp2.c: Likewise.
36731 * math/w_exp2f.c: Likewise.
36732 * math/w_exp2l.c: Likewise.
36733 * math/w_hypot.c: Likewise.
36734 * math/w_hypotf.c: Likewise.
36735 * math/w_hypotl.c: Likewise.
36736 * math/w_lgamma.c: Likewise.
36737 * math/w_lgamma_r.c: Likewise.
36738 * math/w_lgammaf.c: Likewise.
36739 * math/w_lgammaf_r.c: Likewise.
36740 * math/w_lgammal.c: Likewise.
36741 * math/w_lgammal_r.c: Likewise.
36742 * math/w_sinh.c: Likewise.
36743 * math/w_sinhf.c: Likewise.
36744 * math/w_sinhl.c: Likewise.
36745 * math/w_tgamma.c: Likewise.
36746 * math/w_tgammaf.c: Likewise.
36747 * math/w_tgammal.c: Likewise.
36748 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36749 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36750 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36751 Minor optimizations. Pretty printing. Remove cruft.
36752 * sysdeps/i386/fpu/e_acosf.S: Likewise.
36753 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36754 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36755 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36756 * sysdeps/i386/fpu/e_acosl.c: Likewise.
36757 * sysdeps/i386/fpu/e_asin.S: Likewise.
36758 * sysdeps/i386/fpu/e_asinf.S: Likewise.
36759 * sysdeps/i386/fpu/e_atan2.S: Likewise.
36760 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36761 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36762 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36763 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36764 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36765 * sysdeps/i386/fpu/e_exp10.S: Likewise.
36766 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36767 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36768 * sysdeps/i386/fpu/e_exp2.S: Likewise.
36769 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36770 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36771 * sysdeps/i386/fpu/e_fmod.S: Likewise.
36772 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36773 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36774 * sysdeps/i386/fpu/e_hypot.S: Likewise.
36775 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36776 * sysdeps/i386/fpu/e_log.S: Likewise.
36777 * sysdeps/i386/fpu/e_log10.S: Likewise.
36778 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36779 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36780 * sysdeps/i386/fpu/e_log2.S: Likewise.
36781 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36782 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36783 * sysdeps/i386/fpu/e_logf.S: Likewise.
36784 * sysdeps/i386/fpu/e_logl.S: Likewise.
36785 * sysdeps/i386/fpu/e_pow.S: Likewise.
36786 * sysdeps/i386/fpu/e_powf.S: Likewise.
36787 * sysdeps/i386/fpu/e_powl.S: Likewise.
36788 * sysdeps/i386/fpu/e_remainder.S: Likewise.
36789 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36790 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36791 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36792 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36793 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36794 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36795 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36796 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36797 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36798 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36799 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36800 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36801 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36802 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36803 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36810 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36813 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36814 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36817 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36818 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36819 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36820 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36821 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36822 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36823 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36824 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36825 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36826 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36827 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36828 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36829 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36830 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36831 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36832 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36833 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36834 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36835 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36836 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36837 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36838 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36839 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36842 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36843 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36844 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36845 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36846 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36847 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36848 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36849 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36850 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36851 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36852 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36853 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36854 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36855 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36856 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36857 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36858 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36860 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36861 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36862 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36863 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36864 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36865 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36866 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36867 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36868 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36869 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36871 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36872 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36873 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36874 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36875 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36876 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36877 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36878 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36879 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36880 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36881 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36882 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36883 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36884 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36885 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36886 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36887 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36888 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36889 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36890 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36891 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36892 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36893 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36894 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36895 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36896 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36897 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36898 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36899 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36900 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36901 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36903 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36904 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36905 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36906 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36907 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
36908 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36909 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36910 (__isnanf): Likewise.
36911 (__isinf_ns): Likewise.
36912 (__isinf_nsf): Likewise.
36913 (__finite): Likewise.
36914 (__finitef): Likewise.
36915 (__ieee754_sqrt): Define as macro.
36916 (__ieee754_sqrtf): Define as macro.
36917 (__ieee754_sqrtl): Define as macro.
36918 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36920 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36921 __FINITE_MATH_ONLY__ consistent.
36922 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36924 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
36926 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36929 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36931 2011-10-09 Ulrich Drepper <drepper@gmail.com>
36933 * po/ja.po: Update from translation team.
36935 2011-10-08 Roland McGrath <roland@hack.frob.com>
36937 * locale/programs/locarchive.c (prepare_address_space): New function.
36938 (create_archive, enlarge_archive, open_archive): Use it.
36940 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
36941 inside [SHARED], where it is used.
36943 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
36945 * nss/getent.c (netgroup_keys): Remove unused variable.
36946 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36948 2011-10-08 Ulrich Drepper <drepper@gmail.com>
36950 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
36951 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
36952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
36953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
36954 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
36955 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
36956 * math/Makefile (libm-calls): Add s_isinf_ns.
36957 * math/divtc3.c: Use __isinf_nsl instead of isinf.
36958 * math/multc3.c: Likewise.
36959 * math/s_casin.c: Likewise.
36960 * math/s_casinf.c: Likewise.
36961 * math/s_casinl.c: Likewise.
36962 * math/s_ccos.c: Likewise.
36963 * math/s_ccosf.c: Likewise.
36964 * math/s_ccosl.c: Likewise.
36965 * math/s_ctan.c: Likewise.
36966 * math/s_ctanf.c: Likewise.
36967 * math/s_ctanh.c: Likewise.
36968 * math/s_ctanhf.c: Likewise.
36969 * math/s_ctanhl.c: Likewise.
36970 * math/s_ctanl.c: Likewise.
36971 * math/w_fmod.c: Likewise.
36972 * math/w_fmodf.c: Likewise.
36973 * math/w_fmodl.c: Likewise.
36974 * math/w_remainder.c: Likewise.
36975 * math/w_remainderf.c: Likewise.
36976 * math/w_remainderl.c: Likewise.
36977 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
36978 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
36979 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
36980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
36981 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
36982 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
36983 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
36984 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
36986 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
36988 * stdio-common/printf_fphex.c: Likewise.
36989 * stdio-common/printf_size.c: Likewise.
36991 * math/e_exp10.c: Include math_private.h using <...> not "...".
36992 * math/e_exp10f.c: Likewise.
36993 * math/e_exp10l.c: Likewise.
36994 * math/e_exp2l.c: Likewise.
36995 * math/e_j0l.c: Likewise.
36996 * math/e_j1l.c: Likewise.
36997 * math/e_jnl.c: Likewise.
36998 * math/e_lgammal_r.c: Likewise.
36999 * math/e_rem_pio2l.c: Likewise.
37000 * math/e_scalb.c: Likewise.
37001 * math/e_scalbf.c: Likewise.
37002 * math/e_scalbl.c: Likewise.
37003 * math/k_cosl.c: Likewise.
37004 * math/k_sinl.c: Likewise.
37005 * math/k_tanl.c: Likewise.
37006 * math/s_cacoshf.c: Likewise.
37007 * math/s_catan.c: Likewise.
37008 * math/s_catanf.c: Likewise.
37009 * math/s_catanh.c: Likewise.
37010 * math/s_catanhf.c: Likewise.
37011 * math/s_catanhl.c: Likewise.
37012 * math/s_catanl.c: Likewise.
37013 * math/s_ccosh.c: Likewise.
37014 * math/s_ccoshf.c: Likewise.
37015 * math/s_ccoshl.c: Likewise.
37016 * math/s_cexp.c: Likewise.
37017 * math/s_cexpf.c: Likewise.
37018 * math/s_cexpl.c: Likewise.
37019 * math/s_clog.c: Likewise.
37020 * math/s_clog10.c: Likewise.
37021 * math/s_clog10f.c: Likewise.
37022 * math/s_clog10l.c: Likewise.
37023 * math/s_clogf.c: Likewise.
37024 * math/s_clogl.c: Likewise.
37025 * math/s_csin.c: Likewise.
37026 * math/s_csinf.c: Likewise.
37027 * math/s_csinh.c: Likewise.
37028 * math/s_csinhf.c: Likewise.
37029 * math/s_csinhl.c: Likewise.
37030 * math/s_csinl.c: Likewise.
37031 * math/s_csqrt.c: Likewise.
37032 * math/s_csqrtf.c: Likewise.
37033 * math/s_csqrtl.c: Likewise.
37034 * math/s_ctan.c: Likewise.
37035 * math/s_ctanf.c: Likewise.
37036 * math/s_ctanh.c: Likewise.
37037 * math/s_ctanhf.c: Likewise.
37038 * math/s_ctanhl.c: Likewise.
37039 * math/s_ctanl.c: Likewise.
37040 * math/s_ldexp.c: Likewise.
37041 * math/s_ldexpf.c: Likewise.
37042 * math/s_ldexpl.c: Likewise.
37043 * math/s_significand.c: Likewise.
37044 * math/s_significandf.c: Likewise.
37045 * math/s_significandl.c: Likewise.
37046 * math/w_acos.c: Likewise.
37047 * math/w_acosf.c: Likewise.
37048 * math/w_acosh.c: Likewise.
37049 * math/w_acoshf.c: Likewise.
37050 * math/w_acoshl.c: Likewise.
37051 * math/w_acosl.c: Likewise.
37052 * math/w_asin.c: Likewise.
37053 * math/w_asinf.c: Likewise.
37054 * math/w_asinl.c: Likewise.
37055 * math/w_atan2.c: Likewise.
37056 * math/w_atan2f.c: Likewise.
37057 * math/w_atan2l.c: Likewise.
37058 * math/w_atanh.c: Likewise.
37059 * math/w_atanhf.c: Likewise.
37060 * math/w_atanhl.c: Likewise.
37061 * math/w_cosh.c: Likewise.
37062 * math/w_coshf.c: Likewise.
37063 * math/w_coshl.c: Likewise.
37064 * math/w_dremf.c: Likewise.
37065 * math/w_exp10.c: Likewise.
37066 * math/w_exp10f.c: Likewise.
37067 * math/w_exp10l.c: Likewise.
37068 * math/w_exp2.c: Likewise.
37069 * math/w_exp2f.c: Likewise.
37070 * math/w_fmod.c: Likewise.
37071 * math/w_fmodf.c: Likewise.
37072 * math/w_fmodl.c: Likewise.
37073 * math/w_hypot.c: Likewise.
37074 * math/w_hypotf.c: Likewise.
37075 * math/w_hypotl.c: Likewise.
37076 * math/w_j0.c: Likewise.
37077 * math/w_j0f.c: Likewise.
37078 * math/w_j0l.c: Likewise.
37079 * math/w_j1.c: Likewise.
37080 * math/w_j1f.c: Likewise.
37081 * math/w_j1l.c: Likewise.
37082 * math/w_jn.c: Likewise.
37083 * math/w_jnf.c: Likewise.
37084 * math/w_jnl.c: Likewise.
37085 * math/w_lgamma.c: Likewise.
37086 * math/w_lgamma_r.c: Likewise.
37087 * math/w_lgammaf.c: Likewise.
37088 * math/w_lgammaf_r.c: Likewise.
37089 * math/w_lgammal.c: Likewise.
37090 * math/w_lgammal_r.c: Likewise.
37091 * math/w_log.c: Likewise.
37092 * math/w_log10.c: Likewise.
37093 * math/w_log10f.c: Likewise.
37094 * math/w_log10l.c: Likewise.
37095 * math/w_log2.c: Likewise.
37096 * math/w_log2f.c: Likewise.
37097 * math/w_log2l.c: Likewise.
37098 * math/w_logf.c: Likewise.
37099 * math/w_logl.c: Likewise.
37100 * math/w_pow.c: Likewise.
37101 * math/w_powf.c: Likewise.
37102 * math/w_powl.c: Likewise.
37103 * math/w_remainder.c: Likewise.
37104 * math/w_remainderf.c: Likewise.
37105 * math/w_remainderl.c: Likewise.
37106 * math/w_scalb.c: Likewise.
37107 * math/w_scalbf.c: Likewise.
37108 * math/w_scalbl.c: Likewise.
37109 * math/w_sinh.c: Likewise.
37110 * math/w_sinhf.c: Likewise.
37111 * math/w_sinhl.c: Likewise.
37112 * math/w_sqrt.c: Likewise.
37113 * math/w_sqrtf.c: Likewise.
37114 * math/w_sqrtl.c: Likewise.
37115 * math/w_tgamma.c: Likewise.
37116 * math/w_tgammaf.c: Likewise.
37117 * math/w_tgammal.c: Likewise.
37119 * po/ja.po: Update from translation team.
37121 2011-09-29 Andreas Jaeger <aj@suse.de>
37124 * sunrpc/netname.c (netname2host): Fix logic.
37128 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37130 * math/w_remainder.c (__remainder): Likewise.
37131 * math/w_remainderf.c (__remainderf): Likewise.
37132 * math/libm-test.inc (remainder_test): Add test cases.
37134 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37136 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37139 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37141 * string/test-memcmp.c: Avoid unncessary #defines.
37142 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37144 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37146 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37147 Use new sse2 version for core i3 - i7 as it's faster
37148 than sse42 version.
37149 (bit_Prefer_PMINUB_for_stringop): New.
37150 * sysdeps/x86_64/rawmemchr.S: Update.
37151 Replace with faster SSE2 version.
37152 * sysdeps/x86_64/memrchr.S: New file.
37153 * sysdeps/x86_64/memchr.S: Update.
37154 Replace with faster SSE2 version.
37156 2011-09-12 Marek Polacek <mpolacek@redhat.com>
37158 * elf/dl-load.c (lose): Add cast to avoid warning.
37160 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37162 * po/ca.po: Update from translation team.
37164 * inet/getnetgrent_r.c: Hook up nscd.
37165 * nscd/Makefile (routines): Add nscd_netgroup.
37166 (nscd-modules): Add netgroupcache.
37167 (CFLAGS-netgroupcache.c): Define.
37168 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37169 (cache_search): Add const to second parameter.
37170 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37172 (dbs): Add netgrdb entry.
37173 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37174 (verify_persistent_db): Handle netgrdb.
37175 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37176 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37178 (netgroup_response_header): Define.
37179 (innetgroup_response_header): Define.
37180 (datahead): Add netgroup_response_header and innetgroup_response_header
37182 * nscd/nscd.conf: Add entries for netgroup cache.
37183 * nscd/nscd.h (dbtype): Add netgrdb.
37184 (_PATH_NSCD_NETGROUP_DB): Define.
37185 (netgroup_iov_disabled): Declare.
37186 (xmalloc, xcalloc, xrealloc): Move declarations here.
37187 (cache_search): Adjust prototype.
37188 Add netgroup-related prototypes.
37189 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37190 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37191 (__nscd_innetgr): Declare.
37192 * nscd/selinux.c (perms): Use access_vector_t as element type and
37193 add netgroup-related initializers.
37194 * nscd/netgroupcache.c: New file.
37195 * nscd/nscd_netgroup.c: New file.
37196 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37197 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37198 For four parameters use innetgr.
37199 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37200 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37201 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37202 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37204 * nscd/connections.c (register_traced_file): Don't register file
37205 for disabled databases.
37207 2011-10-06 Ulrich Drepper <drepper@gmail.com>
37209 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37211 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37212 from tree and freeing node.
37214 2011-09-25 Jiri Olsa <jolsa@redhat.com>
37216 * nss/nsswitch.c (__nss_database_lookup): Handle
37217 nss_parse_service_list out of memory case.
37219 2011-09-15 Jiri Olsa <jolsa@redhat.com>
37221 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37222 out of memory case.
37224 2011-10-04 Andreas Schwab <schwab@redhat.com>
37226 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37227 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37229 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37230 elf_machine_rela, elf_machine_lazy_rel.
37231 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37232 (ELF_DYNAMIC_DO_REL): Likewise.
37233 (ELF_DYNAMIC_DO_RELA): Likewise.
37234 (ELF_DYNAMIC_RELOCATE): Likewise.
37235 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37236 to ELF_DYNAMIC_DO_REL.
37237 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37238 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37239 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37241 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37242 skip_ifunc, don't call ifunc function if non-zero.
37243 (elf_machine_rela): Likewise.
37244 (elf_machine_lazy_rel): Likewise.
37245 (elf_machine_lazy_rela): Likewise.
37246 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37247 (elf_machine_lazy_rel): Likewise.
37248 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37250 (elf_machine_lazy_rel): Likewise.
37251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37253 (elf_machine_lazy_rel): Likewise.
37254 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37255 (elf_machine_lazy_rel): Likewise.
37256 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37257 (elf_machine_lazy_rel): Likewise.
37258 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37259 (elf_machine_lazy_rel): Likewise.
37260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37261 (elf_machine_lazy_rel): Likewise.
37262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37263 (elf_machine_lazy_rel): Likewise.
37264 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37265 (elf_machine_lazy_rel): Likewise.
37267 2011-09-28 Ulrich Drepper <drepper@gmail.com>
37269 * nss/nss_files/files-init.c (_nss_files_init): Use static
37270 initialization for all the *_traced_file variables.
37272 2011-09-28 Andreas Schwab <schwab@redhat.com>
37274 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37276 2011-09-27 Roland McGrath <roland@hack.frob.com>
37279 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37281 2011-09-27 Andreas Schwab <schwab@redhat.com>
37283 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37284 Reread the line before reparsing it.
37286 2011-09-26 Andreas Schwab <schwab@redhat.com>
37288 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37290 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37291 Maxim Kuvyrkov <maxim@codesourcery.com>
37292 Joseph Myers <joseph@codesourcery.com>
37294 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37295 if needed for __stack_chk_guard.
37297 2011-09-19 Roland McGrath <roland@hack.frob.com>
37299 * sysdeps/posix/spawni.c (script_execute): Always define it.
37300 It will be optimized away if unused.
37301 (maybe_script_execute): New function.
37302 (__spawni): Call it.
37304 * Makerules: Don't include tls.make.
37305 (config-tls): Always set to thread.
37306 * tls.make.c: File removed.
37308 2011-09-19 Mike Frysinger <vapier@gentoo.org>
37310 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37311 * config.make.in (CPPFLAGS-config): New substituted variable.
37313 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37318 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37319 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37321 2011-09-15 Roland McGrath <roland@hack.frob.com>
37323 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37324 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37326 (CALL_FAIL): Likewise.
37327 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37328 (CALL_FAIL): Macro removed.
37329 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37331 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37333 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37334 for __FINITE_MATH_ONLY__ == 1.
37336 2011-09-15 Andreas Schwab <schwab@redhat.com>
37338 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37339 __ieee754_sqrt instead of sqrt.
37340 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37341 __ieee754_sqrtf instead of sqrtf.
37342 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37343 __floorf instead of floorf.
37344 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37345 __floorf, __truncf instead of floorf, truncf.
37347 2011-09-14 Ulrich Drepper <drepper@gmail.com>
37349 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37351 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37352 __extern_always_inline.
37353 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37356 2011-09-14 Andreas Schwab <schwab@redhat.com>
37358 * elf/rtld.c (dl_main): Also relocate in dependency order when
37359 doing symbol dependency testing.
37361 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37364 Always define `refsym'.
37366 2011-09-13 Andreas Schwab <schwab@redhat.com>
37368 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37369 (__FD_ELT): Renamed from __FDELT.
37370 * misc/bits/select2.h (__FD_ELT): Likewise.
37371 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37372 __FD_MASK instead of __FDELT, __FDMASK.
37373 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37375 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37378 * elf/Makefile (gen-ldd): Fix pattern.
37380 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37381 (init_tls): Likewise.
37383 2011-09-12 Ulrich Drepper <drepper@gmail.com>
37385 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37387 2011-09-12 Andreas Schwab <schwab@redhat.com>
37389 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37390 `struct cmsghdr *' instead of `void *'.
37391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37394 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37396 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37398 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37399 ldd_rewrite_script.
37401 2011-09-11 Ulrich Drepper <drepper@gmail.com>
37403 * configure.in: Remove --with-tls option.
37404 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37405 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37406 out in case it is missing.
37407 * sysdeps/ia64/elf/configure.in: Likewise.
37408 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37409 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37410 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37411 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37412 * sysdeps/sh/elf/configure.in: Likewise.
37413 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37414 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37415 * sysdeps/x86_64/elf/configure.in: Likewise.
37416 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37417 * sysdeps/mach/hurd/tls.h: Likewise.
37420 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37423 * configure.in: Fix use of AC_INIT.
37425 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37427 2011-09-10 Ulrich Drepper <drepper@gmail.com>
37429 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37431 * malloc/hooks.c: Likewise.
37434 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37435 variables statically.
37436 (narenas): Initialize.
37437 (list_lock): Initialize.
37438 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37439 initializtion of main_arena and list_lock. Small cleanups.
37440 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37441 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37442 Add initializers to main_arena and mp_.
37443 (malloc_state): Remove pagesize member. Change all users to use
37446 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37447 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37448 is always initialized.
37450 * malloc/malloc.c: Removed unused configurations and dead code.
37451 * malloc/arena.c: Likewise.
37452 * malloc/hooks.c: Likewise.
37453 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37455 * include/tls.h: Removed. USE___THREAD must always be defined.
37456 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37457 * elf/dl-libc.c: Likewise.
37458 * elf/dl-tsd.c: Likewise.
37459 * include/errno.h: Likewise.
37460 * include/netdb.h: Likewise.
37461 * include/resolv.h: Likewise.
37462 * inet/herrno-loc.c: Likewise.
37463 * inet/herrno.c: Likewise.
37464 * malloc/arena.c: Likewise.
37465 * malloc/hooks.c: Likewise.
37466 * malloc/malloc.c: Likewise.
37467 * resolv/res-state.c: Likewise.
37468 * resolv/res_libc.c: Likewise.
37469 * sysdeps/i386/dl-machine.h: Likewise.
37470 * sysdeps/ia64/dl-machine.h: Likewise.
37471 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37472 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37473 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37474 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37475 * sysdeps/sh/dl-machine.h: Likewise.
37476 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37477 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37478 * sysdeps/unix/i386/sysdep.S: Likewise.
37479 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37480 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37482 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37485 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37486 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37487 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37489 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37490 * sysdeps/x86_64/dl-machine.h: Likewise.
37491 * tls.make.c: Likewise.
37493 * configure.in: Remove --with-__thread option. Make tests for
37494 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37495 tls_model attribute fail if no support is available. Remove
37497 * Makeconfig: Adjust for dropped configure option. All features are
37499 * Makerules: Likewise.
37500 * Versions.def: Likewise.
37501 * argp/argp-fmtstream.c: Likewise.
37502 * argp/argp-fmtstream.h: Likewise.
37503 * argp/argp-help.c: Likewise.
37504 * assert/assert.c: Likewise.
37505 * config.h.in: Likewise.
37506 * config.make.in: Likewise.
37507 * configure: Likewise.
37508 * configure.in: Likewise.
37509 * csu/Versions: Likewise.
37510 * csu/init.c: Likewise.
37511 * elf/tst-audit2.c: Likewise.
37512 * elf/tst-tls10.c: Likewise.
37513 * elf/tst-tls10.h: Likewise.
37514 * elf/tst-tls11.c: Likewise.
37515 * elf/tst-tls12.c: Likewise.
37516 * elf/tst-tls14.c: Likewise.
37517 * elf/tst-tlsmod11.c: Likewise.
37518 * elf/tst-tlsmod12.c: Likewise.
37519 * elf/tst-tlsmod13.c: Likewise.
37520 * elf/tst-tlsmod13a.c: Likewise.
37521 * elf/tst-tlsmod14a.c: Likewise.
37522 * elf/tst-tlsmod15b.c: Likewise.
37523 * elf/tst-tlsmod16a.c: Likewise.
37524 * elf/tst-tlsmod16b.c: Likewise.
37525 * elf/tst-tlsmod7.c: Likewise.
37526 * elf/tst-tlsmod8.c: Likewise.
37527 * elf/tst-tlsmod9.c: Likewise.
37528 * gmon/gmon.c: Likewise.
37529 * grp/fgetgrent_r.c: Likewise.
37530 * grp/putgrent.c: Likewise.
37531 * hurd/fopenport.c: Likewise.
37532 * include/libc-symbols.h: Likewise.
37533 * include/tls.h: Likewise.
37534 * intl/gettextP.h: Likewise.
37535 * intl/loadinfo.h: Likewise.
37536 * locale/global-locale.c: Likewise.
37537 * locale/localeinfo.h: Likewise.
37538 * mach/devstream.c: Likewise.
37539 * malloc/arena.c: Likewise.
37540 * malloc/set-freeres.c: Likewise.
37541 * misc/err.c: Likewise.
37542 * misc/getttyent.c: Likewise.
37543 * misc/mntent_r.c: Likewise.
37544 * posix/getopt.c: Likewise.
37545 * posix/wordexp.c: Likewise.
37546 * pwd/fgetpwent_r.c: Likewise.
37547 * resolv/Versions: Likewise.
37548 * resolv/res_hconf.c: Likewise.
37549 * shadow/fgetspent_r.c: Likewise.
37550 * shadow/putspent.c: Likewise.
37551 * stdio-common/printf_fphex.c: Likewise.
37552 * stdio-common/tmpfile.c: Likewise.
37553 * stdlib/abort.c: Likewise.
37554 * stdlib/fmtmsg.c: Likewise.
37555 * sunrpc/auth_unix.c: Likewise.
37556 * sunrpc/clnt_perr.c: Likewise.
37557 * sunrpc/clnt_tcp.c: Likewise.
37558 * sunrpc/clnt_udp.c: Likewise.
37559 * sunrpc/clnt_unix.c: Likewise.
37560 * sunrpc/openchild.c: Likewise.
37561 * sunrpc/svc_simple.c: Likewise.
37562 * sunrpc/svc_tcp.c: Likewise.
37563 * sunrpc/svc_udp.c: Likewise.
37564 * sunrpc/svc_unix.c: Likewise.
37565 * sunrpc/xdr.c: Likewise.
37566 * sunrpc/xdr_array.c: Likewise.
37567 * sunrpc/xdr_rec.c: Likewise.
37568 * sunrpc/xdr_ref.c: Likewise.
37569 * sunrpc/xdr_stdio.c: Likewise.
37571 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37573 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37575 2011-07-03 Andreas Jaeger <aj@suse.de>
37577 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37578 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37579 regenerate with gen-libm-tests.pl.
37581 2010-05-12 Petr Baudis <pasky@suse.cz>
37584 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37585 around j0() zero points by switching to j1().
37586 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37587 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37589 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37591 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37593 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37595 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37598 Patch in part by Pavel Roskin <proski@gnu.org>.
37601 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37603 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37604 Free memory block if necessary.
37607 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37608 be NULL. Don't lock in this case.
37610 2011-09-09 Roland McGrath <roland@hack.frob.com>
37612 * elf/elf.h (ELFOSABI_GNU): New macro.
37613 (ELFOSABI_LINUX): Define to that.
37615 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37617 * string/strncat.c (strncat): Undef the symbol in case it has been
37618 defined in bits/string.h.
37620 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37622 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37624 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37627 2011-08-17 Andreas Jaeger <aj@suse.de>
37629 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37631 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37632 Ian Lance Taylor <iant@google.com>
37634 * math/libm-test.inc (lround_test): New testcase.
37635 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37637 2011-09-08 Ulrich Drepper <drepper@gmail.com>
37639 * Makefile: Remove support for automatic cvs check-ins.
37640 * Makerules: Likewise.
37641 * config.make.in: Likewise.
37642 * configure.in: Likewise.
37643 * intl/Makefile: Likewise.
37644 * locale/Makefile: Likewise.
37645 * po/Makefile: Likewise.
37646 * posix/Makefile: Likewise.
37647 * sysdeps/gnu/Makefile: Likewise.
37648 * sysdeps/mach/hurd/Makefile: Likewise.
37649 * sysdeps/sparc/sparc32/Makefile: Likewise.
37652 * posix/Makefile (bug-regex32-ENV): Define.
37653 Patch by John Stanley <jpsinthemix@verizon.net>.
37655 * misc/Makefile (headers): Add bits/select2.h.
37656 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37657 * misc/bits/select2.h: New file.
37658 * include/bits/select2.h: New file.
37659 * debug/Makefile (routines): Add fdelt_chk.
37660 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37661 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37663 * debug/fdelt_chk.c: New file.
37665 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37666 * wcsmbs/test-wmemcmp.c: Likewise.
37667 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37668 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37670 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37672 * string/Makefile (strop-tests): Add memcmp.
37673 * string/test-wmemcmp.c: New file.
37674 * string/test-memcmp.c: Add wmemcmp support.
37676 2011-09-08 Roland McGrath <roland@hack.frob.com>
37679 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37682 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37683 garbage value in a __mach_port_mod_refs call in the cases of the
37684 task-self and thread-self ports.
37686 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37688 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37690 2011-09-08 Andreas Schwab <schwab@redhat.com>
37692 * elf/dl-load.c (lose): Check for non-null L.
37694 2011-09-07 Ulrich Drepper <drepper@gmail.com>
37696 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37698 * elf/dl-libc.c (dlerror_run): Pass back error code from
37702 * elf/dl-load.c (lose): Free l_origin if it is valid.
37704 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37706 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37707 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37709 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37710 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37711 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37713 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37715 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37716 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37717 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37718 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37719 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37720 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37721 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37722 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37723 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37724 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37726 2011-08-15 Alan Modra <amodra@gmail.com>
37729 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37730 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37731 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37732 ppc_mcount to static-only-routines.
37733 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37735 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37736 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37738 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
37740 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37741 for finite and infinity parameters.
37743 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37745 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37746 and add nop instructions for throughput optimization.
37747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37749 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
37751 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37752 aligned copy for power7 with vector-scalar instructions.
37753 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37755 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
37757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37760 2011-09-07 Andreas Schwab <schwab@redhat.com>
37763 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37766 2011-09-07 Ulrich Drepper <drepper@gmail.com>
37768 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37769 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37770 syscall wrapper around clock_gettime in __vdso_clock_gettime.
37771 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37774 2011-09-06 Ulrich Drepper <drepper@gmail.com>
37776 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37777 Forgot to demangle the pointer.
37779 * sysdeps/i386/sysdep.h: Define atom_text_section.
37780 * sysdeps/x86_64/sysdep.h: Likewise.
37781 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37782 section with atom_text_section.
37783 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37784 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37785 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37786 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37787 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37789 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37790 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37791 already be defined. Change to take two parameters and don't assign
37792 result to variable. Adjust all users.
37793 Define INTERNAL_GETTIME if not already defined.
37794 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37797 HAVE_CLOCK_GETTIME_VSYSCALL.
37798 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37800 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37801 gettimeofday vsyscall, just use time.
37803 2011-09-06 Andreas Schwab <schwab@redhat.com>
37805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37808 2011-09-06 Ulrich Drepper <drepper@gmail.com>
37810 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37814 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37815 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37816 syscall if possible.
37818 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37820 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37821 e_ident. Don't pass to find_mapsXX.
37822 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37824 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37827 strchr-sse2-no-bsf strrchr-sse2-no-bsf
37828 * sysdeps/x86_64/multiarch/strchr.S: Update.
37829 Check bit_slow_BSF bit.
37830 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37831 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37832 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37834 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37837 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37839 (tryshell): Define.
37840 (__spawni): Change last parameter to be flag. Test
37841 SPAWN_XFLAGS_USE_PATH flag to use path or not.
37842 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37843 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37844 * posix/spawni.c: Likewise.
37845 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37846 * posix/spawnp.c: Likewise. Change normal version to use
37847 SPAWN_XFLAGS_USE_PATH.
37848 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37849 SPAWN_XFLAGS_TRY_SHELL.
37852 * posix/glob.h: Remove gcc 1.x support.
37855 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37857 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37860 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37862 * sysdeps/i386/i686/multiarch/strchr.S: New file.
37863 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37864 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37865 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37866 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37867 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37869 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37871 * sysdeps/x86_64/wcscmp.S: New file.
37873 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37874 wcscmp-c wcscmp-sse2
37875 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37876 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37877 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37878 * wcsmbs/wcscmp.c: Allow renaming.
37880 2011-09-05 David S. Miller <davem@davemloft.net>
37882 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37883 stack slot, rather than the struct return pointer slot.
37884 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37885 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37887 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37889 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37891 * po/ja.po: Update from translation team.
37894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37895 kernel in 64-bit binaries.
37897 2011-09-01 David S. Miller <davem@davemloft.net>
37899 * elf/elf.h (HWCAP_SPARC_*): Move to..
37900 * sysdeps/sparc/sysdep.h: this new file and add new values.
37901 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37902 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37903 _DL_HWCAP_COUNT to 24.
37904 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37906 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37907 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37908 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37910 instead of magic constants.
37911 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37913 2011-08-31 David S. Miller <davem@davemloft.net>
37915 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37917 Reimplement to do errno handling inline.
37918 (SYSCALL_ERROR_HANDLER): New macro.
37919 (__SYSCALL_STRING): Do not do errno handling in asm.
37920 (__CLONE_SYSCALL_STRING): Delete.
37921 (__INTERNAL_SYSCALL_STRING): Delete.
37922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37923 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37924 (PSEUDO): Reimplement to do errno handling inline.
37925 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
37926 (SYSCALL_ERROR_HANDLER): New macro.
37927 (__SYSCALL_STRING): Do not do errno handling in asm.
37928 (__CLONE_SYSCALL_STRING): Delete.
37929 (__INTERNAL_SYSCALL_STRING): Delete.
37930 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
37931 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37933 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
37934 (inline_syscall*): Add 'err' argument.
37935 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
37936 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
37937 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
37938 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
37940 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
37941 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37943 2011-08-30 Andreas Schwab <schwab@redhat.com>
37945 * elf/rtld.c (dl_main): Relocate objects in dependency order.
37947 2011-08-29 Jiri Olsa <jolsa@redhat.com>
37949 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
37952 2011-08-24 David S. Miller <davem@davemloft.net>
37954 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
37956 2011-08-24 Andreas Schwab <schwab@redhat.com>
37958 * elf/Makefile: Add rules to build and run unload8 test.
37959 * elf/unload8.c: New file.
37960 * elf/unload8mod1.c: New file.
37961 * elf/unload8mod1x.c: New file.
37962 * elf/unload8mod2.c: New file.
37963 * elf/unload8mod3.c: New file.
37965 * elf/dl-close.c (_dl_close_worker): Reset private search list if
37968 2011-08-23 David S. Miller <davem@davemloft.net>
37970 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
37971 subtract stack bias.
37972 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
37973 %sp not %fp in calculations.
37974 (_JMPBUF_UNWINDS_ADJ): Likewise.
37976 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
37977 (aio_suspend): Call it to force an exception region around the
37978 AIO_MISC_WAIT() invocation.
37980 2011-08-23 Andreas Schwab <schwab@redhat.com>
37982 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
37985 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
37987 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
37989 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
37990 and <dl-machine.h>.
37991 (Elf64_FuncDesc): Remove.
37993 2011-08-22 David S. Miller <davem@davemloft.net>
37995 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
37996 sigaltstack check, add missing cfi directives.
37997 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
37998 missing cfi directives, and sigaltstack handling.
38000 2011-08-16 Andreas Schwab <schwab@redhat.com>
38003 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38004 object is seen twice.
38005 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38007 * elf/Makefile (distribute): Add tst-initorder2.c.
38008 (tests): Add tst-initorder2.
38009 (modules-names): Add tst-initorder2a tst-initorder2b
38010 tst-initorder2c tst-initorder2d. Add rules to build them.
38011 ($(objpfx)tst-initorder2.out): New rule.
38012 * elf/tst-initorder2.c: New file.
38013 * elf/tst-initorder2.exp: New file.
38015 2011-08-22 Andreas Schwab <schwab@redhat.com>
38017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38019 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38020 dependencies back to end of function.
38022 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38023 $(elfobjdir)/ld.so.
38025 2011-08-21 Ulrich Drepper <drepper@gmail.com>
38027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38028 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38029 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38030 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38031 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38032 of __vdso_gettimeofday.
38033 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38034 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38036 (_libc_vdso_platform_setup): Remove initialization of
38037 __vdso_gettimeofday and __vdso_time.
38039 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38041 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38042 and fgetc_unlocked.
38043 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38046 * elf/dl-open.c (add_to_global): Report additions to the global scope
38047 for LD_DEBUG=scopes.
38048 (dl_open_worker): Also print scope of newly loaded dependencies.
38049 (_dl_show_scope): Indicate if there is no scope.
38052 * stdio-common/Makefile (tests): Add bug24.
38053 * stdio-common/bug24.c: New file.
38055 2011-08-19 Andreas Jaeger <aj@suse.de>
38058 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38059 non-existant file when using close-on-exec mode.
38061 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38063 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38064 the very first instruction.
38066 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38067 the CFI state in the end.
38068 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38069 inclusion of dl-trampoline.h.
38070 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38072 2011-08-19 Andreas Schwab <schwab@redhat.com>
38074 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38075 expectations for long double.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38078 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38080 2011-08-14 David S. Miller <davem@davemloft.net>
38082 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38083 artificual limit depends upon the system page size.
38085 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38087 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38088 * resolv/Makefile: Define CFLAGS-libresolv.
38090 2011-08-17 Andreas Schwab <schwab@redhat.com>
38092 * nss/makedb.c (compute_tables): Make variables used in nested
38095 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38097 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38098 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38099 if buffer was too small.
38101 * elf/pldd.c (main): Attach to all threads in the process.
38102 Rewrite /proc handling to use *at functions.
38104 2011-08-16 Ulrich Drepper <drepper@gmail.com>
38106 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38107 specifies first scope to show.
38108 (dl_open_worker): Update callers. Move printing scope of new
38109 object to before the relocation.
38110 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38111 * sysdeps/generic/ldsodefs.h: Update declaration.
38113 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38114 string for the scope number.
38116 2011-08-14 Ulrich Drepper <drepper@gmail.com>
38118 * nscd/servicescache.c (cache_addserv): Make sure written is always
38121 2011-08-14 Roland McGrath <roland@hack.frob.com>
38123 * sysdeps/i386/i486/bits/atomic.h
38124 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38125 statement expression, so as to suppress "set but not used" warning.
38126 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38128 * string/strncat.c (STRNCAT): Use prototype definition.
38130 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38131 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38133 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38134 (localedef-modules): Add localedef.
38135 (locale-modules): Add locale.
38137 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38138 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38139 to avoid a warning.
38141 2011-08-14 David S. Miller <davem@davemloft.net>
38143 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38144 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38146 2011-08-13 Ulrich Drepper <drepper@gmail.com>
38148 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38149 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38150 * elf/rtld.c (dl_main): Set l_name of vDSO.
38151 Call _dl_show_scope when DL_DEBUG_SCOPES.
38152 (process_dl_debug): Recognize scopes flag and also set it for all.
38153 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38154 Declare _dl_show_scope.
38156 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38157 (do_dlopen): Pass caller_dlopen to dl_open.
38158 (__libc_dlopen_mode): Initialize caller_dlopen.
38160 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38161 of libc. Make tolower call locale-independent. Optimize a bit by
38162 using isdigit instead of isalnum.
38163 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38165 2011-08-12 Ulrich Drepper <drepper@gmail.com>
38167 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38168 was a dependency or dynamically loaded.
38170 2011-08-11 Ulrich Drepper <drepper@gmail.com>
38172 * intl/l10nflist.c: Allow architecture-specific pop function.
38173 * sysdeps/x86_64/l10nflist.c: New file.
38175 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38178 2011-08-10 Andreas Schwab <schwab@redhat.com>
38180 * include/dirent.h: Add libc_hidden_proto for scandirat and
38181 scandirat64. Don't declare __scandirat64.
38182 * dirent/scandirat.c: Add libc_hidden_def.
38183 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38184 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38186 2011-08-10 David S. Miller <davem@davemloft.net>
38188 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38191 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38192 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38194 2011-08-09 Ulrich Drepper <drepper@gmail.com>
38196 * Versions.def [libc]: Add GLIBC_2.15.
38197 * dirent/Makefile (routines): Add scandirat and scandirat64.
38198 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38200 * dirent/dirent.h: Declare scandirat and scandirat64.
38201 * dirent/scandirat.c: New file.
38202 * dirent/scandirat64.c: New file.
38203 * sysdeps/wordsize-64/scandirat.c: New file.
38204 * sysdeps/wordsize-64/scandirat64.c: New file.
38205 * dirent/opendir.c: Define opendirat.
38206 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38208 * dirent/scandir64.c: Adjust for scandir.c change.
38209 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38210 __scandirat64, and __scandir_cancel_handler.
38211 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38212 additional parameter and use openat instead of open (outside of ld.so).
38213 Add new __opendir as wrapper around __opendirat.
38214 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38215 here without requiring old scandirat implementation.
38217 2011-08-08 Ulrich Drepper <drepper@gmail.com>
38219 * dirent/scandir.c (cancel_handler): Renamed to
38220 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38221 defined. Adjust users.
38222 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38223 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38225 2011-08-04 Ulrich Drepper <drepper@gmail.com>
38227 * string/test-string.h (IMPL): Use __STRING to expand name and then
38230 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38233 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38235 * string/Makefile: Update.
38236 (strop-tests): Append strncat.
38237 * string/test-wcscmp.c: New file.
38238 New comprehensive test for wcscmp.
38239 * string/test-strcmp.c: Update.
38240 (WIDE): New define.
38242 2011-07-22 Andreas Schwab <schwab@redhat.com>
38244 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38247 2011-07-26 Andreas Schwab <schwab@redhat.com>
38249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38250 encoding to ACE if AI_IDN.
38252 2011-08-01 Jakub Jelinek <jakub@redhat.com>
38254 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38255 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38257 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38259 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38260 Fix overflow bug in strncat.
38261 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38263 * string/test-strncat.c: Update.
38264 Add new tests for checking overflow bugs.
38266 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38269 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38270 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38271 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38272 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38273 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38274 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38275 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38276 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38279 (USE_AS_STRCAT): Define.
38280 Add strcat and strncat support.
38281 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38283 2011-07-25 Andreas Schwab <schwab@redhat.com>
38285 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38286 __n bigger than INT_MAX+1.
38287 (__strncmp_g): Likewise.
38289 2011-07-23 Ulrich Drepper <drepper@gmail.com>
38291 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38292 * libio/stido.h: Likewise.
38294 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38299 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38300 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38302 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38303 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38306 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38311 (_dl_x86_64_save_sse): Likewise.
38313 2011-07-22 Ulrich Drepper <drepper@gmail.com>
38315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38317 (_dl_x86_64_save_sse): Likewise.
38319 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38321 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38323 2011-07-21 Andreas Schwab <schwab@redhat.com>
38325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38327 (_dl_x86_64_save_sse): Use correct AVX check.
38329 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38331 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38332 bug in strncpy/strncat.
38333 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38335 2011-07-21 Ulrich Drepper <drepper@gmail.com>
38337 * string/tester.c (test_strcat): Add tests for different alignments
38338 of source and destination.
38339 (test_strncat): Likewise.
38341 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38344 * posix/glob.c (glob): Check passed in values before using them in
38345 expressions to avoid some overflows.
38346 (glob_in_dir): Likewise.
38349 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38350 check for AVX enablement so that we don't crash with old kernels and
38352 * elf/tst-audit4.c: Add same checks here.
38353 * elf/tst-audit6.c: Likewise.
38355 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38357 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38359 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38361 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38363 * po/cs.po: Update from translation team.
38364 * po/bg.po: Likewise.
38366 2011-07-12 Marek Polacek <mpolacek@redhat.com>
38368 * misc/sys/cdefs.h: Add support for const attribute.
38369 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38370 to gnu_dev_{major,minor,makedev} functions.
38372 2011-07-20 Marek Polacek <mpolacek@redhat.com>
38374 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38376 2011-07-20 Andreas Schwab <schwab@redhat.com>
38378 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38381 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38383 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38384 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38385 register in order to avoid conflicts with the soft frame pointer
38386 being held in r11 when necessary.
38387 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38388 (INTERNAL_VSYSCALL_NCS): Likewise.
38390 2011-07-14 Marek Polacek <mpolacek@redhat.com>
38392 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38393 * elf/dl-fini.c (_dl_fini): Adjust caller.
38394 * elf/dl-close.c (_dl_close_worker): Likewise.
38395 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38397 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38399 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38400 "aux_cache->nlibs < 0".
38402 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38403 in the reload-count case.
38405 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38408 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38409 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38410 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38411 * sysdeps/x86_64/multiarch/strcat.S: New file.
38412 * sysdeps/x86_64/multiarch/strncat.S: New file.
38413 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38414 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38415 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38416 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38417 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38418 (USE_AS_STRCAT): Define.
38419 Add strcat and strncat support.
38420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38422 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38423 * string/strncat.c: Update.
38424 (USE_AS_STRNCAT): Define.
38425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38426 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38428 * sysdeps/x86_64/multiarch/init-arch.h
38429 (bit_Prefer_PMINUB_for_stringop): New.
38430 (index_Prefer_PMINUB_for_stringop): Likewise.
38431 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38432 bit_Prefer_PMINUB_for_stringop.
38434 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38436 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38438 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38439 of casting of buffer.
38440 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38441 buffer32 and buffer64.
38442 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38443 writes instead of casting of buffer.
38444 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38446 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38449 2011-07-19 Andreas Schwab <schwab@redhat.com>
38451 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38453 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38455 * nscd/nscd.c (termination_handler): Don't do anything for a database
38456 if it has not yet been initialized.
38458 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38460 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38462 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38464 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38466 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38468 * po/nl.po: Update from translation team.
38469 * po/sv.po: Likewise.
38471 2011-07-16 Roland McGrath <roland@hack.frob.com>
38473 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38474 now disallowed by GCC.
38476 * configure.in (use-default-link): Default to yes if a test -shared
38477 link meets our qualifications.
38478 * configure: Regenerated.
38480 * config.make.in (output-format): New variable.
38481 * configure.in: Check for ld --print-output-format support.
38482 * configure: Regenerated.
38483 * Makerules ($(common-objpfx)format.lds)
38484 [$(output-format) != unknown]: Just use $(output-format),
38485 instead of the linker-script munging.
38487 2011-07-14 Roland McGrath <roland@hack.frob.com>
38489 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38490 of $(common-objpfx)shlib.lds.
38491 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38493 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38494 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38496 * configure.in (-z relro check): Adjust test code to add a large
38497 writable data section after it.
38498 * configure: Regenerated.
38500 2011-07-11 Roland McGrath <roland@hack.frob.com>
38502 * configure.in (-z relro check): Fix test code to make the variable
38504 * configure: Regenerated.
38506 2011-07-11 Ulrich Drepper <drepper@gmail.com>
38508 * nscd/nscd.h (struct traced_file): Define.
38509 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38510 elements. Add traced_files.
38511 (inotify_fd): Declare.
38512 (register_traced_file): Declare.
38513 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38514 (inotify_fd): Export.
38515 (resolv_conf_descr): Remove.
38516 (nscd_init): Move inotify descriptor creation to main.
38517 Don't register files for notification here.
38518 (register_traced_file): New function.
38519 (invalidate_cache): Don't use reset_res to determine whether to call
38520 res_init, go through the list of registered files.
38521 (main_loop_poll): The inotify descriptors are now stored in the
38522 structures for the traced files.
38523 (main_loop_epoll): Likewise
38524 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38525 to __nss_disable_nscd.
38526 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38527 for a database anymore. Check the records for all the registered
38529 * nss/Makefile (libnss_files-routines): Add files-init.
38530 (libnss_db-routines): Add db-init.
38531 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38532 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38533 * nss/nss_db/db-init.c: New file.
38534 * nss/nss_files/files-init.c: New file.
38535 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38536 __nss_lookup_function.
38537 (__nss_lookup_function): Call nss_load_library.
38538 (nss_load_all_libraries): New function.
38539 (__nss_disable_nscd): Take parameter with callback function for files
38540 to register. Set is_nscd. Load all the DSOs for the NSS modules
38541 used for the cached services.
38542 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38543 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38544 options for features to all the files in nscd.
38546 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38548 2011-07-10 Roland McGrath <roland@hack.frob.com>
38550 * csu/elf-init.c (__libc_csu_init): Comment typo.
38552 2011-07-09 Ulrich Drepper <drepper@gmail.com>
38554 * po/pl.po: Update from translation team.
38555 * po/ja.po: Likewise.
38556 * po/ru.po: Likewise.
38557 * po/ko.po: Likewise.
38558 * po/fr.po: Likewise.
38560 2011-07-09 Roland McGrath <roland@hack.frob.com>
38562 * configure.in (.ctors/.dtors header and trailer check):
38563 Use an empirical test on a built program.
38564 * configure: Regenerated.
38566 * configure.in (-z relro check): Use an empirical test on a built DSO.
38567 Detect, but do not require, on ia64.
38568 * configure: Regenerated.
38570 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38571 Update tests that use readelf to use $READELF instead.
38572 * configure: Regenerated.
38574 2011-07-08 Ulrich Drepper <drepper@gmail.com>
38576 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38577 if the result is not used.
38579 2011-07-05 Andreas Jaeger <aj@suse.de>
38582 * stdlib/tst-strtod.c: Add testcase.
38584 2011-07-07 Ulrich Drepper <drepper@gmail.com>
38586 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38587 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38588 The latter has a higher limit. Take additional parameter to pass to
38590 (__pathconf): Pass file to __statfs_link_max.
38591 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38593 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38597 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38598 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38601 (__statfs_filesize_max): Likewise.
38602 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38604 2011-07-05 Andreas Jaeger <aj@suse.de>
38606 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38608 2011-07-06 Marek Polacek <mpolacek@redhat.com>
38610 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38612 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38615 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38617 * Makefile (strop-tests): Add strncat.
38618 * string/test-strncat.c: New file.
38620 2011-06-30 Marek Polacek <mpolacek@redhat.com>
38622 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38624 2011-06-21 Andreas Jaeger <aj@suse.de>
38626 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38627 Copy rule from iconvdata/Makefile.
38629 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38632 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38633 but no long options are defined, just return 'W'.
38635 2011-06-22 Marek Polacek <mpolacek@redhat.com>
38638 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38640 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38642 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38644 (innetgr): Likewise.
38646 2011-07-05 Roland McGrath <roland@hack.frob.com>
38648 * config.make.in (install_root): Default to $(DESTDIR).
38650 2011-07-05 Ulrich Drepper <drepper@gmail.com>
38652 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38654 2011-07-02 Roland McGrath <roland@hack.frob.com>
38656 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38658 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38659 containing directory rather than embedding absolute directory names.
38661 * scripts/check-local-headers.sh: Rewritten using awk.
38662 Match by word, not by line. Print error messages for matches.
38663 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38665 * Makerules [shlib-lds-flags empty]:
38666 ($(common-objpfx)libc_pic.opts): New target.
38667 ($(common-objpfx)libc_pic.os.clean): New target.
38668 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38670 * config.make.in (OBJCOPY): New variable.
38671 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38672 * configure: Regenerated.
38674 * config.make.in (use-default-link): New variable.
38675 * configure.in (use_default_link): Grok --with-default-link to set it.
38676 * configure: Regenerated.
38677 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38678 (shlib-lds, shlib-lds-flags): Define to empty.
38680 * Makerules (shlib-lds): New variable.
38681 (shlib-lds-flags): New variable.
38682 (build-shlib, build-moduile, build-module-asneeded): Use it.
38683 ($(common-objpfx)libc.so): Use $(shlib-lds).
38684 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38685 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38687 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38688 DT_FLAGS/DT_FLAGS_1 with zero flags.
38690 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38691 linker script munging.
38693 2011-07-02 Ulrich Drepper <drepper@gmail.com>
38695 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38697 * crypt/sha512.c (sha512_process_block): Perform total addition using
38698 128-bit if possible.
38699 (__sha512_finish_ctx): Likewise.
38700 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38702 * crypt/sha256.c (SWAP64): Define.
38703 (sha256_process_block): Perform total addition using 64-bit if
38705 (__sha256_finish_ctx): Likewise.
38707 2011-07-01 Ulrich Drepper <drepper@gmail.com>
38709 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38710 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38711 * nscd/hstcache.c (cache_addhst): Likewise.
38712 * nscd/grpcache.c (cache_addgr): Likewise.
38713 * nscd/aicache.c (addhstaiX): Likewise
38714 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38716 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
38718 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38719 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38720 * nscd/hstcache.c (cache_addhst): Likewise.
38721 * nscd/grpcache.c (cache_addgr): Likewise.
38722 * nscd/aicache.c (addhstaiX): Likewise
38724 2011-07-01 Andreas Schwab <schwab@redhat.com>
38726 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38727 domain only when needed.
38729 2011-06-30 Andreas Schwab <schwab@redhat.com>
38731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38732 is always restored.
38734 2011-06-29 Ulrich Drepper <drepper@gmail.com>
38736 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38737 are re-adding the entry.
38738 * nscd/servicescache.c (cache_addserv): Likewise.
38740 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
38742 * sysdeps/generic/dl-irel.h: fix protection against multiple
38744 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38746 2011-06-28 Ulrich Drepper <drepper@gmail.com>
38749 * malloc/memusage.sh: Fix quoting in message.
38750 * debug/xtrace.sh: Likewise.
38752 * configure.in: Remove support for --experimental-malloc option, make
38754 * config.make.in: Likewise.
38755 * malloc/Makefile: Likewise.
38757 2011-06-27 Andreas Schwab <schwab@redhat.com>
38759 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38760 two-byte characters.
38762 2011-06-27 Roland McGrath <roland@hack.frob.com>
38764 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38765 AC_CACHE_CHECK invocation.
38766 * configure: Regenerated.
38768 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38770 2011-06-27 Ulrich Drepper <drepper@gmail.com>
38773 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
38774 bit from old_res_options.
38776 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38778 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38779 value type for setfct.
38781 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
38783 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38784 __gettimeofday instead of gettimeofday.
38786 2011-06-26 Ulrich Drepper <drepper@gmail.com>
38788 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38790 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
38792 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38794 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38797 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38800 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38801 strcpy-sse2-unaligned strncpy-sse2-unaligned
38802 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38803 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38804 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38805 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38806 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38808 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38809 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38810 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38811 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38812 (STRCPY): Support SSE2 and SSSE3 versions.
38814 2011-06-24 Ulrich Drepper <drepper@gmail.com>
38817 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38818 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38819 kernels which artificially limit size of requests.
38821 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38824 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38825 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38826 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38827 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38828 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38829 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38830 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38831 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38833 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38834 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38835 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38836 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38837 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38839 Enable unaligned load optimization for Intel Core i3, i5 and i7
38841 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38843 (index_Fast_Unaligned_Load): Define.
38844 (HAS_FAST_UNALIGNED_LOAD): Define.
38846 2011-06-23 Marek Polacek <mpolacek@redhat.com>
38848 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38850 2011-06-22 Ulrich Drepper <drepper@gmail.com>
38853 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38854 until it is clear that the information is realy needed.
38855 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38857 2011-06-22 Andreas Schwab <schwab@redhat.com>
38859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38861 2011-06-22 Ulrich Drepper <drepper@gmail.com>
38863 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38864 /sys/devices/system/cpu/online if it is usable.
38866 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38867 reading the information from the /proc filesystem to once a second.
38869 2011-06-21 Andreas Jaeger <aj@suse.de>
38871 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38872 NULL after inclusion of kernel headers.
38874 2011-06-21 Ulrich Drepper <drepper@gmail.com>
38876 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38877 calls to internal_setent.
38880 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38881 addresses using gethostbyname4_r ignore IPv4 addresses.
38883 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38884 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
38886 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38888 2011-06-20 David S. Miller <davem@davemloft.net>
38890 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38892 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38894 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38895 (elf_irel): Use it.
38896 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38897 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38898 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38899 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38900 * sysdeps/x86_64/dl-irel.h: Likewise.
38902 * elf/dl-runtime.c: Use elf_ifunc_invoke.
38903 * elf/dl-sym.c: Likewise.
38905 2011-06-15 Ulrich Drepper <drepper@gmail.com>
38907 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
38908 need to dereference resplen2.
38910 2011-06-14 Andreas Schwab <schwab@redhat.com>
38912 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38914 2011-06-15 Ulrich Drepper <drepper@gmail.com>
38916 * Makeconfig: Define vardbdir and inst_vardbdir.
38917 * nss/Makefile: Add rules to install db-Makefile.
38919 * nss/nss_db/db-XXX.c: Cleanup.
38921 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38922 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38924 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38925 * nss/makedb.c: Implement -g option to specify that value strings
38926 are generated and should not be added to table iterated over for
38928 * nss/nss_db/db-initgroups.c: New file.
38930 * nss/getent.c: Add support for initgroups lookups through getgrouplist
38933 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
38934 (internal_getgrouplist): Adjust to name change.
38935 Update use_initgroups_entry if this is not the first call.
38936 * nss/databases.def: Add initgroups entry.
38938 * nss/makedb.c (compute_tables): Check result of multiple hash table
38939 sizes to minimize maximum chain length.
38941 2011-06-14 Ulrich Drepper <drepper@gmail.com>
38943 * Versions.def: Add entry for libnss_db.
38944 * shlib-versions: Likewise.
38945 * nss/Makefile: Add rules to build libnss_db.
38946 * nss/Versions: Add libnss_db information. Organize libnss_files
38948 * nss/db-Makefile: Add gshadow support. Change rules for the new
38949 makedb progra. Some minor improvements to generate smaller files.
38950 * nss/nss_db/nss_db.h: Move NSS database header data structures to
38952 * nss/makedb.c: ...here.
38953 Improve database format to be smaller and require less memory at
38955 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
38957 * nss/nss_db/db-netgrp.c: Likewise.
38958 * nss/nss_db/db-open.c: Likewise.
38959 * nss/nss_files/flies-XXX.x: Adjust comments.
38960 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
38961 * nss/nss_files/files-grp.c: Likewise.
38962 * nss/nss_files/files-hosts.c: Likewise.
38963 * nss/nss_files/files-network.c: Likewise.
38964 * nss/nss_files/files-proto.c: Likewise.
38965 * nss/nss_files/files-pwd.c: Likewise.
38966 * nss/nss_files/files-rpc.c: Likewise.
38967 * nss/nss_files/files-service.c: Likewise.
38968 * nss/nss_files/files-sgrp.c: Likewise.
38969 * nss/nss_files/files-spwd.c: Likewise.
38970 * nss/nss_db/db-alias.c: Removed.
38971 * nss/nss_db/dummy-db.h: Removed.
38973 2011-06-02 Ulrich Drepper <drepper@gmail.com>
38975 * nss/makedb.c: Rewritten to not use database library.
38976 * nss/Makefile: Update to build new makedb program.
38978 2011-06-14 Andreas Jaeger <aj@suse.de>
38980 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
38981 memset declaration.
38983 2011-06-10 Andreas Schwab <schwab@redhat.com>
38985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
38988 2011-06-10 Roland McGrath <roland@hack.frob.com>
38990 * Makerules (shlib.lds): Fail if the linker script comes out empty.
38991 * elf/Makefile ($(objpfx)ld.so): Likewise.
38993 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
38994 Don't list ld.so twice in dependencies.
38996 * posix/bug-regex31.c: Include <stdlib.h>.
38998 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39000 * nis/nss_compat/compat-spwd.c
39001 (getspent_next_nss_netgr): Remove unused variable.
39002 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39004 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39005 nonmembers" output to use the right array.
39007 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39009 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39011 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39012 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39013 * catgets/gencat.c (read_input_file): Likewise.
39014 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39016 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39017 variable definition inside #if's controlling its use.
39019 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39021 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39023 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39025 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39028 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39030 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39031 * configure: Regenerated.
39033 * Makerules: Revert last change.
39034 * elf/Makefile: Likewise.
39036 2011-06-09 Roland McGrath <roland@hack.frob.com>
39038 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39039 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39040 (reloc-link): Likewise.
39042 2011-06-09 Ulrich Drepper <drepper@gmail.com>
39044 * elf/Makefile: Add rules to build pldd.
39045 * elf/pldd.c: New file.
39046 * elf/pldd-xx.c: New file.
39048 2011-06-07 Ulrich Drepper <drepper@gmail.com>
39050 * version.h: Update for 2.15 development version.
39052 2011-06-07 David S. Miller <davem@davemloft.net>
39054 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39056 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39057 elf_machine_lazy_rel): Likewise.
39058 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39059 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39060 elf_machine_lazy_rel): Likewise.
39061 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39062 dl_hwcap via passed in argument.
39063 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39066 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39068 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39070 2011-06-06 Roland McGrath <roland@hack.frob.com>
39073 * manual/fdl-1.1.texi: New file, verbatim from:
39074 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39075 * manual/lgpl-2.1.texi: New file, verbatim from:
39076 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39077 * manual/Makefile (licenses): New variable, list those new file names.
39079 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39081 * manual/fdl.texi: File removed.
39082 * manual/lesser.texi: File removed.
39083 * manual/libc.texinfo (Copying, Documentation License):
39084 Use new @include file names, put @appendix directive before @include.
39086 2011-06-04 Jakub Jelinek <jakub@redhat.com>
39089 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39090 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39091 (mq_open): Add __NTH.
39093 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39096 Assume Intel Core i3/i5/i7 processor if AVX is available.
39098 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39103 2011-05-31 Andreas Schwab <schwab@redhat.com>
39105 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39106 memory. Use alloca_account. Fix memory leak when retrying.
39108 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39110 * version.h (RELEASE): Bump for 2.14 release.
39111 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39113 * config.make.in (RANLIB): Remove entry.
39115 2011-05-30 Ulrich Drepper <drepper@gmail.com>
39117 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39118 (libc.pot): Work around missing support for .ksh extension in xgettext.
39121 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39122 if both request failed.
39123 (send_dg): In case of server errors clear resplen or *resplen2.
39126 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39127 when there are multiple maps.
39128 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39129 (_dl_fini): Remove test here.
39131 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39133 2011-05-29 Ulrich Drepper <drepper@gmail.com>
39136 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39137 bit from old_res_options.
39138 (gaih_inet): Likewise.
39141 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39144 * resolv/res_init.c (res_setoptions): Make the code more compact.
39147 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39151 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39153 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39156 * malloc/malloc.h: Declare malloc hook variables as volatile.
39158 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39162 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39163 raise in the comment.
39164 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39165 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39166 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39168 2011-05-28 Ulrich Drepper <drepper@gmail.com>
39171 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39172 grow the buffers more if it already has to be sufficient.
39173 (build_wcs_upper_buffer): Likewise.
39174 * posix/regexec.c (check_matching): Likewise.
39175 (clean_state_log_if_needed): Likewise.
39176 (extend_buffers): Don't enlarge buffers beyond size of the input
39178 Patches mostly by Emil Wojak <emil@wojak.eu>.
39179 * posix/bug-regex32.c: New file.
39180 * posix/Makefile (tests): Add bug-regex32.
39182 * locale/findlocale.c (_nl_find_locale): Return right away if
39183 _nl_explode_name failed.
39184 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39186 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39188 * debug/xtrace.sh: Unify messages.
39189 * malloc/memusage.sh: Likewise.
39192 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39193 time symbol from vDSO. Substitute with vsyscall if not available.
39194 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39197 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39198 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39199 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39200 Add sendmmsg and internal_sendmmsg.
39201 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39202 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39203 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39205 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39206 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39207 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39209 2011-05-27 Ulrich Drepper <drepper@gmail.com>
39212 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39213 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39215 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39219 * iconvdata/Makefile (tests): Add bug-iconv9.
39220 * iconvdata/bug-iconv9.c: New file.
39222 2011-05-27 Andreas Schwab <schwab@redhat.com>
39225 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39227 2011-05-25 Jakub Jelinek <jakub@redhat.com>
39229 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39230 (struct user_regs_struct): Change intcs field back to cs.
39232 2011-05-25 Ulrich Drepper <drepper@gmail.com>
39234 * po/ja.po: Update from translation team.
39236 2011-05-23 Ulrich Drepper <drepper@gmail.com>
39239 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39240 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39242 2011-05-20 Andreas Schwab <schwab@redhat.com>
39244 * stdlib/longlong.h: Update from GCC.
39246 2011-05-23 Andreas Schwab <schwab@redhat.com>
39248 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39250 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39251 Add parameter name.
39252 (__sysconf): Pass it down.
39254 2011-05-22 Ulrich Drepper <drepper@gmail.com>
39257 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39259 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39260 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39261 add in in __libc_use_alloca calls. Adjust callers.
39262 (glob): Use malloc in some situations.
39264 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39265 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39268 2011-05-21 Ulrich Drepper <drepper@gmail.com>
39270 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39271 and CLOCK_BOOTTIME_ALARM.
39274 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39277 * string/_strerror.c (__strerror_r): Print negative errors as signed
39281 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39282 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39283 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39285 * configure.in: Fix typo in redirection and correct removal of test
39286 files in two cases.
39289 * locale/setlocale.c (new_composite_name): Fix test to check for
39290 identical name of all categories.
39293 * libio/filedoalloc.c (local_isatty): New function.
39294 (_IO_file_doallocate): Use local_isatty.
39295 * stdio-common/perror.c (perror): In case a new stream is used
39296 forward the stream error.
39297 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39300 2011-05-20 Ulrich Drepper <drepper@gmail.com>
39303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39305 * include/alloca.h (extend_alloca_account): Define.
39308 * posix/regex.h: Fix comments with documentation of user-accessible
39309 fields after compilation and describe correct free'ing of pattern
39310 after re_compile_pattern.
39311 Patch by Reuben Thomas <rrt@sc3d.org>.
39313 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39315 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39316 and -mno-altivec to prevent the compiler from using Altivec and/or
39317 VSX instructions when the corresponding registers are not available.
39319 2011-05-19 Andreas Schwab <schwab@redhat.com>
39321 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39323 2011-05-19 Ulrich Drepper <drepper@gmail.com>
39325 * libio/freopen.c (freopen): Use __dup2, not dup2.
39326 * libio/freopen64.c (freopen64): Likewise.
39328 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39331 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39332 * math/Makefile (tests): Add test-powl.
39333 (CFLAGS-test-powl.c): Define.
39334 * math/test-powl.c: New file.
39336 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39338 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39340 2011-05-17 Ulrich Drepper <drepper@gmail.com>
39343 * iconvdata/gb18030.c: Update to GB18020-2005.
39345 2011-05-16 Ulrich Drepper <drepper@gmail.com>
39347 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39348 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39349 Patch by Aharon Robbins <arnold@skeeve.com>.
39352 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39356 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39357 through underflows.
39360 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39361 point to strings before performing equality test for error_one_per_line
39365 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39368 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39369 (struct user_fpregs_struct): Avoid __uint*_t types.
39372 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39373 symbol info. Use it instead of calling _dl_addr locally.
39374 (lock_and_info): New function.
39375 (tr_freehook): Call lock_and_info and pass symbol info as additional
39376 parameter to tr_where.
39377 (tr_mallochook): Likewise.
39378 (tr_reallochook): Likewise.
39379 (tr_memalignhook): Likewise.
39381 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39382 used and couldn't be at all thread-safe.
39384 2011-05-15 Ulrich Drepper <drepper@gmail.com>
39386 * libio/freopen.c (freopen): Don't close old file descriptor
39387 before the new one is opened. Instead dup the new file descriptor
39388 to the old one after the new stream is created.
39389 * libio/freopen64.c (freopen64): Likewise.
39390 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39391 * libio/fileops.c (_IO_new_file_close_it): Handle new
39392 _IO_FLAGS2_NOCLOSE flag.
39393 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39394 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39395 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39396 _IO_FLAGS2_NOCLOSE flag.
39397 * include/unistd.h: Add hidden_proto for dup3.
39398 Define __have_dup3.
39399 * io/dup3.c: Define hidden symbol.
39400 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39403 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39404 when an incomplete long option is used.
39405 * posix/tst-getopt_long1.c: New file.
39406 * posix/Makefile (tests): Add tst-getopt_long1.
39409 * scripts/config.guess: Update from autoconf-2.68.
39410 * scripts/config.sub: Likewise.
39413 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39415 (has_cpuclock): ...this. New function.
39416 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39417 macro here based on has_cpuclock code.
39420 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39421 First byte (not low byte) is now always NUL.
39422 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39425 Use non-cancelable interfaces.
39428 * locale/iso-639.def: Add entry for Sorani.
39431 * include/stdlib.h: Move include protection to the right place.
39432 Define abort_msg_s. Declare __abort_msg with it.
39433 * stdlib/abort.c (__abort_msg): Adjust type.
39434 * assert/assert.c (__assert_fail_base): New function. Majority
39435 of code from __assert_fail. Allocate memory for __abort_msg with
39437 (__assert_fail): Now call __assert_fail_base.
39438 * assert/assert-perr.c: Remove bulk of implementation. Use
39439 __assert_fail_base.
39440 * include/assert.hL Declare __assert_fail_base.
39441 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39443 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39445 2011-05-14 Ulrich Drepper <drepper@gmail.com>
39449 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39450 until all modules are registered in the DTV.
39451 * elf/Makefile: Add rules to build and run tst-tls19.
39452 * elf/tst-tls19.c: New file.
39453 * elf/tst-tls19mod1.c: New file.
39454 * elf/tst-tls19mod2.c: New file.
39455 * elf/tst-tls19mod3.c: New file.
39456 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39459 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39463 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39464 two-byte sequence errors.
39465 * iconvdata/Makefile (tests): Add bug-iconv8.
39466 * iconvdata/bug-iconv8.c: New file.
39469 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39472 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39475 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39476 (dummy_getcfa): New function.
39477 (init): Get _Unwind_GetCFA address, use dummy if not found.
39478 (backtrace_helper): In recursion check, also check whether CFA changes.
39479 (__backtrace): Completely initialize arg.
39481 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39482 storing incomplete byte sequence in state object. Avoid testing for
39483 guaranteed too small input if we know there is enough data available.
39485 2011-05-11 Andreas Schwab <schwab@redhat.com>
39487 * Makeconfig (+link-pie): Indent.
39488 * Rules (binaries-pie): Define if $(have-fpie) and
39490 (binaries-shared): Also filter out $(binaries-pie).
39491 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39492 * nscd/Makefile (others-pie): Add nscd.
39493 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39494 ($(objpfx)nscd): Remove command override.
39495 * login/Makefile (others-pie): Add pt_chown.
39496 ($(objpfx)pt_chown): Remove command override.
39497 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39498 remove command overrides.
39500 2011-05-13 Ulrich Drepper <drepper@gmail.com>
39502 * libio/tst_putwc.c: Fix error messages.
39505 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39506 currently writing and seek to current position when not.
39507 * libio/Makefile (tests): Add bug-fclose1.
39508 * libio/bug-fclose1.c: New file.
39510 2011-05-12 Ulrich Drepper <drepper@gmail.com>
39513 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39514 don't set DF_1_NODELETE here.
39515 (do_lookup_x): When entering new entry test for copy relocation
39516 and if necessary set DF_1_NODELETE flag.
39517 * elf/tst-unique4.cc: New file.
39518 * elf/tst-unique4.h: New file.
39519 * elf/tst-unique4lib.cc: New file.
39520 * elf/Makefile: Add rules to build and run tst-unique4.
39521 Patch by Piotr Bury <pbury@goahead.com>.
39523 2011-05-11 Ulrich Drepper <drepper@gmail.com>
39526 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39529 * misc/mntent_r.c (addmntent): Flush the stream after the output
39532 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39533 (is_trusted_path_normalize): Skip initial colon. Append slash
39534 to empty buffer. Duplicate is_trusted_path code but allow
39535 constructed patch to be prefix.
39536 (is_dst): Allow $ORIGIN followed by /.
39537 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39538 Correct testing of result of is_trusted_path_normalize
39539 (decompose_rpath): Fix warning.
39541 2011-05-10 Ulrich Drepper <drepper@gmail.com>
39544 * grp/initgroups.c (internal_getgrouplist): When we found the service
39545 list through the initgroups entry in nsswitch.conf do not always
39546 continue on a successful lookup. Don't always use the
39547 __nss_group_database value if it is set.
39548 * nss/nsswitch.conf (initgroups): Change action for successful db
39549 lookup to continue for compatibility.
39551 2011-05-09 Ulrich Drepper <drepper@gmail.com>
39554 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39556 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39558 * iconvdata/tst-tables.sh: Likewise.
39559 * iconvdata/cp770.c: New file.
39560 * iconvdata/cp771.c: New file.
39561 * iconvdata/cp772.c: New file.
39562 * iconvdata/cp773.c: New file.
39563 * iconvdata/cp774.c: New file.
39564 * iconvdata/testdata/CP770: New file.
39565 * iconvdata/testdata/CP770..UTF8: New file.
39566 * iconvdata/testdata/CP771: New file.
39567 * iconvdata/testdata/CP771..UTF8: New file.
39568 * iconvdata/testdata/CP772: New file.
39569 * iconvdata/testdata/CP772..UTF8: New file.
39570 * iconvdata/testdata/CP773: New file.
39571 * iconvdata/testdata/CP773..UTF8: New file.
39572 * iconvdata/testdata/CP774: New file.
39573 * iconvdata/testdata/CP774..UTF8: New file.
39575 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39577 * iconvdata/gen-8bit-gap.sh: Likewise.
39578 * iconvdata/gen-8bit.sh: Likewise.
39580 * locale/iso-639.def: Add ary entry.
39583 * locale/C-translit.h.in: Add U20A1 transliteration.
39586 * locale/iso-639.def: Add wae entry.
39587 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39590 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39594 * locale/C-translit.h.in: Add entry for U20B9.
39595 Patch by pravin.d.s@gmail.com.
39597 2011-05-08 Ulrich Drepper <drepper@gmail.com>
39600 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39601 ENAMETOOLONG use generic getcwd.
39602 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39603 in rtld. Use *stat64.
39604 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39605 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39606 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39607 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39608 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39609 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39610 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39611 __fstatat64 macros.
39612 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39613 * dirent/rewinddir.c: Add libc_hidden_def.
39614 * sysdeps/mach/hurd/rewinddir.c: Likewise.
39615 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
39617 * include/dirent.h (__alloc_dir): Add flags parameter.
39618 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39619 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39621 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39622 from fdopendir if O_CLOEXEC is already set.
39624 2011-03-15 Alan Modra <amodra@gmail.com>
39626 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39627 l_tls_firstbyte_offset non-zero. Save padding offset in
39628 l_tls_firstbyte_offset for later use.
39629 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39630 freeing static tls block.
39632 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39634 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39635 where #ifdef was intended. The intent is to prevent ARG_MAX from
39636 being defined by the kernel headers.
39638 2011-05-07 Ulrich Drepper <drepper@gmail.com>
39641 * resolv/resolv.h: Define RES_NOTLDQUERY.
39642 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39643 no-tld-query and set RES_NOTLDQUERY.
39644 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39645 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39646 modern BIND to search name as TLD unless forbidden.
39648 2011-05-07 Petr Baudis <pasky@suse.cz>
39649 Ulrich Drepper <drepper@gmail.com>
39652 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39653 (is_trusted_path): ...to here.
39654 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39655 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39656 using is_trusted_path_normalize() in setuid scripts.
39658 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39660 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39661 __BEGIN/__END_DECLS.
39663 2011-05-06 Ulrich Drepper <drepper@gmail.com>
39665 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39666 NSS_STATUS_NOTFOUND if no record was found.
39668 2011-05-05 Andreas Schwab <schwab@redhat.com>
39670 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39671 (headers-not-in-tirpc): Remove rpc/netdb.h
39672 * resolv/netdb.h: Revert last change.
39674 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39676 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39677 circular dependency between libgcc.a and libc.a.
39679 2011-05-05 Andreas Schwab <schwab@redhat.com>
39681 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39682 * nis/Makefile: Don't install rpcsvc/*.
39683 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39684 instead of <rpc/types.h>.
39685 (MAXHOSTNAMELEN): Define.
39687 2011-05-03 Andreas Schwab <schwab@redhat.com>
39689 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39691 2011-04-28 Maciej Babinski <mbabinski@google.com>
39694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39695 gethostbyname4_r when IPv6 results are possible.
39697 2011-05-02 Ulrich Drepper <drepper@gmail.com>
39700 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39701 _PC_PIPE_BUF handling.
39703 2011-04-30 Bruno Haible <bruno@clisp.org>
39706 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39707 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39709 * inet/getnameinfo.c (getnameinfo): Likewise.
39711 2011-04-29 Ulrich Drepper <drepper@gmail.com>
39713 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39714 to groups setting in database lookup.
39715 * nss/nsswitch.conf: Add initgroups entry.
39717 2011-04-22 Ulrich Drepper <drepper@gmail.com>
39720 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39722 Patch by Eric Blake <eblake@redhat.com>.
39724 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39726 * sunrpc/Makefile (need-export-routines): Add svc_run.
39727 (routines): Remove svc_run.
39728 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39729 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39730 * sunrpc/svc_run.c (svc_run): Likewise.
39731 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39733 2011-04-21 Ulrich Drepper <drepper@gmail.com>
39735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39736 problem in reallocation in last patch.
39738 2011-04-20 Ulrich Drepper <drepper@gmail.com>
39740 * sunrpc/Makefile: Move inclusion of Rules.
39742 2011-04-19 Ulrich Drepper <drepper@gmail.com>
39744 * nss/nss_files/files-initgroups.c: New file.
39745 * nss/Makefile (libnss_files-routines): Add files-initgroups.
39746 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39747 _nss_files_initgroups_dyn.
39749 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
39751 * elf/elf.h (R_ARM_IRELATIVE): Define.
39753 2011-04-19 Ulrich Drepper <drepper@gmail.com>
39755 * po/ru.po: Update from translation team.
39757 2011-04-17 Ulrich Drepper <drepper@gmail.com>
39759 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39762 2011-02-06 Mike Frysinger <vapier@gentoo.org>
39765 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39766 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39767 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39768 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39769 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39771 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
39773 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39775 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39776 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39777 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39779 2011-04-17 Ulrich Drepper <drepper@gmail.com>
39782 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39784 * stdlib/bug-getcontext.c: New file.
39785 * stdlib/Makefile: Add rules to build and run bug-getcontext.
39787 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39789 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39790 instructions into .machine "z9-109".
39791 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39792 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39794 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39796 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39797 between environment variables and auxiliary vector.
39799 2011-04-16 Ulrich Drepper <drepper@gmail.com>
39801 * Makefile: Add rules to build linkobj/libc.so.
39802 * include/libc-symbols.h: Define libc_hidden_nolink.
39803 * include/rpc/auth.h: Mark functions which are to be hidden.
39804 * include/rpc/auth_des.h: Likewise.
39805 * include/rpc/auth_unix.h: Likewise.
39806 * include/rpc/clnt.h: Likewise.
39807 * include/rpc/des_crypt.h: Likewise.
39808 * include/rpc/key_prot.h: Likewise.
39809 * include/rpc/pmap_clnt.h: Likewise.
39810 * include/rpc/pmap_prot.h: Likewise.
39811 * include/rpc/pmap_rmt.h: Likewise.
39812 * include/rpc/rpc_msg.h: Likewise.
39813 * include/rpc/svc.h: Likewise.
39814 * include/rpc/svc_auth.h: Likewise.
39815 * include/rpc/xdr.h: Likewise.
39816 * nis/Makefile: Link all DSOs against linkobj/libc.so.
39817 * nss/Makefile: Likewise.
39818 * sunrpc/Makefile: Don't install headers. Build library with normal
39819 entry points. Don't build rpcinfo. Link RPC tests appropriately.
39820 * sunrpc/auth_des.c: Hide exported symbols by default, export some
39821 for the compat linking library. Remove use of INTDEF/INTUSE.
39822 * sunrpc/auth_none.c: Likewise.
39823 * sunrpc/auth_unix.c: Likewise.
39824 * sunrpc/authdes_prot.c: Likewise.
39825 * sunrpc/authuxprot.c: Likewise.
39826 * sunrpc/clnt_gen.c: Likewise.
39827 * sunrpc/clnt_perr.c: Likewise.
39828 * sunrpc/clnt_raw.c: Likewise.
39829 * sunrpc/clnt_simp.c: Likewise.
39830 * sunrpc/clnt_tcp.c: Likewise.
39831 * sunrpc/clnt_udp.c: Likewise.
39832 * sunrpc/clnt_unix.c: Likewise.
39833 * sunrpc/des_crypt.c: Likewise.
39834 * sunrpc/des_soft.c: Likewise.
39835 * sunrpc/get_myaddr.c: Likewise.
39836 * sunrpc/key_call.c: Likewise.
39837 * sunrpc/key_prot.c: Likewise.
39838 * sunrpc/netname.c: Likewise.
39839 * sunrpc/pm_getmaps.c: Likewise.
39840 * sunrpc/pm_getport.c: Likewise.
39841 * sunrpc/pmap_clnt.c: Likewise.
39842 * sunrpc/pmap_prot.c: Likewise.
39843 * sunrpc/pmap_prot2.c: Likewise.
39844 * sunrpc/pmap_rmt.c: Likewise.
39845 * sunrpc/publickey.c: Likewise.
39846 * sunrpc/rpc_cmsg.c: Likewise.
39847 * sunrpc/rpc_common.c: Likewise.
39848 * sunrpc/rpc_dtable.c: Likewise.
39849 * sunrpc/rpc_prot.c: Likewise.
39850 * sunrpc/rpc_thread.c: Likewise.
39851 * sunrpc/rtime.c: Likewise.
39852 * sunrpc/svc.c: Likewise.
39853 * sunrpc/svc_auth.c: Likewise.
39854 * sunrpc/svc_authux.c: Likewise.
39855 * sunrpc/svc_raw.c: Likewise.
39856 * sunrpc/svc_run.c: Likewise.
39857 * sunrpc/svc_simple.c: Likewise.
39858 * sunrpc/svc_tcp.c: Likewise.
39859 * sunrpc/svc_udp.c: Likewise.
39860 * sunrpc/svc_unix.c: Likewise.
39861 * sunrpc/svcauth_des.c: Likewise.
39862 * sunrpc/xcrypt.c: Likewise.
39863 * sunrpc/xdr.c: Likewise.
39864 * sunrpc/xdr_array.c: Likewise.
39865 * sunrpc/xdr_float.c: Likewise.
39866 * sunrpc/xdr_intXX_t.c: Likewise.
39867 * sunrpc/xdr_mem.c: Likewise.
39868 * sunrpc/xdr_rec.c: Likewise.
39869 * sunrpc/xdr_ref.c: Likewise.
39870 * sunrpc/xdr_sizeof.c: Likewise.
39871 * sunrpc/xdr_stdio.c: Likewise.
39873 2011-04-10 Ulrich Drepper <drepper@gmail.com>
39876 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39877 * sysdeps/ia64/dl-tls.h: Likewise.
39878 * sysdeps/powerpc/dl-tls.h: Likewise.
39879 * sysdeps/s390/dl-tls.h: Likewise.
39880 * sysdeps/sh/dl-tls.h: Likewise.
39881 * sysdeps/sparc/dl-tls.h: Likewise.
39882 * sysdeps/x86_64/dl-tls.h: Likewise.
39883 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39885 2011-03-14 Andreas Schwab <schwab@redhat.com>
39887 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39888 rpath element also skip the following colon.
39889 (expand_dynamic_string_token): Add is_path parameter and pass
39890 down to DL_DST_REQUIRED and _dl_dst_substitute.
39891 (decompose_rpath): Call expand_dynamic_string_token with
39892 non-zero is_path. Ignore empty rpaths.
39893 (_dl_map_object_from_fd): Call expand_dynamic_string_token
39896 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
39898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39901 2011-04-09 Ulrich Drepper <drepper@gmail.com>
39904 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39905 Patch by Filipe David Manana <fdmanana@apache.org>.
39907 2011-04-07 Andreas Schwab <schwab@redhat.com>
39909 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39910 Maintain aligned stack.
39911 (CHECK_RSP): Remove unused macro.
39913 2011-04-03 Ulrich Drepper <drepper@gmail.com>
39915 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39916 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39918 2011-04-02 Ulrich Drepper <drepper@gmail.com>
39920 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39922 * include/features.h: Mention __USE_XOPEN2K8 in comment.
39924 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
39927 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39928 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39929 * sysdeps/x86_64/memmove.c: New file.
39930 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39931 (memcpy): Renamed to ...
39932 (__new_memcpy): This.
39933 (memcpy): Provide GLIBC_2_14 memcpy.
39934 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
39935 (memcpy): Provide GLIBC_2_2_5 memcpy.
39937 2011-04-01 Ulrich Drepper <drepper@gmail.com>
39940 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
39942 2011-03-30 Andreas Schwab <schwab@redhat.com>
39944 * misc/syncfs.c: New file.
39945 * misc/Makefile (routines): Add syncfs.
39946 * posix/unistd.h: Declare syncfs.
39947 * sysdeps/unix/syscalls.list: Add syncfs.
39949 2011-04-01 Andreas Schwab <schwab@redhat.com>
39951 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
39953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39954 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39956 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39958 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
39959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39961 2011-04-01 Ulrich Drepper <drepper@gmail.com>
39963 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
39964 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39965 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
39966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39971 * io/Makefile: Compile fallocate.c, fallocate64.c, and
39972 sync_file_range.c with -fexceptions.
39973 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
39974 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
39975 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
39976 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
39977 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
39978 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39979 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
39980 sync_file_range as cancellation point
39981 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
39982 now a wrapper around __call_sync_file_range with cancellation handling.
39983 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
39984 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
39985 function name to __call_sync_file_range.
39986 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
39987 Add call_sync_file_range.
39989 2011-04-01 Andreas Schwab <schwab@redhat.com>
39991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39994 2011-04-01 Ulrich Drepper <drepper@gmail.com>
39996 * iconv/iconv.h: Fix typo in comment.
39997 * io/fcntl.h: Likewise.
39998 * libio/stdio.h: Likewise.
39999 * posix/spawn.h: Likewise.
40000 * posix/unistd.h: Likewise.
40001 * stdlib/stdlib.h: Likewise.
40002 * time/time.h: Likewise.
40003 * wcsmbs/wchar.h: Likewise.
40005 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40006 open_by_handle): Add.
40007 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40008 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40009 Augment a few comments.
40010 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40012 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40014 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40015 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40018 * io/fcntl.h (AT_EMPTY_PATH): Define.
40020 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40022 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40023 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40024 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40026 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40027 * Versions.def: Add GLIBC_2.14.
40028 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40031 2011-03-22 Ulrich Drepper <drepper@gmail.com>
40033 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40035 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40037 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40040 * string/test-strncmp.c (do_page_test): New function.
40041 (check2): Likewise.
40042 (test_main): Call check2.
40043 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40045 2011-03-20 Ulrich Drepper <drepper@gmail.com>
40048 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40049 Handle cache information in CPU leaf 4.
40050 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40052 2011-03-18 Ulrich Drepper <drepper@gmail.com>
40055 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40056 character representation.
40057 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40059 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40061 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40062 END(__isnan) to END(__isnanf) to match function entry point/label
40063 EALIGN(__isnanf,...).
40065 2011-03-10 Jakub Jelinek <jakub@redhat.com>
40067 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40069 2011-03-10 Ulrich Drepper <drepper@gmail.com>
40072 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40073 copy from the symbol referenced in the relocation to initialize the
40075 Patch by Piotr Bury <pbury@goahead.com>.
40076 * elf/Makefile: Add rules to build and tst-unique3.
40077 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40078 * elf/tst-unique3.cc: New file.
40079 * elf/tst-unique3.h: New file.
40080 * elf/tst-unique3lib.cc: New file.
40081 * elf/tst-unique3lib2.cc: New file.
40083 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40085 2011-03-10 Mike Frysinger <vapier@gentoo.org>
40087 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40088 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40091 2011-03-06 Ulrich Drepper <drepper@gmail.com>
40093 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40094 to-be-loaded object along a path to loader is ld.so.
40096 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40097 Ulrich Drepper <drepper@gmail.com>
40099 * sysdeps/x86_64/memset.S: After aligning destination, code
40100 branches to different locations depending on the value of
40101 misalignment, when multiarch is enabled. Fix this.
40103 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40105 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40106 Set _x86_64_preferred_memory_instruction for AMD processsors.
40107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40108 Set bit_Prefer_SSE_for_memop for AMD processors.
40110 2011-03-04 Ulrich Drepper <drepper@gmail.com>
40112 * libio/fmemopen.c (fmemopen): Optimize a bit.
40114 2011-03-03 Andreas Schwab <schwab@redhat.com>
40116 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40118 2011-03-03 Roland McGrath <roland@redhat.com>
40120 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40122 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40124 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40125 __bzero_ultra1 instead of __memset_ultra1.
40127 2011-02-23 Andreas Schwab <schwab@redhat.com>
40128 Ulrich Drepper <drepper@gmail.com>
40131 * include/link.h (struct link_map): Add l_orig_initfini.
40132 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40133 returning unsuccessfully.
40134 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40135 close of a file loaded at startup, restore the original l_initfini
40137 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40138 list, store the pointer.
40139 * elf/Makefile ($(objpfx)noload-mem): New rule.
40140 (noload-ENV): Define.
40141 (tests): Add $(objpfx)noload-mem.
40142 * elf/noload.c: Include <memcheck.h>.
40143 (main): Call mtrace. Close all opened handles.
40145 2011-02-17 Andreas Schwab <schwab@redhat.com>
40148 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40149 dependencies are missing.
40151 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40153 Fix __if_freereq crash: Unlike the generic version which uses free,
40155 * sysdeps/mach/hurd/ifreq.h: New file.
40157 2011-01-27 Petr Baudis <pasky@suse.cz>
40158 Ulrich Drepper <drepper@gmail.com>
40161 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40162 to extend_alloca().
40163 * stdio-common/bug23.c: New file.
40164 * stdio-common/Makefile (tests): Add bug23.
40166 2010-09-28 Andreas Schwab <schwab@redhat.com>
40167 Ulrich Drepper <drepper@gmail.com>
40170 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40171 before performing relro protection. At old place add assertion
40172 to make sure nothing changed.
40174 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40175 Glauber de Oliveira Costa <glommer@gmail.com>
40177 * elf/elf.h: Add new ARM TLS relocs.
40179 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40182 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40184 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40186 * sysdeps/wordsize-64/tst-writev.c: New file.
40188 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40190 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40191 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40192 insns in _dl_start to prevent a TOC reference before relocs are
40195 2011-02-15 Ulrich Drepper <drepper@gmail.com>
40198 * Makeconfig: Remove RANLIB definition.
40199 * Makerules: Don't use RANLIB.
40200 * aclocal.m4: Remove ranlib test.
40201 * configure.in: No need to check for ranlib.
40202 * elf/rtld-Rules: Don't use RANLIB.
40204 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40206 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40208 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40209 inclusion protection macro.
40211 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40212 SIGRTMIN and SIGRTMAX and print information in that case only when
40213 SIGRTMIN is defined.
40215 2011-02-11 Jakub Jelinek <jakub@redhat.com>
40217 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40218 arginfo fn returning -1.
40220 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40221 and thousands string is zero terminated.
40223 2011-02-03 Andreas Schwab <schwab@redhat.com>
40225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40226 sysdeps/unix/sysv/linux/bits/socket.h.
40228 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40230 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40231 (__CPU_COUNT): Remove old macros.
40232 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40233 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40234 (__CPU_ALLOC, __CPU_FREE): Add macros.
40235 (__sched_cpualloc, __sched_cpufree): Add declarations.
40237 2011-02-05 Ulrich Drepper <drepper@gmail.com>
40239 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40240 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40241 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40242 (readdhstai): Return value of addhstaiX call.
40243 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40244 (addgrbyX): Return value returned by cache_addgr.
40245 (readdgrbyname): Return value returned by addgrbyX.
40246 (readdgrbygid): Likewise.
40247 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40248 (addpwbyX): Return value returned by cache_addpw.
40249 (readdpwbyname): Return value returned by addhstbyX.
40250 (readdpwbyuid): Likewise.
40251 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40252 (addservbyX): Return value returned by cache_addserv.
40253 (readdservbyname): Return value returned by addservbyX:
40254 (readdservbyport): Likewise.
40255 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40256 (addhstbyX): Return value returned by cache_addhst.
40257 (readdhstbyname): Return value returned by addhstbyX.
40258 (readdhstbyaddr): Likewise.
40259 (readdhstbynamev6): Likewise.
40260 (readdhstbyaddrv6): Likewise.
40261 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40262 (readdinitgroups): Return value returned by addinitgroupsX.
40263 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40264 (prune_cache): Keep track of timeout value of re-added entries.
40265 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40266 * nscd/nscd.h: Adjust prototypes of readd* functions.
40268 2011-02-04 Roland McGrath <roland@redhat.com>
40270 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40271 (nis_stats): Likewise.
40272 * nis/nis_modify.c (nis_modify): Likewise.
40273 * nis/nis_remove.c (nis_remove): Likewise.
40274 * nis/nis_add.c (nis_add): Likewise.
40276 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40278 * posix/fnmatch_loop.c: Add some consts.
40280 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40282 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40285 * config.make.in (config-cflags-novzeroupper): Define.
40286 * configure.in: Substitute libc_cv_cc_novzeroupper.
40287 * elf/Makefile (AVX-CFLAGS): Define.
40288 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40289 (CFLAGS-tst-auditmod4a.c): Likewise.
40290 (CFLAGS-tst-auditmod4b.c): Likewise.
40291 (CFLAGS-tst-auditmod6b.c): Likewise.
40292 (CFLAGS-tst-auditmod6c.c): Likewise.
40293 (CFLAGS-tst-auditmod7b.c): Likewise.
40294 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40296 2011-02-02 Ulrich Drepper <drepper@gmail.com>
40298 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40299 function to the callback.
40300 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40302 2011-02-02 Andreas Schwab <schwab@redhat.com>
40304 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40307 2011-01-19 Ulrich Drepper <drepper@gmail.com>
40310 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40312 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40314 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40317 * elf/Makefile: Add rules to build and run new test.
40318 * elf/tst-initorder.c: New file.
40319 * elf/tst-initorder.exp: New file.
40320 * elf/tst-initordera1.c: New file.
40321 * elf/tst-initordera2.c: New file.
40322 * elf/tst-initordera3.c: New file.
40323 * elf/tst-initordera4.c: New file.
40324 * elf/tst-initorderb1.c: New file.
40325 * elf/tst-initorderb2.c: New file.
40326 * elf/tst-order-a1.c: New file.
40327 * elf/tst-order-a2.c: New file.
40328 * elf/tst-order-a3.c: New file.
40329 * elf/tst-order-a4.c: New file.
40330 * elf/tst-order-b1.c: New file.
40331 * elf/tst-order-b2.c: New file.
40332 * elf/tst-order-main.c: New file.
40333 New test case by George Gensure <werkt0@gmail.com>.
40335 2010-10-01 Andreas Schwab <schwab@redhat.com>
40337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40338 decoding ACE if AI_CANONIDN.
40340 2011-01-18 Ulrich Drepper <drepper@gmail.com>
40342 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40344 2011-01-17 Ulrich Drepper <drepper@gmail.com>
40346 * version.h (RELEASE): Bump for 2.13 release.
40347 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40349 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40351 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40353 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40354 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40355 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40356 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40357 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40358 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40360 * posix/getconf.c: Update copyright year.
40361 * catgets/gencat.c: Likewise.
40362 * csu/version.c: Likewise.
40363 * debug/catchsegv.sh: Likewise.
40364 * debug/xtrace.sh: Likewise.
40365 * elf/ldconfig.c: Likewise.
40366 * elf/ldd.bash.in: Likewise.
40367 * elf/sprof.c (print_version): Likewise.
40368 * iconv/iconv_prog.c: Likewise.
40369 * iconv/iconvconfig.c: Likewise.
40370 * locale/programs/locale.c: Likewise.
40371 * locale/programs/localedef.c: Likewise.
40372 * malloc/memusage.sh: Likewise.
40373 * malloc/mtrace.pl: Likewise.
40374 * nscd/nscd.c (print_version): Likewise.
40375 * nss/getent.c: Likewise.
40377 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40378 PF_CAIF, and PF_ALG.
40379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40381 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40383 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40384 (modules-names): Use them.
40385 (ifunc-test-modules, ifunc-pie-tests): Define.
40386 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40387 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40388 (test-extras): Likewise.
40389 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40390 $(compile-command.c).
40391 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40392 (all-built-dso): Define.
40393 (check-textrel.out, check-execstack.out): Depend on it.
40395 * configure.in: Don't override --enable-multi-arch.
40397 2011-01-15 Ulrich Drepper <drepper@gmail.com>
40400 * nscd/hstcache.c (tryagain): Define.
40401 (cache_addhst): Return tryagain not notfound for temporary errors.
40402 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40405 2011-01-14 Ulrich Drepper <drepper@gmail.com>
40408 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40409 to make the syscall.
40410 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40413 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40414 and fall back to matching as normal character if the string ends before
40415 the matching ']' is found. This is what POSIX requires.
40416 * posix/testfnm.c: Adjust test result.
40417 * posix/globtest.sh: Adjust test result. Add new test.
40418 * posix/tst-fnmatch.input: Likewise.
40419 * posix/tst-fnmatch2.c: Add new test.
40421 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40423 * elf/Makefile (check-execstack): Revert last change. Depend on
40425 (check-execstack.h): New target.
40426 (generated): Add check-execstack.h.
40427 * elf/check-execstack.c: Include "check-execstack.h".
40428 (main): Revert last change.
40429 (handle_file): Return zero if GNU_STACK is absent and
40430 DEFAULT_STACK_PERMS doesn't include PF_X.
40432 2011-01-13 Ulrich Drepper <drepper@gmail.com>
40434 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40435 in child fails because the descriptor is already closed.
40436 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40437 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40438 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40441 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40445 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40446 temporary buffer used to handle multi lookups locally.
40447 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40449 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40451 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40454 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40456 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40457 alignment for SSE2.
40459 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40462 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40463 characters. When rounding increased number of integer digits recompute
40465 * stdio-common/tst-grouping.c: New file.
40466 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40468 2011-01-09 Ulrich Drepper <drepper@gmail.com>
40470 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40471 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40473 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40475 * bits/select.h: Likewise.
40477 2011-01-08 Ulrich Drepper <drepper@gmail.com>
40479 * po/ja.po: Update from translation team.
40481 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
40484 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40485 implementation just like for lxstat, fxstatat, et al.
40487 2010-12-27 Jim Meyering <meyering@redhat.com>
40490 * posix/regexec.c (build_trtable): Return failure indication upon
40491 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40493 2010-12-25 Ulrich Drepper <drepper@gmail.com>
40496 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40497 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40498 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40499 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40502 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40505 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40506 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40508 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40510 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40511 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40512 script has SORT_BY_INIT_PRIORITY.
40513 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40514 NO_CTORS_DTORS_SECTIONS is defined.
40515 * elf/soinit.c: Likewise.
40516 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40517 NO_CTORS_DTORS_SECTIONS is defined.
40518 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40519 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40520 * sysdeps/sh/init-first.c: Likewise.
40521 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40523 2010-12-24 Ulrich Drepper <drepper@gmail.com>
40525 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40526 always use the slow path.
40528 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40530 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40531 similar rule which adds the sysdep directories to the header search in
40532 order to pick up the correct platform stackinfo.h.
40533 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40534 perform test if it is, otherwise return successfully without testing.
40535 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40536 DEFAULT_STACK_PERMS define in stackinfo.h.
40537 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40538 defined in stackinfo.h.
40539 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40540 DEFAULT_STACK_PERMS defined in stackinfo.h.
40541 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40542 * sysdeps/ia64/stackinfo.h: Likewise.
40543 * sysdeps/s390/stackinfo.h: Likewise.
40544 * sysdeps/sh/stackinfo.h: Likewise.
40545 * sysdeps/sparc/stackinfo.h: Likewise.
40546 * sysdeps/x86_64/stackinfo.h: Likewise.
40547 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40548 PF_X for powerpc64. Retain PF_X for powerpc32.
40550 2010-12-19 Ulrich Drepper <drepper@gmail.com>
40552 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40554 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40555 GETDENTS_64BIT_ALIGNED.
40557 2010-12-14 Ulrich Drepper <dreper@gmail.com>
40559 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40561 2010-12-10 Andreas Schwab <schwab@redhat.com>
40563 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40566 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40567 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40569 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40570 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40572 2010-12-09 Ulrich Drepper <drepper@gmail.com>
40575 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40578 2010-12-09 Jakub Jelinek <jakub@redhat.com>
40580 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40582 2010-12-03 Ulrich Drepper <drepper@gmail.com>
40584 * po/it.po: Update from translation team.
40586 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40591 2010-11-30 Ulrich Drepper <drepper@gmail.com>
40593 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40595 2010-11-24 Andreas Schwab <schwab@redhat.com>
40597 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40599 (gaih_getanswer_slice): Likewise.
40601 2010-10-20 Jakub Jelinek <jakub@redhat.com>
40603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40605 2010-05-31 Petr Baudis <pasky@suse.cz>
40608 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40609 silently even in the chroot mode.
40611 2010-11-22 Ulrich Drepper <drepper@gmail.com>
40613 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40614 last patch a bit. Pretty printing
40616 2010-05-31 Petr Baudis <pasky@suse.cz>
40619 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40620 initialization of skip_initgroups_dyn.
40622 2010-11-19 Ulrich Drepper <drepper@gmail.com>
40624 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40625 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40627 2010-11-16 Ulrich Drepper <drepper@gmail.com>
40629 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40631 2010-11-11 Andreas Schwab <schwab@redhat.com>
40633 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40634 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40635 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40636 ($(objpfx)tst-fnmatch-mem): New rule.
40637 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40638 * posix/tst-fnmatch.c (main): Call mtrace.
40640 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40643 Support Intel processor model 6 and model 0x2c.
40645 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
40647 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40650 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40653 * string/test-strncasecmp.c (check_result): New function.
40654 (do_one_test): Use it.
40655 (check1): New function.
40656 (test_main): Use it.
40657 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40658 Support strcasecmp and strncasecmp.
40660 2010-11-08 Ulrich Drepper <drepper@gmail.com>
40663 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40664 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40666 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40668 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40672 * sysdeps/x86_64/multiarch/bzero.S: New file.
40673 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40674 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40675 * sysdeps/x86_64/multiarch/memset.S: New file.
40676 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40678 Set bit_Prefer_SSE_for_memop for Intel processors.
40679 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40681 (index_Prefer_SSE_for_memop): Define.
40682 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40684 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
40686 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40687 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40689 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40692 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40693 (__x86_64_raw_data_cache_size_half): Likewise.
40694 (__x86_64_raw_shared_cache_size): Likewise.
40695 (__x86_64_raw_shared_cache_size_half): Likewise.
40697 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40698 (__x86_64_raw_data_cache_size_half): Likewise.
40699 (__x86_64_raw_shared_cache_size): Likewise.
40700 (__x86_64_raw_shared_cache_size_half): Likewise.
40701 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40702 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40703 and __x86_64_raw_shared_cache_size_half. Round
40704 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40705 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40706 to multiple of 256 bytes.
40708 2010-11-03 Ulrich Drepper <drepper@gmail.com>
40711 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40712 of inacessible symlinks. Verify result of symlink before returning it.
40713 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40714 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40716 2010-10-28 Erich Ritz <erichritz@gmail.com>
40718 * math/math.h (isinf): Fix typo in comment.
40720 2010-11-01 Ulrich Drepper <drepper@gmail.com>
40722 * po/da.po: Update from translation team.
40724 2010-10-26 Ulrich Drepper <drepper@gmail.com>
40726 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40727 is added to the list.
40729 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40730 Ulrich Drepper <drepper@gmail.com>
40732 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40733 the global list here. Move code to...
40734 (_dl_add_to_namespace_list): ...here. New function.
40735 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40736 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40737 * elf/dl-load.c (lose): Don't remove the element from the list.
40738 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40739 (_dl_map_object): Likewise.
40741 2010-10-25 Ulrich Drepper <drepper@gmail.com>
40744 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40745 into all bytes of SSE register.
40746 Patch by Richard Li <richardpku@gmail.com>.
40748 2010-10-24 Ulrich Drepper <drepper@gmail.com>
40751 * malloc/malloc.c (_int_free): Fill correct number of bytes when
40754 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
40756 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40757 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40758 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40759 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40764 2010-10-22 Andreas Schwab <schwab@redhat.com>
40766 * include/dlfcn.h (__RTLD_SECURE): Define.
40767 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
40768 mode & __RTLD_SECURE instead.
40769 (open_path): Rename preloaded parameter to secure.
40770 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40771 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40772 * elf/dl-deps.c (openaux): Likewise.
40773 * elf/rtld.c (struct map_args): Remove is_preloaded.
40774 (map_doit): Don't use it.
40775 (dl_main): Likewise.
40776 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40777 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40779 2010-09-09 Andreas Schwab <schwab@redhat.com>
40781 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40782 (sysd-rules-targets): Remove duplicates.
40783 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40784 rtld-%.$o dependency.
40786 2010-10-18 Andreas Schwab <schwab@redhat.com>
40788 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40789 _dl_map_object do it.
40791 2010-10-19 Ulrich Drepper <drepper@gmail.com>
40793 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40794 fast fma builtins, define the macros in the C99 standard.
40795 (FP_FAST_FMAF): Likewise.
40796 (FP_FAST_FMAL): Likewise.
40797 * sysdeps/x86_64/bits/mathdef.h: Likewise.
40799 * bits/mathdef.h: Update copyright year.
40800 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40802 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
40804 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40805 builtins, define the macros in the C99 standard.
40806 (FP_FAST_FMAF): Likewise.
40807 (FP_FAST_FMAL): Likewise.
40808 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40810 (FP_FAST_FMAF): Likewise.
40812 2010-10-15 Jakub Jelinek <jakub@redhat.com>
40815 * math/libm-test.inc (fma_test): Some new testcases.
40816 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40817 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40818 y and infinite z. Do multiplication by C already in long double.
40819 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40821 y and infinite z. Do bitwise or of inexact bit into u.d.
40822 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40823 * sysdeps/i386/fpu/s_fmaf.S: Removed.
40824 * sysdeps/i386/fpu/s_fma.S: Removed.
40825 * sysdeps/i386/fpu/s_fmal.S: Removed.
40827 2010-10-16 Jakub Jelinek <jakub@redhat.com>
40830 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40831 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40832 computation is not scheduled after fetestexcept. Fix value
40833 of minimum denormal long double.
40835 2010-10-14 Jakub Jelinek <jakub@redhat.com>
40838 * math/libm-test.inc (fma_test): Add some more tests.
40839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40842 2010-10-15 Andreas Schwab <schwab@redhat.com>
40844 * scripts/data/localplt-s390-linux-gnu.data: New file.
40845 * scripts/data/localplt-s390x-linux-gnu.data: New file.
40847 2010-10-13 Jakub Jelinek <jakub@redhat.com>
40850 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40851 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40853 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40855 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40857 if one of x and y is very large and the other is subnormal.
40858 * sysdeps/s390/fpu/s_fmaf.c: New file.
40859 * sysdeps/s390/fpu/s_fma.c: New file.
40860 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40861 * sysdeps/powerpc/fpu/s_fma.S: New file.
40862 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40863 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40864 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40866 2010-10-12 Jakub Jelinek <jakub@redhat.com>
40869 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40871 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40872 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40873 * sysdeps/i386/i686/multiarch/s_fma.c: Include
40874 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40875 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40876 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40877 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40879 2010-10-12 Ulrich Drepper <drepper@redhat.com>
40882 * posix/regcomp.c (parse_branch): One more memory leak plugged.
40883 * posix/bug-regex31.input: Add test case.
40885 2010-10-11 Ulrich Drepper <drepper@gmail.com>
40887 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40888 * posix/bug-regex31.input: New file.
40891 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40892 (parse_sub_exp): Fix last change, use postorder.
40894 * posix/bug-regex31.c: New file.
40895 * posix/Makefile: Add rules to build and run bug-regex31.
40897 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40900 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40903 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40904 to have entries in sys_siglist.
40907 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40910 2010-10-07 Jakub Jelinek <jakub@redhat.com>
40913 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40914 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40915 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40916 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40917 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40918 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40919 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40920 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40921 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40922 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40923 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40924 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40925 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40926 * math/ftestexcept.c (fetestexcept): Likewise.
40927 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40928 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40929 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40930 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40931 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40932 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
40933 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40935 2010-10-11 Ulrich Drepper <drepper@gmail.com>
40938 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
40941 2010-10-06 Ulrich Drepper <drepper@gmail.com>
40943 * string/bug-strstr1.c: New file.
40944 * string/Makefile: Add rules to build and run bug-strstr1.
40946 2010-10-05 Eric Blake <eblake@redhat.com>
40949 * string/str-two-way.h (two_way_long_needle): Always clear memory
40950 when skipping input due to the shift table.
40952 2010-10-03 Ulrich Drepper <drepper@gmail.com>
40955 * malloc/mcheck.c: Handle large requests.
40958 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
40959 for strncmp and strncasecmp.
40960 * string/stratcliff.c: Add tests for strcmp and strncmp.
40961 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
40963 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40965 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
40968 2010-09-30 Andreas Jaeger <aj@suse.de>
40970 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
40971 (CGROUP_SUPER_MAGIC): Define.
40972 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40973 Handle btrfs and cgroup file systems.
40974 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40977 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
40979 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
40980 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
40982 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40985 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
40986 trying to locate the ELF header.
40988 2010-09-27 Andreas Schwab <schwab@redhat.com>
40991 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
40992 Mask out sign-bit copies when constructing f_fsid.
40994 2010-09-24 Petr Baudis <pasky@suse.cz>
40996 * debug/stack_chk_fail_local.c: Add missing licence exception.
40997 * debug/warning-nop.c: Likewise.
40999 2010-09-15 Joseph Myers <joseph@codesourcery.com>
41001 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41002 implementing getdents64 using getdents syscall, set d_type if
41003 __ASSUME_GETDENTS32_D_TYPE.
41005 2010-09-16 Andreas Schwab <schwab@redhat.com>
41007 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41008 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41010 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41013 * posix/unistd.h: Undo change of feature selection for ftruncate from
41016 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41018 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41021 2010-09-20 Andreas Schwab <schwab@redhat.com>
41023 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41025 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41027 2010-09-14 Andreas Schwab <schwab@redhat.com>
41029 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41030 variables after CHECK_SP call.
41031 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41033 2010-09-13 Andreas Schwab <schwab@redhat.com>
41034 Ulrich Drepper <drepper@redhat.com>
41036 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41037 re-relocationg ld.so.
41038 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41039 _dl_init_paths call.
41040 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41043 2010-09-14 Ulrich Drepper <drepper@redhat.com>
41045 * resolv/res_init.c (__res_vinit): Count the default server we added.
41047 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41048 Ulrich Drepper <drepper@redhat.com>
41051 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41052 (____longjmp_chk): Use %ebx for saving value across system call.
41055 2010-09-06 Andreas Schwab <schwab@redhat.com>
41057 * manual/Makefile: Don't mix pattern rules with normal rules.
41059 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41061 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41063 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41064 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41065 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41066 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41067 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41070 2010-09-04 Ulrich Drepper <drepper@redhat.com>
41073 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41074 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41076 2010-09-02 Ulrich Drepper <drepper@redhat.com>
41078 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41079 * sysdeps/x86_64/addmul_1.S: Likewise.
41080 * sysdeps/x86_64/lshift.S: Likewise.
41081 * sysdeps/x86_64/mul_1.S: Likewise.
41082 * sysdeps/x86_64/rshift.S: Likewise.
41083 * sysdeps/x86_64/sub_n.S: Likewise.
41084 * sysdeps/x86_64/submul_1.S: Likewise.
41086 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41088 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41089 Define __sched_param instead of SCHED_* and sched_param when
41090 <bits/sched.h> is included with __need_schedparam defined.
41091 * bits/sched.h [__need_schedparam]
41092 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41093 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41094 (__defined_schedparam): Define to 1.
41095 (__sched_param): New structure, identical to sched_param.
41096 (__need_schedparam): Undefine.
41098 2010-08-31 Mike Frysinger <vapier@gentoo.org>
41100 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41101 (epoll_create1): Declare.
41103 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41105 2010-08-31 Andreas Schwab <schwab@redhat.com>
41108 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41109 shifting retval into place.
41111 2010-09-01 Ulrich Drepper <drepper@redhat.com>
41113 * nis/rpcsvc/nis.h: Update copyright notice.
41114 * nis/rpcsvc/nis.x: Likewise.
41115 * nis/rpcsvc/nis_callback.h: Likewise.
41116 * nis/rpcsvc/nis_callback.x: Likewise.
41117 * nis/rpcsvc/nis_object.x: Likewise.
41118 * nis/rpcsvc/nis_tags.h: Likewise.
41119 * nis/rpcsvc/yp.h: Likewise.
41120 * nis/rpcsvc/yp.x: Likewise.
41121 * nis/rpcsvc/ypupd.h: Likewise.
41122 * nis/yp_xdr.c: Likewise.
41123 * nis/ypupdate_xdr.c: Likewise.
41125 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41126 mainly the body of pmap_getport. Add parameters to specify timeouts.
41127 (pmap_getport): Use __libc_rpc_getport.
41128 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41129 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41130 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41132 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41137 2010-08-27 Roland McGrath <roland@redhat.com>
41139 * sysdeps/i386/i686/multiarch/Makefile
41140 (CFLAGS-varshift.c): New variable.
41142 2010-08-27 Ulrich Drepper <drepper@redhat.com>
41144 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41145 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41147 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41149 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41151 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41153 * sysdeps/x86_64/strlen.S: Unroll the loop.
41154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41155 strlen-sse2 strlen-sse2-bsf.
41156 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41157 __strlen_no_bsf if bit_Slow_BSF is set.
41158 (__strlen_sse42): Removed.
41159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41160 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41162 2010-08-25 Roland McGrath <roland@redhat.com>
41164 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41165 * sysdeps/x86_64/multiarch/varshift.c: New file.
41166 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41167 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41168 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41169 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41171 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41174 strlen-sse2 strlen-sse2-bsf.
41175 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41176 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41177 (__strlen_sse2): Removed.
41178 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41179 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41181 bit_Slow_BSF for Atom.
41182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41183 (index_Slow_BSF): Define.
41184 (HAS_SLOW_BSF): Define.
41186 2010-08-25 Ulrich Drepper <drepper@redhat.com>
41189 * resolv/res_init.c (__res_vinit): When no server address at all
41190 is given default to loopback.
41192 2010-08-24 Roland McGrath <roland@redhat.com>
41194 * configure.in: Remove config-name.h generation.
41195 * configure: Regenerated.
41196 * config-name.in: File removed.
41197 * scripts/config-uname.sh: New file.
41198 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41199 ($(objdir)config-name.h): New target.
41201 * sunrpc/rpc_parse.h: Avoid nested comment.
41203 2010-08-24 Richard Henderson <rth@redhat.com>
41204 Ulrich Drepper <drepper@redhat.com>
41205 H.J. Lu <hongjiu.lu@intel.com>
41207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41209 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41210 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41211 _mm_alignr_epi8 with _mm_loadu_si128.
41212 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41213 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41214 (__m128i_shift_right): Removed.
41215 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41216 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41217 * sysdeps/x86_64/multiarch/varshift.h: New file.
41218 * sysdeps/x86_64/multiarch/varshift.S: New file.
41220 2010-08-21 Mike Frysinger <vapier@gentoo.org>
41222 * configure.in: Move assembler checks to before sysdep dir checking.
41224 2010-08-20 Petr Baudis <pasky@suse.cz>
41226 * LICENSES: Sync the sunrpc license.
41228 2010-08-19 Ulrich Drepper <drepper@redhat.com>
41230 * sunrpc/auth_des.c: Update copyright notice once again.
41231 * sunrpc/auth_none.c: Likewise.
41232 * sunrpc/auth_unix.c: Likewise.
41233 * sunrpc/authdes_prot.c: Likewise.
41234 * sunrpc/authuxprot.c: Likewise.
41235 * sunrpc/bindrsvprt.c: Likewise.
41236 * sunrpc/clnt_gen.c: Likewise.
41237 * sunrpc/clnt_perr.c: Likewise.
41238 * sunrpc/clnt_raw.c: Likewise.
41239 * sunrpc/clnt_simp.c: Likewise.
41240 * sunrpc/clnt_tcp.c: Likewise.
41241 * sunrpc/clnt_udp.c: Likewise.
41242 * sunrpc/clnt_unix.c: Likewise.
41243 * sunrpc/des_crypt.c: Likewise.
41244 * sunrpc/des_soft.c: Likewise.
41245 * sunrpc/get_myaddr.c: Likewise.
41246 * sunrpc/getrpcport.c: Likewise.
41247 * sunrpc/key_call.c: Likewise.
41248 * sunrpc/key_prot.c: Likewise.
41249 * sunrpc/openchild.c: Likewise.
41250 * sunrpc/pm_getmaps.c: Likewise.
41251 * sunrpc/pm_getport.c: Likewise.
41252 * sunrpc/pmap_clnt.c: Likewise.
41253 * sunrpc/pmap_prot.c: Likewise.
41254 * sunrpc/pmap_prot2.c: Likewise.
41255 * sunrpc/pmap_rmt.c: Likewise.
41256 * sunrpc/rpc/auth.h: Likewise.
41257 * sunrpc/rpc/auth_unix.h: Likewise.
41258 * sunrpc/rpc/clnt.h: Likewise.
41259 * sunrpc/rpc/des_crypt.h: Likewise.
41260 * sunrpc/rpc/key_prot.h: Likewise.
41261 * sunrpc/rpc/netdb.h: Likewise.
41262 * sunrpc/rpc/pmap_clnt.h: Likewise.
41263 * sunrpc/rpc/pmap_prot.h: Likewise.
41264 * sunrpc/rpc/pmap_rmt.h: Likewise.
41265 * sunrpc/rpc/rpc.h: Likewise.
41266 * sunrpc/rpc/rpc_des.h: Likewise.
41267 * sunrpc/rpc/rpc_msg.h: Likewise.
41268 * sunrpc/rpc/svc.h: Likewise.
41269 * sunrpc/rpc/svc_auth.h: Likewise.
41270 * sunrpc/rpc/types.h: Likewise.
41271 * sunrpc/rpc/xdr.h: Likewise.
41272 * sunrpc/rpc_clntout.c: Likewise.
41273 * sunrpc/rpc_cmsg.c: Likewise.
41274 * sunrpc/rpc_common.c: Likewise.
41275 * sunrpc/rpc_cout.c: Likewise.
41276 * sunrpc/rpc_dtable.c: Likewise.
41277 * sunrpc/rpc_hout.c: Likewise.
41278 * sunrpc/rpc_main.c: Likewise.
41279 * sunrpc/rpc_parse.c: Likewise.
41280 * sunrpc/rpc_parse.h: Likewise.
41281 * sunrpc/rpc_prot.c: Likewise.
41282 * sunrpc/rpc_sample.c: Likewise.
41283 * sunrpc/rpc_scan.c: Likewise.
41284 * sunrpc/rpc_scan.h: Likewise.
41285 * sunrpc/rpc_svcout.c: Likewise.
41286 * sunrpc/rpc_tblout.c: Likewise.
41287 * sunrpc/rpc_util.c: Likewise.
41288 * sunrpc/rpc_util.h: Likewise.
41289 * sunrpc/rpcinfo.c: Likewise.
41290 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41291 * sunrpc/rpcsvc/key_prot.x: Likewise.
41292 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41293 * sunrpc/rpcsvc/mount.x: Likewise.
41294 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41295 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41296 * sunrpc/rpcsvc/rex.x: Likewise.
41297 * sunrpc/rpcsvc/rstat.x: Likewise.
41298 * sunrpc/rpcsvc/rusers.x: Likewise.
41299 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41300 * sunrpc/rpcsvc/spray.x: Likewise.
41301 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41302 * sunrpc/rtime.c: Likewise.
41303 * sunrpc/svc.c: Likewise.
41304 * sunrpc/svc_auth.c: Likewise.
41305 * sunrpc/svc_authux.c: Likewise.
41306 * sunrpc/svc_raw.c: Likewise.
41307 * sunrpc/svc_run.c: Likewise.
41308 * sunrpc/svc_simple.c: Likewise.
41309 * sunrpc/svc_tcp.c: Likewise.
41310 * sunrpc/svc_udp.c: Likewise.
41311 * sunrpc/svc_unix.c: Likewise.
41312 * sunrpc/svcauth_des.c: Likewise.
41313 * sunrpc/xcrypt.c: Likewise.
41314 * sunrpc/xdr.c: Likewise.
41315 * sunrpc/xdr_array.c: Likewise.
41316 * sunrpc/xdr_float.c: Likewise.
41317 * sunrpc/xdr_mem.c: Likewise.
41318 * sunrpc/xdr_rec.c: Likewise.
41319 * sunrpc/xdr_ref.c: Likewise.
41320 * sunrpc/xdr_sizeof.c: Likewise.
41321 * sunrpc/xdr_stdio.c: Likewise.
41323 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41326 2010-08-19 Andreas Schwab <schwab@redhat.com>
41328 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41330 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
41332 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41333 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41334 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41335 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41336 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41337 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41338 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41339 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41340 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41341 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41342 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41343 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41344 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41345 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41347 2010-07-26 Anton Blanchard <anton@samba.org>
41349 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41350 * malloc/arena.c (heap_trim): Likewise.
41352 2010-08-16 Ulrich Drepper <drepper@redhat.com>
41354 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41357 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41359 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41361 * sysdeps/i386/elf/Makefile: New file.
41363 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41365 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41366 from fanotify_init.
41367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41370 2010-08-15 Ulrich Drepper <drepper@redhat.com>
41372 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41374 * sysdeps/multiarch/strcmp.S: Likewise.
41376 2010-08-14 Ulrich Drepper <drepper@redhat.com>
41378 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41379 strncase_l-nonascii.
41380 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41381 Add strncase_l-ssse3.
41382 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41383 * sysdeps/x86_64/strcmp.S: Likewise.
41384 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41385 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41386 * sysdeps/x86_64/strncase.S: New file.
41387 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41388 * sysdeps/x86_64/strncase_l.S: New file.
41389 * string/Makefile (strop-tests): Add strncasecmp.
41390 * string/test-strncasecmp.c: New file.
41392 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41395 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41396 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41398 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41400 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41402 2010-08-12 Ulrich Drepper <drepper@redhat.com>
41404 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41405 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41406 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41408 2010-05-01 Alan Modra <amodra@gmail.com>
41410 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41411 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41412 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41413 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41414 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41415 tidying. Don't tail-call __sigjmp_save for static lib.
41416 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41418 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41419 (CALL_MCOUNT): Add eh info, and nop after bl.
41420 (TAIL_CALL_SYSCALL_ERROR): New macro.
41421 (PSEUDO_RET): Use it.
41422 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41423 Correct save location of integer regs and cr.
41424 (_dl_profile_resolve): Correct cr save location. Delete nops
41425 after bl when SHARED. Reduce cfi size a little by better
41426 placement of cfi directives.
41427 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41428 make a stack frame. Instead use parm save area as a temp.
41429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41430 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41432 Don't make a stack frame for parent, use parm save area.
41433 Increase child stack frame to 112 bytes. Don't save unused reg,
41434 and adjust reg usage. Set up cfi on error recovery and
41435 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41437 (__makecontext): Add dummy nop after jump to exit.
41438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41439 Use correct parm save area and cr save, reduce stack frame.
41440 Correct cfi for possible PSEUDO_RET frame setup.
41441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41442 Branch to local label emitted by PSEUDO_RET rather than
41445 2010-08-12 Andreas Schwab <schwab@redhat.com>
41448 * locale/programs/locale.c (print_assignment): New function.
41449 (show_locale_vars): Use it.
41451 2010-08-11 Ulrich Drepper <drepper@redhat.com>
41453 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41455 (struct statfs64): Likewise.
41456 (_STATFS_F_FLAGS): Define.
41457 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41458 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41459 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41460 (ST_VALID): Define locally.
41461 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41462 __statvfs_getflags, use the provided value.
41463 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41464 __ASSUME_STATFS_F_FLAGS.
41466 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41468 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41469 Add sys/fanotify.h.
41470 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41471 fanotify_mask for GLIBC_2.13.
41472 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41473 fanotify_init and fanotify_mark.
41474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41475 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41477 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41479 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41480 prlimit64 for GLIBC_2.13.
41481 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41486 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41487 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41488 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41489 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41491 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41494 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41495 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41497 * nss/Makefile: Add rules to build and run tst-nss-test1.
41498 * shlib-versions: Add entry for libnss_test1.
41499 * nss/nss_test1.c: New file.
41500 * nss/tst-nss-test1.c: New file.
41502 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41503 (__nss_configure_lookup): Set appropriate entry in
41504 __nss_configure_lookup to true.
41505 * nss/nsswitch.h: Define enum with indeces of databases in
41506 databases and __nss_database_custom arrays. Declare
41507 __nss_database_custom.
41508 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41509 to avoid using nscd when custom rules are installed.
41510 * nss/getXXbyYY_r.c: Likewise.
41511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41513 * nss/nss_files/files-parse.c: Whitespace fixes.
41515 2010-08-09 Ulrich Drepper <drepper@redhat.com>
41518 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41519 * posix/fnmatch_loop.c: Likewise.
41521 2010-07-17 Andi Kleen <ak@linux.intel.com>
41523 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41524 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41525 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41526 * Versions.def [GLIBC_2.13]: Add.
41528 2010-08-06 Ulrich Drepper <drepper@redhat.com>
41530 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41531 Also fail if tpwd after pwuid call is NULL.
41533 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41535 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41536 when converting to ms.
41538 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41540 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41541 EOPNOTSUPP errors with ENOTTY.
41542 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41543 EOPNOTSUPP errors with ENOTTY.
41545 2010-07-31 Ulrich Drepper <drepper@redhat.com>
41547 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41548 Add strcasecmp_l-ssse3.
41549 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41551 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41552 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41553 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41555 2010-07-30 Ulrich Drepper <drepper@redhat.com>
41557 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41559 * string/Makefile (strop-tests): Add strcasecmp.
41560 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41561 strcasecmp_l-nonascii.
41562 (gen-as-const-headers): Add locale-defines.sym.
41563 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41564 * sysdeps/x86_64/strcasecmp.S: New file.
41565 * sysdeps/x86_64/strcasecmp_l.S: New file.
41566 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41567 * sysdeps/x86_64/locale-defines.sym: New file.
41568 * string/test-strcasecmp.c: New file.
41570 * string/test-strcasestr.c: Test both ends of the range of characters.
41571 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41573 2010-07-29 Roland McGrath <roland@redhat.com>
41576 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41578 2010-07-27 Ulrich Drepper <drepper@redhat.com>
41580 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41583 2010-07-27 Andreas Schwab <schwab@redhat.com>
41585 * manual/memory.texi (Malloc Tunable Parameters): Document
41588 2010-07-26 Roland McGrath <roland@redhat.com>
41591 * configure.in (-fgnu89-inline check): Set and substitute
41592 gnu89_inline, not libc_cv_gnu89_inline.
41593 * configure: Regenerated.
41594 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41596 2010-07-26 Ulrich Drepper <drepper@redhat.com>
41598 * string/test-strnlen.c: New file.
41599 * string/Makefile (strop-tests): Add strnlen.
41600 * string/tester.c (test_strnlen): Add a few more test cases.
41601 * string/tst-strlen.c: Better error reporting.
41603 * sysdeps/x86_64/strnlen.S: New file.
41605 2010-07-24 Ulrich Drepper <drepper@redhat.com>
41607 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41608 lower-latency instructions.
41610 2010-07-23 Ulrich Drepper <drepper@redhat.com>
41612 * string/test-strcasestr.c: New file.
41613 * string/test-strstr.c: New file.
41614 * string/Makefile (strop-tests): Add strstr and strcasestr.
41615 * string/str-two-way.h: Don't undefine MAX.
41616 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41618 2010-07-21 Andreas Schwab <schwab@redhat.com>
41620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41621 strcasestr-nonascii.
41622 (CFLAGS-strcasestr-nonascii.c): Define.
41623 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41624 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41625 Remove unused attribute.
41627 2010-07-20 Roland McGrath <roland@redhat.com>
41629 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41630 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41631 ld.so.cache was broken. With it, there is no way to disable dsocaps
41632 like LD_HWCAP_MASK can disable hwcaps.
41634 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41636 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41638 2010-07-16 Ulrich Drepper <drepper@redhat.com>
41640 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41641 call in strcasestr.
41642 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41643 __strcasestr_sse42_nonascii.
41644 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41645 strcasestr-nonascii.c.
41646 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41648 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
41650 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41651 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41652 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41653 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41655 2010-07-09 Ulrich Drepper <drepper@redhat.com>
41657 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41660 2010-07-06 Andreas Schwab <schwab@redhat.com>
41663 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41666 2010-07-06 Ulrich Drepper <drepper@redhat.com>
41668 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41669 _PC_PIPE_BUF using F_GETPIPE_SZ.
41671 2010-07-05 Roland McGrath <roland@redhat.com>
41673 * manual/arith.texi (Rounding Functions): Fix rint description
41674 implicit in round description.
41676 2010-07-02 Ulrich Drepper <drepper@redhat.com>
41678 * elf/Makefile: Fix linking for a few tests to make recent linker
41681 2010-06-30 Andreas Schwab <schwab@redhat.com>
41683 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41684 $(common-objpfx)libc_nonshared.a.
41686 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
41688 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41689 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41690 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41691 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41692 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41693 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41694 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41695 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41710 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41711 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41712 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41713 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41714 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41715 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41716 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41717 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41718 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41719 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41720 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41721 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41737 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41739 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41740 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
41741 * string/memmove.c (memmove): Renamed to ...
41742 (MEMMOVE): ...this. Default to memmove.
41743 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41744 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41747 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41748 mempcpy-ssse3-back memmove-ssse3-back.
41749 * sysdeps/x86_64/multiarch/bcopy.S: New file .
41750 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41751 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41752 * sysdeps/x86_64/multiarch/memcpy.S: New file.
41753 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41754 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41755 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41756 * sysdeps/x86_64/multiarch/memmove.c: New file.
41757 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41758 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41759 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41760 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41761 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41762 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41764 (index_Fast_Copy_Backward): Define.
41765 (HAS_ARCH_FEATURE): Define.
41766 (HAS_FAST_REP_STRING): Define.
41767 (HAS_FAST_COPY_BACKWARD): Define.
41769 2010-06-21 Andreas Schwab <schwab@redhat.com>
41771 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41772 Restore proper fallback handling.
41774 2010-06-19 Ulrich Drepper <drepper@redhat.com>
41777 * posix/group_member.c (__group_member): Correct checking loop.
41779 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41780 OOM in getpwuid_r correctly. Return error number when the caller
41781 should return, otherwise -1.
41782 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41783 call returning > 0 value.
41784 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41786 2010-06-07 Andreas Schwab <schwab@redhat.com>
41788 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41789 libc_nonshared.a from targets in modules-names.
41791 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
41793 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41796 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
41798 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41799 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41800 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41801 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41803 2010-06-02 Andreas Schwab <schwab@redhat.com>
41805 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41807 2010-06-14 Ulrich Drepper <drepper@redhat.com>
41809 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41811 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41812 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41813 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41815 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41816 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41818 2010-06-14 Roland McGrath <roland@redhat.com>
41820 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41822 2010-06-07 Jakub Jelinek <jakub@redhat.com>
41824 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41825 __REDIRECT followed by __THROW.
41826 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41827 * posix/getopt.h (getopt): Likewise.
41829 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41831 * hurd/lookup-at.c (__file_name_lookup_at): Accept
41832 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
41833 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41835 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41836 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41838 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
41840 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41842 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
41845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41846 Properly check family and model.
41848 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
41850 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41852 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
41854 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41856 2010-05-21 Ulrich Drepper <drepper@redhat.com>
41858 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41861 2010-05-19 Andreas Schwab <schwab@redhat.com>
41863 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41866 2010-05-21 Andreas Schwab <schwab@redhat.com>
41868 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41869 and internal_recvmmsg.
41870 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41871 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41872 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41873 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41875 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41876 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41877 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41879 2010-05-20 Andreas Schwab <schwab@redhat.com>
41881 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41883 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
41885 POWER7 optimizations.
41886 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41887 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41889 2010-05-19 Ulrich Drepper <drepper@redhat.com>
41891 * version.h: Update for 2.13 development version.
41893 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
41895 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41896 exceptions. Return 0.
41898 2010-05-07 Roland McGrath <roland@redhat.com>
41900 * elf/ldconfig.c (main): Add a const.
41902 2010-05-06 Ulrich Drepper <drepper@redhat.com>
41904 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41905 (args_options): Add no-idn option.
41906 (ahosts_keys_int): Add idn_flags to ai_flags.
41907 (parse_option): Handle 'i' option to clear idn_flags.
41909 * malloc/malloc.c (_int_free): Possible race in the most recently
41910 added check. Only act on the data if no current modification
41913 See ChangeLog.17 for earlier changes.