1 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3 * INSTALL: Regenerated.
5 2014-03-13 Will Newton <will.newton@linaro.org>
7 * manual/setjmp.texi (System V contexts): Improve
8 clarity and grammar of documentation.
10 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13 * elf/Makefile (tests): Add tst-pie2.
14 (tests-pie): Add tst-pie2.
15 * elf/tst-pie2.c: New file.
16 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18 * elf/rtld.c (map_doit): Load executable as lt_executable.
21 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25 (__ASSUME_PSELECT): Undefine.
27 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34 selector for static builds.
36 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
39 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
42 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
45 selector for static builds.
47 2014-03-11 Joseph Myers <joseph@codesourcery.com>
49 * sysdeps/mips/math_private.h [__mips_hard_float]
50 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51 libc_feresetround_mips_ctx.
52 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
57 * math/s_nextafter.c (__nextafter): Do not return value from
58 overflowing computation.
59 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
60 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
61 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
63 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
65 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
66 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
68 2014-03-11 Roland McGrath <roland@hack.frob.com>
70 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
71 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
72 Move sfi_sp use from the load-multiple (that no longer sets sp) to
73 the new mov targetting sp.
75 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
79 Define it for static builds as well.
80 (NO_BZERO_IMPL): Likewise.
82 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
84 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
85 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
86 multiarch strspn for PPC64.
87 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
88 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
89 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
90 (__libc_ifunc_impl_list): Likewise.
91 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
92 multiarch optimizations
93 * string/strspn.c (strspn): Using macro to redefine symbol name.
95 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
96 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
99 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
100 multiarch strncat for PPC64.
101 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
102 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
104 (__libc_ifunc_impl_list): Likewise.
105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
106 multiarch optimizations
108 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
111 * nscd/nscd.service: Make service type forking.
113 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
115 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
116 sign in non default rounding modes.
117 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
119 2014-03-08 Joseph Myers <joseph@codesourcery.com>
121 * math/libm-test.inc (ALL_RM_TEST): New macro.
122 (ceil_test): Use ALL_RM_TEST.
123 (cimag_test): Likewise.
124 (conj_test): Likewise.
125 (copysign_test): Likewise.
126 (cproj_test): Likewise.
127 (creal_test): Likewise.
128 (fabs_test): Likewise.
129 (floor_test): Likewise.
130 (fmax_test): Likewise.
131 (fmin_test): Likewise.
132 (fmod_test): Likewise.
133 (fpclassify_test): Likewise.
134 (frexp_test): Likewise.
135 (ilogb_test): Likewise.
136 (isfinite_test): Likewise.
137 (finite_test): Likewise.
138 (isgreater_test): Likewise.
139 (isgreaterequal_test): Likewise.
140 (isinf_test): Likewise.
141 (isless_test): Likewise.
142 (islessequal_test): Likewise.
143 (islessgreater_test): Likewise.
144 (isnan_test): Likewise.
145 (isnormal_test): Likewise.
146 (issignaling_test): Likewise.
147 (isunordered_test): Likewise.
148 (logb_test): Likewise.
149 (logb_downward_test_data): Remove.
150 (logb_test_downward): Likewise.
151 (lround_test): Use ALL_RM_TEST.
152 (llround_test): Likewise.
153 (modf_test): Likewise.
154 (nexttoward_test): Likewise.
155 (remainder_test): Likewise.
156 (drem_test): Likewise.
157 (remainder_tonearest_test_data): Likewise.
158 (remainder_test_tonearest): Likewise.
159 (drem_test_tonearest): Likewise.
160 (remainder_towardzero_test_data): Likewise.
161 (remainder_test_towardzero): Likewise.
162 (drem_test_towardzero): Likewise.
163 (remainder_downward_test_data): Likewise.
164 (remainder_test_downward): Likewise.
165 (drem_test_downward): Likewise.
166 (remainder_upward_test_data): Likewise.
167 (remainder_test_upward): Likewise.
168 (drem_test_upward): Likewise.
169 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
170 (round_test): Use ALL_RM_TEST.
171 (signbit_test): Likewise.
172 (trunc_test): Likewise.
173 (significand_test): Likewise.
174 (main): Don't call removed functions.
176 2014-03-07 Joseph Myers <joseph@codesourcery.com>
179 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
181 (ILL_ILLOPN): Likewise.
182 (ILL_ILLADR): Likewise.
183 (ILL_ILLTRP): Likewise.
184 (ILL_PRVOPC): Likewise.
185 (ILL_PRVREG): Likewise.
186 (ILL_COPROC): Likewise.
187 (ILL_BADSTK): Likewise.
188 (FPE_INTDIV): Likewise.
189 (FPE_INTOVF): Likewise.
190 (FPE_FLTDIV): Likewise.
191 (FPE_FLTOVF): Likewise.
192 (FPE_FLTUND): Likewise.
193 (FPE_FLTRES): Likewise.
194 (FPE_FLTINV): Likewise.
195 (FPE_FLTSUB): Likewise.
196 (SEGV_MAPERR): Likewise.
197 (SEGV_ACCERR): Likewise.
198 (BUS_ADRALN): Likewise.
199 (BUS_ADRERR): Likewise.
200 (BUS_OBJERR): Likewise.
201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
202 (TRAP_TRACE): Likewise.
203 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
205 (CLD_KILLED): Likewise.
206 (CLD_DUMPED): Likewise.
207 (CLD_TRAPPED): Likewise.
208 (CLD_STOPPED): Likewise.
209 (CLD_CONTINUED): Likewise.
211 (POLL_OUT): Likewise.
212 (POLL_MSG): Likewise.
213 (POLL_ERR): Likewise.
214 (POLL_PRI): Likewise.
215 (POLL_HUP): Likewise.
216 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
218 (ILL_ILLOPN): Likewise.
219 (ILL_ILLADR): Likewise.
220 (ILL_ILLTRP): Likewise.
221 (ILL_PRVOPC): Likewise.
222 (ILL_PRVREG): Likewise.
223 (ILL_COPROC): Likewise.
224 (ILL_BADSTK): Likewise.
225 (FPE_INTDIV): Likewise.
226 (FPE_INTOVF): Likewise.
227 (FPE_FLTDIV): Likewise.
228 (FPE_FLTOVF): Likewise.
229 (FPE_FLTUND): Likewise.
230 (FPE_FLTRES): Likewise.
231 (FPE_FLTINV): Likewise.
232 (FPE_FLTSUB): Likewise.
233 (SEGV_MAPERR): Likewise.
234 (SEGV_ACCERR): Likewise.
235 (BUS_ADRALN): Likewise.
236 (BUS_ADRERR): Likewise.
237 (BUS_OBJERR): Likewise.
238 (BUS_MCEERR_AR): Likewise.
239 (BUS_MCEERR_AO): Likewise.
240 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
241 (TRAP_TRACE): Likewise.
242 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
244 (CLD_KILLED): Likewise.
245 (CLD_DUMPED): Likewise.
246 (CLD_TRAPPED): Likewise.
247 (CLD_STOPPED): Likewise.
248 (CLD_CONTINUED): Likewise.
250 (POLL_OUT): Likewise.
251 (POLL_MSG): Likewise.
252 (POLL_ERR): Likewise.
253 (POLL_PRI): Likewise.
254 (POLL_HUP): Likewise.
255 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
256 (ILL_ILLOPN): Likewise.
257 (ILL_ILLADR): Likewise.
258 (ILL_ILLTRP): Likewise.
259 (ILL_PRVOPC): Likewise.
260 (ILL_PRVREG): Likewise.
261 (ILL_COPROC): Likewise.
262 (ILL_BADSTK): Likewise.
263 (FPE_INTDIV): Likewise.
264 (FPE_INTOVF): Likewise.
265 (FPE_FLTDIV): Likewise.
266 (FPE_FLTOVF): Likewise.
267 (FPE_FLTUND): Likewise.
268 (FPE_FLTRES): Likewise.
269 (FPE_FLTINV): Likewise.
270 (FPE_FLTSUB): Likewise.
271 (SEGV_MAPERR): Likewise.
272 (SEGV_ACCERR): Likewise.
273 (BUS_ADRALN): Likewise.
274 (BUS_ADRERR): Likewise.
275 (BUS_OBJERR): Likewise.
276 (BUS_MCEERR_AR): Likewise.
277 (BUS_MCEERR_AO): Likewise.
278 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
279 (TRAP_TRACE): Likewise.
280 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
282 (CLD_KILLED): Likewise.
283 (CLD_DUMPED): Likewise.
284 (CLD_TRAPPED): Likewise.
285 (CLD_STOPPED): Likewise.
286 (CLD_CONTINUED): Likewise.
288 (POLL_OUT): Likewise.
289 (POLL_MSG): Likewise.
290 (POLL_ERR): Likewise.
291 (POLL_PRI): Likewise.
292 (POLL_HUP): Likewise.
293 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
295 (ILL_ILLOPN): Likewise.
296 (ILL_ILLADR): Likewise.
297 (ILL_ILLTRP): Likewise.
298 (ILL_PRVOPC): Likewise.
299 (ILL_PRVREG): Likewise.
300 (ILL_COPROC): Likewise.
301 (ILL_BADSTK): Likewise.
302 (ILL_BADIADDR): Likewise.
303 (ILL_BREAK): Likewise.
304 (FPE_INTDIV): Likewise.
305 (FPE_INTOVF): Likewise.
306 (FPE_FLTDIV): Likewise.
307 (FPE_FLTOVF): Likewise.
308 (FPE_FLTUND): Likewise.
309 (FPE_FLTRES): Likewise.
310 (FPE_FLTINV): Likewise.
311 (FPE_FLTSUB): Likewise.
312 (FPE_DECOVF): Likewise.
313 (FPE_DECDIV): Likewise.
314 (FPE_DECERR): Likewise.
315 (FPE_INVASC): Likewise.
316 (FPE_INVDEC): Likewise.
317 (SEGV_MAPERR): Likewise.
318 (SEGV_ACCERR): Likewise.
319 (SEGV_PSTKOVF): Likewise.
320 (BUS_ADRALN): Likewise.
321 (BUS_ADRERR): Likewise.
322 (BUS_OBJERR): Likewise.
323 (BUS_MCEERR_AR): Likewise.
324 (BUS_MCEERR_AO): Likewise.
325 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
326 (TRAP_TRACE): Likewise.
327 (TRAP_BRANCH): Likewise.
328 (TRAP_HWBKPT): Likewise.
329 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
331 (CLD_KILLED): Likewise.
332 (CLD_DUMPED): Likewise.
333 (CLD_TRAPPED): Likewise.
334 (CLD_STOPPED): Likewise.
335 (CLD_CONTINUED): Likewise.
337 (POLL_OUT): Likewise.
338 (POLL_MSG): Likewise.
339 (POLL_ERR): Likewise.
340 (POLL_PRI): Likewise.
341 (POLL_HUP): Likewise.
342 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
343 (ILL_ILLOPN): Likewise.
344 (ILL_ILLADR): Likewise.
345 (ILL_ILLTRP): Likewise.
346 (ILL_PRVOPC): Likewise.
347 (ILL_PRVREG): Likewise.
348 (ILL_COPROC): Likewise.
349 (ILL_BADSTK): Likewise.
350 (FPE_INTDIV): Likewise.
351 (FPE_INTOVF): Likewise.
352 (FPE_FLTDIV): Likewise.
353 (FPE_FLTOVF): Likewise.
354 (FPE_FLTUND): Likewise.
355 (FPE_FLTRES): Likewise.
356 (FPE_FLTINV): Likewise.
357 (FPE_FLTSUB): Likewise.
358 (SEGV_MAPERR): Likewise.
359 (SEGV_ACCERR): Likewise.
360 (BUS_ADRALN): Likewise.
361 (BUS_ADRERR): Likewise.
362 (BUS_OBJERR): Likewise.
363 (BUS_MCEERR_AR): Likewise.
364 (BUS_MCEERR_AO): Likewise.
365 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
366 (TRAP_TRACE): Likewise.
367 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
369 (CLD_KILLED): Likewise.
370 (CLD_DUMPED): Likewise.
371 (CLD_TRAPPED): Likewise.
372 (CLD_STOPPED): Likewise.
373 (CLD_CONTINUED): Likewise.
375 (POLL_OUT): Likewise.
376 (POLL_MSG): Likewise.
377 (POLL_ERR): Likewise.
378 (POLL_PRI): Likewise.
379 (POLL_HUP): Likewise.
380 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
381 (ILL_ILLOPN): Likewise.
382 (ILL_ILLADR): Likewise.
383 (ILL_ILLTRP): Likewise.
384 (ILL_PRVOPC): Likewise.
385 (ILL_PRVREG): Likewise.
386 (ILL_COPROC): Likewise.
387 (ILL_BADSTK): Likewise.
388 (FPE_INTDIV): Likewise.
389 (FPE_INTOVF): Likewise.
390 (FPE_FLTDIV): Likewise.
391 (FPE_FLTOVF): Likewise.
392 (FPE_FLTUND): Likewise.
393 (FPE_FLTRES): Likewise.
394 (FPE_FLTINV): Likewise.
395 (FPE_FLTSUB): Likewise.
396 (SEGV_MAPERR): Likewise.
397 (SEGV_ACCERR): Likewise.
398 (BUS_ADRALN): Likewise.
399 (BUS_ADRERR): Likewise.
400 (BUS_OBJERR): Likewise.
401 (BUS_MCEERR_AR): Likewise.
402 (BUS_MCEERR_AO): Likewise.
403 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
404 (TRAP_TRACE): Likewise.
405 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
407 (CLD_KILLED): Likewise.
408 (CLD_DUMPED): Likewise.
409 (CLD_TRAPPED): Likewise.
410 (CLD_STOPPED): Likewise.
411 (CLD_CONTINUED): Likewise.
413 (POLL_OUT): Likewise.
414 (POLL_MSG): Likewise.
415 (POLL_ERR): Likewise.
416 (POLL_PRI): Likewise.
417 (POLL_HUP): Likewise.
418 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
419 (ILL_ILLOPN): Likewise.
420 (ILL_ILLADR): Likewise.
421 (ILL_ILLTRP): Likewise.
422 (ILL_PRVOPC): Likewise.
423 (ILL_PRVREG): Likewise.
424 (ILL_COPROC): Likewise.
425 (ILL_BADSTK): Likewise.
426 (FPE_INTDIV): Likewise.
427 (FPE_INTOVF): Likewise.
428 (FPE_FLTDIV): Likewise.
429 (FPE_FLTOVF): Likewise.
430 (FPE_FLTUND): Likewise.
431 (FPE_FLTRES): Likewise.
432 (FPE_FLTINV): Likewise.
433 (FPE_FLTSUB): Likewise.
434 (SEGV_MAPERR): Likewise.
435 (SEGV_ACCERR): Likewise.
436 (BUS_ADRALN): Likewise.
437 (BUS_ADRERR): Likewise.
438 (BUS_OBJERR): Likewise.
439 (BUS_MCEERR_AR): Likewise.
440 (BUS_MCEERR_AO): Likewise.
441 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
442 (TRAP_TRACE): Likewise.
443 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
445 (CLD_KILLED): Likewise.
446 (CLD_DUMPED): Likewise.
447 (CLD_TRAPPED): Likewise.
448 (CLD_STOPPED): Likewise.
449 (CLD_CONTINUED): Likewise.
451 (POLL_OUT): Likewise.
452 (POLL_MSG): Likewise.
453 (POLL_ERR): Likewise.
454 (POLL_PRI): Likewise.
455 (POLL_HUP): Likewise.
456 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
457 (ILL_ILLOPN): Likewise.
458 (ILL_ILLADR): Likewise.
459 (ILL_ILLTRP): Likewise.
460 (ILL_PRVOPC): Likewise.
461 (ILL_PRVREG): Likewise.
462 (ILL_COPROC): Likewise.
463 (ILL_BADSTK): Likewise.
464 (ILL_DBLFLT): Likewise.
465 (ILL_HARDWALL): Likewise.
466 (FPE_INTDIV): Likewise.
467 (FPE_INTOVF): Likewise.
468 (FPE_FLTDIV): Likewise.
469 (FPE_FLTOVF): Likewise.
470 (FPE_FLTUND): Likewise.
471 (FPE_FLTRES): Likewise.
472 (FPE_FLTINV): Likewise.
473 (FPE_FLTSUB): Likewise.
474 (SEGV_MAPERR): Likewise.
475 (SEGV_ACCERR): Likewise.
476 (BUS_ADRALN): Likewise.
477 (BUS_ADRERR): Likewise.
478 (BUS_OBJERR): Likewise.
479 (BUS_MCEERR_AR): Likewise.
480 (BUS_MCEERR_AO): Likewise.
481 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
482 (TRAP_TRACE): Likewise.
483 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
485 (CLD_KILLED): Likewise.
486 (CLD_DUMPED): Likewise.
487 (CLD_TRAPPED): Likewise.
488 (CLD_STOPPED): Likewise.
489 (CLD_CONTINUED): Likewise.
491 (POLL_OUT): Likewise.
492 (POLL_MSG): Likewise.
493 (POLL_ERR): Likewise.
494 (POLL_PRI): Likewise.
495 (POLL_HUP): Likewise.
496 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
497 (ILL_ILLOPN): Likewise.
498 (ILL_ILLADR): Likewise.
499 (ILL_ILLTRP): Likewise.
500 (ILL_PRVOPC): Likewise.
501 (ILL_PRVREG): Likewise.
502 (ILL_COPROC): Likewise.
503 (ILL_BADSTK): Likewise.
504 (FPE_INTDIV): Likewise.
505 (FPE_INTOVF): Likewise.
506 (FPE_FLTDIV): Likewise.
507 (FPE_FLTOVF): Likewise.
508 (FPE_FLTUND): Likewise.
509 (FPE_FLTRES): Likewise.
510 (FPE_FLTINV): Likewise.
511 (FPE_FLTSUB): Likewise.
512 (SEGV_MAPERR): Likewise.
513 (SEGV_ACCERR): Likewise.
514 (BUS_ADRALN): Likewise.
515 (BUS_ADRERR): Likewise.
516 (BUS_OBJERR): Likewise.
517 (BUS_MCEERR_AR): Likewise.
518 (BUS_MCEERR_AO): Likewise.
519 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
520 (TRAP_TRACE): Likewise.
521 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
523 (CLD_KILLED): Likewise.
524 (CLD_DUMPED): Likewise.
525 (CLD_TRAPPED): Likewise.
526 (CLD_STOPPED): Likewise.
527 (CLD_CONTINUED): Likewise.
529 (POLL_OUT): Likewise.
530 (POLL_MSG): Likewise.
531 (POLL_ERR): Likewise.
532 (POLL_PRI): Likewise.
533 (POLL_HUP): Likewise.
534 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
535 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
538 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
539 before #include of <time.h>.
540 [!__USE_XOPEN2K] (__need_timespec): Likewise.
541 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
542 (test-xfail-UNIX98/sched.h/conform): Likewise.
544 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
546 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
547 error absence of trapping exception support.
548 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
550 2014-03-07 Joseph Myers <joseph@codesourcery.com>
552 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
553 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
554 * timezone/Makefile (testdata): Move definition above include of
556 (test-zones): New variable.
557 (tests-special): Add zone files.
558 (build-testdata): Use $(evaluate-test).
560 * elf/Makefile (tests-special): Rename tests to end with .out.
561 ($(objpfx)noload-mem): Likewise.
562 ($(objpfx)tst-leaks1-mem): Likewise.
563 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
564 * iconv/Makefile (xtests-special): Change test-iconvconfig to
565 $(objpfx)test-iconvconfig.out.
566 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
567 set -e inside subshell and redirect output to file.
568 * iconvdata/Makefile (generated): Rename tests to end with .out.
570 (tests-special): Rename tests to end with .out.
571 ($(objpfx)mtrace-tst-loading): Likewise.
572 * intl/Makefile (generated): Likewise.
573 (tests-special): Likewise.
574 ($(objpfx)mtrace-tst-gettext): Likewise.
575 * misc/Makefile (generated): Likewise.
576 (tests-special): Likewise.
577 ($(objpfx)tst-error1-mem): Likewise.
578 * nptl/Makefile (tests-special): Likewise.
579 ($(objpfx)tst-stack3-mem): Likewise.
580 (generated): Likewise.
581 * posix/Makefile (generated): Likewise.
582 (tests-special): Likewise.
583 (xtests-special): Likewise.
584 ($(objpfx)tst-fnmatch-mem): Likewise.
585 ($(objpfx)bug-regex2-mem): Likewise.
586 ($(objpfx)bug-regex14-mem): Likewise.
587 ($(objpfx)bug-regex21-mem): Likewise.
588 ($(objpfx)bug-regex31-mem): Likewise.
589 ($(objpfx)tst-vfork3-mem): Likewise.
590 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
591 ($(objpfx)tst-pcre-mem): Likewise.
592 ($(objpfx)tst-boost-mem): Likewise.
593 ($(objpfx)bug-ga2-mem): Likewise.
594 ($(objpfx)bug-glob2-mem): Likewise.
595 * resolv/Makefile (generate): Likewise.
596 (tests-special): Likewise.
597 (xtests-special): Likewise.
598 (generated): Likewise.
599 ($(objpfx)mtrace-tst-leaks): Likewise.
600 ($(objpfx)mtrace-tst-leaks2): Likewise.
602 * scripts/merge-test-results.sh: New file.
603 * Makefile (tests-special-notdir): New variable.
604 (tests): Run merge-test-results.sh.
606 * Rules (tests-special-notdir): New variable.
607 (xtests-special-notdir): Likewise.
608 (tests): Run merge-test-results.sh
611 * Makeconfig (test-xfail-name): New variable.
612 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
613 compute variable name for expected failures.
614 * conform/Makefile (conformtest-headers-data): New variable.
615 (conformtest-standards): Likewise.
616 (conformtest-headers-ISO): Likewise.
617 (conformtest-headers-ISO99): Likewise.
618 (conformtest-headers-ISO11): Likewise.
619 (conformtest-headers-POSIX): Likewise.
620 (conformtest-headers-XPG3): Likewise.
621 (conformtest-headers-XPG4): Likewise.
622 (conformtest-headers-UNIX98): Likewise.
623 (conformtest-headers-XOPEN2K): Likewise.
624 (conformtest-headers-POSIX2008): Likewise.
625 (conformtest-headers-XOPEN2K8): Likewise.
626 (conformtest-header-list-base): Likewise.
627 (conformtest-header-list-tests): Likewise.
628 (conformtest-header-base): Likewise.
629 (conformtest-header-tests): Likewise.
630 (tests-special): Add $(conformtest-header-list-tests). If
631 [$(fast-check) && !$(cross-compiling)], add
632 $(conformtest-header-tests) instead of
633 $(objpfx)run-conformtest.out.
634 (generated): Add $(conformtest-header-list-base). If
635 [$(fast-check) && !$(cross-compiling)], add
636 $(conformtest-header-base). Remove previous setting.
637 ($(conformtest-header-list-tests)): New target.
638 (test-xfail-run-conformtest): Remove variable.
639 ($(objpfx)run-conformtest.out): Remove target.
640 (test-xfail-ISO11/complex.h/conform): New variable.
641 (test-xfail-ISO11/stdalign.h/conform): Likewise.
642 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
643 (test-xfail-XPG3/varargs.h/conform): Likewise.
644 (test-xfail-XPG4/varargs.h/conform): Likewise.
645 (test-xfail-UNIX98/varargs.h/conform): Likewise.
646 (test-xfail-XPG4/ndbm.h/conform): Likewise.
647 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
648 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
649 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
650 (test-xfail-XPG3/fcntl.h/conform): Likewise.
651 (test-xfail-XPG3/ftw.h/conform): Likewise.
652 (test-xfail-XPG3/grp.h/conform): Likewise.
653 (test-xfail-XPG3/langinfo.h/conform): Likewise.
654 (test-xfail-XPG3/limits.h/conform): Likewise.
655 (test-xfail-XPG3/pwd.h/conform): Likewise.
656 (test-xfail-XPG3/search.h/conform): Likewise.
657 (test-xfail-XPG3/signal.h/conform): Likewise.
658 (test-xfail-XPG3/stdio.h/conform): Likewise.
659 (test-xfail-XPG3/stdlib.h/conform): Likewise.
660 (test-xfail-XPG3/string.h/conform): Likewise.
661 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
662 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
663 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
664 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
665 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
666 (test-xfail-XPG3/sys/types.h/conform): Likewise.
667 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
668 (test-xfail-XPG3/termios.h/conform): Likewise.
669 (test-xfail-XPG3/time.h/conform): Likewise.
670 (test-xfail-XPG3/unistd.h/conform): Likewise.
671 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
672 (test-xfail-XPG4/fcntl.h/conform): Likewise.
673 (test-xfail-XPG4/langinfo.h/conform): Likewise.
674 (test-xfail-XPG4/netdb.h/conform): Likewise.
675 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
676 (test-xfail-XPG4/signal.h/conform): Likewise.
677 (test-xfail-XPG4/stdio.h/conform): Likewise.
678 (test-xfail-XPG4/stdlib.h/conform): Likewise.
679 (test-xfail-XPG4/stropts.h/conform): Likewise.
680 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
681 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
682 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
683 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
684 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
685 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
686 (test-xfail-XPG4/sys/time.h/conform): Likewise.
687 (test-xfail-XPG4/sys/types.h/conform): Likewise.
688 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
689 (test-xfail-XPG4/termios.h/conform): Likewise.
690 (test-xfail-XPG4/ucontext.h/conform): Likewise.
691 (test-xfail-XPG4/unistd.h/conform): Likewise.
692 (test-xfail-XPG4/utmpx.h/conform): Likewise.
693 (test-xfail-POSIX/sched.h/conform): Likewise.
694 (test-xfail-POSIX/signal.h/conform): Likewise.
695 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
696 (test-xfail-POSIX/tar.h/conform): Likewise.
697 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
698 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
699 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
700 (test-xfail-UNIX98/netdb.h/conform): Likewise.
701 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
702 (test-xfail-UNIX98/sched.h/conform): Likewise.
703 (test-xfail-UNIX98/signal.h/conform): Likewise.
704 (test-xfail-UNIX98/stdio.h/conform): Likewise.
705 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
706 (test-xfail-UNIX98/stropts.h/conform): Likewise.
707 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
708 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
709 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
710 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
711 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
712 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
713 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
714 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
715 (test-xfail-UNIX98/unistd.h/conform): Likewise.
716 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
717 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
718 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
719 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
720 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
721 (test-xfail-XOPEN2K/math.h/conform): Likewise.
722 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
723 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
724 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
725 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
726 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
727 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
728 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
729 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
730 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
731 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
732 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
733 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
734 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
735 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
736 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
737 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
738 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
739 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
740 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
741 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
742 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
743 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
744 (test-xfail-POSIX2008/signal.h/conform): Likewise.
745 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
746 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
747 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
748 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
749 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
750 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
751 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
752 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
753 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
754 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
755 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
756 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
757 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
758 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
759 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
760 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
761 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
762 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
763 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
764 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
765 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
766 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
767 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
768 (conformtest-cc-flags): Likewise.
769 ($(conformtest-header-tests): New target.
770 * conform/check-header-lists.sh: New file.
771 * conform/run-conformtest.sh: Remove.
773 * conform/conformtest.pl: Allow ' and \ in values given for
775 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
777 [POSIX] (sys/types.h): Likewise.
778 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
780 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
782 * conform/data/signal.h-data (SIGIO): Remove expectation.
783 [XPG3] (SIGBUS): Do not expect.
784 [POSIX || XPG3] (SIGPOLL): Likewise.
785 [POSIX || XPG3] (SIGPROF): Likewise.
786 [POSIX || XPG3] (SIGSYS): Likewise.
787 [XPG3] (SIGTRAP): Likewise.
788 [POSIX || XPG3] (SIGURG): Likewise.
789 [POSIX || XPG3] (SIGVTALRM): Likewise.
790 [POSIX || XPG3] (SIGXCPU): Likewise.
791 [POSIX || XPG3] (SIGXFSZ): Likewise.
792 [POSIX] (SA_SIGINFO): Expect.
793 [XPG3] (siginfo_t): Do not expect type or contents.
794 [POSIX] (si_pid): Do not expect element.
795 [POSIX] (si_uid): Likewise.
796 [POSIX] (si_addr): Likewise.
797 [POSIX] (si_status): Likewise.
798 [POSIX] (si_band): Likewise.
799 [XPG4] (si_value): Likewise.
800 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
801 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
802 [POSIX || XPG3] (ILL_ILLADR): Likewise.
803 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
804 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
805 [POSIX || XPG3] (ILL_PRVREG): Likewise.
806 [POSIX || XPG3] (ILL_COPROC): Likewise.
807 [POSIX || XPG3] (ILL_BADSTK): Likewise.
808 [POSIX || XPG3] (FPE_INTDIV): Likewise.
809 [POSIX || XPG3] (FPE_INTOVF): Likewise.
810 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
811 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
812 [POSIX || XPG3] (FPE_FLTUND): Likewise.
813 [POSIX || XPG3] (FPE_FLTRES): Likewise.
814 [POSIX || XPG3] (FPE_FLTINV): Likewise.
815 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
816 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
817 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
818 [POSIX || XPG3] (BUS_ADRALN): Likewise.
819 [POSIX || XPG3] (BUS_ADRERR): Likewise.
820 [POSIX || XPG3] (BUS_OBJERR): Likewise.
821 [POSIX || XPG3] (CLD_EXITED): Likewise.
822 [POSIX || XPG3] (CLD_KILLED): Likewise.
823 [POSIX || XPG3] (CLD_DUMPED): Likewise.
824 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
825 [POSIX || XPG3] (CLD_STOPPED): Likewise.
826 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
827 [POSIX || XPG3] (POLL_IN): Likewise.
828 [POSIX || XPG3] (POLL_OUT): Likewise.
829 [POSIX || XPG3] (POLL_MSG): Likewise.
830 [POSIX || XPG3] (POLL_ERR): Likewise.
831 [POSIX || XPG3] (POLL_PRI): Likewise.
832 [POSIX || XPG3] (POLL_HUP): Likewise.
833 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
834 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
835 (SIG*): Do not allow.
836 [XPG3] (si_*): Likewise.
837 [XPG3] (SI_*): Likewise.
838 [XPG3 || XPG4] (sigev_*): Likewise.
839 [XPG3 || XPG4] (SIGEV_*): Likewise.
840 [XPG3 || XPG4] (sival_*): Likewise.
841 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
842 [POSIX || XPG3] (BUS_*): Likewise.
843 [POSIX || XPG3] (CLD_*): Likewise.
844 [POSIX || XPG3] (FPE_*): Likewise.
845 [POSIX || XPG3] (ILL_*): Likewise.
846 [POSIX || XPG3] (POLL_*): Likewise.
847 [POSIX || XPG3] (SEGV_*): Likewise.
848 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
849 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
850 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
851 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
852 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
853 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
854 Specify type and value.
855 (TVERSLEN): Likewise.
857 (AREGTYPE): Likewise.
863 (FIFOTYPE): Likewise.
864 (CONTTYPE): Likewise.
877 [POSIX] (TSVTX): Expect constant.
879 2014-03-06 Joseph Myers <joseph@codesourcery.com>
881 * Makefile (tests): Change dependencies to ....
882 (tests-special): ... additions to this variable.
883 (tests): Depend on $(tests-special).
884 * Makerules (check-abi-list): New variable.
885 (check-abi): Depend on $(check-abi-list).
886 [$(subdir) = elf] (tests-special): Add
887 $(objpfx)check-abi-libc.out.
888 [$(build-shared) = yes && subdir] (tests-special): Add
890 [$(build-shared) = yes && subdir] (tests): Do not depend on
892 * Rules (tests): Depend on $(tests-special).
893 (xtests): Depend on $(xtests-special).
894 * catgets/Makefile (tests): Change dependencies to ....
895 (tests-special): ... additions to this variable.
896 * conform/Makefile (tests): Change dependencies to ....
897 (tests-special): ... additions to this variable.
898 * elf/Makefile (tests): Change dependencies to ....
899 (tests-special): ... additions to this variable.
900 * grp/Makefile (tests): Change dependencies to ....
901 (tests-special): ... additions to this variable.
902 * iconv/Makefile (xtests): Change dependencies to ....
903 (xtests-special): ... additions to this variable.
904 * iconvdata/Makefile (tests): Change dependencies to ....
905 (tests-special): ... additions to this variable.
906 * intl/Makefile (tests): Change dependencies to ....
907 (tests-special): ... additions to this variable. Also add
908 $(objpfx)tst-gettext.out.
909 * io/Makefile (tests): Change dependencies to ....
910 (tests-special): ... additions to this variable.
911 * libio/Makefile (tests): Change dependencies to ....
912 (tests-special): ... additions to this variable.
913 * malloc/Makefile (tests): Change dependencies to ....
914 (tests-special): ... additions to this variable.
915 * misc/Makefile (tests): Change dependencies to ....
916 (tests-special): ... additions to this variable.
917 * nptl/Makefile (tests): Change dependencies to ....
918 (tests-special): ... additions to this variable.
919 * nptl_db/Makefile (tests): Change dependencies to ....
920 (tests-special): ... additions to this variable.
921 * posix/Makefile (tests): Change dependencies to ....
922 (tests-special): ... additions to this variable.
923 (xtests): Change dependencies to ....
924 (xtests-special): ... additions to this variable.
925 * resolv/Makefile (tests): Change dependencies to ....
926 (tests-special): ... additions to this variable.
927 (xtests): Change dependencies to ....
928 (xtests-special): ... additions to this variable.
929 * stdio-common/Makefile (tests): Change dependencies to ....
930 (tests-special): ... additions to this variable.
931 (do-tst-unbputc): Remove target.
932 (do-tst-printf): Likewise.
933 * stdlib/Makefile (tests): Change dependencies to ....
934 (tests-special): ... additions to this variable.
935 * string/Makefile (tests): Change dependencies to ....
936 (tests-special): ... additions to this variable.
937 * sysdeps/x86/Makefile (tests): Change dependencies to ....
938 (tests-special): ... additions to this variable.
940 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
942 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
944 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
945 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
947 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
948 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
949 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
950 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
951 * conform/data/libgen.h-data [XPG3]: Likewise.
952 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
953 * conform/data/ndbm.h-data [XPG3]: Likewise.
954 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
955 * conform/data/netdb.h-data [XPG3]: Likewise.
956 * conform/data/netinet/in.h-data [XPG3]: Likewise.
957 * conform/data/poll.h-data [XPG3]: Likewise.
958 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
959 * conform/data/strings.h-data [XPG3]: Likewise.
960 * conform/data/stropts.h-data [XPG3]: Likewise.
961 * conform/data/sys/mman.h-data [XPG3]: Likewise.
962 * conform/data/sys/resource.h-data [XPG3]: Likewise.
963 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
965 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
966 * conform/data/sys/time.h-data [XPG3]: Likewise.
967 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
968 * conform/data/sys/uio.h-data [XPG3]: Likewise.
969 * conform/data/sys/un.h-data [XPG3]: Likewise.
970 * conform/data/syslog.h-data [XPG3]: Likewise.
971 * conform/data/ucontext.h-data [XPG3]: Likewise.
972 * conform/data/utmpx.h-data [XPG3]: Likewise.
973 * conform/data/varargs.h-data [UNIX98]: Enable file.
975 * manual/Makefile (INSTALL_INFO): Remove variable setting.
977 * math/libm-test.inc (struct test_f_f_data): Move expected results
978 into structure for each rounding mode.
979 (struct test_ff_f_data): Likewise.
980 (struct test_ff_f_data_nexttoward): Likewise.
981 (struct test_fi_f_data): Likewise.
982 (struct test_fl_f_data): Likewise.
983 (struct test_if_f_data): Likewise.
984 (struct test_fff_f_data): Likewise.
985 (struct test_c_f_data): Likewise.
986 (struct test_f_f1_data): Likewise.
987 (struct test_fF_f1_data): Likewise.
988 (struct test_ffI_f1_data): Likewise.
989 (struct test_c_c_data): Likewise.
990 (struct test_cc_c_data): Likewise.
991 (struct test_f_i_data): Likewise.
992 (struct test_ff_i_data): Likewise.
993 (struct test_f_l_data): Likewise.
994 (struct test_f_L_data): Likewise.
995 (struct test_fFF_11_data): Likewise.
997 (RM_FE_DOWNWARD): Likewise.
998 (RM_FE_TONEAREST): Likewise.
999 (RM_FE_TOWARDZERO): Likewise.
1000 (RM_FE_UPWARD): Likewise.
1001 (RUN_TEST_LOOP_f_f): Update references to expected results.
1002 (RUN_TEST_LOOP_2_f): Likewise.
1003 (RUN_TEST_LOOP_fff_f): Likewise.
1004 (RUN_TEST_LOOP_c_f): Likewise.
1005 (RUN_TEST_LOOP_f_f1): Likewise.
1006 (RUN_TEST_LOOP_fF_f1): Likewise.
1007 (RUN_TEST_LOOP_fI_f1): Likewise.
1008 (RUN_TEST_LOOP_ffI_f1): Likewise.
1009 (RUN_TEST_LOOP_c_c): Likewise.
1010 (RUN_TEST_LOOP_cc_c): Likewise.
1011 (RUN_TEST_LOOP_f_i): Likewise.
1012 (RUN_TEST_LOOP_f_i_tg): Likewise.
1013 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1014 (RUN_TEST_LOOP_f_b): Likewise.
1015 (RUN_TEST_LOOP_f_b_tg): Likewise.
1016 (RUN_TEST_LOOP_f_l): Likewise.
1017 (RUN_TEST_LOOP_f_L): Likewise.
1018 (RUN_TEST_LOOP_fFF_11): Likewise.
1019 * math/gen-libm-test.pl (parse_args): Output four copies of
1020 expected results for each test.
1022 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1023 (__ASSUME_UTIMES): Remove.
1024 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1025 (__ASSUME_UTIMES): Likewise.
1027 * math/gen-auto-libm-tests.c: Update comment on output format.
1028 (output_for_one_input_case): Generate before-rounding and
1029 after-rounding information as conditions on output flags not
1030 floating-point format.
1031 * math/auto-libm-test-out: Regenerated.
1032 * math/gen-libm-test.pl (cond_value): New function.
1033 (or_cond_value): Use cond_value.
1034 (generate_testfile): Handle conditional exceptions.
1036 2014-03-05 Joseph Myers <joseph@codesourcery.com>
1038 * math/libm-test.inc (max_valid_error): New variable.
1039 (init_max_error): Take new argument specifying whether function
1040 results are exactly determined. Set max_valid_error and bound
1041 other variables for errors based on this argument.
1042 (set_max_error): Do not record results above max_valid_error.
1043 (check_float_internal): Only accept errors of up to 0.5ulps if
1044 also at most max_valid_error.
1045 (START): Take new argument EXACT and pass it to init_max_error.
1046 (acos_test): Update call to START.
1047 (acos_test_tonearest): Likewise.
1048 (acos_test_towardzero): Likewise.
1049 (acos_test_downward): Likewise.
1050 (acos_test_upward): Likewise.
1051 (acosh_test): Likewise.
1052 (asin_test): Likewise.
1053 (asin_test_tonearest): Likewise.
1054 (asin_test_towardzero): Likewise.
1055 (asin_test_downward): Likewise.
1056 (asin_test_upward): Likewise.
1057 (asinh_test): Likewise.
1058 (atan_test): Likewise.
1059 (atanh_test): Likewise.
1060 (atan2_test): Likewise.
1061 (cabs_test): Likewise.
1062 (cacos_test): Likewise.
1063 (cacosh_test): Likewise.
1064 (carg_test): Likewise.
1065 (casin_test): Likewise.
1066 (casinh_test): Likewise.
1067 (catan_test): Likewise.
1068 (catanh_test): Likewise.
1069 (cbrt_test): Likewise.
1070 (ccos_test): Likewise.
1071 (ccosh_test): Likewise.
1072 (ceil_test): Likewise.
1073 (cexp_test): Likewise.
1074 (cimag_test): Likewise.
1075 (clog_test): Likewise.
1076 (clog10_test): Likewise.
1077 (conj_test): Likewise.
1078 (copysign_test): Likewise.
1079 (cos_test): Likewise.
1080 (cos_test_tonearest): Likewise.
1081 (cos_test_towardzero): Likewise.
1082 (cos_test_downward): Likewise.
1083 (cos_test_upward): Likewise.
1084 (cosh_test): Likewise.
1085 (cosh_test_tonearest): Likewise.
1086 (cosh_test_towardzero): Likewise.
1087 (cosh_test_downward): Likewise.
1088 (cosh_test_upward): Likewise.
1089 (cpow_test): Likewise.
1090 (cproj_test): Likewise.
1091 (creal_test): Likewise.
1092 (csin_test): Likewise.
1093 (csinh_test): Likewise.
1094 (csqrt_test): Likewise.
1095 (ctan_test): Likewise.
1096 (ctan_test_tonearest): Likewise.
1097 (ctan_test_towardzero): Likewise.
1098 (ctan_test_downward): Likewise.
1099 (ctan_test_upward): Likewise.
1100 (ctanh_test): Likewise.
1101 (ctanh_test_tonearest): Likewise.
1102 (ctanh_test_towardzero): Likewise.
1103 (ctanh_test_downward): Likewise.
1104 (ctanh_test_upward): Likewise.
1105 (erf_test): Likewise.
1106 (erfc_test): Likewise.
1107 (exp_test): Likewise.
1108 (exp_test_tonearest): Likewise.
1109 (exp_test_towardzero): Likewise.
1110 (exp_test_downward): Likewise.
1111 (exp_test_upward): Likewise.
1112 (exp10_test): Likewise.
1113 (exp10_test_tonearest): Likewise.
1114 (exp10_test_towardzero): Likewise.
1115 (exp10_test_downward): Likewise.
1116 (exp10_test_upward): Likewise.
1117 (pow10_test): Likewise.
1118 (exp2_test): Likewise.
1119 (expm1_test): Likewise.
1120 (expm1_test_tonearest): Likewise.
1121 (expm1_test_towardzero): Likewise.
1122 (expm1_test_downward): Likewise.
1123 (expm1_test_upward): Likewise.
1124 (fabs_test): Likewise.
1125 (fdim_test): Likewise.
1126 (floor_test): Likewise.
1127 (fma_test): Likewise.
1128 (fma_test_towardzero): Likewise.
1129 (fma_test_downward): Likewise.
1130 (fma_test_upward): Likewise.
1131 (fmax_test): Likewise.
1132 (fmin_test): Likewise.
1133 (fmod_test): Likewise.
1134 (fpclassify_test): Likewise.
1135 (frexp_test): Likewise.
1136 (hypot_test): Likewise.
1137 (ilogb_test): Likewise.
1138 (isfinite_test): Likewise.
1139 (finite_test): Likewise.
1140 (isgreater_test): Likewise.
1141 (isgreaterequal_test): Likewise.
1142 (isinf_test): Likewise.
1143 (isless_test): Likewise.
1144 (islessequal_test): Likewise.
1145 (islessgreater_test): Likewise.
1146 (isnan_test): Likewise.
1147 (isnormal_test): Likewise.
1148 (issignaling_test): Likewise.
1149 (isunordered_test): Likewise.
1150 (j0_test): Likewise.
1151 (j1_test): Likewise.
1152 (jn_test): Likewise.
1153 (ldexp_test): Likewise.
1154 (lgamma_test): Likewise.
1155 (gamma_test): Likewise.
1156 (lrint_test): Likewise.
1157 (lrint_test_tonearest): Likewise.
1158 (lrint_test_towardzero): Likewise.
1159 (lrint_test_downward): Likewise.
1160 (lrint_test_upward): Likewise.
1161 (llrint_test): Likewise.
1162 (llrint_test_tonearest): Likewise.
1163 (llrint_test_towardzero): Likewise.
1164 (llrint_test_downward): Likewise.
1165 (llrint_test_upward): Likewise.
1166 (log_test): Likewise.
1167 (log10_test): Likewise.
1168 (log1p_test): Likewise.
1169 (log2_test): Likewise.
1170 (logb_test): Likewise.
1171 (logb_test_downward): Likewise.
1172 (lround_test): Likewise.
1173 (llround_test): Likewise.
1174 (modf_test): Likewise.
1175 (nearbyint_test): Likewise.
1176 (nextafter_test): Likewise.
1177 (nexttoward_test): Likewise.
1178 (pow_test): Likewise.
1179 (pow_test_tonearest): Likewise.
1180 (pow_test_towardzero): Likewise.
1181 (pow_test_downward): Likewise.
1182 (pow_test_upward): Likewise.
1183 (remainder_test): Likewise.
1184 (drem_test): Likewise.
1185 (remainder_test_tonearest): Likewise.
1186 (drem_test_tonearest): Likewise.
1187 (remainder_test_towardzero): Likewise.
1188 (drem_test_towardzero): Likewise.
1189 (remainder_test_downward): Likewise.
1190 (drem_test_downward): Likewise.
1191 (remainder_test_upward): Likewise.
1192 (drem_test_upward): Likewise.
1193 (remquo_test): Likewise.
1194 (rint_test): Likewise.
1195 (rint_test_tonearest): Likewise.
1196 (rint_test_towardzero): Likewise.
1197 (rint_test_downward): Likewise.
1198 (rint_test_upward): Likewise.
1199 (round_test): Likewise.
1200 (scalb_test): Likewise.
1201 (scalbn_test): Likewise.
1202 (scalbln_test): Likewise.
1203 (signbit_test): Likewise.
1204 (sin_test): Likewise.
1205 (sin_test_tonearest): Likewise.
1206 (sin_test_towardzero): Likewise.
1207 (sin_test_downward): Likewise.
1208 (sin_test_upward): Likewise.
1209 (sincos_test): Likewise.
1210 (sinh_test): Likewise.
1211 (sinh_test_tonearest): Likewise.
1212 (sinh_test_towardzero): Likewise.
1213 (sinh_test_downward): Likewise.
1214 (sinh_test_upward): Likewise.
1215 (sqrt_test): Likewise.
1216 (sqrt_test_tonearest): Likewise.
1217 (sqrt_test_towardzero): Likewise.
1218 (sqrt_test_downward): Likewise.
1219 (sqrt_test_upward): Likewise.
1220 (tan_test): Likewise.
1221 (tan_test_tonearest): Likewise.
1222 (tan_test_towardzero): Likewise.
1223 (tan_test_downward): Likewise.
1224 (tan_test_upward): Likewise.
1225 (tanh_test): Likewise.
1226 (tgamma_test): Likewise.
1227 (trunc_test): Likewise.
1228 (y0_test): Likewise.
1229 (y1_test): Likewise.
1230 (yn_test): Likewise.
1231 (significand_test): Likewise.
1233 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1234 individual tests in comment.
1235 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1236 (prev_max_error): New variable.
1237 (prev_real_max_error): Likewise.
1238 (prev_imag_max_error): Likewise.
1239 (compare_ulp_data): Don't refer to test names in comment.
1240 (find_test_ulps): Remove function.
1241 (find_function_ulps): Likewise.
1242 (find_complex_function_ulps): Likewise.
1243 (init_max_error): Take function name as argument. Look up ulps
1245 (print_ulps): Remove function.
1246 (print_max_error): Use prev_max_error instead of calling
1248 (print_complex_max_error): Use prev_real_max_error and
1249 prev_imag_max_error instead of calling find_complex_function_ulps.
1250 (check_float_internal): Take max_ulp parameter instead of calling
1251 find_test_ulps. Don't call print_ulps.
1252 (check_float): Update call to check_float_internal.
1253 (check_complex): Update calls to check_float_internal.
1254 (START): Pass argument to init_max_error.
1255 * math/gen-libm-test.pl (%results): Don't include "kind"
1257 (parse_ulps): Don't handle ulps of individual tests.
1258 (print_ulps_file): Likewise.
1259 (output_ulps): Likewise.
1260 * math/README.libm-test: Update.
1261 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1263 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1264 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1265 * sysdeps/arm/libm-test-ulps: Likewise.
1266 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1267 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1268 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1269 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1270 * sysdeps/microblaze/libm-test-ulps: Likewise.
1271 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1272 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1273 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1274 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1275 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1276 * sysdeps/sh/libm-test-ulps: Likewise.
1277 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1278 * sysdeps/tile/libm-test-ulps: Likewise.
1279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1281 2014-03-04 Joseph Myers <joseph@codesourcery.com>
1283 * math/libm-test.inc (print_complex_max_error): Check separately
1284 whether real and imaginary errors are within allowed range and
1285 pass 0 to print_complex_function_ulps instead of value within
1288 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1290 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1292 (get_handles_fopen): Likewise.
1293 (do_write_test): Likewise.
1295 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1297 * libio/fileops.c (do_ftell): Use cached offset when
1299 * libio/iofwide.c (do_ftell_wide): Likewise.
1300 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1302 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1305 * libio/libioP.h (get_file_offset): New function.
1306 * libio/fileops.c (get_file_offset): Likewise.
1307 (do_ftell): Likewise.
1308 (_IO_new_file_seekoff): Split out ftell logic.
1309 * libio/wfileops.c (do_ftell_wide): Likewise.
1310 (_IO_wfile_seekoff): Split out ftell logic.
1311 * libio/tst-ftell-active-handler.c: New test case.
1312 * libio/Makefile (tests): Add it.
1314 2014-03-03 Roland McGrath <roland@hack.frob.com>
1316 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1317 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1319 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1322 * nscd/connections.c (nscd_init): Call do_exit.
1323 (start_threads): Call do_exit and notify_parent.
1324 (begin_drop_privileges): Call do_exit.
1325 (finish_drop_privileges): Likewise.
1326 * nscd/selinux.c (preserve_capabilities): Likewise.
1327 (install_real_capabilities): Likewise.
1328 (nscd_selinux_enabled): Likewise.
1329 (avc_create_thread): Likewise.
1330 (avc_alloc_lock): Likewise.
1331 (nscd_avc_init): Likewise.
1332 * nscd/nscd.c (parent_fd): New static variable.
1333 (main): Create a pipe between parent and child processes.
1334 Skip closing parent_fd.
1335 (monitor_child): New function.
1336 (do_exit): Likewise.
1337 (notify_parent): Likewise.
1338 * nscd/nscd.h (notify_parent): Likewise.
1339 (do_exit): Likewise.
1341 2014-03-03 Carlos O'Donell <carlos@redhat.com>
1343 * malloc/malloc.c (__libc_calloc): Revert last change.
1345 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1349 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1351 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1355 (__libc_ifunc_impl_list): Likewise.
1356 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1357 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1358 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1359 * string/strrchr.c: Define STRRCHR.
1361 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
1363 * benchtest/bench-strtok.c (simple_strtok): Delete.
1364 (strtok_string): Use as benchmark.
1365 * string/strtok (STRTOK): New macro.
1367 2014-02-28 Carlos O'Donell <carlos@redhat.com>
1369 * manual/threads.texi: Add header and standard comments to all
1372 * elf/dl-lookup.c (check_match): New function.
1373 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1374 (do_lookup_x): Remove nested function check_match. Use non-nested
1375 function check_match.
1377 2014-02-28 Roland McGrath <roland@hack.frob.com>
1379 * csu/Makefile (generated, before-compile): Use += rather than =.
1380 * catgets/Makefile (generated, generated-dirs): Likewise.
1381 * debug/Makefile (generated): Likewise.
1382 * dlfcn/Makefile (generated): Likewise.
1383 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1384 * iconvdata/Makefile (before-compile, generated): Likewise.
1385 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1386 * libio/Makefile (generated): Likewise.
1387 * malloc/Makefile (generated): Likewise.
1388 * manual/Makefile (generated, generated-dirs): Likewise.
1389 * misc/Makefile (generated): Likewise.
1390 * posix/Makefile (generated): Likewise.
1391 * resolv/Makefile (generated): Likewise.
1392 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1393 * timezone/Makefile (generated, generated-dirs): Likewise.
1395 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1397 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1402 POWER8 llround ifunc implementation.
1403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1404 POWER8 implementation.
1405 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1406 POWER8 llround implementation.
1408 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1413 POWER8 llrint ifunc implementation.
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1415 POWER8 implementation.
1416 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1417 POWER8 llrint implementation.
1419 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1424 POWER8 finite ifunc implementation.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1426 POWER8 implementation.
1427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1429 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1430 POWER8 finite implementation.
1431 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1433 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1438 POWER8 isinf ifunc implementation.
1439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1440 POWER8 implementation.
1441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1444 POWER8 isinf implementation.
1445 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1447 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1449 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1450 Add hwcap2 initialization.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1454 POWER8 isnan ifunc implementation.
1455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1456 POWER8 implementation.
1457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1459 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1460 POWER8 isnan implementation.
1461 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1463 2014-02-27 Joey Ye <joey.ye@arm.com>
1465 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1466 (_FP_NANFRAC_Q): Set to zero.
1468 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1471 * math/auto-libm-test-in: New test inputs.
1472 * math/auto-libm-test-out: Regenerate.
1473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1476 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1478 2014-02-27 Joseph Myers <joseph@codesourcery.com>
1480 * scripts/evaluate-test.sh: Take new argument indicating whether
1481 failure is expected.
1482 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1483 indicating whether failure is expected.
1484 * conform/Makefile (test-xfail-run-conformtest): New variable.
1485 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1487 * posix/Makefile (test-xfail-annexc): New variable.
1488 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1490 2014-02-26 Joseph Myers <joseph@codesourcery.com>
1492 * argp/Makefile: Include Makeconfig immediately after defining
1494 * assert/Makefile: Likewise.
1495 * benchtests/Makefile: Likewise.
1496 * catgets/Makefile: Likewise.
1497 * conform/Makefile: Likewise.
1498 * crypt/Makefile: Likewise.
1499 * csu/Makefile: Likewise.
1500 (all): Remove target.
1501 * ctype/Makefile: Include Makeconfig immediately after defining
1503 * debug/Makefile: Likewise.
1504 * dirent/Makefile: Likewise.
1505 * dlfcn/Makefile: Likewise.
1506 * gmon/Makefile: Likewise.
1507 * gnulib/Makefile: Likewise.
1508 * grp/Makefile: Likewise.
1509 * gshadow/Makefile: Likewise.
1510 * hesiod/Makefile: Likewise.
1511 * hurd/Makefile: Likewise.
1512 (all): Remove target.
1513 * iconvdata/Makefile: Include Makeconfig immediately after
1515 * inet/Makefile: Likewise.
1516 * intl/Makefile: Likewise.
1517 * io/Makefile: Likewise.
1518 * libio/Makefile: Likewise.
1519 (all): Remove target.
1520 * locale/Makefile: Include Makeconfig immediately after defining
1522 * login/Makefile: Likewise.
1523 * mach/Makefile: Likewise.
1524 (all): Remove target.
1525 * malloc/Makefile: Include Makeconfig immediately after defining
1527 (all): Remove target.
1528 * manual/Makefile: Include Makeconfig immediately after defining
1530 * math/Makefile: Likewise.
1531 * misc/Makefile: Likewise.
1532 * nis/Makefile: Likewise.
1533 * nss/Makefile: Likewise.
1534 * po/Makefile: Likewise.
1535 (all): Remove target.
1536 * posix/Makefile: Include Makeconfig immediately after defining
1538 * pwd/Makefile: Likewise.
1539 * resolv/Makefile: Likewise.
1540 * resource/Makefile: Likewise.
1541 * rt/Makefile: Likewise.
1542 * setjmp/Makefile: Likewise.
1543 * shadow/Makefile: Likewise.
1544 * signal/Makefile: Likewise.
1545 * socket/Makefile: Likewise.
1546 * soft-fp/Makefile: Likewise.
1547 * stdio-common/Makefile: Likewise.
1548 * stdlib/Makefile: Likewise.
1549 * streams/Makefile: Likewise.
1550 * string/Makefile: Likewise.
1551 * sunrpc/Makefile: Likewise.
1552 (all): Remove target.
1553 * sysvipc/Makefile: Include Makeconfig immediately after defining
1555 * termios/Makefile: Likewise.
1556 * time/Makefile: Likewise.
1557 * timezone/Makefile: Likewise.
1558 (all): Remove target.
1559 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1561 * wctype/Makefile: Likewise.
1563 2014-02-26 Steve Ellcey <sellcey@mips.com>
1565 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1566 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1567 (libc_feholdexcept_setround_mips): Ditto.
1568 (libc_feholdsetround): New.
1569 (libc_feholdsetroundf): New.
1570 (libc_feholdsetroundl): New.
1571 (libc_feupdateenv_test_mips): New.
1572 (libc_feupdateenv_test): New.
1573 (libc_feupdateenv_testf): New.
1574 (libc_feupdateenv_testl): New.
1575 (libc_feresetround): New.
1576 (libc_feresetroundf): New.
1577 (libc_feresetroundl): New.
1578 (libc_fetestexcept_mips): New.
1579 (libc_fetestexcept): New.
1580 (libc_fetestexceptf): New.
1581 (libc_fetestexceptl): New.
1583 (libc_feholdexcept_setround_mips_ctx): New.
1584 (libc_feholdexcept_setround_ctx): New.
1585 (libc_feholdexcept_setroundf_ctx): New.
1586 (libc_feholdexcept_setroundl_ctx): New.
1587 (libc_fesetenv_mips_ctx): New.
1588 (libc_fesetenv_ctx): New.
1589 (libc_fesetenv_ctxf): New.
1590 (libc_fesetenv_ctxl): New.
1591 (libc_feupdateenv_mips_ctx): New.
1592 (libc_feupdateenv_ctx): New.
1593 (libc_feupdateenvf_ctx): New.
1594 (libc_feupdateenvl_ctx): New.
1595 (libc_feholdsetround_mips_ctx): New.
1596 (libc_feholdsetround_ctx): New.
1597 (libc_feholdsetroundf_ctx): New.
1598 (libc_feholdsetroundl_ctx): New.
1599 (libc_feresetround_mips_ctx): New.
1600 (libc_feresetround_ctx): New.
1601 (libc_feresetroundf_ctx): New.
1602 (libc_feresetroundl_ctx): New.
1604 2014-02-26 Carlos O'Donell <carlos@redhat.com>
1606 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1608 * manual/ipc.texi: New file.
1609 * manual/Makefile (chapters): Add ipc.
1610 * manual/job.texi: Add "Inter-Process Communication" to next.
1611 * manual/process.texi: Add "Inter-Process Communication" to prev.
1613 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1617 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
1619 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1621 * manual/arith.texi: Fix spaces after sentences.
1622 * manual/charset.texi: Likewise.
1623 * manual/errno.texi: Likewise.
1624 * manual/install.texi: Likewise.
1625 * manual/llio.texi: Likewise.
1626 * manual/locale.texi: Likewise.
1627 * manual/maint.texi: Likewise.
1628 * manual/math.texi: Likewise.
1629 * manual/memory.texi: Likewise.
1630 * manual/message.texi: Likewise.
1631 * manual/probes.texi: Likewise.
1632 * manual/resource.texi: Likewise.
1633 * manual/signal.texi: Likewise.
1634 * manual/socket.texi: Likewise.
1635 * manual/stdio.texi: Likewise.
1636 * manual/string.texi: Likewise.
1637 * manual/time.texi: Likewise.
1638 * manual/users.texi: Likewise.
1640 2014-02-25 Carlos O'Donell <carlos@redhat.com>
1643 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1644 _DEFAULT_SOURCE is defined.
1646 2014-02-25 Ulrich Drepper <drepper@gmail.com>
1647 Carlos O'Donell <carlos@redhat.com>
1650 * elf/dl-tls.c (_dl_count_modids): New function.
1651 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1652 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1653 audit library and increment generation counter.
1654 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1655 * elf/tst-audit9.c: New file.
1656 * elf/tst-auditmod9a.c: New file.
1657 * elf/tst-auditmod9b.c: New file.
1658 * elf/Makefile: Add rules to build and run tst-audit9.
1660 2014-02-25 Florian Weimer <fweimer@redhat.com>
1663 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1665 2014-02-25 Will Newton <will.newton@linaro.org>
1667 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1668 (__longjmp): Restore sp and lr before restoring callee
1669 saved registers. Add longjmp and longjmp_target
1670 SystemTap probe point.
1671 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1672 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1673 Define to zero to match jmpbuf layout.
1674 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1675 (__sigsetjmp): Save sp and lr before saving callee
1676 saved registers. Add setjmp SystemTap probe point.
1678 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1680 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1682 2014-02-24 Andreas Schwab <schwab@suse.de>
1685 * elf/pldd.c (wait_for_ptrace_stop): New function.
1686 (main): Call it after attaching.
1688 2014-02-22 Roland McGrath <roland@hack.frob.com>
1690 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1691 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1692 Versions files is now verboten.
1693 * hurd/Versions (libc: GLIBC_2.0):
1694 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1695 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1696 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1697 * mach/Versions: Likewise.
1699 * csu/Versions: Remove unused %include.
1700 * resolv/Versions: Likewise.
1702 2014-02-21 Joseph Myers <joseph@codesourcery.com>
1704 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1705 ($(objpfx)check-local-headers.out): Likewise.
1706 ($(objpfx)begin-end-check.out): Likewise.
1707 * Makerules (check-abi-%.out): Likewise.
1708 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1709 ($(objpfx)test2.cat): Likewise.
1710 ($(objpfx)de/libc.cat): Likewise.
1711 ($(objpfx)test-gencat.out): Likewise.
1712 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1713 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1714 ($(objpfx)noload-mem): Likewise.
1715 ($(objpfx)tst-pathopt.out): Likewise.
1716 ($(objpfx)tst-rtld-load-self.out): Likewise.
1717 ($(objpfx)tst-array1-cmp.out): Likewise.
1718 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1719 ($(objpfx)tst-array2-cmp.out): Likewise.
1720 ($(objpfx)tst-array3-cmp.out): Likewise.
1721 ($(objpfx)tst-array4-cmp.out): Likewise.
1722 ($(objpfx)tst-array5-cmp.out): Likewise.
1723 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1724 ($(objpfx)check-textrel.out): Likewise.
1725 ($(objpfx)check-execstack.out): Likewise.
1726 ($(objpfx)check-localplt.out): Likewise.
1727 ($(objpfx)order2-cmp.out): Likewise.
1728 ($(objpfx)tst-leaks1-mem): Likewise.
1729 ($(objpfx)tst-leaks1-static-mem): Likewise.
1730 ($(objpfx)tst-initorder-cmp.out): Likewise.
1731 ($(objpfx)tst-initorder2-cmp.out): Likewise.
1732 ($(objpfx)tst-unused-dep.out): Likewise.
1733 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1734 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1735 * iconv/Makefile (test-iconvconfig): Likewise.
1736 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1737 ($(objpfx)iconv-test.out): Likewise.
1738 ($(objpfx)tst-tables.out): Likewise.
1739 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1740 ($(objpfx)tst-gettext.out): Likewise.
1741 ($(objpfx)tst-translit.out): Likewise.
1742 ($(objpfx)tst-gettext2.out): Likewise.
1743 ($(objpfx)tst-gettext4.out): Likewise.
1744 ($(objpfx)tst-gettext6.out): Likewise.
1745 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1746 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1747 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1748 ($(objpfx)tst-fopenloc-mem.out): Likewise.
1749 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1750 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1751 * posix/Makefile ($(objpfx)globtest.out): Likewise.
1752 ($(objpfx)wordexp-tst.out): Likewise.
1753 ($(objpfx)annexc.out): Likewise.
1754 ($(objpfx)tst-fnmatch-mem): Likewise.
1755 ($(objpfx)bug-regex2-mem): Likewise.
1756 ($(objpfx)bug-regex14-mem): Likewise.
1757 ($(objpfx)bug-regex21-mem): Likewise.
1758 ($(objpfx)bug-regex31-mem): Likewise.
1759 ($(objpfx)tst-vfork3-mem): Likewise.
1760 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1761 ($(objpfx)tst-pcre-mem): Likewise.
1762 ($(objpfx)tst-boost-mem): Likewise.
1763 ($(objpfx)tst-getconf.out): Likewise.
1764 ($(objpfx)bug-ga2-mem): Likewise.
1765 ($(objpfx)bug-glob2-mem): Likewise.
1766 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1767 ($(objpfx)mtrace-tst-leaks2): Likewise.
1768 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1769 ($(objpfx)tst-printf.out): Likewise.
1770 ($(objpfx)tst-setvbuf1.out): Likewise.
1771 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1772 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1773 ($(objpfx)tst-fmtmsg.out): Likewise.
1774 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1775 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1777 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1778 * bits/sigaction.h [__USE_MISC]: Likewise.
1779 * bits/waitstatus.h: Update #endif comments.
1780 * ctype/ctype.h: Likewise.
1781 * dirent/dirent.h: Likewise.
1782 [__USE_MISC]: Remove redundant conditionals.
1783 * grp/grp.h: Update #endif comments.
1784 [__USE_GNU]: Remove redundant conditionals.
1785 [__USE_MISC]: Likewise.
1786 * inet/netinet/in.h [__USE_GNU]: Likewise.
1787 * io/sys/stat.h [__USE_MISC]: Likewise.
1788 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1789 * libio/bits/stdio.h: Update #endif comments.
1790 [__USE_MISC]: Remove redundant conditionals.
1791 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1792 * libio/stdio.h: Update #endif comments.
1793 [__USE_MISC]: Remove redundant conditionals.
1794 * math/bits/math-finite.h [__USE_MISC]: Likewise.
1795 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1796 * math/math.h: Update #else and #endif comments.
1797 [__USE_MISC]: Remove redundant conditionals.
1798 * misc/sys/uio.h: Update #endif comments.
1799 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1800 * posix/glob.h [__USE_MISC]: Likewise.
1801 * posix/sys/types.h: Update #endif comments.
1802 [__USE_MISC]: Remove redundant conditionals.
1803 * posix/sys/wait.h: Update #endif comments.
1804 [__USE_MISC]: Remove redundant conditionals.
1805 * posix/unistd.h: Update #endif comments.
1806 [__USE_MISC]: Remove redundant conditionals.
1807 * pwd/pwd.h [__USE_GNU]: Likewise.
1808 [__USE_MISC]: Likewise.
1809 * resolv/netdb.h [__USE_GNU]: Likewise.
1810 * signal/signal.h: Update #endif comments.
1811 [__USE_MISC]: Remove redundant conditionals.
1812 * stdlib/stdlib.h: Update #else and #endif comments.
1813 [__USE_MISC]: Remove redundant conditionals.
1814 [__USE_GNU]: Likewise.
1815 * string/bits/string2.h [__USE_MISC]: Likewise.
1816 * string/string.h: Update #endif comments.
1817 [__USE_MISC]: Remove redundant conditionals.
1818 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1820 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1821 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1822 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1824 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1826 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1828 [__USE_MISC]: Remove redundant conditionals.
1829 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1830 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1831 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1832 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1833 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1835 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1836 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1838 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1839 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1841 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1843 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1844 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1846 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1848 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1849 * sysdeps/x86/bits/string.h: Update #endif comments.
1850 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1852 * time/sys/time.h: Update #endif comments.
1853 * time/time.h: Likewise.
1854 [__USE_MISC]: Remove redundant conditionals.
1856 2014-02-21 Yury Gribov <y.gribov@samsung.com>
1859 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1861 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
1863 * Versions.def (librt): Add GLIBC_2.17.
1865 2014-02-21 Adam Conrad <adconrad@0c3.net>
1867 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1868 synonym for _SYS_AUXV_H to allow direct inclusion.
1869 * sysdeps/sparc/bits/hwcap.h: Likewise.
1870 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1871 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1872 * sysdeps/sparc/sysdep.h: Likewise.
1874 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1876 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1878 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1880 * benchtests/bench-strrchr.c: Print length instead of position.
1882 2014-02-20 Joseph Myers <joseph@codesourcery.com>
1885 * sysdeps/unix/sysv/linux/kernel-features.h
1886 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1887 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1888 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1889 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1891 [__i386__ || __powerpc__ || __sh__ || __sparc__]
1892 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1893 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1894 (__ASSUME_SENDMMSG): Define instead of using previous
1895 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1896 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1897 (__ASSUME_SENDMMSG_SYSCALL): Define.
1898 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1899 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1901 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1902 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1904 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1905 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1907 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1908 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1909 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1910 [__ASSUME_SENDMMSG]: Change conditionals to
1911 [__ASSUME_SENDMMSG_SOCKETCALL].
1912 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1913 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1915 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1916 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1918 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1919 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1920 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1921 [!__ASSUME_SENDMMSG]: Change conditional to
1922 [!__ASSUME_SENDMMSG_SOCKETCALL].
1923 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1924 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1928 * sysdeps/unix/sysv/linux/kernel-features.h
1929 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
1930 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
1931 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
1932 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
1933 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1934 [__i386__ || __sparc__]
1935 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1936 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
1937 (__ASSUME_RECVMMSG): Define instead of using previous
1938 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
1939 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1940 (__ASSUME_RECVMMSG_SYSCALL): Define.
1941 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1942 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1944 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1945 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1947 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1948 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1950 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
1951 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1952 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1953 [__ASSUME_RECVMMSG]: Change condition to
1954 [__ASSUME_RECVMMSG_SOCKETCALL].
1955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1956 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1958 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1959 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1960 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1962 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
1963 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1964 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1965 [!__ASSUME_RECVMMSG]: Change condition to
1966 [!__ASSUME_RECVMMSG_SOCKETCALL].
1967 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1968 (__ASSUME_RECVMMSG_SYSCALL): Define.
1971 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
1972 __powerpc__ || __s390__ || __sh__ || __sparc__]
1973 (__ASSUME_SOCKETCALL): Define.
1974 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
1975 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
1976 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
1977 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
1978 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1979 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1980 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
1981 (__ASSUME_ACCEPT4): Define instead of using previous
1982 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
1983 __powerpc__ || __sparc__ || __s390__)] condition.
1984 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1985 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1986 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
1987 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1988 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1989 [!__ASSUME_ACCEPT4]: Change condition to
1990 [!__ASSUME_ACCEPT4_SOCKETCALL].
1991 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1992 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
1993 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
1994 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1995 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
1996 __ASSUME_ACCEPT4_SYSCALL.
1997 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
1998 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
1999 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2000 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2001 __ASSUME_ACCEPT4_SYSCALL.
2002 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2003 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2004 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2005 [__ASSUME_ACCEPT4]: Change condition to
2006 [__ASSUME_ACCEPT4_SOCKETCALL].
2007 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2008 (__ASSUME_SOCKETCALL): Define.
2009 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2010 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2011 (__ASSUME_SOCKETCALL): Define.
2012 (__ASSUME_ACCEPT4): Remove.
2013 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2015 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2016 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2018 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2019 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2021 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2023 (HWCAP_ARM_LPAE): Likewise.
2024 (HWCAP_ARM_EVTSTRM): Likewise.
2025 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2026 Add vpfd32, lpae and evtstrm.
2027 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2030 2014-02-19 Joseph Myers <joseph@codesourcery.com>
2032 * math/auto-libm-test-in: Add tests of clog10.
2033 * math/auto-libm-test-out: Regenerated.
2034 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2035 * sysdeps/i386/fpu/libm-test-ulps: Update.
2036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2038 2014-02-18 Andreas Schwab <schwab@suse.de>
2041 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2042 Store non-zero if the second buffer was newly allocated.
2043 (send_dg): Likewise.
2044 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2045 to send_vc and send_dg.
2046 (res_nsend): Pass NULL for ansp2_malloced.
2047 * resolv/res_query.c (__libc_res_nquery): Add parameter
2048 answerp2_malloced and pass it down to __libc_res_nsend.
2049 (res_nquery): Pass additional NULL to __libc_res_nquery.
2050 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2051 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2052 second answer buffer if answerp2_malloced was set.
2053 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2054 (__libc_res_nquerydomain): Add parameter
2055 answerp2_malloced and pass it down to __libc_res_nquery.
2056 (res_nquerydomain): Pass additional NULL to
2057 __libc_res_nquerydomain.
2058 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2059 additional NULL to __libc_res_nsend and __libc_res_nquery.
2060 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2061 additional NULL to __libc_res_nsearch.
2062 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2063 parameter of __libc_res_nsearch to check for separately allocated
2065 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2067 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2068 additional NULL to __libc_res_nquery.
2069 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2071 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2072 * include/resolv.h: Update prototypes of __libc_res_nquery,
2073 __libc_res_nsearch, __libc_res_nsend.
2075 2014-02-18 Joseph Myers <joseph@codesourcery.com>
2077 * math/auto-libm-test-in: Add tests of fma.
2078 * math/auto-libm-test-out: Regenerated.
2079 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2080 (fma_towardzero_test_data): Likewise.
2081 (fma_downward_test_data): Likewise.
2082 (fma_upward_test_data): Likewise.
2083 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2085 (rounding_modes): Add values for new field.
2086 (func_calc_method): Add value mpfr_fff_f.
2087 (func_calc_desc): Add mpfr_fff_f union field.
2088 (test_function): Add field exact_args.
2089 (FUNC): Add macro argument EXACT_ARGS.
2090 (FUNC_mpfr_f_f): Update call to FUNC.
2091 (FUNC_mpfr_f_f): Likewise.
2092 (FUNC_mpfr_ff_f): Likewise.
2093 (FUNC_mpfr_if_f): Likewise.
2094 (FUNC_mpc_c_f): Likewise.
2095 (FUNC_mpc_c_c): Likewise.
2096 (test_functions): Add fma. Update calls to FUNC.
2097 (handle_input_arg): Add argument exact_args.
2098 (add_test): Update call to handle_input_arg.
2099 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2100 (output_for_one_input_case): Update call to calc_generic_results.
2101 Recalculate exact zero results in each rounding mode.
2103 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2104 non-negative before setting low bit.
2105 * math/auto-libm-test-in: Mark one asin test possibly having
2107 * math/auto-libm-test-out: Regenerated.
2108 * sysdeps/i386/fpu/libm-test-ulps: Update.
2109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2111 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2113 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2114 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2115 ports/sysdeps/unix/sysv/linux/microblaze.
2116 * README: Add missing listing for microblaze*-*-linux-gnu.
2118 2014-02-16 Mike Frysinger <vapier@gentoo.org>
2120 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2121 * sysdeps/unix/sysv/linux/ia64: Move directory from
2122 ports/sysdeps/unix/sysv/linux/ia64.
2123 * README: Update listing for ia64-*-linux-gnu.
2125 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2126 Joseph Myers <joseph@codesourcery.com>
2128 * Makeconfig (test-name): New variable.
2129 (evaluate-test): Likewise.
2130 * Makerules (do-test-clean): Remove .test-result files.
2131 (common-mostlyclean): Likewise.
2132 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2133 * scripts/evaluate-test.sh: New file.
2135 2014-02-14 Joseph Myers <joseph@codesourcery.com>
2137 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2138 separate $(objpfx)tst-fopenloc-cmp.out and
2139 $(objpfx)tst-fopenloc-mem.out targets.
2140 (tests): Update dependencies.
2141 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2142 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2143 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2144 (tst-rxspencer-no-utf8-ARGS): New variable.
2145 (tst-rxspencer-no-utf8-ENV): Likewise.
2146 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2147 instead of $(objpfx)tst-rxspencer-mem.
2148 ($(objpfx)tst-rxspencer-mem): Change target to
2149 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2150 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2151 * posix/tst-rxspencer-no-utf8.c: New file.
2153 * elf/Makefile ($(objpfx)order.out): Remove rule.
2154 [$(run-built-tests) = yes] (tests): Depend on
2155 $(objpfx)order-cmp.out.
2156 ($(objpfx)order-cmp.out): New rule.
2157 [$(run-built-tests) = yes] (tests): Depend on
2158 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2159 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2160 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2161 $(objpfx)tst-array5-static-cmp.out.
2162 ($(objpfx)tst-array1.out): Remove rule.
2163 ($(objpfx)tst-array1-cmp.out): New rule.
2164 ($(objpfx)tst-array1-static.out): Remove rule.
2165 ($(objpfx)tst-array1-static-cmp.out): New rule.
2166 ($(objpfx)tst-array2.out): Remove rule.
2167 ($(objpfx)tst-array2-cmp.out): New rule.
2168 ($(objpfx)tst-array3.out): Remove rule.
2169 ($(objpfx)tst-array3-cmp.out): New rule.
2170 ($(objpfx)tst-array4.out): Remove rule.
2171 ($(objpfx)tst-array4-cmp.out): New rule.
2172 ($(objpfx)tst-array5.out): Remove rule.
2173 ($(objpfx)tst-array5-cmp.out): New rule.
2174 ($(objpfx)tst-array5-static.out): Remove rule.
2175 ($(objpfx)tst-array5-static-cmp.out): New rule.
2176 [$(run-built-tests) = yes] (tests): Depend on
2177 $(objpfx)order2-cmp.out.
2178 ($(objpfx)order2.out): Remove rule.
2179 ($(objpfx)order2-cmp.out): New rule.
2180 ($(objpfx)tst-initorder.out): Remove rule.
2181 [$(run-built-tests) = yes] (tests): Depend on
2182 $(objpfx)tst-initorder-cmp.out.
2183 ($(objpfx)tst-initorder-cmp.out): New rule.
2184 ($(objpfx)tst-initorder2.out): Remove rule.
2185 [$(run-built-tests) = yes] (tests): Depend on
2186 $(objpfx)tst-initorder2-cmp.out.
2187 ($(objpfx)tst-initorder2-cmp.out): New rule.
2188 [$(run-built-tests) = yes] (tests): Depend on
2189 $(objpfx)tst-unused-dep-cmp.out.
2190 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2191 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2192 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2193 on $(objpfx)tst-setvbuf1-cmp.out.
2194 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2195 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2196 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2197 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2198 ($(objpfx)tst-svc.out): Remove rule.
2199 ($(objpfx)tst-svc-cmp.out): New rule.
2201 2014-02-13 Joseph Myers <joseph@codesourcery.com>
2203 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2204 * ctype/ctype.h [__USE_MISC]: Likewise.
2205 * dirent/dirent.h [__USE_MISC]: Likewise.
2206 * grp/grp.h [__USE_MISC]: Likewise.
2207 * io/fcntl.h [__USE_MISC]: Likewise.
2208 * io/sys/stat.h [__USE_MISC]: Likewise.
2209 * libio/stdio.h [__USE_MISC]: Likewise.
2210 * posix/unistd.h [__USE_MISC]: Likewise.
2211 * pwd/pwd.h [__USE_MISC]: Likewise.
2212 * stdlib.h [__USE_MISC]: Likewise.
2213 * string/bits/string2.h [__USE_MISC]: Likewise.
2214 * string/string.h [__USE_MISC]: Likewise.
2215 * time/time.h [__USE_MISC]: Likewise.
2217 2014-02-13 Andreas Schwab <schwab@suse.de>
2220 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2221 second answer buffer if it was separately allocated.
2223 2014-02-12 Joseph Myers <joseph@codesourcery.com>
2225 * sysdeps/mips/math-tests.h: Include <features.h>.
2226 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2227 (ROUNDING_TESTS_long_double): Do not define.
2228 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2229 (EXCEPTION_TESTS_long_double): Likewise.
2230 * sysdeps/mips/mips64/libm-test-ulps: Update.
2232 * include/features.h (__USE_BSD): Remove macro definitions.
2233 (__USE_SVID): Likewise.
2234 (_BSD_SOURCE): Likewise.
2235 (_SVID_SOURCE): Likewise.
2236 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2237 from definition of _DEFAULT_SOURCE.
2238 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2240 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2241 * bits/mman.h [__USE_BSD]: Likewise.
2242 * bits/termios.h [__USE_BSD]: Likewise.
2243 * bits/waitstatus.h [__USE_BSD]: Likewise.
2244 * ctype/ctype.h [__USE_SVID]: Likewise.
2245 * dirent/dirent.h [__USE_BSD]: Likewise.
2246 * grp/grp.h [__USE_SVID]: Likewise.
2247 [__USE_BSD]: Likewise.
2248 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2249 * io/fcntl.h [__USE_BSD]: Likewise.
2250 * io/ftw.h [__USE_BSD]: Likewise.
2251 * io/sys/stat.h [__USE_BSD]: Likewise.
2252 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2253 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2254 * libio/stdio.h [__USE_SVID]: Likewise.
2255 [__USE_BSD]: Likewise.
2256 * math/math.h [__USE_SVID]: Likewise.
2257 [__USE_BSD]: Likewise.
2258 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2259 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2260 * misc/search.h [__USE_SVID]: Likewise.
2261 * misc/sys/mman.h [__USE_BSD]: Likewise.
2262 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2263 * misc/sys/uio.h [__USE_BSD]: Likewise.
2264 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2265 * posix/glob.h [__USE_BSD]: Likewise.
2266 * posix/regex.h [__USE_BSD]: Likewise.
2267 * posix/sys/types.h [__USE_BSD]: Likewise.
2268 [__USE_SVID]: Likewise.
2269 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2270 * posix/sys/wait.h [__USE_BSD]: Likewise.
2271 [__USE_SVID]: Likewise.
2272 * posix/unistd.h [__USE_BSD]: Likewise.
2273 [__USE_SVID]: Likewise.
2274 * pwd/pwd.h [__USE_SVID]: Likewise.
2275 * resolv/netdb.h [__USE_BSD]: Likewise.
2276 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2277 * signal/signal.h [__USE_BSD]: Likewise.
2278 [__USE_SVID]: Likewise.
2279 * socket/sys/socket.h [__USE_BSD]: Likewise.
2280 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2281 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2282 [__USE_SVID]: Likewise.
2283 * string/bits/string2.h [__USE_BSD]: Likewise.
2284 [__USE_SVID]: Likewise.
2285 * string/bits/string3.h [__USE_BSD]: Likewise.
2286 * string/endian.h [__USE_BSD]: Likewise.
2287 * string/string.h [__USE_SVID]: Likewise.
2288 [__USE_BSD]: Likewise.
2289 * string/strings.h [__USE_BSD]: Likewise.
2290 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2291 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2292 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2293 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2294 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2295 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2299 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2300 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2302 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2303 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2305 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2307 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2308 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2309 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2311 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2313 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2314 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2315 * termios/termios.h [__USE_BSD]: Likewise.
2316 * time/sys/time.h [__USE_BSD]: Likewise.
2317 * time/time.h [__USE_BSD]: Likewise.
2318 [__USE_SVID]: Likewise.
2320 * Makefile (subdir_targets): Remove subdir_lint.out.
2322 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2323 (do-tst-printf): Likewise.
2324 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2325 $(objpfx)tst-printf.out.
2327 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2329 * Makerules (check-abi-%): Change target to
2330 $(objpfx)check-abi-%.out.
2331 (check-abi target): Update dependencies.
2332 (check-abi-pattern variable): Redirect output of diff to $@.
2333 (check-abi variable): Likewise.
2334 * elf/Makefile (check-abi): Update dependencies.
2336 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2338 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2339 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2341 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2342 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2343 value has largest subnormal exponent.
2344 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2345 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2346 * sysdeps/aarch64/soft-fp/sfp-machine.h
2347 (_FP_TININESS_AFTER_ROUNDING): New macro.
2348 * sysdeps/alpha/soft-fp/sfp-machine.h
2349 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2350 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2352 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2353 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2354 * sysdeps/mips/soft-fp/sfp-machine.h
2355 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2356 * sysdeps/powerpc/soft-fp/sfp-machine.h
2357 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2358 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2360 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2361 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2362 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2363 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2364 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2367 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
2370 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2373 2014-02-12 Richard Henderson <rth@redhat.com>
2375 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2376 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2377 * sysdeps/unix/sysv/linux/alpha: Move directory from
2378 ports/sysdeps/unix/sysv/linux/alpha.
2379 * README: Update listing for alpha-*-linux-gnu.
2381 2014-02-11 Joseph Myers <joseph@codesourcery.com>
2383 * include/features.h: Update comment documenting feature test
2385 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2387 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2388 (_SVID_SOURCE): Likewise.
2389 (_DEFAULT_SOURCE): Update description of default features.
2390 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2392 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2393 (S_ISVTX): Likewise.
2394 * manual/math.texi (Mathematical Constants): Likewise.
2395 * manual/signal.texi (Interrupted Primitives): Likewise.
2396 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2397 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2398 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2399 Don't refer to _SVID_SOURCE in warning text.
2401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2403 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2405 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2406 * sysdeps/mips/dl-lookup.c: Remove.
2407 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2409 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2412 * math/auto-libm-test-in: Add testcase for expl.
2413 * math/auto-libm-test-out: Regenerate.
2414 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2415 calculation of unsafe.
2416 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2418 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2420 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2421 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2422 ports/sysdeps/unix/sysv/linux/aarch64.
2423 * README: Update listing for aarch64*-*-linux-gnu.
2425 2014-02-11 Will Newton <will.newton@linaro.org>
2427 * manual/probes.texi (Mathematical Function Probes): Use
2428 "triggered" instead of "hit".
2430 2014-02-11 Will Newton <will.newton@linaro.org>
2432 * manual/probes.texi (Internal Probes): Add documentation
2433 of setjmp, longjmp and longjmp_target probes.
2435 2014-02-11 Will Newton <will.newton@linaro.org>
2437 * include/stap-probe.h: Add comment about probe argument
2440 2014-02-11 Will Newton <will.newton@linaro.org>
2442 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2443 definition. (tr_where, tr_freehook, tr_mallochook,
2444 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2446 2014-02-11 David S. Miller <davem@davemloft.net>
2448 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2449 processing int_tests.
2451 2014-02-10 Joseph Myers <joseph@codesourcery.com>
2453 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2454 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2455 * sysdeps/unix/sysv/linux/mips: Move directory from
2456 ports/sysdeps/unix/sysv/linux/mips.
2457 * README: Update listing for mips-*-linux-gnu and
2460 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2462 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2463 * sysdeps/unix/sysv/linux/m68k: Move directory from
2464 ports/sysdeps/unix/sysv/linux/m68k.
2465 * README: Update listing for m68k-*-linux-gnu.
2467 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2469 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2470 * sysdeps/unix/sysv/linux/generic: Move directory from
2471 ports/sysdeps/unix/sysv/linux/generic.
2472 * sysdeps/unix/sysv/linux/tile: Move directory from
2473 ports/sysdeps/unix/sysv/linux/tile.
2474 * README: Update listing for tile*-*-linux-gnu.
2476 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2478 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2479 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2480 * catgets/open_catalog.c (__open_catalog): Likewise.
2481 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2482 * debug/confstr_chk.c: Likewise.
2483 * debug/fread_chk.c (__fread_chk): Likewise.
2484 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2485 * debug/getgroups_chk.c: Likewise.
2486 * debug/mbsnrtowcs_chk.c: Likewise.
2487 * debug/mbsrtowcs_chk.c: Likewise.
2488 * debug/mbstowcs_chk.c: Likewise.
2489 * debug/memcpy_chk.c: Likewise.
2490 * debug/memmove_chk.c: Likewise.
2491 * debug/mempcpy_chk.c: Likewise.
2492 * debug/memset_chk.c: Likewise.
2493 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2494 * debug/strcat_chk.c (__strcat_chk): Likewise.
2495 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2496 * debug/strncat_chk.c (__strncat_chk): Likewise.
2497 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2498 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2499 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2500 * debug/wcpncpy_chk.c: Likewise.
2501 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2502 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2503 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2504 * debug/wcsncpy_chk.c: Likewise.
2505 * debug/wcsnrtombs_chk.c: Likewise.
2506 * debug/wcsrtombs_chk.c: Likewise.
2507 * debug/wcstombs_chk.c: Likewise.
2508 * debug/wmemcpy_chk.c: Likewise.
2509 * debug/wmemmove_chk.c: Likewise.
2510 * debug/wmempcpy_chk.c: Likewise.
2511 * debug/wmemset_chk.c: Likewise.
2512 * dirent/scandirat.c (SCANDIRAT): Likewise.
2513 * dlfcn/dladdr1.c (dladdr1): Likewise.
2514 * dlfcn/dladdr.c (dladdr): Likewise.
2515 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2516 * dlfcn/dlerror.c (__dlerror): Likewise.
2517 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2518 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2519 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2520 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2521 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2522 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2523 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2524 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2526 * elf/dl-conflict.c: Likewise.
2527 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2528 * elf/dl-dst.h: Likewise.
2529 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2530 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2531 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2532 * elf/dl-init.c (call_init, _dl_init): Likewise.
2533 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2534 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2535 _dl_map_object_from_fd, open_verify, open_path,
2536 _dl_map_object): Likewise.
2537 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2539 * elf/dl-minimal.c (__libc_memalign): Likewise.
2540 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2541 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2542 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2543 * elf/dl-sym.c (do_sym): Likewise.
2544 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2545 _dl_tls_get_addr_soft): Likewise.
2546 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2547 * elf/dl-writev.h (_dl_writev): Likewise.
2548 * elf/ldconfig.c (search_dir): Likewise.
2549 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2551 * elf/setup-vdso.h (setup_vdso): Likewise.
2552 * grp/compat-initgroups.c (compat_call): Likewise.
2553 * grp/fgetgrent.c (fgetgrent): Likewise.
2554 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2555 * grp/putgrent.c (putgrent): Likewise.
2556 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2558 * hurd/hurdinit.c: Likewise.
2559 * iconvdata/8bit-gap.c (struct): Likewise.
2560 * iconvdata/ansi_x3.110.c : Likewise.
2561 * iconvdata/big5.c : Likewise.
2562 * iconvdata/big5hkscs.c : Likewise.
2563 * iconvdata/cp1255.c: Likewise.
2564 * iconvdata/cp1258.c : Likewise.
2565 * iconvdata/cp932.c : Likewise.
2566 * iconvdata/euc-cn.c: Likewise.
2567 * iconvdata/euc-jisx0213.c : Likewise.
2568 * iconvdata/euc-jp.c: Likewise.
2569 * iconvdata/euc-jp-ms.c : Likewise.
2570 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2571 * iconvdata/gb18030.c : Likewise.
2572 * iconvdata/gbbig5.c (const): Likewise.
2573 * iconvdata/gbgbk.c: Likewise.
2574 * iconvdata/gbk.c : Likewise.
2575 * iconvdata/ibm1364.c : Likewise.
2576 * iconvdata/ibm930.c : Likewise.
2577 * iconvdata/ibm932.c: Likewise.
2578 * iconvdata/ibm933.c : Likewise.
2579 * iconvdata/ibm935.c : Likewise.
2580 * iconvdata/ibm937.c : Likewise.
2581 * iconvdata/ibm939.c : Likewise.
2582 * iconvdata/ibm943.c: Likewise.
2583 * iconvdata/iso_11548-1.c: Likewise.
2584 * iconvdata/iso-2022-cn.c : Likewise.
2585 * iconvdata/iso-2022-cn-ext.c : Likewise.
2586 * iconvdata/iso-2022-jp-3.c: Likewise.
2587 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2588 * iconvdata/iso-2022-kr.c : Likewise.
2589 * iconvdata/iso646.c (gconv_end): Likewise.
2590 * iconvdata/iso_6937-2.c : Likewise.
2591 * iconvdata/iso_6937.c : Likewise.
2592 * iconvdata/iso8859-1.c: Likewise.
2593 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2594 * iconvdata/shift_jisx0213.c : Likewise.
2595 * iconvdata/sjis.c : Likewise.
2596 * iconvdata/t.61.c : Likewise.
2597 * iconvdata/tcvn5712-1.c : Likewise.
2598 * iconvdata/tscii.c: Likewise.
2599 * iconvdata/uhc.c : Likewise.
2600 * iconvdata/unicode.c (gconv_end): Likewise.
2601 * iconvdata/utf-16.c (gconv_end): Likewise.
2602 * iconvdata/utf-32.c (gconv_end): Likewise.
2603 * iconvdata/utf-7.c (base64): Likewise.
2604 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2605 * iconv/gconv_close.c (__gconv_close): Likewise.
2606 * iconv/gconv_open.c (__gconv_open): Likewise.
2607 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2608 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2609 internal_ucs4le_loop_single, ucs4le_internal_loop,
2610 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2611 * iconv/iconv.c (iconv): Likewise.
2612 * iconv/iconv_close.c: Likewise.
2613 * iconv/loop.c (SINGLE): Likewise.
2614 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2615 * include/atomic.h: Likewise.
2616 * inet/inet6_option.c (option_alloc): Likewise.
2617 * intl/bindtextdom.c (set_binding_values): Likewise.
2618 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2619 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2620 * intl/localealias.c (read_alias_file): Likewise.
2621 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2622 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2623 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2624 * libio/fmemopen.c (fmemopen): Likewise.
2625 * libio/iofgets.c (_IO_fgets): Likewise.
2626 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2627 * libio/iofgetws.c (fgetws): Likewise.
2628 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2629 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2630 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2631 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2632 * locale/findlocale.c (_nl_find_locale): Likewise.
2633 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2634 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2636 * locale/setlocale.c (setlocale): Likewise.
2637 * login/programs/pt_chown.c (main): Likewise.
2638 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2639 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2640 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2641 mmap, mmap64, mremap, munmap): Likewise.
2642 * math/e_exp2l.c: Likewise.
2643 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2644 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2645 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2646 * math/s_catan.c (__catan): Likewise.
2647 * math/s_catanf.c (__catanf): Likewise.
2648 * math/s_catanh.c (__catanh): Likewise.
2649 * math/s_catanhf.c (__catanhf): Likewise.
2650 * math/s_catanhl.c (__catanhl): Likewise.
2651 * math/s_catanl.c (__catanl): Likewise.
2652 * math/s_ccosh.c (__ccosh): Likewise.
2653 * math/s_ccoshf.c (__ccoshf): Likewise.
2654 * math/s_ccoshl.c (__ccoshl): Likewise.
2655 * math/s_cexp.c (__cexp): Likewise.
2656 * math/s_cexpf.c (__cexpf): Likewise.
2657 * math/s_cexpl.c (__cexpl): Likewise.
2658 * math/s_clog10.c (__clog10): Likewise.
2659 * math/s_clog10f.c (__clog10f): Likewise.
2660 * math/s_clog10l.c (__clog10l): Likewise.
2661 * math/s_clog.c (__clog): Likewise.
2662 * math/s_clogf.c (__clogf): Likewise.
2663 * math/s_clogl.c (__clogl): Likewise.
2664 * math/s_csin.c (__csin): Likewise.
2665 * math/s_csinf.c (__csinf): Likewise.
2666 * math/s_csinh.c (__csinh): Likewise.
2667 * math/s_csinhf.c (__csinhf): Likewise.
2668 * math/s_csinhl.c (__csinhl): Likewise.
2669 * math/s_csinl.c (__csinl): Likewise.
2670 * math/s_csqrt.c (__csqrt): Likewise.
2671 * math/s_csqrtf.c (__csqrtf): Likewise.
2672 * math/s_csqrtl.c (__csqrtl): Likewise.
2673 * math/s_ctan.c (__ctan): Likewise.
2674 * math/s_ctanf.c (__ctanf): Likewise.
2675 * math/s_ctanh.c (__ctanh): Likewise.
2676 * math/s_ctanhf.c (__ctanhf): Likewise.
2677 * math/s_ctanhl.c (__ctanhl): Likewise.
2678 * math/s_ctanl.c (__ctanl): Likewise.
2679 * math/w_pow.c: Likewise.
2680 * math/w_powf.c: Likewise.
2681 * math/w_powl.c: Likewise.
2682 * math/w_scalb.c (sysv_scalb): Likewise.
2683 * math/w_scalbf.c (sysv_scalbf): Likewise.
2684 * math/w_scalbl.c (sysv_scalbl): Likewise.
2685 * misc/error.c (error_tail): Likewise.
2686 * misc/pselect.c (__pselect): Likewise.
2687 * nis/nis_callback.c (__nis_create_callback): Likewise.
2688 * nis/nis_call.c (__nisfind_server): Likewise.
2689 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2690 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2691 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2692 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2693 * nis/nis_lookup.c (nis_lookup): Likewise.
2694 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2695 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2696 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2697 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2698 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2699 internal_getgrgid_r): Likewise.
2700 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2702 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2703 internal_getpwuid_r): Likewise.
2704 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2705 internal_getspnam_r): Likewise.
2706 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2707 _nss_nis_getaliasbyname_r): Likewise.
2708 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2709 _nss_nis_getntohost_r): Likewise.
2710 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2711 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2713 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2714 internal_nis_gethostent_r, internal_gethostbyname2_r,
2715 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2716 _nss_nis_gethostbyname4_r): Likewise.
2717 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2718 initgroups_netid): Likewise.
2719 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2720 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2721 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2722 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2723 _nss_nis_getprotobynumber_r): Likewise.
2724 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2725 _nss_nis_getsecretkey): Likewise.
2726 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2727 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2729 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2730 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2731 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2732 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2733 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2734 _nss_nis_getspnam_r): Likewise.
2735 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2737 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2738 _nss_nisplus_getntohost_r): Likewise.
2739 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2740 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2741 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2742 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2743 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2745 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2746 _nss_nisplus_getnetbyaddr_r): Likewise.
2747 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2748 _nss_nisplus_getprotobynumber_r): Likewise.
2749 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2750 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2751 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2753 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2754 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2755 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2756 _nss_nisplus_getspnam_r): Likewise.
2757 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2758 * nscd/aicache.c (addhstaiX): Likewise.
2759 * nscd/cache.c (cache_search, prune_cache): Likewise.
2760 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2761 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2762 * nscd/grpcache.c (addgrbyX): Likewise.
2763 * nscd/hstcache.c (addhstbyX): Likewise.
2764 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2765 * nscd/mem.c (gc, mempool_alloc): Likewise.
2766 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2768 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2770 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2771 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2772 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2774 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2775 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2776 * nscd/nscd_helper.c (__readvall, open_socket,
2777 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2778 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2779 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2780 * nscd/pwdcache.c (addpwbyX): Likewise.
2781 * nscd/selinux.c (preserve_capabilities): Likewise.
2782 * nscd/servicescache.c (addservbyX): Likewise.
2783 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2784 * posix/fnmatch.c (fnmatch): Likewise.
2785 * posix/getopt.c (_getopt_internal_r): Likewise.
2786 * posix/glob.c (glob, glob_in_dir): Likewise.
2787 * posix/wordexp.c (exec_comm_child): Likewise.
2788 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2789 gaih_getanswer_slice): Likewise.
2790 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2791 * resolv/res_init.c: Likewise.
2792 * resolv/res_mkquery.c (res_nmkquery): Likewise.
2793 * resolv/res_query.c (__libc_res_nquery): Likewise.
2794 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2796 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2797 * stdio-common/perror.c (perror): Likewise.
2798 * stdio-common/printf_fp.c (___printf_fp): Likewise.
2799 * stdio-common/tmpnam.c (tmpnam): Likewise.
2800 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2801 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2802 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2803 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2804 * stdlib/putenv.c (putenv): Likewise.
2805 * stdlib/setenv.c (__add_to_environ): Likewise.
2806 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2807 * stdlib/strtol_l.c (INTERNAL): Likewise.
2808 * string/memmem.c (memmem): Likewise.
2809 * string/strerror.c (strerror): Likewise.
2810 * string/strnlen.c (__strnlen): Likewise.
2811 * string/test-memmem.c (simple_memmem): Likewise.
2812 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2813 * sunrpc/pm_getport.c (__get_socket): Likewise.
2814 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2815 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2816 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2817 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2819 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2820 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2821 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2822 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2823 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2824 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2825 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2826 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2827 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2828 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2829 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2830 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2832 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2833 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2834 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2835 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2836 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2837 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2839 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2841 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2843 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2845 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2846 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2847 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2848 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2849 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2852 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2853 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2856 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2858 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2859 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2861 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2863 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2865 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2867 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2869 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2870 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2871 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2872 * sysdeps/posix/sleep.c: Likewise.
2873 * sysdeps/posix/tempname.c: Likewise.
2874 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2875 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2877 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2878 elf_machine_rela): Likewise.
2879 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2880 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2881 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2882 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2884 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2885 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2886 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2887 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2888 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2889 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2890 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2891 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2892 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2893 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2895 elf_machine_lazy_rel): Likewise.
2896 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2898 elf_machine_lazy_rel): Likewise.
2899 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2900 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2901 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2902 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2903 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2904 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2905 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2908 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2909 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2910 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2911 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2912 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2913 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2914 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2915 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2916 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2917 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2918 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2920 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2921 (__posix_fallocate64_l64): Likewise.
2922 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2923 (posix_fallocate): Likewise.
2924 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
2925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2926 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
2927 getifaddrs_internal): Likewise.
2928 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
2929 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
2930 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2931 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2932 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2933 (__posix_fallocate64_l64): Likewise.
2934 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2936 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
2937 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2939 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
2940 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2941 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
2942 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2943 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2944 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2945 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2946 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
2948 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
2949 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
2950 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2951 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2952 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2953 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
2954 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
2956 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2957 (posix_fallocate): Likewise.
2958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2959 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2960 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
2961 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
2962 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2964 * time/asctime.c (asctime_internal): Likewise.
2965 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
2966 * time/tzset.c (__tzset_parse_tz): Likewise.
2967 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2968 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2969 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
2970 * wcsmbs/wcsmbsload.h: Likewise.
2972 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2975 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
2977 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2979 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
2980 arena_get2): Remove THREAD_STATS conditionals.
2981 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
2982 __malloc_stats, int): Likewise.
2984 2014-02-08 Mike Frysinger <vapier@gentoo.org>
2986 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
2987 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
2989 2014-02-08 Mike Frysinger <vapier@gentoo.org>
2991 * manual/setjmp.texi: Fix typos/grammar errors.
2993 2014-02-08 Mike Frysinger <vapier@gentoo.org>
2995 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
2996 Only return early when n is <= 0. Delete unused return statement.
2998 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3000 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3001 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3002 * debug/tst-longjmp_chk3.c: New file.
3004 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3006 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3007 (test_main): Replace code with set_fortify_handler call.
3008 * debug/test-strcpy_chk.c: Likewise.
3009 * debug/tst-chk1.c: Likewise.
3010 * debug/tst-longjmp_chk.c: Likewise.
3011 * test-skeleton.c: Include fcntl.h & paths.h
3012 (set_fortify_handler): Define.
3014 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3016 * debug/tst-longjmp_chk.c: Add header comment and include
3018 (do_test): Mark static.
3019 (TEST_FUNCTION): Define.
3021 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3023 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3024 (IP_PMTUDISC_INTERFACE): Likewise.
3025 (IP_MULTICAST_IF): Likewise.
3026 (IP_MULTICAST_TTL): Likewise.
3027 (IP_MULTICAST_LOOP): Likewise.
3028 (IP_ADD_MEMBERSHIP): Likewise.
3029 (IP_DROP_MEMBERSHIP): Likewise.
3030 (IP_UNBLOCK_SOURCE): Likewise.
3031 (IP_BLOCK_SOURCE): Likewise.
3032 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3033 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3034 (IP_MSFILTER): Likewise.
3035 (MCAST_JOIN_GROUP): Likewise.
3036 (MCAST_BLOCK_SOURCE): Likewise.
3037 (MCAST_UNBLOCK_SOURCE): Likewise.
3038 (MCAST_LEAVE_GROUP): Likewise.
3039 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3040 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3041 (MCAST_MSFILTER): Likewise.
3042 (IP_MULTICAST_ALL): Likewise.
3043 (IP_UNICAST_IF): Likewise.
3045 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3047 * timezone/Makefile: Delete $(have-ksh) check.
3048 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3049 * timezone/tzselect.ksh: Add +x mode bits.
3051 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3053 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3054 (ANON_INODE_FS_MAGIC): Likewise.
3055 (BDEVFS_MAGIC): Likewise.
3056 (BINFMTFS_MAGIC): Likewise.
3057 (BTRFS_TEST_MAGIC): Likewise.
3058 (CRAMFS_MAGIC_WEND): Likewise.
3059 (DEBUGFS_MAGIC): Likewise.
3060 (ECRYPTFS_SUPER_MAGIC): Likewise.
3061 (EXT3_SUPER_MAGIC): Likewise.
3062 (EXT4_SUPER_MAGIC): Likewise.
3063 (FUTEXFS_SUPER_MAGIC): Likewise.
3064 (HOSTFS_SUPER_MAGIC): Likewise.
3065 (HUGETLBFS_MAGIC): Likewise.
3066 (MINIX3_SUPER_MAGIC): Likewise.
3067 (MTD_INODE_FS_MAGIC): Likewise.
3068 (NILFS_SUPER_MAGIC): Likewise.
3069 (OPENPROM_SUPER_MAGIC): Likewise.
3070 (PIPEFS_MAGIC): Likewise.
3071 (PSTOREFS_MAGIC): Likewise.
3072 (QNX6_SUPER_MAGIC): Likewise.
3073 (RAMFS_MAGIC): Likewise.
3074 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3075 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3076 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3077 (SECURITYFS_MAGIC): Likewise.
3078 (SELINUX_MAGIC): Likewise.
3079 (SMACK_MAGIC): Likewise.
3080 (SOCKFS_MAGIC): Likewise.
3081 (SQUASHFS_MAGIC): Likewise.
3082 (STACK_END_MAGIC): Likewise.
3083 (TMPFS_MAGIC): Likewise.
3084 (USBDEVICE_SUPER_MAGIC): Likewise.
3085 (V9FS_MAGIC): Likewise.
3086 (XENFS_SUPER_MAGIC): Likewise.
3087 (CRAMFS_MAGIC): Fix typo in comment.
3088 (EXT2_SUPER_MAGIC): Update comment.
3089 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3091 2014-02-08 Joseph Myers <joseph@codesourcery.com>
3093 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3094 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3095 * sysdeps/unix/sysv/linux/arm: Move directory from
3096 ports/sysdeps/unix/sysv/linux/arm.
3097 * README: Update listing for arm-*-linux-gnueabi.
3099 * README: Remove mention of am33.
3101 2014-02-07 Roland McGrath <roland@hack.frob.com>
3103 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3104 than the comma operator, to avoid "rhs of comma has no effect"
3106 (__sigfillset, __sigandset, __sigorset): Likewise.
3107 * include/signal.h (__sigemptyset): Likewise.
3108 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3110 2014-02-07 Allan McRae <allan@archlinux.org>
3112 * version.h (RELEASE): Set to "development".
3113 (VERSION): Set to "2.19.90"
3114 * NEWS: Add 2.20 section.
3116 2014-02-06 Carlos O'Donell <carlos@redhat.com>
3119 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3121 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3123 * manual/contrib.texi: Update entry for Carlos O'Donell,
3124 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3126 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
3128 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3130 * sysdeps/unix/sysv/linux/kernel-features.h
3131 [__LINUX_KERNEL_VERSION >= 0x020621]
3132 (__ASSUME_PROC_PID_TASK_COMM): Define.
3134 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3137 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3138 conversion when destination buffer does not have enough space.
3139 * libio/tst-ftell-partial-wide.c: New test case.
3140 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3142 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3143 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3144 Leonard and Allan McRae.
3146 2014-02-04 David S. Miller <davem@davemloft.net>
3148 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3151 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3180 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3182 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3183 * shlib-versions: Likewise.
3185 2014-02-04 Roland McGrath <roland@hack.frob.com>
3186 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3188 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3189 (abilist-pattern): New variable, set to %-le.abilist.
3191 * Makerules (abilist-pattern): New variable.
3192 (vpath): Use $(abilist-pattern) in place of %.abilist.
3193 (check-abi-% pattern rule): Likewise.
3194 (check-abi, update-abi): Likewise.
3196 2014-02-04 Eric Wong <normalperson@yhbt.net>
3198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3200 2014-02-04 Eric Wong <normalperson@yhbt.net>
3202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3204 2014-02-03 Carlos O'Donell <carlos@redhat.com>
3206 * manual/startup.texi: Add next, previous, and top entries for
3207 the `Program Arguments' and `Environment Variables' nodes.
3209 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
3211 * manual/macros.texi: Add comments before MTASC-safety macros.
3213 * manual/users.texi: Document MTASC-safety properties.
3215 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3216 pthread_getspecific, pthread_setspecific): Format with
3217 @deftypefun, and add @safety note.
3218 * manual/signal.texi: Move comments that analyze the above
3219 functions to their home place.
3221 2014-02-03 Allan McRae <allan@archlinux.org>
3223 * po/sl.po: Update Slovenian translation from translation project.
3225 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
3227 * manual/time.texi (timegm): Add missing blank after @c.
3228 Reported by Joseph Myers <joseph@codesourcery.com>.
3230 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
3232 * manual/check-safety.sh: New.
3233 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3235 * manual/terminal.texi: Document MTASC-safety properties.
3237 * manual/filesys.texi: Document MTASC-safety properties.
3239 * manual/errno.texi: Document MTASC-safety properties.
3241 * manual/intro.texi: Document safety identifiers and
3244 * manual/string.texi (wcstok): Fix prototype.
3245 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3247 * manual/time.texi: Document MTASC-safety properties.
3249 * manual/string.texi: Document MTASC-safety properties.
3251 * manual/threads.texi: Document MTASC-safety properties.
3253 * manual/stdio.texi: Document MTASC-safety properties.
3255 * manual/syslog.texi: Document MTASC-safety properties.
3257 * manual/sysinfo.texi: Document MTASC-safety properties.
3259 * manual/startup.texi: Document MTASC-safety properties.
3261 * manual/socket.texi: Document MTASC-safety properties.
3263 * manual/signal.texi: Document MTASC-safety properties.
3265 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
3267 * manual/setjmp.texi: Document MTASC-safety properties.
3269 * manual/search.texi: Document MTASC-safety properties.
3271 * manual/resource.texi: Document MTASC-safety properties.
3273 * manual/process.texi: Document MTASC-safety properties.
3275 * manual/platform.texi: Document MTASC-safety properties.
3277 * manual/pipe.texi: Document MTASC-safety properties.
3279 * manual/pattern.texi: Document MTASC-safety properties.
3281 * manual/message.texi: Document MTASC-safety properties.
3284 * manual/memory.texi: Document MTASC-safety properties.
3286 * manual/math.texi: Document MTASC-safety properties.
3288 * manual/locale.texi: Document MTASC-safety properties.
3290 * manual/llio.texi: Document MTASC-safety properties.
3292 * manual/libdl.texi: New.
3294 * manual/lang.texi: Document MTASC-safety properties.
3296 * manual/job.texi: Document MTASC-safety properties.
3298 * manual/getopt.texi: Document MTASC-safety properties.
3300 * manual/ctype.texi: Document MTASC-safety properties.
3302 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3305 * csu/libc-tls.c (static_map): Remove variable.
3306 (__libc_setup_tls): Use main executable's link map for TLS data.
3307 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3308 casing for LM_ID_BASE and GL(dl_nns).
3309 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3310 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3311 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3312 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3313 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3315 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3318 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
3320 * manual/debug.texi: Document MTASC-safety properties.
3322 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3325 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3326 of __x86_64__ when disabling x87 inline functions.
3328 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
3330 * manual/charset.texi: Document MTASC-safety properties.
3332 * manual/crypt.texi: Document MTASC-safety properties.
3334 * manual/conf.texi: Document MTASC-safety properties.
3336 * manual/arith.texi: Document MTASC-safety properties.
3338 * manual/argp.texi: Document MTASC-safety properties.
3340 * manual/macros.texi: Introduce macros to document multi
3341 thread, asynchronous signal and asynchronous cancellation
3343 * manual/intro.texi: Introduce the properties themselves.
3345 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3347 * sysdeps/sh/sh4/Makefile: New file.
3349 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3351 * math/gen-libm-test.pl ($srcdir): New variable.
3352 ($auto_input): Use it.
3354 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3357 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3358 access beyond array bounds when parsing netgroups file.
3360 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3361 the old buffer before realloc.
3363 2014-01-27 Allan McRae <allan@archlinux.org>
3365 * po/fr.po: Update French translation from translation project.
3367 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3369 * sysdeps/sh/libm-test-ulps: Regenerate.
3371 2014-01-24 David S. Miller <davem@davemloft.net>
3373 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3375 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3377 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3378 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3380 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3383 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3384 string pointers after reallocation.
3386 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3388 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3389 __SH4A__ instead of __SH_FPU_ANY__.
3391 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3393 * sysdeps/sh/fpu_control.h: New file.
3394 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3395 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3396 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3397 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3398 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3399 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3400 * sysdeps/sh/sys/ucontext.h: Remove.
3401 * sysdeps/sh/sys: Remove directory.
3403 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3405 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3406 s390/sys/ucontext.h.
3407 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3408 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3410 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3413 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3415 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3418 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3419 Adjust the vDSO correctly for internal calls.
3420 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3422 2014-01-20 Allan McRae <allan@archlinux.org>
3424 * po/ca.po: Update Catalan translation from translation project.
3426 2014-01-16 Mike Frysinger <vapier@gentoo.org>
3428 * sysdeps/s390/sotruss-lib.c: New file.
3430 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3433 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3434 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3435 local calls issues by not having a PLT stub required for IFUNC calls.
3436 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3438 2014-01-16 Joseph Myers <joseph@codesourcery.com>
3440 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3441 * math/test-fpucw-static.c: Likewise.
3443 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3446 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3448 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3450 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3451 implementation for powerpc.
3453 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
3456 * sysdeps/posix/system.c (__libc_system): Do not enable
3457 asynchronous cancellation.
3459 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3462 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3463 handling only for numbers special also in the IEEE case.
3465 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3467 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3469 2014-01-11 Allan McRae <allan@archlinux.org>
3471 * po/bg.po: Update Bulgarian translation from translation project.
3473 * po/de.po: Update German translation from translation project.
3475 2014-01-10 Roland McGrath <roland@hack.frob.com>
3477 * sysdeps/generic/gcc-compat.h: New file.
3479 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3481 * benchtests/asin-inputs: Correct slow inputs.
3482 * benchtests/acos-inputs: Likewise.
3484 2014-01-10 Allan McRae <allan@archlinux.org>
3486 * po:sv.po: Update Swedish translation from translation project.
3488 * po/vi.po: Update Vietnamese translation from translation project.
3490 * po/eo.po: Update Esperanto translation from translation project.
3492 * po/cs.po: Update Czech translation from translation project.
3494 * po/nl.po: Update Dutch translation from translation project.
3496 * po/pl.po: Update Polish translation from translation project.
3498 * po/ru.po: Update Russian translation from translation project.
3500 * po/uk.po: Update Ukrainian translation from translation project.
3502 2014-01-08 Brooks Moses <bmoses@google.com>
3504 * elf/dl-load.c: Fix comment typo.
3506 2014-01-08 Carlos O'Donell <carlos@redhat.com>
3508 * po/header.pot: Rename to...
3509 * po/pot.header: ... this.
3510 * po/Makefile: Use pot.header.
3512 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3513 Maxim Kuvyrkov <maxim@kugelworks.com>
3516 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3517 SRC and DEST against LEN.
3519 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3522 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3524 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3526 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3530 2014-01-08 Joseph Myers <joseph@codesourcery.com>
3533 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3534 for large positive arguments.
3536 2014-01-07 Joseph Myers <joseph@codesourcery.com>
3538 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3540 * math/auto-libm-test-in: Mark various tests with
3541 xfail-rounding:ldbl-128ibm.
3542 * math/auto-libm-test-out: Regenerated.
3545 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3546 Increase overflow threshold.
3548 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
3551 * stdio-common/vfprintf.c: Check for integer overflow.
3553 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3555 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3556 the first argument and return value of __tls_get_addr_internal.
3558 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3560 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3561 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3563 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3565 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3566 * sysdeps/s390/rtld-global-offsets.sym: New file.
3567 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3569 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3570 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3571 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3573 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3574 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3580 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3581 halfs of GPRs for high_gprs contexts.
3582 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3583 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3585 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3587 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3589 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3590 for high GPRs (uc_high_gprs) and for future extensions
3592 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3593 for future extensions (__reserved).
3594 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3596 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3597 SC_HIGHGPRS offset definition.
3598 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3599 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3601 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3603 * Versions.def: Add GLIBC_2.19 for libpthread.
3604 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3605 siglongjmp for libpthread with GLIBC_2.19 symver.
3606 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3607 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3608 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3609 * sysdeps/s390/__longjmp.c: New file.
3610 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3611 * sysdeps/s390/longjmp.c: New file.
3612 * sysdeps/s390/setjmp.S: New file.
3613 * sysdeps/s390/sigjmp.S: New file.
3614 * sysdeps/s390/v1-longjmp.c: New file.
3615 * sysdeps/s390/v1-setjmp.h: New file.
3616 * sysdeps/s390/v1-sigjmp.c: New file.
3617 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3618 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3620 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3621 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3622 versioned symbols for ____longjmp_chk.
3623 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3633 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3634 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3635 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3636 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3637 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3638 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3639 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3640 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3641 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3642 * sysdeps/s390/rtld-__longjmp.c: New file.
3643 * sysdeps/s390/rtld-setjmp.S: New file.
3645 2014-01-06 Joseph Myers <joseph@codesourcery.com>
3648 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3649 Return -__logl (x) for small positive arguments without evaluating
3652 2014-01-06 Mike Frysinger <vapier@gentoo.org>
3654 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3656 (__ptrace_peeksiginfo_args): ... this.
3657 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3658 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3659 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3661 2014-01-06 Allan McRae <allan@archlinux.org>
3663 * inet/netinet/in.h: Fix typo in comment.
3665 2014-01-05 Andreas Jaeger <aj@suse.de>
3667 * sysdeps/i386/fpu/libm-test-ulps: Update.
3669 2014-01-05 Allan McRae <allan@archlinux.org>
3671 * po/libc.pot: Regenerated.
3673 * malloc/memusagestat.c: Fix gettext call formatting.
3675 2014-01-04 Sami Kerola <kerolasa@iki.fi>
3677 * nscd/nscd.c: Improve usage() output.
3679 2014-01-04 Mike Frysinger <vapier@gentoo.org>
3681 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3682 * sysdeps/unix/sysv/linux/configure: Regenerated.
3683 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3684 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3686 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3689 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3690 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3692 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3695 extra tokens at end of #undef directive.
3696 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3697 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3698 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3700 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3702 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3704 * math/auto-libm-test-in: Mark various tests with
3705 xfail-rounding:ldbl-128ibm.
3706 * math/auto-libm-test-out: Regenerated.
3708 2014-01-02 Joseph Myers <joseph@codesourcery.com>
3711 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3712 numbers with subnormal high part when calculating exponent.
3715 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3719 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3721 (__ieee754_acoshl): Use __log1pl not __log1p.
3723 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
3725 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3726 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3727 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3728 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3729 Convert to GNU style.
3730 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3731 mem2mem_check, mem2chunk_check, top_check, realloc_check,
3732 memalign_check, __malloc_set_state): Likewise.
3733 * malloc/mallocbug.c (main): Likewise.
3734 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3735 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3736 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3737 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3738 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3739 * malloc/malloc.h: Likewise.
3740 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3741 memalignhook, reallochook, mabort): Likewise.
3742 * malloc/mcheck.h: Likewise.
3743 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3744 mmap64, mremap, munmap, dest): Likewise.
3745 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3746 * malloc/morecore.c (__default_morecore): Likewise.
3747 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3748 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3749 _obstack_allocated_p, obstack_free, _obstack_memory_used,
3750 print_and_abort): Likewise.
3751 * malloc/obstack.h: Likewise.
3752 * malloc/set-freeres.c (__libc_freeres): Likewise.
3753 * malloc/tst-mallocstate.c (main): Likewise.
3754 * malloc/tst-mtrace.c (main): Likewise.
3755 * malloc/tst-realloc.c (do_test): Likewise.
3757 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3760 * nscd/netgroupcache.c (do_notfound): New function.
3761 (addgetnetgrentX): Use it.
3764 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3765 NSS_STATUS_NOTFOUND.
3767 2014-01-01 Joseph Myers <joseph@codesourcery.com>
3769 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3772 2014-01-01 Allan McRae <allan@archlinux.org>
3774 * scripts/update-copyrights: Update configure input file suffix.
3776 * NEWS: Update copyright year.
3777 * catgets/gencat.c: Likewise.
3778 * csu/version.c: Likewise.
3779 * debug/catchsegv.sh: Likewise.
3780 * debug/pcprofiledump.c: Likewise.
3781 * debug/xtrace.sh: Likewise.
3782 * elf/ldconfig.c: Likewise.
3783 * elf/ldd.bash.in: Likewise.
3784 * elf/pldd.c: Likewise.
3785 * elf/sotruss.ksh: Likewise.
3786 * elf/sprof.c: Likewise.
3787 * iconv/iconv_prog.c: Likewise.
3788 * iconv/iconvconfig.c: Likewise.
3789 * locale/programs/locale.c: Likewise.
3790 * locale/programs/localedef.c: Likewise.
3791 * login/programs/pt_chown.c: Likewise.
3792 * malloc/memusage.sh: Likewise.
3793 * malloc/memusagestat.c: Likewise.
3794 * malloc/mtrace.pl: Likewise.
3795 * manual/libc.texinfo: Likewise.
3796 * nscd/nscd.c: Likewise.
3797 * nss/getent.c: Likewise.
3798 * nss/makedb.c: Likewise.
3799 * posix/getconf.c: Likewise.
3800 * scripts/test-installation.pl: Likewise.
3802 * All files with FSF copyright notices: Update copyright dates
3803 using scripts/update-copyrights.
3804 * intl/plural.c: Regenerated.
3805 * locale/programs/charmap-kw.h: Likewise.
3806 * locale/programs/locfile-kw.h: Likewise.
3808 2013-12-31 Mike Frysinger <vapier@gentoo.org>
3810 * sysdeps/unix/sysv/linux/configure: Regenerated.
3811 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3812 the linux/fanotify.h header.
3813 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3814 HAVE_LINUX_FANOTIFY_H is defined.
3816 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3818 * benchtests/cos-inputs: New inputs.
3819 * benchtests/sin-inputs: Likewise.
3821 * benchtests/atan-inputs: New inputs. Fix name of multiple
3822 precision fallback inputs.
3824 * benchtests/atanh-inputs: New inputs.
3825 * benchtests/tanh-inputs: Likewise.
3827 * benchtests/acosh-inputs: New inputs.
3828 * benchtests/asinh-inputs: Likewise.
3830 * benchtests/cosh-inputs: New inputs.
3831 * benchtests/sinh-inputs: Likewise.
3833 * benchtests/acos-inputs: Add more inputs.
3834 * benchtests/asin-inputs: Likewise.
3836 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
3839 * manual/arith.texi: Fix spelling.
3840 * manual/charset.texi: Likewise.
3841 * manual/errno.texi: Likewise.
3842 * manual/filesys.texi: Likewise.
3843 * manual/lang.texi: Likewise.
3844 * manual/llio.texi: Likewise.
3845 * manual/locale.texi: Likewise.
3846 * manual/message.texi: Likewise.
3847 * manual/resource.texi: Likewise.
3848 * manual/search.texi: Likewise.
3849 * manual/setjmp.texi: Likewise.
3850 * manual/stdio.texi: Likewise.
3851 * manual/string.texi: Likewise.
3852 * manual/sysinfo.texi: Likewise.
3853 * manual/time.texi: Likewise.
3855 2013-12-27 Carlos O'Donell <carlos@redhat.com>
3857 * po/sl.po: New file.
3859 2013-12-27 Mike Frysinger <vapier@gentoo.org>
3861 * .gitignore: Add core/.gdbinit/.gdb_history.
3863 2013-12-27 Allan McRae <allan@archlinux.org>
3866 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3867 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3869 2013-12-24 Brooks Moses <bmoses@google.com>
3871 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3872 all compilers that claim C++98 compliance, not just GCC.
3873 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3876 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3878 * NEWS: Restore accidentally deleted bug-fix entries.
3880 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3881 Ondřej Bílka <neleai@seznam.cz>
3884 * malloc/malloc.c (_int_free): Perform sanity check only if we
3887 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
3890 * manual/stdio.texi (String Input Conversions): Clarify that character
3891 classes are not supported.
3893 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3897 2013-12-22 Joseph Myers <joseph@codesourcery.com>
3900 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3901 Calculate results for small negative arguments directly rather
3902 than using reflection formula with special underflow handling.
3904 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3905 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3906 sysdeps/unix/bsd/bsd4.4/syscalls.list.
3907 (fchflags): Likewise.
3909 (setlogin): Likewise.
3910 (sigaltstack): Likewise.
3913 (sigsetmask): Likewise.
3915 (waitpid): Likewise.
3916 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3917 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3919 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3920 * sysdeps/unix/bsd/Makefile: ... here.
3921 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3922 * sysdeps/unix/bsd/Versions: ... here.
3923 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3924 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
3925 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
3926 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
3927 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
3928 * sysdeps/unix/bsd/sigblock.c: ... here.
3929 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
3930 * sysdeps/unix/bsd/sigsetmask.c: ... here.
3931 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
3932 * sysdeps/unix/bsd/sigvec.c: ... here.
3933 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
3934 * sysdeps/unix/bsd/tcdrain.c: ... here.
3935 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
3936 * sysdeps/unix/bsd/tcgetattr.c: ... here.
3937 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
3938 * sysdeps/unix/bsd/tcsetattr.c: ... here.
3939 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
3940 * sysdeps/unix/bsd/wait.c: ... here.
3941 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
3942 * sysdeps/unix/bsd/wait3.c: ... here.
3943 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
3944 * sysdeps/unix/bsd/waitpid.c: ... here.
3946 2013-12-21 Joseph Myers <joseph@codesourcery.com>
3949 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
3950 round-to-nearest for [!USE_AS_EXPM1L].
3951 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3952 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
3953 more tests of exp and exp10. Expect some exp10 tests to miss
3954 exceptions or fail in directed rounding modes.
3955 * math/auto-libm-test-out: Regenerated.
3956 * math/libm-test.inc (exp10_tonearest_test_data): New array.
3957 (exp10_test_tonearest): New function.
3958 (exp10_towardzero_test_data): New array.
3959 (exp10_test_towardzero): New function.
3960 (exp10_downward_test_data): New array.
3961 (exp10_test_downward): New function.
3962 (exp10_upward_test_data): New array.
3963 (exp10_test_upward): New function.
3964 (main): Call the new functions.
3965 * sysdeps/i386/fpu/libm-test-ulps: Update.
3966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3968 2013-12-20 Joseph Myers <joseph@codesourcery.com>
3970 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3971 asinh, atan, atan2, atanh, cbrt, cos and cosh.
3972 * math/auto-libm-test-out: Regenerated.
3973 * math/libm-test.inc (acosh_test_data): Add more tests.
3974 (atanh_test_data): Likewise.
3975 (ceil_test_data): Likewise.
3976 (copysign_test_data): Likewise.
3977 * sysdeps/i386/fpu/libm-test-ulps: Update.
3978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3980 * timezone/checktab.awk: Update from tzcode 2013i.
3981 * timezone/private.h: Likewise.
3982 * timezone/scheck.c: Likewise.
3983 * timezone/tzfile.h: Likewise.
3984 * timezone/tzselect.ksh: Likewise.
3985 * timezone/zdump.c: Likewise.
3986 * timezone/zic.c: Likewise.
3988 * math/auto-libm-test-in: Add tests of cpow.
3989 * math/auto-libm-test-out: Regenerated.
3990 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
3991 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
3993 (func_calc_desc): Add mpc_cc_c union field.
3994 (test_functions): Add cpow.
3995 (special_fill_2pi): New function.
3996 (special_real_inputs): Add 2pi.
3997 (calc_generic_results): Handle mpc_cc_c.
3998 * sysdeps/i386/fpu/libm-test-ulps: Update.
3999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4001 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4002 csqrt, ctan and ctanh.
4003 * math/auto-libm-test-out: Regenerated.
4004 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4005 (TEST_COND_x86): Likewise.
4006 (ccos_test_data): Use AUTO_TESTS_c_c.
4007 (ccosh_test_data): Likewise.
4008 (cexp_test_data): Likewise.
4009 (clog_test_data): Likewise.
4010 (csqrt_test_data): Likewise.
4011 (ctan_test_data): Likewise.
4012 (ctan_tonearest_test_data): Likewise.
4013 (ctan_towardzero_test_data): Likewise.
4014 (ctan_downward_test_data): Likewise.
4015 (ctan_upward_test_data): Likewise.
4016 (ctanh_test_data): Likewise.
4017 (ctanh_tonearest_test_data): Likewise.
4018 (ctanh_towardzero_test_data): Likewise.
4019 (ctanh_downward_test_data): Likewise.
4020 (ctanh_upward_test_data): Likewise.
4021 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4023 (func_calc_desc): Add mpc_c_c union field.
4024 (FUNC_mpc_c_c): New macro.
4025 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4026 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4028 (special_fill_min_subnorm_p120): New function.
4029 (special_real_inputs): Add min_subnorm_p120.
4030 (calc_generic_results): Handle mpc_c_c.
4031 * sysdeps/i386/fpu/libm-test-ulps: Update.
4032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4034 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4036 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4037 do_sin_slow): New functions.
4038 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4039 cslow2, csloww1, csloww2): Use the new functions.
4041 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4042 Use M to change sign of result instead of X. Assume X is
4044 (csloww1): Likewise.
4048 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4053 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4055 (sloww1): Don't adjust sign of DX.
4056 (csloww1): Likewise.
4057 (sloww2): Use X directly and don't adjust sign of DX.
4058 (csloww2): Likewise.
4060 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4062 * math/auto-libm-test-in: Add tests of cabs and carg.
4063 * math/auto-libm-test-out: Regenerated.
4064 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4065 (carg_test_data): Likewise.
4066 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4068 (func_calc_desc): Add mpc_c_f union field.
4069 (test_functions): Add cabs and carg.
4070 (calc_generic_results): Handle mpc_c_f.
4072 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4073 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4074 as a macro and a compat symbol.
4075 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4076 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4077 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4078 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4079 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4080 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4082 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4084 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4086 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4088 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4090 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4092 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4093 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4096 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4100 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4102 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4103 trailing whitespace removed.
4104 * scripts/config.guess: Update to version 2013-11-29.
4105 * scripts/config.sub: Update to version 2013-10-01.
4107 * math/auto-libm-test-in: Add tests of sincos.
4108 * math/auto-libm-test-out: Regenerated.
4109 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4110 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4112 (func_calc_desc): Add mpfr_f_11 union field.
4113 (test_functions): Add sincos.
4114 (calc_generic_results): Handle mpfr_f_11.
4115 * sysdeps/i386/fpu/libm-test-ulps: Update.
4116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4118 2013-12-19 Andreas Schwab <schwab@suse.de>
4120 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4122 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4123 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4124 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4126 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4128 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4129 * sysdeps/i386/fpu/libm-test-ulps: Update.
4130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4134 round-to-nearest mode when using frndint.
4135 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4136 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4137 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4139 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4141 * math/auto-libm-test-out: Regenerated.
4142 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4143 (TEST_COND_x86): Likewise.
4144 (expm1_tonearest_test_data): New array.
4145 (expm1_test_tonearest): New function.
4146 (expm1_towardzero_test_data): New array.
4147 (expm1_test_towardzero): New function.
4148 (expm1_downward_test_data): New array.
4149 (expm1_test_downward): New function.
4150 (expm1_upward_test_data): New array.
4151 (expm1_test_upward): New function.
4152 (main): Run the new test functions.
4153 * sysdeps/i386/fpu/libm-test-ulps: Update.
4154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4156 * include/features.h: Update comment documenting feature test
4157 macros. Mention _DEFAULT_SOURCE in comment.
4158 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4159 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4160 _BSD_SOURCE and _SVID_SOURCE.
4161 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4162 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4163 !_SVID_SOURCE]: Likewise.
4164 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4165 (__USE_POSIX_IMPLICITLY): Define.
4166 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4167 (_POSIX_SOURCE): Undefine and redefine.
4168 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4169 (_POSIX_C_SOURCE): Likewise.
4170 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4171 (Feature Test Macros): Update documentation of default features.
4173 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4175 * benchtests/Makefile: Add bench-strtok.
4176 * benchtests/bench-strtok.c: New file: strtok benchtest.
4178 2013-12-19 Allan McRae <allan@archlinux.org>
4180 * manual/install.texi: Suppress menu for plain text output.
4181 * INSTALL: Regenerated.
4183 2013-12-18 Brooks Moses <bmoses@google.com>
4186 * misc/getauxval.c: Include errno.h.
4187 (__getauxval): Set errno to ENOENT if the requested type is not
4189 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4190 don't declare with __attribute_const__.
4191 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4192 * manual/startup.texi: Document that getauxval sets errno.
4194 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4196 * math/auto-libm-test-in: Add tests of jn and yn.
4197 * math/auto-libm-test-out: Regenerated.
4198 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4199 (yn_test_data): Likewise.
4200 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4202 (func_calc_desc): Add mpfr_if_f union field.
4203 (FUNC_mpfr_if_f): New macro.
4204 (test_functions): Add jn and yn.
4205 (calc_generic_results): Assert type of second input for
4206 mpfr_ff_f. Handle mpfr_if_f.
4207 (output_for_one_input_case): Disable all checking for arguments
4208 fitting floating-point types in case of an integer argument.
4209 * sysdeps/i386/fpu/libm-test-ulps: Update.
4210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4213 Don't expect fegetround reference in libm.so.
4215 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4217 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4218 $(config-cflags-nofma).
4220 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4222 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4223 * math/auto-libm-test-out: Regenerated.
4226 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4227 to determine exponent and adjust argument to have exponent of -1.
4228 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4230 * math/auto-libm-test-out: Regenerated.
4231 * sysdeps/i386/fpu/libm-test-ulps: Update.
4232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4234 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
4236 * manual/probes.texi: Remove cases when per-thread arenas are
4239 2013-12-18 Andreas Schwab <schwab@suse.de>
4241 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4242 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4243 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4244 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4245 * sysdeps/i386/i686/multiarch/Makefile: Update.
4246 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4248 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4250 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4251 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4253 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4256 Support TZ transition times < 00:00:00.
4257 This is needed for version-3 tz-format files; it supports time
4258 stamps past 2037 for America/Godthab (the only entry in the tz
4259 database for which this change is relevant).
4260 * manual/time.texi (TZ Variable): Document transition times
4261 from -167:59:59 through -00:00:01.
4262 * time/tzset.c (tz_rule): Time of day is now signed.
4263 (__tzset_parse_tz): Parse negative time of day.
4265 Document TZ transition times >= 25:00:00.
4266 * manual/time.texi (TZ Variable): Document transition times from
4267 25:00:00 through 167:59:59. These are already supported, and this
4268 support will help with version-3 tz-format files.
4270 * manual/time.texi (TZ Variable): Modernize North America example
4271 to reflect current (i.e., 2007-and-later) daylight saving rules.
4273 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4275 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4277 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4278 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4281 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4282 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4283 * sysdeps/unix/bsd/clock.c: Likewise.
4284 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4285 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4286 * sysdeps/unix/bsd/init-posix.c: Likewise.
4287 * sysdeps/unix/bsd/poll.c: Likewise.
4288 * sysdeps/unix/bsd/ptsname.c: Likewise.
4289 * sysdeps/unix/bsd/seekdir.c: Likewise.
4290 * sysdeps/unix/bsd/setegid.c: Likewise.
4291 * sysdeps/unix/bsd/seteuid.c: Likewise.
4292 * sysdeps/unix/bsd/setgid.c: Likewise.
4293 * sysdeps/unix/bsd/setrgid.c: Likewise.
4294 * sysdeps/unix/bsd/setruid.c: Likewise.
4295 * sysdeps/unix/bsd/setsid.c: Likewise.
4296 * sysdeps/unix/bsd/setuid.c: Likewise.
4297 * sysdeps/unix/bsd/sigaction.c: Likewise.
4298 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4299 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4300 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4301 * sysdeps/unix/bsd/telldir.c: Likewise.
4302 * sysdeps/unix/bsd/times.c: Likewise.
4303 * sysdeps/unix/bsd/usleep.c: Likewise.
4305 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4306 ($(objpfx)libbsd-compat.a): Remove rule.
4308 * include/features.h (__FAVOR_BSD): Do not define.
4309 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4310 features conflicting with POSIX.
4311 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4312 (_BSD_SOURCE): Remove description of not being a subset of other
4313 feature test macros.
4314 * manual/job.texi (getpgrp): Do not document BSD version.
4315 (getpgid): Do not document by reference to BSD getpgrp.
4316 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4317 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4318 * signal/signal.h [__FAVOR_BSD]: Likewise.
4319 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4320 instead of making contents conditional on [__FAVOR_BSD].
4321 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4323 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4327 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4330 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4331 values below 2**-450, not 2**-500.
4332 * math/auto-libm-test-in: Don't allow spurious underflow from
4334 * math/auto-libm-test-out: Regenerated.
4338 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4339 values of ha and hb and sort them after adjusting subnormal
4341 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4343 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4344 values of ea and eb and sort them after adjusting subnormal
4346 * math/auto-libm-test-in: Do not expect some hypot tests of
4347 subnormals to fail. Add more hypot tests.
4348 * math/auto-libm-test-out: Regenerated.
4350 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4353 * sysdeps/sh/s_fma.c: New file.
4354 * sysdeps/sh/s_fmaf.c: New file.
4355 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4357 * sysdeps/sh/Implies: Add sh/soft-fp.
4359 2013-12-16 Roland McGrath <roland@hack.frob.com>
4361 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4362 level of indirection to members `objname', `errstring', `malloced'.
4363 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4364 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4365 it as the __longjmp argument (just pass 1 instead).
4366 (_dl_catch_error): Initialize C with argument pointers and address of
4367 volatile local ERRCODE rather than copying values out of C at return.
4369 2013-12-16 Joseph Myers <joseph@codesourcery.com>
4371 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4372 * math/auto-libm-test-out: Regenerated.
4373 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4374 (hypot_test_data): Likewise.
4375 (pow_test_data): Likewise.
4376 (pow_tonearest_test_data): Likewise.
4377 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4379 (func_calc_desc): Add mpfr_ff_f union field.
4380 (FUNC_mpfr_ff_f): New macro.
4381 (test_functions): Add atan2, hypot and pow.
4382 (special_fill_min): New function.
4383 (special_fill_minus_min): Likewise.
4384 (special_fill_min_subnorm): Likewise.
4385 (special_fill_minus_min_subnorm): Likewise.
4386 (special_real_inputs): Add min, -min, min_subnorm and
4388 (calc_generic_results): Handle mpfr_ff_f.
4389 * sysdeps/i386/fpu/libm-test-ulps: Update.
4390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4392 2013-12-16 Will Newton <will.newton@linaro.org>
4394 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4395 (Aligned Memory Blocks): Add documentation for aligned_alloc
4396 and suggest it as an alternative to posix_memalign.
4397 (Hooks for Malloc): Document __memalign_hook is also called
4398 for aligned_alloc. (Summary of Malloc): Add summary for
4399 aligned alloc. Document __memalign_hook is also called
4402 2013-12-16 Will Newton <will.newton@linaro.org>
4404 * manual/memory.texi (Malloc Examples): Clarify default
4405 alignment documentation. Suggest posix_memalign rather
4406 than memalign or valloc.
4407 (Aligned Memory Blocks): Remove suggestion to use memalign
4408 or valloc. Remove obsolete comment about BSD.
4409 Document memalign errno values and mark the function obsolete.
4410 Document posix_memalign returned error codes. Mark valloc
4411 as obsolete. (Hooks for Malloc): __memalign_hook is also
4412 called for posix_memalign and valloc.
4413 (Summary of Malloc): Add posix_memalign to function summary.
4414 __memalign_hook is also called for posix_memalign and valloc.
4416 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4418 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4422 (sloww): Use mynumber union. Expand ternary operator into
4424 (cslow): use mynumber union.
4426 2013-12-16 Allan McRae <allan@archlinux.org>
4428 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4429 * configure: Regenerated.
4431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4434 * configure.ac: Added --enable-maintainer-mode. Check for
4435 autoconf when enabled.
4436 * configure: Regenerated.
4438 * nscd/nscd.service: New file.
4439 * nscd/nscd.tmpfiles: New file.
4441 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
4444 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4445 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4446 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4447 (strstr): Add __strstr_sse2_unaligned ifunc.
4448 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4449 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4450 (strcasestr): Remove __strcasestr_sse42 ifunc.
4451 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4455 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4457 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4458 * sysdeps/sh/bits/fenv.h: ... here.
4459 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4461 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4463 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4465 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4468 hypotf multiarch implementations.
4469 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4470 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4471 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4472 multiarch hypot for PPC64.
4473 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4474 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4475 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4476 multiarch hypotf for PPC64.
4478 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4481 modff multiarch implementations.
4482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4485 multiarch modf for PPC64.
4486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4489 multiarch modff for PPC64.
4491 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4494 and logl multiarch implementations.
4495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4498 multiarch logb for PPC64.
4499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4502 multiarch logb for PPC64.
4503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4506 multiarch logb for PPC64.
4508 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4511 isinff multiarch implementation.
4512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4516 multiarch isinf for PPC64.
4517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4520 multiarch isinff for PPC64.
4522 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4525 finitef multiarch implementation.
4526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4530 multiarch finite for PPC64.
4531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4534 multiarch finitef for PPC64.
4536 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4539 lrint multiarch implementation.
4540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4544 multiarch llrint for PPC64.
4545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4546 multiarch lrint for PPC64.
4548 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4550 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4551 copysignf multiarch implementation.
4552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4557 multiarch copysign for PPC64.
4558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4559 multiarch copysignf for PPC64.
4561 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4563 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4564 multiarch implementation.
4565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4573 multiarch llround for PPC64.
4574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4575 multiarch trunc for PPC64.
4576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4577 multiarch truncf for PPC64.
4579 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4581 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4582 multiarch implementation.
4583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4591 multiarch llround for PPC64.
4592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4593 multiarch round for PPC64.
4594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4595 multiarch roundf for PPC64.
4597 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4600 multiarch implementation.
4601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4609 multiarch llround for PPC64.
4610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4611 multiarch floor for PPC64.
4612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4613 multiarch floorf for PPC64.
4615 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4617 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4618 multiarch implementation.
4619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4627 multiarch llround for PPC64.
4628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4629 multiarch ceil for PPC64.
4630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4631 multiarch ceilf for PPC64.
4633 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4636 multiarch implementation.
4637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4644 multiarch llround for PPC64.
4645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4646 multiarch lround for PPC64.
4648 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4650 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4651 multiarch implementation.
4652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4659 multiarch isnan for PPC64.
4660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4661 multiarch isnanf for PPC64.
4663 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4665 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4666 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4667 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4668 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4669 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4672 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4674 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4675 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4676 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4677 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4679 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4682 multiarch implementations.
4683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4684 (__libc_ifunc_impl_list): Likewise.
4685 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4686 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4687 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4688 multiarch stpcpy for PPC64.
4690 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4693 multiarch implementations.
4694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4695 (__libc_ifunc_impl_list): Likewise.
4696 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4697 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4698 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4699 multiarch strcpy for PPC64.
4701 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4703 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4704 redefine function name.
4705 (_wordcopy_fwd_dest_aligned): Likewise.
4706 (_wordcopy_bwd_aligned): Likewise.
4707 (_wordcopy_bwd_dest_aligned): Likewise.
4708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4709 multiarch implementations.
4710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4711 (__libc_ifunc_impl_list): Likewise.
4712 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4713 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4714 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4715 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4716 multiarch wcscpy for PPC64.
4718 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4721 multiarch implementations.
4722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4723 (__libc_ifunc_impl_list): Likewise.
4724 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4725 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4726 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4727 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4728 multiarch wcscpy for PPC64.
4730 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4733 multiarch implementations.
4734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4735 (__libc_ifunc_impl_list): Likewise.
4736 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4737 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4738 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4739 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4740 multiarch wcsrchr for PPC64.
4742 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4745 multiarch implementations.
4746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4747 (__libc_ifunc_impl_list): Likewise.
4748 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4749 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4750 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4751 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4752 multiarch wcschr for PPC64.
4754 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4757 multiarch implementations.
4758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4759 (__libc_ifunc_impl_list): Likewise.
4760 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4761 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4762 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4763 multiarch strchrnul for PPC64.
4765 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4770 (__libc_ifunc_impl_list): Likewise.
4771 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4772 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4773 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4774 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4777 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4782 (__libc_ifunc_impl_list): Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4784 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4785 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4786 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4789 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4792 multiarch implementations.
4793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4794 (__libc_ifunc_impl_list): Likewise.
4795 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4796 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4797 strncasecmp for PPC64.
4798 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4799 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4800 multiarch strncasecmp_l for PPC64.
4802 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4805 multiarch implementations.
4806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4807 (__libc_ifunc_impl_list): Likewise.
4808 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4809 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4810 multiarch strcasecmp for PPC64.
4811 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4814 multiarch strcasecmp_l for PPC64.
4816 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4821 (__libc_ifunc_impl_list): Likewise.
4822 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4823 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4824 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4827 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4832 (__libc_ifunc_impl_list): Likewise.
4833 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4834 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4835 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4838 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4843 (__libc_ifunc_impl_list): Likewise.
4844 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4845 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4846 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4847 rawmemrchr for PPC64.
4849 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4854 (__libc_ifunc_impl_list): Likewise.
4855 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4856 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4857 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4860 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4865 (__libc_ifunc_impl_list): Likewise.
4866 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4867 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4868 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4871 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4876 (__libc_ifunc_impl_list): Likewise.
4877 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4878 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4879 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4882 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4884 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4885 avoid cretion of __bzero symbol.
4886 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4888 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4890 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4893 multiarch implementations.
4894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4895 (__libc_ifunc_impl_list): Likewise.
4896 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4897 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4898 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4899 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4901 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4902 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4903 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4904 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4905 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4907 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4909 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4911 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4915 (__libc_ifunc_impl_list): Likewise.
4916 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4917 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4918 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4919 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4922 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4925 multiarch for POWER/PPC64.
4926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4927 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
4928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
4929 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
4930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
4931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
4932 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
4933 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
4934 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
4937 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4939 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
4940 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
4941 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
4942 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
4943 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
4944 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
4945 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
4946 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
4947 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
4948 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
4949 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
4950 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
4951 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
4952 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
4953 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
4955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
4962 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4964 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
4966 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4968 * benchtests/Makefile (bench): Add exp2 and log2.
4969 (LDLIBS-bench-exp2): Add -lm.
4970 (LDLIBS-bench-log2): Likewise.
4971 * benchtests/exp2-inputs: New inputs file.
4972 * benchtests/log2-inputs: New inputs file.
4973 * benchtests/log-inputs: Add new inputs.
4974 * benchtests/tan-inputs: Likewise.
4976 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4978 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
4980 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
4981 csloww1, csloww2): ... from here.
4983 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
4984 instead of structures.
4985 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
4986 (POLYNOMIAL): Likewise.
4987 (TAYLOR_SLOW): Likewise.
4995 (bsloww1): Likewise.
4996 (bsloww2): Likewise.
4999 (csloww1): Likewise.
5000 (csloww2): Likewise.
5002 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5004 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5005 (__malloc_assert, __libc_realloc, __libc_calloc,
5006 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5008 * malloc/hooks.c (realloc_check): Likewise.
5010 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5012 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5013 * malloc/arena.c: Remove PER_THREAD conditional.
5014 [!PER_THREAD]: Remove code.
5015 (ptmalloc_unlock_all2): Likewise.
5016 (ptmalloc_init): Likewise.
5017 (_int_new_arena): Likewise.
5018 (arena_get2): Likewise.
5019 * malloc/hooks.c (__malloc_get_state): Likewise.
5020 (__malloc_set_state): Likewise.
5021 * malloc/malloc.c: Likewise.
5022 (struct malloc_state): Likewise.
5023 (struct malloc_par): Likewise.
5024 (__libc_realloc): Likewise.
5025 (__libc_mallopt): Likewise.
5027 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5029 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5031 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5033 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5034 macro to a function. Check for zero perturb_byte.
5035 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5037 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5039 * malloc/malloc.c: (force_reg): Remove.
5040 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5041 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5042 force_reg by atomic_forced_read.
5043 * malloc/arena.c (ptmalloc_init): Likewise.
5044 * malloc/hooks.c (top_check): Likewise.
5046 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5050 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5054 2013-12-08 Joseph Myers <joseph@codesourcery.com>
5056 * math/auto-libm-test-in: Add tests of lgamma.
5057 * math/auto-libm-test-out: Regenerated.
5058 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5059 (M_LOG_2_SQRT_PIl): Likewise.
5060 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5061 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5063 (func_calc_desc): Add mpfr_f_f1 union field.
5072 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5073 (test_functions): Add lgamma.
5074 (calc_generic_results): Handle mpfr_f_f1.
5075 * sysdeps/i386/fpu/libm-test-ulps: Update.
5076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5078 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5081 __mpn_add_n for PowerPC64/POWER7.
5082 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5083 __mpn_sub_n for PowerPC64/POWER7.
5085 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5087 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5088 __mpn_addmul_1 for PowerPC64.
5089 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5090 __mpn_submul_1 for PowerPC64.
5091 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5093 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5096 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5099 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5101 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5103 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5105 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5107 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5108 add multiarch folders.
5109 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5110 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5111 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5112 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5113 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5114 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5115 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5116 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5117 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5118 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5119 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5127 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5130 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5136 multiarch __ieee754_hypot for PowerPC32.
5137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5142 multiarch __ieee754_hypotf for PowerPC32.
5144 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5147 long_double_symbol only if __logbl is defined.
5148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5149 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5151 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5153 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5154 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5155 path for implementation.
5156 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5157 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5159 logb, and logbl multiarch implementations for PowerPC32.
5160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5165 multiarch logb for PowerPC32.
5166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5171 multiarch logbf for PowerPC32.
5172 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5176 multiarch logbl implementation for PowerPC32.
5178 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5181 and modff multiarch implementations.
5182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5187 multiarch modf for PowerPC32.
5188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5193 multiarch modff for PowerPC32.
5195 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5198 and lrintf multiarch implementations.
5199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5204 multiarch lrint for PowerPC32.
5205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5206 file: multiarch lrintf for PowerPC32.
5208 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5211 and lroundf multiarch implementations.
5212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5219 multiarch lround for PowerPC32.
5220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5221 file: multiarch lroundf for PowerPC32.
5223 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5226 copysign and copysignf multiarch implementations.
5227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5232 file: multiarch copysign for PowerPC32.
5233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5234 file: multiarch copysignf for PowerPC32.
5236 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5239 and truncf multiarch implementations.
5240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5245 multiarch trunc for PowerPC32.
5246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5251 multiarch truncf for PowerPC32.
5253 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5256 and roundf multiarch implementations.
5257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5262 multiarch round for PowerPC32.
5263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5268 multiarch roundf for PowerPC32.
5270 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5273 and floorf multiarch implementations.
5274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5279 multiarch floor for PowerPC32.
5280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5285 multiarch floorf for PowerPC32.
5287 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5290 and ceilf multiarch implementations.
5291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5296 multiarch ceil for PowerPC32.
5297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5302 multiarch ceilf for PowerPC32.
5304 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5306 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5308 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5311 and finitef multiarch implementations.
5312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5317 multiarch finite for PowerPC32.
5318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5321 file: multiarch finitef for PowerPC32.
5323 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5326 and isinff multiarch implementations.
5327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5332 multiarch isinf for PowerPC32.
5333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5336 multiarch isinff for PowerPC32.
5338 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5340 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5341 alias when __isnan is defined.
5342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5343 and isnanf multiarch implementations.
5344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5353 multiarch isnan for PowerPC32.
5354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5359 multiarch isnanf for PowerPC32.
5361 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5364 and sqrtf multiarch implementations.
5365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5370 multiarch sqrt for PowerPC32.
5371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5376 multiarch sqrtf for PowerPC32.
5378 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5381 and llroundf multiarch implementations.
5382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5389 file: multiarch llround for PowerPC32.
5390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5391 file: multiarch llroundf for PowerPC32.
5393 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5396 multiarch PowerPC32 fpu implementations.
5397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5402 multiarch llrint for PowerPC32.
5403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5410 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5414 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5416 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5418 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5420 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5422 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5423 multiarch wordcopy for PPC32.
5424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5427 (__libc_ifunc_impl_list): Likewise.
5428 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5429 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5430 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5431 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5432 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5433 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5435 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5437 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5445 multiarch wcscpy for PPC32.
5446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5449 (__libc_ifunc_impl_list): Likewise.
5450 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5451 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5452 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5453 sysdeps/powerpc/power6/wcscpy.c.
5455 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5457 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5465 multiarch wcsrchr for PPC32.
5466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5469 (__libc_ifunc_impl_list): Likewise.
5470 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5471 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5472 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5473 sysdeps/powerpc/power6/wcsrchr.c.
5475 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5477 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5482 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5483 multiarch wcschr for PPc32.
5484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5487 (__libc_ifunc_impl_list): Likewise.
5488 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5489 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5490 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5491 sysdeps/powerpc/power6/wcschr.c.
5493 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5495 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5496 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5498 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5499 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5500 file: multiarch strchr for PPC32.
5501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5504 (__libc_ifunc_impl_list): Likewise.
5506 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5508 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5510 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5512 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5514 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5515 multiarch strchrnul for PPC32.
5516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5519 (__libc_ifunc_impl_list): Likewise.
5521 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5523 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5526 multiarch strncasecmp for PPC32.
5527 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5529 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5530 multiarch strncasecmp_l for PPC32.
5531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5532 strncasecmp multiarch objects.
5533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5534 (__libc_ifunc_impl_list): Likewise.
5536 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5538 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5540 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5541 multiarch strncasecmp for PPC32.
5542 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5544 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5545 multiarch strcasecmp_l for PPC32.
5546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5549 (__libc_ifunc_impl_list): Likewise.
5551 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5553 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5557 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5558 multiarch strncmp for PPC32.
5559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5562 (__libc_ifunc_impl_list): Likewise.
5564 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5566 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5567 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5569 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5570 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5573 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5574 (__libc_ifunc_impl_list): Likewise.
5576 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5578 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5580 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5582 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5586 (__libc_ifunc_impl_list): Likewise.
5588 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5590 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5592 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5594 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5595 multiarch rawmemchr for PPC32.
5596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5599 (__libc_ifunc_impl_list): Likewise.
5601 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5603 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5605 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5607 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5608 file: memrchr multiarch for PPC32.
5609 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5612 (__libc_ifunc_impl_list): Likewise.
5614 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5617 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5619 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5620 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5621 multiarch memchr for PPC32.
5622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5625 (__libc_ifunc_impl_list): Likewise.
5627 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5629 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5630 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5632 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5634 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5635 file: multiarch mempcpy for PPC32.
5636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5639 (__libc_ifunc_impl_list): Likewise.
5641 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5643 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5644 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5645 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5646 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5647 multiarch bzero for PPC32.
5648 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5650 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5652 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5653 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5654 file: multiarch memset for PPC32.
5655 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5657 memset multiarch objects.
5658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5659 (__libc_ifunc_impl_list): Likewise.
5661 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5663 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5665 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5666 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5668 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5672 (__libc_ifunc_impl_list): Likewise.
5674 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5676 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5677 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5678 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5680 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5682 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5684 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5685 multiarch memcpy for PPC32.
5686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5688 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5689 (__libc_ifunc_impl_list): Likewise.
5691 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5694 support multiarch for POWER/PPC32.
5695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5697 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5699 Implies file to make multiarch folder appers before the fpu and
5700 default folder for power4 configuration.
5702 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5704 * scripts/bench.pl: Append volatile keyword to type.
5706 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5708 * sysdeps/sh/sotruss-lib.c: New file.
5709 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5711 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5715 2013-12-05 Joseph Myers <joseph@codesourcery.com>
5718 * math/w_tgamma.c: Include <errno.h>.
5719 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5720 * math/w_tgammaf.c: Include <errno.h>.
5721 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5722 * math/w_tgammal.c: Include <errno.h>.
5723 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5724 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5725 underflow. Add more tgamma tests.
5726 * math/auto-libm-test-out: Regenerated.
5727 * sysdeps/i386/fpu/libm-test-ulps: Update.
5728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5730 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5731 sin, sinh, tan, tanh, tgamma, y0 and y1.
5732 * math/auto-libm-test-out: Regenerated.
5733 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5734 (TEST_COND_x86): Likewise.
5735 (M_E2l): Remove macro.
5737 (M_2_SQRT_PIl): Likewise.
5738 (M_SQRT_PIl): Likewise.
5739 (M_1_DIV_El): Likewise.
5740 (log_test_data): Use AUTO_TESTS_f_f.
5741 (log10_test_data): Likewise.
5742 (log1p_test_data): Likewise.
5743 (log2_test_data): Likewise.
5744 (sin_test_data): Likewise.
5745 (sin_tonearest_test_data): Likewise.
5746 (sin_towardzero_test_data): Likewise.
5747 (sin_downward_test_data): Likewise.
5748 (sin_upward_test_data): Likewise.
5749 (sinh_test_data): Likewise.
5750 (sinh_tonearest_test_data): Likewise.
5751 (sinh_towardzero_test_data): Likewise.
5752 (sinh_downward_test_data): Likewise.
5753 (sinh_upward_test_data): Likewise.
5754 (tan_test_data): Likewise.
5755 (tan_tonearest_test_data): Likewise.
5756 (tan_towardzero_test_data): Likewise.
5757 (tan_downward_test_data): Likewise.
5758 (tan_upward_test_data): Likewise.
5759 (tanh_test_data): Likewise.
5760 (tgamma_test_data): Likewise.
5761 (y0_test_data): Likewise.
5762 (y1_test_data): Likewise.
5763 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5764 (special_real_inputs): Add pi/4.
5765 * sysdeps/i386/fpu/libm-test-ulps: Update.
5766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5768 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5771 "longjmp_target" static probes.
5772 (__longjmp): Rename to __longjmp_symbol.
5773 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5774 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5775 on which longjmp to generate.
5776 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5777 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5779 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5780 (__sigjmp_save): Rename to __sigjmp_save_symbol.
5781 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5782 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5783 and __sigjmp_save_symbol based on which sigsetjmp to generated.
5784 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5786 __longjmp_symbol based on which __longjmp to generate.
5787 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5789 (setjmp): Rename to setjmp_symbol.
5790 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5791 (_setjmp): Rename to _setjmp_symbol.
5792 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5793 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5794 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5795 which setjmp to generate.
5796 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5797 "longjmp_target" static probes.
5799 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5801 * benchtests/README: Add note about output arguments.
5802 * benchtests/bench-sincos.c: Remove file.
5803 * benchtests/sincos-inputs: New file.
5804 * scripts/bench.pl: Identify output arguments and define
5805 static variables for them.
5807 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5810 * Makefile (INSTALL): Add install-plain.texi as the primary
5812 * manual/install-plain.texi: New file.
5813 * manual/install.texi: Include node directive only for
5814 non-plaintext output.
5816 2013-12-04 Joseph Myers <joseph@codesourcery.com>
5818 * stdlib/longlong.h: Update from GCC.
5822 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5823 * math/w_j0f.c (y0f): Likewise.
5824 * math/w_j0l.c (__y0l): Likewise.
5825 * math/w_j1.c (y1): Likewise.
5826 * math/w_j1f.c (y1f): Likewise.
5827 * math/w_j1l.c (__y1l): Likewise
5828 * math/w_jn.c (yn): Likewise.
5829 * math/w_jnf.c (ynf): Likewise.
5830 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5831 Bessel function pole errors in _POSIX_ mode. Use NAN as return
5832 value for Bessel function domain errors outside _SVID_ mode.
5833 Adjust sign of return value for yn (negative integer, 0).
5834 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5835 by zero in return for negative x and set sign appropriately for
5837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5838 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5839 * math/libm-test.inc (y0_test_data): Add more tests and adjust
5840 expectations in error cases.
5841 (y1_test_data): Likewise.
5842 (yn_test_data): Likewise.
5843 * sysdeps/i386/fpu/libm-test-ulps: Update.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5846 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5848 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5849 "64" to "64-v1". Add "64-v2".
5850 (abi-64-options): Rename to ...
5851 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
5852 (abi-64-condition): Rename to ...
5853 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
5854 (abi-64-ld-soname): Rename to ...
5855 (abi-64-v1-ld-soname): ... this.
5856 (abi-64-v2-options): Define.
5857 (abi-64-v2-condition): Likewise.
5858 (abi-64-v2-ld-soname): Likewise.
5859 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5860 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5865 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5866 Alan Modra <amodra@gmail.com>
5868 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5869 New versions for use with the ELFv2 ABI.
5870 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5871 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5873 (struct La_ppc64v2_retval): Likewise.
5874 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5875 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5876 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5877 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5878 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5879 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5880 Do not save or restore CR.
5881 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5882 (_dl_profile_resolve): Do no save or restore CR. Support extended
5883 return values for ELFv2 ABI. Fix location of FPR return registers.
5884 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5885 updated values for _CALL_ELF == 2.
5886 (La_regs, La_retval, int_retval): Likewise.
5888 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5890 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5891 (FRAME_MIN_SIZE_PARM): Likewise.
5892 (FRAME_BACKCHAIN): Likewise.
5893 (FRAME_CR_SAVE): Likewise.
5894 (FRAME_LR_SAVE): Likewise.
5895 (FRAME_TOC_SAVE): Likewise.
5896 (FRAME_PARM_SAVE): Likewise.
5897 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5898 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5899 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5900 (call_mcount_parm_offset): New macro.
5901 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5902 (PROF): Use symbolic stack frame offsets.
5903 (TAIL_CALL_SYSCALL_ERROR): Likewise.
5904 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5905 Redefine in terms of FRAME_MIN_SIZE.
5906 (_dl_runtime_resolve): Use symbolic stack frame offsets.
5907 (_dl_profile_resolve): Likewise. Update comment.
5908 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5909 symbols stack frame offsets.
5910 (__sigsetjmp): Likewise.
5911 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5912 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5913 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5914 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5917 (FRAME_BACKCHAIN): Remove.
5918 (FRAME_CR_SAVE): Likewise.
5919 (FRAME_LR_SAVE): Likewise.
5920 (FRAME_COMPILER_DW): Likewise.
5921 (FRAME_LINKER_DW): Likewise.
5922 (FRAME_TOC_SAVE): Likewise.
5923 (FRAME_PARM_SAVE): Likewise.
5924 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5925 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5926 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
5928 (CHECK_SP): Use symbolic stack frame offsets.
5929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
5930 zone" instead of caller's parameter save area for temp storage.
5931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5932 Likewise. Also, use symbolic stack frame offsets.
5933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
5934 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
5935 our own stack frame instead of the caller's.
5936 (__socket): Use symbolic stack frame offsets.
5938 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5939 Alan Modra <amodra@gmail.com>
5941 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
5943 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
5944 PPC64_LOCAL_ENTRY_OFFSET): Define.
5945 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
5947 (elf_machine_fixup_plt): Call it.
5948 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
5950 (elf_machine_rela): Update call to elf_machine_plt_conflict.
5951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5952 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
5953 r2 before calling target.
5955 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5956 Alan Modra <amodra@gmail.com>
5958 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
5959 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
5960 versions of macros to support ELFv2 ABI.
5961 (LOCALENTRY): New macro.
5962 (ENTRY, EALIGN): Use it.
5963 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
5964 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
5965 fall through into ENTRY entry point.
5966 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
5967 Only define if _CALL_ELF != 2.
5969 (elf_machine_matches_host): Verify ABI version matches.
5970 (RTLD_START): Use LOCALENTRY.
5971 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
5972 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
5973 (PLT_ENTRY_WORDS): New macro.
5974 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
5975 (elf_machine_runtime_setup): Support ELFv2 ABI.
5976 (elf_machine_fixup_plt): Likewise.
5977 (elf_machine_plt_conflict): Likewise.
5978 (resolve_ifunc): Likewise.
5979 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5980 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
5983 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
5984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5985 (makecontext): Support ELFv2 ABI.
5986 * elf/elf.h (EF_PPC64_ABI): Define.
5988 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5990 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
5991 New assembler macro.
5992 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
5993 [ASSEMBLER] (ENTRY): ... but instead here ...
5994 [ASSEMBLER] (EALIGN): ... and here.
5995 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
5996 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
5997 [!ASSEMBLER] (ENTRY_2): Use it.
5998 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
5999 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6000 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6001 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6002 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6004 Use PPC64_LOAD_FUNCPTR.
6006 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6008 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6010 2013-12-04 Alan Modra <amodra@gmail.com>
6012 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6013 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6014 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6015 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6017 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6018 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6019 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6020 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6021 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6022 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6024 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6027 (__makecontext): Fix incorrect CFI when backtracing out of
6028 context created via makecontext.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6030 (__setcontext): Fix incorrect CFI during switch to new context.
6031 (__novec_setcontext): Likewise.
6033 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6036 * time/strptime_l.c (__strptime_internal): Allow modifiers
6038 * time/tst-strptime.c (day_tests): Add testcase.
6041 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6043 * scripts/bench.pl: Skip over blank lines.
6045 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6048 * manual/time.texi (Calendar Time): Clarify what timezone functions
6051 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6055 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6057 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6059 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6060 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6061 * debug/memset_chk.c (__memset_chk): Likewise.
6062 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6063 * debug/strncpy_chk.c: Likewise.
6065 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6069 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6070 (__ieee754_exp): For possibly underflowing results, check size of
6071 result and force underflow exception if required.
6072 * math/auto-libm-test-in: Add more tests of exp.
6073 * math/auto-libm-test-out: Regenerated.
6074 * sysdeps/i386/fpu/libm-test-ulps: Update.
6075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6078 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6079 * math/w_exp2f.c (__exp2f): Likewise.
6080 * math/w_exp2l.c (__exp2l): Likewise.
6081 * math/auto-libm-test-in: Do not allow missing errno on exp2
6083 * math/auto-libm-test-out: Regenerated.
6085 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
6088 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6089 handle filename validation.
6090 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6093 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6096 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6097 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6098 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6100 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6102 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6103 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6104 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6105 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6106 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6107 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6108 Add more erfc tests.
6109 * math/auto-libm-test-out: Regenerated.
6110 * sysdeps/i386/fpu/libm-test-ulps: Update.
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6113 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6114 exp2, expm1, j0 and j1.
6115 * math/auto-libm-test-out: Regenerated.
6116 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6117 (erfc_test_data): Likewise.
6118 (exp_test_data): Likewise.
6119 (exp_tonearest_test_data): Likewise.
6120 (exp_towardzero_test_data): Likewise.
6121 (exp_downward_test_data): Likewise.
6122 (exp_upward_test_data): Likewise.
6123 (exp10_test_data): Likewise.
6124 (exp2_test_data): Likewise.
6125 (expm1_test_data): Likewise.
6126 (j0_test_data): Likewise.
6127 (j1_test_data): Likewise.
6128 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6129 (input_flag_type): Add flag_xfail_rounding.
6130 (input_flags): Add xfail-rounding.
6131 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6132 (output_for_one_input_case): Handle flag_xfail_rounding.
6133 * sysdeps/i386/fpu/libm-test-ulps: Update.
6134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6136 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6139 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6142 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6145 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6146 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6147 (STAP_PROBE0): New macro.
6148 (STAP_PROBE1): Likewise.
6149 (STAP_PROBE2): Likewise.
6150 (STAP_PROBE3): Likewise.
6151 (STAP_PROBE4): Likewise.
6153 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
6155 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6157 2013-12-02 Steve Ellcey <sellcey@mips.com>
6159 * benchtests/Makefile (bench): Add sqrt.
6160 (LDLIBS-bench-sqrt): New.
6161 * benchtests/sqrt-input: New.
6163 2013-12-02 Pavel Simerda <psimerda@redhat.com>
6165 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6166 (GAIH_EAI): Likewise.
6167 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6168 (gaih_inet): Likewise.
6169 (getaddrinfo): Don't use GAIH_EAI.
6171 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6172 (struct gaih): Remove definition.
6174 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6176 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6177 Use HERRNOP directly.
6179 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6183 2013-11-30 Joseph Myers <joseph@codesourcery.com>
6185 * math/gen-auto-libm-tests.c (test_functions): Add more
6186 single-argument functions.
6187 (special_fill_pi_2): New function.
6188 (special_fill_minus_pi_2): Likewise.
6189 (special_fill_pi_6): Likewise.
6190 (special_fill_minus_pi_6): Likewise.
6191 (special_fill_pi_3): Likewise.
6192 (special_fill_2pi_3): Likewise.
6193 (special_fill_e): Likewise.
6194 (special_fill_1_e): Likewise.
6195 (special_fill_e_minus_1): Likewise.
6196 (special_real_inputs): Add more special inputs.
6197 (output_for_one_input_case): Do not require ERANGE on underflow to
6198 zero if round-to-nearest result does not underflow to zero, unless
6199 exact results required.
6200 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6201 atan, atanh, cbrt, cos and cosh.
6202 * math/auto-libm-test-out: Regenerated.
6203 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6204 (acos_tonearest_test_data): Likewise.
6205 (acos_towardzero_test_data): Likewise.
6206 (acos_downward_test_data): Likewise.
6207 (acos_upward_test_data): Likewise.
6208 (acosh_test_data): Likewise.
6209 (asin_test_data): Likewise.
6210 (asin_tonearest_test_data): Likewise.
6211 (asin_towardzero_test_data): Likewise.
6212 (asin_upward_test_data): Likewise.
6213 (asinh_test_data): Likewise.
6214 (atan_test_data): Likewise.
6215 (atanh_test_data): Likewise.
6216 (cbrt_test_data): Likewise.
6217 (cos_test_data): Likewise.
6218 (cos_tonearest_test_data): Likewise.
6219 (cos_towardzero_test_data): Likewise.
6220 (cos_downward_test_data): Likewise.
6221 (cos_upward_test_data): Likewise.
6222 (cosh_test_data): Likewise.
6223 (cosh_tonearest_test_data): Likewise.
6224 (cosh_towardzero_test_data): Likewise.
6225 (cosh_downward_test_data): Likewise.
6226 (cosh_upward_test_data): Likewise.
6227 * sysdeps/i386/fpu/libm-test-ulps: Update.
6228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6230 2013-11-29 Joseph Myers <joseph@codesourcery.com>
6233 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6234 * math/w_exp10f.c (__exp10f): Likewise.
6235 * math/w_exp10l.c (__exp10l): Likewise.
6236 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6237 errno settings in existing tests.
6240 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6241 precision control set to double precision.
6242 * sysdeps/i386/fpu/w_sqrt.c: New file.
6243 * math/auto-libm-test-in: Add more tests.
6244 * math/auto-libm-test-out: Update.
6246 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6247 (sqrt_test_tonearest): New function.
6248 (sqrt_towardzero_test_data): New variable.
6249 (sqrt_test_towardzero): New function.
6250 (sqrt_downward_test_data): New variable.
6251 (sqrt_test_downward): New function.
6252 (sqrt_upward_test_data): New variable.
6253 (sqrt_test_upward): New function.
6254 (main): Call the new functions.
6256 * math/gen-auto-libm-tests.c: New file.
6257 * math/auto-libm-test-in: Likewise.
6258 * math/auto-libm-test-out: New generated file.
6259 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6261 (%beautify): Add generated representations of zero.
6262 (top level): Set $auto_input and call parse_auto_input.
6263 (beautify): Remove trailing "f" from hex float constants.
6264 (parse_args): Handle XFAIL_TEST.
6265 (convert_condition): New function.
6266 (or_value): Likewise.
6267 (or_cond_value): Likewise.
6268 (generate_testfile): Handle AUTO_TESTS_* lines.
6269 (parse_auto_input): New function.
6270 * math/libm-test.inc (XFAIL_TEST): New macro.
6271 (ERRNO_UNCHANGED): Update value.
6272 (ERRNO_EDOM): Likewise.
6273 (ERRNO_ERANGE): Likewise.
6274 (IGNORE_RESULT): Likewise.
6275 (TEST_COND_flt_32): New macro.
6276 (TEST_COND_dbl_64): Likewise.
6277 (TEST_COND_ldbl_96_intel): Likewise.
6278 (TEST_COND_ldbl_96_m68k): Likewise.
6279 (TEST_COND_ldbl_128): Likewise.
6280 (TEST_COND_ldbl_128ibm): Likewise.
6281 (TEST_COND_long32): Likewise.
6282 (TEST_COND_long64): Likewise.
6283 (TEST_COND_before_rounding): Likewise.
6284 (TEST_COND_after_rounding): Likewise.
6285 (enable_test): Handle XFAIL_TEST flag.
6286 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6287 with finite results.
6288 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6291 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6292 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6295 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6296 __tls_get_addr_internal instead of __tls_get_offset in order to
6297 avoid GOT pointer dependency. Make rtld export
6298 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6299 __tls_get_addr since we are a __tls_get_offset platform.
6300 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6301 GOT pointer being set up before.
6302 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6304 2013-11-28 Joseph Myers <joseph@codesourcery.com>
6306 * manual/math.texi (Errors in Math Functions): Document accuracy
6310 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6311 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6314 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6316 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6327 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6328 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6329 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6330 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6331 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6333 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6335 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6337 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6338 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6339 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6340 atomic-feupdateenv and flt-rounds.
6341 * sysdeps/powerpc/nofpu/Versions (libc): Add
6342 __atomic_feholdexcept, __atomic_feclearexcept,
6343 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6344 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6345 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6346 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6347 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6352 * manual/arith.texi (FP Exceptions): Document that exceptions may
6353 not be raised when matherr is used.
6354 (Math Error Reporting): Document overflow in directed rounding
6355 modes. Document that errno may not be set when finite values are
6356 returned on overflow. Document intent to set errno on underflow
6357 only for underflow to zero.
6360 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6361 round-to-nearest then adjust result for other rounding modes.
6362 * include/fenv.h (fegetround): Use libm_hidden_proto.
6363 * math/fegetround.c (fegetround): Use libm_hidden_def.
6364 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6365 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6366 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6367 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6369 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6371 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6372 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6374 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6377 * nss/Versions (libnss_files): Add
6378 _nss_files_gethostbyname3_r.
6379 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6381 (HOST_DB_LOOKUP): Remove macro.
6382 (_nss_files_gethostbyname_r): Implement function without the
6383 HOST_DB_LOOKUP macro.
6384 (_nss_files_gethostbyname2_r): Likewise.
6386 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
6388 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6390 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
6392 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6393 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6396 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6399 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6400 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6401 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6402 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6403 __fe_nomask_env_priv and attribute_hidden.
6404 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6405 (libc_feupdateenv_test_ppc): Likewise.
6406 (libc_feresetround_ppc): Likewise.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6408 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6409 compat_symbol macro.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6411 (__fe_nomask_env): Likewise.
6412 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6414 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6416 * string/Makefile: Remove ifunc tests.
6417 * string/test-string.h: Define TEST_IFUNC.
6418 * string/test-bcopy-ifunc.c: Remove.
6419 * string/test-bzero-ifunc.c: Likewise.
6420 * string/test-memccpy-ifunc.c: Likewise.
6421 * string/test-memchr-ifunc.c: Likewise.
6422 * string/test-memcmp-ifunc.c: Likewise.
6423 * string/test-memcpy-ifunc.c: Likewise.
6424 * string/test-memmem-ifunc.c: Likewise.
6425 * string/test-memmove-ifunc.c: Likewise.
6426 * string/test-mempcpy-ifunc.c: Likewise.
6427 * string/test-memrchr-ifunc.c: Likewise.
6428 * string/test-memset-ifunc.c: Likewise.
6429 * string/test-rawmemchr-ifunc.c: Likewise.
6430 * string/test-stpcpy-ifunc.c: Likewise.
6431 * string/test-stpncpy-ifunc.c: Likewise.
6432 * string/test-strcasecmp-ifunc.c: Likewise.
6433 * string/test-strcasestr-ifunc.c: Likewise.
6434 * string/test-strcat-ifunc.c: Likewise.
6435 * string/test-strchr-ifunc.c: Likewise.
6436 * string/test-strchrnul-ifunc.c: Likewise.
6437 * string/test-strcmp-ifunc.c: Likewise.
6438 * string/test-strcpy-ifunc.c: Likewise.
6439 * string/test-strcspn-ifunc.c: Likewise.
6440 * string/test-strlen-ifunc.c: Likewise.
6441 * string/test-strncasecmp-ifunc.c: Likewise.
6442 * string/test-strncat-ifunc.c: Likewise.
6443 * string/test-strncmp-ifunc.c: Likewise.
6444 * string/test-strncpy-ifunc.c: Likewise.
6445 * string/test-strnlen-ifunc.c: Likewise.
6446 * string/test-strpbrk-ifunc.c: Likewise.
6447 * string/test-strrchr-ifunc.c: Likewise.
6448 * string/test-strspn-ifunc.c: Likewise.
6449 * string/test-strstr-ifunc.c: Likewise.
6451 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6453 * benchtests/Makefile: Remove ifunc tests.
6454 * benchtests/bench-string.h: Define TEST_IFUNC.
6455 * benchtests/bench-bcopy-ifunc.c: Remove.
6456 * benchtests/bench-bzero-ifunc.c: Likewise.
6457 * benchtests/bench-memccpy-ifunc.c: Likewise.
6458 * benchtests/bench-memchr-ifunc.c: Likewise.
6459 * benchtests/bench-memcmp-ifunc.c: Likewise.
6460 * benchtests/bench-memcpy-ifunc.c: Likewise.
6461 * benchtests/bench-memmem-ifunc.c: Likewise.
6462 * benchtests/bench-memmove-ifunc.c: Likewise.
6463 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6464 * benchtests/bench-memrchr-ifunc.c: Likewise.
6465 * benchtests/bench-memset-ifunc.c: Likewise.
6466 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6467 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6468 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6469 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6470 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6471 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6472 * benchtests/bench-strcat-ifunc.c: Likewise.
6473 * benchtests/bench-strchr-ifunc.c: Likewise.
6474 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6475 * benchtests/bench-strcmp-ifunc.c: Likewise.
6476 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6477 * benchtests/bench-strcpy-ifunc.c: Likewise.
6478 * benchtests/bench-strcspn-ifunc.c: Likewise.
6479 * benchtests/bench-strlen-ifunc.c: Likewise.
6480 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6481 * benchtests/bench-strncat-ifunc.c: Likewise.
6482 * benchtests/bench-strncmp-ifunc.c: Likewise.
6483 * benchtests/bench-strncpy-ifunc.c: Likewise.
6484 * benchtests/bench-strnlen-ifunc.c: Likewise.
6485 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6486 * benchtests/bench-strrchr-ifunc.c: Likewise.
6487 * benchtests/bench-strsep-ifunc.c: Likewise.
6488 * benchtests/bench-strspn-ifunc.c: Likewise.
6489 * benchtests/bench-strstr-ifunc.c: Likewise.
6491 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6493 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6495 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6497 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6498 * rt/aio.h: Likewise.
6499 * sysdeps/gnu/bits/utmp.h: Likewise.
6500 * sysdeps/gnu/bits/utmpx.h: Likewise.
6501 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6502 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6503 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6504 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6505 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6506 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6507 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6508 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6509 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6510 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6511 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6512 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6513 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6515 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6516 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6517 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6518 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6519 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6520 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6521 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6522 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6523 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6524 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6525 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6527 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6528 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6529 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6530 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6531 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6532 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6534 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6535 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6537 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6538 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6539 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6540 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6541 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6542 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6544 2013-11-25 Carlos O'Donell <carlos@redhat.com>
6547 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6548 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6550 2013-11-25 Joseph Myers <joseph@codesourcery.com>
6552 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6553 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6556 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6558 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6559 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6560 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6561 (__fesetround): Remove define.
6562 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6563 rounding and exceptions handling.
6564 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6565 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6566 (__fe_nomask_env): Likewise.
6567 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6568 __fegetround instead of fegetround.
6569 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6572 2013-11-21 Roland McGrath <roland@hack.frob.com>
6574 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6577 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6579 2013-11-21 Meador Inge <meadori@codesourcery.com>
6582 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6583 (encrypt_r): Likewise.
6584 * malloc/obstack.h (obstack_free): Likewise.
6585 * posix/unistd.h (encrypt): Likewise.
6587 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6589 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6590 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6591 DL_CALL_DT_FINI() that call the functions directly.
6592 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6593 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6594 * elf/dl-fini.c: Likewise.
6596 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
6598 * malloc/hooks.c (memalign_check): Add alignment rounding.
6599 * malloc/malloc.c (_mid_memalign): New function.
6600 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6601 Implement by calling _mid_memalign.
6602 * manual/probes.texi (Memory Allocation Probes): Remove
6603 memory_valloc_retry and memory_pvalloc_retry.
6605 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6607 * locale/programs/locarchive.c (open_archive): Add const
6608 qualifier to ARCHIVEFNAME and copy default fname to
6612 * libio/tst-widetext.input: Rename Oriya to Odia.
6613 * locale/iso-639.def: Likewise.
6615 * manual/probes.texi (Mathematical Function Probes): Add
6616 documentation for sin, cos, asin and acos probes.
6617 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6618 (__sin32): Add slowasin probe.
6619 (__cos32): Add slowacos probe.
6620 (__mpsin): Add slowsin probe.
6621 (__mpcos): Add slowcos probe.
6623 2013-11-19 Joseph Myers <joseph@codesourcery.com>
6626 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6627 thread-local __sim_exceptions_thread and global
6628 __sim_exceptions_global.
6629 (__sim_disabled_exceptions): Change to thread-local
6630 __sim_disabled_exceptions_thread and global
6631 __sim_disabled_exceptions_global.
6632 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6633 and global __sim_round_mode_global.
6634 (__simulate_exceptions): Use thread-local floating-point state and
6635 set global state from it as needed.
6636 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6637 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6638 __sim_round_mode_thread.
6639 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6640 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6641 and global __sim_exceptions_global.
6642 (__sim_disabled_exceptions): Change to thread-local
6643 __sim_disabled_exceptions_thread and global
6644 __sim_disabled_exceptions_global.
6645 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6646 and global __sim_round_mode_global.
6647 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6648 (SIM_SET_GLOBAL): Likewise.
6649 * sysdeps/powerpc/soft-fp/sfp-machine.h
6650 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6651 __sim_round_mode_thread.
6652 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6653 __sim_disabled_exceptions_thread.
6654 (__sim_exceptions): Change to __sim_exceptions_thread.
6655 (__sim_disabled_exceptions): Change to
6656 __sim_disabled_exceptions_thread.
6657 (__sim_round_mode): Change to __sim_round_mode_thread.
6658 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6659 thread-local floating-point state and set global state from it as
6661 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6662 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6663 (__sim_disabled_exceptions): Remove extern declaration.
6664 (feenableexcept): Use thread-local floating-point state and set
6665 global state from it as needed.
6666 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6668 (__sim_disabled_exceptions): Likewise.
6669 (__sim_round_mode): Likewise.
6670 (__fegetenv): Use thread-local floating-point state.
6671 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6672 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6673 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6674 floating-point state and set global state from it as needed.
6675 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6676 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6677 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6679 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6680 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6682 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6683 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6684 Use __sim_round_mode_thread.
6685 * math/test-fenv-tls.c: New file.
6686 * math/Makefile (tests): Add test-fenv-tls.
6687 ($(objpfx)test-fenv-tls): Depend on
6688 $(common-objpfx)nptl/libpthread.so.
6690 2013-11-19 Andreas Schwab <schwab@suse.de>
6692 * locale/programs/locale.c (show_info): Decode wordarray elements.
6693 * locale/categories.def (LC_MONETARY): Add element for
6694 _NL_MONETARY_CRNCYSTR.
6695 * locale/C-monetary.c (conversion_rate): New variable.
6696 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6699 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6701 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6702 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6704 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6706 * elf/Makefile (tst-auxv): New test.
6707 * elf/tst-auxv.c: New
6708 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6710 2013-11-18 Joseph Myers <joseph@codesourcery.com>
6712 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6713 (hidden_proto): Caller changed.
6714 (hidden_tls_proto): New macro.
6715 (libc_hidden_tls_proto): Likewise.
6716 (rtld_hidden_tls_proto): Likewise.
6717 (libm_hidden_tls_proto): Likewise.
6718 (libresolv_hidden_tls_proto): Likewise.
6719 (librt_hidden_tls_proto): Likewise.
6720 (libdl_hidden_tls_proto): Likewise.
6721 (libnss_files_hidden_tls_proto): Likewise.
6722 (libnsl_hidden_tls_proto): Likewise.
6723 (libnss_nisplus_hidden_tls_proto): Likewise.
6724 (libutil_hidden_tls_proto): Likewise.
6726 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
6729 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6730 (decompose_rpath): Defer expansion to fillin_rpath.
6731 (_dl_init_paths): Pass linkmap to fillin_rpath.
6733 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6735 * benchtests/Makefile: Add strsep.
6736 * benchtests/bench-strsep.c: New file: strsep benchtest.
6737 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6739 2013-11-18 Andreas Schwab <schwab@suse.de>
6741 * locale/programs/locale.c (show_info) [case byte]: Check for
6742 '\377' instead of '\177'.
6743 * locale/C-monetary.c (not_available): Always use "\377".
6744 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6745 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
6746 detect unavailable sign_posn locale elements.
6747 * locale/localeconv.c (__localeconv): For grouping and
6748 mon_grouping handle "\177" and "\377" like no grouping.
6749 (INT_ELEM): New macro. Use it to set all numeric members.
6750 * locale/programs/ld-monetary.c (monetary_read)
6751 <tok_mon_grouping>: Normalize single -1 to the empty string.
6752 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6755 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
6758 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6759 when we match (nil).
6760 * stdio-common/tst-sscanf.c (struct test): Add testcase.
6762 2013-11-16 Joseph Myers <joseph@codesourcery.com>
6764 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6765 (NO_TEST_INLINE): Update value.
6766 (ERRNO_UNCHANGED): Likewise.
6767 (ERRNO_EDOM): Likewise.
6768 (ERRNO_ERANGE): Likewise.
6769 (IGNORE_RESULT): Likewise.
6770 (check_float_internal): Check signs of NaN results if
6772 (check_complex): Pass TEST_NAN_SIGN flag through to second
6773 check_float_internal call.
6774 (copysign_test_data): Add tests with quiet NaNs as second
6775 argument. Use TEST_NAN_SIGN.
6776 (fabs_test_data): Add test of negative quiet NaN argument. Use
6778 (signbit_test_data): Add tests of quiet NaN argument.
6779 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6781 * math/gen-libm-test.pl (show_exceptions): Take extra argument
6783 (parse_args): Handle function results specified as IGNORE.
6784 * math/libm-test.inc (IGNORE_RESULT): New macro.
6785 (check_float_internal): Do not check numerical result if flag
6787 (check_complex): Pass through IGNORE_RESULT to second
6788 check_float_internal call.
6789 (check_int): Do not check numerical result if flag IGNORE_RESULT
6791 (check_long): Likewise.
6792 (check_bool): Likewise.
6793 (check_longlong): Likewise.
6794 (lrint_test_data): Add tests of infinite and NaN arguments.
6795 (lrint_tonearest_test_data): Likewise.
6796 (lrint_towardzero_test_data): Likewise.
6797 (lrint_downward_test_data): Likewise.
6798 (lrint_upward_test_data): Likewise.
6799 (llrint_test_data): Likewise.
6800 (llrint_tonearest_test_data): Likewise.
6801 (llrint_towardzero_test_data): Likewise.
6802 (llrint_downward_test_data): Likewise.
6803 (llrint_upward_test_data): Likewise.
6804 (lround_test_data): Likewise.
6805 (llround_test_data): Likewise.
6807 * math/libm-test.inc (NO_TEST_INLINE): New macro.
6808 (ERRNO_UNCHANGED): Update value.
6809 (ERRNO_EDOM): Likewise.
6810 (ERRNO_ERANGE): Likewise.
6811 (NO_TEST_INLINE_FLOAT): New macro.
6812 (NO_TEST_INLINE_DOUBLE): Likewise.
6813 (enable_test): New function.
6814 (RUN_TEST_f_f): Check enable_test before running test.
6815 (RUN_TEST_2_f): Likewise.
6816 (RUN_TEST_fff_f): Likewise.
6817 (RUN_TEST_c_f): Likewise.
6818 (RUN_TEST_f_f1): Likewise.
6819 (RUN_TEST_fF_f1): Likewise.
6820 (RUN_TEST_fI_f1): Likewise.
6821 (RUN_TEST_ffI_f1): Likewise.
6822 (RUN_TEST_c_c): Likewise.
6823 (RUN_TEST_cc_c): Likewise.
6824 (RUN_TEST_f_i): Likewise.
6825 (RUN_TEST_f_i_tg): Likewise.
6826 (RUN_TEST_ff_i_tg): Likewise.
6827 (RUN_TEST_f_b): Likewise.
6828 (RUN_TEST_f_b_tg): Likewise.
6829 (RUN_TEST_f_l): Likewise.
6830 (RUN_TEST_f_L): Likewise.
6831 (RUN_TEST_fFF_11): Likewise.
6832 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6834 (cosh_test_data): Likewise.
6835 (exp_test_data): Likewise.
6836 (expm1_test_data): Likewise.
6837 (hypot_test_data): Likewise.
6838 (pow_test_data): Likewise.
6839 (sinh_test_data): Likewise.
6840 (tanh_test_data): Likewise.
6841 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6844 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6845 tests with quiet NaN input and output.
6846 (acosh_test_data): Likewise.
6847 (asin_test_data): Likewise.
6848 (asinh_test_data): Likewise.
6849 (atan_test_data): Likewise.
6850 (atanh_test_data): Likewise.
6851 (atan2_test_data): Likewise.
6852 (cbrt_test_data): Likewise.
6853 (cos_test_data): Likewise.
6854 (cosh_test_data): Likewise.
6855 (erf_test_data): Likewise.
6856 (erfc_test_data): Likewise.
6857 (exp_test_data): Likewise.
6858 (exp10_test_data): Likewise.
6859 (exp2_test_data): Likewise.
6860 (expm1_test_data): Likewise.
6861 (hypot_test_data): Likewise.
6862 (j0_test_data): Likewise.
6863 (j1_test_data): Likewise.
6864 (jn_test_data): Likewise.
6865 (lgamma_test_data): Likewise.
6866 (log_test_data): Likewise.
6867 (log10_test_data): Likewise.
6868 (log1p_test_data): Likewise.
6869 (log2_test_data): Likewise.
6870 (pow_test_data): Likewise.
6871 (scalb_test_data): Likewise.
6872 (sin_test_data): Likewise.
6873 (sincos_test_data): Likewise.
6874 (sinh_test_data): Likewise.
6875 (tan_test_data): Likewise.
6876 (tanh_test_data): Likewise.
6877 (tgamma_test_data): Likewise.
6878 (y0_test_data): Likewise.
6879 (y1_test_data): Likewise.
6880 (yn_test_data): Likewise.
6883 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6884 argument being NaN and avoid computations with second argument in
6886 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6887 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6888 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6890 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
6892 * locale/iso-639.def: Add Chitwani Tharu (the).
6894 2013-11-14 Andreas Schwab <schwab@suse.de>
6896 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6897 word instead of empty string.
6899 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6902 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6904 (__fe_nomask_env): Likewise.
6906 2013-11-13 Steve Ellcey <sellcey@mips.com>
6908 * benchtests/bench-timing.h: Include time.h.
6910 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
6913 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6915 * sysdeps/unix/sysv/linux/configure: Regenerated.
6917 2013-11-13 Joseph Myers <joseph@codesourcery.com>
6920 * stdlib/strtod_l.c (round_and_return): Do not consider
6921 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6922 exponent one less than half the least subnormal exponent.
6923 * stdlib/test-strtod-round-data: Add more tests.
6924 * stdlib/tst-strtod-round.c (tests): Regenerated.
6926 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6929 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
6930 (__fe_mask_env): Likewise.
6931 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
6932 libm_hidden_proto and add function prototype.
6933 (__fe_mask_env): Add function prototype.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6935 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6937 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6939 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
6941 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6943 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
6944 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
6946 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6948 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
6949 of htab_find_slot().
6951 2013-11-11 David S. Miller <davem@davemloft.net>
6954 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
6955 symbol in the non-vis3 case in static builds.
6956 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
6957 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
6958 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
6959 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
6961 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6964 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
6967 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6969 * benchtests/Makefile: Add bench-strtod.
6970 * benchtests/bench-strtod.c: New file: strtod benchtest
6972 2013-11-11 Andreas Schwab <schwab@suse.de>
6975 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
6976 terminating NUL in key length.
6978 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6981 Add artificial ODP entry for vDSO symbol for PPC64.
6982 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
6983 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6985 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
6988 * nss/getent.c (services_keys): Recognize services starting with digit.
6990 2013-11-06 David S. Miller <davem@davemloft.net>
6993 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
6994 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
6996 2013-11-06 Will Newton <will.newton@linaro.org>
6998 * manual/memory.texi (Malloc Examples): Remove register
6999 keyword from examples.
7001 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7003 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7005 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7008 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7009 depending on [__GCC_IEC_559 > 0].
7010 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7011 depending on [__GCC_IEC_559_COMPLEX > 0].
7013 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
7015 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7018 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
7020 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7022 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
7025 * malloc/malloc (malloc_info): Do not handle first bin as
7028 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
7030 * locale/iso-639.def: Add Central Nahuatl (nhn).
7032 2013-11-01 Bruno Haible <bruno@clisp.org>
7035 * manual/math.texi (BSD Random): Specify range upper bound as
7038 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
7040 * locale/iso-639.def: Add Meadow Mari (mhr).
7042 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
7044 [BZ #14752], [BZ #15763]
7045 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7047 * rt/tst_shm.c: Add test for escaping directory.
7049 2013-10-31 Andreas Schwab <schwab@suse.de>
7052 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7053 followed by 'x' as part of digit sequence.
7054 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7056 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7059 * configure.ac: allow GNU Make 4.0 and greater.
7060 * configure: Regenerated.
7062 2013-10-30 Will Newton <will.newton@linaro.org>
7065 * malloc/hooks.c (memalign_check): Limit alignment to the
7066 maximum representable power of two.
7067 * malloc/malloc.c (__libc_memalign): Likewise.
7068 * malloc/tst-memalign.c (do_test): Add test for very
7069 large alignment values.
7070 * malloc/tst-posix_memalign.c (do_test): Likewise.
7072 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7075 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7076 (munmap_chunk): Likewise.
7077 (mremap_chunk): Likewise.
7079 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7082 * stdlib/div.c (div): Remove obsolete code.
7083 * stdlib/ldiv.c (ldiv): Likewise.
7084 * stdlib/lldiv.c (lldiv): Likewise.
7086 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7089 * nss/nss_files/files-XXX.c (get_contents_ret): New
7091 (get_contents): New function.
7092 (internal_getent): Use it. Expand size of LINEBUFLEN.
7094 2013-10-30 Mike Frysinger <vapier@gentoo.org>
7096 * configure.in: Moved to ...
7097 * configure.ac: ... here. Change reference to configure.in
7099 * sysdeps/arm/preconfigure.ac: ... here.
7100 configure.in to configure.ac.
7101 * sysdeps/gnu/configure.in: Moved to ...
7102 * sysdeps/gnu/configure.ac: ... here.
7103 * sysdeps/i386/configure.in: Moved to ...
7104 * sysdeps/i386/configure.ac: ... here.
7105 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7106 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7107 * sysdeps/mach/configure.in: Moved to ...
7108 * sysdeps/mach/configure.ac: ... here.
7109 * sysdeps/mach/hurd/configure.in: Moved to ...
7110 * sysdeps/mach/hurd/configure.ac: ... here.
7111 * sysdeps/powerpc/configure.in: Moved to ...
7112 * sysdeps/powerpc/configure.ac: ... here.
7113 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7114 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7115 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7116 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7117 * sysdeps/s390/s390-32/configure.in: Moved to ...
7118 * sysdeps/s390/s390-32/configure.ac: ... here.
7119 * sysdeps/s390/s390-64/configure.in: Moved to ...
7120 * sysdeps/s390/s390-64/configure.ac: ... here.
7121 * sysdeps/sh/configure.in: Moved to ...
7122 * sysdeps/sh/configure.ac: ... here.
7123 * sysdeps/sparc/configure.in: Moved to ...
7124 * sysdeps/sparc/configure.ac: ... here.
7125 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7126 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7127 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7128 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7129 * sysdeps/x86_64/configure.in: Moved to ...
7130 * sysdeps/x86_64/configure.ac: ... here.
7131 * sysdeps/x86_64/preconfigure.in: Moved to ...
7132 * sysdeps/x86_64/preconfigure.ac: ... here.
7133 * aclocal.m4: Change reference to configure.in to configure.ac.
7134 * config.h.in: Likewise.
7135 * manual/install.texi: Likewise.
7136 * manual/maint.texi: Likewise.
7137 * Makefile: Likewise.
7138 * malloc/Makefile: Likewise.
7139 * nscd/Makefile: Likewise.
7140 * Makeconfig: Change reference to configure.in and
7141 preconfigure.in to configure.ac and preconfigure.ac
7143 * INSTALL: Regenerated.
7144 * configure: Likewise.
7145 * sysdeps/gnu/configure: Likewise.
7146 * sysdeps/i386/configure: Likewise.
7147 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7148 * sysdeps/mach/configure: Likewise.
7149 * sysdeps/mach/hurd/configure: Likewise.
7150 * sysdeps/powerpc/configure: Likewise.
7151 * sysdeps/powerpc/powerpc32/configure: Likewise.
7152 * sysdeps/powerpc/powerpc64/configure: Likewise.
7153 * sysdeps/s390/s390-32/configure: Likewise.
7154 * sysdeps/s390/s390-64/configure: Likewise.
7155 * sysdeps/sh/configure: Likewise.
7156 * sysdeps/sparc/configure: Likewise.
7157 * sysdeps/unix/sysv/linux/configure: Likewise.
7158 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7159 * sysdeps/x86_64/configure: Likewise.
7160 * sysdeps/x86_64/preconfigure: Likewise.
7162 2013-10-29 Andreas Schwab <schwab@suse.de>
7164 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7166 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7168 * benchtests/pow-inputs: Add new inputs.
7170 * benchtests/exp-inputs: Add new inputs.
7172 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7173 conditional check for return value.
7174 (__cos32): Likewise.
7176 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7178 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7179 to provide a boost for large inputs with word alignment.
7180 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7181 implementation based on optimized PPC64 strcpy.
7182 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7183 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7184 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7185 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7187 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7190 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7192 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7195 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7196 * time/tst-strptime.c (day_tests): Add testcase.
7198 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7201 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7203 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7206 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7207 MAP_FAILED on error.
7209 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7212 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7213 heap for large requests.
7215 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7218 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7219 result if the result has no associated interface.
7220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7221 interface for all 127.X.Y.Z addresses.
7223 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
7225 * locale/iso-639.def: Add Ligurian (lij)
7227 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
7230 * sunrpc/rpc_main.c: Document rpcgen -5.
7232 2013-10-19 Michael Stahl <mstahl@redhat.com>
7234 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7236 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7239 * posix/glob.c: Match only directories when trailing slash is present.
7240 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7241 (main): Add testcase.
7243 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7246 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7248 2013-10-18 Carlos O'Donell <carlos@redhat.com>
7250 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7251 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7252 AUTH_DES and cindex for FIPS 140-2.
7253 (DES Encryption): Add cindex FIPS 46-3.
7255 * locale/locarchive.h (struct locarhandle): Add fname.
7256 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7257 if an optional argument was specified to --list-archive,
7259 * locale/programs/locarchive.c (show_archive_content): Take new
7260 argument fname and pass it via ah.fname to open_archive.
7261 * locale/programs/localedef.h: Update decl.
7262 (open_archive): If AH->fname is non-null, open that file
7263 rather than the default file name, and don't ignore ENOENT.
7264 (create_archive): Set AH.fname to NULL.
7265 (delete_locales_from_archive): Likewise.
7266 (add_locales_to_archive): Likewise.
7267 * locale/programs/locfile.c (write_all_categories): Likewise.
7269 2013-10-18 Joseph Myers <joseph@codesourcery.com>
7270 Aldy Hernandez <aldyh@redhat.com>
7272 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7273 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7274 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7275 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7276 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7277 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7278 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7279 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7280 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7281 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7282 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7283 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7284 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7285 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7286 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7288 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7290 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7292 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7294 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7295 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7297 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7298 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7299 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7300 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7302 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7303 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7304 * sysdeps/powerpc/preconfigure: Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7307 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7308 Replace contents of file by #include of <fenv_libc.h>.
7309 * sysdeps/powerpc/soft-fp/sfp-machine.h
7310 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7312 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7313 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7314 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7315 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7316 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7319 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7320 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7322 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7323 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7325 Allow copysignl PLT reference to be missing.
7327 2013-10-18 Richard Sandiford <richard@codesourcery.com>
7328 Joseph Myers <joseph@codesourcery.com
7331 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7333 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7335 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7337 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7338 * elf/tst-tls1.c: Likewise.
7339 * elf/tst-tls10.h: Likewise.
7340 * elf/tst-tls14.c: Likewise.
7341 * elf/tst-tls2.c: Likewise.
7342 * elf/tst-tls3.c: Likewise.
7343 * elf/tst-tls4.c: Likewise.
7344 * elf/tst-tls5.c: Likewise.
7345 * elf/tst-tls6.c: Likewise.
7346 * elf/tst-tls7.c: Likewise.
7347 * elf/tst-tls8.c: Likewise.
7348 * elf/tst-tls9.c: Likewise.
7349 * elf/tst-tlsmod1.c: Likewise.
7350 * elf/tst-tlsmod13.c: Likewise.
7351 * elf/tst-tlsmod13a.c: Likewise.
7352 * elf/tst-tlsmod14a.c: Likewise.
7353 * elf/tst-tlsmod16a.c: Likewise.
7354 * elf/tst-tlsmod16b.c: Likewise.
7355 * elf/tst-tlsmod2.c: Likewise.
7356 * elf/tst-tlsmod3.c: Likewise.
7357 * elf/tst-tlsmod4.c: Likewise.
7358 * elf/tst-tlsmod5.c: Likewise.
7359 * elf/tst-tlsmod6.c: Likewise.
7361 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
7364 * malloc/malloc.c: remove checks for statistics.
7366 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7369 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7370 * inet/tst-network.c: Add testcase.
7372 2013-10-17 Andreas Schwab <schwab@suse.de>
7375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7376 to determine canonical name.
7378 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7380 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7381 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7383 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7388 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7389 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7390 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7394 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7403 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7404 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7405 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7406 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7407 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7408 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7409 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7410 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7411 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7412 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7413 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7414 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7415 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7416 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7417 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7418 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7428 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7429 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7430 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7431 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7433 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7434 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7437 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7439 2013-10-17 Joseph Myers <joseph@codesourcery.com>
7442 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7443 make result into a quiet NaN.
7445 2013-10-16 Joseph Myers <joseph@codesourcery.com>
7447 * soft-fp/adddf3.c: Fix horizontal whitespace.
7448 * soft-fp/addsf3.c: Likewise.
7449 * soft-fp/addtf3.c: Likewise.
7450 * soft-fp/divdf3.c: Likewise.
7451 * soft-fp/divsf3.c: Likewise.
7452 * soft-fp/divtf3.c: Likewise.
7453 * soft-fp/double.h: Likewise.
7454 * soft-fp/eqdf2.c: Likewise.
7455 * soft-fp/eqsf2.c: Likewise.
7456 * soft-fp/eqtf2.c: Likewise.
7457 * soft-fp/extenddftf2.c: Likewise.
7458 * soft-fp/extended.h: Likewise.
7459 * soft-fp/extendsfdf2.c: Likewise.
7460 * soft-fp/extendsftf2.c: Likewise.
7461 * soft-fp/extendxftf2.c: Likewise.
7462 * soft-fp/fixdfdi.c: Likewise.
7463 * soft-fp/fixdfsi.c: Likewise.
7464 * soft-fp/fixdfti.c: Likewise.
7465 * soft-fp/fixsfdi.c: Likewise.
7466 * soft-fp/fixsfsi.c: Likewise.
7467 * soft-fp/fixsfti.c: Likewise.
7468 * soft-fp/fixtfdi.c: Likewise.
7469 * soft-fp/fixtfsi.c: Likewise.
7470 * soft-fp/fixtfti.c: Likewise.
7471 * soft-fp/fixunsdfdi.c: Likewise.
7472 * soft-fp/fixunsdfsi.c: Likewise.
7473 * soft-fp/fixunsdfti.c: Likewise.
7474 * soft-fp/fixunssfdi.c: Likewise.
7475 * soft-fp/fixunssfsi.c: Likewise.
7476 * soft-fp/fixunssfti.c: Likewise.
7477 * soft-fp/fixunstfdi.c: Likewise.
7478 * soft-fp/fixunstfsi.c: Likewise.
7479 * soft-fp/fixunstfti.c: Likewise.
7480 * soft-fp/floatdidf.c: Likewise.
7481 * soft-fp/floatdisf.c: Likewise.
7482 * soft-fp/floatditf.c: Likewise.
7483 * soft-fp/floatsidf.c: Likewise.
7484 * soft-fp/floatsisf.c: Likewise.
7485 * soft-fp/floatsitf.c: Likewise.
7486 * soft-fp/floattidf.c: Likewise.
7487 * soft-fp/floattisf.c: Likewise.
7488 * soft-fp/floattitf.c: Likewise.
7489 * soft-fp/floatundidf.c: Likewise.
7490 * soft-fp/floatundisf.c: Likewise.
7491 * soft-fp/floatunditf.c: Likewise.
7492 * soft-fp/floatunsidf.c: Likewise.
7493 * soft-fp/floatunsisf.c: Likewise.
7494 * soft-fp/floatunsitf.c: Likewise.
7495 * soft-fp/floatuntidf.c: Likewise.
7496 * soft-fp/floatuntisf.c: Likewise.
7497 * soft-fp/floatuntitf.c: Likewise.
7498 * soft-fp/fmadf4.c: Likewise.
7499 * soft-fp/fmasf4.c: Likewise.
7500 * soft-fp/fmatf4.c: Likewise.
7501 * soft-fp/gedf2.c: Likewise.
7502 * soft-fp/gesf2.c: Likewise.
7503 * soft-fp/getf2.c: Likewise.
7504 * soft-fp/ledf2.c: Likewise.
7505 * soft-fp/lesf2.c: Likewise.
7506 * soft-fp/letf2.c: Likewise.
7507 * soft-fp/muldf3.c: Likewise.
7508 * soft-fp/mulsf3.c: Likewise.
7509 * soft-fp/multf3.c: Likewise.
7510 * soft-fp/negdf2.c: Likewise.
7511 * soft-fp/negsf2.c: Likewise.
7512 * soft-fp/negtf2.c: Likewise.
7513 * soft-fp/op-1.h: Likewise.
7514 * soft-fp/op-2.h: Likewise.
7515 * soft-fp/op-4.h: Likewise.
7516 * soft-fp/op-8.h: Likewise.
7517 * soft-fp/op-common.h: Likewise.
7518 * soft-fp/quad.h: Likewise.
7519 * soft-fp/single.h: Likewise.
7520 * soft-fp/soft-fp.h: Likewise.
7521 * soft-fp/sqrtdf2.c: Likewise.
7522 * soft-fp/sqrtsf2.c: Likewise.
7523 * soft-fp/sqrttf2.c: Likewise.
7524 * soft-fp/subdf3.c: Likewise.
7525 * soft-fp/subsf3.c: Likewise.
7526 * soft-fp/subtf3.c: Likewise.
7527 * soft-fp/truncdfsf2.c: Likewise.
7528 * soft-fp/trunctfdf2.c: Likewise.
7529 * soft-fp/trunctfsf2.c: Likewise.
7530 * soft-fp/trunctfxf2.c: Likewise.
7531 * soft-fp/unorddf2.c: Likewise.
7532 * soft-fp/unordsf2.c: Likewise.
7533 * soft-fp/unordtf2.c: Likewise.
7535 2013-10-15 Joseph Myers <joseph@codesourcery.com>
7537 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7538 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7540 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
7542 * elf/dl-libc.c: Clear initfini list after freeing.
7544 2013-10-14 Joseph Myers <joseph@codesourcery.com>
7546 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7547 * soft-fp/addsf3.c: Likewise.
7548 * soft-fp/addtf3.c: Likewise.
7549 * soft-fp/divdf3.c: Likewise.
7550 * soft-fp/divsf3.c: Likewise.
7551 * soft-fp/divtf3.c: Likewise.
7552 * soft-fp/double.h: Likewise.
7553 * soft-fp/eqdf2.c: Likewise.
7554 * soft-fp/eqsf2.c: Likewise.
7555 * soft-fp/eqtf2.c: Likewise.
7556 * soft-fp/extenddftf2.c: Likewise.
7557 * soft-fp/extended.h: Likewise.
7558 * soft-fp/extendsfdf2.c: Likewise.
7559 * soft-fp/extendsftf2.c: Likewise.
7560 * soft-fp/extendxftf2.c: Likewise.
7561 * soft-fp/fixdfdi.c: Likewise.
7562 * soft-fp/fixdfsi.c: Likewise.
7563 * soft-fp/fixdfti.c: Likewise.
7564 * soft-fp/fixsfdi.c: Likewise.
7565 * soft-fp/fixsfsi.c: Likewise.
7566 * soft-fp/fixsfti.c: Likewise.
7567 * soft-fp/fixtfdi.c: Likewise.
7568 * soft-fp/fixtfsi.c: Likewise.
7569 * soft-fp/fixtfti.c: Likewise.
7570 * soft-fp/fixunsdfdi.c: Likewise.
7571 * soft-fp/fixunsdfsi.c: Likewise.
7572 * soft-fp/fixunsdfti.c: Likewise.
7573 * soft-fp/fixunssfdi.c: Likewise.
7574 * soft-fp/fixunssfsi.c: Likewise.
7575 * soft-fp/fixunssfti.c: Likewise.
7576 * soft-fp/fixunstfdi.c: Likewise.
7577 * soft-fp/fixunstfsi.c: Likewise.
7578 * soft-fp/fixunstfti.c: Likewise.
7579 * soft-fp/floatdidf.c: Likewise.
7580 * soft-fp/floatdisf.c: Likewise.
7581 * soft-fp/floatditf.c: Likewise.
7582 * soft-fp/floatsidf.c: Likewise.
7583 * soft-fp/floatsisf.c: Likewise.
7584 * soft-fp/floatsitf.c: Likewise.
7585 * soft-fp/floattidf.c: Likewise.
7586 * soft-fp/floattisf.c: Likewise.
7587 * soft-fp/floattitf.c: Likewise.
7588 * soft-fp/floatundidf.c: Likewise.
7589 * soft-fp/floatundisf.c: Likewise.
7590 * soft-fp/floatunsidf.c: Likewise.
7591 * soft-fp/floatunsisf.c: Likewise.
7592 * soft-fp/floatuntidf.c: Likewise.
7593 * soft-fp/floatuntisf.c: Likewise.
7594 * soft-fp/floatuntitf.c: Likewise.
7595 * soft-fp/fmadf4.c: Likewise.
7596 * soft-fp/fmasf4.c: Likewise.
7597 * soft-fp/fmatf4.c: Likewise.
7598 * soft-fp/gedf2.c: Likewise.
7599 * soft-fp/gesf2.c: Likewise.
7600 * soft-fp/getf2.c: Likewise.
7601 * soft-fp/ledf2.c: Likewise.
7602 * soft-fp/lesf2.c: Likewise.
7603 * soft-fp/letf2.c: Likewise.
7604 * soft-fp/muldf3.c: Likewise.
7605 * soft-fp/mulsf3.c: Likewise.
7606 * soft-fp/multf3.c: Likewise.
7607 * soft-fp/negdf2.c: Likewise.
7608 * soft-fp/negsf2.c: Likewise.
7609 * soft-fp/negtf2.c: Likewise.
7610 * soft-fp/op-1.h: Likewise.
7611 * soft-fp/op-2.h: Likewise.
7612 * soft-fp/op-4.h: Likewise.
7613 * soft-fp/op-8.h: Likewise.
7614 * soft-fp/op-common.h: Likewise.
7615 * soft-fp/quad.h: Likewise.
7616 * soft-fp/single.h: Likewise.
7617 * soft-fp/soft-fp.h: Likewise.
7618 * soft-fp/sqrtdf2.c: Likewise.
7619 * soft-fp/sqrtsf2.c: Likewise.
7620 * soft-fp/sqrttf2.c: Likewise.
7621 * soft-fp/subdf3.c: Likewise.
7622 * soft-fp/subsf3.c: Likewise.
7623 * soft-fp/subtf3.c: Likewise.
7624 * soft-fp/truncdfsf2.c: Likewise.
7625 * soft-fp/trunctfdf2.c: Likewise.
7626 * soft-fp/trunctfsf2.c: Likewise.
7627 * soft-fp/trunctfxf2.c: Likewise.
7628 * soft-fp/unorddf2.c: Likewise.
7629 * soft-fp/unordsf2.c: Likewise.
7630 * soft-fp/unordtf2.c: Likewise.
7632 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
7635 * misc/error.c (error_tail): Fix possible buffer overflow.
7637 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7640 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7643 2013-10-14 P. J. McDermott <pj@pehjota.net>
7646 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7647 testing pipefail option.
7649 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7651 * soft-fp/double.h: Indent preprocessor directives inside #if.
7652 * soft-fp/extended.h: Likewise.
7653 * soft-fp/op-2.h: Likewise.
7654 * soft-fp/op-4.h: Likewise.
7655 * soft-fp/op-common.h: Likewise.
7656 * soft-fp/quad.h: Likewise.
7657 * soft-fp/single.h: Likewise.
7658 * soft-fp/soft-fp.h: Likewise.
7660 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7662 * iconv/iconv_prog.c: Fix typos.
7663 * stdio-common/psiginfo-data.h: Likewise.
7665 2013-10-12 Reuben Thomas <rrt@sc3d.org>
7668 * locale/setlocale.c: Fix typo.
7670 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7673 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7674 signaling NaN arguments.
7675 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7676 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7679 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7681 * soft-fp/gesf2.c (__gesf2): Likewise.
7682 * soft-fp/getf2.c (__getf2): Likewise.
7683 * soft-fp/ledf2.c (__ledf2): Likewise.
7684 * soft-fp/lesf2.c (__lesf2): Likewise.
7685 * soft-fp/letf2.c (__letf2): Likewise.
7687 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7688 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7689 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7690 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7691 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7692 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7693 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7694 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7695 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7696 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7697 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7698 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7699 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7700 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7701 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7702 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7703 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7704 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7705 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7706 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7707 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7708 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7709 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7710 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7711 * soft-fp/floattidf.c (__floattidf): Likewise.
7712 * soft-fp/floattisf.c (__floattisf): Likewise.
7713 * soft-fp/floattitf.c (__floattitf): Likewise.
7714 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7715 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7716 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7717 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7718 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7719 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7720 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7721 * soft-fp/gesf2.c (__gesf2): Likewise.
7722 * soft-fp/getf2.c (__getf2): Likewise.
7723 * soft-fp/ledf2.c (__ledf2): Likewise.
7724 * soft-fp/lesf2.c (__lesf2): Likewise.
7725 * soft-fp/letf2.c (__letf2): Likewise.
7727 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7728 Undefine and redefine.
7729 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7730 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7731 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7732 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7733 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7734 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7735 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7736 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7737 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7738 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7739 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7740 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7741 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7742 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7743 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7746 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7747 without decrementing exponent if mantissa >= that for the
7749 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7750 denominator, not >. Decrement exponent in < case instead of
7751 incrementing in >= case.
7752 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7753 without decrementing exponent if mantissa >= that for the
7756 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7757 computing saturated result for unsigned overflow.
7759 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7760 Jeff Law <law@redhat.com>
7762 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7763 (atan2Mp): Add systemtap probe marker.
7764 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7765 (__ieee754_log): Add systemtap probe marker.
7766 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7767 (atanMp): Add systemtap probe marker.
7768 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7769 (tanMp): Add systemtap probe marker.
7770 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7771 (__slowexp): Add systemtap probe marker.
7772 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7773 (__slowpow): Add systemtap probe marker.
7774 * manual/probes.texi: Document probes.
7776 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
7779 * libio/fileops.c (_IO_new_file_write): Return count of bytes
7781 (_IO_new_file_xsputn): Don't return EOF if nothing has been
7783 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7784 written to buffer but not flushed.
7785 * libio/iofwrite_u.c: Likewise.
7786 * libio/iopadn.c: Return bytes returned even if EOF was
7788 * libio/iowpadn.c: Likewise.
7789 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7790 if _IO_padn does not write the whole buffer.
7791 [!COMPILE_WPRINTF] (PAD): Likewise.
7793 2013-10-10 David S. Miller <davem@davemloft.net>
7795 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7798 2013-10-10 Joseph Myers <joseph@codesourcery.com>
7800 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
7801 instead of FSF address.
7802 * soft-fp/fixdfti.c: Likewise.
7803 * soft-fp/fixsfti.c: Likewise.
7804 * soft-fp/fixtfti.c: Likewise.
7805 * soft-fp/fixunsdfti.c: Likewise.
7806 * soft-fp/fixunssfti.c: Likewise.
7807 * soft-fp/fixunstfti.c: Likewise.
7808 * soft-fp/floattidf.c: Likewise.
7809 * soft-fp/floattisf.c: Likewise.
7810 * soft-fp/floattitf.c: Likewise.
7811 * soft-fp/floatuntidf.c: Likewise.
7812 * soft-fp/floatuntisf.c: Likewise.
7813 * soft-fp/floatuntitf.c: Likewise.
7814 * soft-fp/trunctfxf2.c: Likewise.
7816 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
7817 * soft-fp/fixdfti.c: Likewise.
7818 * soft-fp/fixsfti.c: Likewise.
7819 * soft-fp/fixtfti.c: Likewise.
7820 * soft-fp/fixunsdfti.c: Likewise.
7821 * soft-fp/fixunssfti.c: Likewise.
7822 * soft-fp/fixunstfti.c: Likewise.
7823 * soft-fp/floattidf.c: Likewise.
7824 * soft-fp/floattisf.c: Likewise.
7825 * soft-fp/floattitf.c: Likewise.
7826 * soft-fp/floatuntidf.c: Likewise.
7827 * soft-fp/floatuntisf.c: Likewise.
7828 * soft-fp/floatuntitf.c: Likewise.
7829 * soft-fp/trunctfxf2.c: Likewise.
7831 2013-10-10 David S. Miller <davem@davemloft.net>
7833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7835 2013-10-10 Joseph Myers <joseph@codsourcery.com>
7837 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7838 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7839 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7840 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7841 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7842 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7843 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7845 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7846 for NaNs before doing comparisons on argument.
7847 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7850 2013-10-10 Will Newton <will.newton@linaro.org>
7852 * malloc/hooks.c (memalign_check): Ensure the value of bytes
7853 passed to _int_memalign does not overflow.
7855 2013-10-10 Torvald Riegel <triegel@redhat.com>
7857 * scripts/bench.pl: Add include-sources directive.
7858 * benchtests/README: Update documentation.
7860 2013-10-10 Joseph Myers <joseph@codesourcery.com>
7862 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7863 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7864 instead of FP_INIT_ROUNDMODE.
7865 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7866 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7869 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
7870 copy class of input value.
7871 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
7872 not handle exceptions.
7873 * soft-fp/negsf2.c (__negsf2): Likewise.
7874 * soft-fp/negtf2.c (__negtf2): Likewise.
7875 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7877 2013-10-09 Joseph Myers <joseph@codesourcery.com>
7879 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7880 semicolon. From Linux kernel.
7882 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
7884 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7886 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
7889 * manual/socket.texi: Added statement about buffer
7890 for gethostbyname2_r.
7892 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
7894 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7895 Use .p2align directive instead, throughout.
7896 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7897 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7898 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7899 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7901 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7902 * sysdeps/x86_64/strchr.S: Likewise.
7903 * sysdeps/x86_64/strrchr.S: Likewise.
7905 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7907 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7909 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7911 * sysdeps/generic/math_private.h (__mpsin1): Remove
7913 (__mpcos1): Likewise.
7914 (__mpsin): New argument __range_reduce.
7915 (__mpcos): Likewise.
7916 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7917 (slow): Use __mpsin and __mpcos.
7924 (bsloww1): Likewise.
7925 (bsloww2): Likewise.
7928 (csloww1): Likewise.
7929 (csloww2): Likewise.
7930 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
7931 range_reduce. Merge in __mpsin1.
7932 (__mpcos): Likewise.
7934 (__mpcos1): Likewise.
7936 2013-10-07 Joseph Myers <joseph@codesourcery.com>
7938 * locale/loadlocale.c (_nl_intern_locale_data): Use
7940 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
7941 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
7942 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
7943 obstack data is appropriately aligned.
7944 (obstack_int32_grow_fast): Likewise.
7945 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
7946 * locale/programs/locfile.c (add_locale_uint32): Likewise.
7947 (add_locale_uint32_array): Likewise.
7949 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7951 * benchtests/Makefile: Remove ARGLIST and RET variables.
7952 ($(objpfx)bench-%.c): Pass only function name to the script.
7953 * benchtests/README: Update documentation.
7954 * benchtests/acos-inputs: Add new directives.
7955 * benchtests/acosh-inputs: Likewise.
7956 * benchtests/asin-inputs: Likewise.
7957 * benchtests/asinh-inputs: Likewise.
7958 * benchtests/atan-inputs: Likewise.
7959 * benchtests/atanh-inputs: Likewise.
7960 * benchtests/cos-inputs: Likewise.
7961 * benchtests/cosh-inputs: Likewise.
7962 * benchtests/exp-inputs: Likewise.
7963 * benchtests/log-inputs: Likewise.
7964 * benchtests/pow-inputs: Likewise.
7965 * benchtests/rint-inputs: Likewise.
7966 * benchtests/sin-inputs: Likewise.
7967 * benchtests/sinh-inputs: Likewise.
7968 * benchtests/tan-inputs: Likewise.
7969 * benchtests/tanh-inputs: Likewise.
7970 * scripts/bench.pl: Add support for new directives.
7972 2013-10-07 Alan Modra <amodra@gmail.com>
7974 * README: Fix careless merge.
7976 2013-10-05 Alan Modra <amodra@gmail.com>
7978 * NEWS: Mention powerpc64le support and bugs fixed.
7979 * README: Both big-endian and little-endian powerpc64 supported.
7981 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7983 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
7984 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7985 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
7986 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
7988 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
7990 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
7993 2013-10-04 Joseph Myers <joseph@codesourcery.com>
7995 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
7996 Move -mhard-float appending from
7997 ports/sysdeps/powerpc/powerpc32/Makefile.
7998 [$(with-fp) = yes] (ASFLAGS): Likewise.
7999 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8000 * sysdeps/powerpc/nofpu: Move directory from
8001 ports/sysdeps/powerpc/nofpu.
8002 * sysdeps/powerpc/soft-fp: Move directory from
8003 ports/sysdeps/powerpc/soft-fp.
8004 * sysdeps/powerpc/powerpc32/405: Move directory from
8005 ports/sysdeps/powerpc/powerpc32/405.
8006 * sysdeps/powerpc/powerpc32/440: Move directory from
8007 ports/sysdeps/powerpc/powerpc32/440.
8008 * sysdeps/powerpc/powerpc32/464: Move directory from
8009 ports/sysdeps/powerpc/powerpc32/464.
8010 * sysdeps/powerpc/powerpc32/476: Move directory from
8011 ports/sysdeps/powerpc/powerpc32/476.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8013 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8015 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8017 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8019 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8021 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8022 * README: Update for powerpc-*-linux-gnu software floating point
8025 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8026 case to powerpc/powerpc32*.
8027 * sysdeps/unix/sysv/linux/configure: Regenerated.
8029 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8030 (_FPU_MASK_OM): Define as 0x04.
8031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8039 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8042 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8045 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8046 and setcontext_e500.
8048 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8050 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8052 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8054 * manual/threads.texi (Default Thread Attributes): Fix typo.
8056 2013-10-04 Will Newton <will.newton@linaro.org>
8058 * malloc/Makefile: Add tst-memalign.
8059 * malloc/tst-memalign.c: New file.
8061 * malloc/tst-posix_memalign.c: Add comments.
8062 (do_test): Add comments and call free on all potentially
8063 allocated pointers. Add space after cast.
8065 * malloc/tst-pvalloc.c: Add comments.
8066 (do_test): Add comments and call free on all potentially
8067 allocated pointers. Remove duplicate check for NULL pointer.
8068 Add space after cast.
8070 * malloc/tst-valloc.c: Add comments.
8071 (do_test): Add comments and call free on all potentially
8072 allocated pointers. Remove duplicate check for NULL pointer.
8073 Add space after cast.
8075 2013-10-04 Alan Modra <amodra@gmail.com>
8077 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8078 Use stdint types in rather than __attribute__((mode())).
8079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8081 2013-10-04 Alan Modra <amodra@gmail.com>
8083 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8084 Correct handling of unaligned relocs for little-endian.
8085 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8087 2013-10-04 Alan Modra <amodra@gmail.com>
8089 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8090 * configure: Regenerate.
8091 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8092 * shlib-versions: Likewise.
8094 2013-10-04 Alan Modra <amodra@gmail.com>
8096 * string/tester.c (test_memrchr): Increment reported test cycle.
8098 2013-10-04 Alan Modra <amodra@gmail.com>
8100 * string/test-memcpy.c (do_one_test): When reporting errors, print
8101 string address and don't overrun end of string.
8103 2013-10-04 Alan Modra <amodra@gmail.com>
8105 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8106 insrdi. Make better use of reg selection to speed exit slightly.
8107 Schedule entry path a little better. Remove useless "are we done"
8108 checks on entry to main loop. Handle wrapping around zero address.
8109 Correct main loop count. Handle single left-over word from main
8110 loop inline rather than by using loop_small. Remove extra word
8111 case in loop_small caused by wrong loop count. Add little-endian
8113 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8114 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8116 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8117 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8118 support. Avoid rlwimi.
8119 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8121 2013-10-04 Alan Modra <amodra@gmail.com>
8123 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8125 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8126 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8127 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8128 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8129 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8130 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8132 2013-10-04 Alan Modra <amodra@gmail.com>
8134 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8135 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8136 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8137 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8138 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8139 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8140 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8141 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8142 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8143 use of regs. Use power7 mtocrf. Tidy function tails.
8145 2013-10-04 Alan Modra <amodra@gmail.com>
8147 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8148 Formatting. Consistently use rXXX register defines or rN defines.
8149 Use early exit labels that avoid restoring unused non-volatile regs.
8150 Make cr field use more consistent with rWORDn compares. Rename
8151 regs used as shift registers for unaligned loop, using rN defines
8152 for short lifetime/multiple use regs.
8153 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8154 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8155 addi 1,1,64 to pop stack frame. Simplify return value code.
8156 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8158 2013-10-04 Alan Modra <amodra@gmail.com>
8160 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8161 support. Correct typos, formatting. Optimize tail. Use insrdi
8163 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8164 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8165 little-endian support. Correct typos.
8166 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8168 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8169 in loop and entry code to keep "and." results.
8170 (strchr): Add little-endian support. Comment. Move cntlzd
8172 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8174 2013-10-04 Alan Modra <amodra@gmail.com>
8176 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8177 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8178 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8179 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8181 2013-10-04 Alan Modra <amodra@gmail.com>
8183 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8184 (rTMP): Define as r11.
8185 (strcmp): Add little-endian support. Optimise tail.
8186 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8187 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8188 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8189 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8190 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8194 2013-10-04 Alan Modra <amodra@gmail.com>
8196 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8197 little-endian support. Remove unnecessary "are we done" tests.
8198 Handle "s" wrapping around zero and extremely large "size".
8199 Correct main loop count. Handle single left-over word from main
8200 loop inline rather than by using small_loop. Correct comments.
8201 Delete "zero" tail, use "end_max" instead.
8202 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8204 2013-10-04 Alan Modra <amodra@gmail.com>
8206 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8207 support. Don't branch over align.
8208 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8209 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8210 support. Rearrange tmp reg use to suit. Comment.
8211 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8213 2013-10-04 Alan Modra <amodra@gmail.com>
8215 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8217 2013-10-04 Alan Modra <amodra@gmail.com>
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8220 conditional form of branch and link when obtaining pc.
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8223 2013-10-04 Alan Modra <amodra@gmail.com>
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8230 2013-10-04 Alan Modra <amodra@gmail.com>
8232 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8233 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8234 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8235 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8236 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8237 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8238 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8239 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8240 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8241 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8243 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8244 Alistair Popple <alistair@ozlabs.au.ibm.com>
8245 Alan Modra <amodra@gmail.com>
8248 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8249 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8250 _dl_hwcap access for little-endian.
8251 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8252 destroy vmx regs when saving unaligned.
8253 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8254 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8255 destroy vmx regs when saving unaligned.
8257 2013-10-04 Alan Modra <amodra@gmail.com>
8259 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8260 Don't use a union to pack hi/low value.
8262 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8264 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8266 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8267 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8268 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8269 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8270 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8272 2013-10-04 Alan Modra <amodra@gmail.com>
8274 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8275 constants to usual value for .cst8 section, and remove redundant
8277 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8278 constant for 0x1p52. Load little-endian words of double from
8279 correct stack offsets.
8281 2013-10-04 Alan Modra <amodra@gmail.com>
8283 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8284 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8285 words of double from correct stack offsets.
8286 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8287 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8288 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8289 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8290 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8291 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8293 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8294 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8295 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8296 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8298 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8299 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8300 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8301 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8302 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8304 2013-10-04 Alan Modra <amodra@gmail.com>
8306 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8307 64-bit int/double union.
8308 (_FPU_SETCW): Likewise.
8309 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8310 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8312 2013-10-04 Alan Modra <amodra@gmail.com>
8314 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8315 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8317 2013-10-04 Alan Modra <amodra@gmail.com>
8319 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8320 use vector int constants.
8321 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8323 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8325 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8326 array with long long.
8327 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8328 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8329 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8330 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8331 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8332 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8333 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8334 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8335 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8336 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8337 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8338 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8339 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8341 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8343 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8344 (__signbit): Likewise. Correct for little-endian.
8345 (__signbitl): Call __signbit.
8346 (lrint): Correct for little-endian.
8347 (lrintf): Call lrint.
8349 2013-10-04 Alan Modra <amodra@gmail.com>
8351 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8352 union 32-bit int array member with 64-bit int array.
8353 (t515, tm256): Double rather than long double.
8354 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8356 2013-10-04 Alan Modra <amodra@gmail.com>
8358 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8360 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8361 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8362 version of math_ldbl.h.
8364 2013-10-04 Alan Modra <amodra@gmail.com>
8366 [BZ #15734], [BZ #15735]
8367 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8368 all uses of ieee875 long double macros and unions. Simplify test
8369 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8370 ldbl_extract_mantissa value for ix,iy exponents. Properly
8371 normalize after ldbl_extract_mantissa, and don't add hidden bit
8372 already handled. Don't treat low word of ieee854 mantissa like
8373 low word of IBM long double and mask off bit when testing for
8375 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8376 all uses of ieee875 long double macros and unions. Simplify tests
8377 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8378 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8379 two1022, instead use their values. Recognise that tests for large
8380 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8381 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8382 Rewrite all uses of ieee875 long double macros and unions. Simplify
8383 test for 0.0L and nan. Correct negation.
8384 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8385 ieee875 long double macros and unions. Correct output for large
8386 magnitude x. Correct absolute value calculation.
8387 (__erfcl): Likewise.
8388 * math/libm-test.inc: Add tests for errors discovered in IBM long
8389 double versions of fmodl, remainderl, erfl and erfcl.
8391 2013-10-04 Alan Modra <amodra@gmail.com>
8393 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8394 all uses of ieee854 long double macros and unions. Simplify tests
8395 for long doubles that are fully specified by the high double.
8396 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8398 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8399 Remove dead code too.
8400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8401 (__ieee754_ynl): Likewise.
8402 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8403 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8404 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8405 Remove dead code too.
8406 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8409 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8413 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8414 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8415 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8416 Comment on variable precision.
8417 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8418 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8420 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8421 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8422 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8423 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8424 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8426 2013-10-04 Alan Modra <amodra@gmail.com>
8428 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8430 all uses of ieee854 long double macros and unions.
8431 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8432 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8435 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8436 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8438 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8439 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8440 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8442 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8443 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8444 Simplify sign and nan test too.
8445 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8446 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8447 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8450 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8453 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8454 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8455 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8457 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8460 2013-10-04 Alan Modra <amodra@gmail.com>
8462 * stdio-common/printf_size.c (__printf_size): Don't use
8463 union ieee854_long_double in fpnum union.
8464 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8465 signbit macro to retrieve sign from long double.
8466 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8467 retrieve sign from long double.
8468 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8469 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8470 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8471 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8472 * math/test-misc.c (main): Don't use union ieee854_long_double.
8474 2013-10-04 Alan Modra <amodra@gmail.com>
8477 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8478 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8479 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8480 calculation. Remove unnecessary test for denormal exponent.
8481 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8482 Correct handling of denormals. Avoid undefined shift behaviour.
8483 Correct normalisation of low mantissa when low double is denormal.
8484 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8485 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8486 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8487 Correct normalisation of low mantissa. Test for overflow of high
8488 mantissa and normalise.
8489 (ldbl_nearbyint): Use more readable constant for two52.
8490 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8491 (__mpn_construct_long_double): Fix test for overflow of high
8492 mantissa and correct normalisation. Avoid undefined shift.
8494 2013-10-04 Alan Modra <amodra@gmail.com>
8496 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8497 (union ibm_extended_long_double): Define as an array of ieee754_double.
8498 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8499 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8500 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8501 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8504 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8505 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8507 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8508 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8510 2013-10-03 Joseph Myers <joseph@codesourcery.com>
8512 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8513 page size instead of calling getpagesize.
8515 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8516 (LOCFILE_ALIGN_MASK): Likewise.
8517 (LOCFILE_ALIGN_UP): Likewise.
8518 (LOCFILE_ALIGNED_P): Likewise.
8519 * locale/programs/ld-collate.c (collate_output): Use the new
8520 macros instead of __alignof__ (int32_t).
8521 * locale/weight.h (findidx): Likewise.
8523 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
8526 * manual/string.texi: Fix strncat and wcsncat.
8528 2013-10-03 Brooks Moses <bmoses@google.com>
8531 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8532 * Makerules: ...here, and adjust associated comments.
8534 2013-10-02 Will Newton <will.newton@linaro.org>
8536 * malloc/Makefile: Add tst-pvalloc.
8537 * malloc/tst-pvalloc.c: New file.
8539 2013-10-02 Will Newton <will.newton@linaro.org>
8541 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8542 improve test coverage.
8544 2013-10-02 Will Newton <will.newton@linaro.org>
8546 * malloc/Makefile: Add tst-posix_memalign.
8547 * malloc/tst-posix_memalign.c: New file.
8549 2013-10-01 Eric Blake <eblake@redhat.com>
8551 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8552 Use __THROWNL rather than __THROW on static functions.
8554 2013-09-30 Petr Machata <pmachata@redhat.com>
8556 * elf/elf.h (R_AARCH64_ABS16): New macro.
8557 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8558 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8559 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8560 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8561 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8562 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8563 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8564 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8565 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8566 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8567 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8568 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8569 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8570 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8571 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8572 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8573 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8574 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8575 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8576 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8577 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8578 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8579 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8580 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8581 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8582 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8583 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8584 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8585 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8586 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8587 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8588 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8589 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8590 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8591 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8592 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8593 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8594 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8595 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8596 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8597 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8598 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8599 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8600 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8601 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8602 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8603 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8604 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8605 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8606 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8607 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8608 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8609 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8610 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8611 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8612 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8613 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8614 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8615 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8616 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8617 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8618 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8619 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8620 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8621 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8622 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8623 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8624 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8625 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8626 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8627 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8628 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8629 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8630 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8631 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8632 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8633 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8634 (R_AARCH64_TLSDESC_LDR): Likewise.
8635 (R_AARCH64_TLSDESC_ADD): Likewise.
8636 (R_AARCH64_TLSDESC_CALL): Likewise.
8638 2013-09-30 Andreas Schwab <schwab@suse.de>
8641 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8642 the nss database lookup.
8643 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8646 2013-09-28 Mike Frysinger <vapier@gentoo.org>
8648 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8650 2013-09-28 P. J. McDermott <pj@pehjota.net>
8652 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8653 ${Bash-specific parameter/pattern/string} parameter expansion.
8654 * sysdeps/unix/make-syscalls.sh: Likewise.
8656 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8658 * sysdeps/sh/stackguard-macros.h: New file.
8660 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
8662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8664 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8665 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8666 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8667 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8669 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8671 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8672 Fix thread ID register.
8674 2013-09-25 Joseph Myers <joseph@codesourcery.com>
8676 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8677 [POSIX || UNIX98]: Require rather than permitting all symbols from
8679 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8680 element of struct sched_param.
8681 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8682 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8683 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8684 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8687 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8689 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8690 argument calculation.
8692 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8694 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8696 [POSIX] (pthread_attr_t): Do not require type.
8697 [POSIX] (pthread_cond_t): Likewise.
8698 [POSIX] (pthread_condattr_t): Likewise.
8699 [POSIX] (pthread_key_t): Likewise.
8700 [POSIX] (pthread_mutex_t): Likewise.
8701 [POSIX] (pthread_mutexattr_t): Likewise.
8702 [POSIX] (pthread_once_t): Likewise.
8703 [POSIX] (pthread_t): Likewise.
8704 [POSIX-based standards] (pthread_atfork): Expect function.
8706 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8707 Richard Sandiford <richard@codesourcery.com>
8709 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8710 (swap_endianness_p): New extern variable.
8711 (set_big_endian): New inline function.
8712 (maybe_swap_uint32): Likewise.
8713 (maybe_swap_uint32_array): Likewise.
8714 (maybe_swap_uint32_obstack): Likewise.
8715 * locale/programs/locfile.c: Include <stdbool.h>.
8716 (swap_endianness_p): New variable.
8717 (add_locale_uint32): Call maybe_swap_uint32.
8718 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8719 (write_locale_data): Call maybe_swap_uint32_array.
8720 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8722 (obstack_int32_grow_fast): Likewise.
8723 (output_weightwc): Call maybe_swap_uint32_obstack.
8724 (collate_output): Likewise.
8725 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8726 (OPT_LITTLE_ENDIAN): Likewise.
8727 (options): Add --little-endian and --big-endian options.
8728 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8729 * locale/programs/locarchive.c: Include "locfile.h".
8733 (create_archive): Use the new macros to access fields of
8734 structures directly mapped from or written to locale archives.
8735 (oldlocrecentcmp): Likewise.
8736 (enlarge_archive): Likewise.
8737 (insert_name): Likewise.
8738 (add_alias): Likewise.
8739 (add_locale): Likewise.
8740 (delete_locales_from_archive): Likewise.
8741 (show_archive_content): Likewise.
8742 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
8745 2013-09-24 Roland McGrath <roland@hack.frob.com>
8747 * manual/freemanuals.texi: Updated from (newly) canonical copy at
8748 http://www.gnu.org/doc/freemanuals.texi.
8749 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8751 2013-09-24 Will Newton <will.newton@linaro.org>
8753 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8756 2013-09-23 Joseph Myers <joseph@codesourcery.com>
8758 * locale/hashval.h (compute_hashval): Interpret bytes of key as
8761 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
8763 * manual/threads.texi (POSIX Threads): Fix a typo.
8765 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8768 * string/tst-strcoll-overflow.c: New test case.
8769 * string/Makefile (xtests): Add tst-strcoll-overflow.
8770 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8771 cache if string sizes may cause integer overflow.
8774 * string/strcoll_l.c (coll_seq): New members rule, idx,
8775 save_idx and back_us.
8776 (get_next_seq_nocache): New function.
8777 (do_compare_nocache): New function.
8778 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8781 2013-09-23 Carlos O'Donell <carlos@redhat.com>
8784 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8785 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8786 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8789 * elf/Makefile (tests): Add tst-ptrguard1.
8790 (tests-static): Add tst-ptrguard1-static.
8791 (tst-ptrguard1-ARGS): Define.
8792 (tst-ptrguard1-static-ARGS): Define.
8793 * elf/tst-ptrguard1.c: New file.
8794 * elf/tst-ptrguard1-static.c: New file.
8795 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8796 * sysdeps/i386/stackguard-macros.h: Likewise.
8797 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8798 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8799 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8800 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8801 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8802 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8804 2013-09-23 Hector Marco <hecmargi@upv.es>
8805 Ismael Ripoll <iripoll@disca.upv.es>
8806 Carlos O'Donell <carlos@redhat.com>
8809 * sysdeps/generic/stackguard-macros.h: Define
8810 __pointer_chk_guard_local and POINTER_CHK_GUARD.
8811 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8812 Define __pointer_chk_guard_local.
8813 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8814 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8816 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
8819 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8821 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
8823 * include/string.h (__ffs): Declare as hidden.
8824 * string/ffs.c (__ffs): Define as hidden.
8825 * sysdeps/i386/ffs.c (__ffs): Likewise.
8826 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8827 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8828 * sysdeps/s390/ffs.c (__ffs): Likewise.
8829 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8831 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
8833 * NEWS: Mention malloc probes.
8835 * malloc/arena.c (new_heap): New memory_heap_new probe.
8836 (grow_heap): New memory_heap_more probe.
8837 (shrink_heap): New memory_heap_less probe.
8838 (heap_trim): New memory_heap_free probe.
8839 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8840 (systrim): New memory_sbrk_less probe.
8841 * manual/probes.texi: Document them.
8843 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8844 * manual/probes.texi: Document it.
8846 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8847 (__libc_realloc): Add memory_realloc_retry probe.
8848 (__libc_memalign): Add memory_memalign_retry probe.
8849 (__libc_valloc): Add memory_valloc_retry probe.
8850 (__libc_pvalloc): Add memory_pvalloc_retry probe.
8851 (__libc_calloc): Add memory_calloc_retry probe.
8852 * manual/probes.texi: Document them.
8854 * malloc/arena.c (get_free_list): Add probe
8855 memory_arena_reuse_free_list.
8856 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8857 and memory_arena_reuse.
8858 (arena_get2) [!PER_THREAD]: Likewise.
8859 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8860 memory_arena_reuse_realloc.
8861 * manual/probes.texi: Document them.
8863 * malloc/malloc.c (__libc_free): Add
8864 memory_mallopt_free_dyn_thresholds probe.
8865 (__libc_mallopt): Add multiple memory_mallopt probes.
8866 * manual/probes.texi: Document them.
8868 * malloc/malloc.c: Include stap-probe.h.
8869 (__libc_mallopt): Add memory_mallopt probe.
8870 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8871 * manual/probes.texi: New.
8872 * manual/Makefile (chapters): Add probes.
8873 * manual/threads.texi: Set next node.
8875 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
8878 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8879 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8880 Add `Chinese' to `nan' entry name.
8882 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8884 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8885 (POLYNOMIAL): Likewise.
8886 (TAYLOR_SINCOS): Likewise.
8887 (TAYLOR_SLOW): Likewise.
8888 (__sin): Use TAYLOR_SINCOS.
8890 (slow): Use TAYLOR_SLOW.
8895 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8897 * stdlib/strtod_l.c: Fix buffer overrun.
8899 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8901 * benchtests/Makefile (bench): Add sincos.
8902 * benchtests/bench-sincos.c: New file.
8904 * math/libm-test.inc (cos_test_data): New test inputs.
8905 (sin_test_data): Likewise.
8907 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8915 (bsloww1): Likewise.
8916 (bsloww2): Likewise.
8918 (csloww1): Likewise.
8919 (csloww2): Likewise.
8921 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8926 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
8930 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
8932 * config.h.in (HAVE_MIPS_NAN2008): New macro.
8933 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
8934 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
8935 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
8936 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
8937 * elf/cache.c (print_entry): Handle the new cache flags.
8939 2013-09-18 Joseph Myers <joseph@codesourcery.com>
8940 Aldy Hernandez <aldyh@redhat.com>
8942 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
8943 Change condition to [_SOFT_FLOAT].
8944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
8945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
8946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
8947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
8948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
8949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
8950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
8951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
8952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
8953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
8954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
8955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
8956 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
8957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
8958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
8959 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
8962 2013-09-18 Joseph Myers <joseph@codesourcery.com>
8964 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
8965 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8966 (__longjmp): Use LOAD_GP to load saved GPRs.
8967 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
8968 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8969 (__sigsetjmp): Use SAVE_GP to save GPRs.
8971 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
8972 Do not append -msoft-float.
8973 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
8975 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8977 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
8979 2013-09-17 Joseph Myers <joseph@codesourcery.com>
8982 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
8983 (_FPU_GETCW): Use initial "__" on variable and field names but not
8984 on macro parameter name.
8985 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
8986 parentheses around reference to macro parameter.
8988 2013-09-13 Richard Sandiford <richard@codesourcery.com>
8990 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
8992 (ctype_startup): Use uint32_t in cast and sizeof for
8995 2013-09-11 Jia Liu <proljc@gmail.com>
8997 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
8999 [__FreeBSD__]: Likewise.
9001 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9004 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9005 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9006 (strchr): Remove __strchr_sse42 ifunc selection.
9007 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9008 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9010 2013-09-11 Will Newton <will.newton@linaro.org>
9012 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9013 parameter to RES. Remove hardcoded 1000 value.
9014 * benchtests/bench-skeleton.c (main): Pass RES parameter
9015 to TIMING_INIT and multiply result by 1000.
9017 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9021 2013-09-11 Andreas Schwab <schwab@suse.de>
9023 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9025 (O_TMPFILE) [__USE_GNU]: Define.
9026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9029 2013-09-11 Will Newton <will.newton@linaro.org>
9032 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9035 2013-09-11 Will Newton <will.newton@linaro.org>
9038 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9041 2013-09-11 Will Newton <will.newton@linaro.org>
9044 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9047 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9049 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9050 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9055 2013-09-10 Allan McRae <allan@archlinux.org>
9058 * manual/arith.texi (Parsing of Floats): Clarify
9062 * manual/install.texi (Running make install): Mention
9064 * INSTALL: Regenerated.
9066 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9068 * csu/init-first.c (_init): Remove the !SHARED condition around
9069 FPU control word initialization.
9070 * elf/dl-support.c (_dl_fpu_control): New variable.
9071 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9072 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9073 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9074 * math/test-fpucw-static.c: New file.
9075 * math/test-fpucw-ieee.c: New file.
9076 * math/test-fpucw-ieee-static.c: New file.
9077 * math/Makefile (tests): Add `test-fpucw-ieee' and
9079 (tests-static): New variable.
9080 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9082 [($(build-shared),yes)]
9083 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9085 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9088 2013-09-09 Allan McRae <allan@archlinux.org>
9091 * manual/string.texi (Collation Functions): Fix typo in
9093 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9096 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9099 * libio/memstream.c (open_memstream): Fix memory leak.
9100 * libio/wmemstream.c (open_wmemstream): Likewise.
9103 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9105 2013-09-09 Will Newton <will.newton@linaro.org>
9107 * malloc/Makefile: Add tst-realloc to tests.
9108 * malloc/tst-realloc.c: New file.
9110 2013-09-09 Allan McRae <allan@archlinux.org>
9113 * COPYING: Update from GNU website to fix FSF address.
9114 * COPYING.LIB: Likewise.
9116 2013-09-06 David S. Miller <davem@davemloft.net>
9118 * po/zh_TW.po: Update Chinese (traditional) translation from
9119 translation project.
9121 2013-09-06 Richard Sandiford <richard@codesourcery.com>
9122 Joseph Myers <joseph@codesourcery.com>
9124 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9126 (obstack_chunk_alloc): New macro.
9127 (obstack_chunk_free): Likewise.
9128 (record_offset): New function.
9129 (init_locale_data): Likewise.
9130 (align_locale_data): Likewise.
9131 (add_locale_empty): Likewise.
9132 (add_locale_raw_data): Likewise.
9133 (add_locale_raw_obstack): Likewise.
9134 (add_locale_string): Likewise.
9135 (add_locale_wstring): Likewise.
9136 (add_locale_uint32): Likewise.
9137 (add_locale_uint32_array): Likewise.
9138 (add_locale_char): Likewise.
9139 (start_locale_structure): Likewise.
9140 (end_locale_structure): Likewise.
9141 (start_locale_prelude): Likewise.
9142 (end_locale_prelude): Likewise.
9143 (write_locale_data): Take locale_file structure rather than an
9145 * locale/programs/locfile.h: Include "obstack.h".
9146 (struct locale_file): Change to store locale file contents instead
9148 (init_locale_data): New prototype.
9149 (align_locale_data): Likewise.
9150 (add_locale_empty): Likewise.
9151 (add_locale_raw_data): Likewise.
9152 (add_locale_raw_obstack): Likewise.
9153 (add_locale_string): Likewise.
9154 (add_locale_wstring): Likewise.
9155 (add_locale_uint32): Likewise.
9156 (add_locale_uint32_array): Likewise.
9157 (add_locale_char): Likewise.
9158 (start_locale_structure): Likewise.
9159 (end_locale_structure): Likewise.
9160 (start_locale_prelude): Likewise.
9161 (end_locale_prelude): Likewise.
9162 (write_locale_data): Update prototype.
9163 * locale/programs/3level.h (struct TABLE): Remove result field.
9164 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9165 Use new locale_file interface.
9166 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9167 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9168 * locale/programs/ld-address.c (address_output): Use new
9169 locale_file interface.
9170 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9172 (collate_finish): Don't call collseq_table_finalize.
9173 (collate_output): Use new locale_file interface.
9174 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9176 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9177 (TABLE): Move defines earlier in file.
9178 (ELEMENT): Likewise.
9179 (DEFAULT): Likewise.
9180 (wctrans_table_add): Move macro and inline function earlier in
9182 (struct wctype_table): Move type earlier in file.
9183 (add_locale_wctype_table): New static prototype.
9184 (struct locale_ctype_t): Use logical types instead of struct iovec
9185 pointers for members.
9186 (ctype_output): Use new locale_file interface.
9187 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9188 new locale_file interface.
9189 (allocate_arrays): Update for use of new locale_file interface.
9190 * locale/programs/ld-identification.c (identification_output): Use
9191 new locale_file interface.
9192 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9193 * locale/programs/ld-messages.c (messages_output): Likewise.
9194 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9195 * locale/programs/ld-name.c (name_output): Likewise.
9196 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9197 * locale/programs/ld-paper.c (paper_output): Likewise.
9198 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9199 * locale/programs/ld-time.c (time_output): Likewise.
9201 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9203 * benchtests/Makefile: Add memrchr benchmark.
9204 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9205 benchmark as memrchr.
9206 * benchtests/bench-memrchr-ifunc.c: New file.
9207 * benchtests/bench-memrchr.c: New file.
9209 2013-09-06 Will Newton <will.newton@linaro.org>
9211 * benchtests/Makefile (string-bench): Add memcpy.
9213 2013-09-05 Carlos O'Donell <carlos@redhat.com>
9214 Cong Wang <amwang@redhat.com>
9217 * sysdeps/unix/sysv/linux/bits/in.h
9218 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9219 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9220 before __USE_KERNEL_IPV6_DEFS uses.
9221 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9223 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9224 sockaddr_in6, or ipv6_mreq.
9226 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9228 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9229 memory access for final bytes in some large inputs.
9230 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9232 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9234 * string/test-memrchr.c: New file.
9235 * string/test-memrchr-ifunc.c: New file.
9236 * string/Makefile: Add new memrchr testcase.
9238 2013-09-05 Mike Frysinger <vapier@gentoo.org>
9240 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9241 fanotify_init returns EPERM.
9243 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9245 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9247 (top level): Treat second token from macro or constant entries for
9248 allowed headers as allowed.
9249 * include/complex.h: Condition internal declarations on
9251 * include/fenv.h: Condition include of <stdbool.h> and internal
9252 declarations on [!_ISOMAC].
9254 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9257 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9259 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9261 * configure.in (--enable-versioning): Remove configure option.
9262 (libc_cv_asm_symver_directive): Remove configure test.
9263 (libc_cv_ld_version_script_option): Likewise.
9264 (VERSIONING): Remove variable and AC_SUBST.
9265 (DO_VERSIONING): Remove AC_DEFINE.
9266 * configure: Regenerated.
9267 * config.h.in (DO_VERSIONING): Remove macro.
9268 * Makerules [$(versioning) = yes]: Change conditionals to
9269 [$(build-shared) = yes].
9270 * config.make.in (versioning): Remove variable.
9271 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9272 [$(build-shared) = yes].
9273 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9274 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9275 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9276 [$(build-shared) = yes].
9277 * extra-lib.mk [$(versioning) = yes]: Likewise.
9278 * hurd/Makefile [$(versioning) = yes]: Likewise.
9279 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9281 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9283 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9284 [SHARED && !NO_HIDDEN].
9285 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9287 [SHARED && DO_VERSIONING]: Likewise..
9288 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9289 [$(build-shared) = yes].
9290 * manual/install.texi (--disable-versioning): Remove
9292 * INSTALL: Regenerated.
9293 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9295 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9296 [$(build-shared) = yes].
9297 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9298 * sysdeps/i386/i686/multiarch/strstr-c.c
9299 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9300 [SHARED && !NO_HIDDEN].
9301 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9302 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9303 * sysdeps/powerpc/powerpc32/dl-machine.c
9304 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9305 * sysdeps/powerpc/powerpc32/sysdep.h
9306 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9307 to [SHARED && PIC && !NO_HIDDEN].
9308 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9309 conditional to [SHARED].
9311 2013-09-04 Will Newton <will.newton@linaro.org>
9313 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9314 * benchtests/bench-string.h: Include bench-timing.h instead
9315 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9316 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9317 call to HP_TIMING_DIFF_INIT.
9318 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9319 instead of hp-timing.h macros.
9320 * benchtests/bench-memchr.c: Likewise.
9321 * benchtests/bench-memcmp.c: Likewise.
9322 * benchtests/bench-memcpy.c: Likewise.
9323 * benchtests/bench-memmem.c: Likewise.
9324 * benchtests/bench-memmove.c: Likewise.
9325 * benchtests/bench-memset.c: Likewise.
9326 * benchtests/bench-rawmemchr.c: Likewise.
9327 * benchtests/bench-strcasecmp.c: Likewise.
9328 * benchtests/bench-strcasestr.c: Likewise.
9329 * benchtests/bench-strcat.c: Likewise.
9330 * benchtests/bench-strchr.c: Likewise.
9331 * benchtests/bench-strcmp.c: Likewise.
9332 * benchtests/bench-strcpy.c: Likewise.
9333 * benchtests/bench-strcpy_chk.c: Likewise.
9334 * benchtests/bench-strlen.c: Likewise.
9335 * benchtests/bench-strncasecmp.c: Likewise.
9336 * benchtests/bench-strncat.c: Likewise.
9337 * benchtests/bench-strncmp.c: Likewise.
9338 * benchtests/bench-strncpy.c: Likewise.
9339 * benchtests/bench-strnlen.c: Likewise.
9340 * benchtests/bench-strpbrk.c: Likewise.
9341 * benchtests/bench-strrchr.c: Likewise.
9342 * benchtests/bench-strspn.c: Likewise.
9343 * benchtests/bench-strstr.c: Likewise.
9345 2013-09-04 Will Newton <will.newton@linaro.org>
9347 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9349 2013-09-03 Joseph Myers <joseph@codesourcery.com>
9352 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9353 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9354 * math/libm-test.inc (lgamma_test_data): Add more tests.
9355 * sysdeps/i386/fpu/libm-test-ulps: Update.
9356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9358 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
9360 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9361 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9364 Add strcmp-sse2-unaligned
9365 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9367 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9369 * Versions.def (libc): Add GLIBC_2.19.
9371 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9373 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9374 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9376 2013-09-02 Joseph Myers <joseph@codesourcery.com>
9379 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9380 intermediate calculations in recurrence.
9381 (__ieee754_ynf): Likewise.
9382 * math/libm-test.inc (jn_test_data): Do not allow spurious
9383 underflow exception. Add more tests.
9384 (yn_test_data): Add more tests.
9385 * sysdeps/i386/fpu/libm-test-ulps: Update.
9386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9388 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
9390 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9392 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9394 * csu/init-first.c: Fix then/than typos.
9395 * locale/programs/ld-collate.c: Likewise.
9396 * locale/programs/linereader.h: Likewise.
9397 * manual/charset.texi: Likewise.
9398 * manual/filesys.texi: Likewise.
9399 * manual/stdio.texi: Likewise.
9400 * manual/string.texi: Likewise.
9401 * stdlib/fmtmsg.c: Likewise.
9402 * sysdeps/i386/stpncpy.S: Likewise.
9403 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9404 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9405 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9406 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9408 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9410 * elf/dl-open.c: Fix typos.
9411 * iconvdata/gbbig5.c: Likewise.
9412 * iconvdata/iso-2022-jp.c: Likewise.
9413 * iconv/gconv_int.h: Likewise.
9414 * iconv/loop.c: Likewise.
9415 * nis/rpcsvc/nis.h: Likewise.
9416 * resolv/ns_name.c: Likewise.
9417 * stdio-common/vfscanf.c: Likewise.
9418 * streams/stropts.h: Likewise.
9419 * sunrpc/rpc_thread.c: Likewise.
9420 * sysdeps/i386/strpbrk.S: Likewise.
9421 * sysdeps/ieee754/k_standard.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9424 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9425 * sysdeps/mach/hurd/profil.c: Likewise.
9426 * sysdeps/s390/dl-procinfo.h: Likewise.
9427 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9428 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9429 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9430 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9431 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9433 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9435 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9438 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9440 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9442 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9443 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9444 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9445 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9446 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9447 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9448 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9449 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9451 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9452 Roland McGrath <roland@hack.frob.com>
9454 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9455 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9457 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9459 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9460 __executable_start symbol instead of _start.
9462 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9464 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9465 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9467 * sysdeps/gnu/ldsodefs.h: ... this new file.
9469 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9470 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9471 instead of ELFOSABI_LINUX.
9473 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9474 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9475 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9476 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9478 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9479 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9480 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9482 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9483 (ibm_extended_long_double): Add ieee_nan member.
9484 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9485 (do_test): New function.
9487 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9489 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9490 functions, renamed from truncdfsf_test, trunctfsf_test,
9492 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9494 (do_test): Run all these.
9496 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9498 * argp/argp-help.c: Fix typos.
9499 * argp/argp-parse.c: Likewise.
9500 * debug/backtracesyms.c: Likewise.
9501 * elf/elf.h: Likewise.
9502 * malloc/malloc.c: Likewise.
9503 * nis/nis_print.c: Likewise.
9504 * resolv/res_comp.c: Likewise.
9505 * stdlib/stdlib.h: Likewise.
9506 * sunrpc/clnt_tcp.c: Likewise.
9507 * sunrpc/clnt_udp.c: Likewise.
9508 * sunrpc/clnt_unix.c: Likewise.
9509 * sysdeps/unix/bsd/ptsname.c: Likewise.
9510 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9511 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9518 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9520 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9522 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9525 2013-08-27 Mike Frysinger <vapier@gentoo.org>
9528 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9529 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9530 ($(objpfx)bug-dl-leaf): New rule.
9531 ($(objpfx)bug-dl-leaf.so): Likewise.
9532 ($(objpfx)bug-dl-leaf.out): Likewise.
9533 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9534 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9535 * dlfcn/bug-dl-leaf.c: New test.
9536 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9537 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9538 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9539 (dlclose): Likewise.
9540 (dlmopen): Likewise.
9542 2013-08-27 Roland McGrath <roland@hack.frob.com>
9544 * include/netdb.h [!_ISOMAC]:
9545 Don't include <tls.h>.
9546 (h_errno, __libc_h_errno): Move declaration and macros out of
9549 * include/resolv.h [_RESOLV_H_]:
9550 Don't include <tls.h>.
9551 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9552 * resolv/res_libc.c: Don't include <tls.h>.
9553 (_res): Use __attribute__ ((nocommon)) in place of
9554 __attribute__ ((section (".bss"))).
9556 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9557 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9559 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9561 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9562 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9564 * resolv/res_mkquery.c: Include <sys/time.h>.
9566 * inet/ifreq.c: Moved to ...
9567 * sysdeps/unix/ifreq.c: ... here.
9568 * inet/ifreq.c: New file, true stub version.
9570 * socket/sa_len.c: New file.
9571 * socket/Makefile (aux): Add it.
9572 * sysdeps/unix/sysv/linux/Makefile
9573 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9574 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9575 and #include <socket/sa_len.c>.
9576 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9577 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9579 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9580 * bits/socket.h: ... here.
9582 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9583 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9584 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9586 2013-08-27 Andreas Schwab <schwab@suse.de>
9589 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9590 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9591 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9592 * string/test-strcasecmp.c (test_main): Run tests in several
9594 * string/test-strncasecmp.c (test_main): Likewise.
9596 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9597 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9598 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9600 (__strncasecmp_ssse3) [PIC]: Likewise.
9602 2013-08-26 Roland McGrath <roland@hack.frob.com>
9604 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9606 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9607 instead of explicitly declaring xdecrypt.
9608 * nis/nss_nis/nis-publickey.c: Likewise.
9610 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9613 * nscd/aicache.c: Include res_hconf.h.
9614 (addhstaiX): Initialize res_hconf.
9616 2013-08-26 Andreas Schwab <schwab@suse.de>
9618 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9619 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9621 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9623 * nscd/aicache.c (addhstaiX): Fix indentation.
9625 2013-08-25 Mike Frysinger <vapier@gentoo.org>
9627 * configure.ac: Quote $build_pt_chown test.
9628 * configure: Regenerated.
9630 2013-08-23 Joseph Myers <joseph@codesourcery.com>
9633 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9634 * math/s_cexpf.c (__cexpf): Likewise.
9635 * math/s_cexpl.c (__cexpl): Likewise.
9636 * math/libm-test.inc (cexp_test_data): Correct expected return
9637 value for NaN + i0. Add another test.
9639 2013-08-22 David S. Miller <davem@davemloft.net>
9641 * po/ca.po: Update Catalan translation from translation project.
9642 * po/uk.po: Add Ukrainian translations from translation project.
9644 2013-08-21 Joseph Myers <joseph@codesourcery.com>
9647 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9648 is infinite, not alongside NaN test.
9649 * math/s_fdimf.c (__fdimf): Likewise.
9650 * math/s_fdiml.c (__fdiml): Likewise.
9651 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9654 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
9656 * argp/argp-help.c: Fix typos.
9657 * crypt/speeds.c: Likewise.
9658 * csu/check_fds.c: Likewise.
9659 * elf/dl-load.c: Likewise.
9660 * elf/dl-open.c: Likewise.
9661 * elf/reldep3.c: Likewise.
9662 * elf/reldep.c: Likewise.
9663 * elf/sprof.c: Likewise.
9664 * iconv/iconv_charmap.c: Likewise.
9665 * iconv/skeleton.c: Likewise.
9666 * iconv/strtab.c: Likewise.
9667 * io/lockf64.c: Likewise.
9668 * libio/libioP.h: Likewise.
9669 * resolv/gai_notify.c: Likewise.
9670 * resolv/ns_name.c: Likewise.
9671 * resolv/ns_samedomain.c: Likewise.
9672 * resolv/res_send.c: Likewise.
9673 * stdlib/random.c: Likewise.
9674 * sunrpc/rpc/xdr.h: Likewise.
9675 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9676 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9677 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9678 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9679 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9680 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9683 * sysdeps/mach/hurd/check_fds.c: Likewise.
9684 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9685 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9686 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9688 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9689 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9690 * sysdeps/pthread/aio_notify.c: Likewise.
9691 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9692 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9693 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9694 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9695 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9697 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9699 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9700 version if bit_Slow_SSE4_2 is set.
9701 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9702 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9704 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9707 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9708 trampoline stack frame information.
9709 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9710 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9711 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9712 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9713 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9714 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9715 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9716 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9718 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9719 interrupting a syscall and set with option SA_SIGINFO.
9721 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9724 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9725 argument is infinite.
9726 * math/s_cprojf.c (__cprojf): Likewise.
9727 * math/s_cprojl.c (__cprojl): Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9729 * math/libm-test.inc (cproj_test_data): Add more tests.
9731 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9733 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9734 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9735 size. Use __ffs to determine corresponding shift.
9737 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9738 Roland McGrath <roland@hack.frob.com>
9740 * Makefile (INSTALL): Remove trailing blank lines from output of
9743 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9745 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9746 Align 32 bit compat elf_greg to 8 bytes.
9748 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9750 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9752 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9754 * string/strcoll_l.c (coll_seq): New structure.
9755 (get_next_seq_cached): New function.
9756 (get_next_seq): New function.
9757 (do_compare): New function.
9758 (STRCOLL): Use GNU style definition. Simplify implementation
9759 by using get_next_seq, get_next_seq_cached and do_compare.
9761 2013-08-16 Florian Weimer <fweimer@redhat.com>
9765 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9767 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9769 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9770 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9771 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
9773 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9774 GETDENTS_64BIT_ALIGNED.
9775 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9776 * manual/filesys.texi (Reading/Closing Directory): Document
9777 ENAMETOOLONG return value of readdir_r. Recommend readdir more
9779 * manual/conf.texi (Limits for Files): Add portability note to
9781 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9783 2013-08-13 Andreas Schwab <schwab@suse.de>
9786 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9788 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9789 LDBL_MAX_EXP >= 16384]: Add tests for it.
9791 2013-08-12 David S. Miller <davem@davemloft.net>
9793 * version.h (RELEASE): Set to "development".
9794 (VERSION): Set to "2.18.90".
9795 * NEWS: Add 2.19 section.
9797 2013-08-03 David S. Miller <davem@davemloft.net>
9799 * po/ko.po: Update Korean translation from translation project.
9801 2013-08-01 David S. Miller <davem@davemloft.net>
9803 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
9804 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9807 2013-07-30 David S. Miller <davem@davemloft.net>
9809 * po/fr.po: Update French translation from translation project.
9811 2013-07-28 David S. Miller <davem@davemloft.net>
9813 * po/cs.po: Update Czech translation from translation project.
9815 * po/sv.po: Update Swedish translation from translation project.
9817 2013-07-27 David S. Miller <davem@davemloft.net>
9819 * po/eo.po: Update Esperanto translation from translation project.
9821 * po/vi.po: Update Vietnamese translation from translation project.
9823 * po/de.po: Update German translation from translation project.
9825 2013-07-26 David S. Miller <davem@davemloft.net>
9827 * po/bg.po: Update Bulgarian translation from translation project.
9829 * po/nl.po: Update Dutch translation from translation project.
9830 * po/pl.po: Update Polish translation from translation project.
9831 * po/ru.po: Update Russian translation from translation project.
9833 2013-07-24 David S. Miller <davem@davemloft.net>
9835 * po/libc.pot: Update.
9837 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9839 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9841 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9842 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9843 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9845 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9847 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9849 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9850 Andreas Schwab <schwab@suse.de>
9851 Roland McGrath <roland@hack.frob.com>
9852 Joseph Myers <joseph@codesourcery.com>
9853 Carlos O'Donell <carlos@redhat.com>
9856 * config.h.in: Define HAVE_PT_CHOWN.
9857 * config.make.in (build-pt-chown): New variable.
9858 * configure.in (--enable-pt_chown): New configure option.
9859 * configure: Regenerate.
9860 * login/Makefile: Include Makeconfig. Build pt_chown only if
9861 build-pt-chown is enabled.
9862 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9863 pt_chown to fix pty ownership.
9864 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9866 * manual/install.texi (Configuring and compiling): Mention
9867 --enable-pt_chown. Add @findex for grantpt.
9868 * INSTALL: Regenerate.
9870 2013-07-20 David S. Miller <davem@davemloft.net>
9872 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9873 difference between 32-bit and 64-bit.
9875 2013-07-15 Carlos O'Donell <carlos@redhat.com>
9878 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9879 Avoid system header dependency with -ffreestanding.
9880 ($(objpfx)bits/syscall%d): Likewise.
9882 2013-07-13 David S. Miller <davem@davemloft.net>
9884 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9885 underflows from atanl/atan2l due to bug 15319.
9886 (casinh_test_data): Likewise.
9888 2013-07-07 David S. Miller <davem@davemloft.net>
9890 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9892 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
9894 * sysdeps/i386/fpu/libm-test-ulps: Update.
9895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9897 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9899 * configure.in (--enable-lock-elision): Fix message text.
9900 * INSTALL: Regenerate.
9901 * configure: Regenerate.
9903 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9907 2013-07-03 Andreas Jaeger <aj@suse.de>
9909 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9911 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9912 (ptrace_peeksiginfo_args): Add.
9913 (__ptrace_peeksiginfo_flags): Add.
9914 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9915 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9916 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9918 2013-07-03 Allan McRae <allan@archlinux.org>
9920 * sysdeps/i386/fpu/libm-test-ulps: Update.
9922 2013-07-02 David S. Miller <davem@davemloft.net>
9924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9926 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
9928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9930 2013-07-02 Joseph Myers <joseph@codesourcery.com>
9932 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9935 2013-07-02 Andi Kleen <ak@linux.intel.com>
9937 * config.h.in (ENABLE_LOCK_ELISION): Add.
9938 * configure.in (--enable-lock-elision): Add option.
9939 * manual/install.texi: Document --enable lock elision.
9940 * configure: Regenerate
9941 * INSTALL: Regenerate.
9943 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
9945 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
9946 SSE4.2 strcasecmp for libc.a.
9947 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9949 2013-07-02 Joseph Myers <joseph@codesourcery.com>
9952 * soft-fp/op-common.h (_FP_FMA): New macro.
9953 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
9954 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
9955 (_FP_MUL_MEAT_1_imm): ... here.
9956 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
9957 (_FP_MUL_MEAT_1_wide): ... here.
9958 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
9959 (_FP_MUL_MEAT_1_hard): ... here.
9960 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
9961 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
9962 (_FP_MUL_MEAT_2_wide): ... here.
9963 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
9964 (_FP_MUL_MEAT_2_wide_3mul): ... here.
9965 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
9966 (_FP_MUL_MEAT_2_gmp): ... here.
9967 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
9968 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
9969 (_FP_MUL_MEAT_4_wide): ... here.
9970 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
9971 (_FP_MUL_MEAT_4_gmp): ... here.
9972 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
9973 (_FP_WFRACBITS_DW_S): Likewise.
9974 (_FP_WFRACXBITS_DW_S): Likewise.
9975 (_FP_HIGHBIT_DW_S): Likewise.
9976 (FP_FMA_S): Likewise.
9977 (_FP_FRAC_HIGH_DW_S): Likewise.
9978 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
9979 (_FP_WFRACBITS_DW_D): Likewise.
9980 (_FP_WFRACXBITS_DW_D): Likewise.
9981 (_FP_HIGHBIT_DW_D): Likewise.
9982 (FP_FMA_D): Likewise.
9983 (_FP_FRAC_HIGH_DW_D): Likewise.
9984 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
9985 (_FP_WFRACBITS_DW_E): Likewise.
9986 (_FP_WFRACXBITS_DW_E): Likewise.
9987 (_FP_HIGHBIT_DW_E): Likewise.
9988 (FP_FMA_E): Likewise.
9989 (_FP_FRAC_HIGH_DW_E): Likewise.
9990 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
9991 (_FP_WFRACBITS_DW_Q): Likewise.
9992 (_FP_WFRACXBITS_DW_Q): Likewise.
9993 (_FP_HIGHBIT_DW_Q): Likewise.
9994 (FP_FMA_Q): Likewise.
9995 (_FP_FRAC_HIGH_DW_Q): Likewise.
9996 * soft-fp/fmasf4.c: New file.
9997 * soft-fp/fmadf4.c: Likewise.
9998 * soft-fp/fmatf4.c: Likewise.
10000 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10003 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10005 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10007 (index_Slow_SSE4_2): Likewise.
10008 (index_Prefer_PMINUB_for_stringop): Likewise.
10009 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10010 bit_Slow_SSE4_2 is set.
10011 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10012 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10014 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10016 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10017 rtld_global._dl_hwcap2.
10018 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10020 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10021 POWER8 feature descriptions defined in _dl_hwcap2.
10022 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10023 string handling for POWER8 feature bits.
10024 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10025 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10026 _dl_powerpc_cap_flags.
10027 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10028 * sysdeps/powerpc/rtld-global-offsets.sym
10029 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10030 _dl_hwcap2 in the rtld_global_ro structure.
10032 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10034 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10035 hardware capabilities in support of AT_HWCAP2.
10036 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10037 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10039 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10040 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10041 explicitly the unknown a_type display mechanism is used.
10042 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10043 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10045 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10046 to macro prototype for AT_HWCAP2 support.
10047 * sysdeps/i386/dl-procinfo.h: Likewise.
10048 * sysdeps/s390/dl-procinfo.h: Likewise.
10049 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10050 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10051 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10052 return -1 for unknown a_type display fallback.
10053 * sysdeps/sparc/dl-procinfo.h: Likewise.
10054 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10055 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10057 2013-06-28 Joseph Myers <joseph@codesourcery.com>
10059 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10060 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10062 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10065 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10066 mprotect making __stack_prot writable.
10068 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10069 Joseph Myers <joseph@codesourcery.com>
10071 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10072 as being properly aligned.
10074 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10076 * dlfcn/modstatic5.c: New file.
10077 * dlfcn/tststatic5.c: New file.
10078 * dlfcn/Makefile (tests): Add tststatic5.
10079 (tests-static): Likewise.
10080 (modules-names): Add modstatic5.
10081 (tststatic5-ENV): New variable.
10082 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10085 * elf/dl-support.c (_dl_main_map): New variable.
10086 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10087 (_dl_nns, _dl_load_adds): Set to 1.
10088 (_dl_initial_searchlist): Refer to _dl_main_map.
10089 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10090 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10091 call to _dl_get_origin.
10092 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10094 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10095 * dlfcn/modstatic3.c: New file.
10096 * dlfcn/tststatic3.c: New file.
10097 * dlfcn/tststatic4.c: New file.
10098 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10099 (tests-static): Likewise.
10100 (modules-names): Add modstatic3.
10101 (tststatic3-ENV, tststatic4-ENV): New variables.
10102 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10103 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10105 2013-06-26 Joseph Myers <joseph@codesourcery.com>
10107 * configure.in (CC): Require GCC version 4.4 or later.
10108 * configure: Regenerated.
10109 * manual/install.texi (Tools for Compilation): Update GCC version
10111 * INSTALL: Regenerated.
10113 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10116 * string/test-memcmp.c (check2): New.
10117 (main): Call check2.
10119 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10121 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10124 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10126 (dl_open_worker) [!SHARED]: ... here.
10128 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10130 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10132 2013-06-25 Richard Henderson <rth@redhat.com>
10134 * locale/programs/locarchive.c: Include <libc-internal.h>
10136 2013-06-25 Joseph Myers <joseph@codesourcery.com>
10138 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10139 trailing whitespace removed.
10141 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10144 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10145 * locale/programs/locarchive.c: Include libc-mmap.h.
10146 (prepare_address_space): Take two new outputs (the mmap base and len).
10147 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10149 (create_archive): Declare new mmap base and len values for
10150 prepare_address_space, and store the result in ah.
10151 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10152 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10153 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10154 Declare new mmap base and len values for
10155 prepare_address_space, and store the result in new_ah.
10156 (open_archive): Declare new mmap base and len values for
10157 prepare_address_space, and store the result in ah.
10158 (close_archive): If ah->mmap_base is not NULL, use that and
10159 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10160 * sysdeps/generic/libc-mmap.h: New file.
10162 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10164 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10165 (ALIGN_UP): Likewise.
10166 (PTR_ALIGN_DOWN): Likewise.
10167 (PTR_ALIGN_UP): Likewise.
10169 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10171 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10172 entry mapped to PPC_PLATFORM_POWER8.
10173 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10175 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10176 (_dl_string_platform): Add case for exporting platform position for
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10179 search path to sysdeps/powerpc/powerpc32/power8 directory.
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10181 search path to sysdeps/powerpc/powerpc64/power8 directory.
10182 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10183 power7 directories.
10184 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10185 power7 directories.
10187 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10189 * INSTALL: Regenerate.
10191 * nscd/connections.c (nscd_init): Fix comment.
10193 2013-06-22 Joseph Myers <joseph@codesourcery.com>
10195 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10198 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10199 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10201 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10203 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10205 (DL_DST_REQ_STATIC): Remove macro.
10207 2013-06-21 Joseph Myers <joseph@codesourcery.com>
10210 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10211 with a shift of 0 bits.
10213 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10215 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10218 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10221 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10223 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10225 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10226 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10227 accepts -fno-tree-loop-distribute-patterns.
10228 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10229 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10231 * string/memset.c (memset): Likewise.
10232 * string/test-memmove.c (simple_memmove): Disable loop transformation
10234 * string/test-memset.c (simple_memset): Likewise.
10235 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10236 * benchtests/bench-memset.c (simple_memset): Likewise.
10237 * configure: Regenerated.
10239 2013-06-20 Joseph Myers <joseph@codesourcery.com>
10241 * math/test-misc.c (main): Ignore fesetround failure when failures
10242 of subsequent rounding tests would be ignored.
10245 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10246 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10247 * math/fegetenv.c (__fegetenv): Return 0.
10248 * math/fegetexcept.c (fegetexcept): Return 0.
10249 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10251 * math/feholdexcpt.c (feholdexcept): Return 0.
10252 * math/fesetenv.c (__fesetenv): Return 0.
10253 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10254 argument FE_TONEAREST.
10255 * math/feupdateenv.c (__feupdateenv): Return 0.
10256 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10258 2013-06-18 Roland McGrath <roland@hack.frob.com>
10260 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10261 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10262 ($(objpfx)rtld-%.os rules): Use them.
10264 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10266 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10269 2013-06-17 Roland McGrath <roland@hack.frob.com>
10271 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10272 length of target pattern, then descending length of dependency pattern.
10273 * configure.in (AWK): Require gawk 3.1.2 or newer.
10274 * manual/install.texi (Tools for Compilation): Say that we do.
10275 * configure: Regenerated.
10277 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10278 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10279 * scripts/sysd-rules.awk: ... this new script.
10280 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10281 than a glob-style pattern.
10283 2013-06-17 Joseph Myers <joseph@codesourcery.com>
10285 * math/test-misc.c (main): Do not treat incorrectly rounded
10286 conversions as failure unless ROUNDING_TESTS passes.
10288 2013-06-15 Joseph Myers <joseph@codesourcery.com>
10291 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10292 restore exception state around main square root computation, then
10293 check for inexactness explicitly.
10295 * math/libm-test.inc (fma_test_data): Add another test.
10297 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10299 * manual/threads.texi (Non-POSIX Extensions): New document
10300 node. Document pthread_getattr_default_np and
10301 pthread_setattr_default_np.
10303 * Versions.def (libpthread): Add GLIBC_2.18.
10304 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10313 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10324 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10327 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10329 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10330 H.J. Lu <hjl.tools@gmail.com>
10333 * sysdeps/x86_64/rtld-memset.c: Remove file.
10334 * sysdeps/x86_64/rtld-memset.S: New file.
10336 2013-06-14 Joseph Myers <joseph@codesourcery.com>
10338 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10339 (test_in_one_mode): Take arguments for whether the rounding mode
10340 is supported for each floating-point type.
10341 (do_test): Pass new arguments to test_in_one_mode using
10344 2013-06-13 Roland McGrath <roland@hack.frob.com>
10346 * posix/tst-waitid.c (do_test): Distinguish different instances of
10347 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10348 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10349 before entering the kernel for waitpid.
10351 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10353 * NEWS: Fix note on clock function precision. Text by Roland
10356 2013-06-13 Roland McGrath <roland@hack.frob.com>
10358 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10359 it into place only when and if the sanity check passes.
10361 2013-06-13 Joseph Myers <joseph@codesourcery.com>
10363 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10364 output for whether conversion result is exact. Take argument
10365 indicating whether type is IBM long double.
10366 (round_for_all): Change need_exact field to ibm_ld.
10367 * stdlib/tst-strtod-round.c (struct exactness): New type.
10368 (struct test): Change bool ld_ok field to struct exactness exact.
10369 (TEST): Update all definitions for change to field.
10370 (tests): Regenerate array contents.
10371 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10372 field value. Check for IBM long double here.
10373 (do_test): Update calls to test_in_one_mode.
10375 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10378 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10379 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10381 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10384 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10385 generated by the compiler on loop optimizations.
10386 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10387 general definitions.
10389 2013-06-12 Joseph Myers <joseph@codesourcery.com>
10391 * math/bug-nextafter.c: Include <math-tests.h>.
10392 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10394 * math/bug-nexttoward.c: Include <math-tests.h>.
10395 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10397 * math/test-misc.c: Include <math-tests.h>.
10398 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10401 2013-06-12 Andreas Jaeger <aj@suse.de>
10403 * po/ia.po: Update Interlingua translation from translation
10406 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10408 * include/fenv.h: Include stdbool.h.
10409 (struct rm_ctx): New structure.
10410 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10412 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10413 (SET_RESTORE_ROUNDF): Likewise.
10414 (SET_RESTORE_ROUNDL): Likewise.
10415 (SET_RESTORE_ROUND_NOEX): Likewise.
10416 (SET_RESTORE_ROUND_NOEXF): Likewise.
10417 (SET_RESTORE_ROUND_NOEXL): Likewise.
10418 (SET_RESTORE_ROUND_53BIT): Likewise.
10419 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10420 (libc_feresetround_noexf_ctx): Likewise.
10421 (libc_feresetround_noexl_ctx): Likewise.
10422 (libc_feholdsetround_53bit_ctx): Likewise.
10423 (libc_feresetround_53bit_ctx): Likewise.
10424 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10425 (libc_feholdexcept_setround_sse_ctx): New function.
10426 (libc_fesetenv_sse_ctx): Likewise.
10427 (libc_feupdateenv_sse_ctx): Likewise.
10428 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10429 (libc_feholdexcept_setround_387_ctx): Likewise.
10430 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10431 (libc_feholdsetround_387_prec_ctx): Likewise.
10432 (libc_feholdsetround_387_ctx): Likewise.
10433 (libc_feholdsetround_387_53bit_ctx): Likewise.
10434 (libc_feholdsetround_sse_ctx): Likewise.
10435 (libc_feresetround_sse_ctx): Likewise.
10436 (libc_feresetround_387_ctx): Likewise.
10437 (libc_feupdateenv_387_ctx): Likewise.
10438 (libc_feholdexcept_setroundf_ctx): Define macro.
10439 (libc_fesetenvf_ctx): Likewise.
10440 (libc_feupdateenvf_ctx): Likewise.
10441 (libc_feholdsetroundf_ctx): Likewise.
10442 (libc_feresetroundf_ctx): Likewise.
10443 (libc_feholdexcept_setround_ctx): Likewise.
10444 (libc_fesetenv_ctx): Likewise.
10445 (libc_feupdateenv_ctx): Likewise.
10446 (libc_feholdsetround_ctx): Likewise.
10447 (libc_feresetround_ctx): Likewise.
10448 (libc_feholdexcept_setroundl_ctx): Likewise.
10449 (libc_feupdateenvl_ctx): Likewise.
10450 (libc_feholdsetroundl_ctx): Likewise.
10451 (libc_feresetroundl_ctx): Likewise.
10452 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10453 (libc_feresetround_53bit_ctx): Likewise.
10455 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10457 * locale/iso-639.def: Convert to UTF-8.
10459 2013-06-11 Joseph Myers <joseph@codesourcery.com>
10461 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10462 (EXCEPTION_TESTS_double): Likewise.
10463 (EXCEPTION_TESTS_long_double): Likewise.
10464 (EXCEPTION_TESTS): Likewise.
10465 * math/libm-test.inc (test_exceptions): Only test exceptions if
10466 EXCEPTION_TESTS (FLOAT).
10468 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10470 * benchtests/Makefile (string-bench): Add strcpy_chk and
10472 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10473 * benchtests/bench-stpcpy_chk.c: New file.
10474 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10475 * benchtests/bench-strcpy_chk.c: New file.
10476 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10478 (do_test): Likewise.
10480 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10482 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10483 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10484 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10485 with tabs where appropriate.
10486 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10488 [PPC_PLATFORM_PPC440]: Likewise.
10489 [PPC_PLATFORM_PPC464]: Likewise.
10490 [PPC_PLATFORM_PPC476]: Likewise.
10491 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10492 ppc464, and ppc476 platform strings merging from ports/
10495 2013-06-11 Andreas Schwab <schwab@suse.de>
10498 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10499 (from_ucs4_idx): Regenerate.
10500 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10501 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10502 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10503 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10504 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10505 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10506 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10507 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10508 from FROM_LOOP and TO_LOOP specific macros.
10509 (BODY): Handle combining characters.
10510 * iconvdata/BIG5HKSCS.irreversible: Update.
10511 * iconvdata/BIG5HKSCS.precomposed: New file.
10512 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10514 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10516 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10518 * include/sys/time.h: Fix indentation and add copyright header.
10520 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10521 (do_test): Likewise.
10522 * string/test-memchr.c (do_one_test): Likewise.
10523 (do_test): Likewise.
10524 * string/test-memcmp.c (do_one_test): Likewise.
10525 (do_test): Likewise.
10526 * string/test-memcpy.c (do_one_test): Likewise.
10527 (do_test): Likewise.
10528 * string/test-memmem.c (do_one_test): Likewise.
10529 (do_test): Likewise.
10530 (do_random_tests): Likewise.
10531 * string/test-memmove.c (do_one_test): Likewise.
10532 (do_test): Likewise.
10533 * string/test-memset.c (do_one_test): Likewise.
10534 (do_test): Likewise.
10535 * string/test-rawmemchr.c (do_one_test): Likewise.
10536 (do_test): Likewise.
10537 * string/test-strcasecmp.c (do_one_test): Likewise.
10538 (do_test): Likewise.
10539 * string/test-strcasestr.c (do_one_test): Likewise.
10540 (do_test): Likewise.
10541 * string/test-strcat.c (do_one_test): Likewise.
10542 (do_test): Likewise.
10543 * string/test-strchr.c (do_one_test): Likewise.
10544 (do_test): Likewise.
10545 * string/test-strcmp.c (do_one_test): Likewise.
10546 (do_test): Likewise.
10547 * string/test-strcpy.c (do_one_test): Likewise.
10548 (do_test): Likewise.
10549 * string/test-string.h: Likewise.
10550 (test_init): Likewise.
10551 * string/test-strlen.c (do_one_test): Likewise.
10552 (do_test): Likewise.
10553 * string/test-strncasecmp.c (do_one_test): Likewise.
10554 (do_test): Likewise.
10555 * string/test-strncat.c (do_one_test): Likewise.
10556 (do_test): Likewise.
10557 * string/test-strncmp.c (do_one_test): Likewise.
10558 (do_test_limit): Likewise.
10559 (do_test): Likewise.
10560 * string/test-strncpy.c (do_one_test): Likewise.
10561 (do_test): Likewise.
10562 * string/test-strnlen.c (do_one_test): Likewise.
10563 (do_test): Likewise.
10564 * string/test-strpbrk.c (do_one_test): Likewise.
10565 (do_test): Likewise.
10566 * string/test-strrchr.c (do_one_test): Likewise.
10567 (do_test): Likewise.
10568 * string/test-strspn.c (do_one_test): Likewise.
10569 (do_test): Likewise.
10570 * string/test-strstr.c (do_one_test): Likewise.
10571 (do_test): Likewise.
10573 * benchtests/Makefile (string-bench): Add string benchmarks.
10574 * benchtests/bench-bcopy-ifunc.c: New file.
10575 * benchtests/bench-bcopy.c: New file.
10576 * benchtests/bench-bzero-ifunc.c: New file.
10577 * benchtests/bench-bzero.c: New file.
10578 * benchtests/bench-memccpy-ifunc.c: New file.
10579 * benchtests/bench-memccpy.c: New file.
10580 * benchtests/bench-memchr-ifunc.c: New file.
10581 * benchtests/bench-memchr.c: New file.
10582 * benchtests/bench-memcmp-ifunc.c: New file.
10583 * benchtests/bench-memcmp.c: New file.
10584 * benchtests/bench-memmem-ifunc.c: New file.
10585 * benchtests/bench-memmem.c: New file.
10586 * benchtests/bench-memmove-ifunc.c: New file.
10587 * benchtests/bench-memmove.c: New file.
10588 * benchtests/bench-mempcpy-ifunc.c: New file.
10589 * benchtests/bench-mempcpy.c: New file.
10590 * benchtests/bench-memset-ifunc.c: New file.
10591 * benchtests/bench-memset.c: New file.
10592 * benchtests/bench-rawmemchr-ifunc.c: New file.
10593 * benchtests/bench-rawmemchr.c: New file.
10594 * benchtests/bench-stpcpy-ifunc.c: New file.
10595 * benchtests/bench-stpcpy.c: New file.
10596 * benchtests/bench-stpncpy-ifunc.c: New file.
10597 * benchtests/bench-stpncpy.c: New file.
10598 * benchtests/bench-strcasecmp-ifunc.c: New file.
10599 * benchtests/bench-strcasecmp.c: New file.
10600 * benchtests/bench-strcasestr-ifunc.c: New file.
10601 * benchtests/bench-strcasestr.c: New file.
10602 * benchtests/bench-strcat-ifunc.c: New file.
10603 * benchtests/bench-strcat.c: New file.
10604 * benchtests/bench-strchr-ifunc.c: New file.
10605 * benchtests/bench-strchr.c: New file.
10606 * benchtests/bench-strchrnul-ifunc.c: New file.
10607 * benchtests/bench-strchrnul.c: New file.
10608 * benchtests/bench-strcmp-ifunc.c: New file.
10609 * benchtests/bench-strcmp.c: New file.
10610 * benchtests/bench-strcpy-ifunc.c: New file.
10611 * benchtests/bench-strcpy.c: New file.
10612 * benchtests/bench-strcspn-ifunc.c: New file.
10613 * benchtests/bench-strcspn.c: New file.
10614 * benchtests/bench-strlen-ifunc.c: New file.
10615 * benchtests/bench-strlen.c: New file.
10616 * benchtests/bench-strncasecmp-ifunc.c: New file.
10617 * benchtests/bench-strncasecmp.c: New file.
10618 * benchtests/bench-strncat-ifunc.c: New file.
10619 * benchtests/bench-strncat.c: New file.
10620 * benchtests/bench-strncmp-ifunc.c: New file.
10621 * benchtests/bench-strncmp.c: New file.
10622 * benchtests/bench-strncpy-ifunc.c: New file.
10623 * benchtests/bench-strncpy.c: New file.
10624 * benchtests/bench-strnlen-ifunc.c: New file.
10625 * benchtests/bench-strnlen.c: New file.
10626 * benchtests/bench-strpbrk-ifunc.c: New file.
10627 * benchtests/bench-strpbrk.c: New file.
10628 * benchtests/bench-strrchr-ifunc.c: New file.
10629 * benchtests/bench-strrchr.c: New file.
10630 * benchtests/bench-strspn-ifunc.c: New file.
10631 * benchtests/bench-strspn.c: New file.
10632 * benchtests/bench-strstr-ifunc.c: New file.
10633 * benchtests/bench-strstr.c: New file.
10635 * benchtests/Makefile: Disable parallel execution of targets.
10636 (string-bench): Add memcpy.
10637 (benchset): New variable to store a list of benchmark sets.
10638 (bench-func): Renamed from bench.
10639 (bench-set): New target.
10640 (bench): Depend on bench-func and bench-set.
10641 * benchtests/README: Add section on benchmark sets.
10642 * benchtests/bench-memcpy-ifunc.c: New file.
10643 * benchtests/bench-memcpy.c: New file.
10644 * benchtests/bench-string.h: New file.
10646 2013-06-11 Andreas Schwab <schwab@suse.de>
10649 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10650 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10651 values in the triple.
10652 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10653 terminator in the group key.
10655 2013-06-11 Andreas Jaeger <aj@suse.de>
10657 * po/zh_TW.po: Update Chinese (traditional) translation from
10658 translation project.
10660 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10662 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10663 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10664 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10665 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10666 (clock_getcpuclockid): Likewise.
10667 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10668 Add weak_alias and libc_hidden_def.
10669 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10670 * rt/clock_gettime.c (clock_gettime): Rename to
10671 __clock_gettime. Add weak_alias and libc_hidden_def.
10672 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10673 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10674 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10675 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10676 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10678 * rt/clock_settime.c (clock_settime): Rename to
10679 __clock_settime. Add weak_alias and libc_hidden_def.
10680 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10682 2013-06-10 Joseph Myers <joseph@codesourcery.com>
10684 * mach/err_boot.sub: Remove trailing whitespace.
10685 * mach/err_ipc.sub: Likewise.
10686 * mach/err_mach.sub: Likewise.
10688 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10689 (ROUNDING_TESTS_double): Likewise.
10690 (ROUNDING_TESTS_long_double): Likewise.
10691 (ROUNDING_TESTS): Likewise.
10692 * math/libm-test.inc: Include <math-tests.h>.
10693 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10694 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10695 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10696 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10698 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10700 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10703 2013-06-08 Joseph Myers <joseph@codesourcery.com>
10705 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10706 otherwise empty TRANS lines.
10707 * sysdeps/gnu/errlist.c: Regenerated.
10709 * catgets/gencat.c (error_print): Use (void) in function
10711 * crypt/crypt_util.c (__init_des): Likewise.
10712 * crypt/speeds.c (Stop): Likewise.
10714 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10715 * inet/ruserpass.c (token): Likewise.
10716 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10717 * intl/localealias.c (extend_alias_table): Likewise.
10718 * intl/plural-exp.c (init_germanic_plural): Likewise.
10719 * libio/fcloseall.c (__fcloseall): Likewise.
10720 * libio/genops.c (_IO_flush_all): Likewise.
10721 (_IO_flush_all_linebuffered): Likewise.
10722 (_IO_cleanup): Likewise.
10723 (_IO_iter_begin): Likewise.
10724 (_IO_iter_end): Likewise.
10725 (_IO_list_lock): Likewise.
10726 (_IO_list_unlock): Likewise.
10727 (_IO_list_resetlock): Likewise.
10728 * libio/getchar.c (getchar): Likewise.
10729 * libio/getchar_u.c (getchar_unlocked): Likewise.
10730 * libio/getwchar.c (getwchar): Likewise.
10731 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10732 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10733 * login/getpt.c (__getpt): Likewise.
10734 * login/tst-utmp.c (main): Likewise.
10735 * malloc/hooks.c (__malloc_check_init): Likewise.
10736 * malloc/malloc.c (__malloc_stats): Likewise.
10737 * malloc/mtrace.c (tr_break): Likewise.
10738 (mtrace): Likewise.
10739 (muntrace): Likewise.
10740 * misc/fstab.c (endfsent): Likewise.
10741 * misc/getclktck.c (__getclktck): Likewise.
10742 * misc/getdtsz.c (__getdtablesize): Likewise.
10743 * misc/gethostid.c (gethostid): Likewise.
10744 * misc/getpagesize.c (__getpagesize): Likewise.
10745 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10746 (__get_nprocs): Likewise.
10747 (__get_phys_pages): Likewise.
10748 (__get_avphys_pages): Likewise.
10749 * misc/getttyent.c (getttyent): Likewise.
10750 (setttyent): Likewise.
10751 (endttyent): Likewise.
10752 * misc/getusershell.c (getusershell): Likewise.
10753 (endusershell): Likewise.
10754 (setusershell): Likewise.
10755 (initshells): Likewise.
10756 * misc/hsearch.c (__hdestroy): Likewise.
10757 * misc/sync.c (sync): Likewise.
10758 * misc/syslog.c (closelog_internal): Likewise.
10759 (closelog): Likewise.
10760 * misc/ttyslot.c (ttyslot): Likewise.
10761 * misc/vhangup.c (vhangup): Likewise.
10762 * posix/fork.c (__fork): Likewise.
10763 * posix/getegid.c (__getegid): Likewise.
10764 * posix/geteuid.c (__geteuid): Likewise.
10765 * posix/getgid.c (__getgid): Likewise.
10766 * posix/getpid.c (__getpid): Likewise.
10767 * posix/getppid.c (__getppid): Likewise.
10768 * posix/getuid.c (__getuid): Likewise.
10769 * posix/pause.c (pause): Likewise.
10770 * posix/setpgrp.c (setpgrp): Likewise.
10771 * posix/setsid.c (__setsid): Likewise.
10772 * posix/test-vfork.c (noop): Likewise.
10773 * resolv/gethnamaddr.c (_endhtent): Likewise.
10774 (_gethtent): Likewise.
10775 (ht_endhostent): Likewise.
10776 (gethostent): Likewise.
10777 (dns_service): Likewise.
10778 * stdlib/drand48.c (drand48): Likewise.
10779 * stdlib/lrand48.c (lrand48): Likewise.
10780 * stdlib/mrand48.c (mrand48): Likewise.
10781 * stdlib/rand.c (rand): Likewise.
10782 * stdlib/random.c (__random): Likewise.
10783 * stdlib/setenv.c (clearenv): Likewise.
10784 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10785 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10786 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10787 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10788 (__get_nprocs): Likewise.
10789 (__get_phys_pages): Likewise.
10790 (__get_avphys_pages): Likewise.
10791 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10792 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10793 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10794 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10795 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10796 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10797 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10798 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10799 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10800 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10801 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10802 * sysdeps/mach/hurd/sync.c (sync): Likewise.
10803 * sysdeps/posix/clock.c (clock): Likewise.
10804 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10805 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10806 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10807 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10808 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10810 (__get_nprocs_conf): Likewise.
10811 (__get_phys_pages): Likewise.
10812 (__get_avphys_pages): Likewise.
10813 * time/clock.c (clock): Likewise.
10814 * time/tzset.c (__tzname_max): Likewise.
10816 2013-06-07 Joseph Myers <joseph@codesourcery.com>
10818 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10819 (__bswap_32): Do not use "register".
10820 * crypt/crypt.c (_ufc_doit_r): Likewise.
10821 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10822 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10823 * gmon/gmon.c (__monstartup): Likewise.
10824 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10825 * hurd/hurdmalloc.c (more_memory): Likewise.
10826 (malloc): Likewise.
10828 (realloc): Likewise.
10829 (malloc_fork_prepare): Likewise.
10830 (malloc_fork_parent): Likewise.
10831 (malloc_fork_child): Likewise.
10832 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10833 (_svcauth_des): Likewise.
10834 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10835 * inet/inet_net.c (inet_network): Likewise.
10836 * inet/inet_netof.c (inet_netof): Likewise.
10837 * inet/rcmd.c (__validuser2_sa): Likewise.
10838 * io/fts.c (fts_open): Likewise.
10839 (fts_load): Likewise.
10840 (fts_close): Likewise.
10841 (fts_read): Likewise.
10842 (fts_children): Likewise.
10843 (fts_build): Likewise.
10844 (fts_stat): Likewise.
10845 (fts_sort): Likewise.
10846 (fts_alloc): Likewise.
10847 (fts_lfree): Likewise.
10848 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10849 (_IO_file_xsgetn): Likewise.
10850 (_IO_file_xsgetn_mmap): Likewise.
10851 * libio/iofopncook.c (_IO_cookie_read): Likewise.
10852 (_IO_cookie_write): Likewise.
10853 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10854 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10855 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10856 * malloc/obstack.c (_obstack_begin): Likewise.
10857 (_obstack_begin_1): Likewise.
10858 (_obstack_newchunk): Likewise.
10859 (_obstack_allocated_p): Likewise.
10860 (obstack_free): Likewise.
10861 (_obstack_memory_used): Likewise.
10862 * misc/getttyent.c (getttynam): Likewise.
10863 (getttyent): Likewise.
10866 * misc/getusershell.c (initshells): Likewise.
10867 * misc/syslog.c (__vsyslog_chk): Likewise.
10868 * misc/ttyslot.c (ttyslot): Likewise.
10869 * nis/nis_hash.c (__nis_hash): Likewise.
10870 * posix/fnmatch_loop.c (FCT): Likewise.
10871 * posix/getconf.c (print_all): Likewise.
10873 * posix/getopt.c (exchange): Likewise.
10874 * posix/glob.c (globfree): Likewise.
10875 (prefix_array): Likewise.
10876 (__glob_pattern_type): Likewise.
10877 * resolv/arpa/nameser.h (NS_GET16): Likewise.
10878 (NS_GET32): Likewise.
10879 (NS_PUT16): Likewise.
10880 (NS_PUT32): Likewise.
10881 * resolv/gethnamaddr.c (getanswer): Likewise.
10882 (gethostbyname2): Likewise.
10883 (gethostbyaddr): Likewise.
10884 (_gethtent): Likewise.
10885 (_gethtbyname2): Likewise.
10886 (_gethtbyaddr): Likewise.
10887 * resolv/ns_print.c (dst_s_get_int16): Likewise.
10888 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10889 * resolv/res_init.c (__res_vinit): Likewise.
10890 (net_mask): Likewise.
10891 * resolv/res_mkquery.c (outchar): Likewise.
10893 * stdio-common/printf_fp.c (outchar): Likewise.
10895 * stdio-common/printf_fphex.c (outchar): Likewise.
10897 * stdio-common/printf_size.c (outchar): Likewise.
10899 * stdio-common/test_rdwr.c (main): Likewise.
10900 * stdio-common/tfformat.c (matches): Likewise.
10901 * stdio-common/vfprintf.c (outchar): Likewise.
10902 (printf_unknown): Likewise.
10903 (buffered_vfprintf): Likewise.
10904 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10905 * stdio-common/xbug.c (AppendToBuffer): Likewise.
10906 (ReadFile): Likewise.
10907 * stdlib/qsort.c (SWAP): Likewise.
10908 (_quicksort): Likewise.
10909 * stdlib/setenv.c (__add_to_environ): Likewise.
10910 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10911 * stdlib/strtol_l.c (__strtol_l): Likewise.
10912 * stdlib/tst-strtod.c (main): Likewise.
10913 * stdlib/tst-strtol.c (main): Likewise.
10914 * stdlib/tst-strtoll.c (main): Likewise.
10915 * string/bits/string2.h (__strcmp_cc): Likewise.
10916 (__strcmp_cg): Likewise.
10917 (__strcspn_c1): Likewise.
10918 (__strcspn_c2): Likewise.
10919 (__strcspn_c3): Likewise.
10920 (__strspn_c1): Likewise.
10921 (__strspn_c2): Likewise.
10922 (__strspn_c3): Likewise.
10923 (__strsep_1c): Likewise.
10924 (__strsep_2c): Likewise.
10925 (__strsep_3c): Likewise.
10926 * string/memccpy.c (__memccpy): Likewise.
10927 * string/stpcpy.c (__stpcpy): Likewise.
10928 * string/strcmp.c (strcmp): Likewise.
10929 * string/strrchr.c (strrchr): Likewise.
10930 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
10932 * sysdeps/mach/hurd/getcwd.c
10933 (_hurd_canonicalize_directory_name_internal): Likewise.
10934 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
10935 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
10936 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
10937 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
10938 Likewise, in both definitions.
10939 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
10941 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
10942 64] (__bswap_64): Likewise.
10943 * time/test_time.c (main): Likewise.
10944 * time/tzfile.c (__tzfile_read): Likewise.
10945 (__tzfile_compute): Likewise.
10946 * time/tzset.c (__tzset_parse_tz): Likewise.
10947 (tzset_internal): Likewise.
10948 (compute_change): Likewise.
10949 * wcsmbs/wcscat.c (__wcscat): Likewise.
10950 * wcsmbs/wcschr.c (wcschr): Likewise.
10951 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10952 * wcsmbs/wcscspn.c (wcscspn): Likewise.
10953 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10954 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
10955 * wcsmbs/wcsspn.c (wcsspn): Likewise.
10956 * wcsmbs/wcsstr.c (wcsstr): Likewise.
10957 * wcsmbs/wmemchr.c (wmemchr): Likewise.
10958 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10959 * wcsmbs/wmemset.c (wmemset): Likewise.
10961 2013-06-06 Joseph Myers <joseph@codesourcery.com>
10963 * scripts/config.guess: Update to version 2013-05-16.
10964 * scripts/config.sub: Update to version 2013-04-24.
10965 * scripts/install-sh: Update to version 2011-11-20.07.
10966 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
10967 * scripts/move-if-change: Update to version 2012-01-06 07:23.
10969 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
10971 * debug/fgetws_u_chk.c: Fix leading whitespaces.
10972 * elf/sln.c: Likewise.
10973 * hurd/hurd/ioctl.h: Likewise.
10974 * hurd/hurdmalloc.c: Likewise.
10975 * hurd/xattr.c: Likewise.
10976 * include/shlib-compat.h: Likewise.
10977 * inet/ruserpass.c: Likewise.
10978 * libio/iofgets_u.c: Likewise.
10979 * libio/iofgetws_u.c: Likewise.
10980 * locale/programs/ld-identification.c: Likewise.
10981 * locale/programs/ld-time.c: Likewise.
10982 * mach/msg-destroy.c: Likewise.
10983 * nss/nss_files/files-netgrp.c: Likewise.
10984 * resolv/res_data.c: Likewise.
10985 * soft-fp/op-1.h: Likewise.
10986 * soft-fp/op-2.h: Likewise.
10987 * soft-fp/op-4.h: Likewise.
10988 * soft-fp/op-common.h: Likewise.
10989 * stdio-common/printf_fphex.c: Likewise.
10990 * stdlib/strtod_l.c: Likewise.
10991 * sunrpc/rpc/clnt.h: Likewise.
10992 * sysdeps/generic/framestate.c: Likewise.
10993 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10994 * sysdeps/i386/bsd-setjmp.S: Likewise.
10995 * sysdeps/i386/__longjmp.S: Likewise.
10996 * sysdeps/i386/setjmp.S: Likewise.
10997 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10998 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10999 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11015 * sysdeps/ieee754/support.c: Likewise.
11016 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11017 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11018 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11019 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11020 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11021 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11022 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11023 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11024 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11025 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11026 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11027 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11028 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11029 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11030 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11031 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11032 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11035 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
11037 * posix/transbug.c: Remove executable mode.
11039 2013-06-05 Joseph Myers <joseph@codesourcery.com>
11041 * crypt/speeds.c: Remove trailing whitespace.
11042 * dlfcn/default.c: Likewise.
11043 * elf/ifuncdep2.c: Likewise.
11044 * elf/ifuncmain1.c: Likewise.
11045 * elf/ifuncmain1vis.c: Likewise.
11046 * elf/testobj.h: Likewise.
11047 * elf/tst-stackguard1.c: Likewise.
11048 * gmon/sys/gmon.h: Likewise.
11049 * hurd/hurdmsg.c: Likewise.
11050 * hurd/new-fd.c: Likewise.
11051 * hurd/ports-get.c: Likewise.
11052 * iconvdata/ibm1008_420.c: Likewise.
11053 * inet/tst-getni1.c: Likewise.
11054 * inet/tst-getni2.c: Likewise.
11055 * libio/ioungetc.c: Likewise.
11056 * libio/wfiledoalloc.c: Likewise.
11057 * manual/libm-err-tab.pl: Likewise.
11058 * math/w_dremf.c: Likewise.
11059 * misc/ftruncate.c: Likewise.
11060 * posix/bug-glob2.c: Likewise.
11061 * posix/tst-pcre.c: Likewise.
11062 * posix/wait4.c: Likewise.
11063 * resolv/README: Likewise.
11064 * resolv/res_debug.h: Likewise.
11065 * resolv/tst-inet_ntop.c: Likewise.
11066 * setjmp/bug269-setjmp.c: Likewise.
11067 * soft-fp/extended.h: Likewise.
11068 * soft-fp/op-1.h: Likewise.
11069 * soft-fp/op-2.h: Likewise.
11070 * soft-fp/op-4.h: Likewise.
11071 * soft-fp/op-8.h: Likewise.
11072 * soft-fp/testit.c: Likewise.
11073 * stdio-common/bug16.c: Likewise.
11074 * stdlib/random.c: Likewise.
11075 * sunrpc/rpcsvc/rquota.x: Likewise.
11076 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11077 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11078 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11079 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11080 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11081 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11082 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11083 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11084 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11085 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11086 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11105 * sysdeps/ieee754/s_lib_version.c: Likewise.
11106 * sysdeps/mach/hurd/check_fds.c: Likewise.
11107 * sysdeps/mach/hurd/getsockname.c: Likewise.
11108 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11109 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11110 * sysdeps/powerpc/bits/link.h: Likewise.
11111 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11112 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11113 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11114 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11115 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11116 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11117 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11118 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11119 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11120 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11121 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11122 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11123 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11124 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11125 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11126 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11127 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11128 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11129 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11130 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11131 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11132 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11133 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11134 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11135 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11136 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11137 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11138 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11139 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11140 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11141 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11142 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11143 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11145 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11146 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11147 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11148 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11149 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11150 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11151 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11152 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11153 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11154 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11155 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11156 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11157 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11158 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11159 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11160 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11163 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11164 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11165 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11166 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11167 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11168 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11169 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11170 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11171 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11172 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11173 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11174 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11175 * sysdeps/powerpc/sysdep.h: Likewise.
11176 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11177 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11178 * sysdeps/sh/dl-trampoline.S: Likewise.
11179 * sysdeps/sh/memset.S: Likewise.
11180 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11181 * sysdeps/sh/strlen.S: Likewise.
11182 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11183 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11184 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11185 * sysdeps/sparc/sparc32/rem.S: Likewise.
11186 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11187 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11188 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11189 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11190 * sysdeps/sparc/sparc32/urem.S: Likewise.
11191 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11192 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11193 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11194 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11195 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11196 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11197 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11198 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11199 * sysdeps/unix/bsd/times.c: Likewise.
11200 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11201 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11205 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11206 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11207 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11208 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11209 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11210 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11211 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11212 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11213 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11214 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11215 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11216 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11217 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11218 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11219 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11220 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11221 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11222 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11223 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11224 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11225 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11226 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11227 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11228 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11229 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11230 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11231 * sysdeps/x86_64/strcspn.S: Likewise.
11233 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11235 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11236 generated file. Regenerate properly from gen-translit.pl.
11237 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11238 locale/C-translit.h.
11240 2013-06-05 Andreas Schwab <schwab@suse.de>
11243 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11244 week as 6 instead of -1.
11245 * time/tst-strptime.c (day_tests): Add test case.
11247 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11249 * sysdeps/generic/math_private.h
11250 (libc_feholdexcept_setround_53bit): Replace with
11251 libc_feholdsetround_53bit.
11252 (libc_feupdateenv_53bit): Replace with
11253 libc_feresetround_53bit.
11254 (SET_RESTORE_ROUND_53BIT): Adjust.
11256 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11258 * string/test-strchrnul.c: Add copyright header.
11260 * posix/tst-getaddrinfo4.c: Increase test timeout.
11262 2013-06-03 Carlos O'Donell <carlos@redhat.com>
11265 * math/libm-test.inc (MAX_EXP): Remove
11267 (ulp): Use MIN_EXP - MANT_DIG.
11268 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11270 2013-05-31 Carlos O'Donell <carlos@redhat.com>
11272 * po/be.po: Revert last change.
11273 * po/zh_CN.po: Likewise.
11274 * po/header.pot: Likewise.
11276 2013-05-31 Joseph Myers <joseph@codesourcery.com>
11278 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11279 link-libc-deps to empty as target-specific variable.
11280 * Makerules (link-libc-args): New variable.
11281 (libc-for-link): Likewise.
11282 (link-libc-deps): Likewise.
11283 (lib%.so): Depend on $(link-libc-deps). Link with
11285 (build-module): Link with $(link-libc-args).
11286 (build-module-asneeded): Likewise.
11287 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11289 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11290 target-specific variable.
11291 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11292 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11293 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11295 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11297 ($(objpfx)libpcprofile.so): Likewise.
11298 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11300 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11301 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11302 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11304 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11305 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11306 * login/Makefile ($(objpfx)libutil.so): Likewise.
11307 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11308 * math/Makefile ($(objpfx)libm.so): Likewise.
11309 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11310 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11311 variable instead of depending directly on libc.
11312 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11313 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11315 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11317 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11318 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11319 ($(objpfx)libanl.so): Likewise.
11320 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11322 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11324 * sysdeps/i386/fpu/Makefile: Remove file.
11325 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11326 ($(objpfx)libm.so): Remove dependency on ld.so.
11328 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
11331 * nis/yp_xdr.c (XDRMAXNAME): Define.
11332 (XDRMAXRECORD): Define.
11333 (xdr_domainname): Use XDRMAXNAME.
11334 (xdr_mapname): Likewise.
11335 (xdr_peername): Likewise.
11336 (xdr_keydat): Use XDRMAXRECORD.
11337 (xdr_valdat): Likewise.
11339 2013-05-30 Jeff Law <law@redhat.com>
11342 * manual/errno.texi (ESTALE): Update to account for more than
11343 just NFS file systems.
11344 * sysdeps/gnu/errlist.c: Regenerated.
11346 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11349 * elf/Makefile (tests): Add tst-null-argv.
11350 (modules-names): Add tst-null-argv-lib.
11351 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11352 (tst-null-argv-ENV): Set environment for tst-null-argv.
11353 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11354 (RTLD_PROGNAME): New macro.
11355 * elf/tst-null-argv.c: New test case.
11356 * elf/tst-null-argv-lib.c: Library for test case.
11357 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11358 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11359 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11360 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11361 * elf/dl-init.c (call_init): Likewise.
11362 (_dl_init): Likewise.
11363 * elf/dl-load.c (print_search_path): Likewise.
11364 (_dl_map_object): Likewise.
11365 * elf/dl-lookup.c (do_lookup_x): Likewise.
11366 (add_dependency): Likewise.
11367 (_dl_lookup_symbol_x): Likewise.
11368 (_dl_debug_bindings): Likewise.
11369 * elf/dl-open.c (_dl_show_scope): Likewise.
11370 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11371 * elf/dl-version.c (match_symbol): Likewise.
11372 (_dl_check_map_versions): Likewise.
11373 * elf/rtld.c (dl_main): Likewise.
11374 (print_unresolved): Use RTLD_PROGNAME.
11375 (print_missing_version): Likewise.
11376 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11377 (elf_machine_rela): Likewise.
11378 * sysdeps/powerpc/powerpc32/dl-machine.c
11379 (__process_machine_rela): Likewise.
11380 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11382 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11384 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11386 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11393 2013-05-28 Carlos O'Donell <carlos@redhat.com>
11395 * po/be.po: Add descriptive title.
11396 * po/zh_CN.po: Likewise.
11397 * po/header.pot: Likewise.
11399 2013-05-28 Mike Frysinger <vapier@gentoo.org>
11401 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11403 (enlarge_archive): Likewise.
11405 2013-05-28 Ben North <ben@redfrontdoor.org>
11407 * manual/arith.texi (frexp): It is the magnitude of the return
11408 value which lies in [0.5, 1), not the return value itself.
11410 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11414 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11416 * stdio-common/bug26.c (main): Correct fscanf template.
11418 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11419 declare _dl_skip_args.
11421 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11424 * manual/platform.texi: Add missing @end deftypefun.
11426 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11429 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11430 bit of mantissa of 2^16382.
11431 * math/libm-test.inc (hypot_test_data): Add more tests.
11433 * math/libm-test.inc: Add drem and pow10 to list of tested
11435 (pow10_test): New function.
11436 (drem_test): Likewise.
11437 (drem_test_tonearest): Likewise.
11438 (drem_test_towardzero): Likewise.
11439 (drem_test_downward): Likewise.
11440 (drem_test_upward): Likewise.
11441 (main): Call the new functions.
11443 * math/libm-test.inc (finite_test_data): Remove.
11444 (finite_test): Run tests from isfinite_test_data.
11445 (gamma_test_data): Remove.
11446 (gamma_test): Run tests from lgamma_test_data.
11447 * sysdeps/i386/fpu/libm-test-ulps: Update.
11448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11450 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11452 * manual/platform.texi: Add PowerPC PPR function set documentation.
11453 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11456 2013-05-24 Carlos O'Donell <carlos@redhat.com>
11458 * math/libm-test.inc (MAX_EXP): Define.
11460 (ulp): New function.
11461 (check_float_internal): Use ULPDIFF.
11462 (cpow_test): Disable failing test.
11463 (check_ulp): Test ulp() implemetnation.
11464 (main): Call check_ulp before starting tests.
11466 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11468 * math/gen-libm-test.pl (generate_testfile): Do not handle
11469 START_DATA and END_DATA.
11470 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11472 (acos_tonearest_test_data): Likewise.
11473 (acos_towardzero_test_data): Likewise.
11474 (acos_downward_test_data): Likewise.
11475 (acos_upward_test_data): Likewise.
11476 (acosh_test_data): Likewise.
11477 (asin_test_data): Likewise.
11478 (asin_tonearest_test_data): Likewise.
11479 (asin_towardzero_test_data): Likewise.
11480 (asin_downward_test_data): Likewise.
11481 (asin_upward_test_data): Likewise.
11482 (asinh_test_data): Likewise.
11483 (atan_test_data): Likewise.
11484 (atanh_test_data): Likewise.
11485 (atan2_test_data): Likewise.
11486 (cabs_test_data): Likewise.
11487 (cacos_test_data): Likewise.
11488 (cacosh_test_data): Likewise.
11489 (carg_test_data): Likewise.
11490 (casin_test_data): Likewise.
11491 (casinh_test_data): Likewise.
11492 (catan_test_data): Likewise.
11493 (catanh_test_data): Likewise.
11494 (cbrt_test_data): Likewise.
11495 (ccos_test_data): Likewise.
11496 (ccosh_test_data): Likewise.
11497 (ceil_test_data): Likewise.
11498 (cexp_test_data): Likewise.
11499 (cimag_test_data): Likewise.
11500 (clog_test_data): Likewise.
11501 (clog10_test_data): Likewise.
11502 (conj_test_data): Likewise.
11503 (copysign_test_data): Likewise.
11504 (cos_test_data): Likewise.
11505 (cos_tonearest_test_data): Likewise.
11506 (cos_towardzero_test_data): Likewise.
11507 (cos_downward_test_data): Likewise.
11508 (cos_upward_test_data): Likewise.
11509 (cosh_test_data): Likewise.
11510 (cosh_tonearest_test_data): Likewise.
11511 (cosh_towardzero_test_data): Likewise.
11512 (cosh_downward_test_data): Likewise.
11513 (cosh_upward_test_data): Likewise.
11514 (cpow_test_data): Likewise.
11515 (cproj_test_data): Likewise.
11516 (creal_test_data): Likewise.
11517 (csin_test_data): Likewise.
11518 (csinh_test_data): Likewise.
11519 (csqrt_test_data): Likewise.
11520 (ctan_test_data): Likewise.
11521 (ctan_tonearest_test_data): Likewise.
11522 (ctan_towardzero_test_data): Likewise.
11523 (ctan_downward_test_data): Likewise.
11524 (ctan_upward_test_data): Likewise.
11525 (ctanh_test_data): Likewise.
11526 (ctanh_tonearest_test_data): Likewise.
11527 (ctanh_towardzero_test_data): Likewise.
11528 (ctanh_downward_test_data): Likewise.
11529 (ctanh_upward_test_data): Likewise.
11530 (erf_test_data): Likewise.
11531 (erfc_test_data): Likewise.
11532 (exp_test_data): Likewise.
11533 (exp_tonearest_test_data): Likewise.
11534 (exp_towardzero_test_data): Likewise.
11535 (exp_downward_test_data): Likewise.
11536 (exp_upward_test_data): Likewise.
11537 (exp10_test_data): Likewise.
11538 (exp2_test_data): Likewise.
11539 (expm1_test_data): Likewise.
11540 (fabs_test_data): Likewise.
11541 (fdim_test_data): Likewise.
11542 (finite_test_data): Likewise.
11543 (floor_test_data): Likewise.
11544 (fma_test_data): Likewise.
11545 (fma_towardzero_test_data): Likewise.
11546 (fma_downward_test_data): Likewise.
11547 (fma_upward_test_data): Likewise.
11548 (fmax_test_data): Likewise.
11549 (fmin_test_data): Likewise.
11550 (fmod_test_data): Likewise.
11551 (fpclassify_test_data): Likewise.
11552 (frexp_test_data): Likewise.
11553 (gamma_test_data): Likewise.
11554 (hypot_test_data): Likewise.
11555 (ilogb_test_data): Likewise.
11556 (isfinite_test_data): Likewise.
11557 (isgreater_test_data): Likewise.
11558 (isgreaterequal_test_data): Likewise.
11559 (isinf_test_data): Likewise.
11560 (isless_test_data): Likewise.
11561 (islessequal_test_data): Likewise.
11562 (islessgreater_test_data): Likewise.
11563 (isnan_test_data): Likewise.
11564 (isnormal_test_data): Likewise.
11565 (issignaling_test_data): Likewise.
11566 (isunordered_test_data): Likewise.
11567 (j0_test_data): Likewise.
11568 (j1_test_data): Likewise.
11569 (jn_test_data): Likewise.
11570 (ldexp_test_data): Likewise.
11571 (lgamma_test_data): Likewise.
11572 (lrint_test_data): Likewise.
11573 (lrint_tonearest_test_data): Likewise.
11574 (lrint_towardzero_test_data): Likewise.
11575 (lrint_downward_test_data): Likewise.
11576 (lrint_upward_test_data): Likewise.
11577 (llrint_test_data): Likewise.
11578 (llrint_tonearest_test_data): Likewise.
11579 (llrint_towardzero_test_data): Likewise.
11580 (llrint_downward_test_data): Likewise.
11581 (llrint_upward_test_data): Likewise.
11582 (log_test_data): Likewise.
11583 (log10_test_data): Likewise.
11584 (log1p_test_data): Likewise.
11585 (log2_test_data): Likewise.
11586 (logb_test_data): Likewise.
11587 (logb_downward_test_data): Likewise.
11588 (lround_test_data): Likewise.
11589 (llround_test_data): Likewise.
11590 (modf_test_data): Likewise.
11591 (nearbyint_test_data): Likewise.
11592 (nextafter_test_data): Likewise.
11593 (nexttoward_test_data): Likewise.
11594 (pow_test_data): Likewise.
11595 (pow_tonearest_test_data): Likewise.
11596 (pow_towardzero_test_data): Likewise.
11597 (pow_downward_test_data): Likewise.
11598 (pow_upward_test_data): Likewise.
11599 (remainder_test_data): Likewise.
11600 (remainder_tonearest_test_data): Likewise.
11601 (remainder_towardzero_test_data): Likewise.
11602 (remainder_downward_test_data): Likewise.
11603 (remainder_upward_test_data): Likewise.
11604 (remquo_test_data): Likewise.
11605 (rint_test_data): Likewise.
11606 (rint_tonearest_test_data): Likewise.
11607 (rint_towardzero_test_data): Likewise.
11608 (rint_downward_test_data): Likewise.
11609 (rint_upward_test_data): Likewise.
11610 (round_test_data): Likewise.
11611 (scalb_test_data): Likewise.
11612 (scalbn_test_data): Likewise.
11613 (scalbln_test_data): Likewise.
11614 (signbit_test_data): Likewise.
11615 (sin_test_data): Likewise.
11616 (sin_tonearest_test_data): Likewise.
11617 (sin_towardzero_test_data): Likewise.
11618 (sin_downward_test_data): Likewise.
11619 (sin_upward_test_data): Likewise.
11620 (sincos_test_data): Likewise.
11621 (sinh_test_data): Likewise.
11622 (sinh_tonearest_test_data): Likewise.
11623 (sinh_towardzero_test_data): Likewise.
11624 (sinh_downward_test_data): Likewise.
11625 (sinh_upward_test_data): Likewise.
11626 (sqrt_test_data): Likewise.
11627 (tan_test_data): Likewise.
11628 (tan_tonearest_test_data): Likewise.
11629 (tan_towardzero_test_data): Likewise.
11630 (tan_downward_test_data): Likewise.
11631 (tan_upward_test_data): Likewise.
11632 (tanh_test_data): Likewise.
11633 (tgamma_test_data): Likewise.
11634 (trunc_test_data): Likewise.
11635 (y0_test_data): Likewise.
11636 (y1_test_data): Likewise.
11637 (yn_test_data): Likewise.
11638 (significand_test_data): Likewise.
11640 * math/gen-libm-test.pl (@functions): Remove variable.
11641 (generate_testfile): Don't handle START and END lines.
11642 * math/libm-test.inc (START): New macro.
11644 (END_COMPLEX): Likewise.
11645 (acos_test): Use END macro without arguments.
11646 (acos_test_tonearest): Likewise.
11647 (acos_test_towardzero): Likewise.
11648 (acos_test_downward): Likewise.
11649 (acos_test_upward): Likewise.
11650 (acosh_test): Likewise.
11651 (asin_test): Likewise.
11652 (asin_test_tonearest): Likewise.
11653 (asin_test_towardzero): Likewise.
11654 (asin_test_downward): Likewise.
11655 (asin_test_upward): Likewise.
11656 (asinh_test): Likewise.
11657 (atan_test): Likewise.
11658 (atanh_test): Likewise.
11659 (atan2_test): Likewise.
11660 (cabs_test): Likewise.
11661 (cacos_test): Use END_COMPLEX macro without arguments.
11662 (cacosh_test): Likewise.
11663 (carg_test): Use END macro without arguments.
11664 (casin_test): Use END_COMPLEX macro without arguments.
11665 (casinh_test): Likewise.
11666 (catan_test): Likewise.
11667 (catanh_test): Likewise.
11668 (cbrt_test): Use END macro without arguments.
11669 (ccos_test): Use END_COMPLEX macro without arguments.
11670 (ccosh_test): Likewise.
11671 (ceil_test): Use END macro without arguments.
11672 (cexp_test): Use END_COMPLEX macro without arguments.
11673 (cimag_test): Use END macro without arguments.
11674 (clog_test): Use END_COMPLEX macro without arguments.
11675 (clog10_test): Likewise.
11676 (conj_test): Likewise.
11677 (copysign_test): Use END macro without arguments.
11678 (cos_test): Likewise.
11679 (cos_test_tonearest): Likewise.
11680 (cos_test_towardzero): Likewise.
11681 (cos_test_downward): Likewise.
11682 (cos_test_upward): Likewise.
11683 (cosh_test): Likewise.
11684 (cosh_test_tonearest): Likewise.
11685 (cosh_test_towardzero): Likewise.
11686 (cosh_test_downward): Likewise.
11687 (cosh_test_upward): Likewise.
11688 (cpow_test): Use END_COMPLEX macro without arguments.
11689 (cproj_test): Likewise.
11690 (creal_test): Use END macro without arguments.
11691 (csin_test): Use END_COMPLEX macro without arguments.
11692 (csinh_test): Likewise.
11693 (csqrt_test): Likewise.
11694 (ctan_test): Likewise.
11695 (ctan_test_tonearest): Likewise.
11696 (ctan_test_towardzero): Likewise.
11697 (ctan_test_downward): Likewise.
11698 (ctan_test_upward): Likewise.
11699 (ctanh_test): Likewise.
11700 (ctanh_test_tonearest): Likewise.
11701 (ctanh_test_towardzero): Likewise.
11702 (ctanh_test_downward): Likewise.
11703 (ctanh_test_upward): Likewise.
11704 (erf_test): Use END macro without arguments.
11705 (erfc_test): Likewise.
11706 (exp_test): Likewise.
11707 (exp_test_tonearest): Likewise.
11708 (exp_test_towardzero): Likewise.
11709 (exp_test_downward): Likewise.
11710 (exp_test_upward): Likewise.
11711 (exp10_test): Likewise.
11712 (exp2_test): Likewise.
11713 (expm1_test): Likewise.
11714 (fabs_test): Likewise.
11715 (fdim_test): Likewise.
11716 (finite_test): Likewise.
11717 (floor_test): Likewise.
11718 (fma_test): Likewise.
11719 (fma_test_towardzero): Likewise.
11720 (fma_test_downward): Likewise.
11721 (fma_test_upward): Likewise.
11722 (fmax_test): Likewise.
11723 (fmin_test): Likewise.
11724 (fmod_test): Likewise.
11725 (fpclassify_test): Likewise.
11726 (frexp_test): Likewise.
11727 (gamma_test): Likewise.
11728 (hypot_test): Likewise.
11729 (ilogb_test): Likewise.
11730 (isfinite_test): Likewise.
11731 (isgreater_test): Likewise.
11732 (isgreaterequal_test): Likewise.
11733 (isinf_test): Likewise.
11734 (isless_test): Likewise.
11735 (islessequal_test): Likewise.
11736 (islessgreater_test): Likewise.
11737 (isnan_test): Likewise.
11738 (isnormal_test): Likewise.
11739 (issignaling_test): Likewise.
11740 (isunordered_test): Likewise.
11741 (j0_test): Likewise.
11742 (j1_test): Likewise.
11743 (jn_test): Likewise.
11744 (ldexp_test): Likewise.
11745 (lgamma_test): Likewise.
11746 (lrint_test): Likewise.
11747 (lrint_test_tonearest): Likewise.
11748 (lrint_test_towardzero): Likewise.
11749 (lrint_test_downward): Likewise.
11750 (lrint_test_upward): Likewise.
11751 (llrint_test): Likewise.
11752 (llrint_test_tonearest): Likewise.
11753 (llrint_test_towardzero): Likewise.
11754 (llrint_test_downward): Likewise.
11755 (llrint_test_upward): Likewise.
11756 (log_test): Likewise.
11757 (log10_test): Likewise.
11758 (log1p_test): Likewise.
11759 (log2_test): Likewise.
11760 (logb_test): Likewise.
11761 (logb_test_downward): Likewise.
11762 (lround_test): Likewise.
11763 (llround_test): Likewise.
11764 (modf_test): Likewise.
11765 (nearbyint_test): Likewise.
11766 (nextafter_test): Likewise.
11767 (nexttoward_test): Likewise.
11768 (pow_test): Likewise.
11769 (pow_test_tonearest): Likewise.
11770 (pow_test_towardzero): Likewise.
11771 (pow_test_downward): Likewise.
11772 (pow_test_upward): Likewise.
11773 (remainder_test): Likewise.
11774 (remainder_test_tonearest): Likewise.
11775 (remainder_test_towardzero): Likewise.
11776 (remainder_test_downward): Likewise.
11777 (remainder_test_upward): Likewise.
11778 (remquo_test): Likewise.
11779 (rint_test): Likewise.
11780 (rint_test_tonearest): Likewise.
11781 (rint_test_towardzero): Likewise.
11782 (rint_test_downward): Likewise.
11783 (rint_test_upward): Likewise.
11784 (round_test): Likewise.
11785 (scalb_test): Likewise.
11786 (scalbn_test): Likewise.
11787 (scalbln_test): Likewise.
11788 (signbit_test): Likewise.
11789 (sin_test): Likewise.
11790 (sin_test_tonearest): Likewise.
11791 (sin_test_towardzero): Likewise.
11792 (sin_test_downward): Likewise.
11793 (sin_test_upward): Likewise.
11794 (sincos_test): Likewise.
11795 (sinh_test): Likewise.
11796 (sinh_test_tonearest): Likewise.
11797 (sinh_test_towardzero): Likewise.
11798 (sinh_test_downward): Likewise.
11799 (sinh_test_upward): Likewise.
11800 (sqrt_test): Likewise.
11801 (tan_test): Likewise.
11802 (tan_test_tonearest): Likewise.
11803 (tan_test_towardzero): Likewise.
11804 (tan_test_downward): Likewise.
11805 (tan_test_upward): Likewise.
11806 (tanh_test): Likewise.
11807 (tgamma_test): Likewise.
11808 (trunc_test): Likewise.
11809 (y0_test): Likewise.
11810 (y1_test): Likewise.
11811 (yn_test): Likewise.
11812 (significand_test): Likewise.
11814 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
11817 * libio/genops.c (_IO_no_init): Initialize wide struct info.
11819 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
11822 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11823 __ppc_mdoio and __ppc_mdoom.
11824 * manual/platform.texi: Document new functions __ppc_yield,
11825 __ppc_mdoio and __ppc_mdoom.
11827 2013-05-22 Carlos O'Donell <carlos@redhat.com>
11829 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11830 (main): Mention "tls" pseudo-hwcap is legacy.
11831 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11833 2013-05-22 Joseph Myers <joseph@codesourcery.com>
11835 * math/gen-libm-test.pl (parse_args): Output only string of
11836 arguments as text for test name, not full call or descriptions of
11837 tests for extra outputs.
11838 (generate_testfile): Do not pass function name to parse_args.
11839 Generate this_func variable from START.
11840 * math/libm-test.inc (struct test_f_f_data): Rename test_name
11842 (struct test_ff_f_data): Likewise.
11843 (test_ff_f_data_nexttoward): Likewise.
11844 (struct test_fi_f_data): Likewise.
11845 (struct test_fl_f_data): Likewise.
11846 (struct test_if_f_data): Likewise.
11847 (struct test_fff_f_data): Likewise.
11848 (struct test_c_f_data): Likewise.
11849 (struct test_f_f1_data): Likewise. Remove field extra_name.
11850 (struct test_fF_f1_data): Likewise.
11851 (struct test_ffI_f1_data): Likewise.
11852 (struct test_c_c_data): Rename test_name field to arg_str.
11853 (struct test_cc_c_data): Likewise.
11854 (struct test_f_i_data): Likewise.
11855 (struct test_ff_i_data): Likewise.
11856 (struct test_f_l_data): Likewise.
11857 (struct test_f_L_data): Likewise.
11858 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
11860 (COMMON_TEST_SETUP): New macro.
11861 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11862 (COMMON_TEST_CLEANUP): Likewise.
11863 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11864 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
11866 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11867 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
11869 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11870 (RUN_TEST_fff_f): Take argument string. Call new setup and
11872 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11873 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
11875 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11876 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
11878 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11879 (RUN_TEST_fF_f1): Take argument string. Call new setup and
11881 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11882 (RUN_TEST_fI_f1): Take argument string. Call new setup and
11884 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11885 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
11887 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11888 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
11890 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11891 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
11893 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11894 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
11896 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11897 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
11899 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11900 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
11902 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11903 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
11905 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11906 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
11908 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11909 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
11911 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11912 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
11914 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11915 (RUN_TEST_fFF_11): Take argument string. Call new setup and
11917 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11919 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11921 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11922 to _sifields.sigfault.
11923 (si_addr_lsb): Define new macro.
11924 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11926 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
11928 2013-05-03 Carlos O'Donell <carlos at redhat.com>
11931 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
11933 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
11935 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
11936 loading the domain.
11938 2013-05-22 Joseph Myers <joseph@codesourcery.com>
11940 * math/gen-libm-test.pl (parse_args): Do not include expected
11941 result in test name.
11942 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
11943 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11944 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11945 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11946 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11949 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11951 * benchtests/Makefile: Sort function entries.
11953 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
11954 tanh, asinh, acosh, atanh.
11955 * benchtests/acos-inputs: New file.
11956 * benchtests/acosh-inputs: New file.
11957 * benchtests/asin-inputs: New file.
11958 * benchtests/asinh-inputs: New file.
11959 * benchtests/atanh-inputs: New file.
11960 * benchtests/cosh-inputs: New file.
11961 * benchtests/log-inputs: New file.
11962 * benchtests/sinh-inputs: New file.
11963 * benchtests/tanh-inputs: New file.
11965 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
11968 * posix/tst-getaddrinfo4.c: New test.
11969 * posix/Makefile (tests): Add it.
11971 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11974 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
11975 when no services were used.
11976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
11977 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
11979 2013-05-21 Andreas Schwab <schwab@suse.de>
11982 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
11983 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
11985 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
11986 redundant variable declarations and reallocation of buffer when
11987 parsing as IPv6 address. Always set NSS status when called from
11988 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
11989 buffer too small. Correct computation of needed size.
11990 * nss/Makefile (tests): Add test-digits-dots.
11991 * nss/test-digits-dots.c: New test.
11993 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11995 * benchtests/Makefile: Remove instructions for adding
11997 * benchtests/README: New file to explain how to execute and
11998 enhance the benchmark tests.
12000 2013-05-21 Andreas Schwab <schwab@suse.de>
12003 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12004 * setjmp/tst-sigsetjmp.c: New test.
12006 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12008 * sysdeps/x86_64/memset.S (memset): New implementation.
12009 (__bzero): Likewise.
12010 (__memset_tail): New function.
12012 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12014 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12015 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12016 __memcpy_sse2_unaligned ifunc selection.
12017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12018 Add memcpy-sse2-unaligned.S.
12019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12020 Add: __memcpy_sse2_unaligned.
12022 2013-05-19 Joseph Myers <joseph@codesourcery.com>
12025 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12026 math_force_eval before restoring floating-point envrionment.
12027 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12030 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12032 (__nearbyintl): Use math_force_eval before restoring
12033 floating-point environment.
12034 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12036 * math/gen-libm-test.pl (special_functions): Remove.
12037 (parse_args): Don't handle TEST_extra. Handle functions with no
12039 * math/libm-test.inc (struct test_sincos_data): Replace with
12040 struct test_fFF_11_data.
12041 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12042 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12043 (sincos_test_data): Change element type to struct
12044 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12045 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12046 RUN_TEST_LOOP_sincos.
12047 * math/README.libm-test: Don't mention special handling of
12048 individual functions.
12049 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12050 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12051 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12052 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12053 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12056 * math/gen-libm-test.pl (get_variable): Remove function.
12057 (parse_args): Don't show pointer parameters to call in test
12058 names. Use "extra output N" in test names for extra outputs
12059 rather than naming variables.
12061 2013-05-18 Joseph Myers <joseph@codesourcery.com>
12064 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12065 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12066 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12068 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12070 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12073 * math/gen-libm-test.pl (@tests): Remove variable.
12074 ($count): Likewise.
12075 (new_test): Remove function.
12076 (show_exceptions): New function.
12077 (special_functions): Use show_exceptions instead of new_test.
12078 (parse_args): Likewise.
12079 (generate_testfile): Pass only function name in generated call to
12080 print_max_error or print_complex_max_error.
12081 (get_ulps): Do not handle complex tests specially.
12082 (output_test): Rename to ...
12083 (get_all_ulps_for_test): ... this. Return a string rather than
12084 printing to a file. Require ulps to be present.
12085 (output_ulps): Generate arrays rather than #defines.
12086 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12087 (struct ulp_data): New type.
12088 (BUILD_COMPLEX_ULP): Remove macro.
12089 (compare_ulp_data): New function.
12090 (find_ulps): Likewise.
12091 (find_test_ulps): Likewise.
12092 (find_function_ulps): Likewise.
12093 (find_complex_function_ulps): Likewise.
12094 (print_max_error): Determine allowed ulps using
12095 find_function_ulps.
12096 (print_complex_max_error): Determine allowed ulps using
12097 find_complex_function_ulps.
12098 (check_float_internal): Determine max ulps using find_test_ulps.
12099 (check_float): Do not take max_ulp parameter. Update call to
12100 check_float_internal.
12101 (check_complex): Likewise.
12102 (check_int): Do not take max_ulp parameter.
12103 (check_long): Likewise.
12104 (check_bool): Likewise.
12105 (check_longlong): Likewise.
12106 (struct test_f_f_data): Remove max_ulp field.
12107 (struct test_ff_f_data): Likewise.
12108 (struct test_ff_f_data_nexttoward): Likewise.
12109 (struct test_fi_f_data): Likewise.
12110 (struct test_fl_f_data): Likewise.
12111 (struct test_if_f_data): Likewise.
12112 (struct test_fff_f_data): Likewise.
12113 (struct test_c_f_data): Likewise.
12114 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12115 (struct test_fF_f1_data): Likewise.
12116 (struct test_ffI_f1_data): Likewise.
12117 (struct test_c_c_data): Remove max_ulp field.
12118 (struct test_cc_c_data): Likewise.
12119 (struct test_f_i_data): Likewise.
12120 (struct test_ff_i_data): Likewise.
12121 (struct test_f_l_data): Likewise.
12122 (struct test_f_L_data): Likewise.
12123 (struct test_sincos_data): Likewise.
12124 (RUN_TEST_f_f): Do not handle ulps.
12125 (RUN_TEST_LOOP_f_f): Likewise.
12126 (RUN_TEST_2_f): Likewise.
12127 (RUN_TEST_LOOP_2_f): Likewise.
12128 (RUN_TEST_fff_f): Likewise.
12129 (RUN_TEST_LOOP_fff_f): Likewise.
12130 (RUN_TEST_c_f): Likewise.
12131 (RUN_TEST_LOOP_c_f): Likewise.
12132 (RUN_TEST_f_f1): Likewise.
12133 (RUN_TEST_LOOP_f_f1): Likewise.
12134 (RUN_TEST_fF_f1): Likewise.
12135 (RUN_TEST_LOOP_fF_f1): Likewise.
12136 (RUN_TEST_fI_f1): Likewise.
12137 (RUN_TEST_LOOP_fI_f1): Likewise.
12138 (RUN_TEST_ffI_f1): Likewise.
12139 (RUN_TEST_LOOP_ffI_f1): Likewise.
12140 (RUN_TEST_c_c): Likewise.
12141 (RUN_TEST_LOOP_c_c): Likewise.
12142 (RUN_TEST_cc_c): Likewise.
12143 (RUN_TEST_LOOP_cc_c): Likewise.
12144 (RUN_TEST_f_i): Likewise.
12145 (RUN_TEST_LOOP_f_i): Likewise.
12146 (RUN_TEST_f_i_tg): Likewise.
12147 (RUN_TEST_LOOP_f_i_tg): Likewise.
12148 (RUN_TEST_ff_i_tg): Likewise.
12149 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12150 (RUN_TEST_f_b): Likewise.
12151 (RUN_TEST_LOOP_f_b): Likewise.
12152 (RUN_TEST_f_b_tg): Likewise.
12153 (RUN_TEST_LOOP_f_b_tg): Likewise.
12154 (RUN_TEST_f_l): Likewise.
12155 (RUN_TEST_LOOP_f_l): Likewise.
12156 (RUN_TEST_f_L): Likewise.
12157 (RUN_TEST_LOOP_f_L): Likewise.
12158 (RUN_TEST_sincos): Likewise.
12159 (RUN_TEST_LOOP_sincos): Likewise.
12161 2013-05-17 Joseph Myers <joseph@codesourcery.com>
12165 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12166 main case of finite arguments, set rounding mode to FE_TONEAREST
12167 and discard exceptions.
12168 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12170 (remainder_tonearest_test_data): New variable.
12171 (remainder_test_tonearest): New function.
12172 (remainder_towardzero_test_data): New variable.
12173 (remainder_test_towardzero): New function.
12174 (remainder_downward_test_data): New variable.
12175 (remainder_test_downward): New function.
12176 (remainder_upward_test_data): New variable.
12177 (remainder_test_upward): New function.
12178 (main): Call the new test functions.
12180 * math/libm-test.inc (struct test_f_f1_data): Remove field
12182 (struct test_fF_f1_data): Likewise.
12183 (struct test_ffI_f1_data): Likewise.
12184 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12185 based on value of EXTRA_EXPECTED.
12186 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12187 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12188 EXTRA_VAR based on value of EXTRA_EXPECTED.
12189 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12190 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12191 EXTRA_VAR based on value of EXTRA_EXPECTED.
12192 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12193 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12194 EXTRA_VAR based on value of EXTRA_EXPECTED.
12195 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12196 * math/gen-libm-test.pl (parse_args): Don't output initializers
12197 for extra output values.
12199 * math/libm-test.inc (check_int): Expect result to be exactly
12200 equal to expected value and do not handle ulps.
12201 (check_long): Likewise.
12202 (check_longlong): Likewise.
12204 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12206 (cimag_test_data): Likewise.
12207 (conj_test_data): Likewise.
12208 (copysign_test_data): Likewise.
12209 (cproj_test_data): Likewise.
12210 (creal_test_data): Likewise.
12211 (fabs_test_data): Likewise.
12212 (fdim_test_data): Likewise.
12213 (finite_test_data): Likewise.
12214 (floor_test_data): Likewise.
12215 (fmax_test_data): Likewise.
12216 (fmin_test_data): Likewise.
12217 (fmod_test_data): Likewise.
12218 (fpclassify_test_data): Likewise.
12219 (frexp_test_data): Likewise.
12220 (ilogb_test_data): Likewise.
12221 (isfinite_test_data): Likewise.
12222 (isgreater_test_data): Likewise.
12223 (isgreaterequal_test_data): Likewise.
12224 (isinf_test_data): Likewise.
12225 (isless_test_data): Likewise.
12226 (islessequal_test_data): Likewise.
12227 (islessgreater_test_data): Likewise.
12228 (isnan_test_data): Likewise.
12229 (isnormal_test_data): Likewise.
12230 (issignaling_test_data): Likewise.
12231 (isunordered_test_data): Likewise.
12232 (ldexp_test_data): Likewise.
12233 (lrint_test_data): Likewise.
12234 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12235 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12236 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12237 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12238 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12239 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12241 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12242 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12243 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12244 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12246 (lrint_downward_test_data): Test for "inexact" exceptions.
12247 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12248 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12249 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12251 (lrint_upward_test_data): Test for "inexact" exceptions.
12252 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12254 (llrint_test_data): Test for "inexact" exceptions.
12255 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12256 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12257 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12258 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12259 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12260 (llrint_downward_test_data): Test for "inexact" exceptions.
12261 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12262 (llrint_upward_test_data): Test for "inexact" exceptions.
12263 (logb_test_data): Likewise.
12264 (logb_downward_test_data): Likewise.
12265 (nextafter_test_data): Likewise.
12266 (nexttoward_test_data): Likewise.
12267 (remainder_test_data): Likewise.
12268 (remquo_test_data): Likewise.
12269 (scalbn_test_data): Likewise.
12270 (scalbln_test_data): Likewise.
12271 (signbit_test_data): Likewise.
12272 (sqrt_test_data): Likewise.
12273 (significand_test_data): Likewise.
12275 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12278 * benchtests/bench-modf.c (struct args): Mark arg0 as
12280 * scripts/bench.pl: Mark members of struct args as volatile.
12282 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12285 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12286 negative infinity on POWER6 or lower.
12287 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12289 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12292 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12293 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12294 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12295 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12296 (_FP_SETQNAN): New macro.
12297 (_FP_SETQNAN_SEMIRAW): Likewise.
12298 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12299 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12300 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12301 (FP_EXTEND): Use _FP_FRAC_SNANP.
12302 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12303 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12305 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12307 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12310 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12312 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12313 with DIVIDE_BY_ZERO_EXCEPTION.
12314 (gamma_test_data): Likewise.
12315 (lgamma_test_data): Likewise.
12316 (log_test_data): Likewise.
12317 (log10_test_data): Likewise.
12318 (log2_test_data): Likewise.
12319 (tgamma_test_data): Likewise.
12321 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12322 (acos_test_tonearest): Likewise.
12323 (acos_test_towardzero): Likewise.
12324 (acos_test_downward): Likewise.
12325 (acos_test_upward): Likewise.
12326 (acosh_test): Likewise.
12327 (asin_test): Likewise.
12328 (asin_test_tonearest): Likewise.
12329 (asin_test_towardzero): Likewise.
12330 (asin_test_downward): Likewise.
12331 (asin_test_upward): Likewise.
12332 (asinh_test): Likewise.
12333 (atan_test): Likewise.
12334 (atanh_test): Likewise.
12335 (atan2_test): Likewise.
12336 (cabs_test): Likewise.
12337 (cacos_test): Likewise.
12338 (cacosh_test): Likewise.
12339 (casin_test): Likewise.
12340 (casinh_test): Likewise.
12341 (catan_test): Likewise.
12342 (catanh_test): Likewise.
12343 (cbrt_test): Likewise.
12344 (ccos_test): Likewise.
12345 (ccosh_test): Likewise.
12346 (cexp_test): Likewise.
12347 (clog_test): Likewise.
12348 (clog10_test): Likewise.
12349 (cos_test): Likewise.
12350 (cos_test_tonearest): Likewise.
12351 (cos_test_towardzero): Likewise.
12352 (cos_test_downward): Likewise.
12353 (cos_test_upward): Likewise.
12354 (cosh_test): Likewise.
12355 (cosh_test_tonearest): Likewise.
12356 (cosh_test_towardzero): Likewise.
12357 (cosh_test_downward): Likewise.
12358 (cosh_test_upward): Likewise.
12359 (cpow_test): Likewise.
12360 (csin_test): Likewise.
12361 (csinh_test): Likewise.
12362 (csqrt_test): Likewise.
12363 (ctan_test): Likewise.
12364 (ctan_test_tonearest): Likewise.
12365 (ctan_test_towardzero): Likewise.
12366 (ctan_test_downward): Likewise.
12367 (ctan_test_upward): Likewise.
12368 (ctanh_test): Likewise.
12369 (ctanh_test_tonearest): Likewise.
12370 (ctanh_test_towardzero): Likewise.
12371 (ctanh_test_downward): Likewise.
12372 (ctanh_test_upward): Likewise.
12373 (erf_test): Likewise.
12374 (erfc_test): Likewise.
12375 (exp_test): Likewise.
12376 (exp_test_tonearest): Likewise.
12377 (exp_test_towardzero): Likewise.
12378 (exp_test_downward): Likewise.
12379 (exp_test_upward): Likewise.
12380 (exp10_test): Likewise.
12381 (exp2_test): Likewise.
12382 (expm1_test): Likewise.
12383 (fmod_test): Likewise.
12384 (gamma_test): Likewise.
12385 (hypot_test): Likewise.
12386 (j0_test): Likewise.
12387 (j1_test): Likewise.
12388 (jn_test): Likewise.
12389 (lgamma_test): Likewise.
12390 (log_test): Likewise.
12391 (log10_test): Likewise.
12392 (log1p_test): Likewise.
12393 (log2_test): Likewise.
12394 (logb_test_downward): Likewise.
12395 (pow_test): Likewise.
12396 (pow_test_tonearest): Likewise.
12397 (pow_test_towardzero): Likewise.
12398 (pow_test_downward): Likewise.
12399 (pow_test_upward): Likewise.
12400 (remainder_test): Likewise.
12401 (remquo_test): Likewise.
12402 (sin_test): Likewise.
12403 (sin_test_tonearest): Likewise.
12404 (sin_test_towardzero): Likewise.
12405 (sin_test_downward): Likewise.
12406 (sin_test_upward): Likewise.
12407 (sincos_test): Likewise.
12408 (sinh_test): Likewise.
12409 (sinh_test_tonearest): Likewise.
12410 (sinh_test_towardzero): Likewise.
12411 (sinh_test_downward): Likewise.
12412 (sinh_test_upward): Likewise.
12413 (sqrt_test): Likewise.
12414 (tan_test): Likewise.
12415 (tan_test_tonearest): Likewise.
12416 (tan_test_towardzero): Likewise.
12417 (tan_test_downward): Likewise.
12418 (tan_test_upward): Likewise.
12419 (tanh_test): Likewise.
12420 (tgamma_test): Likewise.
12421 (y0_test): Likewise.
12422 (y1_test): Likewise.
12423 (yn_test): Likewise.
12425 * math/gen-libm-test.pl (adjust_arg): Remove function.
12426 (special_function): Remove argument $in_func. Only handle
12427 generating output for tables of tests, not inside functions.
12428 (parse_args): Likewise.
12429 (generate_testfile): Remove variable $in_func. Update call to
12431 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12432 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12433 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12434 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12435 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12436 (MAX_VALUE_INIT): Rename macro to max_value.
12437 (MIN_VALUE_INIT): Rename macro to min_value.
12438 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12439 (plus_zero): Remove variable.
12440 (minus_zero): Likewise.
12441 (plus_infty): Likewise.
12442 (minus_infty): Likewise.
12443 (qnan_value): Likewise.
12444 (max_value): Likewise.
12445 (min_value): Likewise.
12446 (min_subnorm_value): Likewise.
12448 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12450 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12451 uint64_t or uint32_t usage.
12452 * crypt/sha256-block.c: Likewise.
12453 * crypt/sha256-crypt.c: Likewise.
12454 * crypt/sha256.c: Likewise.
12455 * crypt/sha512-block.c: Likewise.
12456 * crypt/sha512-crypt.c: Likewise.
12457 * crypt/sha512.c: Likewise.
12458 * debug/backtrace-tst.c: Likewise.
12459 * debug/pcprofiledump.c: Likewise.
12460 * elf/cache.c: Likewise.
12461 * elf/dl-cache.c: Likewise.
12462 * elf/dl-misc.c: Likewise.
12463 * elf/dl-profile.c: Likewise.
12464 * elf/dl-support.c: Likewise.
12465 * elf/ldconfig.c: Likewise.
12466 * elf/sprof.c: Likewise.
12467 * iconv/dummy-repertoire.c: Likewise.
12468 * iconv/iconv_charmap.c: Likewise.
12469 * iconv/skeleton.c: Likewise.
12470 * iconvdata/8bit-generic.c: Likewise.
12471 * iconvdata/cp737.h: Likewise.
12472 * iconvdata/cp775.h: Likewise.
12473 * iconvdata/ibm1008.h: Likewise.
12474 * iconvdata/ibm1025.h: Likewise.
12475 * iconvdata/ibm1046.h: Likewise.
12476 * iconvdata/ibm1097.h: Likewise.
12477 * iconvdata/ibm1112.h: Likewise.
12478 * iconvdata/ibm1122.h: Likewise.
12479 * iconvdata/ibm1123.h: Likewise.
12480 * iconvdata/ibm1124.h: Likewise.
12481 * iconvdata/ibm1129.h: Likewise.
12482 * iconvdata/ibm1130.h: Likewise.
12483 * iconvdata/ibm1132.h: Likewise.
12484 * iconvdata/ibm1133.h: Likewise.
12485 * iconvdata/ibm1137.h: Likewise.
12486 * iconvdata/ibm1140.h: Likewise.
12487 * iconvdata/ibm1141.h: Likewise.
12488 * iconvdata/ibm1142.h: Likewise.
12489 * iconvdata/ibm1143.h: Likewise.
12490 * iconvdata/ibm1144.h: Likewise.
12491 * iconvdata/ibm1145.h: Likewise.
12492 * iconvdata/ibm1146.h: Likewise.
12493 * iconvdata/ibm1147.h: Likewise.
12494 * iconvdata/ibm1148.h: Likewise.
12495 * iconvdata/ibm1149.h: Likewise.
12496 * iconvdata/ibm1153.h: Likewise.
12497 * iconvdata/ibm1154.h: Likewise.
12498 * iconvdata/ibm1155.h: Likewise.
12499 * iconvdata/ibm1156.h: Likewise.
12500 * iconvdata/ibm1157.h: Likewise.
12501 * iconvdata/ibm1158.h: Likewise.
12502 * iconvdata/ibm1160.h: Likewise.
12503 * iconvdata/ibm1161.h: Likewise.
12504 * iconvdata/ibm1162.h: Likewise.
12505 * iconvdata/ibm1163.h: Likewise.
12506 * iconvdata/ibm1164.h: Likewise.
12507 * iconvdata/ibm1166.h: Likewise.
12508 * iconvdata/ibm1167.h: Likewise.
12509 * iconvdata/ibm12712.h: Likewise.
12510 * iconvdata/ibm1390.h: Likewise.
12511 * iconvdata/ibm1399.h: Likewise.
12512 * iconvdata/ibm16804.h: Likewise.
12513 * iconvdata/ibm4517.h: Likewise.
12514 * iconvdata/ibm4899.h: Likewise.
12515 * iconvdata/ibm4909.h: Likewise.
12516 * iconvdata/ibm4971.h: Likewise.
12517 * iconvdata/ibm5347.h: Likewise.
12518 * iconvdata/ibm803.h: Likewise.
12519 * iconvdata/ibm856.h: Likewise.
12520 * iconvdata/ibm901.h: Likewise.
12521 * iconvdata/ibm902.h: Likewise.
12522 * iconvdata/ibm9030.h: Likewise.
12523 * iconvdata/ibm9066.h: Likewise.
12524 * iconvdata/ibm921.h: Likewise.
12525 * iconvdata/ibm922.h: Likewise.
12526 * iconvdata/ibm9448.h: Likewise.
12527 * iconvdata/isiri-3342.h: Likewise.
12528 * iconvdata/jis0201.h: Likewise.
12529 * include/link.h: Likewise.
12530 * include/netdb.h: Likewise.
12531 * inet/check_native.c: Likewise.
12532 * inet/check_pf.c: Likewise.
12533 * inet/getipv4sourcefilter.c: Likewise.
12534 * inet/getnameinfo.c: Likewise.
12535 * inet/getsourcefilter.c: Likewise.
12536 * inet/htonl.c: Likewise.
12537 * inet/setipv4sourcefilter.c: Likewise.
12538 * inet/setsourcefilter.c: Likewise.
12539 * inet/test-inet6_opt.c: Likewise.
12540 * inet/tst-network.c: Likewise.
12541 * locale/C-collate.c: Likewise.
12542 * locale/C-ctype.c: Likewise.
12543 * locale/C-time.c: Likewise.
12544 * locale/C-translit.h: Likewise.
12545 * locale/loadarchive.c: Likewise.
12546 * locale/programs/3level.h: Likewise.
12547 * locale/programs/charmap.c: Likewise.
12548 * locale/programs/charmap.h: Likewise.
12549 * locale/programs/ld-address.c: Likewise.
12550 * locale/programs/ld-collate.c: Likewise.
12551 * locale/programs/ld-ctype.c: Likewise.
12552 * locale/programs/ld-identification.c: Likewise.
12553 * locale/programs/ld-measurement.c: Likewise.
12554 * locale/programs/ld-messages.c: Likewise.
12555 * locale/programs/ld-monetary.c: Likewise.
12556 * locale/programs/ld-name.c: Likewise.
12557 * locale/programs/ld-numeric.c: Likewise.
12558 * locale/programs/ld-paper.c: Likewise.
12559 * locale/programs/ld-telephone.c: Likewise.
12560 * locale/programs/ld-time.c: Likewise.
12561 * locale/programs/linereader.c: Likewise.
12562 * locale/programs/locale.c: Likewise.
12563 * locale/programs/locarchive.c: Likewise.
12564 * locale/programs/locfile.h: Likewise.
12565 * locale/programs/repertoire.c: Likewise.
12566 * locale/programs/simple-hash.c: Likewise.
12567 * locale/programs/simple-hash.h: Likewise.
12568 * malloc/memusage.c: Likewise.
12569 * malloc/memusagestat.c: Likewise.
12570 * nis/nis_defaults.c: Likewise.
12571 * nis/nis_hash.c: Likewise.
12572 * nis/nis_print.c: Likewise.
12573 * nis/nis_xdr.c: Likewise.
12574 * nscd/connections.c: Likewise.
12575 * nscd/hstcache.c: Likewise.
12576 * nscd/nscd_gethst_r.c: Likewise.
12577 * nscd/nscd_getserv_r.c: Likewise.
12578 * nscd/nscd_helper.c: Likewise.
12579 * nscd/servicescache.c: Likewise.
12580 * nss/makedb.c: Likewise.
12581 * nss/nss_db/db-XXX.c: Likewise.
12582 * nss/nss_db/db-initgroups.c: Likewise.
12583 * nss/nss_db/db-netgrp.c: Likewise.
12584 * nss/nss_files/files-network.c: Likewise.
12585 * nss/nss_files/files-parse.c: Likewise.
12586 * posix/bug-regex5.c: Likewise.
12587 * posix/fnmatch_loop.c: Likewise.
12588 * posix/regcomp.c: Likewise.
12589 * posix/regexec.c: Likewise.
12590 * posix/tst-rfc3484-2.c: Likewise.
12591 * posix/tst-rfc3484-3.c: Likewise.
12592 * posix/tst-rfc3484.c: Likewise.
12593 * resolv/nss_dns/dns-canon.c: Likewise.
12594 * resolv/nss_dns/dns-network.c: Likewise.
12595 * resolv/res_init.c: Likewise.
12596 * resolv/res_mkquery.c: Likewise.
12597 * resolv/tst-aton.c: Likewise.
12598 * stdlib/cxa_atexit.c: Likewise.
12599 * stdlib/cxa_finalize.c: Likewise.
12600 * stdlib/gen-fpioconst.c: Likewise.
12601 * stdlib/strtol_l.c: Likewise.
12602 * string/tst-endian.c: Likewise.
12603 * sunrpc/auth_des.c: Likewise.
12604 * sunrpc/clnt_udp.c: Likewise.
12605 * sunrpc/rtime.c: Likewise.
12606 * sunrpc/svcauth_des.c: Likewise.
12607 * sunrpc/xdr.c: Likewise.
12608 * sunrpc/xdr_intXX_t.c: Likewise.
12609 * sunrpc/xdr_rec.c: Likewise.
12610 * sysdeps/generic/ldconfig.h: Likewise.
12611 * sysdeps/generic/ldsodefs.h: Likewise.
12612 * sysdeps/generic/memusage.h: Likewise.
12613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12616 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12623 * sysdeps/posix/getaddrinfo.c: Likewise.
12624 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12625 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12626 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12627 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12628 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12629 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12630 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12631 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12632 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12633 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12634 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12635 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12636 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12637 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12638 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12639 * sysdeps/x86_64/dl-tls.h: Likewise.
12640 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12641 * time/alt_digit.c: Likewise.
12642 * time/era.c: Likewise.
12643 * wcsmbs/tst-c16c32-1.c: Likewise.
12645 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12647 * math/libm-test.inc (struct test_sincos_data): New type.
12648 (RUN_TEST_LOOP_sincos): New macro.
12649 (sincos_test_data): New variable.
12650 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12652 2013-05-16 Richard Henderson <rth@redhat.com>
12654 * math/atest-exp2.c (LIMB64): New macro.
12655 (CONSTSZ): New macro.
12656 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12658 (print_mpn_fp): ... to function scope.
12659 (read_mpn_hex): Remove.
12660 (get_log2): Remove.
12661 (exp2_mpn): Use mp_log2.
12662 (main): Use mp_exp1.
12664 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12666 * math/libm-test.inc: Remove comment about not testing "inexact"
12668 (INEXACT_EXCEPTION): New macro.
12669 (NO_INEXACT_EXCEPTION): Likewise.
12670 (INVALID_EXCEPTION_OK): Update value.
12671 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12672 (OVERFLOW_EXCEPTION_OK): Likewise.
12673 (UNDERFLOW_EXCEPTION_OK): Likewise.
12674 (IGNORE_ZERO_INF_SIGN): Likewise.
12675 (ERRNO_UNCHANGED): Likewise.
12676 (ERRNO_EDOM): Likewise.
12677 (ERRNO_ERANGE): Likewise.
12678 (test_exceptions): Handle testing "inexact" exceptions.
12679 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12680 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12681 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12682 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12684 (rint_towardzero_test_data): Likewise.
12685 (rint_downward_test_data): Likewise.
12686 (rint_upward_test_data): Likewise.
12688 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12689 with OVERFLOW_EXCEPTION.
12690 (exp10_test_data): Likewise.
12691 (exp2_test_data): Likewise.
12692 (expm1_test_data): Likewise.
12693 (lgamma_test_data): Likewise.
12694 (pow_test_data): Likewise.
12695 (tgamma_test_data): Likewise.
12696 (yn_test_data): Remove duplicate test of overflow.
12698 * math/libm-test.inc (struct test_cc_c_data): New type.
12699 (RUN_TEST_LOOP_cc_c): New macro.
12700 (cpow_test_data): New variable.
12701 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12703 * math/libm-test.inc (struct test_f_L_data): New type.
12704 (RUN_TEST_LOOP_f_L): New macro.
12705 (llrint_test_data): New variable.
12706 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12707 (llrint_tonearest_test_data): New variable.
12708 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12709 (llrint_towardzero_test_data): New variable.
12710 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12711 (llrint_downward_test_data): New variable.
12712 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12713 (llrint_upward_test_data): New variable.
12714 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12715 (llround_test_data): New variable.
12716 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12718 2013-05-13 Peter Collingbourne <pcc@google.com>
12720 * math/atest-exp2.c (get_log2): Remove const attribute.
12722 2013-05-15 Joseph Myers <joseph@codesourcery.com>
12724 * math/libm-test.inc (struct test_f_l_data): New type.
12725 (RUN_TEST_LOOP_f_l): New macro.
12726 (lrint_test_data): New variable.
12727 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12728 (lrint_tonearest_test_data): New variable.
12729 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12730 (lrint_towardzero_test_data): New variable.
12731 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12732 (lrint_downward_test_data): New variable.
12733 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12734 (lrint_upward_test_data): New variable.
12735 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12736 (lround_test_data): New variable.
12737 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12739 2013-05-15 Peter Collingbourne <pcc@google.com>
12741 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12742 (EXTRACT_WORDS64) Use where appropriate.
12743 (INSERT_WORDS64) Likewise.
12745 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12746 constraints with x constraints.
12747 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12749 * malloc/obstack.c (_obstack_compat): Add initializer.
12751 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
12753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12754 si_trapno and add si_addr_lsb to _sifields.sigfault.
12755 (si_trapno): Remove macro.
12756 (si_addr_lsb): Define new macro.
12757 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12759 2013-05-15 Joseph Myers <joseph@codesourcery.com>
12761 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12762 instead of TEST_f_l.
12763 (llrint_test_tonearest): Likewise.
12764 (llrint_test_towardzero): Likewise.
12765 (llrint_test_downward): Likewise.
12766 (llrint_test_upward): Likewise.
12767 (llround_test): Likewise.
12769 * math/libm-test.inc (struct test_f_i_data): Add comment.
12770 (RUN_TEST_LOOP_f_b): New macro.
12771 (RUN_TEST_LOOP_f_b_tg): Likewise.
12772 (finite_test_data): New variable.
12773 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12774 (isfinite_test_data): New variable.
12775 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12776 (isinf_test_data): New variable.
12777 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12778 (isnan_test_data): New variable.
12779 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12780 (isnormal_test_data): New variable.
12781 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12782 (issignaling_test_data): New variable.
12783 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12784 (signbit_test_data): New variable.
12785 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12787 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12788 with INVALID_EXCEPTION.
12789 (acosh_test_data): Likewise.
12790 (asin_test_data): Likewise.
12791 (atanh_test_data): Likewise.
12792 (fmod_test_data): Likewise.
12793 (log_test_data): Likewise.
12794 (log10_test_data): Likewise.
12795 (log2_test_data): Likewise.
12796 (pow_test_data): Likewise.
12797 (sqrt_test_data): Likewise.
12798 (y0_test_data): Likewise.
12799 (y1_test_data): Likewise.
12800 (yn_test_data): Likewise.
12802 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12805 * math/libm-test.inc (struct test_ff_i_data): New type.
12806 (RUN_TEST_LOOP_ff_i_tg): New macro.
12807 (isgreater_test_data): New variable.
12808 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12809 (isgreaterequal_test_data): New variable.
12810 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12811 (isless_test_data): New variable.
12812 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12813 (islessequal_test_data): New variable.
12814 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12815 (islessgreater_test_data): New variable.
12816 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12817 (isunordered_test_data): New variable.
12818 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12820 2013-05-14 David S. Miller <davem@davemloft.net>
12822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12824 2013-05-14 Joseph Myers <joseph@codesourcery.com>
12826 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12828 * math/libm-test.inc (struct test_fF_f1_data): Change type of
12830 (struct test_f_i_data): Change type of max_ulp to int.
12832 * math/libm-test.inc (test_ffI_f1_data): New type.
12833 (RUN_TEST_LOOP_ffI_f1): New macro.
12834 (remquo_test_data): New variable.
12835 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12837 * setjmp/tst-setjmp-fp.c: New file.
12838 * setjmp/Makefile (tests): Add tst-setjmp-fp.
12839 (link-libm): New variable.
12840 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12842 * math/libm-test.inc (struct test_f_i_data): New type.
12843 (RUN_TEST_LOOP_f_i): New macro.
12844 (RUN_TEST_LOOP_f_i_tg): Likewise.
12845 (fpclassify_test_data): New variable.
12846 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12847 (ilogb_test_data): New variable.
12848 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12850 * math/libm-test.inc (scalbln_test): Correct function name in END
12853 * math/libm-test.inc (struct test_f_f1_data): Add comment.
12854 (RUN_TEST_LOOP_fI_f1): New macro.
12855 (frexp_test_data): New variable.
12856 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12858 * math/libm-test.inc (struct test_fF_f1_data): New type.
12859 (RUN_TEST_LOOP_fF_f1): New macro.
12860 (modf_test_data): New variable.
12861 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12863 * math/libm-test.inc (struct test_f_f1_data): New type.
12864 (RUN_TEST_LOOP_f_f1): New macro.
12865 (gamma_test_data): New variable.
12866 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12867 (lgamma_test_data): New variable.
12868 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12870 2013-05-13 Carlos O'Donell <carlos@redhat.com>
12872 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12873 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12874 (main): Comment "tls" pseudo-hwcap.
12876 2013-05-13 Joseph Myers <joseph@codesourcery.com>
12878 * math/libm-test.inc (struct test_fl_f_data): New type.
12879 (RUN_TEST_LOOP_fl_f): New variable.
12880 (scalbln_test_data): New variable.
12881 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12883 * math/libm-test.inc (struct test_fi_f_data): New type.
12884 (RUN_TEST_LOOP_fi_f): New macro.
12885 (ldexp_test_data): New variable.
12886 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12887 (scalbn_test_data): New variable.
12888 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12890 * math/libm-test.inc (struct test_c_f_data): New type.
12891 (RUN_TEST_LOOP_c_f): New macro.
12892 (cabs_test_data): New variable.
12893 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12894 (carg_test_data): New variable.
12895 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12896 (cimag_test_data): New variable.
12897 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12898 (creal_test_data): New variable.
12899 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12901 * math/libm-test.inc (struct test_if_f_data): New type.
12902 (RUN_TEST_LOOP_if_f): New macro.
12903 (jn_test_data): New variable.
12904 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12905 (yn_test_data): New variable.
12906 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12908 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12910 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12912 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12913 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12915 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12917 * benchtests/Makefile (CPPFLAGS-nonlib): Add
12918 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12919 (bench-deps): Add bench-timing.h.
12920 * benchtests-bench-skeleton.c: Include bench-timing.h.
12921 (main): Use TIMING_* macros instead of clock_gettime.
12922 * benchtests/bench-timing.h: New file.
12925 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
12926 Renamed from _LIB_VERSION.
12927 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
12929 2013-05-12 Joseph Myers <joseph@codesourcery.com>
12931 * math/libm-test.inc (struct test_fff_f_data): New type.
12932 (RUN_TEST_LOOP_fff_f): New macro.
12933 (fma_test_data): New variable.
12934 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
12935 (fma_towardzero_test_data): New variable.
12936 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
12937 (fma_downward_test_data): New variable.
12938 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
12939 (fma_upward_test_data): New variable.
12940 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
12942 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
12943 (struct test_c_c_data): New type.
12944 (RUN_TEST_LOOP_c_c): New macro.
12945 (cacos_test_data): New variable.
12946 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
12947 (cacosh_test_data): New variable.
12948 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
12949 (casin_test_data): New variable.
12950 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
12951 (casinh_test_data): New variable.
12952 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
12953 (catan_test_data): New variable.
12954 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
12955 (catanh_test_data): New variable.
12956 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
12957 (ccos_test_data): New variable.
12958 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
12959 (ccosh_test_data): New variable.
12960 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
12961 (cexp_test_data): New variable.
12962 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
12963 (clog_test_data): New variable.
12964 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
12965 (clog10_test_data): New variable.
12966 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
12967 (conj_test_data): New variable.
12968 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
12969 (cproj_test_data): New variable.
12970 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
12971 (csin_test_data): New variable.
12972 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
12973 (csinh_test_data): New variable.
12974 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
12975 (csqrt_test_data): New variable.
12976 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
12977 (ctan_test_data): New variable.
12978 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
12979 (ctan_tonearest_test_data): New variable.
12980 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12981 (ctan_towardzero_test_data): New variable.
12982 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12983 (ctan_downward_test_data): New variable.
12984 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12985 (ctan_upward_test_data): New variable.
12986 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12987 (ctanh_test_data): New variable.
12988 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
12989 (ctanh_tonearest_test_data): New variable.
12990 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12991 (ctanh_towardzero_test_data): New variable.
12992 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12993 (ctanh_downward_test_data): New variable.
12994 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12995 (ctanh_upward_test_data): New variable.
12996 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12997 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13000 * math/libm-test.inc (struct test_ff_f_data): New type.
13001 (struct test_ff_f_data_nexttoward): Likewise.
13002 (RUN_TEST_LOOP_2_f): New macro.
13003 (RUN_TEST_LOOP_ff_f): Likewise.
13004 (atan2_test_data): New variable.
13005 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13006 (copysign_test_data): New variable.
13007 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13008 (fdim_test_data): New variable.
13009 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13010 (fmax_test_data): New variable.
13011 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13012 (fmin_test_data): New variable.
13013 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13014 (fmod_test_data): New variable.
13015 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13016 (hypot_test_data): New variable.
13017 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13018 (nextafter_test_data): New variable.
13019 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13020 (nexttoward_test_data): New variable.
13021 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13022 (pow_test_data): New variable.
13023 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13024 (pow_tonearest_test_data): New variable.
13025 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13026 (pow_towardzero_test_data): New variable.
13027 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13028 (pow_downward_test_data): New variable.
13029 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13030 (pow_upward_test_data): New variable.
13031 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13032 (remainder_test_data): New variable.
13033 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13034 (scalb_test_data): New variable.
13035 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13036 * sysdeps/i386/fpu/libm-test-ulps: Update.
13038 2013-05-11 Joseph Myers <joseph@codesourcery.com>
13040 * math/libm-test.inc (fma_test): Use max_value instead of local
13042 (nextafter_test): Likewise.
13044 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13045 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13046 (acos_downward_test_data): New variable.
13047 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13048 (acos_upward_test_data): New variable.
13049 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13050 (acosh_test_data): New variable.
13051 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13052 (asin_test_data): New variable.
13053 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13054 (asin_tonearest_test_data): New variable.
13055 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13056 (asin_towardzero_test_data): New variable.
13057 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13058 (asin_downward_test_data): New variable.
13059 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13060 (asin_upward_test_data): New variable.
13061 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13062 (asinh_test_data): New variable.
13063 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13064 (atan_test_data): New variable.
13065 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13066 (atanh_test_data): New variable.
13067 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13068 (cbrt_test_data): New variable.
13069 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13070 (ceil_test_data): New variable.
13071 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13072 (cos_test_data): New variable.
13073 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13074 (cos_tonearest_test_data): New variable.
13075 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13076 (cos_towardzero_test_data): New variable.
13077 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13078 (cos_downward_test_data): New variable.
13079 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13080 (cos_upward_test_data): New variable.
13081 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13082 (cosh_test_data): New variable.
13083 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13084 (cosh_tonearest_test_data): New variable.
13085 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13086 (cosh_towardzero_test_data): New variable.
13087 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13088 (cosh_downward_test_data): New variable.
13089 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13090 (cosh_upward_test_data): New variable.
13091 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13092 (erf_test_data): New variable.
13093 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13094 (erfc_test_data): New variable.
13095 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13096 (exp_test_data): New variable.
13097 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13098 (exp_tonearest_test_data): New variable.
13099 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13100 (exp_towardzero_test_data): New variable.
13101 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13102 (exp_downward_test_data): New variable.
13103 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13104 (exp_upward_test_data): New variable.
13105 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13106 (exp10_test_data): New variable.
13107 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13108 (exp2_test_data): New variable.
13109 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13110 (expm1_test_data): New variable.
13111 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13112 (fabs_test_data): New variable.
13113 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13114 (floor_test_data): New variable.
13115 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13116 (j0_test_data): New variable.
13117 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13118 (j1_test_data): New variable.
13119 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13120 (log_test_data): New variable.
13121 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13122 (log10_test_data): New variable.
13123 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13124 (log1p_test_data): New variable.
13125 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13126 (log2_test_data): New variable.
13127 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13128 (logb_test_data): New variable.
13129 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13130 (logb_downward_test_data): New variable.
13131 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13132 (nearbyint_test_data): New variable.
13133 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13134 (rint_test_data): New variable.
13135 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13136 (rint_tonearest_test_data): New variable.
13137 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13138 (rint_towardzero_test_data): New variable.
13139 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13140 (rint_downward_test_data): New variable.
13141 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13142 (rint_upward_test_data): New variable.
13143 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13144 (round_test_data): New variable.
13145 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13146 (sin_test_data): New variable.
13147 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13148 (sin_tonearest_test_data): New variable.
13149 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13150 (sin_towardzero_test_data): New variable.
13151 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13152 (sin_downward_test_data): New variable.
13153 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13154 (sin_upward_test_data): New variable.
13155 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13156 (sinh_test_data): New variable.
13157 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13158 (sinh_tonearest_test_data): New variable.
13159 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13160 (sinh_towardzero_test_data): New variable.
13161 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13162 (sinh_downward_test_data): New variable.
13163 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13164 (sinh_upward_test_data): New variable.
13165 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13166 (sqrt_test_data): New variable.
13167 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13168 (tan_test_data): New variable.
13169 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13170 (tan_tonearest_test_data): New variable.
13171 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13172 (tan_towardzero_test_data): New variable.
13173 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13174 (tan_downward_test_data): New variable.
13175 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13176 (tan_upward_test_data): New variable.
13177 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13178 (tanh_test_data): New variable.
13179 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13180 (tgamma_test_data): New variable.
13181 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13182 (trunc_test_data): New variable.
13183 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13184 (y0_test_data): New variable.
13185 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13186 (y1_test_data): New variable.
13187 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13188 (significand_test_data): New variable.
13189 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13191 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13194 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13196 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13198 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13200 2013-05-10 Andreas Jaeger <aj@suse.de>
13203 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13204 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13206 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13208 * math/gen-libm-test.pl (adjust_arg): New function.
13209 (special_functions): Handle generating output in both functions
13211 (parse_args): Likewise.
13212 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13213 $in_func argument to parse_args.
13214 * math/libm-test.inc (struct test_f_f_data): New type.
13215 (IF_ROUND_INIT_): New macro.
13216 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13217 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13218 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13219 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13220 (ROUND_RESTORE_): Likewise.
13221 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13222 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13223 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13224 (ROUND_RESTORE_FE_UPWARD): Likewise.
13225 (RUN_TEST_LOOP_f_f): New macro.
13226 (acos_test_data): New variable.
13227 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13228 (acos_tonearest_test_data): New variable.
13229 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13231 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13233 * benchtests/bench-skeleton.c (startup): Fix coding style.
13235 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13238 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13239 negative infinity argument.
13240 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13241 negative infinity argument.
13242 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13243 negative infinity argument.
13244 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13247 2013-05-10 Florian Weimer <fweimer@redhat.com>
13249 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13250 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13251 * iconv/iconv_prog.c (main): Likewise.
13252 * locale/programs/charmap-dir.c (charmap_readdir)
13253 (fopen_uncompressed): Likewise.
13254 * locale/programs/locfile.c (siblings_uncached)
13255 (write_locale_data): Use lstat64 instead of lstat.
13256 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13259 2013-05-10 Andreas Jaeger <aj@suse.de>
13262 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13264 Include <locale.h>.
13266 2013-05-09 Carlos O'Donell <carlos@redhat.com>
13268 * elf/dl-close.c (_dl_close_worker): Add comments.
13270 2013-05-09 Joseph Myers <joseph@codesourcery.com>
13273 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13275 (__ieee754_rem_pio2l): Update comments.
13278 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13280 (__ieee754_rem_pio2l): Update comments.
13282 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13283 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13285 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13288 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13289 (M_PI_34_LOG10El): Likewise.
13290 (M_PI2_LOG10El): Likewise.
13291 (M_PI4_LOG10El): Likewise.
13292 (M_PI_LOG10El): Likewise.
13294 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13298 2013-05-08 Joseph Myers <joseph@codesourcery.com>
13300 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13301 (MINUS_ZERO_INIT): Likewise.
13302 (PLUS_INFTY_INIT): Likewise.
13303 (MINUS_INFTY_INIT): Likewise.
13304 (QNAN_VALUE_INIT): Likewise.
13305 (MAX_VALUE_INIT): Likewise.
13306 (MIN_VALUE_INIT): Likewise.
13307 (MIN_SUBNORM_VALUE_INIT): Likewise.
13308 (plus_zero): Initialize with PLUS_ZERO_INIT.
13309 (minus_zero): Initialize with MINUS_ZERO_INIT.
13310 (plus_infty): Initialize with PLUS_INFTY_INIT.
13311 (minus_infty): Initialize with MINUS_INFTY_INIT.
13312 (qnan_value): Initialize with QNAN_VALUE_INIT.
13313 (max_value): Initialize with MAX_VALUE_INIT.
13314 (min_value): Initialize with MIN_VALUE_INIT.
13315 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13317 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13318 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13319 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13320 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13322 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13323 (RUN_TEST_2_f): Likewise.
13324 (RUN_TEST_ff_f): Likewise.
13325 (RUN_TEST_fi_f): Likewise.
13326 (RUN_TEST_fl_f): Likewise.
13327 (RUN_TEST_fff_f): Likewise.
13328 (RUN_TEST_c_f): Likewise.
13329 (RUN_TEST_f_f1): Likewise.
13330 (RUN_TEST_fF_f1): Likewise.
13331 (RUN_TEST_fI_f1): Likewise.
13332 (RUN_TEST_ffI_f1): Likewise.
13333 (RUN_TEST_c_c): Likewise.
13334 (RUN_TEST_cc_c): Likewise.
13335 (RUN_TEST_f_i): Likewise.
13336 (RUN_TEST_f_i_tg): Likewise.
13337 (RUN_TEST_ff_i_tg): Likewise.
13338 (RUN_TEST_f_b): Likewise.
13339 (RUN_TEST_f_b_tg): Likewise.
13340 (RUN_TEST_f_l): Likewise.
13341 (RUN_TEST_f_L): Likewise.
13342 (RUN_TEST_sincos): Likewise.
13343 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13344 whether to show exceptions. Do not include ");\n" in return
13346 (special_functions): Output call to RUN_TEST_sincos instead of
13347 check_float calls. Update calls to new_test.
13348 (parse_args): Output call to single RUN_TEST_* macro instead of
13349 check_* calls and other assignments. Update calls to new_test.
13355 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13356 input to result for tgamma overflow.
13357 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13358 (gamma_coeff): New variable.
13359 (NCOEFF): New macro.
13360 (gamma_positive): New function.
13361 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13362 underflow here. Use gamma_positive instead of exp (lgamma) for
13364 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13365 (gamma_coeff): New variable.
13366 (NCOEFF): New macro.
13367 (gammaf_positive): New function.
13368 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13369 underflow here. Use gamma_positive instead of exp (lgamma) for
13371 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13372 (gamma_coeff): New variable.
13373 (NCOEFF): New macro.
13374 (gammal_positive): New function.
13375 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13376 underflow here. Use gamma_positive instead of exp (lgamma) for
13378 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13379 (gamma_coeff): New variable.
13380 (NCOEFF): New macro.
13381 (gammal_positive): New function.
13382 (__ieee754_gammal_r): Handle positive infinity, overflow and
13383 underflow here. Handle NaN the same as positive infinity. Remove
13384 check x < 0xffffffff for negative integers. Use gamma_positive
13385 instead of exp (lgamma) for other arguments.
13386 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13387 (gamma_coeff): New variable.
13388 (NCOEFF): New macro.
13389 (gammal_positive): New function.
13390 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13391 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13395 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13396 * sysdeps/generic/math_private.h (__gamma_productf): New
13398 (__gamma_product): Likewise.
13399 (__gamma_productl): Likewise.
13400 * math/Makefile (libm-calls): Add gamma_product.
13401 * math/libm-test.inc (tgamma_test): Add more tests.
13402 * sysdeps/i386/fpu/libm-test-ulps: Update.
13403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13405 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
13407 * benchtests/bench-skeleton.c (main): Preheat CPU.
13409 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13411 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13413 2013-05-07 Roland McGrath <roland@hack.frob.com>
13415 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13416 and _dl_skip_args_internal.
13418 2013-05-07 Carlos O'Donell <carlos@redhat.com>
13420 * manual/message.texi (Message Translation): Talk about users.
13421 Message to key mapping impacts design.
13423 2013-05-06 Roland McGrath <roland@hack.frob.com>
13425 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13427 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13429 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13430 * sysdeps/wordsize-64/glob64.c: ... here.
13432 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13433 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13436 * debug/getlogin_r_chk.c: Moved to ...
13437 * login/getlogin_r_chk.c: ... here.
13438 * debug/Makefile (routines): Move getlogin_r_chk to ...
13439 * login/Makefile (routines): ... here.
13440 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13441 * login/Versions (libc: GLIBC_2.4): ... here.
13443 * io/poll.c (__poll): Renamed from poll.
13444 Add libc_hidden_def.
13445 (poll): Define as weak alias.
13447 * debug/ptsname_r_chk.c: Moved to ...
13448 * login/ptsname_r_chk.c: ... here.
13449 * debug/Makefile (routines): Move ptsname_r_chk to ...
13450 * login/Makefile (routines): ... here.
13451 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13452 * login/Versions (libc: GLIBC_2.4): ... here.
13454 * posix/getlogin.c: Moved to ...
13455 * login/getlogin.c: ... here.
13456 * posix/getlogin_r.c: Moved to ...
13457 * login/getlogin_r.c: ... here.
13458 * posix/getlogin_r.c: Moved to ...
13459 * login/getlogin_r.c: ... here.
13460 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13461 * login/Makefile (routines): ... here.
13462 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13463 * login/Versions (libc: GLIBC_2.0): ... here.
13465 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13466 (setrlimit): Define as weak alias.
13468 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13469 Call __ names for open, ftruncate, and close.
13470 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13471 (truncate): Define as weak alias.
13473 2013-05-06 Joseph Myers <joseph@codesourcery.com>
13475 * math/gen-libm-test.pl (parse_args): Initialize x before each
13476 test of frexp, modf and remquo.
13478 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13479 test signgam value.
13481 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13485 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13487 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13489 2013-05-06 Roland McGrath <roland@hack.frob.com>
13491 * elf/dl-writev.h: New file.
13492 * elf/dl-misc.c: Include it.
13493 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13494 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13496 2013-05-04 Joseph Myers <joseph@codesourcery.com>
13498 * math/libm-test.inc (noXFails): Remove variable.
13499 (noXPasses): Likewise.
13500 (BUILD_COMPLEX_INT): Remove macro.
13501 (print_screen): Remove xfail argument.
13502 (print_screen_max_error): Likewise.
13503 (update_stats): Likewise.
13504 (print_max_error): Likewise. Update calls to other affected
13506 (print_complex_max_error): Likewise.
13507 (test_single_exception): Update calls to print_screen.
13508 (test_single_errno): Likewise.
13509 (check_float_internal): Remove xfail argument. Update calls to
13510 other affected functions.
13511 (check_float): Likewise.
13512 (check_complex): Likewise.
13513 (check_int): Likewise.
13514 (check_long): Likewise.
13515 (check_bool): Likewise.
13516 (check_longlong): Likewise.
13517 (main): Don't print noXFails and noXPasses.
13518 * math/gen-libm-test.pl (top level): Don't mention expected
13519 failure handling in comment.
13520 (new_test): Don't handle expected failures.
13521 (parse_args): Don't mention expected failure handling in comment.
13522 (generate_testfile): Don't handle expected failures.
13523 (parse_ulps): Likewise.
13524 (print_ulps_file): Likewise.
13525 (get_failure): Remove function.
13526 (output_test): Don't handle expected failures.
13527 * make/README.libm-test: Don't mention expected failure handling.
13529 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13530 (minus_zero): Likewise.
13531 (plus_infty): Likewise.
13532 (minus_infty): Likewise.
13533 (qnan_value): Likewise.
13534 (max_value): Likewise.
13535 (min_value): Likewise.
13536 (min_subnorm_value): Likewise.
13537 (initialize): Do not initialize those variables dynamically.
13539 2013-05-03 Roland McGrath <roland@hack.frob.com>
13541 * io/open.c (__open_2): Moved to ...
13542 * io/open_2.c: ... this new file.
13543 * io/open64.c (__open64_2): Moved to ...
13544 * io/open64_2.c: ... this new file.
13545 * io/openat.c (__openat_2): Moved to ...
13546 * io/openat_2.c: ... this new file.
13547 * io/openat64.c (__openat64_2): Moved to ...
13548 * io/openat64_2.c: ... this new file.
13549 * io/Makefile (routines): Add them.
13550 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13551 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13552 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13553 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13554 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13555 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13556 (__openat64): Add hidden_ver.
13557 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13558 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13560 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13561 Separately conditionalize setting of GLRO(dl_sysinfo) so
13562 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13563 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13565 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13567 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13568 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13570 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13571 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13572 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13573 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13574 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13576 2013-05-03 Joseph Myers <joseph@codesourcery.com>
13578 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13579 test signgam value.
13581 * math/libm-test.inc (hypot_test): Do not use
13582 IGNORE_ZERO_INF_SIGN.
13584 2013-05-03 Andreas Jaeger <aj@suse.de>
13586 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13588 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13589 (PF_MAX): Adjust for VSOCK change.
13591 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13595 2013-05-02 Carlos O'Donell <carlos@redhat.com>
13598 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13599 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13600 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13602 2013-05-02 David S. Miller <davem@davemloft.net>
13604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13606 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
13608 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13610 2013-05-01 Roland McGrath <roland@hack.frob.com>
13612 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13614 2013-05-01 Richard Smith <richard@metafoo.co.uk>
13617 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13618 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13619 Use __attribute__ ((__gnu_inline__)).
13620 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13621 Don't use __attribute__ ((__gnu_inline__)).
13623 2013-05-01 Joseph Myers <joseph@codesourcery.com>
13626 * math/s_catan.c (__catan): Handle small real or imaginary part of
13627 input specially to avoid spurious underflow.
13628 * math/s_catanf.c (__catanf): Likewise.
13629 * math/s_catanh.c (__catanh): Likewise.
13630 * math/s_catanhf.c (__catanhf): Likewise.
13631 * math/s_catanhl.c (__catanhl): Likewise.
13632 * math/s_catanl.c (__catanl): Likewise.
13633 * math/libm-test.inc (catan_test): Add more tests.
13634 (catanh_test): Likewise.
13635 * sysdeps/i386/fpu/libm-test-ulps: Update.
13636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13638 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13642 2013-04-30 Joseph Myers <joseph@codesourcery.com>
13645 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13646 accurately for denominator in atan2.
13647 * math/s_catanf.c (__catanf): Likewise.
13648 * math/s_catanh.c (__catanh): Likewise.
13649 * math/s_catanhf.c (__catanhf): Likewise.
13650 * math/s_catanhl.c (__catanhl): Likewise.
13651 * math/s_catanl.c (__catanl): Likewise.
13652 * math/libm-test.inc (catan_test): Add more tests.
13653 (catanh_test): Likewise.
13654 * sysdeps/i386/fpu/libm-test-ulps: Update.
13655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13657 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13659 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13661 * benchtests/Makefile (bench): Remove slow benchmarks.
13662 * benchtests/atan-inputs: Add slow benchmark inputs.
13663 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13664 (BENCH_FUNC): Accept variant offset.
13666 * benchtests/bench-skeleton.c (main): Run benchmark for each
13668 * benchtests/cos-inputs: Add slow benchmark inputs.
13669 * benchtests/exp-inputs: Likewise.
13670 * benchtests/pow-inputs: Likewise.
13671 * benchtests/sin-inputs: Likewise.
13672 * benchtests/slowatan-inputs: Remove.
13673 * benchtests/slowatan.c: Remove.
13674 * benchtests/slowcos-inputs: Remove.
13675 * benchtests/slowcos.c: Remove.
13676 * benchtests/slowexp-inputs: Remove.
13677 * benchtests/slowexp.c: Remove.
13678 * benchtests/slowpow-inputs: Remove.
13679 * benchtests/slowpow.c: Remove.
13680 * benchtests/slowsin-inputs: Remove.
13681 * benchtests/slowsin.c: Remove.
13682 * benchtests/slowtan-inputs: Remove.
13683 * benchtests/slowtan.c: Remove.
13684 * benchtests/tan-inputs: Add slow benchmark inputs.
13685 * scripts/bench.pl: Parse comments and directives.
13687 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13689 ($(objpfx)bench-%.c): Remove *-ITER.
13690 * benchtests/bench-modf.c: Remove definition of ITER.
13691 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13692 (main): Loop for DURATION seconds instead of fixed number of
13694 * scripts/bench.pl: Don't expect iterations in parameters.
13696 2013-04-29 Roland McGrath <roland@hack.frob.com>
13698 * io/fchdir.c (__fchdir): Renamed from fchdir.
13699 (fchdir): Define as weak alias.
13701 2013-04-29 Joseph Myers <joseph@codesourcery.com>
13703 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13704 (ERRNO_EDOM): Likewise.
13705 (ERRNO_ERANGE): Likewise.
13706 (noErrnoTests): New variable.
13707 (init_max_error): Set errno to 0.
13708 (test_single_errno): New function.
13709 (test_errno): Likewise.
13710 (check_float_internal): Call test_errno. Set errno to 0.
13711 (check_complex): Refer to errno tests in comment.
13712 (check_int): Call test_errno. Set errno to 0.
13713 (check_long): Likewise.
13714 (check_bool): Likewise.
13715 (check_longlong): Likewise.
13716 (cos_test): Use ERRNO_* flags for errno tests instead of
13718 (expm1_test): Likewise.
13719 (fmod_test): Likewise.
13720 (ilogb_test): Likewise.
13721 (lgamma_test): Likewise.
13722 (pow_test): Likewise.
13723 (remainder_test): Likewise.
13724 (sin_test): Likewise.
13725 (tan_test): Likewise.
13726 (yn_test): Likewise.
13727 (initialize): Set errno to 0.
13728 (main): Print number of errno tests.
13729 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13731 2013-04-29 Andreas Jaeger <aj@suse.de>
13734 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13738 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13739 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13743 * stdlib/random.c (__initstate): Return NULL if
13747 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13748 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13751 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13755 2013-04-29 Joseph Myers <joseph@codesourcery.com>
13757 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13758 of individual tests.
13759 (casin_test): Likewise.
13760 (casinh_test): Likewise.
13762 2013-04-27 Joseph Myers <joseph@codesourcery.com>
13765 * math/s_catan.c (__catan): Handle arguments with large real or
13766 imaginary part separately without squaring.
13767 * math/s_catanf.c (__catanf): Likewise.
13768 * math/s_catanh.c (__catanh): Likewise.
13769 * math/s_catanhf.c (__catanhf): Likewise.
13770 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13772 (__catanhl): Handle arguments with large real or imaginary part
13773 separately without squaring.
13774 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13776 (__catanl): Handle arguments with large real or imaginary part
13777 separately without squaring.
13778 * math/libm-test.inc (catan_test): Add more tests.
13779 (catanh_test): Likewise.
13780 * sysdeps/i386/fpu/libm-test-ulps: Update.
13781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13783 2013-04-27 Andreas Jaeger <aj@suse.de>
13786 * stdlib/stdlib.h: Update guards for qecvt.
13787 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13790 2013-04-27 Allan McRae <allan@archlinux.org>
13792 * sysdeps/i386/fpu/libm-test-ulps: Update.
13794 2013-04-26 Joseph Myers <joseph@codesourcery.com>
13797 * math/s_catan.c: Include <float.h>.
13798 (__catan): Ensure underflow exception occurs for underflowed
13800 * math/s_catanf.c: Include <float.h>.
13801 (__catanf): Ensure underflow exception occurs for underflowed
13803 * math/s_catanh.c: Include <float.h>.
13804 (__catanh): Ensure underflow exception occurs for underflowed
13806 * math/s_catanhf.c: Include <float.h>.
13807 (__catanhf): Ensure underflow exception occurs for underflowed
13809 * math/s_catanhl.c: Include <float.h>.
13810 (__catanhl): Ensure underflow exception occurs for underflowed
13812 * math/s_catanl.c: Include <float.h>.
13813 (__catanl): Ensure underflow exception occurs for underflowed
13815 * math/libm-test.inc (catan_test): Add more tests.
13816 (catanh_test): Likewise.
13819 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13820 underflowed result.
13821 * math/s_ccoshf.c (__ccoshf): Likewise.
13822 * math/s_ccoshl.c (__ccoshl): Likewise.
13823 * math/s_csin.c (__csin): Likewise.
13824 * math/s_csinf.c (__csinf): Likewise.
13825 * math/s_csinh.c (__csinh): Likewise.
13826 * math/s_csinhf.c (__csinhf): Likewise.
13827 * math/s_csinhl.c (__csinhl): Likewise.
13828 * math/s_csinl.c (__csinl): Likewise.
13829 * math/libm-test.inc (ccos_test): Add more tests.
13830 (ccosh_test): Likewise.
13831 (csin_test): Likewise.
13832 (csinh_test): Likewise.
13834 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13836 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13837 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13838 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13839 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13840 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13841 powerpc/power5+/fpu folders.
13842 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13845 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13849 2013-04-25 Joseph Myers <joseph@codesourcery.com>
13851 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13852 additions to variable.
13853 [$(config-machine) = x86_64] (modules-names): Likewise.
13854 ($(objpfx)tst-audit3): Remove dependency.
13855 ($(objpfx)tst-audit3.out): Likewise.
13856 ($(objpfx)tst-audit4): Likewise.
13857 ($(objpfx)tst-audit4.out): Likewise.
13858 ($(objpfx)tst-audit5): Likewise.
13859 ($(objpfx)tst-audit5.out): Likewise.
13860 ($(objpfx)tst-audit6): Likewise.
13861 ($(objpfx)tst-audit6.out): Likewise.
13862 ($(objpfx)tst-audit7): Likewise.
13863 ($(objpfx)tst-audit7.out): Likewise.
13864 (tst-audit3-ENV): Remove variable.
13865 (tst-audit4-ENV): Likewise.
13866 (tst-audit5-ENV): Likewise.
13867 (tst-audit6-ENV): Likewise.
13868 (tst-audit7-ENV): Likewise.
13869 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13870 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13871 addition to variable.
13872 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13873 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13874 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13875 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13876 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13877 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13878 tst-audit3, tst-audit4 and tst-audit5.
13879 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13880 tst-audit6 and tst-audit7.
13881 [$(subdir) = elf] (modules-names): Add audit modules for those
13883 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13884 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13885 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13886 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13887 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13888 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13889 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13890 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13891 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13892 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13893 [$(subdir) = elf] (tst-audit3-ENV): New variable.
13894 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13895 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13896 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13897 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13898 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13900 [$(subdir) = elf && $(config-cflags-avx) = yes]
13901 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13902 [$(subdir) = elf && $(config-cflags-avx) = yes]
13903 (CFLAGS-tst-auditmod4a.c): Likewise.
13904 [$(subdir) = elf && $(config-cflags-avx) = yes]
13905 (CFLAGS-tst-auditmod4b.c): Likewise.
13906 [$(subdir) = elf && $(config-cflags-avx) = yes]
13907 (CFLAGS-tst-auditmod6b.c): Likewise.
13908 [$(subdir) = elf && $(config-cflags-avx) = yes]
13909 (CFLAGS-tst-auditmod6c.c): Likewise.
13910 [$(subdir) = elf && $(config-cflags-avx) = yes]
13911 (CFLAGS-tst-auditmod7b.c): Likewise.
13912 * elf/tst-audit3.c: Move to ...
13913 * sysdeps/x86_64/tst-audit3.c: ... here.
13914 * elf/tst-audit4.c: Move to ...
13915 * sysdeps/x86_64/tst-audit4.c: ... here.
13916 * elf/tst-audit5.c: Move to ...
13917 * sysdeps/x86_64/tst-audit5.c: ... here.
13918 * elf/tst-audit6.c: Move to ...
13919 * sysdeps/x86_64/tst-audit6.c: ... here.
13920 * elf/tst-audit7.c: Move to ...
13921 * sysdeps/x86_64/tst-audit7.c: ... here.
13922 * elf/tst-auditmod3a.c: Move to ...
13923 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13924 * elf/tst-auditmod3b.c: Move to ...
13925 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
13926 * elf/tst-auditmod4a.c: Move to ...
13927 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
13928 * elf/tst-auditmod4b.c: Move to ...
13929 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
13930 * elf/tst-auditmod5a.c: Move to ...
13931 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
13932 * elf/tst-auditmod5b.c: Move to ...
13933 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
13934 * elf/tst-auditmod6a.c: Move to ...
13935 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
13936 * elf/tst-auditmod6b.c: Move to ...
13937 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
13938 * elf/tst-auditmod6c.c: Move to ...
13939 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
13940 * elf/tst-auditmod7a.c: Move to ...
13941 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
13942 * elf/tst-auditmod7b.c: Move to ...
13943 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
13945 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
13948 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
13949 define unconditionally.
13950 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
13951 define unconditionally.
13952 (INT8_C, INT16_C, etc.): Likewise.
13954 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
13956 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
13957 __ehdr_start with hidden visibility.
13959 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
13961 2013-04-24 Carlos O'Donell <carlos@redhat.com>
13963 * math/libm-test.inc (cos_test): Use accurate hex constants.
13964 (sincost_test): Likewise.
13966 2013-04-24 Joseph Myers <joseph@codesourcery.com>
13968 * math/libm-test.inc (catan_test): Add more tests.
13969 (catanh_test): Likewise.
13971 * math/s_catanf.c (__catanf): Use suffixed floating-point
13973 * math/s_catanhf.c (__catanhf): Likewise.
13974 * math/s_catanhl.c (__catanhl): Likewise.
13975 * math/s_catanl.c (__catanl): Likewise.
13978 * math/s_catan.c (__catan): Calculate imaginary part of result
13979 with log1p not log unless computing log of number close to 0.
13980 * math/s_catanf.c (__catanf): Likewise.
13981 * math/s_catanl.c (__catanl): Likewise.
13982 * math/s_catanh.c (__catanh): Calculate real part of result with
13983 log1p not log unless computing log of number close to 0.
13984 * math/s_catanhf.c (__catanhf): Likewise.
13985 * math/s_catanhl.c (__catanhl): Likewise.
13986 * math/libm-test.inc (catan_test): Add more tests.
13987 (catanh_test): Likewise.
13988 * sysdeps/i386/fpu/libm-test-ulps: Update.
13989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13991 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13993 * benchtests/Makefile: Mention files in which fast and slow
13994 paths of math functions are implemented.
13996 2013-04-23 Roland McGrath <roland@hack.frob.com>
13998 * sysdeps/posix/timespec_get.c: New file.
14000 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14002 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14004 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14006 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14007 powerpc/power5/fpu folders.
14008 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14009 * benchtests/Makefile: Add modf testcase.
14010 * benchtests/bench-modf.c: New file: Benchmark test for mo
14012 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14015 * time/Makefile (tests): Add tst-strptime-whitespace.
14016 * time/strptime_l.c (get_number): Use ISSPACE.
14017 (__strptime_internal): Likewise.
14018 * time/tst-strptime-whitespace.c: New test case.
14020 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14022 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14024 (_nss_files_init): Set it here.
14026 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14028 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14029 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14032 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14034 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14036 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14038 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14041 2013-04-21 David S. Miller <davem@davemloft.net>
14043 * po/ru.po: Update Russion translation from translation project.
14045 2013-04-17 Adam Conrad <adconrad@0c3.net>
14047 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14050 2013-04-17 Carlos O'Donell <carlos@redhat.com>
14052 * configure.in: Remove i386 configure warning. Remove i386 case.
14053 * configure: Regenerate.
14054 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14055 Add example to error message.
14056 * sysdeps/i386/configure: Regenerate.
14058 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14060 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14062 * benchtests/cos-inputs: New file.
14063 * benchtests/slowcos-inputs: New file.
14064 * benchtests/slowcos.c: New file.
14065 * benchtests/slowtan-inputs: New file.
14066 * benchtests/slowtan.c: New file.
14067 * benchtests/tan-inputs: New file.
14069 2013-04-16 Roland McGrath <roland@hack.frob.com>
14071 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14074 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14076 * benchtests/Makefile: Include cppflags-iterator.mk to add
14077 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14079 * Makefile.in (bench-clean): New target.
14080 * benchtests/Makefile (bench-clean): Likewise.
14082 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14084 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14086 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14088 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14090 2013-04-15 Andreas Schwab <schwab@suse.de>
14092 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14093 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14094 * nscd/pwdcache.c (cache_addpw): Likewise.
14095 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14098 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14100 * benchtests/Makefile (bench): Write all output to
14101 bench-out.tmp together.
14103 2013-04-15 Andreas Schwab <schwab@suse.de>
14105 * nscd/nscd.c (main): Don't fork again after closing files.
14107 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14109 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14111 * benchtests/Rules (bench-deps): Collect dependencies into a
14112 single variable. Add Makefile to dependencies.
14113 ($(objpfx)bench-%.c): Depend on bench-deps.
14115 2013-04-12 Roland McGrath <roland@hack.frob.com>
14116 Xavier Roche <roche+kml2@exalead.com>
14119 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14120 just that it's a file descriptor.
14121 * manual/llio.texi (Synchronizing AIO Operations): Update description
14122 for EBADF error from aio_fsync.
14124 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14126 * Rules (bench): Move target definition...
14127 * benchtests/Makefile: ... here.
14129 2013-04-11 Carlos O'Donell <carlos@redhat.com>
14131 * math/libm-test.inc (cos_test): Fix PI/2 test.
14132 (sincos_test): Likewise.
14133 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14134 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14136 2013-04-11 Andreas Schwab <schwab@suse.de>
14139 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14140 accept exponent character only when digits were seen.
14141 * stdio-common/Makefile (tests): Add bug26.
14142 * stdio-common/bug26.c: New file.
14145 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14148 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14150 * Makeconfig (rtld-prefix): Define built linker prefix.
14151 * Rules (run-bench): Use it.
14152 * math/Makefile (run-regen-ulps): Likewise.
14154 * Rules (bench): Remove eval.
14156 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14157 Roland McGrath <roland@hack.frob.com>
14158 Ondrej Bilka <neleai@seznam.cz>
14161 * time/getdate.c: Include ctype.h and alloca.h.
14162 (__getdate_r): Trim leading and trailing spaces of input.
14163 * time/tst-getdate.c (tests): Add tests with leading and
14166 2013-04-08 Roland McGrath <roland@hack.frob.com>
14169 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14170 when computing value.
14172 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14174 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14175 Use testrun.sh to run libm tests.
14178 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14180 2013-04-06 Marko Myllynen <myllynen@redhat.com>
14183 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14185 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14187 * Makefile.in (regen-ulps): New target.
14188 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14189 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14190 [ifneq (no,$(PERL)] (regen-ulps): New target.
14191 [ifeq (no,$(PERL)] (regen-ulps): New target.
14192 * math/libm-test.inc (ulps_file_name): Define.
14193 (output_dir): New variable.
14194 (options): Add "output-dir" option.
14195 (parse_opt): Handle 'o' case.
14196 (main): If output_dir is non-NULL use it as a prefix
14198 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14200 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14202 [BZ #10060, #10062]
14203 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14204 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14205 fail configure if __sync_val_compare_and_swap is not inlined.
14206 * sysdeps/i386/configure: Regenerate.
14207 * configure.in: Build for i686 when configured for i386.
14208 * configure: Regenerate.
14209 * README: Remove i386 reference.
14211 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14213 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14216 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14218 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14219 (lmsnanval): New variables.
14220 (F): Add conversion tests.
14221 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14222 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14224 * stdio-common/tstdiomisc.c (F): Properly collect individual
14227 [BZ #14686, #15336]
14228 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14229 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14230 Instead, use input NaN values or generate a qNaN by arithmetic
14231 operation. Also fix bugs to comply with the standard.
14232 * math/libm-test.inc (remainder_test): Add more tests.
14234 [BZ #15335, #15342]
14235 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14236 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14237 input NaN values or generate a qNaN by arithmetic operation.
14239 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14242 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14245 2013-04-03 Joseph Myers <joseph@codesourcery.com>
14248 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14249 underflowed result.
14250 * math/s_cexpf.c (__cexpf): Likewise.
14251 * math/s_cexpl.c (__cexpl): Likewise.
14252 * math/libm-test.inc (cexp_test): Add more tests.
14254 2013-04-03 Andreas Schwab <schwab@suse.de>
14257 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14258 order arrays from heap if bigger than alloca cutoff.
14260 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14262 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14263 (SNAN_TESTS_double): Refer to GCC PR56831.
14264 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14267 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14269 * Rules (bench): Move bench.out after the run is complete.
14271 * Rules (bench): Echo currently running benchmark.
14273 * benchtests/Makefile (bench): Add atan and slowatan.
14274 * benchtests/atan-inputs: New file.
14275 * benchtests/slowatan-inputs: New file.
14276 * benchtests/slowatan.c: New file.
14278 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14279 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14283 * sysdeps/unix/sysv/linux/kernel-features.h
14284 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14285 __ASSUME_XFS_RESTRICTED_CHOWN.
14286 * sysdeps/unix/sysv/linux/pathconf.c
14287 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14288 Save and restore errno.
14290 2013-04-02 Joseph Myers <joseph@codesourcery.com>
14293 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14294 arguments using __kernel_casinh.
14295 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14296 arguments using __kernel_casinhf.
14297 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14298 arguments using __kernel_casinhl.
14299 * math/libm-test.inc (cacosh_test): Add more tests.
14300 * sysdeps/i386/fpu/libm-test-ulps: Update.
14301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14303 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14305 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14308 * bench/Makefile (bench): Add sin and slowsin.
14309 * benchtests/sin-inputs: New file.
14310 * benchtests/slowsin-inputs: New file.
14311 * benchtests/slowsin.c: New file.
14313 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14314 (bench): Add slowexp and slowpow.
14315 (exp-ITER): Increase iterations.
14316 (pow-ITER): Likewise.
14317 * benchtests/exp-inputs: Change input.
14318 * benchtests/pow-inputs: Likewise.
14319 * benchtests/slowexp-inputs: New file.
14320 * benchtests/slowexp.c: New file.
14321 * benchtests/slowpow-inputs: New file.
14322 * benchtests/slowpow.c: New file.
14324 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14326 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14328 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14329 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14330 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14331 * benchtests/Makefile: Add rint benchtest.
14332 * benchtests/rint-inputs: Input for rint benchtest.
14334 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14336 * Versions.def (libm): Add GLIBC_2.18.
14337 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14338 hidden libm prototypes.
14339 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14340 * math/Makefile (libm-calls): Add s_issignaling.
14341 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14342 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14343 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14345 * math/math.h [__USE_GNU] (issignaling): New macro.
14346 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14347 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14349 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14352 * manual/arith.texi (issignaling): New section.
14353 * manual/libm-err-tab.pl (@all_functions): Update comment.
14354 * math/gen-libm-test.pl (parse_args): Apply special handling for
14356 * math/libm-test.inc (print_float, issignaling_test): New
14358 (check_float_internal): Add issignaling checks.
14359 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14360 default definition.
14361 * sysdeps/powerpc/math-tests.h: New file.
14362 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14364 * math/test-snan.c (TEST_FUNC): Likewise.
14366 2013-03-30 David S. Miller <davem@davemloft.net>
14368 * po/de.po: Update from translation team.
14370 2013-03-30 Joseph Myers <joseph@codesourcery.com>
14373 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14374 imaginary part less than 1.0 and real part less than 0.5
14376 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14377 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14378 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14379 (cacos_test): Add more tests.
14380 (casin_test): Likewise.
14381 (casinh_test): Likewise.
14382 * sysdeps/i386/fpu/libm-test-ulps: Update.
14383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14385 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14387 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14388 ONE with its value.
14390 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14391 (__pow_mp): Replace ONE and MONE with their values.
14392 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14394 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14395 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14396 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14397 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14399 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14401 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14402 (__pow_mp): Replace ZERO and MZERO with their values.
14403 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14404 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14405 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14406 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14407 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14408 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14411 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14413 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14415 2013-03-28 Roland McGrath <roland@hack.frob.com>
14417 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14418 Declare with __attribute__ ((weak)).
14419 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14420 Call __call_tls_dtors only if it's not NULL.
14422 2013-03-28 Roland McGrath <roland@hack.frob.com>
14424 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14425 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14426 magic __ehdr_start linker symbol if it's defined.
14427 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14428 them up here if it was already done.
14430 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14431 (_dl_aux_init): Use const in cast when setting it.
14432 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14433 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14434 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14436 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14438 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14439 * csu/libc-tls.c: Nor here.
14440 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14442 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14443 (__libc_message): Never call vsyslog.
14445 2013-03-28 Alan Modra <amodra@gmail.com>
14447 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14449 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14452 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14455 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14459 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14462 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14463 Don't add gid passed as argument.
14465 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14467 2013-03-27 Joseph Myers <joseph@codesourcery.com>
14470 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14471 imaginary part between 1.0 and 1.5 and real part less than 0.5
14473 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14474 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14475 * math/libm-test.inc (cacos_test): Add more tests.
14476 (casin_test): Likewise.
14477 (casinh_test): Likewise.
14478 * sysdeps/i386/fpu/libm-test-ulps: Update.
14479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14481 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14483 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14486 (denorm): Likewise.
14487 (__dbl_mp): Likewise.
14488 (add_magnitudes): Likewise.
14489 (sub_magnitudes): Likewise.
14497 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14499 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14500 (__dubcos): Likewise.
14501 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14502 (__ieee754_acos): Likewise.
14503 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14504 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14505 (__exp1): Likewise.
14506 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14509 (my_log2): Likewise.
14510 (checkint): Likewise.
14511 * sysdeps/ieee754/dbl-64/e_remainder.c
14512 (__ieee754_remainder): Likewise.
14513 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14514 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14515 (bsloww): Likewise.
14516 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14518 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14519 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14520 MANTISSA_STORE_T to store computations on mantissa. Use
14521 macros for rounding and division.
14522 (denorm): Likewise.
14523 (__dbl_mp): Likewise.
14524 (add_magnitudes): Likewise.
14525 (sub_magnitudes): Likewise.
14528 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14529 powers of two in terms of TWOPOW macro.
14530 (mp_no): Make type of mantissa as MANTISSA_T.
14531 [!RADIXI]: Define RADIXI.
14532 [!TWO52]: Define TWO52.
14533 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14535 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14537 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14538 llroundl symbol when building for PPC32.
14540 2013-03-24 Mark H Weaver <mhw@netris.org>
14542 * manual/arith.texi (Normalization Functions): Fix prototypes for
14543 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14545 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14548 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14549 high value to check if expl overflow.
14550 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14551 to check for underflow and overflow.
14552 * math/libm-test.inc: Add exp test.
14554 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14557 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14560 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14562 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14565 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14567 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14568 wrap blocks consisting of several statements.
14570 * sysdeps/generic/math-tests.h: New file.
14571 * sysdeps/i386/fpu/math-tests.h: Likewise.
14572 * math/test-snan.c: Include it.
14573 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14575 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14578 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14579 (__ieee754_j0l): Do not improve calculations using cos of twice
14580 input for inputs above LDBL_MAX / 2.0L.
14581 (__ieee754_y0l): Likewise.
14582 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14583 (__ieee754_j1l): Do not improve calculations using cos of twice
14584 input for inputs above LDBL_MAX / 2.0L.
14585 (__ieee754_y1l): Likewise.
14586 * math/libm-test.inc (j0_test): Add another test.
14587 (j1_test): Likewise.
14588 (y0_test): Likewise.
14589 (y1_test): Likewise.
14590 * sysdeps/i386/fpu/libm-test-ulps: Update.
14592 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14594 * Rules ($(objpfx)bench-%.c): Include code from a C source
14597 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14600 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14601 imaginary part 1.0 and real part less than 0.5 specially.
14602 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14603 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14604 * math/libm-test.inc (cacos_test): Add more tests.
14605 (casin_test): Likewise.
14606 (casinh_test): Likewise.
14607 * sysdeps/i386/fpu/libm-test-ulps: Update.
14608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14610 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14613 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14615 2013-03-20 Joseph Myers <joseph@codesourcery.com>
14617 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14618 * config.make.in (config-cflags-sse4): Remove variable.
14619 (config-cflags-avx): Likewise.
14620 (config-cflags-sse2avx): Likewise.
14621 (config-cflags-novzeroupper): Likewise.
14622 (config-asflags-i686): Likewise.
14623 (have-mfma4): Likewise.
14624 (have-as-vis3): Likewise.
14626 * configure.in (MIG): Do not AC_SUBST.
14627 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14628 (libc_cv_cc_sse4): Do not AC_SUBST.
14629 (libc_cv_cc_avx): Likewise.
14630 (libc_cv_cc_sse2avx): Likewise.
14631 (libc_cv_cc_novzeroupper): Likewise.
14632 (libc_cv_cc_fma4): Likewise.
14633 (libc_cv_as_i686): Likewise.
14634 (libc_cv_sparc_as_vis3): Likewise.
14635 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14637 (config-asflags-i686): Likewise.
14638 (config-cflags-avx): Likewise.
14639 (config-cflags-sse2avx): Likewise.
14640 (have-mfma4): Likewise.
14641 (config-cflags-novzeroupper): Likewise.
14642 * sysdeps/mach/configure.in (MIG): Likewise.
14643 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14644 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14646 (config-cflags-avx): Likewise.
14647 (config-cflags-sse2avx): Likewise.
14648 (have-mfma4): Likewise.
14649 (config-cflags-novzeroupper): Likewise.
14650 * configure: Regenerated.
14651 * sysdeps/i386/configure: Likewise.
14652 * sysdeps/mach/configure: Likewise.
14653 * sysdeps/sparc/configure: Likewise.
14654 * sysdeps/x86_64/configure: Likewise.
14656 2013-03-20 Roland McGrath <roland@hack.frob.com>
14659 * locale/programs/localedef.c (options): Put N_ translation marker
14660 on argument names, not just descriptions.
14662 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14664 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14666 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
14669 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14671 2013-03-19 Roland McGrath <roland@hack.frob.com>
14673 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14674 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14675 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14676 [!BEFORE_ABORT] (before_abort): New function.
14677 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14678 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14679 (writev_for_fatal): New function.
14680 (WRITEV_FOR_FATAL): New macro; call that.
14681 (backtrace_and_maps): New function.
14682 (BEFORE_ABORT): New macro; call that.
14683 (struct str_list): Type removed.
14684 (__libc_message, __libc_fatal): Functions removed.
14685 Include <sysdeps/posix/libc_fatal.c> instead.
14687 2013-03-19 Joseph Myers <joseph@codesourcery.com>
14689 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14691 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14694 2013-03-19 Andreas Schwab <schwab@suse.de>
14696 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14697 * sysdeps/gnu/configure: Regenerate.
14699 * configure.in: Substitute libc_cv_rtlddir.
14700 * configure: Regenerate.
14701 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14702 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14703 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14704 * elf/Makefile (install-others, CFLAGS-interp.c)
14705 (ldso_install, common-ldd-rewrite): Likewise.
14706 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14707 $(inst_slibdir)/$(rtld-installed-name).
14708 * scripts/rellns-sh: Add -p option.
14709 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14712 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14714 * manual/nptl.texi: Renamed to ...
14715 * manual/threads.texi: ... this.
14716 * manual/Makefile (chapters): Update.
14718 2013-03-18 Roland McGrath <roland@hack.frob.com>
14721 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14722 on argument names, not just descriptions.
14723 * malloc/memusagestat.c (options): Likewise.
14724 * nss/getent.c (options): Likewise.
14726 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
14729 * iconv/iconv_prog.c (options): Put N_ translation marker
14730 on argument names, not just descriptions.
14731 * iconv/iconvconfig.c (options): Likewise.
14733 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
14735 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14736 implementation which is faster on all x86_64 architectures.
14737 Tested on AMD, Intel Nehalem, SNB, IVB.
14738 * sysdeps/x86_64/strnlen.S: Likewise.
14740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14741 Remove all multiarch strlen and strnlen versions.
14742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14743 Remove strlen and strnlen related parts.
14745 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14746 Inline strlen part.
14747 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14749 * sysdeps/x86_64/multiarch/strlen.S: Remove.
14750 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14751 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14752 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14753 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14754 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14756 2013-03-17 Carlos O'Donell <carlos@redhat.com>
14758 * manual/memory.texi (Malloc Tunable Parameters):
14759 Sort parameters alphabetically. Add comments for missing entries.
14761 2013-03-17 David S. Miller <davem@davemloft.net>
14763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14765 2013-03-16 Joseph Myers <joseph@codesourcery.com>
14768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14769 for arguments at most half maximum finite value.
14770 * math/libm-test.inc (j0_test): Add more tests.
14771 (j1_test): Likewise.
14772 (y0_test): Likewise.
14773 (y1_test): Likewise.
14774 * sysdeps/i386/fpu/libm-test-ulps: Update.
14775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14778 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14779 1 / x and functions P and Q for arguments above 0x1p256L.
14780 (__ieee754_y0l): Likewise.
14781 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14782 (__ieee754_y1l): Likewise.
14783 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14784 (j1_test): Likewise.
14785 (y0_test): Likewise.
14786 (y1_test): Likewise.
14788 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
14790 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14793 2013-03-15 Roland McGrath <roland@hack.frob.com>
14795 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14796 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14797 zero since it's initialized to EXEC_PAGESIZE.
14799 * sysdeps/unix/sysv/linux/ldsodefs.h
14800 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14801 * sysdeps/generic/ldsodefs.h: ... here.
14803 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
14805 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14807 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14809 * math/test-snan.c: Renamed from
14810 sysdeps/powerpc/fpu/test-powerpc-snan.c.
14811 * math/Makefile (tests): Add test-snan.
14812 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14815 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14816 SUFFIX. Initialize qNaN_var with __builtin_nan family of
14818 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
14819 __builtin_nan family of functions.
14820 * math/libm-test.inc (initialize): Initialize qnan_value with
14821 __builtin_nan family of functions.
14822 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14824 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14826 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
14827 storage class. Initialize qNaN_var and sNaN_var with
14828 __builtin_nan and __builtin_nans families of functions,
14831 * math/libm-test.inc (acosh_test): Also test with qNaN input.
14832 (sqrt_test): Remove duplicate test with qNaN input.
14833 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14834 (round_test, signbit_test, significand_test): Note missing +/-Inf
14835 as well as qNaN tests.
14837 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14838 qNaN_var. Fix a few strings, too.
14839 * math/libm-test.inc (nan_value): Rename to qnan_value.
14840 * math/gen-libm-test.pl (%beautify): Adjust to that.
14841 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14842 * math/test-misc.c (main): Likewise.
14843 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14844 to __qnan_bytes, and __qnan_union, respectively.
14845 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14847 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14848 and lqnanval, respectively.
14849 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14850 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14851 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14852 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14854 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14855 * math/test-misc.c (main) [__x86_64__]: Enable test for long
14858 * math/test-misc.c (main): Fix copy'n'pastos.
14859 * misc/tst-efgcvt.c (special): Likewise.
14861 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14862 Remove declarations.
14864 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14866 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14867 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14868 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14869 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14871 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14873 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14874 macro to return vdso values correctly in IFUNC implementations.
14875 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14876 Optimization by using IFUNC.
14878 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14879 Richard Henderson <rth@redhat.com>
14880 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14882 * Makefile.in (bench): New target.
14883 * NEWS: Mention the benchmark framework.
14884 * Rules (bench): Likewise.
14885 (binaries-bench): Generate binaries for functions to
14887 * benchtests/Makefile: New makefile for benchmark tests.
14888 * benchtests/bench-skeleton.c: New skeleton file for benchmark
14890 * benchtests/exp-inputs: New input file for EXP function.
14891 * benchtests/pow-inputs: New input file for POW function.
14892 * scripts/bench.pl: New script to generate source files for
14893 benchmark programs.
14895 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14897 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14898 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14899 computations on mantissa. Use macros for rounding and
14901 (denorm): Likewise.
14902 (__dbl_mp): Likewise.
14903 (add_magnitudes): Likewise.
14904 (sub_magnitudes): Likewise.
14907 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14908 powers of two in terms of TWOPOW macro.
14909 (mp_no): Make type of mantissa as MANTISSA_T.
14910 [!RADIXI]: Define RADIXI.
14911 [!TWO52]: Define TWO52.
14912 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14914 * manual/nptl.texi (cindex): Modify threads to pthreads.
14916 2013-03-15 Joseph Myers <joseph@codesourcery.com>
14918 * sysdeps/x86_64/preconfigure: Regenerated.
14920 2013-03-14 Joseph Myers <joseph@codesourcery.com>
14923 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14925 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
14926 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
14928 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
14929 * math/libm-test.inc (j0_test): Do not allow one spurious
14930 underflow exception.
14931 (y1_test): Likewise.
14933 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14935 * manual/Makefile (chapters): Add nptl.
14936 * manual/debug.texi (Debugging Support): Add link to Threads
14938 * manual/nptl.texi: New file.
14940 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
14942 2013-03-14 Petr Baudis <pasky@ucw.cz>
14944 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
14945 for non-NULL pointer before the memory validity test. Pointed
14946 out by Holger Brunck <holger.brunck@keymile.com>.
14948 2013-03-13 Andreas Schwab <schwab@suse.de>
14950 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
14953 2013-03-13 Joseph Myers <joseph@codesourcery.com>
14955 * timezone/zic.c: Update from tzcode 2013b.
14957 2013-03-12 Carlos O'Donell <carlos@redhat.com>
14959 * manual/install.texi (Configuring and compiling):
14960 Mention i686 and i586.
14961 * INSTALL: Regenerate.
14963 2013-03-12 Roland McGrath <roland@hack.frob.com>
14965 * sysdeps/init_array/elf-init.c: New file.
14967 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
14968 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
14970 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
14971 __gmon_start__ as global, but as static with a .preinit_array pointer.
14972 * sysdeps/init_array/gmon-start.c: New file. Use that.
14973 * sysdeps/init_array/crti.S: New file, empty except for comments.
14974 * sysdeps/init_array/crtn.S: Likewise.
14976 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
14978 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
14980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14981 Remove Prefer_SSE_for_memop.
14982 * sysdeps/x86_64/multiarch/init-arch.h: Remove
14983 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
14984 HAS_PREFER_SSE_FOR_MEMOP.
14985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14988 Remove bzero, memset ifunc support.
14989 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
14990 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
14991 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14992 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14994 2013-03-11 Andreas Schwab <schwab@suse.de>
14997 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
14999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15000 (GLIBC_2.16): Remove pthread_atfork.
15002 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15004 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15005 (ptestcases.h): Likewise.
15007 2013-03-08 Roland McGrath <roland@hack.frob.com>
15009 * Makeconfig ($(common-objpfx)config.status): Depend on
15010 sysdeps/*/preconfigure{,.in} too.
15012 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15014 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15015 (__free_hook): Use void * instead of __malloc_ptr_t.
15016 (__malloc_hook): Likewise.
15017 (__realloc_hook): Likewise.
15018 (__memalign_hook): Likewise.
15019 (__after_morecore_hook): Likewise.
15020 * malloc/arena.c (save_malloc_hook): Likewise.
15021 (save_free_hook): Likewise.
15022 * malloc/hooks.c (malloc_hook_ini): Likewise.
15023 (realloc_hook_ini): Likewise.
15024 (memalign_hook_ini): Likewise.
15025 * malloc/malloc.c (malloc_hook_ini): Likewise.
15026 (realloc_hook_ini): Likewise.
15027 (memalign_hook_ini): Likewise.
15028 (__free_hook): Likewise.
15029 (__malloc_hook): Likewise.
15030 (__realloc_hook): Likewise.
15031 (__memalign_hook): Likewise.
15032 (__libc_malloc): Likewise.
15033 (__libc_free): Likewise.
15034 (__libc_realloc): Likewise.
15035 (__libc_memalign): Likewise.
15036 (__libc_valloc): Likewise.
15037 (__libc_pvalloc): Likewise.
15038 (__libc_calloc): Likewise.
15039 (__posix_memalign): Likewise.
15040 * malloc/morecore.c (__sbrk): Likewise.
15041 (__default_morecore): Likewise.
15043 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15045 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15046 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15047 __malloc_ptrdiff_t.
15049 * malloc/malloc.h (__malloc_size_t): Remove macro.
15050 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15052 (old_memalign_hook): Likewise.
15053 (old_realloc_hook): Likewise.
15054 (struct hdr): Likewise.
15056 (mallochook): Likewise.
15057 (memalignhook): Likewise.
15058 (reallochook): Likewise.
15059 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15060 (tr_old_realloc_hook): Likewise.
15061 (tr_old_memalign_hook): Likewise.
15062 (tr_mallochook): Likewise.
15063 (tr_reallochook): Likewise.
15064 (tr_memalignhook): Likewise.
15066 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15068 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15069 default_ldbl_pack and using as default implementation.
15070 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15072 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15073 redundant definition.
15074 (ldbl_insert_mantissa): Likewise.
15075 (ldbl_canonicalize): Likewise.
15076 (ldbl_nearbyint): Likewise.
15077 (ldbl_pack): Rename to ldbl_pack_ppc.
15078 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15079 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15080 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15082 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15085 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15086 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15087 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15089 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15090 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15091 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15093 2013-03-07 Andreas Jaeger <aj@suse.de>
15095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15098 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15100 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15101 Include mpa.h and declare __MPEXP.
15102 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15103 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15104 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15105 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15106 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15107 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15108 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15110 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15111 (__slowpow): Use long double EXPL and LOGL functions to
15113 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15114 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15115 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15116 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15117 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15118 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15121 intermediate variable to calculate exponent.
15123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15127 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15128 [!NO__SQR]: Define __sqr.
15129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15130 and NO__SQR. Remove all code except __mul and __sqr. Include
15131 sysdeps/ieee754/dbl-64/mpa.c.
15132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15135 * posix/Makefile (tests): Add tst-pathconf.
15136 * posix/tst-pathconf.c: New test case.
15137 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15139 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15141 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
15143 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15145 2013-03-06 Andreas Jaeger <aj@suse.de>
15147 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15148 definition via __MAP_ANONYMOUS.
15150 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15151 it's not part of Linux headers.
15153 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15154 (MAP_HUGE_MASK): Define.
15156 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15158 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15161 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15162 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15164 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15165 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15167 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15169 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15170 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15171 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15172 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15173 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15174 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15176 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15179 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15180 Handle f2fs and efivarfs.
15182 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15185 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15186 (EFIVARFS_MAGIC): Add.
15187 (F2FS_LINK_MAX): Add.
15189 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15191 * stdio-common/vfprintf.c: Replace __builtin_expect with
15194 2013-03-06 Joseph Myers <joseph@codesourcery.com>
15197 * sysdeps/generic/bp-sym.h: Remove file.
15198 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15199 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15200 <bp-sym.h> and <bp-asm.h>.
15201 (__longjmp): Don't use BP_SYM.
15202 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15204 (memcpy): Don't use BP_SYM.
15205 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15206 <bp-sym.h> and <bp-asm.h>.
15207 (memcpy): Don't use BP_SYM.
15208 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15210 (memcpy): Don't use BP_SYM.
15211 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15213 (memset): Don't use BP_SYM.
15214 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15215 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15216 (__bzero): Don't use BP_SYM.
15217 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15218 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15219 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15220 <bp-sym.h> and <bp-asm.h>.
15221 (memcmp): Don't use BP_SYM. Remove comment about bounded
15223 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15224 <bp-sym.h> and <bp-asm.h>.
15225 (memcpy): Don't use BP_SYM.
15226 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15227 <bp-sym.h> and <bp-asm.h>.
15228 (memset): Don't use BP_SYM.
15229 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15230 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15231 (__bzero): Don't use BP_SYM.
15232 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15233 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15234 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15235 <bp-sym.h> and <bp-asm.h>.
15236 (strncmp): Don't use BP_SYM. Remove comment about bounded
15238 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15239 <bp-sym.h> and <bp-asm.h>.
15240 (memcpy): Don't use BP_SYM.
15241 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15242 <bp-sym.h> and <bp-asm.h>.
15243 (memset): Don't use BP_SYM.
15244 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15245 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15246 (__bzero): Don't use BP_SYM.
15247 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15248 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15250 <bp-sym.h> and <bp-asm.h>.
15251 (__memchr): Don't use BP_SYM.
15252 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15253 <bp-sym.h> and <bp-asm.h>.
15254 (memcmp): Don't use BP_SYM. Remove comment about bounded
15256 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15257 <bp-sym.h> and <bp-asm.h>.
15258 (memcpy): Don't use BP_SYM.
15259 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15260 <bp-sym.h> and <bp-asm.h>.
15261 (__mempcpy): Don't use BP_SYM.
15262 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15263 <bp-sym.h> and <bp-asm.h>.
15264 (__memrchr): Don't use BP_SYM.
15265 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15266 <bp-sym.h> and <bp-asm.h>.
15267 (memset): Don't use BP_SYM.
15268 (__bzero): Likewise.
15269 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15270 <bp-sym.h> and <bp-asm.h>.
15271 (__rawmemchr): Don't use BP_SYM.
15272 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15273 <bp-sym.h> and <bp-asm.h>.
15274 (__STRCMP): Don't use BP_SYM.
15275 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15276 <bp-sym.h> and <bp-asm.h>.
15277 (strchr): Don't use BP_SYM.
15278 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15279 <bp-sym.h> and <bp-asm.h>.
15280 (__strchrnul): Don't use BP_SYM.
15281 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15282 <bp-sym.h> and <bp-asm.h>.
15283 (strlen): Don't use BP_SYM.
15284 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15285 <bp-sym.h> and <bp-asm.h>.
15286 (strncmp): Don't use BP_SYM. Remove comment about bounded
15288 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15289 <bp-sym.h> and <bp-asm.h>.
15290 (__strnlen): Don't use BP_SYM.
15291 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15292 <bp-sym.h> and <bp-asm.h>.
15293 (__GI__setjmp): Don't use BP_SYM.
15294 (_setjmp): Likewise.
15295 (__sigsetjmp): Likewise.
15296 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15297 (L(start_addresses)): Don't use BP_SYM.
15298 (_start): Likewise.
15299 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15301 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15302 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15303 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15304 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15305 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15307 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15308 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15309 about bounded pointers.
15310 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15311 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15312 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15314 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15315 about bounded pointers. Remove GKM FIXME comments.
15316 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15317 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15319 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15320 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15321 Remove GKM FIXME comments.
15322 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15323 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15324 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15326 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15327 about bounded pointers. Remove GKM FIXME comment.
15328 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15330 (strncmp): Don't use BP_SYM. Remove comment about bounded
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15333 <bp-sym.h> and <bp-asm.h>.
15334 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15336 <bp-sym.h> and <bp-asm.h>.
15337 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15340 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15342 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15345 2013-03-05 David S. Miller <davem@davemloft.net>
15347 * po/es.po: Update from translation team.
15349 2013-03-05 Andreas Jaeger <aj@suse.de>
15351 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15352 <bits/mman-linux.h>.
15353 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15355 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15356 <bits/mman-linux.h> to end of file.
15357 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15359 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15360 <bits/mman-linux.h> to end of file.
15361 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15363 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15364 <bits/mman-linux.h> to end of file.
15366 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15367 (MCL_CURRENT, MCL_FUTURE): Define here.
15369 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15372 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15374 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15376 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15378 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15379 fourth parameter needed for rt_sigprocmask syscall.
15380 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15381 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15382 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15383 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15384 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15385 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15387 2013-03-04 Joseph Myers <joseph@codesourcery.com>
15390 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15391 comment about bounded pointers.
15392 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15393 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15395 2013-03-04 Andreas Jaeger <aj@suse.de>
15397 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15398 common definitions.
15400 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15401 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15402 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15403 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15404 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15407 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15410 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15411 __ieee754_sqrl instead of __sqrl.
15413 2013-03-01 Joseph Myers <joseph@codesourcery.com>
15415 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15416 * sysdeps/powerpc/fpu_control.h: ... here.
15417 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15418 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15419 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15420 * sysdeps/powerpc/bits/mathinline.h: ... here.
15422 2013-03-01 Roland McGrath <roland@hack.frob.com>
15424 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15425 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15426 to just [NEED_DL_SYSINFO_DSO].
15427 * elf/dl-support.c: Likewise.
15428 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15429 * elf/rtld.c (dl_main): Likewise.
15430 * elf/setup-vdso.h (setup_vdso): Likewise.
15431 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15432 * sysdeps/unix/sysv/linux/dl-sysdep.c
15433 (_dl_discover_osversion): Likewise.
15435 2013-03-01 Carlos O'Donell <carlos@redhat.com>
15437 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15438 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15440 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15442 * NEWS: Mention libm performance improvements and non-x86 PI
15445 * csu/libc-start.c (__pthread_initialize_minimal): Change
15446 function arguments.
15447 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15449 2013-02-28 Joseph Myers <joseph@codesourcery.com>
15452 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15453 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15454 <bp-sym.h> and <bp-asm.h>.
15455 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15456 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15458 (memcpy): Don't use BP_SYM.
15459 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15461 (__mpn_add_n): Don't use BP_SYM.
15462 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15463 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15465 (__mpn_addmul_1): Don't use BP_SYM.
15466 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15467 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15469 (_setjmp): Don't use BP_SYM.
15470 (__novmx_setjmp): Likewise.
15471 (__GI__setjmp): Likewise.
15472 (__vmx_setjmp): Likewise.
15473 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15475 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15476 (__bzero): Don't use BP_SYM.
15477 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15478 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15479 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15480 <bp-sym.h> and <bp-asm.h>.
15481 (memcpy): Don't use BP_SYM.
15482 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15483 <bp-sym.h> and <bp-asm.h>.
15484 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15485 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15486 <bp-sym.h> and <bp-asm.h>.
15487 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15488 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15490 (__mpn_lshift): Don't use BP_SYM.
15491 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15492 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15494 (memset): Don't use BP_SYM.
15495 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15496 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15497 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15499 (__mpn_mul_1): Don't use BP_SYM.
15500 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15502 <bp-sym.h> and <bp-asm.h>.
15503 (memcmp): Don't use BP_SYM.
15504 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15505 <bp-sym.h> and <bp-asm.h>.
15506 (memcpy): Don't use BP_SYM.
15507 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15508 <bp-sym.h> and <bp-asm.h>.
15509 (memset): Don't use BP_SYM.
15510 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15511 <bp-sym.h> and <bp-asm.h>.
15512 (strncmp): Don't use BP_SYM.
15513 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15514 <bp-sym.h> and <bp-asm.h>.
15515 (memcpy): Don't use BP_SYM.
15516 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15517 <bp-sym.h> and <bp-asm.h>.
15518 (memset): Don't use BP_SYM.
15519 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15520 <bp-sym.h> and <bp-asm.h>.
15521 (__memchr): Don't use BP_SYM.
15522 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15523 <bp-sym.h> and <bp-asm.h>.
15524 (memcmp): Don't use BP_SYM.
15525 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15526 <bp-sym.h> and <bp-asm.h>.
15527 (memcpy): Don't use BP_SYM.
15528 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15529 <bp-sym.h> and <bp-asm.h>.
15530 (__mempcpy): Don't use BP_SYM.
15531 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15532 <bp-sym.h> and <bp-asm.h>.
15533 (__memrchr): Don't use BP_SYM.
15534 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15535 <bp-sym.h> and <bp-asm.h>.
15536 (memset): Don't use BP_SYM.
15537 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15538 <bp-sym.h> and <bp-asm.h>.
15539 (__rawmemchr): Don't use BP_SYM.
15540 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15541 <bp-sym.h> and <bp-asm.h>.
15542 (__STRCMP): Don't use BP_SYM.
15543 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15544 <bp-sym.h> and <bp-asm.h>.
15545 (strchr): Don't use BP_SYM.
15546 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15547 <bp-sym.h> and <bp-asm.h>.
15548 (__strchrnul): Don't use BP_SYM.
15549 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15550 <bp-sym.h> and <bp-asm.h>.
15551 (strlen): Don't use BP_SYM.
15552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15553 <bp-sym.h> and <bp-asm.h>.
15554 (strncmp): Don't use BP_SYM.
15555 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15556 <bp-sym.h> and <bp-asm.h>.
15557 (__strnlen): Don't use BP_SYM.
15558 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15560 (__mpn_rshift): Don't use BP_SYM.
15561 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15562 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15563 <bp-sym.h> and <bp-asm.h>.
15564 (__sigsetjmp): Don't use BP_SYM.
15565 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15566 (L(start_addresses)): Don't use BP_SYM.
15567 (_start): Likewise.
15568 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15570 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15571 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15572 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15573 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15575 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15576 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15577 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15578 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15580 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15582 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15583 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15585 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15587 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15588 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15589 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15591 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15593 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15595 (strncmp): Don't use BP_SYM,
15596 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15598 (__mpn_sub_n): Don't use BP_SYM.
15599 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15600 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15602 (__mpn_submul_1): Don't use BP_SYM.
15603 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15605 <bp-sym.h> and <bp-asm.h>.
15606 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15608 <bp-sym.h> and <bp-asm.h>.
15609 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15612 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15615 Use ZK to minimize writes to Z.
15616 (sub_magnitudes): Simplify code a bit.
15617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15618 Use ZK to minimize writes to Z.
15619 (sub_magnitudes): Simplify code a bit.
15621 2013-02-27 Roland McGrath <roland@hack.frob.com>
15623 * csu/gmon-start.c: Add special exception to license text.
15625 2013-02-27 Richard Henderson <rth@redhat.com>
15627 * scripts/config.guess: Update from config.git.
15628 * scripts/config.sub: Likewise.
15630 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15632 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15634 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15636 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15638 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15640 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15642 2013-02-26 Roland McGrath <roland@hack.frob.com>
15644 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15645 [$(build-shared = yes].
15647 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15649 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15650 (__mul): Reduce iterations for calculating mantissa.
15652 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15654 (__mpranred): Likewise.
15657 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15658 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15660 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15662 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15663 Define __attribute__.
15665 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15667 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15669 * posix/regex_internal.h (__attribute): Remove.
15670 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15671 (re_string_context_at): Likewise.
15672 (bitset_not): Use __attribute__ and mark function as possibly
15674 (bitset_merge): Likewise.
15675 (bitset_mask): Likewise.
15676 (re_string_char_size_at): Likewise.
15677 (re_string_wchar_at): Likewise.
15678 (re_string_elem_size_at): Likewise.
15680 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15682 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15686 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15690 (denorm): Likewise.
15691 (__dbl_mp): Likewise.
15692 (add_magnitudes): Likewise.
15693 (sub_magnitudes): Likewise.
15697 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15700 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15703 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15707 up changes with default code.
15708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15711 2013-02-24 Allan McRae <allan@archlinux.org>
15713 * manual/socket.texi (The Internet Namespace): Order menu items
15714 to match that in the file.
15716 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15717 node listing of the info page menu.
15719 2013-02-21 Joseph Myers <joseph@codesourcery.com>
15722 * sysdeps/i386/bp-asm.h: Remove file.
15723 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15724 (PARMS): Do not use macros from bp-asm.h.
15728 (__mpn_add_n): Do not use BP_SYM
15729 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15731 (PARMS): Do not use macros from bp-asm.h.
15734 (__mpn_addmul_1): Do not use BP_SYM
15735 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15737 (PARMS): Do not use macros from bp-asm.h.
15738 (SIGMSK): Likewise.
15739 (_setjmp): Likewise. Do not use BP_SYM.
15740 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15742 (PARMS): Do not use macros from bp-asm.h.
15743 (SIGMSK): Likewise.
15744 (setjmp): Likewise. Do not use BP_SYM.
15745 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15747 (PARMS): Do not use macros from bp-asm.h.
15748 (__frexp): Do not use BP_SYM.
15750 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15752 (PARMS): Do not use macros from bp-asm.h.
15753 (__frexpf): Do not use BP_SYM.
15754 (frexpf): Likewise.
15755 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15757 (PARMS): Do not use macros from bp-asm.h.
15758 (__frexpl): Do not use BP_SYM.
15759 (frexpl): Likewise.
15760 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15762 (PARMS): Do not use macros from bp-asm.h.
15763 (__remquo): Do not use BP_SYM.
15764 (remquo): Likewise.
15765 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15767 (PARMS): Do not use macros from bp-asm.h.
15768 (__remquof): Do not use BP_SYM.
15769 (remquof): Likewise.
15770 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15772 (PARMS): Do not use macros from bp-asm.h.
15773 (__remquol): Do not use BP_SYM.
15774 (remquol): Likewise.
15775 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15777 (PARMS): Do not use macros from bp-asm.h.
15780 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
15781 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15783 (PARMS): Do not use macros from bp-asm.h.
15784 (strlen): Do not use BP_SYM.
15785 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15787 (PARMS): Do not use macros from bp-asm.h.
15791 (__mpn_add_n): Do not use BP_SYM.
15792 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15794 (PARMS): Do not use macros from bp-asm.h.
15797 (__mpn_addmul_1): Do not use BP_SYM.
15798 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15801 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15803 (PARMS): Do not use macros from bp-asm.h.
15806 (__mpn_lshift): Do not use BP_SYM.
15807 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15809 (PARMS): Do not use macros from bp-asm.h.
15813 (memcpy): Likewise. Do not use BP_SYM.
15814 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15815 libc_hidden_def and weak_alias.
15816 (mempcpy): Do not use BP_SYM in weak_alias.
15817 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15819 (PARMS): Do not use macros from bp-asm.h.
15822 [!BZERO_P] (CHR): Likewise.
15823 (memset): Likewise. Do not use BP_SYM.
15824 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15826 (PARMS): Do not use macros from bp-asm.h.
15829 (__mpn_mul_1): Do not use BP_SYM.
15830 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15832 (PARMS): Do not use macros from bp-asm.h.
15835 (__mpn_rshift): Do not use BP_SYM.
15836 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15838 (PARMS): Do not use macros from bp-asm.h.
15841 (strchr): Likewise. Do not use BP_SYM.
15842 (index): Do not use BP_SYM in weak_alias.
15843 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15845 (PARMS): Do not use macros from bp-asm.h.
15848 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
15849 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15851 (PARMS): Do not use macros from bp-asm.h.
15852 (strlen): Do not use BP_SYM.
15853 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15855 (PARMS): Do not use macros from bp-asm.h.
15859 (__mpn_sub_n): Do not use BP_SYM.
15860 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15862 (PARMS): Do not use macros from bp-asm.h.
15865 (__mpn_submul_1): Do not use BP_SYM.
15866 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15868 (PARMS): Do not use macros from bp-asm.h.
15872 (__mpn_add_n): Do not use BP_SYM.
15873 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15876 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15878 (PARMS): Do not use macros from bp-asm.h.
15881 (memcmp): Do not use BP_SYM.
15882 (bcmp): Do not use BP_SYM in weak_alias.
15883 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15885 (PARMS): Do not use macros from bp-asm.h.
15889 (memcpy): Likewise. Do not use BP_SYM.
15890 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15892 (PARMS): Do not use macros from bp-asm.h.
15896 (memmove): Likewise. Do not use BP_SYM.
15897 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15899 (PARMS): Do not use macros from bp-asm.h.
15903 (__mempcpy): Likewise. Do not use BP_SYM.
15904 (mempcpy): Do not use BP_SYM in weak_alias.
15905 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15907 (PARMS): Do not use macros from bp-asm.h.
15910 [!BZERO_P] (CHR): Likewise.
15911 (memset): Likewise. Do not use BP_SYM.
15912 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15914 (PARMS): Do not use macros from bp-asm.h.
15916 (strcmp): Do not use BP_SYM.
15917 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15919 (PARMS): Do not use macros from bp-asm.h.
15922 [USE_AS_STRTOK_R] (SAVE): Likewise.
15923 (FUNCTION): Likewise. Do not use BP_SYM.
15924 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
15926 (strtok_r): Likewise.
15927 (__GI___strtok_r): Likewise.
15928 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15929 (PARMS): Do not use macros from bp-asm.h.
15932 (__mpn_lshift): Do not use BP_SYM.
15933 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15934 (PARMS): Do not use macros from bp-asm.h.
15937 (__memchr): Do not use BP_SYM.
15938 (memchr): Do not use BP_SYM in weak_alias.
15939 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15940 (PARMS): Do not use macros from bp-asm.h.
15943 (memcmp): Do not use BP_SYM.
15944 (bcmp): Do not use BP_SYM in weak_alias.
15945 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
15946 (PARMS): Do not use macros from bp-asm.h.
15949 (__mpn_mul_1): Do not use BP_SYM.
15950 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
15952 (PARMS): Do not use macros from bp-asm.h.
15955 (__rawmemchr): Do not use BP_SYM.
15956 (rawmemchr): Do not use BP_SYM in weak_alias.
15957 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15958 (PARMS): Do not use macros from bp-asm.h.
15961 (__mpn_rshift): Do not use BP_SYM.
15962 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15963 (PARMS): Do not use macros from bp-asm.h.
15964 (SIGMSK): Likewise.
15965 (__sigsetjmp): Likewise. Do not use BP_SYM.
15966 * sysdeps/i386/start.S: Do not include "bp-sym.h".
15967 (_start): Do not use BP_SYM.
15968 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
15969 (PARMS): Do not use macros from bp-asm.h.
15972 (__stpcpy): Likewise. Do not use BP_SYM.
15973 (stpcpy): Do not use BP_SYM in weak_alias.
15974 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
15976 (PARMS): Do not use macros from bp-asm.h.
15980 (__stpncpy): Likewise. Do not use BP_SYM.
15981 (stpncpy): Do not use BP_SYM in weak_alias.
15982 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15983 (PARMS): Do not use macros from bp-asm.h.
15986 (strchr): Likewise. Do not use BP_SYM.
15987 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
15989 (PARMS): Do not use macros from bp-asm.h.
15992 (__strchrnul): Likewise. Do not use BP_SYM.
15993 (strchrnul): Do not use BP_SYM in weak_alias.
15994 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
15996 (PARMS): Do not use macros from bp-asm.h.
15998 (strcspn): Do not use BP_SYM.
15999 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16001 (PARMS): Do not use macros from bp-asm.h.
16004 (strpbrk): Likewise. Do not use BP_SYM.
16005 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16007 (PARMS): Do not use macros from bp-asm.h.
16010 (strrchr): Likewise. Do not use BP_SYM.
16011 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16012 (PARMS): Do not use macros from bp-asm.h.
16014 (strspn): Do not use BP_SYM.
16015 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16016 (PARMS): Do not use macros from bp-asm.h.
16020 (FUNCTION): Likewise. Do not use BP_SYM.
16021 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16023 (strtok_r): Likewise.
16024 (__GI___strtok_r): Likewise.
16025 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16026 (PARMS): Do not use macros from bp-asm.h.
16030 (__mpn_sub_n): Do not use BP_SYM.
16031 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16033 (PARMS): Do not use macros from bp-asm.h.
16036 (__mpn_submul_1): Do not use BP_SYM.
16037 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16039 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16041 (PARMS): Do not use macros from bp-asm.h.
16046 (__clone): Do not use BP_SYM.
16047 (clone): Do not use BP_SYM in weak_alias.
16048 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16050 (PARMS): Do not use macros from bp-asm.h.
16052 (__mmap64): Do not use BP_SYM.
16053 (mmap64): Do not use BP_SYM in weak_alias.
16054 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16055 <bp-sym.h> and <bp-asm.h>.
16056 (PARMS): Do not use macros from bp-asm.h.
16057 (__posix_fadvise64_l64): Do not use BP_SYM.
16058 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16059 (PARMS): Do not use macros from bp-asm.h.
16061 (semtimedop): Do not use BP_SYM.
16062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16065 2013-02-21 Allan McRae <allan@archlinux.org>
16067 * manual/message.texi (Charset conversion in gettext):
16068 Move @end statement to beginning of line.
16070 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16077 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16078 (denorm): Likewise.
16079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16082 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16084 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16085 tail-call to the resolved function if pltexit isn't needed.
16087 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16090 or Y being zero as being unlikely.
16091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16094 2013-02-20 Carlos O'Donell <carlos@redhat.com>
16096 * manual/nss.texi (System Databases and Name Service Switch):
16097 Remove frobnicate @pxref.
16099 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16101 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16102 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16104 2013-02-20 Petr Machata <pmachata@redhat.com>
16106 * elf/elf.h (R_ARM_TARGET1): New macro.
16107 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16108 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16109 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16110 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16111 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16112 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16113 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16114 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16115 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16116 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16117 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16118 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16119 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16120 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16121 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16122 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16123 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16124 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16125 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16126 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16127 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16128 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16129 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16130 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16131 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16132 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16133 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16134 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16135 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16136 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16137 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16138 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16139 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16140 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16141 (R_ARM_THM_GOT_BREL12): Likewise.
16142 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16143 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16144 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16145 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16146 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16147 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16148 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16149 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16150 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16152 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16154 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16155 __attribute_used__ to __attribute__ ((unused)).
16157 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16159 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16162 comment formatting.
16163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16165 2013-02-19 Joseph Myers <joseph@codesourcery.com>
16168 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16170 (ENTER): Remove both macro definitions.
16172 (CHECK_BOUNDS_LOW): Likewise.
16173 (CHECK_BOUNDS_HIGH): Likewise.
16174 (CHECK_BOUNDS_BOTH): Likewise.
16175 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16176 (RETURN_BOUNDED_POINTER): Likewise.
16177 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16178 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16179 (POP_ERRNO_LOCATION_RETURN): Likewise.
16180 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16181 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16182 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16184 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16185 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16186 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16187 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16188 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16189 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16190 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16191 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16192 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16193 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16194 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16195 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16196 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16197 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16199 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16200 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16202 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16203 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16204 * sysdeps/i386/i586/memset.S (memset): Likewise.
16205 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16206 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16207 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16209 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16210 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16211 Change uses of L(2) to L(out).
16212 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16213 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16214 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16215 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16216 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16218 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16219 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16221 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16222 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16223 (RETURN): Do not use macro LEAVE.
16224 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16225 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16226 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16227 * sysdeps/i386/i686/memset.S (memset): Likewise.
16228 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16229 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16230 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16231 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16233 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16234 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16235 L(1_2) and L(1_3) into L(1).
16236 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16237 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16238 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16239 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16240 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16241 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16242 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16243 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16244 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16246 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16247 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16248 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16249 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16250 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16251 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16252 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16253 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16254 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16255 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16256 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16257 * sysdeps/i386/strspn.S (strspn): Likewise.
16258 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16260 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16261 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16262 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16263 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16264 L(1_3) into L(1_1).
16265 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16266 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16267 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16269 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16271 2013-02-19 Jakub Jelinek <jakub@redhat.com>
16273 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16276 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16278 * math/atest-exp.c (exp_mpn): Remove ROUND.
16279 * math/atest-exp2.c (exp_mpn): Likewise.
16280 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16282 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16283 * stdlib/tst-tls-atexit-lib.c: Likewise.
16284 * stdlib/tst-tls-atexit.c: Likewise.
16286 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16288 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16289 and __attribute_alloc_size__.
16291 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16293 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16294 __attribute_alloc_size__.
16295 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16296 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16298 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16300 * include/programs/xmalloc.h: New file.
16301 * catgets/gencat.c: Include it.
16302 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16303 * elf/pldd.c: Likewise.
16304 * iconv/iconv_charmap.c: Likewise.
16305 * iconv/iconvconfig.c: Likewise.
16306 * iconv/strtab.c: Likewise.
16307 * locale/programs/locale.c: Likewise.
16308 * locale/programs/localedef.h: Likewise.
16309 * locale/programs/simple-hash.c: Likewise.
16310 * nscd/nscd.h: Likewise.
16311 * nss/makedb.c: Likewise.
16312 * sysdeps/generic/ldconfig.h: Likewise.
16314 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16316 * Versions.def: Add GLIBC_2.18.
16317 * include/link.h (struct link_map): New member l_tls_dtor_count.
16318 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16319 (__call_tls_dtors): Likewise.
16320 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16321 __cxa_thread_atexit_impl.
16322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16338 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16339 (tests): Add test case tst-tls-atexit.
16340 (modules-names): Add shared library for tst-tls-atexit.
16341 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16342 (GLIBC_PRIVATE): Add __call_tls_dtors.
16343 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16345 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16346 * stdlib/tst-tls-atexit.c: New test case.
16347 * stdlib/tst-tls-atexit-lib.c: New test case.
16349 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16351 * elf/Versions (ld): Add _dl_find_dso_for_object.
16352 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16353 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16354 (dl_open_worker): Use _dl_find_dso_for_object.
16355 * elf/dl-sym.c (do_sym): Likewise.
16356 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16358 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16360 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16361 Syntactic changes only.
16362 (_dl_runtime_profile): Do a tail-call to the resolved function.
16364 2013-02-17 Joseph Myers <joseph@codesourcery.com>
16367 * sysdeps/x86_64/bp-asm.h: Remove file.
16368 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16369 <bp-sym.h> and <bp-asm.h>.
16370 (__clone): Do not use BP_SYM.
16371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16372 <bp-sym.h> and <bp-asm.h>.
16373 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16374 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16376 (_setjmp): Do not use BP_SYM.
16377 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16379 (setjmp): Do not use BP_SYM.
16380 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16382 (mempcpy): Do not use BP_SYM in weak_alias.
16383 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16385 (strchr): Do not use BP_SYM.
16386 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16388 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16389 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16390 (_start): Do not use BP_SYM.
16391 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16393 (strcat): Do not use BP_SYM.
16394 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16396 (STRCMP): Do not use BP_SYM.
16397 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16399 (STRCPY): Do not use BP_SYM.
16400 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16402 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16404 (FUNCTION): Do not use BP_SYM.
16405 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16407 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16409 2013-02-17 Andreas Jaeger <aj@suse.de>
16411 * time/Versions: Sort entries.
16412 * string/Versions: Likewise.
16413 * resolv/Versions: Likewise.
16414 * posix/Versions: Likewise.
16415 * iconv/Versions: Likewise.
16416 * elf/Versions: Likewise.
16417 * wcsmbs/Versions: Likewise.
16419 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16421 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16422 loop termination condition.
16424 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16425 variable to calculate EZ.
16428 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16429 the lower precision input.
16431 2013-02-15 Joseph Myers <joseph@codesourcery.com>
16434 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16435 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16436 (run-via-rtld-prefix): Do not handle %-bp tests.
16437 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16438 (all-object-suffixes): Remove .ob.
16439 (bppfx): Remove variable.
16440 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16441 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16442 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16443 [$(build-bounded) = yes] (libtype.ob): Likewise.
16444 * Makerules (elide-routines.ob): Remove variable.
16445 (do-tests-clean): Do not handle *-bp.out.
16446 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16447 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16448 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16449 (tests): Do not include $(tests-bp.out).
16450 (xtests): Do not include $(xtests-bp.out).
16451 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16452 [$(build-bounded) = yes] ($(addprefix
16453 $(objpfx),$(binaries-bounded))): Remove rule.
16454 ($(objpfx)%-bp.out): Remove rule.
16455 * config.make.in (build-bounded): Remove variable.
16456 * crypt/Makefile [$(build-bounded) = yes]
16457 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16458 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16459 append to variable.
16460 [$(build-bounded) = yes] (install-lib): Likewise.
16461 [$(build-bounded) = yes] (generated): Likewise.
16462 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16464 * intl/Makefile [$(build-bounded) = yes]
16465 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16466 * math/Makefile [$(build-bounded) = yes]
16467 ($(tests:%=$(objpfx)%-bp): Likewise.
16468 * misc/Makefile [$(build-bounded) = yes]
16469 ($(objpfx)tst-tsearch-bp): Likewise.
16470 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16471 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16473 * string/Makefile (o-objects.ob): Remove variable.
16474 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16475 (CFLAGS-.ob): Remove variable.
16476 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16477 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16478 both definitions of variable.
16479 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16480 (ASFLAGS-.ob): Remove variable.
16482 2013-02-14 Joseph Myers <joseph@codesourcery.com>
16485 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16486 Remove __BOUNDED_POINTERS__ from condition.
16487 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16488 * string/bits/string2.h [!__NO_STRING_INLINES &&
16489 !__BOUNDED_POINTERS__]: Likewise.
16490 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16492 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16493 Remove conditional code.
16494 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16495 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16496 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16500 * csu/libc-start.c: Do not include <bp-sym.h>.
16501 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16502 * elf/dl-open.c: Do not include <bp-sym.h>.
16503 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16504 * math/fegetenv.c: Do not include <bp-sym.h>.
16505 (fegetenv): Do not use BP_SYM in versioned symbols.
16506 * nptl/sysdeps/pthread/bits/libc-lockP.h
16507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16510 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16512 (__pthread_mutex_destroy): Likewise.
16513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16514 (__pthread_mutex_lock): Likewise.
16515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16516 (__pthread_mutex_trylock): Likewise.
16517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16518 (__pthread_mutex_unlock): Likewise.
16519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16520 (__pthread_mutexattr_init): Likewise.
16521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16522 (__pthread_mutexattr_destroy): Likewise.
16523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16524 (__pthread_mutexattr_settype): Likewise.
16525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16526 (__pthread_rwlock_init): Likewise.
16527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16528 (__pthread_rwlock_destroy): Likewise.
16529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16530 (__pthread_rwlock_rdlock): Likewise.
16531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16532 (__pthread_rwlock_tryrdlock): Likewise.
16533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16534 (__pthread_rwlock_wrlock): Likewise.
16535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16536 (__pthread_rwlock_trywrlock): Likewise.
16537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16538 (__pthread_rwlock_unlock): Likewise.
16539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16540 (__pthread_key_create): Likewise.
16541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16542 (__pthread_setspecific): Likewise.
16543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16544 (__pthread_getspecific): Likewise.
16545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16548 (_pthread_cleanup_push_defer): Likewise.
16549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16550 (_pthread_cleanup_pop_restore): Likewise.
16551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16552 (pthread_setcancelstate): Likewise.
16553 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16555 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16556 (memchr): Do not use BP_SYM in weak_alias.
16557 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16558 (fegetenv): Do not use BP_SYM in versioned symbols.
16559 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16560 (fesetenv): Do not use BP_SYM in versioned symbols.
16561 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16562 (feupdateenv): Do not use BP_SYM in versioned symbols.
16563 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16564 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16565 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16566 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16567 (open64): Do not use BP_SYM in weak_alias.
16568 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16569 (fegetenv): Do not use BP_SYM in versioned symbols.
16570 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16571 (fesetenv): Do not use BP_SYM in versioned symbols.
16572 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16573 (feupdateenv): Do not use BP_SYM in versioned symbols.
16574 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16575 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16576 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16577 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16578 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16579 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16580 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16582 (__libc_start_main): Do not use BP_SYM.
16584 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16587 redundant return line.
16589 (denorm): Likewise.
16590 (dbl_mp): Likewise.
16591 (sub_magnitudes): Likewise.
16597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16599 (denorm): Likewise.
16600 (dbl_mp): Likewise.
16601 (sub_magnitudes): Likewise.
16608 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16610 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16611 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16614 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16615 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16617 of __mul for squares.
16618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16622 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16623 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16625 2013-02-13 Joseph Myers <joseph@codesourcery.com>
16628 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16630 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16631 prototype or function definition. Rename ubp_* variables and
16632 parameters. Remove argv definitions conditional on
16633 [__BOUNDED_POINTERS__].
16634 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16635 * elf/dl-runtime.c (_dl_fixup): Likewise.
16636 * include/set-hooks.h (RUN_HOOK): Likewise.
16637 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16639 * string/strcpy.c (strcpy): Do not use __unbounded.
16640 * sysdeps/generic/frame.h (struct layout): Likewise.
16641 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16642 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16643 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16644 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16645 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16646 (__backtrace): Likewise.
16647 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16649 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16650 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16651 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16653 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16654 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16655 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16656 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16657 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16658 Do not use __unbounded.
16659 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16660 Rename __unboundedrlimits parameter to rlimits in prototype.
16661 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16662 Do not use __unbounded.
16663 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16664 not use __ptrvalue.
16665 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16666 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16667 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16668 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16669 __ptrvalue or __unbounded.
16670 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16671 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16673 (__new_msgctl): Do not use __ptrvalue.
16674 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16676 (__libc_msgrcv): Do not use __ptrvalue.
16677 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16678 startup_info): Do not use __unbounded.
16679 (__libc_start_main): Likewise. Rename ubp_* variables and
16680 parameters. Remove argv definitions conditional on
16681 [__BOUNDED_POINTERS__].
16682 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16684 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16686 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16688 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16690 (__new_shmctl): Do not use __ptrvalue.
16691 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16692 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16694 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16695 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16696 (__libc_sigaction): Likewise.
16697 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16698 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16700 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16702 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
16704 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16706 * string/mempcpy.c: Implement by calling memcpy.
16708 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16710 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16712 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16715 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16716 values in the mantissa.
16718 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16719 minimize writes to Z.
16720 (sub_magnitudes): Simplify code a bit.
16722 2013-02-12 Roland McGrath <roland@hack.frob.com>
16724 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16725 from the message. The linker prefixes all warnings with that already.
16727 2013-02-12 Andreas Schwab <schwab@suse.de>
16730 * posix/regexec.c (extend_buffers): Add parameter min_len.
16731 (check_matching): Pass minimum needed length.
16732 (clean_state_log_if_needed): Likewise.
16733 (get_subexp): Likewise.
16734 * posix/Makefile (tests): Add bug-regex34.
16735 (bug-regex34-ENV): Define.
16736 * posix/bug-regex34.c: New file.
16739 * posix/regcomp.c (parse_bracket_exp): When looking up collating
16740 elements compare against the byte sequence of it, not its name.
16741 * posix/Makefile (tests): Add bug-regex35.
16742 (bug-regex35-ENV): Define.
16743 * posix/bug-regex35.c: New file.
16745 2013-02-11 Tom de Vries <tom@codesourcery.com>
16747 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
16749 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16750 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16751 (CHECK_EOL): Add undef.
16753 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
16755 * bits/stdlib-bsearch.h: New file.
16756 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16757 * stdlib/stdlib.h: Likewise.
16759 2013-02-11 Roland McGrath <roland@hack.frob.com>
16761 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16762 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16764 * manual/search.texi (Array Search Function): Add missing const in
16766 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16767 declaration to use rlim_t.
16768 (Basic Scheduling Functions): Remove erroneous const from
16769 sched_getparam prototype. Remove erroneous * from
16770 sched_get_priority_max and sched_get_priority_min prototypes.
16771 (Resource Usage): Fix summary @comment on vtimes to refer to
16772 sys/vtimes.h rather than vtimes.h.
16773 Add missing *s in vtimes prototype.
16774 (Limits on Resources): Fix ulimit prototype to return long int.
16775 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16776 prototypes to use long int rather than double.
16777 (BSD Random): Fix initstate and setstate to use char *, not void *.
16778 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16779 prototype to make second argument 'struct aiocb64 *const[]'.
16780 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16781 (Status of AIO Operations): Remove erroneous const in aio_return and
16782 aio_return64 prototypes.
16783 (Synchronizing I/O): Fix sync prototype to return void.
16784 * manual/startup.texi (Suboptions): Remove an erroneous const in
16785 getsubopt prototype.
16786 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16787 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16788 use size_t rather than int.
16789 (Scanning All Users): Likewise for getpwent_r.
16790 (Setting Groups): Add missing const to setgroups prototype.
16791 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16792 * manual/socket.texi (Host Names): Fix gethostbyaddr and
16793 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16794 'const void *' rather than 'const char *'.
16795 (Host Address Functions): Likewise for inet_ntop.
16796 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16797 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16798 ssize_t for return value.
16799 (Sending Data): Likewise for send, sendto, sendmsg.
16800 (Socket Option Functions): Add a missing const in setsockopt prototype.
16801 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16802 use wchar_t for the argument.
16803 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16804 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16806 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16807 double/float/long double for second argument.
16808 Fix return types of significand, significandf, significandl.
16809 * manual/filesys.texi (Setting Permissions): Use mode_t for second
16810 argument in fchmod prototype.
16811 (File Owner): Use uid_t and gid_t in fchown prototype.
16812 (File Times): Add const to utimes, futimes, and lutimes prototypes.
16813 (Making Special Files): Use mode_t and dev_t in mknod prototype.
16814 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16815 use 'const struct dirent **' as argument types to CMP function pointer
16817 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16818 (File Times): Fix summary magic @comment for struct utimbuf and utime
16819 to refer to utime.h, not time.h.
16820 * manual/string.texi (Argz Functions): Add missing const in
16821 argz_extract and argz_next prototypes.
16822 (Finding Tokens in a String): Likewise for basename.
16823 (String/Array Comparison): Fix typo in wcscasecmp prototype.
16824 (Copying and Concatenation): Fix typo in wmemmove prototype.
16825 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16826 (Signal Stack): Remove erroneous const in sigstack prototype.
16827 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16829 (Simple Calendar Time): Likewise for stime.
16830 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16832 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16833 say sys/sysctl.h instead.
16834 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16835 and vsyslog prototypes.
16837 2013-02-11 Tom de Vries <tom@codesourcery.com>
16839 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16842 2013-02-11 Roland McGrath <roland@hack.frob.com>
16844 * misc/sys/mman.h: Fix typo in mremap comment.
16846 2013-02-08 Roland McGrath <roland@hack.frob.com>
16848 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16849 the '\0' terminator.
16851 2013-02-08 Joseph Myers <joseph@codesourcery.com>
16854 * debug/segfault.c: Don't include <bp-checks.h>.
16855 * sysdeps/generic/bp-checks.h: Remove file.
16856 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16857 (__GETDENTS): Don't use CHECK_N.
16858 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16859 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16860 (__getgroups): Don't use CHECK_N.
16861 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16862 (setgroups): Don't use CHECK_N.
16863 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16864 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16865 (__libc_msgrcv): Don't use CHECK_N.
16866 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16867 (__libc_msgsnd): Don't use CHECK_N.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16870 (__libc_pread): Don't use CHECK_N.
16871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16872 include <bp-checks.h>.
16873 (__libc_pread64): Don't use CHECK_N.
16874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16875 include <bp-checks.h>.
16876 (__libc_pwrite): Don't use CHECK_N.
16877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16878 include <bp-checks.h>.
16879 (__libc_pwrite64): Don't use CHECK_N.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16882 (__libc_pread): Don't use CHECK_N.
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16884 include <bp-checks.h>.
16885 (__libc_pread64): Don't use CHECK_N.
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16887 include <bp-checks.h>.
16888 (__libc_pwrite): Don't use CHECK_N.
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16890 include <bp-checks.h>.
16891 (__libc_pwrite64): Don't use CHECK_N.
16892 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16893 (do_pread): Don't use CHECK_N.
16894 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16895 (do_pread64): Don't use CHECK_N.
16896 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16897 (do_pwrite): Don't use CHECK_N.
16898 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16899 (do_pwrite64): Don't use CHECK_N.
16900 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16901 (__libc_readv): Don't use CHECK_N.
16902 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16903 (semop): Don't use CHECK_N.
16904 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16906 (semtimedop): Don't use CHECK_N.
16907 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16908 (__libc_pread): Don't use CHECK_N.
16909 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16911 (__libc_pread64): Don't use CHECK_N.
16912 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16914 (__libc_pwrite): Don't use CHECK_N.
16915 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16917 (__libc_pwrite64): Don't use CHECK_N.
16918 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16920 (__libc_msgrcv): Don't use CHECK_N.
16921 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16922 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
16923 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16924 (__libc_writev): Don't use CHECK_N.
16926 2013-02-08 Roland McGrath <roland@hack.frob.com>
16928 * string/strcpy.c: Removed unused variable.
16930 * Makeconfig (+sysdep-includes): Define with := rather than =.
16931 Use an existing include/ subdir of each sysdeps dir before it.
16933 2013-02-08 Carlos O'Donell <carlos@redhat.com>
16935 * nscd/connection.c (register_traced_file): Comment function.
16936 [HAVE_INOTIFY] (union __inev): Define.
16937 [HAVE_INOTIFY] (inotify_check_files): New function.
16938 [HAVE_INOTIFY] (clear_db_cache): Likewise.
16939 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
16941 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
16943 2013-02-08 Carlos O'Donell <carlos@redhat.com>
16945 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
16946 loaded if not already and that a failure is permanent.
16948 2013-02-08 Carlos O'Donell <carlos@redhat.com>
16951 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
16952 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
16954 2013-02-08 Joseph Myers <joseph@codesourcery.com>
16957 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
16958 (CHECK_1_NULL_OK): Likewise.
16959 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
16960 (__fxstat): Do not use CHECK_1.
16961 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
16963 (___fxstat64): Do not use CHECK_1.
16964 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16966 (__fxstatat): Do not use CHECK_1.
16967 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16969 (__fxstatat64): Do not use CHECK_1.
16970 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
16972 (__fxstat): Do not use CHECK_1.
16973 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16975 (__fxstatat): Do not use CHECK_1.
16976 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16978 (__getresgid): Do not use CHECK_1.
16979 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16981 (__getresuid): Do not use CHECK_1.
16982 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
16984 (__lxstat): Do not use CHECK_1.
16985 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16987 (__old_msgctl): Do not use CHECK_1.
16988 (__new_msgctl): Likewise.
16989 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
16991 (__new_setrlimit): Do not use CHECK_1.
16992 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16994 (__old_shmctl): Do not use CHECK_1.
16995 (__new_shmctl): Likewise.
16996 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
16998 (__xstat): Do not use CHECK_1.
16999 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17000 (__lxstat): Do not use CHECK_1.
17001 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17003 (___lxstat64): Do not use CHECK_1.
17004 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17005 (__old_msgctl): Do not use CHECK_1.
17006 (__new_msgctl): Likewise.
17007 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17009 (__gettimeofday): Do not use CHECK_1.
17010 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17011 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17012 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17014 (__gettimeofday): Do not use CHECK_1.
17015 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17016 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17017 (__new_shmctl): Do not use CHECK_1.
17018 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17020 (do_sigtimedwait): Do not use CHECK_1.
17021 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17023 (do_sigwaitinfo): Do not use CHECK_1.
17024 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17026 (msgctl): Do not use CHECK_1.
17027 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17029 (shmctl): Do not use CHECK_1.
17030 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17031 (ustat): Do not use CHECK_1.
17032 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17034 (__fxstat): Do not use CHECK_1.
17035 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17037 (__fxstatat): Do not use CHECK_1.
17038 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17040 (__lxstat): Do not use CHECK_1.
17041 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17043 (__xstat): Do not use CHECK_1.
17044 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17045 (__xstat): Do not use CHECK_1.
17046 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17047 (___xstat64): Do not use CHECK_1.
17050 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17052 (CHECK_BOUNDS_HIGH): Likewise.
17053 * string/strcpy.c: Do not include <bp-checks.h>.
17054 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17056 2013-02-07 Roland McGrath <roland@hack.frob.com>
17058 * nscd/nscd-client.h (__nscd_drop_map_ref):
17059 Add __attribute__ ((unused)).
17060 * nis/nss-nisplus.h (niserr2nss): Likewise.
17062 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17063 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17065 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17066 Remove inline keyword.
17067 * include/rounding-mode.h (round_away): Likewise.
17068 * libio/wfileops.c (adjust_wide_data): Likewise.
17069 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17070 (__m128i_strloadu_tolower): Likewise.
17071 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17072 (__m128i_strloadu_tolower): Likewise.
17073 * time/mktime.c (ydhms_diff): Likewise.
17074 * locale/elem-hash.h (elem_hash): Likewise.
17075 * locale/setlocale.c (setdata): Likewise.
17076 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17077 (re_string_wchar_at): Likewise.
17078 (bitset_not, bitset_merge, bitset_mask): Likewise.
17079 [!(__GNUC__ > 3)] (inline): Remove macro.
17080 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17081 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17082 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17083 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17084 * string/memcmp.c (memcmp_bytes): Likewise.
17085 * locale/programs/locarchive.c (compute_hashval): Likewise.
17086 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17087 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17088 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17089 * nss/getent.c (print_rpc, print_protocols): Likewise.
17090 (print_passwd, print_group, print_aliases): Likewise.
17091 * nis/nss-nisplus.h (niserr2nss): Likewise.
17092 * nscd/connections.c (restart_p): Likewise.
17093 Change return type to bool.
17095 2013-02-05 Roland McGrath <roland@hack.frob.com>
17097 * Makeconfig (all-Depend-files): Add existing
17098 $(sorted-subdirs:=/Depend) files.
17099 (all-subdirs): Remove nss.
17100 * sysdeps/unix/inet/Subdirs: Add it here instead.
17101 * hesiod/Depend: New file.
17103 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17104 instead of calling alloca.
17106 * io/lseek.c (__lseek): Rename to __libc_lseek.
17107 Define __lseek as an alias.
17109 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17111 2013-02-04 Carlos O'Donell <carlos@redhat.com>
17113 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17114 else clause and remove check for non-standard endianness.
17116 2013-02-04 David S. Miller <davem@davemloft.net>
17118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17120 2013-02-04 Joseph Myers <joseph@codesourcery.com>
17123 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17124 (__ubp_memchr): Remove prototype.
17125 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17126 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17127 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17128 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17129 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17131 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17132 (__ubp_memchr): Likewise.
17133 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17134 (__ubp_memchr): Likewise.
17135 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17136 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17137 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17138 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17140 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17141 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17142 (__getcwd): Do not use CHECK_STRING.
17143 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17145 (__real_chown): Do not use CHECK_STRING.
17146 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17148 (fchownat): Do not use CHECK_STRING.
17149 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17151 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17153 (__lchown): Do not use CHECK_STRING.
17154 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17155 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17156 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17157 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17159 include <bp-checks.h>.
17160 (truncate64): Do not use CHECK_STRING.
17161 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17163 (__real_chown): Do not use CHECK_STRING.
17164 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17166 (__lchown): Do not use CHECK_STRING.
17167 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17169 (__chown): Do not use CHECK_STRING.
17170 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17172 (truncate64): Do not use CHECK_STRING.
17173 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17175 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17176 (__xmknod): Do not use CHECK_STRING.
17177 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17179 (__xmknodat): Do not use CHECK_STRING.
17180 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17181 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17183 2013-02-04 Andreas Schwab <schwab@suse.de>
17186 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17187 * include/netdb.h: Likewise for h_errno.
17188 * elf/tst-stackguard1.c: Include <tls.h>.
17190 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17192 * elf/link.h (struct link_map): Extend the l_addr comment.
17193 * include/link.h (struct link_map): Likewise.
17195 2013-02-01 Joseph Myers <joseph@codesourcery.com>
17198 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17199 (BOUNDED_1): Remove macro.
17200 * debug/backtrace.c: Don't include <bp-checks.h>.
17201 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17202 (__backtrace): Likewise.
17203 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17205 (__backtrace): Don't use BOUNDED_1.
17206 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17208 (__backtrace): Don't use BOUNDED_1.
17209 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17210 (__backtrace): Don't use BOUNDED_1.
17211 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17212 (shmat): Don't use BOUNDED_N.
17214 2013-01-31 Joseph Myers <joseph@codesourcery.com>
17217 * sysdeps/generic/bp-start.h: Remove file.
17218 * csu/libc-start.c: Don't include <bp-start.h>.
17219 (LIBC_START_MAIN): Set up __environ directly instead of using
17220 INIT_ARGV_and_ENVIRON.
17221 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17225 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17227 (CHECK_FCNTL): Likewise.
17228 (CHECK_N_PAGES): Likewise.
17231 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17233 (CHECK_SIGSET_NULL_OK): Likewise.
17234 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17236 (sigpending): Don't use CHECK_SIGSET.
17237 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17239 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17240 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17242 (do_sigsuspend): Don't use CHECK_SIGSET.
17243 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17245 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17246 (do_sigwait): Don't use CHECK_SIGSET.
17247 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17249 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17250 include <bp-checks.h>.
17251 (sigpending): Don't use CHECK_SIGSET.
17252 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17253 include <bp-checks.h>.
17254 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17255 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17257 (sigpending): Don't use CHECK_SIGSET.
17258 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17260 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17263 * sysdeps/generic/bp-semctl.h: Remove file.
17264 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17265 <bp-checks.h> and <bp-semctl.h>.
17266 (__old_semctl): Don't use CHECK_SEMCTL.
17267 (__new_semctl): Likewise.
17268 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17270 (__old_semctl): Don't use CHECK_SEMCTL.
17271 (__new_semctl): Likewise.
17272 * sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc/sparc64/semctl.c: Don't include
17277 <bp-checks.h> and <bp-semctl.h>.
17278 (semctl): Don't use CHECK_SEMCTL.
17281 * Makerules (elide-bp-thunks): Remove variable.
17282 (elide-routines.oS): Don't use $(elide-bp-thunks).
17283 (elide-routines.os): Likewise.
17284 (elide-routines.o): Likewise.
17285 (elide-routines.op): Likewise.
17286 (elide-routines.og): Likewise.
17287 (objects): Don't use $(bp-thunks).
17288 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17290 (common-generated): Do not add s-proto-bp.d.
17291 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17294 Do not generate makefile rules for bounded-pointer thunks.
17295 * sysdeps/generic/bp-thunks.h: Remove file.
17296 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17297 * sysdeps/unix/s-proto-bp.S: Likewise.
17300 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17301 parts of result separately when argument is not close to line from
17302 -i to i and one part of argument is small.
17303 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17304 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17305 * math/libm-test.inc (cacos_test): Add more tests.
17306 (casin_test): Likewise.
17307 (casinh_test): Likewise.
17308 * sysdeps/i386/fpu/libm-test-ulps: Update.
17309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17311 2013-01-31 David S. Miller <davem@davemloft.net>
17313 * po/de.po: Update from translation team.
17315 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17317 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17319 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17321 * configure.in (_AC_PROG_CC_C89): New definition.
17322 * configure: Regenerate.
17324 * configure.in (AC_PROG_CPP): New definition.
17325 * configure: Regenerate.
17327 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17329 * debug/tst-backtrace.h: New file.
17330 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17331 (ret): Remove variable.
17333 (FAIL): Remove macro.
17334 (NO_INLINE): Likewise.
17335 (fn1): Use match function instead of strstr.
17336 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17337 (ret): Remove variable.
17339 (FAIL): Remove macro.
17340 (NO_INLINE): Likewise.
17341 (fn): Use match function instead of strstr.
17342 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17343 (ret): Remove variable.
17345 (FAIL): Remove macro.
17346 (NO_INLINE): Likewise.
17347 (handle_signal): Use match function instead of strstr.
17348 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17349 (ret): Remove variable.
17351 (FAIL): Remove macro.
17352 (NO_INLINE): Likewise.
17353 (handle_signal): Use match function instead of strstr.
17355 2013-01-23 Roland McGrath <roland@hack.frob.com>
17357 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17359 2013-01-23 David S. Miller <davem@davemloft.net>
17361 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17362 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17363 argument of CAS if possible.
17364 * sysdeps/sparc/sparc64/bits/atomic.h
17365 (__arch_compare_and_exchange_val_32_acq): Likewise.
17366 (__arch_compare_and_exchange_val_64_acq): Likewise.
17368 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17370 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17371 * sysdeps/posix/ulimit.c: ... this.
17372 Include <limits.h>.
17373 * sysdeps/unix/bsd/ulimit.c: Remove file.
17375 2013-01-23 Adam Conrad <adconrad@0c3.net>
17377 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17378 (LDFLAGS-tst-array5): Likewise.
17380 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17383 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17384 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17385 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17386 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17388 2013-01-21 David S. Miller <davem@davemloft.net>
17390 * sysdeps/sparc/backtrace.c: New file.
17391 * sysdeps/sparc/sparc32/backtrace.h: New file.
17392 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17393 * sysdeps/sparc/sparc64/backtrace.h: New file.
17394 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17395 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17398 2013-01-21 Andreas Schwab <schwab@suse.de>
17401 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17404 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17410 2013-01-18 Joseph Myers <joseph@codesourcery.com>
17411 Mark Mitchell <mark@codesourcery.com>
17412 Tom de Vries <tom@codesourcery.com>
17413 Paul Pluzhnikov <ppluzhnikov@google.com>
17415 * debug/tst-backtrace2.c: New file.
17416 * debug/tst-backtrace3.c: Likewise.
17417 * debug/tst-backtrace4.c: Likewise.
17418 * debug/tst-backtrace5.c: Likewise.
17419 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17420 (CFLAGS-tst-backtrace3.c): Likewise.
17421 (CFLAGS-tst-backtrace4.c): Likewise.
17422 (CFLAGS-tst-backtrace5.c): Likewise.
17423 (LDFLAGS-tst-backtrace2): Likewise.
17424 (LDFLAGS-tst-backtrace3): Likewise.
17425 (LDFLAGS-tst-backtrace4): Likewise.
17426 (LDFLAGS-tst-backtrace5): Likewise.
17427 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17428 tst-backtrace4 and tst-backtrace5.
17430 2013-01-18 Anton Blanchard <anton@samba.org>
17431 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17433 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17434 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17435 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17436 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17438 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17439 "+r" and remove output regs list as redundant. Add explicit inline
17440 asm to specify register of return val to work around compiler codegen
17441 bug. Remove (int) cast on return value. Add return type parameter to
17442 use in macro so that this macro does not truncate return value for
17444 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17445 pass to INTERNAL_VSYSCALL_NCS.
17446 (INLINE_VSYSCALL): Add 'long int' as return type to
17447 INTERNAL_VSYSCALL_NCS macro invocation.
17448 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17449 INTERNAL_VSYSCALL_NCS macro invocation.
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17452 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17455 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17456 Fix application of SIMD FP exception mask.
17458 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17459 mp_no from a power of two.
17460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17461 __mpexp_twomm1. Use __pow_mp.
17463 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17466 2013-01-17 David S. Miller <davem@davemloft.net>
17468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17470 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17473 * include/complex.h: Condition contents on [!_COMPLEX_H].
17474 (__kernel_casinhf): New prototype.
17475 (__kernel_casinh): Likewise.
17476 (__kernel_casinhl): Likewise.
17477 * math/Makefile (libm_calls): Add k_casinh.
17478 * math/k_casinh.c: New file.
17479 * math/k_casinhf.c: Likewise.
17480 * math/k_casinhl.c: Likewise.
17481 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17482 finite nonzero arguments.
17483 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17484 finite nonzero arguments.
17485 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17486 finite nonzero arguments.
17487 * math/s_casinh.c: Do not include <float.h>.
17488 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17489 * math/s_casinhf.c: Do not include <float.h>.
17490 (__casinhf): Move code for finite nonzero arguments to
17492 * math/s_casinhl.c: Do not include <float.h>.
17493 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17495 (__casinhl): Move code for finite nonzero arguments to
17497 * math/libm-test.inc (cacos_test): Add more tests.
17498 * sysdeps/i386/fpu/libm-test-ulps: Update.
17499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17501 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17503 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17504 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17505 [!HAVE_MREMAP]: Remove [defined linux] case.
17506 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17508 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17510 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17512 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
17514 * elf/elf.h (R_386_SIZE32): New relocation.
17515 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17517 (elf_machine_rela): Likewise.
17518 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17519 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17521 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17523 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17524 (FP_FAST_FMA): Do not define.
17525 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17526 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17527 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17528 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17529 !_SOFT_FLOAT]: Likewise.
17530 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17531 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17533 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17534 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17535 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17536 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17537 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17538 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17541 2013-01-16 Andreas Schwab <schwab@suse.de>
17544 * include/stdlib.h (__mktemp): Add declaration.
17545 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17546 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17548 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17550 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17552 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17553 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17554 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17556 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17557 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17559 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17561 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17562 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17563 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17565 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17566 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17568 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17570 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17572 2013-01-15 David S. Miller <davem@davemloft.net>
17574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17575 trunc{,f} to libm-sysdep_routes.
17576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17586 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17587 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17588 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17589 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17590 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17591 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17594 nearbyint{,f} to libm-sysdep_routes.
17595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17606 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17608 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17609 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17611 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17612 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17613 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17615 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17616 libc_feholdexcept and libc_fesetenv.
17618 2013-01-15 Mike Frysinger <vapier@gentoo.org>
17620 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17622 2013-01-14 David S. Miller <davem@davemloft.net>
17624 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17625 (SPARC_ASM_VIS2_IFUNC): Likewise.
17626 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17628 use of 'siam' instruction.
17629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17662 routines to libm-sysdep_routines.
17663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17666 fdim/fdimf to libm-sysdep_routines.
17667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17675 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17676 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17677 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17678 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17680 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17682 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17683 to optimize copies.
17685 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17690 local variable MPTWO.
17691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17694 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17696 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17699 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17701 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17703 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17705 * manual/pattern.texi (glob_t): Document gl_flags.
17706 (glob64_t): Likewise.
17708 2013-01-11 David S. Miller <davem@davemloft.net>
17710 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17711 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17712 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
17713 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17714 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17715 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17716 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17717 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17718 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17719 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17720 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17721 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17722 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17724 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17725 sparc V9 rather than using V8 code.
17726 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17727 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17729 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17731 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17734 2013-01-11 Roland McGrath <roland@hack.frob.com>
17736 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17737 not in the main loop.
17738 * configure: Regenerated.
17740 2013-01-11 Joseph Myers <joseph@codesourcery.com>
17742 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17743 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17745 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
17746 [!__GLIBC_HAVE_LONG_LONG] case.
17747 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17748 condition to just #else.
17749 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17750 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17751 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17752 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17754 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17755 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17756 #elif condition to just #else.
17757 * sysdeps/unix/sysv/linux/sys/sysmacros.h
17758 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17759 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17760 #elif condition to just #else.
17762 2013-01-11 Steve Ellcey <sellcey@mips.com>
17764 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17765 (EF_MIPS_ARCH_64): Fix value.
17766 (EF_MIPS_ARCH_32R2): New.
17767 (EF_MIPS_ARCH_64R2): New.
17769 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
17771 * Makeconfig (+link-pie-before-libc): New.
17772 (+link-pie-after-libc): Likewise.
17773 (+link-pie-tests): Likewise.
17774 (+link-pie): Rewritten.
17775 (link-before-libc): Remove $(config-LDFLAGS).
17776 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17777 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17778 (config-LDFLAGS): Renamed to ...
17779 (rtld-LDFLAGS): This.
17780 (rtld-tests-LDFLAGS): New macro.
17781 (link-libc-rpath-link): Likewise.
17782 (link-libc-tests-rpath-link): Likewise.
17783 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17784 (link-libc): Prepand $(link-libc-rpath-link).
17785 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17786 (test-program-prefix): New macro.
17787 (test-via-rtld-prefix): Likewise.
17788 (test-program-cmd): Likewise.
17789 (host-test-program-cmd): Likewise.
17790 * Makefile ($(common-objpfx)testrun.sh): Replace
17791 $(run-program-prefix) with $(test-program-prefix).
17792 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17794 ($(common-objpfx)shlib.lds): Likewise.
17795 (build-module-helper): Likewise.
17796 ($(common-objpfx)format.lds): Likewise.
17797 * Rules (binaries-pie-tests): New.
17798 (binaries-pie-notests): Likewise.
17799 (binaries-pie): Rewritten.
17800 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17801 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17802 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17803 (make-test-out): Replace $(host-built-program-cmd) with
17804 $(host-test-program-cmd).
17805 * config.make.in (build-hardcoded-path-in-tests): New variable.
17806 * configure.in (--enable-hardcoded-path-in-tests): New configure
17808 (hardcoded_path_in_tests): New AC_SUBST.
17809 * configure: Regenerated.
17810 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17811 $(built-program-cmd) with $(test-program-cmd).
17812 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17813 (test_program_cmd): This.
17814 * elf/Makefile ($(objpfx)order.out): Run test with
17815 $(test-program-prefix).
17816 ($(objpfx)order2.out): Likewise.
17817 ($(objpfx)tst-initorder.out): Likewise.
17818 ($(objpfx)tst-initorder2.out): Likewise.
17819 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17820 $(test-program-cmd).
17821 ($(objpfx)tst-array1-static.out): Likewise.
17822 ($(objpfx)tst-array2.out): Likewise.
17823 ($(objpfx)tst-array3.out): Likewise.
17824 ($(objpfx)tst-array4.out): Likewise.
17825 ($(objpfx)tst-array5.out): Likewise.
17826 ($(objpfx)tst-array5-static.out): Likewise.
17827 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17828 $(test-program-cmd).
17829 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17830 $(run-program-prefix) with $(test-program-prefix).
17831 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17832 (test_program_prefix): This.
17833 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17834 $(run-program-prefix) with $(test-program-prefix).
17835 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17836 (test_program_prefix): This.
17837 * iconvdata/tst-tables.sh: Likewise.
17838 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17839 $(run-program-prefix) with $(test-program-prefix).
17840 ($(objpfx)tst-translit.out): Likewise.
17841 ($(objpfx)tst-gettext2.out): Likewise.
17842 ($(objpfx)tst-gettext4.out): Likewise.
17843 ($(objpfx)tst-gettext6.out): Likewise.
17844 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17845 (test_program_prefix): This.
17846 * intl/tst-gettext2.sh: Likewise.
17847 * intl/tst-gettext4.sh Likewise.
17848 * intl/tst-gettext6.sh: Likewise.
17849 * intl/tst-translit.sh: Likewise.
17850 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17851 with $(test-program-cmd).
17852 * libio/Makefile ($(objpfx)test-freopen.out): Replace
17853 $(run-program-prefix) with $(test-program-prefix).
17854 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17855 (test_program_prefix): This.
17856 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17857 $(run-program-prefix) with $(test-program-prefix).
17858 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17859 (test_program_prefix): This.
17860 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17861 * posix/Makefile ($(objpfx)globtest.out): Replace
17862 $(run-via-rtld-prefix) and $(test-wrapper) with
17863 $(test-program-prefix) and $(test-via-rtld-prefix).
17864 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17865 $(test-program-prefix).
17866 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17867 $(host-test-program-cmd).
17868 (tst-spawn-ARGS): Likewise.
17869 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17870 $(test-program-prefix).
17871 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17872 (test_via_rtld_prefix): This.
17873 (test_wrapper): Renamed to ...
17874 (test_program_prefix): This.
17875 (run_program_prefix): Replaced by test_program_prefix.
17876 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17877 (test_program_prefix): This.
17878 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17879 with $(host-test-program-cmd).
17880 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17881 $(run-program-prefix) with $(test-program-prefix).
17882 ($(objpfx)tst-printf.out): Likewise.
17883 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17884 $(test-program-cmd).
17885 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17886 (test_program_prefix): This.
17887 * stdio-common/tst-unbputc.sh: Likewise.
17888 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17889 $(run-program-prefix) with $(test-program-prefix).
17890 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17891 (test_program_prefix): This.
17892 * string/Makefile ($(objpfx)tst-svc.out): Replace
17893 $(built-program-cmd) with $(test-program-cmd).
17895 2013-01-11 Andreas Jaeger <aj@suse.de>
17898 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17899 value. Sync with Linux 3.7.
17901 2013-01-10 David S. Miller <davem@davemloft.net>
17903 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17904 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17905 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17907 2013-01-10 Roland McGrath <roland@hack.frob.com>
17909 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17911 * configure: Regenerated.
17913 2013-01-10 David S. Miller <davem@davemloft.net>
17915 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17916 sparc V9 rather than using V8 code.
17917 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17918 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17920 2013-01-10 Roland McGrath <roland@hack.frob.com>
17922 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17923 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17924 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
17925 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
17926 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
17927 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
17928 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17929 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
17930 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
17931 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
17932 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
17933 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
17934 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
17935 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17936 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
17937 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
17938 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
17939 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
17940 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
17941 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
17942 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
17943 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
17944 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
17945 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
17946 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
17947 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
17948 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
17950 2013-01-10 David S. Miller <davem@davemloft.net>
17952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17954 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
17956 * posix/Makefile (tests-static): New variable.
17957 (tests): Add $(tests-static).
17958 (tst-exec-static-ARGS): New variable.
17959 (tst-spawn-static-ARGS): Likewise.
17960 * posix/tst-exec-static.c: New file.
17961 * posix/tst-spawn-static.c: Likewise.
17962 * posix/tst-exec.c: Support run directly.
17963 * posix/tst-spawn.c: Likewise.
17965 2013-01-10 Joseph Myers <joseph@codesourcery.com>
17967 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
17969 * math/bits/mathcalls.h (llrint): Likewise.
17970 (llround): Likewise.
17971 * stdlib/stdlib.h (struct drand48_data): Likewise.
17972 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
17973 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
17974 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
17976 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
17978 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
17979 (elf_greg_t): Likewise.
17980 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
17981 (__jmp_buf): Likewise.
17982 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
17984 (llrint): Likewise, for all definitions.
17985 (llrintl): Likewise.
17987 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
17988 Remove [__GNUC__] condition.
17989 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
17990 condition to just [__USE_ISOC99].
17991 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
17993 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
17996 * sysdeps/unix/sysv/linux/x86/bits/environments.h
17997 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
17999 (_POSIX_V6_ILP32_OFF32): Likewise.
18000 (_XBS5_ILP32_OFF32): Likewise.
18001 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18002 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18004 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18006 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18009 doubles __mpexp_twomm1. Adjust usage.
18010 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18013 2013-01-10 Andreas Schwab <schwab@suse.de>
18016 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18017 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18019 2013-01-09 David S. Miller <davem@davemloft.net>
18022 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18023 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18024 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18025 TCP_FASTOPEN): Define.
18026 (tcp_repair_opt): New structure.
18027 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18029 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18030 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18031 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18032 (tcp_cookie_transactions): New structure.
18034 2013-01-09 Anton Blanchard <anton@samba.org>
18036 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18037 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18038 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18039 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18041 2013-01-09 Joseph Myers <joseph@codesourcery.com>
18043 * include/features.h (__USE_ANSI): Remove.
18045 2013-01-09 Roland McGrath <roland@hack.frob.com>
18047 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18049 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18051 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18053 * sysdeps/s390/fpu/libm-test-ulps: Update.
18055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18057 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18061 (denorm): Likewise.
18062 (__mp_dbl): Likewise.
18063 (__dbl_mp): Likewise.
18064 (add_magnitudes): Likewise.
18065 (sub_magnitudes): Likewise.
18071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18075 (denorm): Likewise.
18076 (__mp_dbl): Likewise.
18077 (__dbl_mp): Likewise.
18078 (add_magnitudes): Likewise.
18079 (sub_magnitudes): Likewise.
18085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18089 (denorm): Likewise.
18090 (__mp_dbl): Likewise.
18091 (__dbl_mp): Likewise.
18092 (add_magnitudes): Likewise.
18093 (sub_magnitudes): Likewise.
18100 2013-01-08 Joseph Myers <joseph@codesourcery.com>
18102 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18103 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18104 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18105 2 && __USE_EXTERN_INLINES]: Likewise.
18107 2013-01-08 Andreas Jaeger <aj@suse.de>
18110 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18112 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18113 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18115 2013-01-07 Anton Blanchard <anton@samba.org>
18117 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18118 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18119 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18120 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18121 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18122 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18123 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18124 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18126 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18127 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18128 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18129 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18130 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18131 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18132 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18133 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18134 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18135 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18136 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18137 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18138 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18139 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18140 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18141 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18142 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18143 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18144 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18145 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18146 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18147 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18149 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18150 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18151 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18152 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18153 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18154 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18155 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18156 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18157 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18158 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18159 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18161 2013-01-07 Joseph Myers <joseph@codesourcery.com>
18163 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18164 (__MALLOC_PMT): Likewise.
18165 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18166 [__GNUC__], only on [_LIBC].
18167 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18168 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18169 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18170 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18171 forward declaration.
18172 (realloc_hook_ini): Likewise.
18173 (memalign_hook_ini): Likewise.
18174 (__libc_memalign): Do not use __MALLOC_PMT in variable
18176 (__libc_valloc): Likewise.
18177 (__libc_pvalloc): Likewise.
18178 (__libc_calloc): Likewise.
18179 (__posix_memalign): Likewise.
18182 * math/s_casinh.c: Include <float.h>.
18183 (__casinh): Do not do computation with squaring and square root
18184 for large arguments.
18185 * math/s_casinhf.c: Include <float.h>.
18186 (__casinhf): Do not do computation with squaring and square root
18187 for large arguments.
18188 * math/s_casinhl.c: Include <float.h>.
18189 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18190 (__casinhl): Do not do computation with squaring and square root
18191 for large arguments.
18192 * math/libm-test.inc (casin_test): Add more tests.
18193 (casinh_test): Likewise.
18194 * sysdeps/i386/fpu/libm-test-ulps: Update.
18195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18197 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18199 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18200 (__x86_64_raw_data_cache_size): Likewise.
18201 (__x86_64_data_cache_size_half): Likewise.
18202 (__x86_64_raw_data_cache_size_half): Likewise.
18203 (__x86_64_shared_cache_size): Likewise.
18204 (__x86_64_raw_shared_cache_size): Likewise.
18205 (__x86_64_shared_cache_size_half): Likewise.
18206 (__x86_64_raw_shared_cache_size_half): Likewise.
18207 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18209 (__x86_data_cache_size): This.
18210 (__x86_64_raw_data_cache_size): Renamed to ...
18211 (__x86_raw_data_cache_size): This.
18212 (__x86_64_data_cache_size_half): Renamed to ...
18213 (__x86_data_cache_size_half): This.
18214 (__x86_64_raw_data_cache_size_half): Renamed to ...
18215 (__x86_raw_data_cache_size_half): This.
18216 (__x86_64_shared_cache_size): Renamed to ...
18217 (__x86_shared_cache_size): This.
18218 (__x86_64_raw_shared_cache_size): Renamed to ...
18219 (__x86_raw_shared_cache_size): This.
18220 (__x86_64_shared_cache_size_half): Renamed to ...
18221 (__x86_shared_cache_size_half): This.
18222 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18223 (__x86_raw_shared_cache_size_half): This.
18224 * sysdeps/x86_64/memcpy.S: Updated.
18225 * sysdeps/x86_64/memset.S: Likewise.
18226 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18228 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18230 2013-01-04 David S. Miller <davem@davemloft.net>
18232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18234 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18236 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18237 1 to avoid redefinition warning.
18238 (__USE_GNU): Don't define.
18239 (init_signaling_nan): Protoize.
18241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18243 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18245 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18247 (__cpymn): Likewise.
18248 (norm): Remove commented code.
18249 (denorm): Likewise.
18250 (__mp_dbl): Likewise.
18252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18253 (__cpymn): Likewise.
18254 (norm): Remove commented code.
18255 (denorm): Likewise.
18256 (__mp_dbl): Likewise.
18259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18260 mp_no value for 1.0 and 2.0.
18261 (norm): Use RADIXI instead of radixi.d.
18262 (denorm): Likewise.
18263 (__mul): Use 0.0 instead of zero.d.
18264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18265 mp_no value for 1.0 and 2.0.
18266 (norm): Use RADIXI instead of radixi.d.
18267 (denorm): Likewise.
18268 (__mul): Use 0.0 instead of zero.d.
18270 2013-01-04 Joseph Myers <joseph@codesourcery.com>
18273 * math/s_casinh.c (__casinh): Reduce finite argument to first
18274 quadrant then set signs of results at the end.
18275 * math/s_casinhf.c (__casinhf): Likewise.
18276 * math/s_casinhl.c (__casinhl): Likewise.
18277 * math/libm-test.inc (casin_test): Add more tests.
18278 (casinh_test): Likewise.
18279 * sysdeps/i386/fpu/libm-test-ulps: Update.
18280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18282 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18284 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18286 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18288 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18290 (denorm): Likewise.
18291 (__mp_dbl): Likewise.
18294 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18295 and adjust the header comment.
18297 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18298 variable name from declaration.
18300 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18303 Initialize COMMON_CPUID_INDEX_7 element.
18304 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18305 (CPUID_RTM): Likewise.
18306 (HAS_RTM): Likewise.
18307 (COMMON_CPUID_INDEX_7): New enum.
18309 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18312 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18313 size is zero, record memory as freed.
18315 2013-01-03 Andreas Jaeger <aj@suse.de>
18317 * po/ia.po: Add new Interlingua translation.
18319 2012-01-03 Allan McRae <allan@archlinux.org>
18321 * locale/programs/localedef.c: Fix description of '--posix' flag.
18323 2013-01-02 Joseph Myers <joseph@codesourcery.com>
18325 * NEWS: Update dates in second copyright notice.
18326 * README: Update copyright dates in example.
18327 * manual/libc.texinfo: Update copyright dates.
18328 * scripts/test-installation.pl: Update copyright date in --version
18331 * hurd/ctty-input.c: Fix copyright notice formatting.
18332 * hurd/ctty-output.c: Likewise.
18333 * hurd/dtable.c: Likewise.
18334 * hurd/hurd-raise.c: Likewise.
18335 * hurd/hurdprio.c: Likewise.
18336 * hurd/msgportdemux.c: Likewise.
18337 * misc/sys/file.h: Likewise.
18338 * misc/sys/ioctl.h: Likewise.
18339 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18340 * sysdeps/mach/hurd/chdir.c: Likewise.
18341 * sysdeps/mach/hurd/fchdir.c: Likewise.
18342 * sysdeps/mach/hurd/rename.c: Likewise.
18343 * sysdeps/mach/hurd/rmdir.c: Likewise.
18344 * sysdeps/mach/hurd/seekdir.c: Likewise.
18345 * sysdeps/mach/hurd/setsid.c: Likewise.
18346 * sysdeps/posix/wait3.c: Likewise.
18348 * All files with FSF copyright notices: Update copyright dates
18349 using scripts/update-copyrights.
18350 * intl/plural.c: Regenerated.
18351 * locale/programs/charmap-kw.h: Likewise.
18352 * locale/programs/locfile-kw.h: Likewise.
18354 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18356 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18359 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18360 calculation loop and add branch prediction.
18362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18363 check access beyond bounds of m1np.
18365 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18367 (__inv): Remove local variable MPTWO to use the global
18369 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18370 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18372 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18373 MP3HALFS static const.
18375 2013-01-01 David S. Miller <davem@davemloft.net>
18377 * po/ca.po: Update from translation team.
18379 2013-01-01 Joseph Myers <joseph@codesourcery.com>
18381 * scripts/update-copyrights: New file.
18382 * Makeconfig: Reformat copyright notice.
18383 * ctype/ctype.h: Likewise.
18384 * debug/swprintf_chk.c: Likewise.
18385 * elf/dl-cache.c: Likewise.
18386 * elf/dl-debug.c: Likewise.
18387 * elf/dl-object.c: Likewise.
18388 * grp/initgroups.c: Likewise.
18389 * hurd/Makefile: Likewise.
18390 * hurd/hurd/signal.h: Likewise.
18391 * hurd/hurdfault.c: Likewise.
18392 * hurd/hurdioctl.c: Likewise.
18393 * hurd/hurdlookup.c: Likewise.
18394 * hurd/intr-msg.c: Likewise.
18395 * iconv/gconv_open.c: Likewise.
18396 * libio/swprintf.c: Likewise.
18397 * locale/lc-ctype.c: Likewise.
18398 * locale/nl_langinfo.c: Likewise.
18399 * mach/Machrules: Likewise.
18400 * mach/Makefile: Likewise.
18401 * malloc/obstack.h: Likewise.
18402 * manual/Makefile: Likewise.
18403 * manual/tsort.awk: Likewise.
18404 * misc/bits/stab.def: Likewise.
18405 * nis/nis_print_group_entry.c: Likewise.
18406 * nis/nis_table.c: Likewise.
18407 * nis/nss_compat/compat-pwd.c: Likewise.
18408 * nis/nss_compat/compat-spwd.c: Likewise.
18409 * po/Makefile: Likewise.
18410 * posix/fnmatch.c: Likewise.
18411 * posix/regex.h: Likewise.
18412 * resolv/Makefile: Likewise.
18413 * resolv/nss_dns/dns-network.c: Likewise.
18414 * resolv/res_hconf.c: Likewise.
18415 * scripts/gen-sorted.awk: Likewise.
18416 * soft-fp/soft-fp.h: Likewise.
18417 * stdio-common/printf.h: Likewise.
18418 * stdlib/monetary.h: Likewise.
18419 * stdlib/random.c: Likewise.
18420 * stdlib/random_r.c: Likewise.
18421 * sysdeps/generic/Makefile: Likewise.
18422 * sysdeps/gnu/Makefile: Likewise.
18423 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18425 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18430 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18431 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18433 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18434 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18435 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18436 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18437 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18438 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18439 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18441 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18443 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18444 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18445 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18446 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18447 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18448 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18449 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18450 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18451 * sysdeps/mach/hurd/errnos.awk: Likewise.
18452 * sysdeps/mach/hurd/fork.c: Likewise.
18453 * sysdeps/mach/hurd/getcwd.c: Likewise.
18454 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18455 * sysdeps/mach/hurd/mmap.c: Likewise.
18456 * sysdeps/mach/hurd/utimes.c: Likewise.
18457 * sysdeps/mach/hurd/xmknod.c: Likewise.
18458 * sysdeps/posix/profil.c: Likewise.
18459 * sysdeps/posix/readdir_r.c: Likewise.
18460 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18461 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18462 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18463 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18465 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18466 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18467 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18469 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18470 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18471 * sysdeps/pthread/lio_listio.c: Likewise.
18472 * sysdeps/sparc/dl-procinfo.h: Likewise.
18473 * sysdeps/unix/i386/sysdep.S: Likewise.
18474 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18475 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18476 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18477 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18479 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18480 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18481 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18482 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18483 * sysdeps/wordsize-32/divdi3.c: Likewise.
18484 * time/sys/time.h: Likewise.
18485 * wcsmbs/Makefile: Likewise.
18487 2013-01-01 David S. Miller <davem@davemloft.net>
18489 * po/fr.po: Update from translation team.
18491 * catgets/gencat.c: Update copyright year.
18492 * csu/version.c: Likewise.
18493 * debug/catchsegv.sh: Likewise.
18494 * debug/pcprofiledump.c: Likewise.
18495 * debug/xtrace.sh: Likewise.
18496 * elf/ldconfig.c: Likewise.
18497 * elf/ldd.bash.in: Likewise.
18498 * elf/pldd.c: Likewise.
18499 * elf/sotruss.ksh: Likewise.
18500 * elf/sprof.c: Likewise.
18501 * iconv/iconv_prog.c: Likewise.
18502 * iconv/iconvconfig.c: Likewise.
18503 * locale/programs/locale.c: Likewise.
18504 * locale/programs/localedef.c: Likewise.
18505 * login/programs/pt_chown.c: Likewise.
18506 * malloc/memusage.sh: Likewise.
18507 * malloc/memusagestat.c: Likewise.
18508 * malloc/mtrace.pl: Likewise.
18509 * nscd/nscd.c: Likewise.
18510 * nss/getent.c: Likewise.
18511 * nss/makedb.c: Likewise.
18512 * posix/getconf.c: Likewise.
18514 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18516 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18519 2012-12-30 Mike Frysinger <vapier@gentoo.org>
18521 * math/bits/mathcalls.h (modf): Use __nonnull.
18523 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18525 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18526 (split): Use macro CN instead of the bare value.
18527 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18530 instead of the bare value.
18531 (power1): Likewise.
18533 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18535 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18537 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18539 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18541 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18542 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18543 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18544 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18546 2012-12-28 Andreas Jaeger <aj@suse.de>
18548 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18549 values are from Linux 3.7.
18551 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18552 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18554 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18556 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18559 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18561 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18562 variables with preprocessor constants.
18563 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18564 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18565 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18567 2012-12-27 Bruno Haible <bruno@clisp.org>
18570 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18573 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18576 and use variable directly.
18577 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18579 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18581 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18582 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18584 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18586 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18587 include directive. Remove local variable MPONE.
18588 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18589 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18590 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18592 2012-12-25 David S. Miller <davem@davemloft.net>
18594 * version.h (RELEASE): Set to "development".
18595 (VERSION): Set to "2.17.90".
18596 * NEWS: Add 2.18 section.
18598 2012-12-21 David S. Miller <davem@davemloft.net>
18600 * po/hr.po: Update from translation team.
18602 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18604 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18606 2012-12-19 Steve Ellcey <sellcey@mips.com>
18608 * NEWS: Mention new memcpy for MIPS.
18610 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18612 * manual/contrib.texi (Contributors): Spelling correction.
18614 2012-12-15 David S. Miller <davem@davemloft.net>
18616 * po/ru.po: Update from translation team.
18618 2012-12-13 David S. Miller <davem@davemloft.net>
18620 * NEWS: Mention IFUNC testsuite enhancements.
18622 * po/pl.po: Update from translation team.
18623 * po/bg.po: Likewise.
18625 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18626 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18628 2012-12-11 David S. Miller <davem@davemloft.net>
18630 * po/sv.po: Update from translation team.
18632 * po/vi.po: Update from translation team.
18634 * po/cs.po: Update from translation team.
18636 * po/de.po: Update from translation team.
18637 * po/eo.po: Likewise.
18638 * po/nl.po: Likewise.
18640 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18643 * manual/argp.texi (Argp Helper Functions): Move node to follow
18644 Argp Parsing State.
18647 * manual/conf.texi (Limits on File System Capacity): Mention if
18648 terminating null is included in the max size.
18650 2012-12-10 Andreas Jaeger <aj@suse.de>
18652 * po/cs.po: Update from translation team.
18654 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18656 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18657 void pointer and cast to uintptr_t.
18658 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18660 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18661 * sysdeps/s390/s390-64/memset.S: Likewise.
18663 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
18666 * menual/message.texi (Message Translation): Fix typos.
18667 (Helper programs for gettext): Likewise.
18669 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18672 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18675 2012-12-07 David S. Miller <davem@davemloft.net>
18677 * po/libc.pot: Update.
18679 2012-12-07 Richard Henderson <rth@redhat.com>
18682 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18683 normal/normal case to before the switch.
18684 (_FP_DIV): Likewise.
18686 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18687 Mike Frysinger <vapier@gentoo.org>
18689 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18690 check for __NR_fadvise64_64.
18692 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18694 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18695 0, not just to plain "0" as a statement.
18696 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18699 2012-12-06 Joseph Myers <joseph@codesourcery.com>
18701 * NEWS: Use sourceware.org in Bugzilla URL.
18703 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18706 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18708 * stdio-common/tst-put-error.c (do_test): Add newline to the
18709 padded test to ensure flush.
18711 2012-12-05 Jeff Law <law@redhat.com>
18713 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18715 2012-12-05 Joseph Myers <joseph@codesourcery.com>
18717 * README: Don't refer to ports add-on as distributed separately.
18718 Mention AArch64 in list of systems supported in the ports add-on.
18720 * LICENSES: Add more non-FSF copyright and license notices.
18722 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18725 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18727 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18728 10000 as width of padded output.
18730 2012-12-04 Joseph Myers <joseph@codesourcery.com>
18732 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18734 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18735 variable LX with __attribute__ ((unused)).
18736 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18738 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18740 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18741 with __attribute__ ((unused)).
18743 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
18745 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18747 2012-12-04 Joseph Myers <joseph@codesourcery.com>
18749 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18750 (CFLAGS-nldbl-acos.c): New variable.
18751 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18752 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18753 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18754 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18755 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18756 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18757 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18758 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18759 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18760 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18761 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18762 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18763 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18764 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18765 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18766 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18767 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18768 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18769 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18770 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18771 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18772 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18773 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18774 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18775 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18776 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18777 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18778 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18779 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18780 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18781 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18782 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18783 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18784 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18785 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18786 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18787 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18788 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18789 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18790 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18791 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18792 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18793 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18794 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18795 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18796 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18797 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18798 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18799 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18800 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18801 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18802 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18803 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18804 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18805 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18806 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18807 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18808 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18809 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18810 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18811 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18812 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18813 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18814 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18815 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18816 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18817 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18818 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18819 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18820 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18821 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18822 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18823 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18824 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18825 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18826 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18827 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18828 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18829 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18830 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18831 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18832 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18833 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18834 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18835 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18836 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18837 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18838 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18839 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18840 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18841 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18842 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18843 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18844 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18845 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18846 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18847 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18850 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18853 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18854 whole low double instead of just low 47 bits when splitting values
18857 2012-12-03 Allan McRae <allan@archlinux.org>
18859 * manual/stdio.texi (Predefined Printf Handlers): Remove
18860 @hsep and @vsep usage.
18862 2012-12-03 Mike Frysinger <vapier@gentoo.org>
18864 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18865 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18867 2012-12-03 Jeff Law <law@redhat.com>
18869 * time/sys/time.h (settimeofday): Do not mark TV argument
18872 2012-12-01 Mike Frysinger <vapier@gentoo.org>
18874 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18875 when currently writing and seek to current position when not.
18876 * libio/Makefile (tests): Remove bug-fclose1.
18877 * libio/bug-fclose1.c: Delete.
18879 2012-12-01 Joseph Myers <joseph@codesourcery.com>
18881 * manual/arith.texi (feenableexcept): Fix typo.
18882 (fedisableexcept): Likewise.
18884 2012-11-30 Roland McGrath <roland@hack.frob.com>
18886 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18887 second, differently-typed declaration, rather than a cast.
18889 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18891 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18892 * include/rpc/svc.h: ... here.
18894 2012-11-30 Aurelien Jarno <aurel32@debian.org>
18897 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18898 depending n and resplen2 to catch cases where answer
18901 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
18903 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18904 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18906 2012-11-29 Mike Frysinger <vapier@gentoo.org>
18908 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18910 2012-11-29 Roland McGrath <roland@hack.frob.com>
18912 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18914 2012-11-28 Jeff Law <law@redhat.com>
18917 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18918 dataset_temporary. Track alloca usage into alloca_used.
18919 If dataset is large allocate and release it via malloc/free.
18921 2012-06-04 Florian Weimer <fweimer@redhat.com>
18924 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
18926 2012-11-28 David S. Miller <davem@davemloft.net>
18928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18930 2012-11-28 Joseph Myers <joseph@codesourcery.com>
18933 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
18934 of pi/2 rounded to nearest to 64 bits.
18935 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
18936 nearest to 64 bits.
18937 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
18940 2012-11-28 Jeff Law <law@redhat.com>
18941 Martin Osvald <mosvald@redhat.com>
18944 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
18945 * sunrpc/svc.c: Include time.h.
18946 (__svc_accept_failed): New function.
18947 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
18948 any reason other than EINTR, call __svc_accept_failed.
18949 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
18950 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
18952 2012-11-28 Andreas Schwab <schwab@suse.de>
18954 * scripts/abilist.awk: Also handle indirect functions in .opd
18957 2012-11-28 Joseph Myers <joseph@codesourcery.com>
18960 * sysdeps/x86/fpu/powl_helper.c: New file.
18961 * sysdeps/x86/fpu/Makefile: Likewise.
18962 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
18964 (__ieee754_powl): Use __powl_helper for finite arguments except
18965 integer exponents below 8.
18966 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
18968 (__ieee754_powl): Use __powl_helper for finite arguments except
18969 integer exponents below 8.
18970 * math/libm-test.inc (pow_test): Add more tests and enable some
18971 previously disabled tests.
18972 * sysdeps/i386/fpu/libm-test-ulps: Update.
18973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18975 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18976 Carlos O'Donell <carlos_odonell@mentor.com>
18978 * nss/makedb.c (is_prime): Assert that input is odd and greater
18979 than 4. Note that fact in a comment too.
18980 (next_prime): Add 4 to input.
18982 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18985 * libio/Makefile (tests): Add test case tst-fwrite-error.
18986 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
18987 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18988 * libio/tst-fwrite-error.c: New test case.
18990 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
18992 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
18993 before casting to void *.
18994 * include/libc-internal.h (__pointer_type): New macro.
18995 (__integer_if_pointer_type_sub): Likewise.
18996 (__integer_if_pointer_type): Likewise.
18997 (cast_to_integer): Likewise.
18998 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
18999 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19000 before casting to atomic64_t.
19001 (atomic_exchange_acq): Likewise.
19002 (__arch_exchange_and_add_body): Likewise.
19003 (__arch_add_body): Likewise.
19004 (atomic_add_negative): Likewise.
19005 (atomic_add_zero): Likewise.
19007 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19009 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19010 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19011 (add_fdes): Likewise.
19012 (linear_search_fdes): Likewise.
19013 (binary_search_unencoded_fdes): Likewise.
19015 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19017 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19019 2012-11-24 Adam Conrad <adconrad@0c3.net>
19021 * configure.in: Autodetect C++ header directories.
19022 * configure: Regenerated.
19024 2012-11-23 Mike Frysinger <vapier@gentoo.org>
19026 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19028 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19032 2012-11-22 Joseph Myers <joseph@codesourcery.com>
19034 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19035 LDBL_MANT_DIG == 106]: Disable some tests.
19036 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19038 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19042 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19043 input for small inputs. Return +/- pi/2 for large inputs.
19044 * math/libm-test.inc (atan_test): Add more tests.
19046 * sysdeps/generic/unwind-dw2-fde-glibc.c
19047 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19048 __attribute__ ((unused)).
19051 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19052 x * y if x and y are nonzero and z is zero.
19055 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19056 nonzero exponents with absolute value below 0x1p-117 to +/-
19060 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19061 up arguments below 2**-450, not just those below 2**-500.
19062 * math/libm-test.inc (hypot_test): Add another test.
19065 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19066 Return a+b for ratio over 2**120, not 2**60.
19067 * math/libm-test.inc (hypot_test): Add another test.
19069 * math/libm-test.inc (clog_test): Use
19070 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19071 (clog10_test): Likewise.
19074 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19076 2012-11-22 Andreas Schwab <schwab@suse.de>
19078 * sysdeps/i386/fpu/libm-test-ulps: Update.
19080 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19082 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19083 printf output with newline.
19085 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19088 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19089 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19090 -z nodlopen, -z initfirst and -z execstack support.
19091 * configure: Regenerated.
19093 * elf/elf.h (DF_1_NODIRECT): New macro.
19094 (DF_1_IGNMULDEF): Likewise.
19095 (DF_1_NOKSYMS): Likewise.
19096 (DF_1_NOHDR): Likewise.
19097 (DF_1_EDITED): Likewise.
19098 (DF_1_NORELOC): Likewise.
19099 (DF_1_SYMINTPOSE): Likewise.
19100 (DF_1_GLOBAUDIT): Likewise.
19101 (DF_1_SINGLETON): Likewise.
19102 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19103 DT_1_SUPPORTED_MASK bits.
19104 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19106 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19108 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19110 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19112 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19115 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19116 (sendmmsg): Move declarations...
19117 * socket/sys/socket.h: ... here.
19118 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19119 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19121 * socket/recvmmsg.c: ... this new file.
19122 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19123 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19124 definition of __sendmmsg hidden.
19125 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19126 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19127 Move ENOSYS stub into and include it from...
19128 * socket/sendmmsg.c: ... this new file.
19129 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19130 (sysdep_routines): Move recvmmsg and sendmmsg...
19131 * socket/Makefile (routines): ... here.
19132 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19133 (GLIBC_PRIVATE): Add __sendmmsg.
19134 * include/sys/socket.h (__sendmmsg): Add declarations.
19135 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19138 2012-11-20 Joseph Myers <joseph@codesourcery.com>
19140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19141 variable I1 with __attribute__ ((unused)).
19142 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19144 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19146 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19147 DUMMY variables with __attribute__ ((unused)).
19149 * bits/byteswap.h: Include <bits/types.h>.
19150 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19152 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19154 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19155 string_t. Do not manually set errno.
19156 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19157 length with __strnlen. Make sure to both set errno and return it on
19160 2012-11-19 David S. Miller <davem@davemloft.net>
19162 With help from Joseph Myers.
19163 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19164 very large arguments properly.
19165 * math/libm-test.inc (atan_test): New tests.
19166 (atan2_test): New tests.
19167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19170 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19173 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19176 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19177 [POSIX] (EADDRNOTAVAIL): Likewise.
19178 [POSIX] (EAFNOSUPPORT): Likewise.
19179 [POSIX] (EALREADY): Likewise.
19180 [POSIX] (ECONNABORTED): Likewise.
19181 [POSIX] (ECONNREFUSED): Likewise.
19182 [POSIX] (ECONNRESET): Likewise.
19183 [POSIX] (EDESTADDRREQ): Likewise.
19184 [POSIX] (EDQUOT): Likewise.
19185 [POSIX] (EHOSTUNREACH): Likewise.
19186 [POSIX] (EIDRM): Likewise.
19187 [POSIX] (EISCONN): Likewise.
19188 [POSIX] (ELOOP): Likewise.
19189 [POSIX] (EMULTIHOP): Likewise.
19190 [POSIX] (ENETDOWN): Likewise.
19191 [POSIX] (ENETUNREACH): Likewise.
19192 [POSIX] (ENOBUFS): Likewise.
19193 [POSIX] (ENODATA): Likewise.
19194 [POSIX] (ENOLINK): Likewise.
19195 [POSIX] (ENOMSG): Likewise.
19196 [POSIX] (ENOPROTOOPT): Likewise.
19197 [POSIX] (ENOSR): Likewise.
19198 [POSIX] (ENOSTR): Likewise.
19199 [POSIX] (ENOTCONN): Likewise.
19200 [POSIX] (ENOTSOCK): Likewise.
19201 [POSIX] (EOPNOTSUPP): Likewise.
19202 [POSIX] (EOVERFLOW): Likewise.
19203 [POSIX] (EPROTO): Likewise.
19204 [POSIX] (EPROTONOSUPPORT): Likewise.
19205 [POSIX] (EPROTOTYPE): Likewise.
19206 [POSIX] (ESTALE): Likewise.
19207 [POSIX] (ETIME): Likewise.
19208 [POSIX] (ETXTBSY): Likewise.
19209 [POSIX] (EWOULDBLOCK): Likewise.
19210 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19211 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19212 [POSIX] (SEEK_CUR): Likewise.
19213 [POSIX] (SEEK_END): Likewise.
19214 [POSIX || UNIX98] (mode_t): Do not require.
19215 [POSIX] (off_t): Likewise.
19216 [POSIX] (pid_t): Likewise.
19217 [POSIX] (sys/stat.h): Do not allow header.
19218 [POSIX] (unistd.h): Likewise.
19219 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19220 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19221 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19222 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19224 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19225 sigevent): Specify elements.
19226 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19228 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19229 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19231 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19232 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19233 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19234 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19235 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19236 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19237 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19238 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19239 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19240 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19241 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19242 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19243 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19244 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19246 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19248 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19250 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19252 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19253 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19254 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19255 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19256 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19257 Specify lower bound on value.
19258 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19259 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19260 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19261 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19262 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19263 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19264 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19265 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19267 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19269 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19270 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19271 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19272 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19273 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19274 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19275 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19276 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19277 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19278 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19279 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19280 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19281 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19282 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19283 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19284 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19286 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19288 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19289 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19290 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19291 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19292 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19293 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19295 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19296 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19297 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19298 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19299 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19300 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19301 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19303 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19304 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19305 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19306 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19307 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19308 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19309 specify as optional.
19310 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19311 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19312 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19313 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19314 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19315 [XPG3] (NL_LANGMAX): Likewise.
19316 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19317 [POSIX || XPG3] (NL_NMAX): Likewise.
19318 [POSIX || XPG3] (NL_SETMAX): Likewise.
19319 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19320 [XPG3] (NZERO): Likewise.
19321 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19322 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19323 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19324 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19325 (REG_ERANGE): Expect.
19326 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19328 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19329 Use (void) in prototype.
19330 [POSIX] (*_t): Allow.
19331 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19332 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19333 (WRDE_BADVAL): Expect.
19335 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19337 [XPG3 || XPG4] (O_RSYNC): Likewise.
19338 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19340 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19341 [XPG3 || XPG4] (sigqueue): Likewise.
19342 [XPG3 || XPG4] (sigtimedwait): Likewise.
19343 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19344 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19345 [XPG3 || XPG4] (vsnprintf): Likewise.
19346 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19348 [XPG3 || XPG4] (blksize_t): Likewise.
19349 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19351 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19352 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19353 [XPG3 || XPG4] (struct itimerspec): Likewise.
19354 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19355 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19356 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19357 [XPG3 || XPG4] (clockid_t): Likewise.
19358 [XPG3 || XPG4] (timer_t): Likewise.
19359 [XPG3 || XPG4] (clock_getres): Likewise.
19360 [XPG3 || XPG4] (clock_gettime): Likewise.
19361 [XPG3 || XPG4] (clock_settime): Likewise.
19362 [XPG3 || XPG4] (nanosleep): Likewise.
19363 [XPG3 || XPG4] (timer_create): Likewise.
19364 [XPG3 || XPG4] (timer_delete): Likewise.
19365 [XPG3 || XPG4] (timer_gettime): Likewise.
19366 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19367 [XPG3 || XPG4] (timer_settime): Likewise.
19368 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19369 [XPG3 || XPG4] (getlogin_r): Likewise.
19370 [XPG3 || XPG4] (pread): Likewise.
19371 [XPG3 || XPG4] (pthread_atfork): Likewise.
19372 [XPG3 || XPG4] (pwrite): Likewise.
19375 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19378 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19380 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19381 finalizing MALLSTREAM.
19383 * sysdeps/mach/hurd/syncfs.c: New file.
19385 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19388 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19389 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19390 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19391 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19392 (_nss_dns_gethostbyname4_r): Likewise.
19393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19394 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19396 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19399 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19401 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19403 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19404 * elf/cache.c (print_entry): Print ",AArch64" for
19407 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19408 * elf/cache.c (print_entry): Print ",hard-float" for
19411 2012-11-18 David S. Miller <davem@davemloft.net>
19413 With help from Joseph Myers.
19414 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19416 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19418 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19419 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19421 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19422 * math/libm-test.inc (y0_test): New tests.
19423 (y1_test): New tests.
19424 * sysdeps/i386/fpu/libm-test-ulps: Update.
19425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19428 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19430 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19432 * configure: Regenerated.
19434 2012-11-17 David S. Miller <davem@davemloft.net>
19437 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19438 nonzero exponents with absolute value below 0x1p-128 to +/-
19441 2012-11-17 Joseph Myers <joseph@codesourcery.com>
19443 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19445 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19447 * posix/getconf-speclist.c: New file.
19448 * posix/posix-envs.def: Likewise.
19449 * posix/confstr.c (START_ENV_GROUP): New macro.
19450 (END_ENV_GROUP): Likewise.
19451 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19452 (KNOWN_PRESENT_ENV_STRING): Likewise.
19453 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19454 (UNKNOWN_ENVIRONMENT): Likewise.
19455 (confstr): Include posix-envs.def instead of handling
19456 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19457 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19458 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19459 (END_ENV_GROUP): Likewise.
19460 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19461 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19462 (UNKNOWN_ENVIRONMENT): Likewise.
19463 (__sysconf): Include posix-envs.def instead of handling associated
19464 cases directly here.
19465 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19466 preprocessing getconf-speclist.c rather than running getconf or
19467 generating empty file.
19469 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19471 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19473 2012-11-16 Andrej Lajovic <natrij@gmail.com>
19476 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19478 2012-11-16 David S. Miller <davem@davemloft.net>
19480 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19481 smaller than LDBL_EPSILON/2.0L, just return xm1.
19483 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19485 * elf/tst-array1.c (init): Set constructor priority to 1000.
19486 (fini): Set destructor priority to 1000.
19487 * elf/tst-array2dep.c: Likewise.
19489 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19492 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19493 (_IO_new_file_xsputn): Also return EOF if none of the input
19494 data was written when overflow failed.
19495 * libio/iopadn.c (_IO_padn): Likewise.
19496 * libio/iowpadn.c (_IO_wpadn): Likewise.
19497 * stdio-common/tst-put-error.c: Add copyright notice.
19498 (do_test): Add case for printing padded string.
19499 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19500 _IO_padn returned error.
19501 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19502 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19505 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19507 * libio/libioP.h: Add comment note that the references to C++
19508 bits are now obsolete.
19510 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19512 * math/libm-test.inc (check_complex): Use asprintf.
19514 2012-11-14 Joseph Myers <joseph@codesourcery.com>
19516 * debug/pcprofiledump.c (print_version): Update copyright year.
19517 * malloc/memusagestat.c (print_version): Likewise.
19519 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19522 * elf/Makefile (tests): Add tst-audit8.
19523 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19524 ($(objpfx)tst-audit8.out): New target.
19525 (tst-audit8-ENV): New variable.
19526 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19527 audit if l_reloc_result is NULL.
19528 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19529 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19530 * elf/tst-audit8.c: New file.
19532 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19534 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19535 * misc/Makefile (CFLAGS-select.c): Define.
19536 * posix/Makefile (CFLAGS-pause.c): Define.
19538 2012-11-13 David S. Miller <davem@davemloft.net>
19540 * crypt/Makefile: Move test targets after toplevel Rules
19541 inclusion. Grab any necessary sysdep routines when linking.
19542 * crypt/md5.c (md5_process_block): Remove define, we will always
19543 name it __md5_process_block.
19544 (md5_finish_ctx): Update md5_process_block call.
19545 (md5_stream): Likewise.
19546 (md5_process_bytes): Likewise.
19547 (md5_process_block): Rename to __md5_process_block and move to ...
19548 * crypt/md5-block.c: ... here.
19549 * crypt/sha256.c (sha256_process_block): Move to ...
19550 * crypt/sha256-block.c: ... here.
19551 * crypt/sha512.c (sha512_process_block): Move to ...
19552 * crypt/sha512-block.c: ... here.
19553 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19555 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19556 * sysdeps/sparc/sparc64/multiarch/Makefile
19557 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19559 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19560 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19562 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19563 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19564 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19565 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19566 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19567 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19568 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19569 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19570 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19572 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19573 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19575 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19577 2012-11-13 Joseph Myers <joseph@codesourcery.com>
19579 * timezone/tzselect.ksh: Update from tzcode git revision
19580 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19581 * timezone/zdump.c: Likewise.
19582 * timezone/zic.c: Likewise.
19583 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19584 in TZVERSION setting, not $(PKGVERSION).
19585 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19586 REPORT_BUGS_TO settings.
19589 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19592 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19594 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19595 detection to immediately after _FP_ROUND().
19596 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19599 2012-11-11 David S. Miller <davem@davemloft.net>
19601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19603 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19604 __close rather than their public counterparts.
19606 2012-11-10 Joseph Myers <joseph@codesourcery.com>
19608 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19610 [UNIX98] (sem_timedwait): Do not expect.
19611 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19612 [XPG4 || UNIX98] (sockatmark): Do not expect.
19613 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19614 (clock_getcpuclockid): Do not expect.
19615 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19616 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19618 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19619 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19620 [UNIX98] (vwscanf): Likewise.
19621 [UNIX98] (vswscanf): Likewise.
19623 2012-11-09 Joseph Myers <joseph@codesourcery.com>
19625 * timezone/version.h: Remove file.
19626 * timezone/README: Do not refer to version.h.
19627 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19628 $(objpfx)version.h.
19629 ($(objpfx)zdump.o): Likewise.
19630 ($(objpfx)version.h): New target.
19632 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19634 * timezone/README: Don't mention modification to tzselect.ksh.
19635 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19636 work on unmodified tzselect.ksh. Substitute version numbers in
19639 * Makefile (format-me): Remove.
19640 (INSTALL): Adjust indentation. Use commands directly instead of
19641 using $(format-me).
19643 * aclocal.m4 (ACX_PKGVERSION): New macro.
19644 (ACX_BUGURL): Likewise.
19645 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19646 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19647 (REPORT_BUGS_TO): Likewise.
19648 * configure: Regenerated.
19649 * config.h.in (PKGVERSION): New macro.
19650 (REPORT_BUGS_TO): Likewise.
19651 * config.make.in (PKGVERSION): New variable.
19652 (PKGVERSION_TEXI): Likewise.
19653 (REPORT_BUGS_TO): Likewise.
19654 (REPORT_BUGS_TEXI): Likewise.
19655 * Makefile (format-me): Use -I$(common-objpfx)manual.
19656 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19657 ($(common-objpfx)manual/%): New target.
19658 (manual/%): Remove target.
19659 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19660 (print_version): Use PKGVERSION.
19661 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19662 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19663 and REPORT_BUGS_TO.
19664 ($(objpfx)xtrace): Likewise.
19665 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19666 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19667 (print_version): Use PKGVERSION.
19668 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19669 (do_version): Use PKGVERSION.
19670 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19672 (common-ldd-rewrite): Likewise.
19673 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19674 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19675 (print_version): Use PKGVERSION.
19676 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19677 * elf/pldd.c (argp_program_bug_address): Remove variable.
19678 (more_help): New function.
19679 (argp): Use more_help.
19680 (print_version): Use PKGVERSION.
19681 * elf/sln.c (main): Use PKGVERSION.
19682 (usage): Use REPORT_BUGS_TO.
19683 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19684 (top level): Use PKGVERSION.
19685 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19686 (print_version): Use PKGVERSION.
19687 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19688 (print_version): Use PKGVERSION.
19689 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19690 (print_version): Use PKGVERSION.
19691 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19692 (print_version): Use PKGVERSION.
19693 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19694 (print_version): Use PKGVERSION.
19695 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19696 (print_version): Use PKGVERSION.
19697 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19699 ($(objpfx)memusage): Likewise.
19700 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19701 (do_version): Use PKGVERSION.
19702 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19703 (print_version): Use PKGVERSION.
19704 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19705 ($PKGVERSION): New variable.
19706 ($REPORT_BUGS_TO): Likewise.
19707 (usage): Use $REPORT_BUGS_TO.
19708 (top level): Use $PKGVERSION.
19709 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19710 ($(objpfx)pkgvers.texi): New rule.
19711 ($(objpfx)stamp-pkgvers): Likewise.
19712 * manual/install.texi: Include pkgvers.texi.
19713 (--with-pkgversion): Document new configure option.
19714 (--with-bugurl): Likewise.
19715 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19716 than necessarily for this particular distribution. Use
19717 REPORT_BUGS_TO for where to report bugs.
19718 * INSTALL: Regenerated.
19719 * manual/libc.texinfo: Include pkgvers.texi.
19720 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19721 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19722 (print_version): Use PKGVERSION.
19723 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19724 (print_version): Use PKGVERSION.
19725 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19726 (print_version): Use PKGVERSION.
19727 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19728 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19730 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19731 (print_version): Use PKGVERSION.
19732 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19733 (print_version): Use PKGVERSION.
19734 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19737 * timezone/checktab.awk: Update from tzcode 2012i.
19738 * timezone/ialloc.c: Likewise.
19739 * timezone/private.h: Likewise.
19740 * timezone/scheck.c: Likewise.
19741 * timezone/tzfile.h: Likewise.
19742 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19743 (TZVERSION): Hardcode tzcode version number.
19744 * timezone/zdump.c: Update from tzcode 2012i.
19745 * timezone/zic.c: Likewise.
19746 * timezone/version.h: New file.
19747 * timezone/README: Describe version.h. Update upstream location.
19750 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19751 (mktemp): Enable declaration.
19752 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19753 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19755 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19757 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19759 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19761 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19763 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19765 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19769 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19770 offset in buffer as u_int32_t not u_long. Consistently use memcpy
19771 for copies of such integer values.
19772 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19773 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19775 2012-11-09 Andreas Jaeger <aj@suse.de>
19777 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19778 definitions and declarations that are provided by
19779 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19781 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19783 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19784 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19785 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19788 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19790 * elf/elf.h: Update comment before AArch64 relocations.
19792 2012-11-07 David S. Miller <davem@davemloft.net>
19794 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19795 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19796 (__start_context): Declare.
19797 (__makecontext_ret): Delete.
19798 (__makecontext): Hook up __start_context instead of
19800 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19801 (sysdep_routines): Add __start_context when in stdlib.
19803 2012-11-07 Joseph Myers <joseph@codesourcery.com>
19805 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19806 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19807 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
19809 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
19810 (READELF): New variable. Use it instead of hardcoded "readelf".
19812 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
19814 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19815 * sysdeps/x86/Makefile: Here.
19816 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19817 * sysdeps/x86/tst-xmmymm.sh: This.
19819 2012-11-07 Joseph Myers <joseph@codesourcery.com>
19821 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19823 [UNIX98] (pthread_barrier_t): Do not expect.
19824 [UNIX98] (pthread_barrierattr_t): Likewise.
19825 [UNIX98] (pthread_spinlock_t): Likewise.
19826 [UNIX98] (pthread_barrier_destroy): Likewise.
19827 [UNIX98] (pthread_barrier_init): Likewise.
19828 [UNIX98] (pthread_barrier_wait): Likewise.
19829 [UNIX98] (pthread_barrierattr_destroy): Likewise.
19830 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19831 [UNIX98] (pthread_barrierattr_init): Likewise.
19832 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19833 [UNIX98] (pthread_getcpuclockid): Likewise.
19834 [UNIX98] (pthread_mutex_timedlock): Likewise.
19835 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19836 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19837 [UNIX98] (pthread_sigmask): Likewise.
19838 [UNIX98] (pthread_spin_destroy): Likewise.
19839 [UNIX98] (pthread_spin_init): Likewise.
19840 [UNIX98] (pthread_spin_lock): Likewise.
19841 [UNIX98] (pthread_spin_trylock): Likewise.
19842 [UNIX98] (pthread_spin_unlock): Likewise.
19843 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19845 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19847 [XPG3 || XPG4] (pthread_cond_t): Likewise.
19848 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19849 [XPG3 || XPG4] (pthread_key_t): Likewise.
19850 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19851 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19852 [XPG3 || XPG4] (pthread_once_t): Likewise.
19853 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19854 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19856 [XPG3 || XPG4] (pthread_t): Likewise.
19858 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19860 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19862 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19863 Change function return type to int.
19865 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19866 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19867 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19868 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19869 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19870 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19871 [!POSIX] (posix_madvise): Likewise.
19872 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19874 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19875 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19876 (mode_t): Likewise.
19877 (posix_mem_offset): Likewise.
19878 (posix_typed_mem_get_info): Likewise.
19879 (posix_typed_mem_open): Likewise.
19881 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19882 Change condition to [XOPEN2K8].
19884 * conform/conformtest.pl: Preprocess allow-header data with -x c
19885 instead of from stdin.
19886 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19887 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19888 [C99-based standards] (cerfc): Likewise.
19889 [C99-based standards] (cexp2): Likewise.
19890 [C99-based standards] (cexpm1): Likewise.
19891 [C99-based standards] (clog10): Likewise.
19892 [C99-based standards] (clog1p): Likewise.
19893 [C99-based standards] (clog2): Likewise.
19894 [C99-based standards] (clgamma): Likewise.
19895 [C99-based standards] (ctgamma): Likewise.
19896 [C99-based standards] (cerff): Likewise.
19897 [C99-based standards] (cerfcf): Likewise.
19898 [C99-based standards] (cexp2f): Likewise.
19899 [C99-based standards] (cexpm1f): Likewise.
19900 [C99-based standards] (clog10f): Likewise.
19901 [C99-based standards] (clog1pf): Likewise.
19902 [C99-based standards] (clog2f): Likewise.
19903 [C99-based standards] (clgammaf): Likewise.
19904 [C99-based standards] (ctgammaf): Likewise.
19905 [C99-based standards] (cerfl): Likewise.
19906 [C99-based standards] (cerfcl): Likewise.
19907 [C99-based standards] (cexp2l): Likewise.
19908 [C99-based standards] (cexpm1l): Likewise.
19909 [C99-based standards] (clog10l): Likewise.
19910 [C99-based standards] (clog1pl): Likewise.
19911 [C99-based standards] (clog2l): Likewise.
19912 [C99-based standards] (clgammal): Likewise.
19913 [C99-based standards] (ctgammal): Likewise.
19914 * conform/data/inttypes.h-data [C99-based standards]: Include
19915 stdint.h-data. Remove all expectations for stdint.h contents.
19916 [C99-based standards] (PRI*): Do not allow.
19917 [C99-based standards] (SCN*): Likewise.
19918 [C99-based standards] (*_t): Likewise.
19919 [C99-based-standards] (PRId8): Expect macro.
19920 [C99-based-standards] (PRIi8): Likewise.
19921 [C99-based-standards] (PRIo8): Likewise.
19922 [C99-based-standards] (PRIu8): Likewise.
19923 [C99-based-standards] (PRIx8): Likewise.
19924 [C99-based-standards] (PRIX8): Likewise.
19925 [C99-based-standards] (SCNd8): Likewise.
19926 [C99-based-standards] (SCNi8): Likewise.
19927 [C99-based-standards] (SCNo8): Likewise.
19928 [C99-based-standards] (SCNu8): Likewise.
19929 [C99-based-standards] (SCNx8): Likewise.
19930 [C99-based-standards] (PRIdLEAST8): Likewise.
19931 [C99-based-standards] (PRIiLEAST8): Likewise.
19932 [C99-based-standards] (PRIoLEAST8): Likewise.
19933 [C99-based-standards] (PRIuLEAST8): Likewise.
19934 [C99-based-standards] (PRIxLEAST8): Likewise.
19935 [C99-based-standards] (PRIXLEAST8): Likewise.
19936 [C99-based-standards] (SCNdLEAST8): Likewise.
19937 [C99-based-standards] (SCNiLEAST8): Likewise.
19938 [C99-based-standards] (SCNoLEAST8): Likewise.
19939 [C99-based-standards] (SCNuLEAST8): Likewise.
19940 [C99-based-standards] (SCNxLEAST8): Likewise.
19941 [C99-based-standards] (PRIdFAST8): Likewise.
19942 [C99-based-standards] (PRIiFAST8): Likewise.
19943 [C99-based-standards] (PRIoFAST8): Likewise.
19944 [C99-based-standards] (PRIuFAST8): Likewise.
19945 [C99-based-standards] (PRIxFAST8): Likewise.
19946 [C99-based-standards] (PRIXFAST8): Likewise.
19947 [C99-based-standards] (SCNdFAST8): Likewise.
19948 [C99-based-standards] (SCNiFAST8): Likewise.
19949 [C99-based-standards] (SCNoFAST8): Likewise.
19950 [C99-based-standards] (SCNuFAST8): Likewise.
19951 [C99-based-standards] (SCNxFAST8): Likewise.
19952 [C99-based-standards] (PRId16): Likewise.
19953 [C99-based-standards] (PRIi16): Likewise.
19954 [C99-based-standards] (PRIo16): Likewise.
19955 [C99-based-standards] (PRIu16): Likewise.
19956 [C99-based-standards] (PRIx16): Likewise.
19957 [C99-based-standards] (PRIX16): Likewise.
19958 [C99-based-standards] (SCNd16): Likewise.
19959 [C99-based-standards] (SCNi16): Likewise.
19960 [C99-based-standards] (SCNo16): Likewise.
19961 [C99-based-standards] (SCNu16): Likewise.
19962 [C99-based-standards] (SCNx16): Likewise.
19963 [C99-based-standards] (PRIdLEAST16): Likewise.
19964 [C99-based-standards] (PRIiLEAST16): Likewise.
19965 [C99-based-standards] (PRIoLEAST16): Likewise.
19966 [C99-based-standards] (PRIuLEAST16): Likewise.
19967 [C99-based-standards] (PRIxLEAST16): Likewise.
19968 [C99-based-standards] (PRIXLEAST16): Likewise.
19969 [C99-based-standards] (SCNdLEAST16): Likewise.
19970 [C99-based-standards] (SCNiLEAST16): Likewise.
19971 [C99-based-standards] (SCNoLEAST16): Likewise.
19972 [C99-based-standards] (SCNuLEAST16): Likewise.
19973 [C99-based-standards] (SCNxLEAST16): Likewise.
19974 [C99-based-standards] (PRIdFAST16): Likewise.
19975 [C99-based-standards] (PRIiFAST16): Likewise.
19976 [C99-based-standards] (PRIoFAST16): Likewise.
19977 [C99-based-standards] (PRIuFAST16): Likewise.
19978 [C99-based-standards] (PRIxFAST16): Likewise.
19979 [C99-based-standards] (PRIXFAST16): Likewise.
19980 [C99-based-standards] (SCNdFAST16): Likewise.
19981 [C99-based-standards] (SCNiFAST16): Likewise.
19982 [C99-based-standards] (SCNoFAST16): Likewise.
19983 [C99-based-standards] (SCNuFAST16): Likewise.
19984 [C99-based-standards] (SCNxFAST16): Likewise.
19985 [C99-based-standards] (PRId32): Likewise.
19986 [C99-based-standards] (PRIi32): Likewise.
19987 [C99-based-standards] (PRIo32): Likewise.
19988 [C99-based-standards] (PRIu32): Likewise.
19989 [C99-based-standards] (PRIx32): Likewise.
19990 [C99-based-standards] (PRIX32): Likewise.
19991 [C99-based-standards] (SCNd32): Likewise.
19992 [C99-based-standards] (SCNi32): Likewise.
19993 [C99-based-standards] (SCNo32): Likewise.
19994 [C99-based-standards] (SCNu32): Likewise.
19995 [C99-based-standards] (SCNx32): Likewise.
19996 [C99-based-standards] (PRIdLEAST32): Likewise.
19997 [C99-based-standards] (PRIiLEAST32): Likewise.
19998 [C99-based-standards] (PRIoLEAST32): Likewise.
19999 [C99-based-standards] (PRIuLEAST32): Likewise.
20000 [C99-based-standards] (PRIxLEAST32): Likewise.
20001 [C99-based-standards] (PRIXLEAST32): Likewise.
20002 [C99-based-standards] (SCNdLEAST32): Likewise.
20003 [C99-based-standards] (SCNiLEAST32): Likewise.
20004 [C99-based-standards] (SCNoLEAST32): Likewise.
20005 [C99-based-standards] (SCNuLEAST32): Likewise.
20006 [C99-based-standards] (SCNxLEAST32): Likewise.
20007 [C99-based-standards] (PRIdFAST32): Likewise.
20008 [C99-based-standards] (PRIiFAST32): Likewise.
20009 [C99-based-standards] (PRIoFAST32): Likewise.
20010 [C99-based-standards] (PRIuFAST32): Likewise.
20011 [C99-based-standards] (PRIxFAST32): Likewise.
20012 [C99-based-standards] (PRIXFAST32): Likewise.
20013 [C99-based-standards] (SCNdFAST32): Likewise.
20014 [C99-based-standards] (SCNiFAST32): Likewise.
20015 [C99-based-standards] (SCNoFAST32): Likewise.
20016 [C99-based-standards] (SCNuFAST32): Likewise.
20017 [C99-based-standards] (SCNxFAST32): Likewise.
20018 [C99-based-standards] (PRId64): Likewise.
20019 [C99-based-standards] (PRIi64): Likewise.
20020 [C99-based-standards] (PRIo64): Likewise.
20021 [C99-based-standards] (PRIu64): Likewise.
20022 [C99-based-standards] (PRIx64): Likewise.
20023 [C99-based-standards] (PRIX64): Likewise.
20024 [C99-based-standards] (SCNd64): Likewise.
20025 [C99-based-standards] (SCNi64): Likewise.
20026 [C99-based-standards] (SCNo64): Likewise.
20027 [C99-based-standards] (SCNu64): Likewise.
20028 [C99-based-standards] (SCNx64): Likewise.
20029 [C99-based-standards] (PRIdLEAST64): Likewise.
20030 [C99-based-standards] (PRIiLEAST64): Likewise.
20031 [C99-based-standards] (PRIoLEAST64): Likewise.
20032 [C99-based-standards] (PRIuLEAST64): Likewise.
20033 [C99-based-standards] (PRIxLEAST64): Likewise.
20034 [C99-based-standards] (PRIXLEAST64): Likewise.
20035 [C99-based-standards] (SCNdLEAST64): Likewise.
20036 [C99-based-standards] (SCNiLEAST64): Likewise.
20037 [C99-based-standards] (SCNoLEAST64): Likewise.
20038 [C99-based-standards] (SCNuLEAST64): Likewise.
20039 [C99-based-standards] (SCNxLEAST64): Likewise.
20040 [C99-based-standards] (PRIdFAST64): Likewise.
20041 [C99-based-standards] (PRIiFAST64): Likewise.
20042 [C99-based-standards] (PRIoFAST64): Likewise.
20043 [C99-based-standards] (PRIuFAST64): Likewise.
20044 [C99-based-standards] (PRIxFAST64): Likewise.
20045 [C99-based-standards] (PRIXFAST64): Likewise.
20046 [C99-based-standards] (SCNdFAST64): Likewise.
20047 [C99-based-standards] (SCNiFAST64): Likewise.
20048 [C99-based-standards] (SCNoFAST64): Likewise.
20049 [C99-based-standards] (SCNuFAST64): Likewise.
20050 [C99-based-standards] (SCNxFAST64): Likewise.
20051 [C99-based-standards] (PRIdMAX): Likewise.
20052 [C99-based-standards] (PRIiMAX): Likewise.
20053 [C99-based-standards] (PRIoMAX): Likewise.
20054 [C99-based-standards] (PRIuMAX): Likewise.
20055 [C99-based-standards] (PRIxMAX): Likewise.
20056 [C99-based-standards] (PRIXMAX): Likewise.
20057 [C99-based-standards] (SCNdMAX): Likewise.
20058 [C99-based-standards] (SCNiMAX): Likewise.
20059 [C99-based-standards] (SCNoMAX): Likewise.
20060 [C99-based-standards] (SCNuMAX): Likewise.
20061 [C99-based-standards] (SCNxMAX): Likewise.
20062 [C99-based-standards] (PRIdPTR): Likewise.
20063 [C99-based-standards] (PRIiPTR): Likewise.
20064 [C99-based-standards] (PRIoPTR): Likewise.
20065 [C99-based-standards] (PRIuPTR): Likewise.
20066 [C99-based-standards] (PRIxPTR): Likewise.
20067 [C99-based-standards] (PRIXPTR): Likewise.
20068 [C99-based-standards] (SCNdPTR): Likewise.
20069 [C99-based-standards] (SCNiPTR): Likewise.
20070 [C99-based-standards] (SCNoPTR): Likewise.
20071 [C99-based-standards] (SCNuPTR): Likewise.
20072 [C99-based-standards] (SCNxPTR): Likewise.
20073 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20075 * conform/data/stdint.h-data: Update comments to clarify
20077 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20079 [C99-based standards] (INT8_MAX): Likewise.
20080 [C99-based standards] (INT16_MIN): Likewise.
20081 [C99-based standards] (INT16_MAX): Likewise.
20082 [C99-based standards] (INT32_MIN): Likewise.
20083 [C99-based standards] (INT32_MAX): Likewise.
20084 [C99-based standards] (INT64_MIN): Likewise.
20085 [C99-based standards] (INT64_MAX): Likewise.
20086 [C99-based standards] (UINT8_MAX): Likewise.
20087 [C99-based standards] (UINT16_MAX): Likewise.
20088 [C99-based standards] (UINT32_MAX): Likewise.
20089 [C99-based standards] (UINT64_MAX): Likewise.
20090 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20091 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20092 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20093 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20094 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20095 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20096 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20097 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20098 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20099 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20100 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20101 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20102 [C99-based standards] (INT_FAST8_MIN): Likewise.
20103 [C99-based standards] (INT_FAST8_MAX): Likewise.
20104 [C99-based standards] (INT_FAST16_MIN): Likewise.
20105 [C99-based standards] (INT_FAST16_MAX): Likewise.
20106 [C99-based standards] (INT_FAST32_MIN): Likewise.
20107 [C99-based standards] (INT_FAST32_MAX): Likewise.
20108 [C99-based standards] (INT_FAST64_MIN): Likewise.
20109 [C99-based standards] (INT_FAST64_MAX): Likewise.
20110 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20111 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20112 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20113 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20114 [C99-based standards] (INTPTR_MIN): Likewise.
20115 [C99-based standards] (INTPTR_MAX): Likewise.
20116 [C99-based standards] (UINTPTR_MAX): Likewise.
20117 [C99-based standards] (INTMAX_MIN): Likewise.
20118 [C99-based standards] (INTMAX_MAX): Likewise.
20119 [C99-based standards] (UINTMAX_MAX): Likewise.
20120 [C99-based standards] (PTRDIFF_MIN): Likewise.
20121 [C99-based standards] (PTRDIFF_MAX): Likewise.
20122 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20123 [C99-based standards] (SIZE_MAX): Likewise.
20124 [C99-based standards] (WCHAR_MAX): Likewise.
20125 [C99-based standards] (WINT_MAX): Likewise.
20126 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20127 constraint on value.
20128 [C99-based standards] (WCHAR_MIN): Likewise.
20129 [C99-based standards] (WINT_MIN): Likewise.
20130 [C99-based standards] (*_t): Allow.
20131 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20132 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20133 Include math.h-data and complex.h-data. Remove all expectations
20134 of math.h and complex.h contents.
20135 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20137 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20138 (struct tm): Expect tag.
20139 [C99-based-standards] (wcstof): Expect function.
20140 [C99-based-standards] (wcstold): Likewise.
20141 [C99-based-standards] (wcstoll): Likewise.
20142 [C99-based-standards] (wcstoull): Likewise.
20143 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20144 macro-int-constant. Specify type.
20145 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20146 constraint on value.
20147 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20149 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20151 [ISO C standards]: Do not allow headers.
20152 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20153 wcs[abcdefghijklmnopqrstuvwxyz]*.
20154 [ISO C standards] (*_t): Do not allow.
20155 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20157 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20158 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20160 [ISO C standards]: Do not allow headers.
20161 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20162 is[abcdefghijklmnopqrstuvwxyz]*.
20163 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20164 to[abcdefghijklmnopqrstuvwxyz]*.
20165 [ISO C standards] (*_t): Do not allow.
20166 * conform/data/stdalign.h-data: New file.
20167 * conform/data/stdbool.h-data: Likewise.
20168 * conform/data/stdnoreturn.h-data: Likewise.
20170 2012-11-07 Roland McGrath <roland@hack.frob.com>
20173 * manual/filesys.texi (Directory Entries): Typo fix.
20174 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20176 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20178 * elf/elf.h (EM_AARCH64): New macro.
20179 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20180 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20181 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20182 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20183 (R_AARCH64_TLSDESC): Likewise.
20184 (NT_ARM_TLS): Likewise.
20185 (NT_ARM_HW_BREAK): Likewise.
20186 (NT_ARM_HW_WATCH): Likewise.
20188 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20191 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20192 (__ieee754_powl): Saturate nonzero exponents with absolute value
20193 below 0x1p-79 to +/- 0x1p-79.
20194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20195 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20196 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20197 nonzero exponents with absolute value below 0x1p-32 to +/-
20199 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20200 (__ieee754_powl): Saturate nonzero exponents with absolute value
20201 below 0x1p-79 to +/- 0x1p-79.
20202 * math/libm-test.inc (pow_test): Add more tests.
20204 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20206 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20207 _dl_s390_cap_flags with kernel. Increase string length.
20208 (_dl_s390_platforms): Add z196 and zEC12.
20210 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20212 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20213 Change XOPEN21K to XOPEN2K.
20215 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20217 * string/memmove.c: Use memcpy when possible.
20219 2012-11-06 Andreas Jaeger <aj@suse.de>
20221 * po/eo.po: Update from translation team.
20223 2012-11-06 Joseph Myers <joseph@codesourcery.com>
20226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20227 exponent and small x and y exponents, scale x or y up. Increase
20228 by 2 the exponent used in scaling up.
20229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20230 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20231 * math/libm-test.inc (fma_test): Add more tests.
20232 (fma_test_towardzero): Likewise.
20233 (fma_test_downward): Likewise.
20234 (fma_test_upward): Likewise.
20236 2012-11-05 Joseph Myers <joseph@codesourcery.com>
20239 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20243 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20244 namespace for names of struct fields.
20245 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20247 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20248 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20250 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20253 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20255 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20257 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20261 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20264 2012-11-04 Joseph Myers <joseph@codesourcery.com>
20267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20268 definitely overflow as x * y not x * y + z.
20269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20271 * math/libm-test.inc (fma_test): Add more tests.
20272 (fma_test_towardzero): Likewise.
20273 (fma_test_downward): Likewise.
20274 (fma_test_upward): Likewise.
20276 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20280 * include/stub-tag.h: Remove file.
20281 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20283 * manual/maint.texi (Porting): Don't reference it.
20284 * Makerules ($(objpfx)stubs): Likewise.
20285 * dirent/closedir.c: Don't include <stub-tag.h>.
20286 * dirent/dirfd.c: Likewise.
20287 * dirent/fdopendir.c: Likewise.
20288 * dirent/getdents.c: Likewise.
20289 * dirent/getdents64.c: Likewise.
20290 * dirent/opendir.c: Likewise.
20291 * dirent/readdir.c: Likewise.
20292 * dirent/readdir64.c: Likewise.
20293 * dirent/readdir64_r.c: Likewise.
20294 * dirent/readdir_r.c: Likewise.
20295 * dirent/rewinddir.c: Likewise.
20296 * dirent/seekdir.c: Likewise.
20297 * dirent/telldir.c: Likewise.
20298 * gmon/profil.c: Likewise.
20299 * grp/setgroups.c: Likewise.
20300 * inet/if_index.c: Likewise.
20301 * io/access.c: Likewise.
20302 * io/chdir.c: Likewise.
20303 * io/chmod.c: Likewise.
20304 * io/chown.c: Likewise.
20305 * io/close.c: Likewise.
20306 * io/dup.c: Likewise.
20307 * io/dup2.c: Likewise.
20308 * io/dup3.c: Likewise.
20309 * io/euidaccess.c: Likewise.
20310 * io/faccessat.c: Likewise.
20311 * io/fchdir.c: Likewise.
20312 * io/fchmod.c: Likewise.
20313 * io/fchmodat.c: Likewise.
20314 * io/fchown.c: Likewise.
20315 * io/fchownat.c: Likewise.
20316 * io/fcntl.c: Likewise.
20317 * io/flock.c: Likewise.
20318 * io/fstatfs.c: Likewise.
20319 * io/fstatfs64.c: Likewise.
20320 * io/fstatvfs.c: Likewise.
20321 * io/fstatvfs64.c: Likewise.
20322 * io/futimens.c: Likewise.
20323 * io/fxstat.c: Likewise.
20324 * io/fxstat64.c: Likewise.
20325 * io/fxstatat.c: Likewise.
20326 * io/fxstatat64.c: Likewise.
20327 * io/getcwd.c: Likewise.
20328 * io/isatty.c: Likewise.
20329 * io/lchmod.c: Likewise.
20330 * io/lchown.c: Likewise.
20331 * io/link.c: Likewise.
20332 * io/linkat.c: Likewise.
20333 * io/lseek.c: Likewise.
20334 * io/lseek64.c: Likewise.
20335 * io/lxstat64.c: Likewise.
20336 * io/mkdir.c: Likewise.
20337 * io/mkdirat.c: Likewise.
20338 * io/mkfifo.c: Likewise.
20339 * io/mkfifoat.c: Likewise.
20340 * io/open.c: Likewise.
20341 * io/open64.c: Likewise.
20342 * io/openat.c: Likewise.
20343 * io/openat64.c: Likewise.
20344 * io/pipe.c: Likewise.
20345 * io/pipe2.c: Likewise.
20346 * io/poll.c: Likewise.
20347 * io/posix_fadvise.c: Likewise.
20348 * io/posix_fadvise64.c: Likewise.
20349 * io/posix_fallocate.c: Likewise.
20350 * io/posix_fallocate64.c: Likewise.
20351 * io/read.c: Likewise.
20352 * io/readlink.c: Likewise.
20353 * io/readlinkat.c: Likewise.
20354 * io/rmdir.c: Likewise.
20355 * io/sendfile.c: Likewise.
20356 * io/sendfile64.c: Likewise.
20357 * io/statfs.c: Likewise.
20358 * io/statfs64.c: Likewise.
20359 * io/statvfs.c: Likewise.
20360 * io/statvfs64.c: Likewise.
20361 * io/symlink.c: Likewise.
20362 * io/symlinkat.c: Likewise.
20363 * io/ttyname.c: Likewise.
20364 * io/ttyname_r.c: Likewise.
20365 * io/umask.c: Likewise.
20366 * io/unlink.c: Likewise.
20367 * io/unlinkat.c: Likewise.
20368 * io/utime.c: Likewise.
20369 * io/utimensat.c: Likewise.
20370 * io/write.c: Likewise.
20371 * io/xmknod.c: Likewise.
20372 * io/xmknodat.c: Likewise.
20373 * io/xstat.c: Likewise.
20374 * io/xstat64.c: Likewise.
20375 * login/getpt.c: Likewise.
20376 * login/grantpt.c: Likewise.
20377 * login/unlockpt.c: Likewise.
20378 * math/e_acoshl.c: Likewise.
20379 * math/e_acosl.c: Likewise.
20380 * math/e_asinl.c: Likewise.
20381 * math/e_atan2l.c: Likewise.
20382 * math/e_atanhl.c: Likewise.
20383 * math/e_coshl.c: Likewise.
20384 * math/e_expl.c: Likewise.
20385 * math/e_fmodl.c: Likewise.
20386 * math/e_gammal_r.c: Likewise.
20387 * math/e_hypotl.c: Likewise.
20388 * math/e_j0l.c: Likewise.
20389 * math/e_j1l.c: Likewise.
20390 * math/e_jnl.c: Likewise.
20391 * math/e_lgammal_r.c: Likewise.
20392 * math/e_log10l.c: Likewise.
20393 * math/e_log2l.c: Likewise.
20394 * math/e_logl.c: Likewise.
20395 * math/e_powl.c: Likewise.
20396 * math/e_rem_pio2l.c: Likewise.
20397 * math/e_sinhl.c: Likewise.
20398 * math/e_sqrtl.c: Likewise.
20399 * math/fclrexcpt.c: Likewise.
20400 * math/fedisblxcpt.c: Likewise.
20401 * math/feenablxcpt.c: Likewise.
20402 * math/fegetenv.c: Likewise.
20403 * math/fegetexcept.c: Likewise.
20404 * math/fegetround.c: Likewise.
20405 * math/feholdexcpt.c: Likewise.
20406 * math/fesetenv.c: Likewise.
20407 * math/fesetround.c: Likewise.
20408 * math/feupdateenv.c: Likewise.
20409 * math/fgetexcptflg.c: Likewise.
20410 * math/fraiseexcpt.c: Likewise.
20411 * math/fsetexcptflg.c: Likewise.
20412 * math/ftestexcept.c: Likewise.
20413 * math/k_cosl.c: Likewise.
20414 * math/k_rem_pio2l.c: Likewise.
20415 * math/k_sinl.c: Likewise.
20416 * math/k_tanl.c: Likewise.
20417 * math/s_asinhl.c: Likewise.
20418 * math/s_atanl.c: Likewise.
20419 * math/s_cbrtl.c: Likewise.
20420 * math/s_erfl.c: Likewise.
20421 * math/s_expm1l.c: Likewise.
20422 * math/s_log1pl.c: Likewise.
20423 * math/s_tanhl.c: Likewise.
20424 * misc/acct.c: Likewise.
20425 * misc/brk.c: Likewise.
20426 * misc/chflags.c: Likewise.
20427 * misc/chroot.c: Likewise.
20428 * misc/fchflags.c: Likewise.
20429 * misc/fgetxattr.c: Likewise.
20430 * misc/flistxattr.c: Likewise.
20431 * misc/fremovexattr.c: Likewise.
20432 * misc/fsetxattr.c: Likewise.
20433 * misc/fsync.c: Likewise.
20434 * misc/ftruncate.c: Likewise.
20435 * misc/futimes.c: Likewise.
20436 * misc/futimesat.c: Likewise.
20437 * misc/getdomain.c: Likewise.
20438 * misc/getdtsz.c: Likewise.
20439 * misc/gethostid.c: Likewise.
20440 * misc/gethostname.c: Likewise.
20441 * misc/getloadavg.c: Likewise.
20442 * misc/getpagesize.c: Likewise.
20443 * misc/getsysstats.c: Likewise.
20444 * misc/getxattr.c: Likewise.
20445 * misc/gtty.c: Likewise.
20446 * misc/ioctl.c: Likewise.
20447 * misc/lgetxattr.c: Likewise.
20448 * misc/listxattr.c: Likewise.
20449 * misc/llistxattr.c: Likewise.
20450 * misc/lremovexattr.c: Likewise.
20451 * misc/lsetxattr.c: Likewise.
20452 * misc/lutimes.c: Likewise.
20453 * misc/madvise.c: Likewise.
20454 * misc/mincore.c: Likewise.
20455 * misc/mlock.c: Likewise.
20456 * misc/mlockall.c: Likewise.
20457 * misc/mmap.c: Likewise.
20458 * misc/mprotect.c: Likewise.
20459 * misc/msync.c: Likewise.
20460 * misc/munlock.c: Likewise.
20461 * misc/munlockall.c: Likewise.
20462 * misc/munmap.c: Likewise.
20463 * misc/preadv.c: Likewise.
20464 * misc/preadv64.c: Likewise.
20465 * misc/ptrace.c: Likewise.
20466 * misc/pwritev.c: Likewise.
20467 * misc/pwritev64.c: Likewise.
20468 * misc/readv.c: Likewise.
20469 * misc/reboot.c: Likewise.
20470 * misc/remap_file_pages.c: Likewise.
20471 * misc/removexattr.c: Likewise.
20472 * misc/revoke.c: Likewise.
20473 * misc/select.c: Likewise.
20474 * misc/setdomain.c: Likewise.
20475 * misc/setegid.c: Likewise.
20476 * misc/seteuid.c: Likewise.
20477 * misc/sethostid.c: Likewise.
20478 * misc/sethostname.c: Likewise.
20479 * misc/setregid.c: Likewise.
20480 * misc/setreuid.c: Likewise.
20481 * misc/setxattr.c: Likewise.
20482 * misc/sstk.c: Likewise.
20483 * misc/stty.c: Likewise.
20484 * misc/swapoff.c: Likewise.
20485 * misc/swapon.c: Likewise.
20486 * misc/sync.c: Likewise.
20487 * misc/syncfs.c: Likewise.
20488 * misc/syscall.c: Likewise.
20489 * misc/truncate.c: Likewise.
20490 * misc/ualarm.c: Likewise.
20491 * misc/usleep.c: Likewise.
20492 * misc/ustat.c: Likewise.
20493 * misc/utimes.c: Likewise.
20494 * misc/vhangup.c: Likewise.
20495 * misc/writev.c: Likewise.
20496 * posix/_exit.c: Likewise.
20497 * posix/alarm.c: Likewise.
20498 * posix/execve.c: Likewise.
20499 * posix/fexecve.c: Likewise.
20500 * posix/fork.c: Likewise.
20501 * posix/fpathconf.c: Likewise.
20502 * posix/getaddrinfo.c: Likewise.
20503 * posix/getegid.c: Likewise.
20504 * posix/geteuid.c: Likewise.
20505 * posix/getgid.c: Likewise.
20506 * posix/getgroups.c: Likewise.
20507 * posix/getlogin.c: Likewise.
20508 * posix/getlogin_r.c: Likewise.
20509 * posix/getpgid.c: Likewise.
20510 * posix/getpid.c: Likewise.
20511 * posix/getppid.c: Likewise.
20512 * posix/getresgid.c: Likewise.
20513 * posix/getresuid.c: Likewise.
20514 * posix/getsid.c: Likewise.
20515 * posix/getuid.c: Likewise.
20516 * posix/glob64.c: Likewise.
20517 * posix/nanosleep.c: Likewise.
20518 * posix/pathconf.c: Likewise.
20519 * posix/pause.c: Likewise.
20520 * posix/posix_madvise.c: Likewise.
20521 * posix/pread.c: Likewise.
20522 * posix/pread64.c: Likewise.
20523 * posix/pwrite.c: Likewise.
20524 * posix/pwrite64.c: Likewise.
20525 * posix/sched_getaffinity.c: Likewise.
20526 * posix/sched_getp.c: Likewise.
20527 * posix/sched_gets.c: Likewise.
20528 * posix/sched_primax.c: Likewise.
20529 * posix/sched_primin.c: Likewise.
20530 * posix/sched_rr_gi.c: Likewise.
20531 * posix/sched_setaffinity.c: Likewise.
20532 * posix/sched_setp.c: Likewise.
20533 * posix/sched_sets.c: Likewise.
20534 * posix/sched_yield.c: Likewise.
20535 * posix/setgid.c: Likewise.
20536 * posix/setlogin.c: Likewise.
20537 * posix/setpgid.c: Likewise.
20538 * posix/setresgid.c: Likewise.
20539 * posix/setresuid.c: Likewise.
20540 * posix/setsid.c: Likewise.
20541 * posix/setuid.c: Likewise.
20542 * posix/sleep.c: Likewise.
20543 * posix/spawni.c: Likewise.
20544 * posix/sysconf.c: Likewise.
20545 * posix/times.c: Likewise.
20546 * posix/wait.c: Likewise.
20547 * posix/wait3.c: Likewise.
20548 * posix/wait4.c: Likewise.
20549 * posix/waitpid.c: Likewise.
20550 * resolv/gai_sigqueue.c: Likewise.
20551 * resource/getpriority.c: Likewise.
20552 * resource/getrlimit.c: Likewise.
20553 * resource/getrusage.c: Likewise.
20554 * resource/nice.c: Likewise.
20555 * resource/setpriority.c: Likewise.
20556 * resource/setrlimit.c: Likewise.
20557 * resource/ulimit.c: Likewise.
20558 * rt/aio_cancel.c: Likewise.
20559 * rt/aio_fsync.c: Likewise.
20560 * rt/aio_read.c: Likewise.
20561 * rt/aio_sigqueue.c: Likewise.
20562 * rt/aio_suspend.c: Likewise.
20563 * rt/aio_write.c: Likewise.
20564 * rt/clock_getres.c: Likewise.
20565 * rt/clock_gettime.c: Likewise.
20566 * rt/clock_nanosleep.c: Likewise.
20567 * rt/clock_settime.c: Likewise.
20568 * rt/lio_listio.c: Likewise.
20569 * rt/mq_close.c: Likewise.
20570 * rt/mq_getattr.c: Likewise.
20571 * rt/mq_notify.c: Likewise.
20572 * rt/mq_open.c: Likewise.
20573 * rt/mq_receive.c: Likewise.
20574 * rt/mq_send.c: Likewise.
20575 * rt/mq_setattr.c: Likewise.
20576 * rt/mq_timedreceive.c: Likewise.
20577 * rt/mq_timedsend.c: Likewise.
20578 * rt/mq_unlink.c: Likewise.
20579 * rt/shm_open.c: Likewise.
20580 * rt/shm_unlink.c: Likewise.
20581 * rt/timer_create.c: Likewise.
20582 * rt/timer_delete.c: Likewise.
20583 * rt/timer_getoverr.c: Likewise.
20584 * rt/timer_gettime.c: Likewise.
20585 * rt/timer_settime.c: Likewise.
20586 * setjmp/__longjmp.c: Likewise.
20587 * setjmp/setjmp.c: Likewise.
20588 * signal/kill.c: Likewise.
20589 * signal/killpg.c: Likewise.
20590 * signal/raise.c: Likewise.
20591 * signal/sigaction.c: Likewise.
20592 * signal/sigaltstack.c: Likewise.
20593 * signal/sigblock.c: Likewise.
20594 * signal/sigignore.c: Likewise.
20595 * signal/sigintr.c: Likewise.
20596 * signal/signal.c: Likewise.
20597 * signal/sigpause.c: Likewise.
20598 * signal/sigpending.c: Likewise.
20599 * signal/sigqueue.c: Likewise.
20600 * signal/sigreturn.c: Likewise.
20601 * signal/sigset.c: Likewise.
20602 * signal/sigsetmask.c: Likewise.
20603 * signal/sigstack.c: Likewise.
20604 * signal/sigsuspend.c: Likewise.
20605 * signal/sigtimedwait.c: Likewise.
20606 * signal/sigvec.c: Likewise.
20607 * signal/sigwait.c: Likewise.
20608 * signal/sigwaitinfo.c: Likewise.
20609 * signal/sysv_signal.c: Likewise.
20610 * socket/accept.c: Likewise.
20611 * socket/accept4.c: Likewise.
20612 * socket/bind.c: Likewise.
20613 * socket/connect.c: Likewise.
20614 * socket/getpeername.c: Likewise.
20615 * socket/getsockname.c: Likewise.
20616 * socket/getsockopt.c: Likewise.
20617 * socket/isfdtype.c: Likewise.
20618 * socket/listen.c: Likewise.
20619 * socket/recv.c: Likewise.
20620 * socket/recvfrom.c: Likewise.
20621 * socket/recvmsg.c: Likewise.
20622 * socket/send.c: Likewise.
20623 * socket/sendmsg.c: Likewise.
20624 * socket/sendto.c: Likewise.
20625 * socket/setsockopt.c: Likewise.
20626 * socket/shutdown.c: Likewise.
20627 * socket/sockatmark.c: Likewise.
20628 * socket/socket.c: Likewise.
20629 * socket/socketpair.c: Likewise.
20630 * stdio-common/ctermid.c: Likewise.
20631 * stdio-common/cuserid.c: Likewise.
20632 * stdio-common/remove.c: Likewise.
20633 * stdio-common/rename.c: Likewise.
20634 * stdio-common/renameat.c: Likewise.
20635 * stdio-common/tempname.c: Likewise.
20636 * stdlib/getcontext.c: Likewise.
20637 * stdlib/makecontext.c: Likewise.
20638 * stdlib/setcontext.c: Likewise.
20639 * stdlib/swapcontext.c: Likewise.
20640 * stdlib/system.c: Likewise.
20641 * streams/fattach.c: Likewise.
20642 * streams/fdetach.c: Likewise.
20643 * streams/getmsg.c: Likewise.
20644 * streams/getpmsg.c: Likewise.
20645 * streams/putmsg.c: Likewise.
20646 * streams/putpmsg.c: Likewise.
20647 * sysdeps/unix/bsd/getpt.c: Likewise.
20648 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20649 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20650 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20653 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20654 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20655 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20656 * sysvipc/msgctl.c: Likewise.
20657 * sysvipc/msgget.c: Likewise.
20658 * sysvipc/msgrcv.c: Likewise.
20659 * sysvipc/msgsnd.c: Likewise.
20660 * sysvipc/semctl.c: Likewise.
20661 * sysvipc/semget.c: Likewise.
20662 * sysvipc/semop.c: Likewise.
20663 * sysvipc/semtimedop.c: Likewise.
20664 * sysvipc/shmat.c: Likewise.
20665 * sysvipc/shmctl.c: Likewise.
20666 * sysvipc/shmdt.c: Likewise.
20667 * sysvipc/shmget.c: Likewise.
20668 * termios/tcdrain.c: Likewise.
20669 * termios/tcflow.c: Likewise.
20670 * termios/tcflush.c: Likewise.
20671 * termios/tcgetattr.c: Likewise.
20672 * termios/tcgetpgrp.c: Likewise.
20673 * termios/tcsendbrk.c: Likewise.
20674 * termios/tcsetattr.c: Likewise.
20675 * termios/tcsetpgrp.c: Likewise.
20676 * time/adjtime.c: Likewise.
20677 * time/clock.c: Likewise.
20678 * time/getitimer.c: Likewise.
20679 * time/gettimeofday.c: Likewise.
20680 * time/setitimer.c: Likewise.
20681 * time/settimeofday.c: Likewise.
20682 * time/stime.c: Likewise.
20683 * time/time.c: Likewise.
20685 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
20687 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20690 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20692 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20694 2012-11-03 Joseph Myers <joseph@codesourcery.com>
20697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20698 FE_TONEAREST before applying Dekker multiplication and Knuth
20699 addition. Clear inexact exceptions and check for exact zero
20700 results afterwards.
20701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20702 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20703 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20704 * math/libm-test.inc (fma_test): Add more tests.
20705 (fma_test_towardzero): Likewise.
20706 (fma_test_downward): Likewise.
20707 (fma_test_upward): Likewise.
20708 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20710 (libc_fesetround): New macro.
20711 (libc_fesetroundf): Likewise.
20712 (libc_fesetroundl): Likewise.
20713 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20715 (libc_fesetround_387): Likewise.
20716 (libc_fesetroundf): New macro.
20717 (libc_fesetround): Likewise.
20718 (libc_fesetroundl): Likewise.
20719 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20721 (libc_fesetroundf): New macro.
20722 (libc_fesetround): Likewise.
20723 (libc_fesetroundl): Likewise.
20724 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20725 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20726 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20728 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20729 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20731 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20732 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20734 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20738 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20739 integer constant usable in #if and use that to give value to enum
20741 (FE_DIVBYZERO): Likewise.
20742 (FE_UNDERFLOW): Likewise.
20743 (FE_OVERFLOW): Likewise.
20744 (FE_INVALID): Likewise.
20745 (FE_INVALID_SNAN): Likewise.
20746 (FE_INVALID_ISI): Likewise.
20747 (FE_INVALID_IDI): Likewise.
20748 (FE_INVALID_ZDZ): Likewise.
20749 (FE_INVALID_IMZ): Likewise.
20750 (FE_INVALID_COMPARE): Likewise.
20751 (FE_INVALID_SOFTWARE): Likewise.
20752 (FE_INVALID_SQRT): Likewise.
20753 (FE_INVALID_INTEGER_CONVERSION): Likewise.
20754 (FE_TONEAREST): Likewise.
20755 (FE_TOWARDZERO): Likewise.
20756 (FE_UPWARD): Likewise.
20757 (FE_DOWNWARD): Likewise.
20758 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20759 (FE_DIVBYZERO): Likewise.
20760 (FE_OVERFLOW): Likewise.
20761 (FE_UNDERFLOW): Likewise.
20762 (FE_INEXACT): Likewise.
20763 (FE_TONEAREST): Likewise.
20764 (FE_DOWNWARD): Likewise.
20765 (FE_UPWARD): Likewise.
20766 (FE_TOWARDZERO): Likewise.
20767 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20768 (FE_UNDERFLOW): Likewise.
20769 (FE_OVERFLOW): Likewise.
20770 (FE_DIVBYZERO): Likewise.
20771 (FE_INVALID): Likewise.
20772 (FE_TONEAREST): Likewise.
20773 (FE_TOWARDZERO): Likewise.
20774 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20775 (FE_OVERFLOW): Likewise.
20776 (FE_UNDERFLOW): Likewise.
20777 (FE_DIVBYZERO): Likewise.
20778 (FE_INEXACT): Likewise.
20779 (FE_TONEAREST): Likewise.
20780 (FE_TOWARDZERO): Likewise.
20781 (FE_UPWARD): Likewise.
20782 (FE_DOWNWARD): Likewise.
20783 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20784 (FE_DIVBYZERO): Likewise.
20785 (FE_OVERFLOW): Likewise.
20786 (FE_UNDERFLOW): Likewise.
20787 (FE_INEXACT): Likewise.
20788 (FE_TONEAREST): Likewise.
20789 (FE_DOWNWARD): Likewise.
20790 (FE_UPWARD): Likewise.
20791 (FE_TOWARDZERO): Likewise.
20793 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
20795 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20797 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
20799 * scripts/cross-test-ssh.sh (command): Use newlines to separate
20800 commands. Quote $PWD.
20801 (blacklist_exports): Don't use remove_newlines. Replace "declare
20803 (remove_newlines): Remove.
20805 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
20807 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20808 * stdlib/stdlib.h (atof): Moved to ...
20809 * include/bits/stdlib-float.h: Here. New file.
20810 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20811 * stdlib/bits/stdlib-float.h: New file.
20812 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20814 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20817 2012-11-02 Joseph Myers <joseph@codesourcery.com>
20819 * conform/conformtest.pl (@headers): Add fenv.h.
20820 * conform/data/fenv.h-data: New file.
20821 * include/fenv.h [_ISOMAC]: Disable all contents of file except
20822 include of <math/fenv.h>.
20824 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20825 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20826 && !UNIX98]. Enables tests for XOPEN2K8.
20827 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20828 POSIX2008]: Likewise.
20830 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20831 (struct rusage): Do not expect type or its members.
20834 * math/math.h (FP_NAN): Define macro to integer constant usable in
20835 #if and use that to give value to enum constant.
20836 (FP_INFINITE): Likewise.
20837 (FP_ZERO): Likewise.
20838 (FP_SUBNORMAL): Likewise.
20839 (FP_NORMAL): Likewise.
20841 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
20843 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20844 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20847 2012-11-02 Roland McGrath <roland@hack.frob.com>
20849 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20850 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20851 autoconf-time if not.
20852 * configure.in: Remove AC_PREREQ.
20854 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20856 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20857 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20858 of the internal implementation.
20860 2012-11-02 Joseph Myers <joseph@codesourcery.com>
20862 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20863 except include of <misc/sys/syslog.h>.
20865 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20868 function returns with a NULL context exit with zero.
20870 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20872 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20874 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
20876 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20877 (run_program_cmd): This.
20878 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20879 (tst_langinfo): New variable. Use it.
20881 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
20883 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20884 floating point opcodes.
20886 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20888 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20891 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20893 * sysdeps/mach/hurd/powerpc: Remove directory.
20894 * sysdeps/mach/powerpc: Likewise.
20896 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20898 * scripts/check-local-headers.sh: Ignore c++ headers.
20900 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20902 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20903 __libc_cleanup_region_start argument.
20905 2012-11-01 Joseph Myers <joseph@codesourcery.com>
20909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20910 x * y using scaling, not as x * y + z.
20911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20913 * math/libm-test.inc (fma_test): Add more tests.
20914 (fma_test_towardzero): Likewise.
20915 (fma_test_downward): Likewise.
20916 (fma_test_upward): Likewise.
20918 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20920 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20922 2012-10-31 Joseph Myers <joseph@codesourcery.com>
20924 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
20927 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
20929 * rt/tst-shm.c (worker): Correct checking for mmap failure.
20931 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20938 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20941 Fix the order of the list for glibc 2.17.
20942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20945 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20949 2012-10-31 Joseph Myers <joseph@codesourcery.com>
20952 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
20953 for low part of x being zero before using __atanl (y).
20954 * math/libm-test.inc (atan2_test): Add another test.
20956 * manual/install.texi (Configuring and compiling): Document
20957 general use of test-wrapper and test-wrapper-env.
20958 * INSTALL: Regenerated.
20960 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
20961 (__fma): Do not extract and scale down low bits on after-rounding
20962 systems when result rounded to normal precision would have normal
20964 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
20965 (__fmal): Do not extract and scale down low bits on after-rounding
20966 systems when result rounded to normal precision would have normal
20968 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
20969 (__fmal): Do not extract and scale down low bits on after-rounding
20970 systems when result rounded to normal precision would have normal
20972 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
20974 (fma_test): Add more tests.
20975 (fma_test_towardzero): Likewise.
20976 (fma_test_downward): Likewise.
20977 (fma_test_upward): Likewise.
20979 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
20981 * sysdeps/i386/tininess.h: Renamed to ...
20982 * sysdeps/x86/tininess.h: This.
20983 * sysdeps/x86_64/tininess.h: Removed.
20985 2012-10-30 Joseph Myers <joseph@codesourcery.com>
20987 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
20988 input. Use $(build-program-cmd).
20989 ($(objpfx)tst-array1-static.out): Likewise.
20990 ($(objpfx)tst-array2.out): Likewise.
20991 ($(objpfx)tst-array3.out): Likewise.
20992 ($(objpfx)tst-array4.out): Likewise.
20993 ($(objpfx)tst-array5.out): Likewise.
20994 ($(objpfx)tst-array5-static.out): Likewise.
20996 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
20998 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21001 * nss/nsswitch.h (nss_interface_function): Provide new
21002 macro for use with NSS functions.
21003 * grp/initgroups.c: Use new macro.
21004 * nss/getXXbyYY.c: Likewise.
21005 * nss/getXXbyYY_r.c: Likewise.
21006 * nss/getXXent.c: Likewise.
21007 * nss/getXXent_r.c: Likewise.
21008 * sysdeps/posix/getaddrinfo.c: Likewise.
21010 2012-10-30 Andreas Jaeger <aj@suse.de>
21012 * po/ru.po: Update Russion translation from translation project.
21014 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21019 result and shift together with sticky bit instead of replicating
21020 round-to-nearest rounding.
21021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21022 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21023 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21024 missing underflow exceptions.
21025 (fma_test_towardzero): Add more tests.
21026 (fma_test_downward): Likewise.
21027 (fma_test_upward): Likewise.
21030 * sysdeps/generic/tininess.h: New file.
21031 * sysdeps/i386/tininess.h: Likewise.
21032 * sysdeps/sh/tininess.h: Likewise.
21033 * sysdeps/x86_64/tininess.h: Likewise.
21034 * stdlib/tst-strtod-underflow.c: Likewise.
21035 * stdlib/tst-tininess.c: Likewise.
21036 * stdlib/strtod_l.c: Include <tininess.h>.
21037 (round_and_return): Do not set errno for exact underflow cases.
21038 Force an underflow exception when setting errno for underflow.
21039 Determine underflow based on rounding to normal precision if
21040 TININESS_AFTER_ROUNDING.
21041 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21042 ERANGE for exact underflow cases.
21043 * stdlib/Makefile (tests): Add tst-tininess and
21044 tst-strtod-underflow.
21045 ($(objpfx)tst-tininess): Use $(link-libm).
21046 ($(objpfx)tst-strtod-underflow): Likewise.
21048 2012-10-30 Andreas Jaeger <aj@suse.de>
21051 * elf/Makefile (tests): Remove conditional for have-initfini-array
21052 since this is now always required and the variable does not exist
21054 (tests-static): Likewise.
21055 (modules-names): Likewise.
21057 * po/eo.po: Add Esperanto translation from translation project.
21059 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21060 merged with constructor/destructor.
21061 (init_array): Likewise.
21062 * elf/tst-array2dep.c (fini_array): Likewise.
21063 (init_array): Likewise.
21065 2012-10-29 Mike Frysinger <vapier@gentoo.org>
21067 * manual/message.texi: Delete @cartouche tags.
21069 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21071 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21073 * sysdeps/mach/hurd/fsync.c: Likewise.
21075 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21076 [_POSIX_REALTIME_SIGNALS]: Change condition to
21077 [_POSIX_REALTIME_SIGNALS > 0].
21079 2012-10-27 Andreas Jaeger <aj@suse.de>
21081 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21082 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21084 [__WORDSIZE != 64]: Likewise.
21086 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21088 * iconvdata/tst-table.sh: Remove ${SHELL}.
21089 * iconvdata/tst-tables.sh: Likewise.
21091 2012-10-25 David S. Miller <davem@davemloft.net>
21093 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21094 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21099 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21100 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21101 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21104 2012-10-25 Roland McGrath <roland@hack.frob.com>
21106 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21107 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21110 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21111 Jim Blandy <jimb@codesourcery.com>
21113 * scripts/cross-test-ssh.sh: New file.
21114 * manual/install.texi (Configuring and compiling): Document use of
21116 * INSTALL: Regenerated.
21118 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21120 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21123 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21125 * Makeconfig (run-program-prefix): Fix comment.
21127 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21128 Jim Blandy <jimb@codesourcery.com>
21130 * Makeconfig (test-wrapper): New variable,
21131 (test-wrapper-env): Likewise.
21132 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21133 (run-built-tests): Define to yes.
21134 (run-program-prefix): Use $(test-wrapper).
21135 (built-program-cmd): Likewise.
21136 * Rules (make-test-out): Use $(test-wrapper-env) and
21137 $(host-built-program-cmd).
21138 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21139 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21141 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21142 $(test-wrapper-env) to tst-rtld-load-self.sh.
21143 ($(objpfx)order2.out): Use $(test-wrapper).
21144 ($(objpfx)tst-initorder.out): Likewise.
21145 ($(objpfx)tst-initorder2.out): Likewise.
21146 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21147 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21148 (test_wrapper_env): New variable. Use it to run ld.so.
21149 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21150 Use it to run ld.so.
21151 (test_wrapper_env): Likewise.
21152 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21153 $(test-wrapper) to run-iconv-test.sh.
21154 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21155 (ICONV): Use $test_wrapper.
21156 * posix/Makefile ($(objpfx)globtest.out): Pass
21157 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21158 globtest.sh, not $(run-program-prefix).
21159 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21160 (test_wrapper): Likewise.
21161 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21162 set together with run_via_rtld_prefix.
21163 (run_program_prefix): Define in terms of test_wrapper and
21164 run_via_rtld_prefix.
21166 2012-10-24 Roland McGrath <roland@hack.frob.com>
21168 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21169 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21173 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21174 Declare __clock_getres, __clock_gettime, __clock_settime,
21175 __clock_nanosleep, and __clock_getcpuclockid.
21176 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21177 Remove librt_hidden_def (clock_gettime).
21178 * sysdeps/unix/clock_gettime.c: Likewise.
21179 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21180 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21181 * rt/clock_getres.c: Define __clock_getres as an alias.
21182 * sysdeps/posix/clock_getres.c: Likewise.
21183 * rt/clock_settime.c: Define __clock_settime as an alias.
21184 * sysdeps/unix/clock_settime.c: Likewise.
21185 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21186 * sysdeps/unix/clock_nanosleep.c: Likewise.
21187 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21188 * rt/clock-compat.c: New file.
21189 * rt/Makefile (librt-routines): Add clock-compat and move
21190 $(clock-routines) to ...
21191 (routines): ... here, new variable.
21192 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21193 Don't add get_clockfreq here.
21194 * rt/Versions (libc: GLIBC_2.17): New version set.
21195 Add clock_* symbols here.
21196 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21198 (GLIBC_2.17): Add clock_* symbols.
21199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21201 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21210 * NEWS: Mention the move.
21212 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21213 Use __open, __read, __close rather than their public counterparts.
21214 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21215 (__get_clockfreq_via_cpuinfo): Likewise.
21216 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21217 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21219 * config.h.in (HAVE_IFUNC): New #undef.
21220 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21222 * configure: Regenerated.
21224 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21226 * configure.in: Move READELF check to start of file.
21227 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21228 libc_cv_asm_gnu_indirect_function in the process.
21229 * configure: Regenerated.
21231 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21233 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21234 send the output to /dev/null.
21235 (libc_cv_cc_with_libunwind): Likewise.
21236 (libc_cv_as_noexecstack): Likewise.
21237 * configure: Regenerate.
21239 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21241 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21243 * posix/globtest.sh (TMPDIR): Do not set.
21244 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21245 (testout): Likewise.
21247 2012-10-24 Andreas Jaeger <aj@suse.de>
21249 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21250 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21251 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21252 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21253 posix_fadvise64, posix_fallocate64.
21255 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21256 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21257 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21259 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21261 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21264 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21265 <bits/fcntl-linux.h>.
21266 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21269 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21270 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21271 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21272 [__WORDSIZE != 64]: Likewise.
21274 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21276 * Makeconfig (run-built-tests): New variable.
21277 * Rules [$(cross-compiling) = yes]: Change condition to
21278 [$(run-built-tests) = no].
21279 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21280 to [$(run-built-tests) = yes].
21281 * elf/Makefile [$(cross-compiling) = no]: Likewise
21282 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21283 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21284 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21285 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21286 * io/Makefile [$(cross-compiling) = no]: Likewise.
21287 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21288 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21289 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21290 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21291 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21292 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21293 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21294 * string/Makefile [$(cross-compiling) = no]: Likewise.
21296 * posix/Makefile ($(objpfx)globtest.out): Pass
21297 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21298 $(rtld-installed-name).
21299 * posix/globtest.sh (elf_objpfx): Remove variable.
21300 (rtld_installed_name): Likewise.
21301 (library_path): Likewise.
21302 (run_program_prefix): New variable. Use for running globtest
21305 2012-10-23 Jim Blandy <jimb@codesourcery.com>
21306 Joseph Myers <joseph@codesourcery.com>
21308 * Makeconfig (host-built-program-cmd): New variable.
21309 * elf/Makefile (tst-stackguard1-ARGS): Use
21310 $(host-built-program-cmd).
21311 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21312 (tst-spawn-ARGS): Likewise.
21313 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21315 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21316 Jim Blandy <jimb@codesourcery.com>
21318 * Makeconfig (run-via-rtld-prefix): New variable.
21319 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21320 (built-program-cmd): Likewise.
21322 2012-10-22 Andreas Jaeger <aj@suse.de>
21324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21325 __O_RSYNC if it exists, otherwise to O_SYNC.
21327 2012-10-22 Jim Blandy <jimb@codesourcery.com>
21328 Joseph Myers <joseph@codesourcery.com>
21330 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21332 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21334 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21337 2012-10-22 Andreas Jaeger <aj@suse.de>
21339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21344 bits/fcntl-linux.h.
21346 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21347 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21354 2012-10-21 Jim Blandy <jimb@codesourcery.com>
21355 Joseph Myers <joseph@codesourcery.com>
21357 * config.make.in (NM): New variable.
21359 2012-10-21 Andreas Jaeger <aj@suse.de>
21361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21362 definitions and declarations that are provided by
21363 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21365 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21368 * elf/Makefile (tests-static): Add tst-leaks1-static.
21369 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21370 ($(objpfx)tst-leaks1-static): New rule.
21371 ($(objpfx)tst-leaks1-static-mem): Likewise.
21372 (tst-leaks1-static-ENV): New macro.
21373 * elf/dl-open.c (dl_open_worker): Check the main application
21374 only if SHARED is defined.
21375 * elf/tst-leaks1-static.c: New file.
21377 2012-10-20 Andreas Jaeger <aj@suse.de>
21379 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21380 generic values for Linux.
21381 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21382 and declarations that are provided by <bits/fcntl-linux.h> and
21383 include <bits/fcntl-linux.h>.
21384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21387 2012-10-20 Roland McGrath <roland@hack.frob.com>
21389 * io/fcntl.h: Move include of <bits/types.h> to the top and
21390 include it unconditionally.
21392 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21394 * wcsmbs/Makefile (tests-ifunc): New variable.
21395 (tests): Add $(tests-ifunc).
21396 * wcsmbs/test-wcschr-ifunc.c: New file.
21397 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21398 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21399 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21400 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21401 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21403 * string/Makefile (tests-ifunc): New variable.
21404 (tests): Add $(tests-ifunc).
21405 * string/test-memccpy.c (TEST_NAME): New macro.
21406 * string/test-memchr.c (TEST_NAME): Likewise.
21407 * string/test-memcmp.c (TEST_NAME): Likewise.
21408 * string/test-memcpy.c (TEST_NAME): Likewise.
21409 * string/test-memmem.c (TEST_NAME): Likewise.
21410 * string/test-memmove.c (TEST_NAME): Likewise.
21411 * string/test-memset.c (TEST_NAME): Likewise.
21412 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21413 * string/test-stpcpy.c (TEST_NAME): Likewise.
21414 * string/test-stpncpy.c (TEST_NAME): Likewise.
21415 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21416 * string/test-strcasestr.c (TEST_NAME): Likewise.
21417 * string/test-strcat.c (TEST_NAME): Likewise.
21418 * string/test-strchr.c (TEST_NAME): Likewise.
21419 * string/test-strcmp.c(TEST_NAME): Likewise.
21420 * string/test-strcpy.c (TEST_NAME): Likewise.
21421 * string/test-strcspn.c (TEST_NAME): Likewise.
21422 * string/test-strlen.c (TEST_NAME): Likewise.
21423 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21424 * string/test-strncmp.c (TEST_NAME): Likewise.
21425 * string/test-strncpy.c (TEST_NAME): Likewise.
21426 * string/test-strnlen.c (TEST_NAME): Likewise.
21427 * string/test-strpbrk.c (TEST_NAME): Likewise.
21428 * string/test-strrchr.c (TEST_NAME): Likewise.
21429 * string/test-strspn.c (TEST_NAME): Likewise.
21430 * string/test-strstr.c (TEST_NAME): Likewise.
21431 * string/test-bcopy-ifunc.c: New file.
21432 * string/test-bzero-ifunc.c: Likewise.
21433 * string/test-memccpy-ifunc.c: Likewise.
21434 * string/test-memchr-ifunc.c: Likewise.
21435 * string/test-memcmp-ifunc.c: Likewise.
21436 * string/test-memcpy-ifunc.c: Likewise.
21437 * string/test-memmem-ifunc.c: Likewise.
21438 * string/test-memmove-ifunc.c: Likewise.
21439 * string/test-mempcpy-ifunc.c: Likewise.
21440 * string/test-memset-ifunc.c: Likewise.
21441 * string/test-rawmemchr-ifunc.c: Likewise.
21442 * string/test-stpcpy-ifunc.c: Likewise.
21443 * string/test-stpncpy-ifunc.c: Likewise.
21444 * string/test-strcasecmp-ifunc.c: Likewise.
21445 * string/test-strcasestr-ifunc.c: Likewise.
21446 * string/test-strcat-ifunc.c: Likewise.
21447 * string/test-strchr-ifunc.c: Likewise.
21448 * string/test-strchrnul-ifunc.c: Likewise.
21449 * string/test-strcmp-ifunc.c: Likewise.
21450 * string/test-strcpy-ifunc.c: Likewise.
21451 * string/test-strcspn-ifunc.c: Likewise.
21452 * string/test-strlen-ifunc.c: Likewise.
21453 * string/test-strncasecmp-ifunc.c: Likewise.
21454 * string/test-strncat-ifunc.c: Likewise.
21455 * string/test-strncmp-ifunc.c: Likewise.
21456 * string/test-strncpy-ifunc.c: Likewise.
21457 * string/test-strnlen-ifunc.c: Likewise.
21458 * string/test-strpbrk-ifunc.c: Likewise.
21459 * string/test-strrchr-ifunc.c: Likewise.
21460 * string/test-strspn-ifunc.c: Likewise.
21461 * string/test-strstr-ifunc.c: Likewise.
21463 * debug/Makefile (tests-ifunc): New variable.
21464 (tests): Add $(tests-ifunc).
21465 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21466 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21467 * debug/test-stpcpy_chk-ifunc.c: New file.
21468 * debug/test-strcpy_chk-ifunc.c: Likewise.
21470 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21473 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21474 header is not read in.
21476 2012-10-19 Joseph Myers <joseph@codesourcery.com>
21478 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21479 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21480 directly. Pass built executable to script as
21481 $(built-program-cmd).
21482 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21483 $testprogram without using LD_LIBRARY_PATH and $ldso.
21485 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21486 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21487 $(rtld-installed-name).
21488 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21489 (rtld_installed_name): Likewise.
21490 (library_path): Likewise.
21491 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21492 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21493 $(run-program-prefix) to tst-tables.sh.
21494 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21495 it to run tst-table-from and tst-table-to.
21496 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21497 Pass it to tst-table.sh.
21498 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21499 $(run-program-prefix) to tst-gettext.sh.
21500 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21502 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21504 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21505 to run tst-gettext.
21506 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21507 to run tst-gettext2.
21508 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21509 to run tst-translit.
21510 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21511 $(run-program-prefix) to tst-mtrace.sh.
21512 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21514 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21515 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21516 $(rtld-installed-name).
21517 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21518 (rtld_installed_name): Likewise.
21519 (run_program_prefix): New variable. Use it to run wordexp-test.
21521 * Makeconfig (ARCH): Remove all definitions.
21522 (machine): Likewise.
21523 [ARCH]: Remove conditional code.
21524 [!objdir]: Give error.
21525 [!objdir] (objpfx): Remove.
21526 [!objdir] (common-objpfx): Likewise.
21527 [!objdir] (common-objdir): Likewise.
21528 * configure.in (config_makefile): Remove. Hardcode Makefile in
21529 AC_CONFIG_FILES call.
21530 * configure: Regenerated.
21533 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21535 (testout): Likewise.
21537 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21538 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21539 $(rtld-installed-name).
21540 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21541 (rtld_installed_name): Likwise.
21542 (runit): Remove function.
21543 (run_getconf): New variable, Use it for running getconf binary.
21545 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21548 * string/test-memmem.c (check_result): New function.
21549 (do_one_test): Use it.
21550 (check1): New function.
21551 (test_main): Use it.
21553 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21555 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21557 2012-10-18 Joseph Myers <joseph@codesourcery.com>
21559 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21560 (_G_LSEEK64): Likewise.
21561 (_G_MMAP64): Likewise.
21562 (_G_FSTAT64): Likewise.
21563 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21564 (_G_LSEEK64): Likewise.
21565 (_G_MMAP64): Likewise.
21566 (_G_FSTAT64): Likewise.
21567 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21568 unconditional. Call __mmap64 directly.
21569 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21570 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21571 __lseek64 directly.
21572 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21573 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21575 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21576 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21577 __lseek64 directly.
21578 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21579 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21580 __lseek64 directly.
21581 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21582 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21583 __lseek64 directly.
21584 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21585 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21586 __fxstat64 directly.
21587 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21588 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21590 (freopen64) [!_G_OPEN64]: Remove conditional code.
21591 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21593 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21594 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21596 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21597 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21599 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21600 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21602 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21603 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21605 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21606 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21608 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21609 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21611 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21613 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21616 * manual/memory.texi (Malloc Tunable Parameters): Add note
21617 about free list pointers overwriting some perturb bytes.
21618 Wording suggested by Roland McGrath.
21620 2012-10-17 Joseph Myers <joseph@codesourcery.com>
21622 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21623 (lgamma_test): Likewise.
21624 (tgamma_test): Likewise.
21626 2012-10-16 Florian Weimer <fweimer@redhat.com>
21629 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21630 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21632 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21634 * NEWS: Mention BZ #14716.
21635 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21636 when removing AVAILABLE1_USES_J macro.
21638 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21640 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21641 (__bswap_64): __uint64_t for unsigned 64-bit int.
21643 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21645 * include/string.h (memmem): Declare libc hidden alias.
21646 * string/memmem.c (memmem): Define libc hidden alias.
21647 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21648 __read, __close instead of open, read, close.
21650 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21653 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21655 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21656 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21657 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21659 (__rawmemchr_sse2): Likewise.
21660 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21661 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21662 (__strchr_sse2): Likewise.
21663 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21664 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21665 (__strcasecmp_sse2): Likewise.
21666 (__strncasecmp_sse2): Likewise.
21667 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21668 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21669 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21670 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21671 (__strrchr_sse2): Likewise.
21672 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21674 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21675 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21676 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21677 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21678 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21679 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21680 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21681 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21682 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21683 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21684 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21685 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21686 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21687 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21688 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21689 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21690 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21691 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21692 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21693 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21694 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21695 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21696 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21697 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21698 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21699 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21700 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21701 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21702 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21703 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21705 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21707 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21708 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21709 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21710 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21712 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21714 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21715 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21716 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21717 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21719 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21720 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21721 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21722 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21723 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21724 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21725 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21726 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21727 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21728 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21729 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21730 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21731 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21732 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21733 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21734 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21735 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21736 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21737 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21738 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21739 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21740 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21741 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21742 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21743 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21744 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21745 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21746 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21747 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21748 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21749 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21750 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21751 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21752 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21753 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21754 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21755 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21756 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21757 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21758 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21759 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21761 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21762 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21763 * include/ifunc-impl-list.h: New file.
21764 * misc/ifunc-impl-list.c: Likewise.
21765 * misc/Makefile (routines): Add ifunc-impl-list.
21766 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21767 * string/test-string.h: Include <ifunc-impl-list.h>.
21768 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21769 impl_array): New variables.
21770 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21772 (test_init): Call __libc_ifunc_impl_list to initialize
21773 func_list if TEST_IFUNC and TEST_NAME are defined.
21775 * string/Makefile (strop-tests): Add bcopy and bzero.
21776 * string/test-bcopy.c: New file.
21777 * string/test-bzero.c: Likewise.
21778 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21780 * string/test-memset.c: Support bzero test if TEST_BZERO is
21782 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21784 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21786 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21789 2012-10-10 Joseph Myers <joseph@codesourcery.com>
21791 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21792 * configure: Regenerated.
21794 * Makeconfig (+link-static-before-libc): Don't include
21795 $(link-static-libc).
21797 * libio/libio.h (_IO_pos_t): Remove.
21799 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21801 * NEWS: Add note about FIPS mode. Wording suggested by Roland
21804 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21806 * crypt/crypt-entry.c: Include fips-private.h.
21807 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21808 * crypt/md5c-test.c (main): Tolerate disabled MD5.
21809 * sysdeps/unix/sysv/linux/fips-private.h: New file.
21810 * sysdeps/generic/fips-private.h: New file, dummy fallback.
21812 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21814 * crypt/crypt-private.h: Include stdbool.h.
21815 (_ufc_setup_salt_r): Return bool.
21816 * crypt/crypt-entry.c: Include errno.h.
21817 (__crypt_r): Return NULL with EINVAL for bad salt.
21818 * crypt/crypt_util.c (bad_for_salt): New.
21819 (_ufc_setup_salt_r): Check that salt is long enough and within
21820 the specified alphabet.
21821 * crypt/badsalttest.c: New file.
21822 * crypt/Makefile (tests): Add it.
21823 ($(objpfx)badsalttest): New.
21825 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
21827 * NEWS: Add entry for BZ #14602.
21829 2012-10-09 Joseph Myers <joseph@codesourcery.com>
21831 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21833 * math/libm-test.inc: Update comment listing what functions and
21835 (isgreater_test): New function.
21836 (isgreaterequal_test): Likewise.
21837 (isless_test): Likewise.
21838 (islessequal_test): Likewise.
21839 (islessgreater_test): Likewise.
21840 (isunordered_test): Likewise.
21841 (main): Call the new functions.
21843 2012-10-09 Roland McGrath <roland@hack.frob.com>
21845 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21846 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21847 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21848 * sysdeps/i386/configure: Regenerated.
21849 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21850 * sysdeps/mach/configure: Regenerated.
21851 * sysdeps/mach/hurd/configure: Regenerated.
21852 * sysdeps/powerpc/configure: Regenerated.
21853 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21854 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21855 * sysdeps/s390/s390-32/configure: Regenerated.
21856 * sysdeps/s390/s390-64/configure: Regenerated.
21857 * sysdeps/sh/configure: Regenerated.
21858 * sysdeps/sparc/configure: Regenerated.
21859 * sysdeps/unix/sysv/linux/configure: Regenerated.
21860 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21861 * sysdeps/x86_64/configure: Regenerated.
21863 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21864 defined. Don't check if MAP is NULL.
21866 2012-10-09 Joseph Myers <joseph@codesourcery.com>
21868 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21869 (_G_stat64): Likewise.
21870 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21871 (_G_stat64): Likewise.
21872 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21873 instead of struct _G_stat64.
21874 * libio/fileops.c (mmap_remap_check): Likewise.
21875 (decide_maybe_mmap): Likewise.
21876 (_IO_new_file_seekoff): Likewise.
21877 (_IO_file_stat): Likewise.
21878 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21880 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21881 instead of struct _G_stat64.
21882 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21884 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
21887 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21889 (CHECK_EOL): New macro.
21890 (two_way_short_needle): Check beginning of haystack for EOL. Use
21892 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21893 Replace with CHECK_EOL.
21894 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21895 Replace with CHECK_EOL.
21897 2012-10-08 Joseph Myers <joseph@codesourcery.com>
21899 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21901 * math/libm-test.inc: Update comment listing what functions and
21903 (finite_test): New function.
21904 (isinf_test): Likewise.
21905 (isnan_test): Likewise.
21906 (fpclassify_test): Test subnormal input.
21907 (isfinite_test): Likewise.
21908 (isnormal_test): Likewise.
21909 (main): Call the new functions.
21911 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
21914 * Makerules (%.dynsym): Force C locale when running
21915 $(OBJDUMP) --dynamic-syms.
21917 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
21919 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21922 2012-10-06 David S. Miller <davem@davemloft.net>
21924 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
21925 upper 32-bits of the length value in %o2 since we use branch-on-register
21926 tests which consider the entire 64-bit register.
21928 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
21930 * string/test-strstr.c (check2): Add a test for page boundary.
21932 2012-10-05 David S. Miller <davem@davemloft.net>
21934 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
21935 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
21937 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21939 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21940 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
21941 and bzero when HWCAP_SPARC_CRYPTO is present.
21943 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
21946 * string/test-strstr.c (check2): New function.
21947 (test_main): Call check2.
21949 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
21951 * string/bug-strcasestr1.c (do_test): Moved to ...
21952 * string/test-strcasestr.c (check1): Here. New function.
21953 (do_one_test): Break out result checking code into ...
21954 (check_result): This. New function.
21955 (do_one_test): Call check_result.
21956 (test_main): Call check1.
21957 * string/bug-strchr1.c (do_test): Moved to ...
21958 * string/test-strchr.c (check1): Here. New function.
21959 (do_one_test): Break out result checking code into ...
21960 (check_result): This. New function.
21961 (do_one_test): Call check_result.
21962 (test_main): Call check1.
21963 * string/bug-strstr1.c (main): Moved to ...
21964 * string/test-strstr.c (check1): Here. New function.
21965 (do_one_test): Break out result checking code into ...
21966 (check_result): This. New function.
21967 (do_one_test): Call check_result.
21968 (test_main): Call check1.
21969 * string/bug-strcasestr1.c: Removed.
21970 * string/bug-strchr1.c: Likewise.
21971 * string/bug-strstr1.c: Likewise.
21973 * elf/Makefile (dl-routines): Add hwcaps.
21974 * elf/dl-support.c (_dl_important_hwcaps): Removed.
21975 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
21976 (_dl_important_hwcaps): Moved to ...
21977 * elf/dl-hwcaps.c: Here. New file.
21978 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
21981 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
21982 if IS_IN_rtld isn't defined.
21984 * elf/dl-support.c (_dl_sysinfo_map): New.
21985 Include "get-dynamic-info.h" and "setup-vdso.h".
21986 (_dl_non_dynamic_init): Call setup_vdso.
21987 * elf/dynamic-link.h: Don't include <assert.h>.
21988 (elf_get_dynamic_info): Moved to ...
21989 * elf/get-dynamic-info.h: Here. New file.
21990 * elf/dynamic-link.h: Include "get-dynamic-info.h".
21991 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
21992 * elf/setup-vdso.h: Here. New file.
21993 * elf/rtld.c: Include "setup-vdso.h".
21994 (dl_main): Call setup_vdso.
21996 2012-10-05 Joseph Myers <joseph@codesourcery.com>
21998 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
21999 creal in comment listing functions tested. List finite, isinf,
22000 isnan, isless, islessequal, isgreater, isgreaterequal,
22001 islessgreater, isunordered, lgamma_r and pow10 as functions and
22002 macros not tested. Mention which functions not tested are aliases
22003 for other functions. Fix typo. Note that signs of NaNs are not
22006 * scripts/config.guess: Update from config.git.
22007 * scripts/config.sub: Likewise.
22009 2012-10-04 Roland McGrath <roland@hack.frob.com>
22011 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22012 * misc/madvise.c (madvise): Renamed to __madvise.
22013 Make madvise a weak alias.
22014 * include/sys/mman.h: Declare __madvise.
22015 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22016 * sysdeps/unix/syscalls.list
22017 (madvise): Make __madvise the strong name, and madvise a weak alias.
22018 * sysdeps/unix/sysv/linux/syscalls.list
22019 (madvise, mmap): Remove redundant entries.
22020 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22021 * malloc/malloc.c (mtrim): Likewise.
22022 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22024 2012-10-03 Roland McGrath <roland@hack.frob.com>
22026 * sysdeps/mach/hurd/dl-cache.c: File removed.
22027 * config.h.in (USE_LDCONFIG): New #undef.
22028 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22029 * configure: Regenerated.
22030 * elf/Makefile (dl-routines): Add dl-cache only under
22031 [$(use-ldconfig) = yes].
22032 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22033 cache on [USE_LDCONFIG].
22034 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22036 * elf/rtld.c (dl_main): Likewise.
22038 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22040 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22041 _SC_LEVEL4_CACHE_LINESIZE.
22043 2012-10-03 Roland McGrath <roland@hack.frob.com>
22045 * sysdeps/unix/bsd/confstr.h: File removed.
22047 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
22049 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22052 2012-10-02 Roland McGrath <roland@hack.frob.com>
22054 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22055 Make 'mapoff' field ElfW(Off) rather than off_t.
22057 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22059 * nscd/Makefile: Remove nscd-cflags and all its users.
22060 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22061 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22064 * malloc.c (malloc_printerr): Clarify error message.
22066 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22070 Set bit_FMA_Usable if FMA is supported.
22071 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22073 (bit_FMA4_Usable): Updated.
22074 (index_FMA_Usable): New macro.
22075 (CPUID_FMA): Likewise
22076 (HAS_FMA): Defined with bit_FMA_Usable.
22078 2012-10-01 Roland McGrath <roland@hack.frob.com>
22080 * bits/types.h (__swblk_t): Type removed.
22081 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22082 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22084 (__SWBLK_T_TYPE): Likewise.
22085 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22086 (__SWBLK_T_TYPE): Likewise.
22087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22088 (__SWBLK_T_TYPE): Likewise.
22089 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22090 (__SWBLK_T_TYPE): Likewise.
22092 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
22093 Honza Horak <hhorak@redhat.com>
22095 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22096 (xdr_mapname): Use YPMAXMAP as maxsize.
22097 (xdr_peername): Use YPMAXPEER as maxsize.
22098 (xdr_keydat): Use YPAXRECORD as maxsize.
22099 (xdr_valdat): Use YPMAXRECORD as maxsize.
22101 2012-10-01 Roland McGrath <roland@hack.frob.com>
22103 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22105 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22106 * csu/init-first.c: ... here.
22107 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22108 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22109 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22110 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22111 * sysdeps/i386/init-first.c: File removed.
22112 * sysdeps/sh/init-first.c: File removed.
22114 2012-10-01 Joseph Myers <joseph@codesourcery.com>
22117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22118 if x * y might underflow to zero and z is zero.
22119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22121 * math/libm-test.inc (min_subnorm_value): New variable.
22122 (fma_test): Add more tests.
22123 (fma_test_towardzero): Likewise.
22124 (fma_test_downward): Likewise
22125 (fma_test_upward): Likewise.
22126 (initialize): Set min_subnorm_value.
22128 2012-09-29 Joseph Myers <joseph@codesourcery.com>
22131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22133 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22134 mode for addition resulting in exact zero.
22135 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22138 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22140 * math/libm-test.inc (fma_test): Add more tests.
22141 (fma_test_towardzero): New function.
22142 (fma_test_downward): Likewise.
22143 (fma_test_upward): Likewise.
22144 (main): Call the new functions.
22146 2012-09-28 David S. Miller <davem@davemloft.net>
22148 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22150 2012-09-28 Roland McGrath <roland@hack.frob.com>
22152 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22153 instead of SIGALRM.
22155 * sysdeps/gnu/_G_config.h: Moved to ...
22156 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22157 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22158 * sysdeps/generic/_G_config.h: ... here.
22160 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22162 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22164 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22165 Conditionalize target on [libnss_test1.so-version].
22167 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22169 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22170 (elfobjdir): Move out of conditionals.
22172 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22173 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22174 (__nss_lookup_function): Conditionalize label remove_from_tree on
22175 [!DO_STATIC_NSS || SHARED], matching its only use.
22177 2012-09-28 David S. Miller <davem@davemloft.net>
22179 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22180 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22182 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22184 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22186 when HWCAP_SPARC_CRYPTO is present.
22188 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22190 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22192 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22195 * stdio-common/vfprintf.c (process_string_arg): Revert
22198 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22200 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22202 * stdio-common/tst-sprintf.c: Include <locale.h>
22203 (main): Test sprintf's handling of incomplete multibyte
22206 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22208 * elf/dl-runtime.c (VERSYMIDX): Removed.
22209 * elf/dl-version.c (VERSYMIDX): Likewise.
22210 * elf/do-rel.h (VERSYMIDX): Likewise.
22211 (VALIDX): Likewise.
22212 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22213 * elf/rtld.c (VALIDX): Likewise.
22214 (ADDRIDX): Likewise.
22215 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22216 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22217 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22218 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22219 (VALIDX): Likewise.
22220 (ADDRIDX): Likewise.
22222 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22224 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22226 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22229 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22231 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22232 addresses are in the same scope as 192.0.2/24.
22233 * posix/gai.conf: Document new scope table defaults.
22235 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22238 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22239 for ftell. Compute offsets from write pointers instead.
22240 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22242 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22245 * libio/Makefile (tests): New test case tst-fseek.
22246 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22247 combination works in wide mode.
22248 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22249 state when the external buffer state changes.
22251 2012-09-27 David S. Miller <davem@davemloft.net>
22254 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22255 pass reloc->r_addend in as the 'high' argument to
22256 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22260 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22262 * rt/tst-aio2.c: Include <pthread.h>.
22263 * rt/tst-aio3.c: Likewise.
22265 2012-09-27 Steve Ellcey <sellcey@mips.com>
22267 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22269 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22271 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22272 contents on [SHARED].
22274 2012-09-26 Marek Polacek <polacek@redhat.com>
22278 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22279 for C++ and GCC <4.3 as well as for non GCC compilers.
22281 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22285 2012-09-25 Roland McGrath <roland@hack.frob.com>
22287 * Makefile.in (all, install): Declare with .PHONY.
22288 Reported by Michael Hope <michael.hope@linaro.org>.
22290 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22292 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22293 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22295 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22297 (sydep_routines): Add the new and the internal functions.
22298 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22299 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22301 (GLIBC_2.17): Add the new function.
22302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22303 (GLIBC_2.17): Likewise.
22304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22305 (GLIBC_2.17): Likewise.
22306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22307 (GLIBC_2.17): Likewise.
22308 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22310 2012-09-25 Alan Modra <amodra@gmail.com>
22312 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22313 Add release barrier before setting once_control to say
22314 initialisation is done. Add hints on lwarx. Use macro in
22316 (clear_once_control): Add release barrier.
22318 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22321 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22323 * math/s_clog10.c (__clog10): Likewise.
22324 * math/s_clog10f.c (__clog10f): Likewise.
22325 * math/s_clog10l.c (__clog10l): Likewise.
22326 * math/s_clogf.c (__clogf): Likewise.
22327 * math/s_clogl.c (__clogl): Likewise.
22328 * math/Makefile (libm-calls): Add x2y2m1.
22329 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22330 (__x2y2m1): Likewise.
22331 (__x2y2m1l): Likewise.
22332 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22333 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22334 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22335 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22336 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22337 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22338 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22339 * sysdeps/i386/fpu/libm-test-ulps: Update.
22340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22343 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22344 int as type of variable DEPTH.
22345 (glob): Use size_t instead of int as type of variables NEWCOUNT
22348 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22350 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22351 Add s_sincosf-sse2.
22352 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22353 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22354 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22355 macros for using routine as __sincosf_ia32.
22356 Use macro for function declaration and weak_alias.
22357 * sysdeps/i386/fpu/libm-test-ulps: Update.
22359 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22362 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22363 subnormal argument.
22364 * math/s_cexpf.c (__cexpf): Likewise.
22365 * math/s_csinf.c (__csinf): Likewise.
22366 * math/s_csinhf.c (__csinhf): Likewise.
22367 * math/s_ctanf.c (__ctanf): Likewise.
22368 * math/s_ctanhf.c (__ctanhf): Likewise.
22369 * math/s_ccosh.c (__ccoshf): Likewise.
22370 * math/s_cexp.c (__cexpl): Likewise.
22371 * math/s_csin.c (__csin): Likewise.
22372 * math/s_csinh.c (__csinh): Likewise.
22373 * math/s_ctan.c (__ctan): Likewise.
22374 * math/s_ctanh.c (ctanh): Likewise.
22375 * math/s_ccoshl.c (__ccoshl): Likewise.
22376 * math/s_cexpl.c (__cexpl): Likewise.
22377 * math/s_csinl.c (__csinl): Likewise.
22378 * math/s_csinhl.c (__csinhl): Likewise.
22379 * math/s_ctanl.c (__ctanl): Likewise.
22380 * math/s_ctanhl.c (__ctanhl): Likewise.
22382 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22384 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22385 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22386 (_IO_off_t): Define to __off_t, not _G_off_t.
22387 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22388 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22389 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22390 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22391 type of __dummy and __dummy2 fields.
22392 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22393 (_G_ssize_t): Likewise.
22394 (_G_off_t): Likewise.
22395 (_G_pid_t): Likewise.
22396 (_G_uid_t): Likewise.
22397 (_G_wchar_t): Likewise.
22398 (_G_wint_t): Likewise.
22399 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22400 (_G_ssize_t): Likewise.
22401 (_G_off_t): Likewise.
22402 (_G_pid_t): Likewise.
22403 (_G_uid_t): Likewise.
22404 (_G_wchar_t): Likewise.
22405 (_G_wint_t): Likewise.
22406 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22407 (_G_ssize_t): Likewise.
22408 (_G_off_t): Likewise.
22409 (_G_pid_t): Likewise.
22410 (_G_uid_t): Likewise.
22411 (_G_wchar_t): Likewise.
22412 (_G_wint_t): Likewise.
22414 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22416 * malloc/arena.c: Include malloc-sysdep.h.
22417 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22418 is sufficient to shrink the heap or an unmap is needed.
22419 * sysdeps/generic/malloc-sysdep.h: New file. Define
22420 new function check_may_shrink_heap.
22421 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22422 new function check_may_shrink_heap.
22424 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22426 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22429 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22431 * catgets/test-gencat.sh: Add "set -e".
22432 * elf/tst-pathopt.sh: Likewise.
22433 * grp/tst_fgetgrent.sh: Likewise.
22434 * iconvdata/run-iconv-test.sh: Likewise.
22435 * intl/tst-gettext.sh: Likewise.
22436 * intl/tst-gettext2.sh: Likewise.
22437 * intl/tst-gettext4.sh: Likewise.
22438 * intl/tst-gettext6.sh: Likewise.
22439 * intl/tst-translit.sh: Likewise.
22440 * io/ftwtest-sh: Likewise.
22441 * libio/test-freopen.sh: Likewise.
22442 * malloc/tst-mtrace.sh: Likewise.
22443 * posix/globtest.sh: Likewise.
22444 * posix/tst-getconf.sh: Likewise.
22445 * posix/wordexp-tst.sh: Likewise.
22446 * stdio-common/tst-printf.sh: Likewise.
22447 * stdio-common/tst-unbputc.sh: Likewise.
22448 * stdlib/tst-fmtmsg.sh: Likewise.
22449 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22450 * catgets/Makefile: Do not specify -e option when running
22451 testsuite shell scripts.
22452 * elf/Makefile: Likewise.
22453 * grp/Makefile: Likewise.
22454 * iconvdata/Makefile: Likewise.
22455 * intl/Makefile: Likewise.
22456 * io/Makefile: Likewise.
22457 * libio/Makefile: Likewise.
22458 * malloc/Makefile: Likewise.
22459 * posix/Makefile: Likewise.
22460 * stdio-common/Makefile: Likewise.
22461 * stdlib/Makefile: Likewise.
22462 * sysdeps/x86_64/Makefile: Likewise.
22464 * io/ftwtest-sh: Add copyright header.
22465 * posix/globtest.sh: Likewise.
22466 * posix/tst-getconf.sh: Likewise.
22467 * posix/wordexp-tst.sh: Likewise.
22468 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22470 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22473 * Makeconfig (+link): Defined as $(+link-static) if
22474 $(build-shared) isn't yes.
22475 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22477 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22479 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22482 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22483 new chunk size with MALLOC_ALIGN_MASK.
22485 2012-09-24 Joseph Myers <joseph@codesourcery.com>
22488 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22490 (__printf_fphex): Determine rounding using get_rounding_mode and
22492 * stdio-common/tst-printf-round.c (struct hex_test): New
22494 (hex_tests): New variable.
22495 (test_hex_in_one_mode): New function.
22496 (do_test): Also run tests for hex float output.
22498 2012-09-21 Joseph Myers <joseph@codesourcery.com>
22500 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22501 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22502 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22503 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22504 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22505 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22506 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22507 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22509 2012-09-20 Joseph Myers <joseph@codesourcery.com>
22511 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22512 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22513 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22514 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22516 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22519 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22521 * elf/tst-rtld-load-self.sh: New test.
22522 * elf/Makefile: Run it.
22524 2012-09-18 Joseph Myers <joseph@codesourcery.com>
22526 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22527 (tst-writev-ENV): Remove.
22528 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22530 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22532 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22534 2012-09-17 Joseph Myers <joseph@codesourcery.com>
22536 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22538 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22540 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22541 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22542 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22545 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22548 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22549 * config.make.in (have-cpp-asm-debuginfo): Removed.
22550 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22551 * configure: Regenerated.
22553 2012-09-14 Joseph Myers <joseph@codesourcery.com>
22556 * stdio-common/printf_fp.c: Include <stdbool.h> and
22558 (___printf_fp): Determine rounding using get_rounding_mode and
22560 * stdio-common/tst-printf-round.c: New file.
22561 * stdio-common/Makefile (tests): Add tst-printf-round.
22562 (link-libm): New variable.
22563 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22565 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22568 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22569 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22571 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22574 2012-09-13 Joseph Myers <joseph@codesourcery.com>
22576 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22577 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22578 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22579 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22581 2012-09-12 Joseph Myers <joseph@codesourcery.com>
22584 * include/rounding-mode.h: New file.
22585 * sysdeps/generic/get-rounding-mode.h: Likewise.
22586 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22587 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22588 (MAX_VALUE): New macro.
22589 (MIN_VALUE): Likewise.
22590 (overflow_value): New function.
22591 (underflow_value): Likewise.
22592 (round_and_return): Use overflow_value and underflow_value to
22593 determine return values in overflow and underflow cases. Use
22594 round_away to determine rounding depending on rounding mode.
22595 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22596 determine return values in overflow and underflow cases.
22597 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22598 (struct test_results): New structure.
22599 (struct test): Use struct test_results to store expected results
22600 for all rounding modes.
22601 (TEST): Include expected results for all rounding modes.
22602 (test_in_one_mode): New function.
22603 (do_test): Use test_in_one_mode to compute and check results.
22604 Check results for all rounding modes.
22605 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22608 2012-12-09 Allan McRae <allan@archlinux.org>
22610 * sysdeps/i386/fpu/libm-test-ulps: Update
22612 2012-09-11 Joseph Myers <joseph@codesourcery.com>
22614 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22615 (_G_int32_t): Likewise.
22616 (_G_uint16_t): Likewise.
22617 (_G_uint32_t): Likewise.
22618 (_G_HAVE_BOOL): Likewise.
22619 (_G_HAVE_ATEXIT): Likewise.
22620 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22621 (_G_HAVE_IO_FILE_OPEN): Likewise.
22622 * sysdeps/gnu/_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/mach/hurd/_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.
22639 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22641 * csu/libc-tls.c: Update copyright years.
22643 2012-09-10 Joseph Myers <joseph@codesourcery.com>
22645 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22646 [!_G_USING_THUNKS]: Remove conditional code.
22647 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22648 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22650 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22651 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22652 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22653 (_G_VTABLE_LABEL_PREFIX): Likewise.
22654 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22655 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22656 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22657 (_G_VTABLE_LABEL_PREFIX): Likewise.
22658 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22659 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22660 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22661 (_G_VTABLE_LABEL_PREFIX): Likewise.
22662 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22664 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22666 * libio/Makefile: Include ../Makeconfig before tests.
22667 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22668 only if $(build-shared) is yes.
22670 * iconv/gconv_db.c: Update copyright years.
22672 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22674 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22675 unwind info if defined PIC. Fix special cases description.
22676 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22678 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22680 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22682 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22684 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22686 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22689 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22690 (LDLIBS-tst-chk4): This.
22691 (LDFLAGS-tst-chk5): Renamed to ...
22692 (LDLIBS-tst-chk5): This.
22693 (LDFLAGS-tst-chk6): Renamed to ...
22694 (LDLIBS-tst-chk6): This.
22695 (LDFLAGS-tst-lfschk4): Renamed to ...
22696 (LDLIBS-tst-lfschk4): This.
22697 (LDFLAGS-tst-lfschk5): Renamed to ...
22698 (LDLIBS-tst-lfschk5): This.
22699 (LDFLAGS-tst-lfschk6): Renamed to ...
22700 (LDLIBS-tst-lfschk6): This.
22702 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22703 on $(common-objpfx)soversions.mk.
22705 2012-09-07 Joseph Myers <joseph@codesourcery.com>
22708 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22711 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22713 * malloc/arena.c (arena_get_retry): New function that gets
22714 another arena for the caller to try its request on.
22715 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22716 current arena cannot fulfill the request.
22717 (__libc_memalign): Likewise.
22718 (__libc_memalign): Likewise.
22719 (__libc_pvalloc): Likewise.
22720 (__libc_calloc): Likewise.
22722 2012-09-05 John Tobey <john.tobey@gmail.com>
22725 * manual/arith.texi (Operations on Complex): Fix description
22726 of carg branch cut.
22728 2012-09-06 Joseph Myers <joseph@codesourcery.com>
22731 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22735 * manual/memory.texi (Memory): Make order of menu items match
22738 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22740 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22741 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
22742 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22744 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22746 * csu/libc-tls.c (static_dtv): Renamed to ...
22747 (_dl_static_dtv): This. Make it global.
22748 (_dl_initial_dtv): Removed.
22749 (__libc_setup_tls): Updated.
22750 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22751 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22754 2012-09-06 Petr Machata <pmachata@redhat.com>
22756 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22757 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22758 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22759 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22761 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22764 * csu/libc-tls.c (_dl_initial_dtv): New variable.
22765 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22768 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22771 * Makeconfig (link-static-before-libc): Replace $(+prector)
22773 (link-static-after-libc): Replace $(+postctor) with
22775 (link-bounded): Replace $(+prector)/$(+postctor) with
22776 $(+prectorT)/$(+postctorT).
22777 (+prectorT): New macro.
22778 (+postctorT): Likewise.
22780 2012-09-06 Joseph Myers <joseph@codesourcery.com>
22782 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22783 (round_str): Handle values above the maximum for IBM long double
22785 * stdlib/tst-strtod-round.c (tests): Regenerated.
22787 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22789 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22791 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22792 zarch_nohighgprs around the zarch optimized routines.
22793 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22794 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22795 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22798 2012-09-05 David S. Miller <davem@davemloft.net>
22800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22802 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22803 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22804 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22805 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22808 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22810 * malloc/arena.c: Fold copyright years.
22811 * malloc/mcheck.c, malloc/memusage.c: Likewise.
22813 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22815 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22817 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22819 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
22821 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22823 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22824 change internal state upon failure.
22826 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22828 * malloc/mcheck.c (mcheck_check_all): Fix typo.
22829 * malloc/memusage.c (mmap): Likewise.
22830 (mmap64, mremap): Likewise. Adjust name in comment.
22832 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22834 * libio/fileops.c: Fix typos in comments.
22835 * libio/oldfileops.c: Likewise.
22836 * libio/wfileops.c: Likewise.
22838 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22841 * malloc/Makefile (tests): Add tst-malloc-usable test case.
22842 (tst-malloc-usable-ENV): Set environment for test case.
22843 * malloc/hooks.c (malloc_check_get_size): New function to get
22845 * malloc/malloc.c (musable): Use malloc_check_get_size.
22846 * malloc/tst-malloc-usable.c: New test case.
22848 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22850 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22852 2012-09-05 Allan McRae <allan@archlinux.org>
22855 * configure.in (CXX_SYSINCLUDES): Use compiler output to
22856 determine header location.
22857 * configure: Regenerated.
22859 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22861 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22863 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
22864 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22866 (test): Regenerate.
22868 2012-09-04 David S. Miller <davem@davemloft.net>
22870 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22871 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22872 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22874 2012-09-04 Florian Weimer <fweimer@redhat.com>
22876 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22879 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22881 2012-09-04 Joseph Myers <joseph@codesourcery.com>
22884 * libio/iogetdelim.c: Include <limits.h>.
22885 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22886 + len + 1 would overflow.
22888 2012-09-03 Andreas Jaeger <aj@suse.de>
22890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22891 * sysdeps/i386/fpu/libm-test-ulps: Update.
22893 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22895 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22896 Add s_sinf-sse2, s_conf-sse2.
22898 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22899 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22900 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22901 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22903 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22904 for using routine as __sinf_ia32.
22905 Use macro for function declaration and weak_alias.
22906 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22907 for using routine as __cosf_ia32.
22908 Use macro for function declaration and weak_alias.
22910 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22911 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22913 * sysdeps/x86_64/fpu/s_sinf.S: New file.
22914 * sysdeps/x86_64/fpu/s_cosf.S: New file.
22915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22917 * math/libm-test.inc (cos_test): Add more test cases.
22918 (sin_test): Likewise.
22919 (sincos_test): Likewise.
22921 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22923 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22924 (IFUNC_RESOLVE): Make pointers to the specialized implementations
22926 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22928 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
22931 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
22932 first element of the GOT.
22933 (elf_machine_load_address): Return the difference between
22934 the runtime address of _DYNAMIC and elf_machine_dynamic ().
22936 2012-09-01 Allan McRae <allan@archlinux.org>
22939 * configure.in (AWK): Require gawk version 3.0 or later.
22940 * configure: Regenerated.
22942 2012-09-01 Joseph Myers <joseph@codesourcery.com>
22944 * sysdeps/unix/sysv/linux/kernel-features.h
22945 (__ASSUME_POSIX_CPU_TIMERS): Remove.
22946 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22947 [__NR_clock_getres]: Make code unconditional.
22948 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
22949 (clock_getcpuclockid): Remove code left unreachable by removal of
22951 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
22952 code unconditional.
22953 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22954 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22955 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
22956 Make code unconditional.
22957 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22958 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22959 * sysdeps/unix/sysv/linux/clock_settime.c
22960 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
22962 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
22963 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22965 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
22968 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
22969 scripts/test-installation.pl.
22971 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
22972 and $ld_so_version if it is set.
22974 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22977 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
22978 failure if reading from procfs failed.
22979 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
22981 2012-08-27 Joseph Myers <joseph@codesourcery.com>
22983 * sysdeps/unix/sysv/linux/kernel-features.h
22984 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
22985 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22986 Remove conditional code.
22987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22988 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
22989 Remove conditional code.
22990 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22991 * sysdeps/unix/sysv/linux/i386/fxstat.c
22992 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22993 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22994 * sysdeps/unix/sysv/linux/i386/fxstatat.c
22995 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22996 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22997 * sysdeps/unix/sysv/linux/i386/lxstat.c
22998 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22999 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23000 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23001 Remove conditional code.
23002 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23003 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23004 Remove conditional code.
23005 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23006 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23007 <kernel-features.h>.
23008 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23010 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23011 Remove conditional code.
23012 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23013 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23014 Remove conditional.
23016 2012-08-27 Mike Frysinger <vapier@gentoo.org>
23019 * NEWS: Add fixed bug number.
23021 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23024 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23025 underflowing exponent in case of negative sign.
23026 * stdlib/tst-strtod-round-data: Add more tests.
23027 * stdlib/tst-strtod-round.c (tests): Regenerated.
23030 * stdlib/strtod_l.c (NDIG): Remove.
23031 (HEXNDIG): Likewise.
23032 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23033 smallest representable value.
23034 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23035 lie within an exact representation of 1/2 ulp of the result.
23036 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23038 (TENS_P9_IDX): Define unconditionally.
23039 (TENS_P9_SIZE): Likewise.
23040 (TENS_P10_IDX): Likewise.
23041 (TENS_P10_SIZE): Likewise.
23042 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23043 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23044 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23045 entries for 10^2^13 and 10^2^14.
23046 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23047 (TENS_P13_IDX): Define.
23048 (TENS_P13_SIZE): Likewise.
23049 (TENS_P14_IDX): Likewise.
23050 (TENS_P14_SIZE): Likewise.
23051 (_fpioconst_pow10): Change array size to
23052 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23054 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23055 1024]: Add entries for 10^2^13 and 10^2^14.
23056 [LAST_POW10 > _LAST_POW10]: Remove #error.
23057 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23058 (_fpioconst_pow10): Change array size to
23059 FPIOCONST_POW10_ARRAY_SIZE.
23060 * stdlib/gen-fpioconst.c: New file.
23061 * stdlib/gen-tst-strtod-round.c: Likewise.
23062 * stdlib/tst-strtod-round-data: Likewise.
23063 * stdlib/tst-strtod-round.c: Likewise.
23064 * stdlib/Makefile (tests): Add tst-strtod-round.
23067 * stdlib/strtod_l.c: Include <stdint.h>.
23068 (NDEBUG): Do not define.
23069 (round_and_return): Change EXPONENT parameter to type intmax_t.
23070 Rearrange calculations to avoid internal overflow possibilities.
23071 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23072 Rearrange calculations to avoid internal overflow possibilities.
23073 Assert that number fits inside MPNSIZE limbs.
23074 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23075 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23076 calculations and add assertions to avoid internal overflow
23077 possibilities. Add casts to avoid signed/unsigned operations.
23078 * stdlib/tst-strtod-overflow.c: New file.
23079 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23081 2012-08-25 Marek Polacek <polacek@redhat.com>
23083 * time/time.h: Fix some typos in comments.
23085 2012-08-23 Roland McGrath <roland@hack.frob.com>
23087 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23088 * posix/tst-rfc3484-2.c: Likewise.
23089 * posix/tst-rfc3484-3.c: Likewise.
23091 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23093 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23094 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23096 2012-08-23 Joseph Myers <joseph@codesourcery.com>
23098 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23099 #include of fxstatat64.c.
23101 2012-08-22 Roland McGrath <roland@hack.frob.com>
23103 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23104 * shadow/getspent_r.c: Likewise.
23105 * shadow/getspnam.c: Likewise.
23106 * shadow/getspnam_r.c: Likewise.
23107 * gshadow/getsgent.c: Likewise.
23108 * gshadow/getsgent_r.c: Likewise.
23109 * gshadow/getsgnam.c: Likewise.
23110 * gshadow/getsgnam_r.c: Likewise.
23111 * inet/getnetbyad.c: Likewise.
23112 * inet/getnetbyad_r.c: Likewise.
23113 * inet/getnetbynm.c: Likewise.
23114 * inet/getnetbynm_r.c: Likewise.
23115 * inet/getnetent.c: Likewise.
23116 * inet/getnetent_r.c: Likewise.
23117 * inet/getproto.c: Likewise.
23118 * inet/getproto_r.c: Likewise.
23119 * inet/getprtent.c: Likewise.
23120 * inet/getprtent_r.c: Likewise.
23121 * inet/getprtname.c: Likewise.
23122 * inet/getprtname_r.c: Likewise.
23123 * inet/getrpcbyname.c: Likewise.
23124 * inet/getrpcbyname_r.c: Likewise.
23125 * inet/getrpcbynumber.c: Likewise.
23126 * inet/getrpcbynumber_r.c: Likewise.
23127 * inet/getrpcent.c: Likewise.
23128 * inet/getrpcent_r.c: Likewise.
23129 * inet/getaliasent.c: Likewise.
23130 * inet/getaliasent_r.c: Likewise.
23131 * inet/getaliasname.c: Likewise.
23132 * inet/getaliasname_r.c: Likewise.
23133 * nscd/getgrgid_r.c: Likewise.
23134 * nscd/getgrnam_r.c: Likewise.
23135 * nscd/gethstbyad_r.c: Likewise.
23136 * nscd/gethstbynm3_r.c: Likewise.
23137 * nscd/getpwnam_r.c: Likewise.
23138 * nscd/getpwuid_r.c: Likewise.
23139 * nscd/getsrvbynm_r.c: Likewise.
23140 * nscd/getsrvbypt_r.c: Likewise.
23141 * nscd/gai.c: Likewise.
23143 * configure.in (build_nscd): New substituted variable, set
23144 by --disable-build-nscd and defaults to $use_nscd.
23145 * configure: Regenerated.
23146 * config.make.in (build-nscd): New substituted variable.
23147 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23148 Change conditional to require [$(build-nscd) = yes] as well.
23149 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23152 * configure.in (use_nscd): New substituted variable, set by
23153 --disable-nscd. If enabled, define USE_NSCD.
23154 * configure: Regenerated.
23155 * config.h.in: Add USE_NSCD.
23156 * config.make.in (use-nscd): New substituted variable.
23157 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23158 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23159 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23160 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23161 (CFLAGS-getgrnam_r.c): Likewise.
23162 (CFLAGS-initgroups.c): Likewise.
23163 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23164 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23166 * inet/getnetgrent_r.c
23167 (nscd_setnetgrent): New function, broken out of ...
23168 (setnetgrent): ... here. Call it.
23169 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23170 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23171 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23172 * nscd/Makefile (routines, aux): Move definitions after include of
23173 Makeconfig. Conditionalize on [$(use-nscd) != no].
23174 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23175 Conditionalize on [USE_NSCD].
23176 (is_nscd, nscd_init_cb): Likewise.
23177 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23178 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23179 * nss/nss_db/db-init.c: Likewise.
23180 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23182 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23183 (make_request): Use it.
23184 (cache_valid_p): New function.
23185 (__check_pf): Use it.
23186 * NEWS: Add item for --disable-nscd.
23188 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23190 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23191 to support sed >= 4.2.1-20-ga9bf076.
23192 * configure: Regenerated.
23194 2012-08-22 Roland McGrath <roland@hack.frob.com>
23196 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23197 Conditionalize whole body on [IREL].
23199 2012-08-22 Jeff Law <law@redhat.com>
23202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23203 if the family is PF_UNSPEC.
23205 2012-08-22 Mike Frysinger <vapier@gentoo.org>
23207 * Makerules (lib-version): Rename from V.
23208 (install-lib-nosubdir): Change V to lib-version.
23210 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23213 * powerpc32/power6/wcschr.c: New file.
23214 * powerpc32/power6/wcscpy.c: New file.
23215 * powerpc32/power6/wcsrchr.c: New file.
23216 * powerpc64/power6/wcschr.c: New file.
23217 * powerpc64/power6/wcscpy.c: New file.
23218 * powerpc64/power6/wcsrchr.c: New file.
23220 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23222 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23223 (two_way_short_needle): Use it.
23224 * string/strstr.c (AVAILABLE1_USES_J): Define.
23225 * string/strcasestr.c: Likewise.
23227 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23229 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23232 * NEWS: Add an entry.
23233 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23234 define their defaults.
23235 (two_way_short_needle): Detect end-of-string on-the-fly.
23236 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23237 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23238 * string/bug-strcasestr1.c: New test.
23239 * string/Makefile: Run it.
23241 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23244 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23245 the first character.
23247 2012-08-21 Roland McGrath <roland@hack.frob.com>
23249 * csu/elf-init.c (__libc_csu_irel): Function removed.
23250 * csu/libc-start.c (apply_irel): New function.
23251 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23253 2012-08-21 Joseph Myers <joseph@codesourcery.com>
23255 * sysdeps/unix/sysv/linux/kernel-features.h
23256 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23257 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23258 <kernel-features.h>.
23259 [__NR_fadvise64_64]: Make code unconditional.
23260 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23261 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23262 !__NR_fadvise64_64)]: Likewise.
23263 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23264 !__NR_fadvise64_64))]: Likewise.
23265 [__NR_fadvise64]: Make code unconditional.
23266 [!__NR_fadvise64]: Remove conditional code.
23267 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23268 <kernel-features.h>.
23269 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23271 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23274 not include <kernel-features.h>.
23275 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23277 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23279 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23280 include <kernel-features.h>.
23281 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23283 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23286 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23288 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23289 slight instruction rearrangements per scrollpipe analysis.
23290 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23292 2012-08-20 Roland McGrath <roland@hack.frob.com>
23294 * manual/syslog.texi (syslog; vsyslog, closelog):
23295 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23296 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23298 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23299 DSOCAPS to match condition on defining it.
23301 2012-08-20 Joseph Myers <joseph@codesourcery.com>
23303 * sysdeps/unix/sysv/linux/kernel-features.h
23304 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23306 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23307 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23309 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23310 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23312 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23313 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23315 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23316 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23318 * sysdeps/unix/sysv/linux/kernel-features.h
23319 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23320 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23322 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23323 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23324 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23325 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23326 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23327 Make code unconditional.
23328 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23329 (__mmap64) [!__NR_mmap2]: Likewise.
23330 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23331 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23332 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23333 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23334 [__NR_mmap2]: Make code unconditional.
23335 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23336 (__mmap64) [!__NR_mmap2]: Likewise.
23338 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23340 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23342 2012-08-18 Andreas Jaeger <aj@suse.de>
23344 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23346 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23348 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23349 * include/unistd.h (__have_sock_cloexec): Likewise.
23350 (__have_pipe2): Likewise.
23351 (__have_dup3): Likewise.
23353 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23356 * include/unistd.h (__have_pipe2): Change define into an extern int.
23357 (__have_dup3): Likewise.
23358 * socket/have_sock_cloexec.c: Include fcntl.h.
23359 (__have_pipe2): New variable.
23360 (__have_dup3): Likewise.
23362 2012-08-17 Mike Frysinger <vapier@gentoo.org>
23364 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23366 2012-08-17 Marek Polacek <polacek@redhat.com>
23368 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23369 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23371 2012-08-17 Roland McGrath <roland@hack.frob.com>
23373 * configure.in: Add AC_SUBST for sysheaders.
23374 * configure: Regenerated.
23375 * config.make.in (sysheaders): New substituted variable.
23377 * sysdeps/unix/mkfifo.c: Moved ...
23378 * sysdeps/posix/mkfifo.c: ... here.
23379 * sysdeps/unix/mkfifoat.c: Moved ...
23380 * sysdeps/posix/mkfifoat.c: ... here.
23382 * sysdeps/unix/utime.c: Moved ...
23383 * sysdeps/posix/utime.c: ... here.
23385 * sysdeps/unix/time.c: Moved ...
23386 * sysdeps/posix/time.c: ... here.
23387 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23388 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23390 * sysdeps/unix/nice.c: Moved ...
23391 * sysdeps/posix/nice.c: ... here.
23393 * sysdeps/unix/alarm.c: Moved ...
23394 * sysdeps/posix/alarm.c: ... here.
23396 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23398 2012-08-17 Jeff Law <law@redhat.com>
23400 * intl/Makefile (codeset_mo): New variable.
23401 ($(codeset_mo)): New target.
23402 (tst-codeset.out): Depend on that. Remove explicit rule.
23403 (tst-gettext3.out, tst-gettext5.out): Likewise.
23404 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23405 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23406 * intl/tst-codeset.sh: Remove.
23407 * intl/tst-gettext3.sh: Likewise.
23408 * intl/tst-gettext5.sh: Likewise.
23410 2012-08-17 Roland McGrath <roland@hack.frob.com>
23412 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23413 * sysdeps/unix/syscalls.list: ... here.
23415 * sysdeps/posix/getaddrinfo.c
23416 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23417 (gaiconf_init, gaiconf_reload): Use them.
23418 [!_STATBUF_ST_NSEC]
23419 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23420 Define using time_t rather than struct timespec.
23422 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23423 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23425 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23427 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23428 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23431 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23432 __libc_cleanup_push argument.
23434 * bits/param.h: New file.
23435 * misc/sys/param.h: New file.
23436 * include/sys/param.h: New file.
23437 * misc/Makefile (headers): Add bits/param.h.
23438 * sysdeps/generic/sys/param.h: File removed.
23439 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23440 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23441 * sysdeps/mach/hurd/bits/param.h: New file.
23442 * sysdeps/mach/hurd/sys/param.h: File removed.
23444 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23447 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23449 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23450 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23453 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23454 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23455 rather than -D_IO_MTSAFE_IO conditionally.
23456 * stdio-common/Makefile (CPPFLAGS): Likewise.
23457 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23458 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23459 Use $(libio-mtsafe).
23460 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23461 of -D_IO_MTSAFE_IO.
23462 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23463 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23464 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23465 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23466 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23467 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23468 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23469 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23470 (CFLAGS-fread_u_chk.c): Likewise.
23471 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23472 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23473 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23474 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23475 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23476 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23477 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23478 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23479 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23481 * libio/Makefile: Test [$(libc-reentrant) = yes]
23482 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23485 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23486 * sysdeps/pthread/configure: File removed.
23487 * sysdeps/pthread/Makeconfig: New file.
23488 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23489 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23491 2012-08-16 Gary Benson <gbenson@redhat.com>
23493 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23494 unmapping the first object in a namespace.
23496 2012-08-16 Roland McGrath <roland@hack.frob.com>
23498 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23499 (__internal_setnetgrent): ... this. Add internal_function to
23500 definition. Add libc_hidden_def.
23501 (setnetgrent): Update caller.
23502 (internal_endnetgrent): Renamed to ...
23503 (__internal_endnetgrent): ... this. Add internal_function to
23504 definition. Add libc_hidden_def.
23505 (endnetgrent): Update caller.
23506 (internal_getnetgrent_r): Renamed to ...
23507 (__internal_getnetgrent_r): ... this. Add internal_function to
23508 definition. Add libc_hidden_def.
23509 (__getnetgrent_r): Update caller.
23510 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23512 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23514 * stdlib/longlong.h: Update from GCC.
23516 2012-08-16 Roland McGrath <roland@hack.frob.com>
23518 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23519 on _QL, which is set by umul_ppmm but never used.
23520 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23521 variables, which are set by GMP macros but never used.
23522 * stdio-common/_itowa.c (_itowa): Likewise.
23523 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23524 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23526 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23528 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23529 struct La_sh_regs is not constant.
23530 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23531 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23532 and struct La_sparc64_regs are not constant.
23534 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23536 * sysdeps/unix/sysv/linux/kernel-features.h
23537 (__ASSUME_POSIX_TIMERS): Remove.
23538 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23539 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23540 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23541 Make code unconditional.
23542 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23543 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23544 Make code unconditional.
23545 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23546 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23547 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23548 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23549 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23550 Make code unconditional.
23551 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23552 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23553 (__libc_missing_posix_timers): Remove.
23555 2012-08-15 Roland McGrath <roland@hack.frob.com>
23557 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23558 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23560 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23562 * elf/dl-sym.c: Include <stdlib.h>.
23564 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23565 constants, which avoids warnings in 32-bit builds.
23567 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23568 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23570 * misc/lseek.c: File moved to ...
23571 * io/lseek.c: ... here.
23573 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23575 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23576 shifting LEN more than 31 bits at once.
23578 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23581 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23582 segmentation fault for a case of two empty input strings.
23583 * string/test-strncasecmp.c (check1): Renamed to...
23584 (bz12205): ...this.
23585 (bz14195): Add new testcase for two empty input strings and N > 0.
23586 (test_main): Call new testcase, adapt for renamed function.
23588 2012-08-15 Andreas Jaeger <aj@suse.de>
23591 * crypt/md5test2.c: New test, based on test supplied by Serge
23592 Belyshev <belyshev@depni.sinp.msu.ru>.
23593 * crypt/Makefile (xtests): Add md5test-giant..
23594 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23596 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23599 * crypt/md5.c (md5_process_block): Don't assume the buffer
23600 length is less than 2**32.
23601 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23602 length is less than 2**64.
23604 2012-08-15 Roland McGrath <roland@hack.frob.com>
23606 * string/str-two-way.h: Include <sys/param.h>.
23607 (MAX): Macro removed.
23609 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23610 Move #define and #undef of memmove to just before and after
23611 including <string.h>.
23613 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23614 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23615 and after including <string.h>. Move declarations of
23616 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23617 to before #include "string/memmove.c".
23619 * include/dirent.h: Declare __getdirentries.
23621 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23622 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23624 2012-08-14 Mike Frysinger <vapier@gentoo.org>
23626 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23627 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23628 * sysdeps/i386/configure: Regenerated.
23629 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23630 STABS_CURRENT_FILE, and STABS_FUN.
23631 (END): Remove call to STABS_FUN_END.
23632 (STABS_CURRENT_FILE1): Delete.
23633 (STABS_CURRENT_FILE): Likewise.
23634 (STABS_FUN): Likewise.
23635 (STABS_FUN_END): Likewise.
23636 (STABS_FUN2): Likewise.
23637 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23638 * sysdeps/x86_64/configure: Regenerated.
23640 2012-08-14 Roland McGrath <roland@hack.frob.com>
23642 * elf/dl-open.c: Include <atomic.h>.
23643 * elf/dl-lookup.c: Likewise.
23645 2012-08-14 Joseph Myers <joseph@codesourcery.com>
23647 * sysdeps/unix/sysv/linux/kernel-features.h
23648 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23649 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23651 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23653 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23654 condition on __ASSUME_CLONE_THREAD_FLAGS.
23656 2012-08-14 Andreas Jaeger <aj@suse.de>
23658 * sysdeps/i386/fpu/libm-test-ulps: Update.
23660 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23662 * include/atomic.h (atomic_exchange_and_add): Split into ...
23663 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23666 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23670 2012-08-13 Jeff Law <law@redhat.com>
23672 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23673 null byte in the output string.
23675 2012-08-10 Joseph Myers <joseph@codesourcery.com>
23677 * sysdeps/unix/sysv/linux/kernel-features.h
23678 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23679 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23680 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23681 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23682 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23683 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23684 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23686 2012-08-09 Jeff Law <law@redhat.com>
23689 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23690 When avoid_arena is set, don't retry in the that arena. Pick the
23691 next one, whatever it might be.
23692 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23693 (arena_lock): Pass in new parameter to arena_get2.
23694 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23696 (__libc_malloc): Unify retrying after main arena failure with
23697 __libc_memalign version.
23698 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23700 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23703 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23704 to __redirect_strstr.
23705 (__strstr_sse42): Use typeof __redirect_strstr.
23706 (__strstr_ia32): Likewise.
23707 (__libc_strstr): New prototype.
23708 (strstr): Renamed to ...
23709 (__libc_strstr): This.
23710 (strstr): New strong alias of __libc_strstr.
23711 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23712 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23715 (__libc_time): New prototype.
23716 (time_ifunc): Replace time with __libc_time.
23717 (time): New strong alias and hidden definition of __libc_time.
23718 (__GI_time): Remove strong alias.
23719 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23720 Include <stddef.h>.
23721 (memmove): Redefined to __redirect_memmove.
23722 (__memmove_sse2): Use typeof __redirect_memmove.
23723 (__memmove_ssse3): Likewise.
23724 (__memmove_ssse3_back): Likewise.
23725 (__libc_memmove): New prototype.
23726 (memmove): Renamed to ...
23727 (__libc_memmove): This.
23728 (memmove): New strong alias of __libc_memmove.
23730 2012-08-08 Mark Salter <msalter@redhat.com>
23733 (R_MN10300_TLS_GD): Define.
23734 (R_MN10300_TLS_LD): Likewise.
23735 (R_MN10300_TLS_LDO): Likewise.
23736 (R_MN10300_TLS_GOTIE): Likewise.
23737 (R_MN10300_TLS_IE): Likewise.
23738 (R_MN10300_TLS_LE): Likewise.
23739 (R_MN10300_TLS_DTPMOD): Likewise.
23740 (R_MN10300_TLS_DTPOFF): Likewise.
23741 (R_MN10300_TLS_TPOFF): Likewise.
23742 (R_MN10300_SYM_DIFF): Likewise.
23743 (R_MN10300_ALIGN): Likewise.
23744 (R_MN10300_NUM): Update.
23746 2012-08-08 Joseph Myers <joseph@codesourcery.com>
23748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23751 2012-08-08 Roland McGrath <roland@hack.frob.com>
23753 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23755 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23756 sysdeps/unix -> sysdeps/posix move.
23757 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23759 2012-08-07 Allan McRae <allan@archlinux.org>
23762 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23763 (SUNOS_CPP): Likewise.
23764 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23766 (open_input): Call CPP using execvp.
23768 2012-08-07 Joseph Myers <joseph@codesourcery.com>
23770 * sysdeps/unix/sysv/linux/kernel-features.h
23771 (__ASSUME_PROT_GROWSUPDOWN): Remove.
23772 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23773 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23774 (__ASSUME_WAITID_SYSCALL): Likewise.
23775 * sysdeps/unix/sysv/linux/dl-execstack.c
23776 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23777 code unconditional.
23778 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23780 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23781 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23782 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23784 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23786 [__ASSUME_WAITID_SYSCALL]: Likewise.
23787 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23789 2012-08-07 Roland McGrath <roland@hack.frob.com>
23791 * sysdeps/unix/closedir.c: Renamed to ...
23792 * sysdeps/posix/closedir.c: ... here.
23793 * sysdeps/unix/dirfd.c: Renamed to ...
23794 * sysdeps/posix/dirfd.c: ... here.
23795 * sysdeps/unix/dirstream.h: Renamed to ...
23796 * sysdeps/posix/dirstream.h: ... here.
23797 * sysdeps/unix/fdopendir.c: Renamed to ...
23798 * sysdeps/posix/fdopendir.c: ... here.
23799 * sysdeps/unix/opendir.c: Renamed to ...
23800 * sysdeps/posix/opendir.c: ... here.
23801 * sysdeps/unix/readdir.c: Renamed to ...
23802 * sysdeps/posix/readdir.c: ... here.
23803 * sysdeps/unix/readdir_r.c: Renamed to ...
23804 * sysdeps/posix/readdir_r.c: ... here.
23805 * sysdeps/unix/rewinddir.c: Renamed to ...
23806 * sysdeps/posix/rewinddir.c: ... here.
23807 * sysdeps/unix/seekdir.c: Renamed to ...
23808 * sysdeps/posix/seekdir.c: ... here.
23809 * sysdeps/unix/telldir.c: Renamed to ...
23810 * sysdeps/posix/telldir.c: ... here.
23811 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23812 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23813 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23814 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23816 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23817 * bits/fcntl.h: ... here.
23819 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23821 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23822 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23823 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23824 (struct flock): Move l_start, l_len to the beginning.
23825 Use __pid_t for l_pid.
23826 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23827 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23828 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23829 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23830 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23831 [__USE_LARGEFILE64] (struct flock64): New type.
23832 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23834 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23835 * bits/dirent.h: ... here.
23837 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23838 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23840 2012-08-07 Joseph Myers <joseph@codesourcery.com>
23842 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23843 Change from 2.6.0 to 2.6.16.
23844 * sysdeps/unix/sysv/linux/configure: Regenerated.
23845 * sysdeps/unix/sysv/linux/kernel-features.h
23846 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23847 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23849 (__ASSUME_UTIMES): Likewise.
23850 (__ASSUME_CLONE_STOPPED): Remove.
23851 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23852 architectures, not kernel version.
23853 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23854 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23855 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23856 (__ASSUME_WAITID_SYSCALL): Likewise.
23857 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23858 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23859 * README: State 2.6.16 as minimum Linux kernel version. Do not
23860 refer to older versions.
23862 2012-08-06 Roland McGrath <roland@hack.frob.com>
23864 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23865 Define alphasort64 as an alias.
23866 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23867 Define versionsort64 as an alias.
23868 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23869 Define scandir64 as an alias.
23870 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23871 Define scandirat64 as an alias.
23872 * dirent/alphasort64.c (alphasort64):
23873 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23874 * dirent/versionsort64.c: Likewise.
23875 * dirent/scandir64.c: Likewise.
23876 * dirent/scandirat64.c: Likewise.
23877 * sysdeps/wordsize-64/alphasort.c: File removed.
23878 * sysdeps/wordsize-64/alphasort64.c: File removed.
23879 * sysdeps/wordsize-64/scandir.c: File removed.
23880 * sysdeps/wordsize-64/scandir64.c: File removed.
23881 * sysdeps/wordsize-64/scandirat.c: File removed.
23882 * sysdeps/wordsize-64/scandirat64.c: File removed.
23883 * sysdeps/wordsize-64/versionsort.c: File removed.
23884 * sysdeps/wordsize-64/versionsort64.c: File removed.
23885 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23886 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23887 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23888 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23889 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23890 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23891 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23892 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23894 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23896 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23898 [defined __arch64__ || defined __sparcv9]
23899 (__INO_T_MATCHES_INO64_T): New macro.
23900 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23901 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23902 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23903 * sysdeps/unix/sysv/linux/bits/dirent.h
23904 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23905 (_DIRENT_MATCHES_DIRENT64): New macro.
23907 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23908 Define lockf64 as an alias.
23909 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23910 Define fseeko64 as an alias.
23911 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23912 Define ftello64 as an alias.
23913 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23914 Define _IO_fgetpos64 and fgetpos64 as aliases.
23915 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23916 Define _IO_fsetpos64 and fsetpos64 as aliases.
23917 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23918 Conditionalize body on this.
23919 * libio/fseeko64.c: Likewise.
23920 * libio/ftello64.c: Likewise.
23921 * libio/iofgetpos64.c: Likewise.
23922 * libio/iofsetpos64.c: Likewise.
23923 * sysdeps/wordsize-64/lockf.c: File removed.
23924 * sysdeps/wordsize-64/lockf64.c: File removed.
23925 * sysdeps/wordsize-64/fseeko.c: File removed.
23926 * sysdeps/wordsize-64/fseeko64.c: File removed.
23927 * sysdeps/wordsize-64/ftello.c: File removed.
23928 * sysdeps/wordsize-64/ftello64.c: File removed.
23929 * sysdeps/wordsize-64/iofgetpos.c: File removed.
23930 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
23931 * sysdeps/wordsize-64/iofsetpos.c: File removed.
23932 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
23933 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
23934 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
23935 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
23936 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
23937 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
23938 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
23939 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
23940 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
23941 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
23942 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
23944 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23946 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
23947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23948 [defined __arch64__ || defined __sparcv9]
23949 (__OFF_T_MATCHES_OFF64_T): New macro.
23950 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23951 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23953 (__OFF_T_MATCHES_OFF64_T): New macro.
23955 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
23957 * stdlib/secure-getenv.c (__secure_getenv): Replace
23958 GLIBC_2_16 with GLIBC_2_17.
23960 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
23962 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
23963 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23965 2012-08-03 David S. Miller <davem@davemloft.net>
23967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23969 2012-08-03 Joseph Myers <joseph@codesourcery.com>
23971 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
23973 (__ASSUME_CORRECT_SI_PID): Likewise.
23974 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
23975 (__ASSUME_TMPFS_NAME): Likewise.
23976 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
23977 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
23978 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
23979 (HAVE_AUX_SECURE): Make definition unconditional.
23980 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
23981 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
23983 2012-08-03 Roland McGrath <roland@hack.frob.com>
23985 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
23986 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
23987 * sysdeps/mach/hurd/eloop-threshold.h: New file.
23988 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23989 __eloop_threshold instead of SYMLOOP_MAX.
23991 * sysdeps/generic/eloop-threshold.h: New file.
23992 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
23994 * elf/chroot_canon.c (chroot_canon): Likewise.
23996 2012-08-03 Joseph Myers <joseph@codesourcery.com>
23999 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24000 Change to 2.6.0 everywhere.
24001 * sysdeps/unix/sysv/linux/configure: Regenerated.
24002 * sysdeps/unix/sysv/linux/kernel-features.h
24003 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24004 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24006 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24007 (__ASSUME_FUTEX_REQUEUE): Remove.
24008 (__ASSUME_STATFS64): Define unconditionally.
24009 (__ASSUME_AT_SECURE): Likewise.
24010 (__ASSUME_CORRECT_SI_PID): Likewise.
24011 (__ASSUME_TGKILL): Define without depending on kernel version for
24013 (__ASSUME_UTIMES): Likewise.
24014 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24016 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24017 (__ASSUME_TMPFS_NAME): Likewise.
24018 * README: Update reference to Linux kernel versions.
24020 2012-08-02 Marek Polacek <polacek@redhat.com>
24023 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24024 libc_cv_asm_type_prefix with %.
24025 * configure: Regenerated.
24026 * include/libc-symbols.h: Remove comment about
24027 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24028 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24029 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24030 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24031 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24032 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24033 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24034 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24035 * elf/tst-unique2mod1.c: Likewise.
24036 * elf/tst-unique1mod2.c: Likewise.
24037 * elf/tst-unique1mod1.c: Likewise.
24038 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24039 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24040 Replace ASM_TYPE_DIRECTIVE with .type.
24041 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24042 * sysdeps/i386/sysdep.h: Likewise.
24043 * sysdeps/x86_64/sysdep.h: Likewise.
24044 * sysdeps/sh/sysdep.h: Likewise.
24045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24046 Do not define ASM_TYPE_DIRECTIVE.
24047 * sysdeps/powerpc/sysdep.h: Likewise.
24048 * sysdeps/powerpc/powerpc32/sysdep.h:
24049 Replace ASM_TYPE_DIRECTIVE with .type.
24050 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24051 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24052 * sysdeps/i386/fpu/e_powf.S: Likewise.
24053 * sysdeps/i386/fpu/e_expl.S: Likewise.
24054 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24055 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24056 * sysdeps/i386/fpu/e_pow.S: Likewise.
24057 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24058 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24059 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24060 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24061 * sysdeps/i386/fpu/e_log2.S: Likewise.
24062 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24063 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24064 * sysdeps/i386/fpu/e_powl.S: Likewise.
24065 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24066 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24067 * sysdeps/i386/fpu/e_logl.S: Likewise.
24068 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24069 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24070 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24071 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24072 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24073 * sysdeps/i386/fpu/e_log.S: Likewise.
24074 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24075 * sysdeps/i386/fpu/e_logf.S: Likewise.
24076 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24077 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24078 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24079 * sysdeps/i386/fpu/e_log10.S: Likewise.
24080 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24081 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24082 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24083 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24084 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24085 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24086 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24087 * sysdeps/i386/i686/strtok.S: Likewise.
24088 * sysdeps/i386/i386-mcount.S: Likewise.
24089 * sysdeps/i386/strtok.S: Likewise.
24090 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24091 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24092 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24093 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24094 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24095 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24096 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24097 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24098 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24099 * sysdeps/x86_64/_mcount.S: Likewise.
24100 * sysdeps/x86_64/strtok.S: Likewise.
24101 * sysdeps/sh/_mcount.S: Likewise.
24103 2012-08-01 Roland McGrath <roland@hack.frob.com>
24105 * libio/iofopen.c: Include <fcntl.h>.
24106 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24107 (_IO_fopen64, fopen64): Define as aliases.
24108 * libio/iofopen64.c: Include <fcntl.h>.
24109 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24110 Conditionalize body on this.
24111 * sysdeps/wordsize-64/iofopen.c: File removed.
24112 * sysdeps/wordsize-64/iofopen64.c: File removed.
24114 2012-08-01 Marek Polacek <polacek@redhat.com>
24116 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24117 Use dlfcn directly instead of a variable.
24118 (binfmt-subdir): Do not define.
24121 2012-08-01 Joseph Myers <joseph@codesourcery.com>
24123 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24124 Remove all definitions.
24125 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24126 <kernel-features.h>.
24127 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24128 (miss_F_GETOWN_EX): Remove all definitions.
24129 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24131 [!__ASSUME_FCNTL64]: Remove conditional code.
24132 [__ASSUME_FCNTL64]: Make code unconditional.
24133 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24134 <kernel-features.h>.
24135 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24136 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24137 (lockf64) [__NR_fcntl64]: Make code unconditional.
24138 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24140 * sysdeps/unix/sysv/linux/kernel-features.h
24141 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24142 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24143 Make code unconditional.
24144 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24145 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24147 [__NR_vfork]: Make code unconditional.
24148 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24149 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24151 [__NR_vfork]: Make code unconditional.
24152 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24153 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24155 2012-08-01 Roland McGrath <roland@hack.frob.com>
24157 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24158 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24160 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24161 Define mkstemp64 as an alias.
24162 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24163 Define mkstemps64 as an alias.
24164 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24165 Define mkostemp64 as an alias.
24166 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24167 Define mkostemps64 as an alias.
24168 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24169 Conditionalize body on this.
24170 * misc/mkostemp64.c: Likewise.
24171 * misc/mkostemps64.c: Likewise.
24172 * misc/mkstemps64.c: Likewise.
24173 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24174 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24175 * sysdeps/wordsize-64/mkostemp.c: File removed.
24176 * sysdeps/wordsize-64/mkstemp.c: File removed.
24177 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24178 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24179 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24180 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24183 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24184 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24185 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24186 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24188 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24189 compat_symbol macros from <shlib-compat.h> rather than the underlying
24190 default_symbol_version and symbol_version macros, so that DEFAULT
24191 lines in shlib-versions are respected.
24192 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24194 2012-08-01 Florian Weimer <fweimer@redhat.com>
24196 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24197 Declare with warn_unused_result.
24198 (setgid, setregid, setegid, setresgid): Likewise.
24199 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24201 * WUR-REPORT: Remove set*id functions.
24203 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24205 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24207 2012-07-31 Roland McGrath <roland@hack.frob.com>
24210 * include/sys/socket.h (__libc_accept, __libc_accept4):
24211 Add attribute_hidden.
24212 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24214 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24216 * inet/getnetgrent_r.c (setup): Likewise.
24218 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24220 2012-07-31 David S. Miller <davem@davemloft.net>
24222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24224 2012-07-31 Joseph Myers <joseph@codesourcery.com>
24227 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24228 value between 1.0 and 2.0 and smaller part has absolute value less
24230 * math/s_clog10.c (__clog10): Likewise.
24231 * math/s_clog10f.c (__clog10f): Likewise.
24232 * math/s_clog10l.c (__clog10l): Likewise.
24233 * math/s_clogf.c (__clogf): Likewise.
24234 * math/s_clogl.c (__clogl): Likewise.
24235 * math/libm-test.inc (clog_test): Add more tests.
24236 (clog10_test): Likewise.
24237 * sysdeps/i386/fpu/libm-test-ulps: Update.
24238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24240 2012-07-31 Florian Weimer <fweimer@redhat.com>
24242 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24243 Exit with zero in case no suitable GID is found, and write a
24244 message to standard error.
24246 2012-07-30 Roland McGrath <roland@hack.frob.com>
24248 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24250 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24251 (MAXPATHLEN): Removed.
24252 (NOGROUP, NODEV): New macros.
24253 (setbit, clrbit, isset, isclr): New macros.
24254 (howmany, roundup, powerof2): New macros.
24255 (DEV_BSIZE): New macro.
24257 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24258 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24260 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24261 definition on [!__NO_LONG_DOUBLE_MATH].
24263 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24264 PTR_MANGLE and PTR_DEMANGLE.
24266 * socket/accept4.c (accept4): Rename to __libc_accept4.
24267 Define accept4 as a weak alias.
24269 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24270 on [_DIRENT_HAVE_D_TYPE].
24271 * io/ftw.c (ftw_dir): Likewise.
24273 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24275 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24277 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24278 Use the BSD numbers rather than the arbitrary ones we had.
24279 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24280 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24281 (SIGXCPU, SIGXFSZ): New macros.
24284 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24285 initializer on [_LIBC_REENTRANT].
24287 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24288 definitions inside [_POSIX_MAPPED_FILES].
24290 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24292 * dirent/opendir.c: Include <fcntl.h>.
24294 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24295 (__libc_getspecific): Likewise.
24296 (__libc_key_create): Likewise.
24298 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24299 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24300 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24301 (tmpfile64): Define as alias.
24302 * sysdeps/wordsize-64/tmpfile.c: File removed.
24303 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24304 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24305 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24307 * stdio-common/vfscanf.c: Include <stdbool.h>.
24308 * nss/makedb.c: Likewise.
24309 * stdio-common/_i18n_number.h: Likewise.
24310 * argp/argp-help.c: Likewise.
24311 * posix/wordexp.c: Likewise.
24312 * sysdeps/posix/spawni.c: Likewise.
24313 * nss/nss_files/files-initgroups.c: Likewise.
24314 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24315 * nss/nss_files/files-initgroups.c: Likewise.
24316 * nss/nss_db/db-netgrp.c: Likewise.
24317 * nss/nss_db/db-initgroups.c: Likewise.
24318 * io/fchmodat.c: Include <sys/stat.h>.
24320 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24321 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24323 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24326 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24327 Add multiple inclusion protection.
24329 2012-07-27 David S. Miller <davem@davemloft.net>
24331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24333 2012-07-27 Gary Benson <gbenson@redhat.com>
24336 * elf/rtld.c: Include <stap-probe.h>.
24337 (dl_main): Added static probes "init_start" and "init_complete".
24338 * elf/dl-load.c: Include <stap-probe.h>.
24339 (lose): Take new parameter "nsid".
24340 Added static probe "map_failed".
24341 (_dl_map_object_from_fd): Pass namespace id to lose.
24342 Added static probe "map_start".
24343 (open_verify): Pass namespace id to lose.
24344 * elf/dl-open.c: Include <stap-probe.h>.
24345 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24346 and "reloc_complete".
24347 * elf/dl-close.c: Include <stap-probe.h>.
24348 (_dl_close_worker): Added static probes "unmap_start" and
24350 * elf/rtld-debugger-interface.txt: New file documenting the above.
24352 2012-07-26 Roland McGrath <roland@hack.frob.com>
24354 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24355 rather than a string variable.
24356 * sunrpc/rpc_main.c (h_output): Likewise.
24357 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24359 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24361 * inet/check_native.c: New file.
24363 2012-07-26 Joseph Myers <joseph@codesourcery.com>
24366 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24367 if larger part has absolute value 1.0.
24368 * math/s_clog10.c (__clog10): Likewise.
24369 * math/s_clog10f.c (__clog10f): Likewise.
24370 * math/s_clog10l.c (__clog10l): Likewise.
24371 * math/s_clogf.c (__clogf): Likewise.
24372 * math/s_clogl.c (__clogl): Likewise.
24373 * math/libm-test.inc (clog_test): Add more tests.
24374 (clog10_test): Likewise.
24375 * sysdeps/i386/fpu/libm-test-ulps: Update.
24376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24378 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24379 (pltexit): Likewise.
24380 (La_regs): Likewise.
24381 (La_retval): Likewise.
24382 (int_retval): Likewise.
24383 Update #error for removed macros to refer only to definitions in
24385 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24387 (pltexit): Likewise.
24388 (La_regs): Likewise.
24389 (La_retval): Likewise.
24390 (int_retval): Likewise.
24391 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24393 (pltexit): Likewise.
24394 (La_regs): Likewise.
24395 (La_retval): Likewise.
24396 (int_retval): Likewise.
24397 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24399 (pltexit): Likewise.
24400 (La_regs): Likewise.
24401 (La_retval): Likewise.
24402 (int_retval): Likewise.
24403 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24405 (pltexit): Likewise.
24406 (La_regs): Likewise.
24407 (La_retval): Likewise.
24408 (int_retval): Likewise.
24409 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24411 (pltexit): Likewise.
24412 (La_regs): Likewise.
24413 (La_retval): Likewise.
24414 (int_retval): Likewise.
24415 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24417 (pltexit): Likewise.
24418 (La_regs): Likewise.
24419 (La_retval): Likewise.
24420 (int_retval): Likewise.
24421 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24422 macro definitions in tst-audit.h.
24423 * sysdeps/i386/tst-audit.h: New file.
24424 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24425 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24426 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24427 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24428 * sysdeps/sh/tst-audit.h: Likewise.
24429 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24430 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24431 * sysdeps/x86_64/tst-audit.h: Likewise.
24433 2012-07-26 Andreas Jaeger <aj@suse.de>
24435 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24438 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24439 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24440 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24442 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24443 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24444 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24446 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24449 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24451 (si_call_addr, si_syscall, si_arch): Define new macro.
24452 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24454 (si_call_addr, si_syscall, si_arch): Define new marcro.
24455 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24457 (si_call_addr, si_syscall, si_arch): Define new macro.
24458 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24460 (si_call_addr, si_syscall, si_arch): Define new macro.
24462 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24466 Change to 2.4.21 where previously 2.4.1.
24467 * sysdeps/unix/sysv/linux/configure: Regenerated.
24468 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24469 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24470 Linux kernel version.
24471 (__ASSUME_STD_AUXV): Remove.
24472 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24474 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24475 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24476 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24477 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24478 (__ASSUME_NETLINK_SUPPORT): Likewise.
24479 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24480 (__no_netlink_support): Remove conditional definition.
24481 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24483 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24484 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24485 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24486 (if_nameindex_ioctl): Remove.
24487 (if_nameindex_netlink): Do not handle __no_netlink_support.
24488 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24490 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24491 Remove conditional code.
24492 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24494 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24496 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24497 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24498 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24500 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24501 [!__ASSUME_STD_AUXV]: Remove conditional code.
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24503 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24504 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24506 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24507 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24509 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24511 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24512 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24514 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24516 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24519 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24522 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24523 code unconditional.
24524 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24526 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24528 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24531 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24533 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24536 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24537 code unconditional.
24538 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24540 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24542 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24545 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24546 code unconditional.
24547 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24549 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24551 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24554 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24556 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24557 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24558 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24559 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24560 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24561 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24562 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24563 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24564 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24565 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24566 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24567 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24568 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24569 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24570 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24571 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24572 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24573 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24574 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24576 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24577 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24578 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24580 2012-07-25 Florian Weimer <fweimer@redhat.com>
24582 * Versions.def: Add GLIBC_2.17.
24583 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24584 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24585 Introduce __libc_secure_getenv.
24586 * stdlib/Versions (2.17): Add secure_getenv
24587 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24588 * stdlib/secure-getenv.c: Rename __secure_getenv to
24589 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24590 symbol __secure_getenv for GLIBC_2.0.
24591 * stdlib/tst-secure-getenv.c: New.
24592 * stdlib/Makefile (tests): Add testcase.
24593 * manual/startup.texi (Environment Access): Document
24595 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24596 __libc_secure_getenv.
24597 * inet/ruserpass.c (ruserpass): Likewise.
24598 * malloc/mtrace.c (mtrace): Likewise.
24599 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24600 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24601 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24602 * sysdeps/posix/tempname.c: Likewise. Evaluate
24603 HAVE_SECURE_GETENV.
24604 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24605 __secure_getenv to __libc_secure_getenv.
24606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24619 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24621 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24622 (struct La_i86_retval): Likewise.
24623 (struct La_x86_64_regs): Likewise.
24624 (struct La_x86_64_retval): Likewise.
24625 (struct La_x32_regs): Likewise.
24626 (struct La_x32_retval): Likewise.
24627 (struct La_ppc32_regs): Likewise.
24628 (struct La_ppc32_retval): Likewise.
24629 (struct La_ppc64_regs): Likewise.
24630 (struct La_ppc64_retval): Likewise.
24631 (struct La_sh_regs): Likewise.
24632 (struct La_sh_retval): Likewise.
24633 (struct La_s390_32_regs): Likewise.
24634 (struct La_s390_32_retval): Likewise.
24635 (struct La_s390_64_regs): Likewise.
24636 (struct La_s390_64_retval): Likewise.
24637 (struct La_sparc32_regs): Likewise.
24638 (struct La_sparc32_retval): Likewise.
24639 (struct La_sparc64_regs): Likewise.
24640 (struct La_sparc64_retval): Likewise.
24641 (struct audit_ifaces): Remove architecture-specific pltenter and
24643 * sysdeps/i386/ldsodefs.h: New file.
24644 * sysdeps/powerpc/ldsodefs.h: Likewise.
24645 * sysdeps/s390/ldsodefs.h: Likewise.
24646 * sysdeps/sh/ldsodefs.h: Likewise.
24647 * sysdeps/sparc/ldsodefs.h: Likewise.
24648 * sysdeps/x86_64/ldsodefs.h: Likewise.
24650 2012-07-25 Marek Polacek <polacek@redhat.com>
24653 * math/libm-test.inc (yn_test): Add another test.
24654 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24655 to ERANGE when the result is +-Inf.
24656 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24657 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24658 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24659 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24661 2012-07-24 Joseph Myers <joseph@codesourcery.com>
24663 * conform/data/time.h-data (NULL): Use macro-constant. Require
24665 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24667 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24669 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24671 * configure.in <sysdeps resolving>: Correct printing
24673 * configure: Regenerate.
24675 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24677 * math/w_ilogb.c: Include <limits.h>.
24678 * math/w_ilogbl.c: Likewise.
24680 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24682 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24683 va_copy. Document allowing for unavailable va_copy only as
24684 pre-C99 compatibility.
24685 * manual/string.texi (Copying and Concatenation): Use va_copy
24686 instead of __va_copy in concat example.
24688 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24690 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24691 (__sendto): Use create_address_port. Initialize APORT and deallocate
24694 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24695 with O_NOLINK passed to __file_name_lookup.
24697 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24698 with O_NOLINK passed to __file_name_lookup.
24700 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24701 negative N or less than NGIDS.
24703 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24704 type to string_t. Set ERANGE as errno and return it if NAME is not big
24705 enough. Use memcpy instead of strncpy.
24707 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24709 * elf/Makefile (check-data): Remove.
24710 (localplt.data): New vpath directive.
24711 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24712 instead of $(check-data).
24713 * scripts/data/localplt-generic.data: Move to ...
24714 * sysdeps/generic/localplt.data: ... here.
24715 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24716 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24717 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24720 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24723 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24726 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24729 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24732 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24736 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24738 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24739 PPC32 and PPC64 files.
24740 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24741 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24743 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24745 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24746 __makecontext_ret to ...
24747 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24748 ... here and call exit if uc_link is NULL. New file.
24749 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24750 __makecontext_ret.S.
24751 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24752 __makecontext_ret to ...
24753 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24754 ... here and call exit if uc_link is NULL. New file.
24755 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24756 __makecontext_ret.S.
24758 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24760 * elf/elf.h (R_390_IRELATIVE): New definition.
24761 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24762 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
24763 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24764 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24765 (elf_machine_lazy_rel): Likewise.
24766 * sysdeps/s390/dl-irel.h: New file.
24767 * sysdeps/s390/s390-64/memcpy.S: New asm code.
24768 * sysdeps/s390/s390-64/memset.S: New asm code.
24769 * sysdeps/s390/s390-64/memcmp.S: New asm code.
24770 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24771 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24772 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24773 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24774 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24775 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24776 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24777 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24778 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24779 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24780 * sysdeps/s390/s390-32/memcpy.S: New asm code.
24781 * sysdeps/s390/s390-32/memset.S: New asm code.
24782 * sysdeps/s390/s390-32/memcmp.S: New asm code.
24784 2012-07-17 Marek Polacek <polacek@redhat.com>
24787 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24788 * sysdeps/s390/s390-64/configure.in: Likewise.
24789 * sysdeps/sparc/configure.in: Likewise.
24790 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24791 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24792 * sysdeps/i386/configure.in: Likewise.
24793 * sysdeps/x86_64/configure.in: Likewise.
24794 * sysdeps/sh/configure.in: Likewise.
24795 * sysdeps/s390/s390-32/configure: Regenerated.
24796 * sysdeps/s390/s390-64/configure: Likewise.
24797 * sysdeps/x86_64/configure: Likewise.
24798 * sysdeps/sh/configure: Likewise.
24799 * sysdeps/powerpc/powerpc64/configure: Likewise.
24800 * sysdeps/powerpc/powerpc32/configure: Likewise.
24801 * sysdeps/sparc/configure: Likwise.
24802 * sysdeps/i386/configure: Likewise.
24804 * elf/dl-open.c: Comment fixes.
24806 2012-07-17 Joseph Myers <joseph@codesourcery.com>
24808 * Makefile [CXX] (check-data): Remove.
24809 [CXX] (c++-types.data): New vpath directive.
24810 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24811 vpath. Do not allow for C++ type data being missing.
24812 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24813 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24814 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24815 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24816 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24817 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24818 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24821 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24824 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24827 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24830 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24833 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24836 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24839 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24842 * elf/tls-macros.h (TLS_LE): Move architecture-specific
24843 definitions to architecture-specific files.
24844 (TLS_IE): Likewise.
24845 (TLS_LD): Likewise.
24846 (TLS_GD): Likewise.
24847 * sysdeps/i386/tls-macros.h: New file.
24848 * sysdeps/powerpc/tls-macros.h: Likewise.
24849 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24850 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24851 * sysdeps/sh/tls-macros.h: Likewise.
24852 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24853 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24854 * sysdeps/x86_64/tls-macros.h: Likewise.
24856 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24858 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24859 zero value for regular exit case.
24861 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24862 (__start_context): Preserve zero value for regular exit case.
24864 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24865 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24867 * manual/setjmp.texi (setcontext): Clarify normal process
24868 termination when uc_link is the null pointer.
24869 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24872 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
24874 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24875 preprocessor. Test for each exception mask separately.
24877 2012-07-16 Andreas Jaeger <aj@suse.de>
24879 * po/ru.po: Update from translation team.
24881 2012-07-15 Joseph Myers <joseph@codesourcery.com>
24883 * conform/data/string.h-data (NULL): Use macro-constant. Require
24885 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24886 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24887 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24888 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24889 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24891 2012-07-13 Andreas Jaeger <aj@suse.de>
24893 * po/fr.po: Update from translation team.
24895 2012-07-12 Marek Polacek <polacek@redhat.com>
24898 * math/libm-test.inc (yn_test): Add test for BZ #14173.
24899 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24902 2012-07-12 Joseph Myers <joseph@codesourcery.com>
24905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24906 Change to 2.4.1 where previously 2.4.0.
24907 * sysdeps/unix/sysv/linux/configure: Regenerated.
24908 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24909 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24911 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24912 (__ASSUME_AT_CLKTCK): Remove.
24913 (__ASSUME_AT_PAGESIZE): Likewise.
24914 (__ASSUME_AT_XID): Likewise.
24915 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24916 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24917 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24919 (HAVE_AUX_PAGESIZE): Likewise.
24920 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24921 [__ASSUME_AT_CLKTCK]: Make code unconditional.
24922 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24924 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
24927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
24928 the temporary buffer used to invoke __gethostbyname2_r,
24929 __gethostbyaddr_r and gethostbyname4_r to make room for struct
24930 host_data / struct gaih_addrtuple.
24931 * resolv/nss_dns/dns-host.c (global scope): Move definition of
24932 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
24933 header file nss/nsswitch.h.
24934 * nss/nsswitch.h (global scope): Add definition of implementation
24935 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
24936 resolv/nss_dns/dns-host.c).
24938 2012-07-11 Andreas Jaeger <aj@suse.de>
24940 * po/fr.po: Update from translation team.
24942 * po/sv.po: Update from translation team
24943 * po/fr.po: Another update from translation team.
24945 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24947 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
24948 for subnormals or multiply small sinh result by itself.
24949 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24952 2012-07-11 David S. Miller <davem@davemloft.net>
24954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24956 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
24959 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
24960 (INTERNAL_MARK): Shift it here.
24962 2012-07-10 Marek Polacek <polacek@redhat.com>
24965 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
24966 libc_cv_asm_global_directive with .globl.
24967 * configure: Regenerated.
24968 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
24970 * sysdeps/i386/configure: Regenerated.
24971 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
24973 * sysdeps/x86_64/configure: Regenerated.
24974 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
24975 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
24976 * elf/tst-unique2mod2.c: Likewise.
24977 * elf/tst-unique2mod1.c: Likewise.
24978 * elf/tst-unique1mod2.c: Likewise.
24979 * elf/tst-unique1mod1.c: Likewise.
24980 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24981 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24982 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24983 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24984 * sysdeps/mach/sysdep.h: Likewise.
24985 * sysdeps/i386/sysdep.h: Likewise.
24986 * sysdeps/i386/i386-mcount.S: Likewise.
24987 * sysdeps/x86_64/_mcount.S: Likewise.
24988 * sysdeps/x86_64/sysdep.h: Likewise.
24989 * sysdeps/sh/_mcount.S: Likewise.
24990 * sysdeps/sh/sysdep.h: Likewise.
24991 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
24992 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
24993 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
24994 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24995 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
24996 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
24997 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
24998 * locale/localeinfo.h: Likewise.
24999 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25000 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25002 2012-07-09 Roland McGrath <roland@hack.frob.com>
25005 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25007 * manual/message.texi (The Uniforum approach): Likewise.
25008 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25009 (glibc iconv Implementation): Likewise.
25011 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25014 * math/s_clog.c (__clog): Avoid scaling a value down where that
25015 could result in underflow.
25016 * math/s_clog10.c (__clog10): Likewise.
25017 * math/s_clog10f.c (__clog10f): Likewise.
25018 * math/s_clog10l.c (__clog10l): Likewise.
25019 * math/s_clogf.c (__clogf): Likewise.
25020 * math/s_clogl.c (__clogl): Likewise.
25021 * math/libm-test.inc (clog_test): Add more tests.
25022 (clog10_test): Likewise.
25023 * sysdeps/i386/fpu/libm-test-ulps: Update.
25024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25026 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25029 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25030 by 7 not 8 to examine high bit of fractional part.
25033 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25034 for call to __mcount_internal.
25035 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25036 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25037 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25039 2012-07-06 Joseph Myers <joseph@codesourcery.com>
25042 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25043 approximation for values within 0x1p-13f of an odd multiple of
25045 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25046 exception. Add more tests.
25047 * sysdeps/i386/fpu/libm-test-ulps: Update.
25050 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25051 inputs and return -1 for them. Do not check for +Inf in case not
25052 reachable for +Inf.
25053 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25054 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25055 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25056 and return -1 for them. Do not check for +Inf in case not
25057 reachable for +Inf.
25058 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25060 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25061 and return -1 for them. Do not check for +Inf in case not
25062 reachable for +Inf.
25063 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25064 spurious underflow.
25065 * sysdeps/i386/fpu/libm-test-ulps: Update.
25066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25068 2012-07-06 Mike Frysinger <vapier@gentoo.org>
25070 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25072 2012-07-05 Joseph Myers <joseph@codesourcery.com>
25076 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25077 could result in spurious underflow. Scale down values above
25078 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25079 * math/s_csqrtf.c (__csqrtf): Likewise.
25080 * math/s_csqrtl.c (__csqrtl): Likewise.
25081 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25082 spurious underflow.
25083 * sysdeps/i386/fpu/libm-test-ulps: Update.
25084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25086 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25088 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25090 * catgets/xopen-msg.awk: New file.
25091 * catgets/xopen-msg.sed: Removed.
25093 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25095 * intl/po2test.awk: New file.
25096 * intl/po2test.sed: Removed.
25098 2012-07-04 Joseph Myers <joseph@codesourcery.com>
25101 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25102 or multiply small sinh result by itself.
25103 * math/s_ctanf.c (__ctanf): Likewise.
25104 * math/s_ctanh.c (__ctanh): Likewise.
25105 * math/s_ctanhf.c (__ctanhf): Likewise.
25106 * math/s_ctanhl.c (__ctanhl): Likewise.
25107 * math/s_ctanl.c (__ctanl): Likewise.
25108 * math/libm-test.inc (ctan_test_tonearest): New function.
25109 (ctan_test_towardzero): Likewise.
25110 (ctan_test_downward): Likewise.
25111 (ctan_test_upward): Likewise.
25112 (ctanh_test_tonearest): Likewise.
25113 (ctanh_test_towardzero): Likewise.
25114 (ctanh_test_downward): Likewise.
25115 (ctanh_test_upward): Likewise.
25116 (main): Call these new functions.
25117 * sysdeps/i386/fpu/libm-test-ulps: Update.
25118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25120 2012-07-03 Mike Frysinger <vapier@gentoo.org>
25122 * .gitignore: Delete /ports entry.
25124 2012-07-03 Andreas Jaeger <aj@suse.de>
25126 * po/bg.po: Update from translation team.
25127 * po/cs.po: Likewise.
25128 * po/de.po: Likewise.
25129 * po/hr.po: Likewise.
25130 * po/nl.pl: Likewise.
25131 * po/pl.po: Likewise.
25132 * po/vi.po: Likewise.
25134 2012-07-03 Joseph Myers <joseph@codesourcery.com>
25136 * Makeconfig [!+link] (+link-before-libc): New variable.
25137 [!+link] (+link-after-libc): Likewise.
25138 [!+link] (+link-tests): Likewise.
25139 [!+link] (+link): Define in terms of $(+link-before-libc) and
25140 $(+link-after-libc).
25141 [!+link-static] (+link-static-before-libc): New variable.
25142 [!+link-static] (+link-static-after-libc): Likewise.
25143 [!+link-static] (+link-static-tests): Likewise.
25144 [!+link-static] (+link-static): Define in terms of
25145 $(+link-static-before-libc) and $(+link-static-after-libc).
25146 [build-shared] (link-libc-before-gnulib): New variable.
25147 [build-shared] (link-libc-tests): Likewise.
25148 [build-shared] (link-libc): Define in terms of
25149 $(link-libc-before-gnulib).
25150 [!build-shared] (link-libc-tests): New variable.
25151 (link-libc-static-tests): New variable.
25152 [!gnulib] (gnulib-arch): New variable.
25153 [!gnulib] (gnulib-tests): Likewise.
25154 [!gnulib] (static-gnulib-arch): Likewise.
25155 [!gnulib] (static-gnulib-tests): Likewise.
25156 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25157 Define with "=" instead of ":=".
25158 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25159 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25160 * Rules (binaries-all-notests): New variable.
25161 (binaries-all-tests): Likewise.
25162 (binaries-static-notests): Likewise.
25163 (binaries-static-tests): Likewise.
25164 (binaries-all): Define using $(binaries-all-notests) and
25165 $(binaries-all-tests).
25166 (binaries-static): Define using $(binaries-static-notests) and
25167 $(binaries-static-tests).
25168 (binaries-shared-tests): New variable.
25169 (binaries-shared-notests): Likewise.
25170 (binaries-shared): Remove variable.
25171 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25172 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25173 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25174 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25175 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25176 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25177 * elf/Makefile (sln-modules): New variable.
25178 (extra-objs): Add $(sln-modules:=.o).
25179 (ldconfig-modules): Add static-stubs.
25180 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25181 * elf/static-stubs.c: New file.
25184 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25185 by 7 not 8 to examine high bit of fractional part. Use volatile
25186 variables when splitting into final array of floats if
25187 __FLT_EVAL_METHOD__ != 0.
25188 * math/libm-test.inc (cos_test): Add another test.
25189 (sin_test): Likewise.
25190 * sysdeps/i386/fpu/libm-test-ulps: Update.
25193 * math/libm-test.inc (cosh_test): Add more tests.
25195 * version.h (RELEASE): Set to "development".
25196 (VERSION): Set to "2.16.90".
25198 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25200 * NEWS: Update copyright. Remove last-updated date.
25201 Mention math library bug fixes and timezone data changes.
25202 * README: Mention GNU/Hurd, x32, and HPPA support status.
25204 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25206 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25208 2012-06-27 Andreas Jaeger <aj@suse.de>
25210 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25212 2012-06-25 Andreas Jaeger <aj@suse.de>
25214 * sysdeps/s390/fpu/libm-test-ulps: Update.
25216 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25217 Thomas Schwinge <thomas@codesourcery.com>
25219 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25220 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25224 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25226 * sysdeps/mach/start.c: Remove file.
25227 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25228 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25229 * sysdeps/sh/init-first.c: Likewise.
25231 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25232 registers for frame unwinding purposes, add CFI directives.
25233 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25234 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25235 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25238 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25239 __fortify_fail returning.
25240 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25242 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25243 sysdeps/sh/____longjmp_chk.S.
25244 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25245 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25246 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25247 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25249 * sysdeps/sh/abort-instr.h: New file.
25250 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25251 process in case exit returns.
25253 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25254 initialize the GOT register before use.
25256 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25257 calculation of ARGC > 4.
25259 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25260 meaningful names to some local labels.
25262 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25263 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25265 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25266 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25267 (__arch_compare_and_exchange_val_16_acq): Likewise.
25268 (__arch_compare_and_exchange_val_32_acq): Likewise.
25269 (atomic_exchange_and_add): Fix gUSA sequence.
25270 (atomic_add): Likewise.
25271 (atomic_add_negative): Likewise.
25272 (atomic_add_zero): Likewise.
25273 (atomic_bit_test_set): Likewise.
25275 2012-06-22 Andreas Schwab <schwab@redhat.com>
25278 * include/link.h (struct link_map): Add l_free_initfini.
25279 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25281 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25282 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25283 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25286 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25288 * configure.in: Use AC_LANG_SOURCE.
25289 * configure: Regenerate.
25291 2012-06-22 Roland McGrath <roland@hack.frob.com>
25293 * configure.in (libc_cv_localstatedir): New substituted variable.
25294 * configure: Regenerated.
25295 * config.make.in (localstatedir): New variable, substituted from
25296 libc_cv_localstatedir.
25297 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25298 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25299 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25300 * sysdeps/gnu/configure: Regenerated.
25302 2012-06-21 Jeff Law <law@redhat.com>
25305 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25306 free. Simplify list management for _LIBC case.
25308 2012-06-21 Joseph Myers <joseph@codesourcery.com>
25311 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25312 Clear sign bit of 64-bit integer value before comparing against
25315 * sysdeps/mach/configure: Regenerated.
25317 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25320 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25322 2012-06-21 Jeff Law <law@redhat.com>
25325 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25326 uint16_t for elements in the "seen" array to avoid char overflows.
25327 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25328 * elf/dl-open.c (dl_open_worker): Likewise.
25330 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25332 * scripts/list-sources.sh: Scan PORTS for translations.
25333 * po/libc.pot: Regenerated.
25335 2012-06-21 Andreas Jaeger <aj@suse.de>
25338 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25340 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25341 * bits/byteswap-16.h (__bswap_16): Likewise.
25342 * bits/byteswap.h (__bswap_constant_16): Likewise.
25344 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25347 * sysdeps/i386/fpu_control.h: Removed.
25348 * sysdeps/x86_64/fpu_control.h: Moved to ...
25349 * sysdeps/x86/fpu_control.h: Here.
25351 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25352 (_FPU_SETCW): Likewise.
25354 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25357 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25358 * sysdeps/x86/fpu/bits/mathinline.h: This.
25359 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25363 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25364 functions if __x86_64__ is defined.
25366 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25368 * string/endian.h: Add !__ASSEMBLER__ condition for including
25369 conversion interfaces.
25371 2012-06-15 Joseph Myers <joseph@codesourcery.com>
25374 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25375 of ABS(x) in calculating zero to negative powers other than odd
25377 * math/libm-test.inc (pow_test): Add more tests.
25379 2012-06-15 Andreas Jaeger <aj@suse.de>
25381 * manual/contrib.texi (Contributors): Update entry of Liubov
25382 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25385 2012-06-15 Cyril Hrubis <metan@ucw.cz>
25387 * string/string.h: Add __wur to GNU version of strerror_r.
25389 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25392 * string/Makefile (tests): Add tst-strtok_r.
25393 * string/tst-strtok_r.c: New file.
25394 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25395 RAX_LP/RDX_LP on SAVE_PTR.
25397 2012-06-14 Roland McGrath <roland@hack.frob.com>
25399 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25401 2012-06-14 Joseph Myers <joseph@codesourcery.com>
25403 * libm_test.inc (csqrt_test): Allow more spurious underflow
25405 (j0_test): Likewise.
25406 (j1_test): Likewise.
25407 (y0_test): Likewise.
25408 (y1_test): Likewise.
25410 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25412 * po/Makefile (libc.pot): Use UTF-8 charset.
25414 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25417 Suppress sign-conversion warning from FD_SET.
25418 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25419 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25420 not unsigned long int.
25421 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25423 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25427 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25428 __extern_always_inline instead of __extern_inline.
25429 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25430 (__signbit): Likewise.
25431 (__signbitl): Support C++ namespace.
25432 (lrintf): New inline function.
25434 (llrintf): Likewise.
25435 (llrint): Likewise.
25445 (floorf): Likewise.
25446 (nearbyint): Likewise.
25447 (nearbyintf): Likewise.
25449 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25451 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25452 non-default versions.
25454 2012-06-11 Roland McGrath <roland@hack.frob.com>
25457 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25459 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25461 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25462 (FE_UPWARD, FE_DOWNWARD): Don't define.
25463 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25464 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25466 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25468 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25469 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25471 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25473 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25474 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25475 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25476 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25478 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25481 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25482 * sysdeps/i386/fpu/Implies: New file.
25483 * sysdeps/x86_64/fpu/Implies: Likewise.
25484 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25485 * sysdeps/x86/fpu/bits/fenv.h: This.
25487 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25490 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25493 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25494 character 0xffff that matches the last element of the
25497 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25499 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25502 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25504 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25505 values higher than 25.6283.
25507 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25509 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25510 subnormal exponent extraction and add some __builtin_expect.
25511 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25512 Fix for subnormal mantissa calculation.
25514 2012-06-04 Mike Frysinger <vapier@gentoo.org>
25516 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25517 cpu2 is -1 and errno is not ENOSYS.
25519 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25522 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25523 * sysdeps/x86/bits/string.h: This.
25524 * sysdeps/x86_64/bits/string.h: Removed.
25526 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25527 if not compiling for x86-64, but compiling for >= i486.
25529 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25530 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25532 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25533 New macro from Linux kernel 3.4.0.
25534 (FP_XSTATE_MAGIC2): Likewise.
25535 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25536 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25537 (struct _fpx_sw_bytes): New struct.
25538 (struct _xsave_hdr): Likewise.
25539 (struct _ymmh_state): Likewise.
25540 (struct _xstate): Likewise.
25542 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25543 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25544 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25545 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25546 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25547 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25549 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25550 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25551 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25552 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25553 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25554 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25556 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25559 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25560 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25561 (sysdep_headers): Include sys/platform/ppc.h.
25562 * sysdeps/powerpc/test-gettimebase.c: Test for
25563 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25564 * manual/Makefile (appendices): Include platform.texi.
25565 * manual/contrib.texi (Contributors): Update @node pointers.
25566 * manual/maint.texi (Maintenance): Likewise.
25567 (Platform): New node.
25568 * manual/platform.texi: New file. Document the new features.
25570 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25571 Jakub Jelinek <jakub@redhat.com>
25574 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25575 where __builtin_expect is unavailable.
25577 2012-06-03 David S. Miller <davem@davemloft.net>
25579 * stdlib/longlong.h: Updated from GCC.
25581 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25584 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25585 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25588 (GLIBC_2.16): Likewise.
25590 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25592 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25594 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25597 (default-abi): New variable.
25598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25599 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25601 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25603 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25605 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25608 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25609 definition. Document in comment.
25611 2012-06-01 David S. Miller <davem@davemloft.net>
25613 * stdlib/longlong.h: Updated from GCC.
25615 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25618 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25619 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25620 sys/debugreg.h sys/io.h here.
25621 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25622 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25624 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25625 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25626 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25627 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25628 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25629 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25631 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25632 Define only if __x86_64__ is defined.
25634 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25637 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25638 Use int64_t for variable i.
25639 * math/libm-test.inc (fmod_test): Add more tests.
25641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25642 z computation is not scheduled after fetestexcept.
25643 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25644 Use math_force_eval instead of asm to ensure calculation scheduled
25645 before exception test.
25646 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25647 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25649 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25652 computation is not scheduled after fetestexcept.
25654 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25657 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25658 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25660 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25662 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25663 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25665 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25668 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25670 (__WCHAR_MIN): Support __WORDSIZE == 64.
25671 (__WCHAR_MAX): Likewise.
25673 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25674 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25678 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25681 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25682 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25684 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25685 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25687 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25688 Defined to 1 if __x86_64__ isn't defined.
25689 (_STAT_VER_LINUX_OLD): New.
25690 (st_atime): Remove duplicate.
25691 (st_mtime): Likewise.
25692 (st_ctime): Likewise.
25694 2012-05-31 David S. Miller <davem@davemloft.net>
25696 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25699 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25701 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25705 * elf/dl-reloc.c: Include <_itoa.h>.
25706 (_dl_reloc_bad_type): Remove use of INTUSE.
25707 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25708 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25709 * stdio-common/psiginfo.c (psiginfo): Likewise.
25710 * stdio-common/psignal.c (psignal): Likewise.
25711 * string/strsignal.c (strsignal): Likewise.
25712 * include/signal.h (_sys_siglist): Declare hidden proto.
25713 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25714 INTVARDEF with libc_hidden_data_def.
25715 * stdio-common/itoa-udigits.c: Likewise.
25716 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25717 (_itoa_lower_digits_internal): Remove declaration.
25718 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25719 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25720 (_sys_sigabbrev_internal): Remove aliases.
25721 (_sys_siglist): Define hidden alias.
25723 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25728 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25731 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25732 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25734 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25735 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25736 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25737 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25738 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25739 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25741 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25742 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25743 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25745 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25753 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25754 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25755 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25757 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25758 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25759 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25760 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25761 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25762 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25764 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25765 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25767 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25768 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25770 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25771 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25772 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25774 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25775 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25777 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25779 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25780 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25781 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25783 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25785 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25787 2012-05-31 Joseph Myers <joseph@codesourcery.com>
25789 * math/math.h (M_El): Use two more decimal places.
25790 (M_LOG2El): Likewise.
25791 (M_LOG10El): Likewise.
25792 (M_LN2l): Likewise.
25793 (M_LN10l): Likewise.
25795 (M_PI_2l): Likewise.
25796 (M_PI_4l): Likewise.
25797 (M_1_PIl): Likewise.
25798 (M_2_PIl): Likewise.
25799 (M_2_SQRTPIl): Likewise.
25800 (M_SQRT2l): Likewise.
25801 (M_SQRT1_2l): Likewise.
25803 2012-05-31 David S. Miller <davem@davemloft.net>
25805 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25806 values between float registers.
25807 * sysdeps/sparc/sparc64/memset.S: Likewise.
25808 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25810 2012-05-31 Mike Frysinger <vapier@gentoo.org>
25812 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25813 -D_FORTIFY_SOURCE=1.
25814 (CPPFLAGS-tst-longjmp_chk.c): Define.
25815 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25816 (CPPFLAGS-tst-longjmp_chk2.c): Define.
25817 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25818 CFLAGS-tst-wchar-h.c.
25820 2012-05-31 Marek Polacek <polacek@redhat.com>
25823 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25824 __endmntent_internal): Remove declaration.
25825 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25826 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25827 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25829 2012-05-30 David S. Miller <davem@davemloft.net>
25831 * sysdeps/sparc/sparc32/soft-fp/q_util.c
25832 (___Q_simulate_exceptions): Use real FP ops rather than writing
25834 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25837 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25840 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25841 * sysdeps/x86/bits/xtitypes.h: This.
25843 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25844 * sysdeps/x86/bits/wordsize.h: This.
25846 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25847 * sysdeps/x86/bits/huge_vall.h: This.
25849 * sysdeps/i386/bits/select.h: Removed.
25850 * sysdeps/x86_64/bits/select.h: Renamed to ...
25851 * sysdeps/x86/bits/select.h: This.
25853 * sysdeps/i386/bits/setjmp.h: Removed.
25854 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25855 * sysdeps/x86/bits/setjmp.h: This.
25857 * sysdeps/i386/bits/mathdef.h: Removed.
25858 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25859 * sysdeps/x86/bits/mathdef.h: This.
25861 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
25864 * include/sys/socket.h (__connect_internal)
25865 (__libc_sa_len_internal): Remove declaration.
25866 (__connect, __libc_sa_len): Declare hidden_proto.
25867 (SA_LEN): Remove use of INTUSE.
25868 * socket/connect.c: Add libc_hidden_def.
25869 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25870 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25871 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25873 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25874 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25875 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25876 of adding _internal alias.
25878 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25881 * sysdeps/i386/bits/link.h: Removed.
25882 * sysdeps/i386/bits/linkmap.h: Likewise.
25883 * sysdeps/x86_64/bits/link.h: Renamed to ...
25884 * sysdeps/x86/bits/link.h: This.
25885 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25886 * sysdeps/x86/bits/linkmap.h: This.
25888 * sysdeps/i386/bits/endian.h: Removed.
25889 * sysdeps/x86_64/bits/endian.h: Renamed to ...
25890 * sysdeps/x86/bits/endian.h: This.
25892 * sysdeps/i386/bits/byteswap.h: Removed.
25893 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25894 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25895 * sysdeps/x86/bits/byteswap.h: This.
25896 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25897 * sysdeps/x86/bits/byteswap-16.h: This.
25898 * sysdeps/i386/Implies: Add x86.
25899 * sysdeps/x86_64/Implies: Likewise.
25901 2012-05-30 David S. Miller <davem@davemloft.net>
25903 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25904 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25905 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25906 (FP_TRAPPING_EXCEPTIONS): Define.
25907 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25908 (FP_TRAPPING_EXCEPTIONS): Define.
25909 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25910 subnormals only when inexact has been signalled or underflow
25911 exceptions are enabled.
25912 (_FP_PACK_CANONICAL): Likewise.
25914 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25917 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25918 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25920 2012-05-30 Richard Henderson <rth@twiddle.net>
25922 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25923 with #ifndef NOT_IN_libc.
25925 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
25926 marked to avoid plt entry.
25928 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25931 * Makeconfig (default-abi): New macro.
25932 (abi-includes): Likewise.
25933 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
25934 $(abi-$(default-abi)-lib-soname) for soname if defined.
25935 ($(common-objpfx)gnu/lib-names.stmp): Generate from
25937 * Makefile (installed-stubs): Likewise.
25938 * include/stubs-biarch.h: Removed.
25939 * scripts/lib-names.awk: Only handle one library at a time.
25940 * scripts/soversions.awk: Remove WORDSIZE support.
25941 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
25943 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
25945 (syscall-list-default-condition): Likewise.
25946 (syscall-list-default-condition): Likewise.
25947 (syscall-list-includes): Likewise.
25948 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
25949 syscall-list-* with abi-*. Handle undefined abi-variants.
25950 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
25951 * sysdeps/unix/sysv/linux/i386/Implies: New file.
25952 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
25953 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
25954 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
25955 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
25957 (syscall-list-32-options): Likewise.
25958 (syscall-list-32-condition): Likewise.
25959 (syscall-list-64-options): Likewise.
25960 (syscall-list-64-condition): Likewise.
25961 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
25963 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
25966 (abi-64-ld-soname): New macro.
25967 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
25968 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
25971 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
25972 * sysdeps/x86_64/x32/shlib-versions: Likewise.
25974 2012-05-30 Joseph Myers <joseph@codesourcery.com>
25976 * sysdeps/unix/sysv/linux/kernel-features.h
25977 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
25978 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
25979 include <kernel-features.h>.
25980 [!__NR_ftruncate64]: Remove conditional code.
25981 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25982 [__NR_ftruncate64]: Make code unconditional.
25983 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25984 * sysdeps/unix/sysv/linux/truncate64.c: Do not
25985 include <kernel-features.h>.
25986 [!__NR_ftruncate64]: Remove conditional code.
25987 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25988 [__NR_ftruncate64]: Make code unconditional.
25989 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
25991 include <kernel-features.h>.
25992 [!__NR_ftruncate64]: Remove conditional code.
25993 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25994 [__NR_ftruncate64]: Make code unconditional.
25995 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25997 include <kernel-features.h>.
25998 [!__NR_ftruncate64]: Remove conditional code.
25999 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26000 [__NR_ftruncate64]: Make code unconditional.
26001 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26003 * configure.in (libc_cv_fpie): Weaken to a compile test using
26004 LIBC_TRY_CC_OPTION.
26005 * configure: Regenerated.
26007 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26022 2012-05-27 David S. Miller <davem@davemloft.net>
26024 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26026 (__Q_simulate_exceptions): Return void. Change to simulate
26027 exceptions by writing into the %fsr.
26028 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26029 (__Qp_handle_exceptions): Likewise.
26031 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26032 __Qp_handle_exceptions.
26033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26034 __Qp_handle_exceptions.
26035 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26036 as unused and give dummy FP_RND_NEAREST initializer.
26037 (FP_INHIBIT_RESULTS): Define.
26038 (___Q_simulate_exceptions): Update declaration.
26039 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26041 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26042 as unused and give dummy FP_RND_NEAREST initializer.
26043 (__Qp_handle_exceptions): Update declaration.
26044 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26047 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26049 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26050 the temporary FPU control word.
26051 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26052 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26053 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26054 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26055 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26056 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26057 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26058 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26059 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26060 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26061 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26063 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26065 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26068 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26070 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26071 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26072 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26073 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26075 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26076 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26079 2012-05-27 Ulrich Drepper <drepper@gmail.com>
26081 * po/h.po: Update from translation team.
26083 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26085 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26087 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26088 handling of denormals.
26089 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26090 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26091 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26092 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26094 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26098 2012-05-26 Marek Polacek <polacek@redhat.com>
26101 * math/libm-test.inc (fma_test): Don't always expect underflow
26104 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26107 * elf/tst-execstack.c: Include stackinfo.h.
26108 (do_test): Adjust test case to ensure that pthread_getattr_np
26109 behaviour remains the same after marking stack executable.
26111 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26113 * sysdeps/unix/sysv/linux/kernel-features.h
26114 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26115 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26117 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26118 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26119 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26121 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26122 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26124 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26126 * configure.in: Define the default includes to being none.
26127 * configure: Regenerated.
26129 2012-05-25 Roland McGrath <roland@hack.frob.com>
26131 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26132 * sysdeps/x86_64/setjmp.S: Likewise.
26133 * sysdeps/i386/bsd-setjmp.S: Likewise.
26134 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26135 * sysdeps/i386/setjmp.S: Likewise.
26136 * sysdeps/i386/__longjmp.S: Likewise.
26137 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26138 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26140 * include/stap-probe.h: New file.
26141 * configure.in: Handle --enable-systemtap.
26142 * configure: Regenerated.
26143 * config.h.in (USE_STAP_PROBE): New #undef.
26144 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26145 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26146 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26148 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26151 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26152 to 2.4.0 where earlier.
26153 * sysdeps/unix/sysv/linux/configure: Regenerated.
26154 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26155 <kernel-features.h>.
26156 [__ASSUME_32BITUIDS]: Make code unconditional.
26157 [!__ASSUME_32BITUIDS]: Remove conditional code.
26158 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26159 <kernel-features.h>.
26160 [__ASSUME_32BITUIDS]: Make code unconditional.
26161 [!__ASSUME_32BITUIDS]: Remove conditional code.
26162 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26163 [__ASSUME_32BITUIDS]: Make code unconditional.
26164 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26165 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26166 <kernel-features.h>.
26167 [__ASSUME_32BITUIDS]: Make code unconditional.
26168 [!__ASSUME_32BITUIDS]: Remove conditional code.
26169 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26170 <kernel-features.h>.
26171 [__ASSUME_32BITUIDS]: Make code unconditional.
26172 [!__ASSUME_32BITUIDS]: Remove conditional code.
26173 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
26206 <kernel-features.h>.
26207 [__NR_setresgid] (__setresgid): Do not declare.
26208 [__ASSUME_32BITUIDS]: Make code unconditional.
26209 [!__ASSUME_32BITUIDS]: Remove conditional code.
26210 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26211 <kernel-features.h>.
26212 [__NR_setresuid] (__setresuid): Do not declare.
26213 [__ASSUME_32BITUIDS]: Make code unconditional.
26214 [!__ASSUME_32BITUIDS]: Remove conditional code.
26215 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26216 <kernel-features.h>.
26217 [__ASSUME_32BITUIDS]: Make code unconditional.
26218 [!__ASSUME_32BITUIDS]: Remove conditional code.
26219 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26220 <kernel-features.h>.
26221 [__ASSUME_32BITUIDS]: Make code unconditional.
26222 [!__ASSUME_32BITUIDS]: Remove conditional code.
26223 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
26256 (__ASSUME_SETRESUID_SYSCALL): Remove.
26257 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26258 (__ASSUME_32BITUIDS): Likewise.
26259 (__ASSUME_LDT_WORKS): Likewise.
26260 (__ASSUME_O_DIRECTORY): Likewise.
26261 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26262 architecture but not kernel version.
26263 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26264 (__ASSUME_MMAP2_SYSCALL): Likewise.
26265 (__ASSUME_STAT64_SYSCALL): Likewise.
26266 (__ASSUME_IPC64): Likewise.
26267 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26268 <kernel-features.h>.
26269 [__ASSUME_32BITUIDS]: Make code unconditional.
26270 [!__ASSUME_32BITUIDS]: Remove conditional code.
26271 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26272 <kernel-features.h>.
26273 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26274 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26275 132096]: Remove conditional code.
26276 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26277 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26278 <kernel-features.h>.
26279 [__ASSUME_32BITUIDS]: Make code unconditional.
26280 [!__ASSUME_32BITUIDS]: Remove conditional code.
26281 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26282 <kernel-features.h>.
26283 [__ASSUME_32BITUIDS]: Make code unconditional.
26284 [!__ASSUME_32BITUIDS]: Remove conditional code.
26285 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26286 <kernel-features.h>.
26287 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26289 (__setresgid): Do not declare.
26290 [__ASSUME_32BITUIDS]: Make code unconditional.
26291 [!__ASSUME_32BITUIDS]: Remove conditional code.
26292 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26293 <kernel-features.h>.
26294 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26296 (__setresuid): Do not declare.
26297 [__ASSUME_32BITUIDS]: Make code unconditional.
26298 [!__ASSUME_32BITUIDS]: Remove conditional code.
26299 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26300 <kernel-features.h>.
26301 [__ASSUME_32BITUIDS]: Make code unconditional.
26302 [!__ASSUME_32BITUIDS]: Remove conditional code.
26303 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26304 <kernel-features.h>.
26305 [__ASSUME_32BITUIDS]: Make code unconditional.
26306 [!__ASSUME_32BITUIDS]: Remove conditional code.
26308 2012-05-25 Richard Henderson <rth@twiddle.net>
26310 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26311 dl_hwcap to ifunc resolver.
26312 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26314 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26315 dl_hwcap to ifunc resolver.
26316 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26318 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26321 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26322 for |x| <= 2**-26, not 2**-57.
26323 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26326 2012-05-24 Jeff Law <law@redhat.com>
26328 * stdio-common/Makefile (tests): Add bug25.
26329 * stdio-common/bug25.c: New test.
26331 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26334 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26335 multiple of MALLOC_ALIGNMENT in size.
26336 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26338 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26340 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26342 (FILENAME_MAX): Use macro-int-constant.
26343 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26344 (_IOFBF): Use macro-int-constant.
26345 (_IOLBF): Likewise.
26346 (_IONBF): Likewise.
26347 (SEEK_CUR): Likewise.
26348 (SEEK_END): Likewise.
26349 (SEEK_SET): Likewise.
26350 (TMP_MAX): Likewise.
26351 (EOF): Use macro-int-constant. Require < 0.
26352 (NULL): Use macro-constant. Require == 0.
26353 (stdin): Require type to be FILE *.
26354 (stdout): Likewise.
26355 (stderr): Likewise.
26356 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26357 macro-int-constant.
26358 (EXIT_SUCCESS): Likewise.
26359 (NULL): Use macro-constant. Require == 0.
26360 (RAND_MAX): Use macro-int-constant.
26361 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26362 [C99-based standards] (strtof): Require function.
26363 [C99-based standards] (strtold): Likewise.
26364 [C99-based standards] (strtoll): Likewise.
26365 [C99-based standards] (strtoull): Likewise.
26366 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26367 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26368 [ISO || ISO99 || ISO11] (math.h): Likewise.
26369 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26370 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26371 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26373 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26376 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26377 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26378 * intl/dgettext.c (DCGETTEXT): Likewise.
26379 * intl/gettext.c (DCGETTEXT): Likewise.
26380 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26381 * posix/regex_internal.h (gettext): Likewise.
26382 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26383 Remove declaration.
26384 * include/argz.h (__argz_count_internal)
26385 (__argz_stringify_internal): Remove declaration.
26386 (__argz_count, __argz_stringify): Declare hidden proto.
26387 * intl/dcgettext.c: Remove use of INTDEF.
26388 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26389 * string/argz-stringify.c: Likewise.
26390 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26391 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26392 Declare hidden proto.
26393 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26394 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26395 Declare hidden proto.
26396 * include/stdio.h (__asprintf_internal): Don't declare.
26397 (__asprintf): Don't define as macro. Declare hidden proto.
26398 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26399 (__fsetlocking): Declare hidden proto.
26400 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26401 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26403 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26404 (_IO_setlinebuf): Remove use of INTUSE.
26405 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26406 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26407 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26408 Remove declaration.
26409 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26410 (_IO_do_flush): Remove use of INTUSE.
26411 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26412 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26413 (_IO_adjust_column, _IO_least_wmarker)
26414 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26415 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26416 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26417 (_IO_default_doallocate, _IO_wdefault_doallocate)
26418 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26419 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26420 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26421 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26422 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26423 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26424 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26425 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26426 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26427 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26428 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26429 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26430 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26432 (_IO_flush_all_internal, _IO_adjust_column_internal)
26433 (_IO_default_uflow_internal, _IO_default_finish_internal)
26434 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26435 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26436 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26437 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26438 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26439 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26440 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26441 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26442 (_IO_file_close_internal, _IO_file_close_it_internal)
26443 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26444 (_IO_file_init_internal, _IO_file_attach_internal)
26445 (_IO_file_fopen_internal, _IO_file_read_internal)
26446 (_IO_file_sync_internal, _IO_file_seek_internal)
26447 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26448 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26449 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26450 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26451 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26452 (_IO_list_all_internal, _IO_link_in_internal)
26453 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26454 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26455 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26456 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26457 (_IO_do_write_internal, _IO_padn_internal)
26458 (_IO_getline_info_internal, _IO_getline_internal)
26459 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26460 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26461 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26462 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26463 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26464 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26465 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26466 with libc_hidden_ver, remove use of INTUSE.
26467 * libio/genops.c: Likewise.
26468 * libio/freopen.c: Likewise.
26469 * libio/freopen64.c: Likewise.
26470 * libio/iofclose.c: Likewise.
26471 * libio/iofdopen.c: Likewise.
26472 * libio/iofflush.c: Likewise.
26473 * libio/iofflush_u.c: Likewise.
26474 * libio/iofgets.c: Likewise.
26475 * libio/iofgets_u.c: Likewise.
26476 * libio/iofopen.c: Likewise.
26477 * libio/iofopncook.c: Likewise.
26478 * libio/iofread.c: Likewise.
26479 * libio/iofread_u.c: Likewise.
26480 * libio/ioftell.c: Likewise.
26481 * libio/iofwrite.c: Likewise.
26482 * libio/iogetline.c: Likewise.
26483 * libio/iogets.c: Likewise.
26484 * libio/iogetwline.c: Likewise.
26485 * libio/iopadn.c: Likewise.
26486 * libio/iopopen.c: Likewise.
26487 * libio/ioseekoff.c: Likewise.
26488 * libio/ioseekpos.c: Likewise.
26489 * libio/iosetbuffer.c: Likewise.
26490 * libio/iosetvbuf.c: Likewise.
26491 * libio/ioungetc.c: Likewise.
26492 * libio/ioungetwc.c: Likewise.
26493 * libio/iovdprintf.c: Likewise.
26494 * libio/iovsprintf.c: Likewise.
26495 * libio/iovsscanf.c: Likewise.
26496 * libio/memstream.c: Likewise.
26497 * libio/obprintf.c: Likewise.
26498 * libio/oldfileops.c: Likewise.
26499 * libio/oldiofclose.c: Likewise.
26500 * libio/oldiofdopen.c: Likewise.
26501 * libio/oldiofopen.c: Likewise.
26502 * libio/oldiopopen.c: Likewise.
26503 * libio/oldstdfiles.c: Likewise.
26504 * libio/putc.c: Likewise.
26505 * libio/setbuf.c: Likewise.
26506 * libio/setlinebuf.c: Likewise.
26507 * libio/stdfiles.c: Likewise.
26508 * libio/strops.c: Likewise.
26509 * libio/vasprintf.c: Likewise.
26510 * libio/vscanf.c: Likewise.
26511 * libio/vsnprintf.c: Likewise.
26512 * libio/vswprintf.c: Likewise.
26513 * libio/wfiledoalloc.c: Likewise.
26514 * libio/wfileops.c: Likewise.
26515 * libio/wgenops.c: Likewise.
26516 * libio/wmemstream.c: Likewise.
26517 * libio/wstrops.c: Likewise.
26518 * libio/__fpurge.c: Likewise.
26519 * libio/__fsetlocking.c: Likewise.
26520 * assert/assert.c: Likewise.
26521 * debug/fgets_chk.c: Likewise.
26522 * debug/fgets_u_chk.c: Likewise.
26523 * debug/fread_chk.c: Likewise.
26524 * debug/fread_u_chk.c: Likewise.
26525 * debug/gets_chk.c: Likewise.
26526 * debug/obprintf_chk.c: Likewise.
26527 * debug/vasprintf_chk.c: Likewise.
26528 * debug/vdprintf_chk.c: Likewise.
26529 * debug/vsnprintf_chk.c: Likewise.
26530 * debug/vsprintf_chk.c: Likewise.
26531 * malloc/mtrace.c: Likewise.
26532 * misc/error.c: Likewise.
26533 * misc/syslog.c: Likewise.
26534 * stdio-common/asprintf.c: Likewise.
26535 * stdio-common/fxprintf.c: Likewise.
26536 * stdio-common/getw.c: Likewise.
26537 * stdio-common/isoc99_fscanf.c: Likewise.
26538 * stdio-common/isoc99_scanf.c: Likewise.
26539 * stdio-common/isoc99_vfscanf.c: Likewise.
26540 * stdio-common/isoc99_vscanf.c: Likewise.
26541 * stdio-common/isoc99_vsscanf.c: Likewise.
26542 * stdio-common/printf-prs.c: Likewise.
26543 * stdio-common/printf_fp.c: Likewise.
26544 * stdio-common/printf_fphex.c: Likewise.
26545 * stdio-common/printf_size.c: Likewise.
26546 * stdio-common/putw.c: Likewise.
26547 * stdio-common/scanf.c: Likewise.
26548 * stdio-common/sprintf.c: Likewise.
26549 * stdio-common/tmpfile.c: Likewise.
26550 * stdio-common/vfprintf.c: Likewise.
26551 * stdio-common/vfscanf.c: Likewise.
26552 * stdlib/strfmon_l.c: Likewise.
26553 * sunrpc/openchild.c: Likewise.
26554 * sunrpc/xdr_stdio.c: Likewise.
26555 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26556 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26558 2012-05-24 Roland McGrath <roland@hack.frob.com>
26560 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26562 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26563 in the third column, to generate for the shared library an IFUNC
26564 that uses _dl_vdso_vsym.
26565 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26566 * Makeconfig (object-suffixes-noshared): New variable.
26568 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26569 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26570 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26571 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26574 * include/sys/time.h (__gettimeofday): Remove macro.
26575 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26576 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26578 (__gettimeofday): Add libc_hidden_def.
26579 (gettimeofday): Add libc_hidden_weak.
26580 * sysdeps/mach/gettimeofday.c: Likewise.
26581 * sysdeps/posix/gettimeofday.c: Likewise.
26582 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26583 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26584 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26585 (__gettimeofday_internal): Remove strong_alias.
26586 (__gettimeofday): Add libc_hidden_def.
26587 (gettimeofday): Add libc_hidden_weak.
26588 * sysdeps/unix/syscalls.list (gettimeofday):
26589 Remove __gettimeofday_internal alias.
26591 2012-05-24 Daniel Jacobowitz <drow@false.org>
26592 H.J. Lu <hongjiu.lu@intel.com>
26595 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26596 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26597 (largebin_index_32_big): New.
26598 (largebin_index): Use it for 16-byte alignment.
26599 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26600 correction with front_misalign.
26602 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26630 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26631 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26633 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26637 * math/libm-test.inc (exp_test): Add test from bug 14036.
26638 (pow_test): Add test from bug 10846.
26640 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26642 (special_function): Do not include flags in test name.
26643 (parse_args): Likewise.
26644 * sysdeps/i386/fpu/libm-test-ulps: Update.
26645 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26646 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26647 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26650 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26652 * math/libm-test.inc ("Philosophy"): Update comment about
26654 (UNDERFLOW_EXCEPTION): New macro.
26655 (UNDERFLOW_EXCEPTION_OK): Likewise.
26656 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26657 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26658 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26659 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26660 (INVALID_EXCEPTION_OK): Update value.
26661 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26662 (OVERFLOW_EXCEPTION_OK): Likewise.
26663 (IGNORE_ZERO_INF_SIGN): Likewise.
26664 (test_exceptions): Handle underflow exceptions.
26665 (acos_test): Update for underflow exception expectations.
26666 (cexp_test): Likewise.
26667 (clog_test): Likewise.
26668 (clog10_test): Likewise.
26669 (csqrt_test): Likewise.
26670 (ctan_test): Likewise.
26671 (ctanh_test): Likewise.
26672 (exp_test): Likewise.
26673 (exp10_test): Likewise.
26674 (exp2_test): Likewise.
26675 (expm1_test): Likewise.
26676 (fma_test): Likewise.
26677 (j0_test): Likewise.
26678 (jn_test): Likewise.
26679 (nexttoward_test): Likewise.
26680 (pow_test): Likewise.
26681 (scalbn_test): Likewise.
26682 (scalbln_test): Likewise.
26683 (tan_test): Likewise.
26684 (y1_test): Likewise.
26685 * sysdeps/i386/fpu/libm-test-ulps: Update.
26686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26688 2012-05-23 David S. Miller <davem@davemloft.net>
26690 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26691 (__libc_sigaction): Remove unused local variables.
26693 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26695 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26697 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26699 mktime: avoid signed integer overflow
26700 * time/mktime.c (__mktime_internal): Do not mishandle the case
26701 where diff == INT_MIN.
26703 mktime: simplify computation of average
26704 * time/mktime.c (ranged_convert): Use new time_t_avg function
26705 instead of rolling our own (probably-slower) code.
26707 mktime: do not assume signed right shift propagates sign bit
26708 * time/mktime.c (isdst_differ): New static function.
26709 (__mktime_internal): No need to normalize tm_isdst now.
26710 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26713 mktime: merge another wrapv change from gnulib
26714 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26715 from some compilers.
26717 mktime: remove incorrect attempt at unusual arithmetics
26718 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26719 The code didn't really work on such machines anyway.
26720 (TYPE_MINIMUM): Assume two's complement.
26721 (twos_complement_arithmetic): Verify that long_int and time_t
26722 are two's complement (or unsigned, in the latter case).
26724 mktime: check signed shifts on long_int and time_t, too
26725 * time/mktime.c (SHR): Check that shifts work as desired
26726 on the types long_int and time_t too, as SHR is used on
26729 mktime: do not assume 'long' is wide enough
26730 * time/mktime.c (verify): Move decl up.
26731 (long_int): New type.
26732 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26733 to remove assumption in the code that 'long' is wide enough to
26734 store year values. This assumption is not true on x32 and on
26735 some non-glibc platforms.
26737 mktime: merge wrapv change from gnulib
26738 * time/mktime.c (WRAPV): New macro.
26739 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26740 (guess_time_tm, __mktime_internal): Do not assume that signed
26741 integer overflow wraps around; modern compilers generate code
26742 where this assumption is no longer valid.
26744 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26746 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26747 Replace "jmp L(pseudo_end)" with "ret".
26748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26751 2012-05-23 Andreas Jaeger <aj@suse.de>
26753 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26754 * sysdeps/unix/sysv/linux/poll.c: Remove file.
26756 2012-05-23 Andreas Jaeger <aj@suse.de>
26757 Maximilian Attems <max@stro.at>
26759 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26762 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26764 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26765 code so that pseudo_end is just ret and the stack pointer is
26766 correct also for static library in error case.
26768 2012-05-23 Joseph Myers <joseph@codesourcery.com>
26770 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26771 move to syscalls.list.
26772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26777 * manual/install.texi (Running make install): Do not mention Linux
26778 kernel version for which pt_chown is not needed.
26779 (Linux): Do not mention problems with nscd with 2.0 kernels.
26780 * INSTALL: Regenerated.
26782 2012-05-23 Andreas Jaeger <aj@suse.de>
26784 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26785 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26787 * sysdeps/unix/sysv/linux/s390/bits/mman.h
26788 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26789 * sysdeps/unix/sysv/linux/sh/bits/mman.h
26790 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26791 * sysdeps/unix/sysv/linux/i386/bits/mman.h
26792 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26793 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26794 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26795 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26796 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26797 * sysdeps/unix/sysv/linux/bits/in.h
26798 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26800 2012-05-22 Roland McGrath <roland@hack.frob.com>
26802 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26803 (PREPARE_VERSION): Just use assert instead, it will be elided
26804 under [NDEBUG] anyway.
26806 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26808 * sysdeps/unix/sysv/linux/Makefile: Include
26809 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26810 (sysdep_routines): Remove sysctl.
26811 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26812 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26813 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26814 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26815 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26817 2012-05-22 Andreas Jaeger <aj@suse.de>
26819 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26820 that pseudo_end is just ret and the stack pointer is correct also
26821 for static library in error case.
26823 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
26826 * nss/nsswitch.c (defconfig_entries): New variable.
26827 (__nss_database_lookup): Don't leak defconfig entries.
26828 (nss_parse_service_list): Don't leak on error paths.
26829 (free_database_entries): New function.
26830 (free_defconfig): New function.
26831 (free_mem): Move common code to free_database_entries.
26833 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26835 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26837 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26839 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26840 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26843 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26844 (INTERNAL_SYSCALL_TYPES): Likewise.
26845 (LOAD_ARGS_TYPES_[1-6]): Likewise.
26846 (LOAD_REGS_TYPES_[1-6]): Likewise.
26847 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26848 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26850 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26852 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26853 copysignl for GLIBC_2_0.
26854 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26855 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26857 logbl for GLIBC_2_0.
26858 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26859 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26861 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26863 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26864 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26866 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26869 * time/mktime.c: Update copyright years.
26871 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
26873 mktime: merge comment-quoting-style change from gnulib
26874 * time/mktime.c: Quote 'like this' in comments.
26875 The GNU coding standards suggest that we no longer quote `like this',
26876 as "`" and "'" are typically rendered asymmetrically nowadays.
26877 The typical gnulib style is to quote 'like this' when quoting
26878 code, and "like this" when quoting English.
26880 * time/mktime.c (compile-command): Add "-I.".
26882 mktime: merge mktime-internal.h change from gnulib
26883 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26885 mktime: merge time_r change from gnulib
26886 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26888 mktime: merge DEBUG change from gnulib
26889 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26890 case system <time.h> has a #define.
26892 mktime: merge <sys/types.h> change from gnulib
26893 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26894 since <time.t> is now guaranteed to define time_t.
26896 mktime: merge HAVE_CONFIG_H change from gnulib
26897 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26899 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26904 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26906 (struct rusage): Use anonymous union to pad each field to
26909 2012-05-21 David S. Miller <davem@davemloft.net>
26911 * Makefules (o-iterator): Remove .s cases.
26912 (compile-command.s): Delete.
26913 (COMPILE.s): Delete.
26914 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26916 2012-05-21 Joseph Myers <joseph@codesourcery.com>
26918 * configure.in (libc_cv_predef_stack_protector): Only consider
26919 "foobar" and "__stack_chk_fail" lines in libc_undefs.
26920 * configure: Regenerated.
26922 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
26924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26925 New macro. Use R*LP on int and pointer.
26926 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
26927 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
26928 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
26929 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
26931 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
26932 [__WORDSIZE_TIME64_COMPAT32] instead of
26933 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
26934 (struct utmp): Likewise.
26935 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
26936 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
26938 (__WORDSIZE_TIME64_COMPAT32): This.
26939 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
26940 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
26941 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
26942 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
26943 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
26944 (__WORDSIZE_TIME64_COMPAT32): New macro.
26946 2012-05-21 Andreas Jaeger <aj@suse.de>
26948 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
26949 only if [SHARED]. Add prototype for __wcschr_ia32.
26951 2012-05-21 Roland McGrath <roland@hack.frob.com>
26953 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
26954 of %rbp unmolested in the jmp_buf while mangling the low bits.
26955 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
26956 unmolested high bits of %rbp while demangling the low bits.
26957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26959 2012-05-21 Andreas Jaeger <aj@suse.de>
26961 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
26962 * sunrpc/svc_simple.c: Use it for registerrpc.
26963 * sunrpc/xcrypt.c: Use it for passwd2des.
26965 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
26967 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
26969 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
26970 Don't define if [__SYSCALL_WORDSIZE != 32].
26971 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
26974 2012-05-21 Bruno Haible <bruno@clisp.org>
26975 Andreas Jaeger <aj@suse.de>
26977 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
26978 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
26979 inptr and inend for must_buffer_ch.
26980 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
26981 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
26982 * stdio-common/Makefile (tests): Remove bug15.
26983 (bug15-ENV): Remove macro.
26984 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
26987 2012-05-19 Andreas Jaeger <aj@suse.de>
26988 Roland McGrath <roland@hack.frob.com>
26990 * manual/contrib.texi: Completely rewritten. It contains now an
26991 alphabetical list of contributors and their contributions.
26993 2012-05-21 Richard Henderson <rth@twiddle.net>
26995 * misc/getauxval.c (__getauxval): Use unsigned long int.
26996 * misc/sys/auxv.h: Include <sys/cdefs.h>.
26997 (getauxval): Use unsigned long int.
26999 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27001 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27003 2012-05-21 Roland McGrath <roland@hack.frob.com>
27005 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27006 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27007 __alignof__ (long double).
27009 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27013 2012-05-20 Richard Henderson <rth@twiddle.net>
27015 * misc/getauxval.c: New file.
27016 * misc/sys/auxv.h: New file.
27017 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27018 (routines): Add getauxval.
27019 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27020 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27021 * elf/dl-sysdep.c (_dl_auxv): Remove.
27022 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27023 * elf/dl-support.c (_dl_auxv): New variable.
27024 (_dl_aux_init): Initialize it.
27025 * manual/startup.texi (Auxiliary Vector): New node.
27026 * sysdeps/generic/bits/hwcap.h: New file.
27027 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27028 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27029 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27030 * sysdeps/sparc/sysdep.h: ... here. Include it.
27031 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27032 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27038 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27044 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27048 2012-05-19 David S. Miller <davem@davemloft.net>
27050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27052 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27055 * math/s_ccosh.c: Include <float.h>
27056 (__ccosh): Avoid internal overflow calculating sinh and cosh
27057 values before multiplying by sin and cos values.
27058 * math/s_ccoshf.c: Likewise.
27059 * math/s_ccoshl.c: Likewise.
27060 * math/s_csin.c: Likewise.
27061 * math/s_csinf.c: Likewise.
27062 * math/s_csinl.c: Likewise.
27063 * math/s_csinh.c: Likewise.
27064 * math/s_csinhf.c: Likewise.
27065 * math/s_csinhl.c: Likewise.
27066 * math/libm-test.inc (ccos_test): Add more tests.
27067 (ccosh_test): Likewise.
27068 (csin_test): Likewise.
27069 (csinh_test): Likewise.
27070 * sysdeps/i386/fpu/libm-test-ulps: Update.
27071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27073 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27075 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27076 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27078 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27080 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27082 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27083 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27084 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27085 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27086 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27087 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27088 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27089 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27090 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27091 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27092 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27093 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27094 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27095 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27096 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27097 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27098 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27099 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27100 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27101 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27102 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27103 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27104 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27105 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27106 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27107 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27108 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27109 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27110 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27111 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27112 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27114 2012-05-18 Andreas Jaeger <aj@suse.de>
27116 * csu/.gitignore: Delete.
27118 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27120 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27121 (timex): Use __syscall_slong_t.
27123 2012-05-18 Andreas Jaeger <aj@suse.de>
27124 Carlos O'Donell <carlos_odonell@mentor.com>
27126 * manual/install.texi (Configuring and compiling): Update
27127 description about files modified in the source directory.
27128 * INSTALL: Regenerated.
27130 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27132 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27133 value. Use "or" to set return value to -1.
27134 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27135 negate return value.
27137 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27139 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27140 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27141 failure if the compiler has Graphite support disabled.
27142 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27144 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27145 CFLAGS-memmove.c): Likewise.
27146 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27149 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27151 * sysdeps/x86_64/x32/_itoa.h: New file.
27153 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27154 getdents system call only if kernel and user dirents have the
27155 same d_ino and d_off.
27157 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27158 LLONG_MAX != LONG_MAX.
27159 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27160 (_fitoa_word): Likewise.
27162 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27164 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27165 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27166 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27168 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27169 include <bits/wordsize.h>. Check __x86_64__ instead of
27171 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27172 if __x86_64__ is defined. Use anonymous union on fpstate.
27174 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27177 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27179 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27180 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27181 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27182 Refer to _rtld_local_ro instead of _rtld_global_ro.
27183 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27185 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27187 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27189 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27190 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27191 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27193 * sysdeps/powerpc/powerpc32/dl-machine.c
27194 (__elf_machine_runtime_setup) [PROF]: Don't reference
27197 2012-05-18 Andreas Jaeger <aj@suse.de>
27199 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27200 function only available for GCCs before 3.4 since GCC 3.4
27201 introduced a builtin.
27203 (llrintf): Likewise.
27204 (llrint): Likewise.
27211 (nearbyint): Likewise.
27212 (nearbyintf): Likewise.
27216 (floorf): Likewise.
27218 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27220 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27221 on both fields and cast pointer to __syscall_ulong_t.
27223 * bits/types.h (__fsword_t): New type.
27224 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27225 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27226 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27227 (__FSWORD_T_TYPE): Likewise.
27228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27229 (__FSWORD_T_TYPE): Likewise.
27230 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27231 (__FSWORD_T_TYPE): Likewise.
27232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27233 (__FSWORD_T_TYPE): Likewise.
27234 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27235 __SWORD_TYPE with __fsword_t.
27236 (statfs64): Likewise.
27238 2012-05-17 David S. Miller <davem@davemloft.net>
27240 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27242 2012-05-17 Andreas Jaeger <aj@suse.de>
27244 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27247 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27249 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27251 2012-05-17 Andreas Jaeger <aj@suse.de>
27253 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27256 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27258 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27260 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27262 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27263 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27265 2012-05-17 Andreas Jaeger <aj@suse.de>
27266 Carlos O'Donell <carlos_odonell@mentor.com>
27269 * sysdeps/x86_64/multiarch/init-arch.h
27270 (bit_YMM_Usable): Rename to...
27271 (bit_AVX_Usable): ... this.
27272 (bit_FMA4_Usable): New macro.
27273 (bit_XMM_state): New macro.
27274 (bit_YMM_state): New macro.
27275 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27276 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27277 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27278 (CPUID_OSXSAVE): New macro.
27279 (CPUID_AVX): New macro.
27280 (CPUID_FMA4): New macro.
27281 (index_YMM_Usable): Rename to...
27282 (index_AVX_Usable): ... this.
27283 (HAS_AVX): Use HAS_ARCH_FEATURE.
27284 (HAS_FMA4): Likewise.
27285 (HAS_YMM_USABLE): Remove.
27286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27287 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27289 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27290 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27291 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27292 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27293 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27295 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27297 * math/libm-test.c: Support platforms without multiple rounding modes.
27298 * math/bug-nextafter.c: Support platforms without FP exceptions.
27299 * math/bug-nexttoward.c: Likewise.
27300 * math/test-fenv.c: Likewise.
27301 * math/test-misc.c: Likewise.
27302 * stdlib/bug-getcontext.c: Likewise.
27304 2012-05-17 Andreas Jaeger <aj@suse.de>
27306 * manual/examples/search.c (critter_cmp): Change signature to
27308 * manual/string.texi (Collation Functions): Likewise.
27310 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27312 * bits/types.h: Fold copyright years.
27313 * bits/typesizes.h: Likewise.
27314 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27318 * time/time.h: Likewise.
27320 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27323 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27324 in instead of returning them. Return void.
27325 (__libc_mallinfo): Accumulate over all arenas.
27326 (__malloc_stats): Adjust for change in int_mallinfo interface.
27328 2012-05-16 Roland McGrath <roland@hack.frob.com>
27331 * configure.in (NM): Add AC_CHECK_TOOL for it.
27332 (libc_extra_cflags): New substituted variable.
27333 Check for -fstack-protector being used implicitly.
27334 * configure: Regenerated.
27335 * config.make.in (config-extra-cflags): New variable,
27336 gets @libc_extra_cflags@.
27337 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27340 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27341 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27342 * configure: Regenerated.
27343 * config.make.in (CPPUNDEFS): New substituted variable.
27344 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27345 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27346 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27348 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27350 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27351 (mq_attr): Use __syscall_slong_t.
27353 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27355 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27356 Check __x86_64__ instead of __WORDSIZE.
27357 (_STAT_VER_LINUX): Likewise.
27358 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27359 __syscall_ulong_t and __syscall_slong_t.
27360 (stat64): Likewise.
27362 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27364 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27366 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27368 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27370 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27372 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27375 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27376 include <bits/wordsize.h>. Check __x86_64__ instead of
27378 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27380 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27382 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27383 include <bits/wordsize.h>. Check __x86_64__ instead of
27385 (user_regs_struct): Use "__extension__ unsigned long long"
27386 instead of "unsigned long" if __x86_64__ is defined.
27387 (user): Likewise. Pad after pointer field if __ILP32__ is
27390 2012-05-16 Joseph Myers <joseph@codesourcery.com>
27392 * configure.in (makeinfo): Require version 4.5 or later. Allow
27394 * configure: Regenerated.
27395 * manual/install.texi (texinfo): Increase version requirement to
27397 * INSTALL: Regenerated.
27399 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27401 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27403 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27405 * sysdeps/x86_64/x32/ffs.c: New file.
27407 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27409 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27410 defined. Use __syscall_ulong_t.
27411 (shminfo): Use __syscall_ulong_t.
27412 (shm_info): Likewise.
27414 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27417 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27419 (msgqnum_t): Use __syscall_ulong_t.
27420 (msglen_t): Likewise.
27421 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27424 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27425 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27427 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27429 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27430 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27432 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27435 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27436 include <bits/wordsize.h>. Check __x86_64__ instead of
27439 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27440 "unsigned long long int" if __x86_64__ is defined.
27441 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27443 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27444 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27445 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27447 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27449 (GET_PC): Cast to uintptr_t first.
27450 (GET_FRAME): Likewise.
27451 (GET_STACK): Likewise.
27453 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27454 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27455 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27456 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27457 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27458 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27459 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27460 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27461 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27462 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27463 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27464 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27465 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27466 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27467 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27468 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27469 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27470 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27471 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27472 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27473 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27474 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27476 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27478 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27479 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27480 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27481 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27483 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27485 * Makerules (+depfiles): Also collect depfiles from .oS in
27487 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27488 .oS, $(libnldbl-routines)).
27490 * Makerules (native-compile-mkdep-flags): Define.
27491 * sunrpc/Makefile (extra-objs): Add $(addprefix
27492 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27493 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27494 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27495 calling $(make-target-directory).
27497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27499 * bits/types.h (__snseconds_t): Removed.
27500 * time/time.h (struct timespec): Replace __snseconds_t with
27502 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27503 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27505 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27506 (__SNSECONDS_T_TYPE): Likewise.
27507 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27508 (__SNSECONDS_T_TYPE): Likewise.
27509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27510 (__SNSECONDS_T_TYPE): Likewise.
27512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27514 * sysdeps/mach/hurd/bits/typesizes.h
27515 (__SYSCALL_SLONG_TYPE): New macro.
27516 (__SYSCALL_ULONG_TYPE): Likewise.
27518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27520 * bits/types.h (__syscall_slong_t): New type.
27521 (__syscall_ulong_t): Likewise.
27523 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27524 (__SYSCALL_ULONG_TYPE): Likewise.
27525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27526 (__SYSCALL_SLONG_TYPE): Likewise.
27527 (__SYSCALL_ULONG_TYPE): Likewise.
27528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27529 (__SYSCALL_SLONG_TYPE): Likewise.
27530 (__SYSCALL_ULONG_TYPE): Likewise.
27531 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27532 (__SYSCALL_SLONG_TYPE): Likewise.
27533 (__SYSCALL_ULONG_TYPE): Likewise.
27535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27537 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27538 Add sigaltstack-offsets.sym.
27539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27540 <sigaltstack-offsets.h>.
27541 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27542 longjmp_msg pointer.
27543 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27544 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27546 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27548 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27550 * elf/stackguard-macros.h: Remove file.
27551 * sysdeps/generic/stackguard-macros.h: New file.
27552 * sysdeps/i386/stackguard-macros.h: Likewise.
27553 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27554 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27555 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27556 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27557 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27558 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27559 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27560 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27561 <elf/stackguard-macros.h>.
27564 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27565 __aligned__ in attribute.
27566 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27567 (gregset_t): Likewise.
27569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27571 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27572 * sysdeps/x86_64/64/Implies-after: Here. New file.
27573 * sysdeps/x86_64/x32/Implies-after: New file.
27575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27577 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27578 and access return value for _dl_profile_fixup. Use R10_LP to
27581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27583 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27585 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27587 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27588 * sysdeps/x86_64/x32/sysdep.h: New file.
27590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27592 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27593 * sysdeps/x86_64/setjmp.S: Likewise.
27595 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27598 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27599 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27600 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27601 remove unused global constant.
27603 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27605 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27606 include of <not-cancel.h>.
27608 2012-05-15 Roland McGrath <roland@hack.frob.com>
27610 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27612 2012-05-15 Jeff Law <law@redhat.com>
27613 Andreas Jaeger <aj@suse.de>
27616 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27618 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27619 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27620 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27621 code changing __hst_map_handle.map.
27623 2012-05-15 Roland McGrath <roland@hack.frob.com>
27625 * configure.in (sysnames): Look for Implies-before and Implies-after
27627 * configure: Regenerated.
27629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27631 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27632 8-byte data alignment with LP_SIZE alignment.
27634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27636 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27639 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27641 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27643 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27645 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27646 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27647 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27649 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27653 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27654 (stackinfo_sub_sp): Likewise.
27656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27658 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27663 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27673 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27677 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27678 into R11_LP and load __x86_64_shared_cache_size_half into
27681 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27683 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27686 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27694 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27695 powerpc32/power7/fpu/s_logb.c via #include.
27696 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27697 powerpc32/power7/fpu/s_logbf.c via #include.
27698 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27699 powerpc32/power7/fpu/s_logbl.c via #include.
27701 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27703 * README.libm: Remove file.
27705 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27707 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27708 count for x32. Use R*_LP and omit operand-size suffix.
27710 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27712 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27713 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27714 * sysdeps/x86_64/x32/shlib-versions: New file.
27716 2012-05-14 Roland McGrath <roland@hack.frob.com>
27718 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27719 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27720 Use _dl_fatal_printf instead.
27722 2012-05-14 Joseph Myers <joseph@codesourcery.com>
27724 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27725 set if not set by the user. Do not allow for being unset.
27726 * sysdeps/unix/sysv/linux/configure: Regenerated.
27728 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27730 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27731 the `q' suffix from lea and replace .quad with ASM_ADDR.
27733 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27736 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
27738 (PTR_DEMANGLE): Likewise.
27740 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27742 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27744 (ASM_ADDR): Likewise.
27745 (RAX_LP): Likewise.
27746 (RBP_LP): Likewise.
27747 (RBX_LP): Likewise.
27748 (RCX_LP): Likewise.
27749 (RDI_LP): Likewise.
27750 (RSI_LP): Likewise.
27751 (RSP_LP): Likewise.
27754 (R10_LP): Likewise.
27755 (R10_LP): Likewise.
27756 (R11_LP): Likewise.
27757 (R12_LP): Likewise.
27758 (R13_LP): Likewise.
27759 (R14_LP): Likewise.
27760 (R15_LP): Likewise.
27762 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27764 * sysdeps/x86_64/x32/dl-machine.h: New file.
27766 2012-05-14 Andreas Jaeger <aj@suse.de>
27768 * manual/Makefile (subdir): Remove export of subdir.
27769 (all): Remove target.
27770 (.PHONY): Remove all from list.
27771 (mkinstalldirs): Remove.
27772 (.PHONY): Remove installdirs from list.
27773 ($(inst_infodir)/libc.info): Use make-target-directory.
27774 (installdirs): Remove.
27775 (subdir_%): Remove.
27776 (glibc-targets): Remove.
27779 ($(objpfx)stubs ../po/manual.pot): Remove.
27780 ($(objpfx)stamp%): Remove.
27781 (make-target-directory): Remove.
27782 (subdir_install): Remove.
27783 (routines): Remove.
27790 * manual/.gitignore: Remove, it's not needed anymore.
27791 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27793 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27795 (texis): Renamed to $(objpfx)texis.
27796 (texis-path): New, contains path to generated files.
27797 (chapters.%): Use texis-path for complete path, add extra argument
27799 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27800 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27801 (summary,texi, stamp-summary): Use complete path of
27802 files. Generate files in build dir.
27803 (dir-add.texi): Build in build dir.
27804 (libm-err.texi,stamp-libm-err): Likewise.
27805 (version.texi, stamp-version): Likewise.
27806 (.%c.texi): Likewise.
27807 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27808 (mostlyclean): Remove target.
27809 (realclean): Remove target.
27810 (generated): Add new variable with contents from mostlyclean and
27811 realclean, remove entries duplicated in common-mostlyclean, add
27812 stamp-libm-err and stamp-version.
27813 (generated-dirs): Add libc directory.
27814 ($(inst_infodir)/libc.info): Install files from build dir.
27816 * manual/install.texi (Configuring and compiling): Adjust since
27817 the info files are not part of the tar ball anymore.
27819 2012-05-14 Andreas Jaeger <aj@suse.de>
27821 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27824 2012-05-14 Joseph Myers <joseph@codesourcery.com>
27827 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27828 to 2.2.0 where earlier.
27829 * sysdeps/unix/sysv/linux/configure: Regenerated.
27830 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27831 Remove conditional code.
27832 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27833 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27834 Remove conditional code.
27835 [!__NR_lchown]: Likewise.
27836 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27837 [__NR_lchown]: Likewise.
27838 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27839 comment referencing __ASSUME_LCHOWN_SYSCALL.
27840 * sysdeps/unix/sysv/linux/i386/sigaction.c
27841 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27842 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27843 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27844 Remove conditional code.
27845 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27846 (__protocol_available): Remove #if 0 code.
27847 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27849 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27850 * sysdeps/unix/sysv/linux/kernel-features.h
27851 (__ASSUME_GETCWD_SYSCALL): Don't define.
27852 (__ASSUME_REALTIME_SIGNALS): Likewise.
27853 (__ASSUME_PREAD_SYSCALL): Likewise.
27854 (__ASSUME_PWRITE_SYSCALL): Likewise.
27855 (__ASSUME_POLL_SYSCALL): Likewise.
27856 (__ASSUME_LCHOWN_SYSCALL): Likewise.
27857 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27859 (__ASSUME_SIOCGIFNAME): Don't define.
27860 (__ASSUME_MSG_NOSIGNAL): Likewise.
27861 (__ASSUME_SENDFILE): Define unconditionally.
27862 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27863 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27865 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27866 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27867 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27868 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27869 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27870 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27871 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27873 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27876 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27877 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27882 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27883 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27885 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27886 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27888 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27889 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27891 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27892 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27894 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27895 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27896 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27897 Remove conditional code.
27898 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27899 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27900 Remove conditional code.
27901 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27902 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27903 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27904 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27905 Remove conditional code.
27906 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27907 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27908 Remove conditional code.
27909 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27910 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27911 Remove conditional code.
27912 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27913 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27914 Remove conditional code.
27915 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27916 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27917 Remove conditional code.
27918 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27919 * sysdeps/unix/sysv/linux/sh/pwrite64.c
27920 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27921 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27922 * sysdeps/unix/sysv/linux/sigaction.c
27923 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27924 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27925 * sysdeps/unix/sysv/linux/sigpending.c
27926 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27927 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27928 * sysdeps/unix/sysv/linux/sigprocmask.c
27929 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27930 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27931 * sysdeps/unix/sysv/linux/sigsuspend.c
27932 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27933 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27934 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27935 (__libc_missing_rt_sigs): Remove.
27936 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
27937 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
27938 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
27939 Remove conditional code.
27940 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
27941 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
27943 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
27944 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
27945 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
27946 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
27948 2012-05-14 Andreas Jaeger <aj@suse.de>
27950 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
27951 it's not used in glibc.
27952 (__coshm1): Likewise.
27953 (__acosh1p): Likewise.
27956 * manual/string.texi (Copying and Concatenation): Add missing
27957 variable in concat example.
27958 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27960 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
27964 __builtin_clzl with __builtin_clzll.
27966 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27969 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
27972 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27974 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
27975 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
27976 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
27977 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
27979 2012-05-14 Mike Frysinger <vapier@gentoo.org>
27981 * NEWS: Update ia64 info.
27983 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
27985 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
27988 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
27990 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
27991 * sysdeps/unix/syscalls.list (dup3): Likewise.
27992 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
27993 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
27995 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
27997 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
27998 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28000 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28002 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28004 (TLS_IE): Use mov/add instead of movq/addq to load thread
28006 (TLS_GD_PREFIX): New.
28009 2012-05-11 David S. Miller <davem@davemloft.net>
28011 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28012 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28013 (_FPU_SETCW): Likewise.
28015 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28017 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28018 is 32-byte aligned.
28020 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28023 * iconvdata/gb18030.c: Update tables.
28024 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28025 characters specially.
28026 (BODY for TO_LOOP): Add encoding of missing ranges.
28028 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28031 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28032 * sysdeps/mach/hurd/dup3.c: Likewise.
28033 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28034 * sysdeps/powerpc/memmove.c:: Likewise.
28036 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28038 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28039 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28041 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28043 * elf/elf.h (R_X86_64_RELATIVE64): New.
28044 (R_X86_64_NUM): Updated.
28045 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28046 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28047 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28048 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28049 tst-quad1pie tst-quad2pie
28050 (modules-names): Add tst-quadmod1 tst-quadmod2.
28051 ($(objpfx)tst-quad1): New dependency.
28052 ($(objpfx)tst-quad2): Likewise.
28053 ($(objpfx)tst-quad1pie): Likewise.
28054 ($(objpfx)tst-quad2pie): Likewise.
28055 * sysdeps/x86_64/tst-quad1.c: New file.
28056 * sysdeps/x86_64/tst-quad1pie.c: New file.
28057 * sysdeps/x86_64/tst-quad2.c: Likewise.
28058 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28059 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28060 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28061 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28062 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28064 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28066 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28067 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28068 * streams/stropts.h (t_scalar_t): Define type.
28070 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28071 (_PATH_PRESERVE): Set to "/var/lib".
28072 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28074 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28077 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28078 if __dir_mkfile succeeded.
28080 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28081 checking for _hurd_dtablesize. Unlock it right after having
28082 finished _hurd_dtable allocation.
28084 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28086 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28087 * sysdeps/mach/hurd/configure: Regenerated.
28088 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28089 special-casing to...
28090 * sysdeps/gnu/configure.in: ... this new file.
28091 * sysdeps/unix/sysv/linux/configure: Regenerated.
28092 * sysdeps/gnu/configure: New generated file.
28094 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28095 for Linux: use nsec instead of usec, as well as:
28096 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28097 members of type struct timespec.
28098 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28100 (struct stat64): Likewise.
28101 (_STATBUF_ST_NSEC): New macro.
28102 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28104 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28105 __strtoul_internal rather than strtoul.
28107 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28109 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28112 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28114 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28115 which preserves existing values.
28116 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28118 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28120 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28121 TIMEOUT values. Return EINVAL for NFDS values either negative or
28122 greater than FD_SETSIZE.
28124 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28126 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28127 allocated, call __vm_protect to finish enabling the existing space, and
28128 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28129 allocate the remainder.
28131 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28133 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28134 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28136 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28138 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28139 sysdeps/mach/hurd/readlink.c.
28141 * posix/tst-sysconf.c (posix_options): Only use
28142 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28143 _POSIX_SYNCHRONIZED_IO when they are defined
28144 * sysdeps/mach/hurd/bits/posix_opt.h:
28145 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28146 (_XOPEN_REALTIME): Undefine macro.
28147 (_XOPEN_REALTIME_THREADS): Undefine macro.
28148 (_XOPEN_SHM): Undefine macro.
28149 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28151 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28153 (_POSIX_ASYNC_IO): Undefine macro.
28154 (_POSIX_PRIORITIZED_IO): Undefine macro.
28155 (_POSIX_SPIN_LOCKS): Define macro to -1.
28157 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28158 SA_NODEFER, SA_RESETHAND.
28159 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28160 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28163 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28165 * elf/Makefile (pldd-modules): Define unconditionally.
28167 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28169 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28171 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28173 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28174 Return ENOENT when name is empty.
28175 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28179 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28181 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28183 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28185 Fix mlock in all cases except non-readable pages.
28186 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28187 instead of VM_PROT_ALL as parameter to __vm_wire function.
28189 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28190 (__mkdir): When path is `/', just fail with EEXIST.
28191 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28193 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28195 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28196 <sys/uio.h> (for writev).
28197 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28198 and <sys/param.h> (for MIN).
28200 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28202 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28203 REQUESTED_TIME. Properly set the remaining time and return EINTR
28206 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28208 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28209 Depend on against $(link-rpcuserlibs).
28211 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28213 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28214 (__libc_stack_end): Do not use attribute_relro.
28215 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28216 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28217 to libthread-provided value.
28218 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28221 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28224 * bits/libc-lock.h (__libc_once_get): New macro.
28225 * sysdeps/mach/bits/libc-lock.h: Likewise.
28226 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28227 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28228 instead of using implementation details.
28230 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28231 * libio/freopen.c: Likewise.
28232 * libio/freopen64.c: Likewise.
28233 * misc/syslog.c: Likewise.
28234 * nscd/connections.c: Likewise.
28235 * nscd/netgroupcache.c: Likewise.
28236 * sysdeps/posix/getcwd.c: Likewise.
28238 2012-05-10 Roland McGrath <roland@hack.frob.com>
28240 * math/w_ilogbf.c: Add #include <limits.h>.
28242 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28244 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28245 path instead of returning without unlocking.
28247 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28248 immediate-write ioctls.
28249 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28251 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28253 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28254 __builtin_frame_address instead of making assumptions about the
28255 location of the return address relative to DATA. Force early load of
28256 the return address.
28257 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28258 __builtin_frame_address.
28261 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28262 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28263 implement dup3 and do some further code clean-ups.
28264 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28265 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28267 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28269 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28271 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28272 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28273 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28274 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28275 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28278 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28279 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28280 when handler == SIG_ERR, not when handler != SIG_ERR.
28282 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28284 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28285 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28288 accept4 for GNU Hurd.
28289 * include/sys/socket.h (__libc_accept4): New prototype.
28290 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28291 to implement __libc_accept4.
28292 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28294 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28296 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28297 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28298 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28299 signal-defines.sym.
28301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28303 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28305 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28307 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28308 assertion on O_CLOEXEC flag.
28309 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28310 * hurd/intern-fd.c: Likewise.
28311 * hurd/port2fd.c: Likewise.
28313 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28316 * bits/in.h (IPV6_PKTINFO): Define new macro.
28317 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28319 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28324 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28325 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28326 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28327 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28328 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28329 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28330 * math/libm-test.inc (logb_test) : Additional logb tests.
28332 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28333 Andreas Jaeger <aj@suse.de>
28335 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28336 * configure: Regenerated.
28337 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28338 * config.make.in (link-obsolete-rpc): New substituted variable.
28339 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28340 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28341 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28342 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28343 so that libc.a contains the symbols.
28344 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28345 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28346 * sunrpc/auth_none.c: Likewise.
28347 * sunrpc/auth_unix.c: Likewise.
28348 * sunrpc/authdes_prot.c: Likewise.
28349 * sunrpc/authuxprot.c: Likewise.
28350 * sunrpc/clnt_gen.c: Likewise.
28351 * sunrpc/clnt_perr.c: Likewise.
28352 * sunrpc/clnt_raw.c: Likewise.
28353 * sunrpc/clnt_simp.c: Likewise.
28354 * sunrpc/clnt_tcp.c: Likewise.
28355 * sunrpc/clnt_udp.c: Likewise.
28356 * sunrpc/clnt_unix.c: Likewise.
28357 * sunrpc/des_crypt.c: Likewise.
28358 * sunrpc/des_soft.c: Likewise.
28359 * sunrpc/get_myaddr.c: Likewise.
28360 * sunrpc/key_call.c: Likewise.
28361 * sunrpc/key_prot.c: Likewise.
28362 * sunrpc/netname.c: Likewise.
28363 * sunrpc/pm_getmaps.c: Likewise.
28364 * sunrpc/pm_getport.c: Likewise.
28365 * sunrpc/pmap_clnt.c: Likewise.
28366 * sunrpc/pmap_prot.c: Likewise.
28367 * sunrpc/pmap_prot2.c: Likewise.
28368 * sunrpc/pmap_rmt.c: Likewise.
28369 * sunrpc/publickey.c: Likewise.
28370 * sunrpc/rpc_cmsg.c: Likewise.
28371 * sunrpc/rpc_common.c: Likewise.
28372 * sunrpc/rpc_dtable.c: Likewise.
28373 * sunrpc/rpc_prot.c: Likewise.
28374 * sunrpc/rpc_thread.c: Likewise.
28375 * sunrpc/rtime.c: Likewise.
28376 * sunrpc/svc.c: Likewise.
28377 * sunrpc/svc_auth.c: Likewise.
28378 * sunrpc/svc_raw.c: Likewise.
28379 * sunrpc/svc_run.c: Likewise.
28380 * sunrpc/svc_tcp.c: Likewise.
28381 * sunrpc/svc_udp.c: Likewise.
28382 * sunrpc/svc_unix.c: Likewise.
28383 * sunrpc/svcauth_des.c: Likewise.
28384 * sunrpc/xcrypt.c: Likewise.
28385 * sunrpc/xdr.c: Likewise.
28386 * sunrpc/xdr_array.c: Likewise.
28387 * sunrpc/xdr_float.c: Likewise.
28388 * sunrpc/xdr_intXX_t.c: Likewise.
28389 * sunrpc/xdr_mem.c: Likewise.
28390 * sunrpc/xdr_rec.c: Likewise.
28391 * sunrpc/xdr_ref.c: Likewise.
28392 * sunrpc/xdr_sizeof.c: Likewise.
28393 * sunrpc/xdr_stdio.c: Likewise.
28395 2012-05-10 Roland McGrath <roland@hack.frob.com>
28397 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28398 change. Update copyright years.
28400 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28402 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28404 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28405 Joseph Myers <joseph@codesourcery.com>
28406 Paul Pluzhnikov <ppluzhnikov@google.com>
28409 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28411 [cross-compiling] (extra-libs): Likewise.
28412 [cross-compiling] (extra-libs-others): Likewise.
28413 [cross-compiling] (librpcsvc-routines): Likewise.
28414 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28415 [cross-compiling] (omit-deps): Likewise.
28416 (sunrpc-CPPFLAGS): New variable.
28417 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28418 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28419 (cross-rpcgen-objs): New variable.
28420 (extra-objs): Append $(cross-rpcgen-objs).
28421 ($(cross-rpcgen-objs)): New rule.
28422 ($(objpfx)cross-rpcgen): Likewise.
28423 (rpcgen-cmd): Define to use $(built-program-file). Expand
28425 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28426 ($(objpfx)x%.stmp): Likewise.
28427 * sunrpc/proto.h [IS_IN_build] (_): Define.
28428 [IS_IN_build] (_libc_intl_domainname): Likewise.
28430 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28432 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28433 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28434 and R_X86_64_TPOFF64.
28436 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28438 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28439 sysdeps/unix/sysv/syscalls.list.
28442 * sysdeps/unix/sysv/syscalls.list: Remove file.
28444 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28447 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28448 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28449 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28450 (__LC_IDENTIFICATION): Make these macros useful in #if
28451 expressions, as required by C99.
28453 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28455 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28456 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28459 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28461 * stdlib/longlong.h: Updated from GCC.
28463 2012-05-09 Andreas Jaeger <aj@suse.de>
28465 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28466 default is first entry.
28467 (run_mode): Set type.
28468 (main): Remove informal message about syslog.
28469 (options): Fix typo.
28472 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28475 (llrintf): Likewise.
28476 (llrint): Likewise.
28479 (nearbyint): Likewise.
28480 (nearbyintf): Likewise.
28482 2012-05-09 Andreas Jaeger <aj@suse.de>
28483 Pedro Alves <palves@redhat.com>
28485 * nscd/nscd.c (run_mode): Use enum.
28486 (main): Cleanup coding style issue.
28488 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
28489 Andreas Jaeger <aj@suse.de>
28491 * nscd/nscd.c (go_background): Replaced with...
28492 (run_mode): ... this.
28493 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28494 (options): Add -F --foreground.
28495 (main): Implement it.
28496 (parse_opt): Parse it.
28498 2012-05-09 Andreas Jaeger <aj@suse.de>
28501 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28502 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28503 -Wconversion warning.
28504 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28507 2012-05-09 Joseph Myers <joseph@codesourcery.com>
28509 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28511 (LC_ALL): Use macro-int-constant.
28512 (LC_COLLATE): Likewise.
28513 (LC_CTYPE): Likewise.
28514 (LC_MESSAGES): Likewise.
28515 (LC_MONETARY): Likewise.
28516 (LC_NUMERIC): Likewise.
28517 (LC_TIME): Likewise.
28518 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28519 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28521 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28523 [C99-based standards] (float_t): Expect type.
28524 [C99-based standards] (double_t): Expect type.
28525 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28527 [C99-based standards] (HUGE_VALL): Likewise.
28528 [C99-based standards] (INFINITY): Likewise.
28529 [C99-based standards] (NAN): Likewise.
28530 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28531 [C99-based standards] (FP_NAN): Likewise.
28532 [C99-based standards] (FP_NORMAL): Likewise.
28533 [C99-based standards] (FP_SUBNORMAL): Likewise.
28534 [C99-based standards] (FP_ZERO): Likewise.
28535 [C99-based standards] (FP_FAST_FMA): Use
28536 optional-macro-int-constant. Specify type. Require == 1.
28537 [C99-based standards] (FP_FAST_FMAF): Likewise.
28538 [C99-based standards] (FP_FAST_FMAL): Likewise.
28539 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28540 [C99-based standards] (FP_ILOGBNAN): Likewise.
28541 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28543 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28544 [C99-based standards] (math_errhandling): Specify type.
28545 [ISO99 || ISO11] (signgam): Do not allow.
28546 [non-C99-based standards] (copysignf): Do not allow.
28547 [non-C99-based standards] (exp2f): Likewise.
28548 [non-C99-based standards] (log2f): Likewise.
28549 [non-C99-based standards] (modff): Allow.
28550 [non-C99-based standards] (erff): Do not allow.
28551 [non-C99-based standards] (erfcf): Likewise.
28552 [non-C99-based standards] (gammaf): Likewise.
28553 [non-C99-based standards] (hypotf): Likewise.
28554 [non-C99-based standards] (j0f): Likewise.
28555 [non-C99-based standards] (j1f): Likewise.
28556 [non-C99-based standards] (jnf): Likewise.
28557 [non-C99-based standards] (lgammaf): Likewise.
28558 [non-C99-based standards] (tgammaf): Likewise.
28559 [non-C99-based standards] (y0f): Likewise.
28560 [non-C99-based standards] (y1f): Likewise.
28561 [non-C99-based standards] (ynf): Likewise.
28562 [non-C99-based standards] (isnanf): Likewise.
28563 [non-C99-based standards] (acoshf): Likewise.
28564 [non-C99-based standards] (asinhf): Likewise.
28565 [non-C99-based standards] (atanhf): Likewise.
28566 [non-C99-based standards] (cbrtf): Likewise.
28567 [non-C99-based standards] (expm1f): Likewise.
28568 [non-C99-based standards] (ilogbf): Likewise.
28569 [non-C99-based standards] (log1pf): Likewise.
28570 [non-C99-based standards] (logbf): Likewise.
28571 [non-C99-based standards] (nextafterf): Likewise.
28572 [non-C99-based standards] (remainderf): Likewise.
28573 [non-C99-based standards] (rintf): Likewise.
28574 [non-C99-based standards] (scalbf): Likewise.
28575 [non-C99-based standards] (copysignl): Likewise.
28576 [non-C99-based standards] (exp2l): Likewise.
28577 [non-C99-based standards] (log2l): Likewise.
28578 [non-C99-based standards] (modfl): Allow.
28579 [non-C99-based standards] (erfl): Do not allow.
28580 [non-C99-based standards] (erfcl): Likewise.
28581 [non-C99-based standards] (gammal): Likewise.
28582 [non-C99-based standards] (hypotl): Likewise.
28583 [non-C99-based standards] (j0l): Likewise.
28584 [non-C99-based standards] (j1l): Likewise.
28585 [non-C99-based standards] (jnl): Likewise.
28586 [non-C99-based standards] (lgammal): Likewise.
28587 [non-C99-based standards] (tgammal): Likewise.
28588 [non-C99-based standards] (y0l): Likewise.
28589 [non-C99-based standards] (y1l): Likewise.
28590 [non-C99-based standards] (ynl): Likewise.
28591 [non-C99-based standards] (isnanl): Likewise.
28592 [non-C99-based standards] (acoshl): Likewise.
28593 [non-C99-based standards] (asinhl): Likewise.
28594 [non-C99-based standards] (atanhl): Likewise.
28595 [non-C99-based standards] (cbrtl): Likewise.
28596 [non-C99-based standards] (expm1l): Likewise.
28597 [non-C99-based standards] (ilogbl): Likewise.
28598 [non-C99-based standards] (log1pl): Likewise.
28599 [non-C99-based standards] (logbl): Likewise.
28600 [non-C99-based standards] (nextafterl): Likewise.
28601 [non-C99-based standards] (remainderl): Likewise.
28602 [non-C99-based standards] (rintl): Likewise.
28603 [non-C99-based standards] (scalbl): Likewise.
28604 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28605 [non-C99-based standards] (FP_*): Do not allow.
28606 [C99-based standards] (FP_*): Change to
28607 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28608 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28610 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28611 (SIG_ERR): Likewise.
28612 [X/Open-based standards] (SIG_HOLD): Likewise.
28613 (SIG_IGN): Likewise.
28614 (SIGABRT): Use macro-int-constant. Specify type. Require
28616 (SIGFPE): Likewise.
28617 (SIGILL): Likewise.
28618 (SIGINT): Likewise.
28619 (SIGSEGV): Likewise.
28620 (SIGTER): Likewise.
28621 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28622 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28623 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28624 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28625 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28626 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28627 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28628 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28629 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28630 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28631 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28632 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28633 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28634 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28635 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28636 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28637 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28638 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28639 [X/Open-based standards] (SIGTRAP): Likewise.
28640 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28641 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28642 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28643 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28644 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28647 2012-05-08 Ian Wienand <ianw@vmware.com>
28650 * time/tzset.c (__tzset_parse_tz): Update default rules for
28651 daylight time changes in the Energy Policy Act of 2005.
28653 2012-05-09 Andreas Jaeger <aj@suse.de>
28656 * elf/ldconfig.c (parse_conf): Change string to make clear that
28657 ldconfig only issued a warning if ld.so.conf does not exist.
28659 2012-05-08 David S. Miller <davem@davemloft.net>
28661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28662 movxtod instead of popping the value on the stack.
28664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28666 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28668 * config.h.in: Add HAVE_ARM_PCS_VFP.
28670 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
28673 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28674 checking but the checks are disabled for any reason.
28676 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28678 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28679 and ELF64_R_TYPE with ELFW(R_TYPE).
28681 2012-05-08 Joseph Myers <joseph@codesourcery.com>
28683 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28684 (ulimit): Likewise.
28686 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28687 (settimeofday): Likewise.
28689 2012-05-08 Mike Frysinger <vapier@gentoo.org>
28691 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28692 a struct th_u2 inside the union, and move tu_block/tu_code into
28693 a new th_u3 union of tu_block/tu_code inside of that. Move
28694 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28695 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28696 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28697 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28698 (th_stuff): Change to th_u1.tu_stuff.
28700 (th_msg): Change to th_u1.th_u2.tu_data.
28702 2012-05-07 David S. Miller <davem@davemloft.net>
28704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28707 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28708 (SETUP_PIC_REG): Use it.
28709 (SETUP_PIC_REG_LEAF): Use it.
28711 2012-05-07 Joseph Myers <joseph@codesourcery.com>
28715 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28717 (EXPL_FINITE): Likewise.
28718 (FLDLOG): Likewise.
28719 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28720 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28722 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28724 (EXPL_FINITE): Likewise.
28725 (FLDLOG): Likewise.
28726 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28727 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28729 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28730 test of -max_value argument for long double.
28731 * sysdeps/i386/fpu/libm-test-ulps: Update.
28732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28734 2012-05-06 David S. Miller <davem@davemloft.net>
28736 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28737 quad soft-float symbols whose references which are compiler
28739 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28741 2012-05-06 Joseph Myers <joseph@codesourcery.com>
28745 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28747 (EXPL_FINITE): Likewise.
28748 (FLDLOG): Likewise.
28751 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28752 Adjust comments for base varying.
28753 (__expl_finite): Change alias to EXPL_FINITE.
28754 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28756 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28757 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28759 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28760 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28762 (EXPL_FINITE): Likewise.
28763 (FLDLOG): Likewise.
28766 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28767 Adjust comments for base varying.
28768 (__expl_finite): Change alias to EXPL_FINITE.
28769 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
28771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28774 * math/libm-test.inc (check_float_internal): Correct ulp
28775 calculation for subnormal expected results.
28777 2012-05-06 Andreas Jaeger <aj@suse.de>
28779 * Makeconfig (+math-flags): New, set to -frounding-math.
28780 (+cflags): Add +math-flags so that all of glibc gets compiled with
28783 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28785 2012-05-05 Joseph Myers <joseph@codesourcery.com>
28787 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28793 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28794 (__ieee754_expl): Allow for and saturate large arguments.
28795 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28796 (u_threshold): Likewise.
28797 (__exp): Call __ieee754_exp before checking for overflow and
28799 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28800 (u_threshold): Likewise.
28801 (__expf): Call __ieee754_expf before checking for overflow and
28803 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28804 (u_threshold): Likewise.
28805 (__expl): Call __ieee754_expl before checking for overflow and
28807 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28808 (__ieee754_expl): Allow for and saturate large arguments.
28809 * math/libm-test.inc (exp_test): Add another test. Do not allow
28810 missing overflow exception on overflow.
28811 (expm1_test): Do not allow missing overflow exception on overflow.
28813 * sysdeps/i386/fpu/e_expl.c: Move to ...
28814 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
28815 rather than using inline asm.
28816 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28817 * sysdeps/x86_64/fpu/e_expl.S: Copy from
28818 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28820 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28823 (signal): Likewise.
28827 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28829 * sysdeps/unix/syscalls.list (adjtime): Add entry from
28830 sysdeps/unix/common/syscalls.list.
28831 (fchmod): Likewise.
28832 (fchown): Likewise.
28833 (ftruncate): Likewise.
28834 (getrusage): Likewise.
28835 (gettimeofday): Likewise.
28836 (setpgid): Likewise.
28837 (setregid): Likewise.
28838 (setreuid): Likewise.
28839 (sigaction): Likewise.
28840 (truncate): Likewise.
28841 (vhangup): Likewise.
28842 * sysdeps/unix/common/syscalls.list: Remove file.
28843 * sysdeps/unix/bsd/Implies: Don't include unix/common.
28844 * sysdeps/unix/sysv/linux/Implies: Likewise.
28846 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
28848 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28850 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28854 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28857 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28860 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28863 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28866 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28869 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28872 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28876 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28880 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28883 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28887 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28891 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28893 * sysdeps/unix/common/bits/dirent.h: Remove file.
28894 * sysdeps/unix/common/bits/fcntl.h: Likewise.
28896 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28897 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28898 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28899 * sysdeps/unix/bsd/isatty.c: Likewise.
28900 * sysdeps/unix/bsd/tcdrain.c: Likewise.
28901 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28902 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28904 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28907 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28908 long double comparison inaccuracies.
28909 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28912 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
28914 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28915 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28917 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28920 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28921 nonzero digits before rounding a hex value.
28922 * stdlib/tst-strtod.c (tests): Add another test.
28924 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28926 * sysdeps/s390/fpu/libm-test-ulps: Update.
28928 2012-05-03 Andreas Jaeger <aj@suse.de>
28930 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
28931 does not get optimized out.
28932 (malloc_opt_barrier): New.
28934 2012-05-03 Andreas Jaeger <aj@suse.de>
28935 Roland McGrath <roland@hack.frob.com>
28937 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
28938 intermediate file deletion.
28939 (generated): Add .symlist files.
28941 2012-05-03 Joseph Myers <joseph@codesourcery.com>
28944 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
28945 Redirect under this condition.
28946 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28947 [__USE_GNU] (__dprintf_chk): Not under this condition.
28948 [__USE_GNU] (__vdprintf_chk): Likewise.
28949 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
28950 under this condition.
28951 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28952 [__USE_XOPEN2K8] (dprintf): Define under this condition.
28953 [__USE_XOPEN2K8] (vdprintf): Likewise.
28954 [__USE_GNU] (__dprintf_chk): Not under this condition.
28955 [__USE_GNU] (__vdprintf_chk): Likewise.
28956 [__USE_GNU] (dprintf): Likewise.
28957 [__USE_GNU] (vdprintf): Likewise.
28959 2012-05-03 Roland McGrath <roland@hack.frob.com>
28961 * elf/Makefile (common-generated): Set this instead of generated for
28962 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
28963 $(all-built-dso)-derived lists.
28965 2012-05-03 Andreas Jaeger <aj@suse.de>
28967 * sysdeps/i386/fpu/libm-test-ulps: Update.
28970 * FAQ.in: Likewise.
28971 * scripts/gen-FAQ.pl: Likewise.
28972 * manual/install.texi (Installation): Point to online location of
28974 * Makefile (files-for-dist): Remove FAQ.
28977 2012-05-02 Allan McRae <allan@archlinux.org>
28979 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
28980 (LDFLAGS-reldepmod5.so): Likewise.
28981 (LDFLAGS-reldep6mod1.so): Likewise.
28982 (LDFLAGS-reldep6mod4.so): Likewise.
28983 (LDFLAGS-reldep8mod3.so): Likewise.
28984 (LDFLAGS-unload4mod1.so): Likewise.
28985 (LDFLAGS-unload4mod2.so): Likewise.
28986 (LDFLAGS-tst-initorder): Likewise.
28987 (LDFLAGS-tst-initordera2.so): Likewise.
28988 (LDFLAGS-tst-initordera3.so): Likewise.
28989 (LDFLAGS-tst-initordera4.so): Likewise.
28990 (LDFLAGS-tst-initorderb2.so): Likewise.
28991 (LDFLAGS-noload): Likewise.
28992 (LDFLAGS-next): Likewise.
28993 (LDFLAGS-order2mod1.so): Likewise.
28994 (LDFLAGS-order2mod2.so): Likewise.
28995 (LDFLAGS-tst-initorder2): Likewise.
28996 (LDFLAGS-tst-initorder2a.so): Likewise.
28997 (LDFLAGS-tst-initorder2b.so): Likewise.
28998 (LDFLAGS-tst-initorder2c.so): Likewise.
28999 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29001 2012-05-02 David S. Miller <davem@davemloft.net>
29003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29005 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29008 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29010 2012-05-02 Andreas Jaeger <aj@suse.de>
29012 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29013 since we manipulate rounding mode.
29014 (CPPFLAGS-test-idouble.c): Likewise.
29015 (CPPFLAGS-test-ifloat.c): Likewise.
29016 (CFLAGS-test-ldouble.c): Likewise.
29017 (CFLAGS-test-double.c): Likewise.
29018 (CFLAGS-test-float.c): Likewise.
29019 (CFLAGS-test-misc.c): Likewise.
29020 (CFLAGS-test-test-fenv.c): Likewise.
29022 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29026 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29027 comparisons to determine direction to adjust input.
29029 2012-05-01 Roland McGrath <roland@hack.frob.com>
29031 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29032 output to the target.
29034 * scripts/localplt.awk: New file.
29035 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29036 (check-localplt-CFLAGS): Variable removed.
29037 ($(all-built-dso:=.jmprel)): New static pattern rule.
29038 (generated): Add those targets.
29039 (localplt-built-dso): New variable.
29040 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29042 * elf/check-localplt.c: File removed.
29044 * scripts/check-execstack.awk: New file.
29045 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29046 (check-execstack-CFLAGS): Variable removed.
29047 ($(objpfx)check-execstack.h): Target removed.
29048 ($(objpfx)execstack-default): New target.
29049 (generated): Add that instead of check-execstack.h.
29050 ($(all-built-dso:=.phdr)): New static pattern rule.
29051 (generated): Add those targets.
29052 * elf/check-execstack.c: File removed.
29054 * scripts/check-textrel.awk: New file.
29055 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29056 (check-textrel-CFLAGS): Variable removed.
29057 (all-built-dso): Use := to define.o
29058 ($(all-built-dso:=.dyn)): New static pattern rule.
29059 (generated): Add those targets.
29060 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29061 * config.make.in (READELF): New substituted variable.
29062 * elf/check-textrel.c: File removed.
29064 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29066 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29068 * conform/data/ctype.h-data [C99-based standards] (isblank):
29070 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29071 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29072 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29073 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29074 Specify type. Require positive value.
29075 (EILSEQ): Likewise.
29076 (ERANGE): Likewise.
29077 [ISO || POSIX] (EILSEQ): Do not expect.
29078 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29079 Specify type. Require positive value.
29080 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29081 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29082 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29083 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29084 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29085 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29086 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29087 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29088 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29089 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29090 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29091 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29092 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29093 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29094 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29095 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29096 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29097 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29098 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29099 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29100 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29101 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29102 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29103 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29104 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29105 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29106 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29107 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29108 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29109 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29110 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29111 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29112 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29113 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29114 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29115 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29116 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29117 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29118 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29119 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29120 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29121 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29122 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29123 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29124 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29125 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29126 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29127 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29128 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29129 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29130 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29131 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29132 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29133 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29134 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29135 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29136 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29137 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29138 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29139 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29140 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29141 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29142 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29143 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29144 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29145 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29146 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29147 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29148 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29149 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29150 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29151 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29152 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29153 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29154 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29155 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29156 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29158 (FLT_ROUNDS): Expect as macro, not constant.
29159 (FLT_MANT_DIG): Use macro-int-constant.
29160 (DBL_MANT_DIG): Likewise.
29161 (LDBL_MANT_DIG): Likewise.
29162 (FLT_DIG): Likewise.
29163 (DBL_DIG): Likewise.
29164 (LDBL_DIG): Likewise.
29165 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29166 (DBL_MIN_EXP): Likewise.
29167 (LDBL_MIN_EXP): Likewise.
29168 (FLT_MAX_EXP): Use macro-int-constant.
29169 (DBL_MAX_EXP): Likewise.
29170 (LDBL_MAX_EXP): Likewise.
29171 (FLT_MAX_10_EXP): Likewise.
29172 (DBL_MAX_10_EXP): Likewise.
29173 (LDBL_MAX_10_EXP): Likewise.
29174 (FLT_MAX): Use macro-constant.
29175 (DBL_MAX): Likewise.
29176 (LDBL_MAX): Likewise.
29177 (FLT_EPSILON): Use macro-constant. Give upper bound.
29178 (DBL_EPSILON): Likewise.
29179 (LDBL_EPSILON): Likewise.
29180 (FLT_MIN): Likewise.
29181 (DBL_MIN): Likewise.
29182 (LDBL_MIN): Likewise.
29183 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29184 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29185 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29186 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29187 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29188 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29189 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29190 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29191 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29192 [ISO11] (FLT_TRUE_MIN): Likewise.
29193 [ISO11] (LDBL_TRUE_MIN): Likewise.
29194 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29195 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29196 (SCHAR_MIN): Use macro-int-constant. Specify type.
29197 (SCHAR_MAX): Likewise.
29198 (UCHAR_MAX): Likewise.
29199 (CHAR_MIN): Likewise.
29200 (CHAR_MAX): Likewise.
29201 (MB_LEN_MAX): Use macro-int-constant.
29202 (SHRT_MIN): Use macro-int-constant. Specify type.
29203 (SHRT_MAX): Likewise.
29204 (USHRT_MAX): Likewise.
29205 (INT_MAX): Likewise.
29206 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29208 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29210 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29212 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29213 bound negative. Suffix upper bound with "L".
29214 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29216 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29218 [C99-based standards] (LLONG_MAX): Likewise.
29219 [C99-based standards] (ULLONG_MAX): Likewise.
29220 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29222 [ISO11] (max_align_t): Require type.
29223 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29225 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29226 from $CFLAGS, without defining away __attribute__ calls.
29227 (checknamespace): Use $CFLAGS_namespace.
29229 * conform/conformtest.pl (@keywords): Only include C99 keywords
29230 for standards based on C99 or C11.
29232 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29234 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29237 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29238 usability of symbols in #if.
29240 * conform/conformtest.pl: If macro or constant types start
29241 "promoted:", expect the symbol to be of the following type
29242 promoted by the integer promotions.
29244 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29245 in one place. Also handle "macro-constant".
29247 * conform/conformtest.pl: Only accept expected macro values with
29248 "==". Parse all "macro" lines in one place.
29249 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29251 * conform/conformtest.pl: Handle braced types on "constant" lines
29252 instead of handling "typed-constant".
29253 * conform/data/signal.h-data: Use "constant" instead of
29256 * conform/conformtest.pl: Handle "optional-" at start of lines in
29257 one place rather than duplicating several cases. Handle each
29258 format of "macro" line with initial "optional-".
29260 * conform/conformtest.pl: Only accept expected constant or
29261 optional-constant values with "==". Parse all "constant" lines in
29262 one place. Parse all "optional-constant" lines in one place.
29263 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29264 * conform/data/fmtmsg.h-data: Likewise.
29265 * conform/data/netinet/in.h-data: Likewise.
29266 * conform/data/tar.h-data: Likewise.
29267 * conform/data/limits.h-data: Use "==" form on "constant" and
29268 "optional-constant" lines.
29270 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29271 Use -std=c99 for XOPEN2K.
29272 (@knownproblems): Remove.
29273 (newtoken): Don't check %isknown.
29275 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29276 Do not expect macro.
29277 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29278 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29279 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29280 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29281 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29282 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29283 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29284 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29285 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29286 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29287 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29288 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29289 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29290 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29291 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29292 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29293 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29294 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29295 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29296 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29297 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29298 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29299 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29300 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29301 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29302 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29303 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29304 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29305 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29306 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29307 [XPG3] (acosh): Likewise.
29308 [XPG3] (asinh): Likewise.
29309 [XPG3] (atanh): Likewise.
29310 [XPG3] (cbrt): Likewise.
29311 [XPG3] (expm1): Likewise.
29312 [XPG3] (ilogb): Likewise.
29313 [XPG3] (log1p): Likewise.
29314 [XPG3] (logb): Likewise.
29315 [XPG3] (nextafter): Likewise.
29316 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29317 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29318 [XPG3] (remainder): Likewise.
29319 [XPG3] (rint): Likewise.
29320 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29321 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29322 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29323 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29324 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29325 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29326 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29327 [UNIX98 || XOPEN2K] (scalb): Expect.
29328 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29329 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29330 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29331 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29332 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29333 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29334 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29335 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29336 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29337 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29338 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29339 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29340 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29341 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29342 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29343 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29344 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29345 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29346 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29347 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29348 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29349 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29350 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29351 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29352 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29353 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29354 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29355 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29356 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29357 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29358 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29359 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29360 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29361 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29362 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29363 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29364 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29365 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29366 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29367 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29368 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29369 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29370 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29371 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29372 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29373 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29374 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29375 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29376 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29377 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29378 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29379 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29380 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29381 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29382 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29383 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29384 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29385 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29386 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29387 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29388 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29389 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29390 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29391 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29392 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29393 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29394 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29395 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29396 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29397 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29398 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29399 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29400 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29401 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29402 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29403 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29404 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29405 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29406 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29407 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29408 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29409 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29410 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29411 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29412 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29413 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29414 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29415 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29416 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29417 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29418 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29419 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29420 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29421 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29422 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29423 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29424 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29425 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29426 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29427 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29428 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29429 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29430 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29431 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29432 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29433 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29434 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29435 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29436 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29437 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29438 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29439 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29440 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29441 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29442 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29443 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29444 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29445 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29446 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29447 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29448 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29449 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29450 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29451 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29452 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29453 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29454 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29455 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29456 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29457 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29458 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29459 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29460 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29461 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29462 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29463 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29464 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29466 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29467 _XOPEN_SOURCE_EXTENDED for XPG4.
29469 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29471 * Makeconfig (localtime): Remove variable.
29472 (inst_localtime-file): Likewise.
29474 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29495 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29499 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29500 comparisons to determine direction to adjust input.
29501 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29502 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29503 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29505 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29507 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29509 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29510 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29512 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29514 * math/libm-test.inc (nexttoward_test): Add more tests.
29516 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29520 in version GLIBC_2.1, not GLIBC_2.0.
29521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29524 2012-04-30 Joseph Myers <joseph@codesourcery.com>
29527 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29529 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29530 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29531 * math/libm-test.inc (acos_test): Add more tests.
29532 (asin_test): Likewise.
29533 * sysdeps/i386/fpu/libm-test-ulps: Update.
29534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29537 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29539 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29540 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29541 * math/libm-test.inc (acos_test_tonearest): New function.
29542 (acos_test_towardzero): Likewise.
29543 (acos_test_downward): Likewise.
29544 (acos_test_upward): Likewise.
29545 (asin_test_tonearest): Likewise.
29546 (asin_test_towardzero): Likewise.
29547 (asin_test_downward): Likewise.
29548 (asin_test_upward): Likewise.
29549 (main): Call the new functions.
29550 * sysdeps/i386/fpu/libm-test-ulps: Update.
29551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29555 * math/e_exp10.c: Include <float.h>.
29556 (__ieee754_exp10): Handle underflow here rather than multiplying
29557 large negative argument by M_LN10.
29558 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29560 * math/e_exp10l.c: Include <float.h>.
29561 (__ieee754_exp10l): Handle underflow here rather than multiplying
29562 large negative argument by M_LN10l.
29563 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29564 spurious overflow exception on underflow.
29566 2012-04-29 Marek Polacek <polacek@redhat.com>
29568 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29569 (__fortify_function): New macro.
29570 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29571 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29572 __extern_always_inline.
29573 * libio/bits/stdio2.h: Likewise.
29574 * libio/bits/stdio.h: Likewise.
29575 * string/string.h: Likewise.
29576 * string/bits/string3.h: Likewise.
29577 * include/stdio.h: Likewise.
29578 * stdlib/bits/stdlib.h: Likewise.
29579 * stdlib/stdlib.h: Likewise.
29580 * rt/bits/mqueue2.h: Likewise.
29581 * rt/mqueue.h: Likewise.
29582 * posix/bits/unistd.h: Likewise.
29583 * posix/unistd.h: Likewise.
29584 * io/bits/poll2.h: Likewise.
29585 * io/bits/fcntl2.h: Likewise.
29586 * io/fcntl.h: Likewise.
29587 * io/sys/poll.h: Likewise.
29588 * misc/bits/syslog.h: Likewise.
29589 * misc/bits/syslog-ldbl.h: Likewise.
29590 * misc/sys/syslog.h: Likewise.
29591 * socket/bits/socket2.h: Likewise.
29592 * socket/sys/socket.h: Likewise.
29593 * debug/tst-chk1.c: Likewise.
29594 * wcsmbs/bits/wchar2.h: Likewise.
29595 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29596 * wcsmbs/wchar.h: Likewise.
29598 2012-04-29 Andreas Jaeger <aj@suse.de>
29600 * Makerules (tests): Remove enable-check-abi protection.
29601 (check-abi-warn): Remove.
29602 (check-abi-%): Remove check-abi-warn usage.
29604 * configure.in: Remove check-abi configure option.
29605 * configure: Regenerated.
29606 * config.make.in (enable-check-abi): Remove.
29608 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29611 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29612 double functions to double *_finite functions.
29615 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29616 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29618 * stdio-common/Makefile (tests): Add tst-sprintf3.
29619 * stdio-common/tst-sprintf3.c: New file.
29621 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29622 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29624 2012-04-28 Joseph Myers <joseph@codesourcery.com>
29626 * conform/conformtest.pl: Remove duplicate typed-constant
29629 2012-04-28 David S. Miller <davem@davemloft.net>
29631 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29632 (check-abi-%): Remove AWK script prerequisite and explicit
29634 (check-abi): Rewrite to just diff the symlist with the abilist.
29635 (config-tls, config-abi-config): Delete, no longer used.
29636 (update-abi-%): Remove AWK script and explicit abilist directory.
29637 (update-abi): Rewrite to simply compare and conditionally copy the
29638 symlist and the sysdep abilist file. Remove update-abi-config
29640 * abilist/ld.abilist: Remove.
29641 * abilist/libBrokenLocale.abilist: Remove.
29642 * abilist/libanl.abilist: Remove.
29643 * abilist/libcrypt.abilist: Remove.
29644 * abilist/libdl.abilist: Remove.
29645 * abilist/librt.abilist: Remove.
29646 * abilist/libthread_db.abilist: Remove.
29647 * abilist/libutil.abilist: Remove.
29648 * scripts/extract-abilist.awk: Remove.
29649 * scripts/merge-abilist.awk: Remove.
29650 * sysdeps/generic/libcidn.abilist: New file.
29651 * sysdeps/generic/libnss_compat.abilist: New file.
29652 * sysdeps/generic/libnss_db.abilist: New file.
29653 * sysdeps/generic/libnss_dns.abilist: New file.
29654 * sysdeps/generic/libnss_files.abilist: New file.
29655 * sysdeps/generic/libnss_hesiod.abilist: New file.
29656 * sysdeps/generic/libnss_nis.abilist: New file.
29657 * sysdeps/generic/libnss_nisplus.abilist: New file.
29658 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29659 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29660 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29662 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29663 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29664 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29665 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29666 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29667 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29668 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29669 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29670 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29672 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29673 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29674 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29675 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29677 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29678 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29679 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29680 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29681 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29682 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29684 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29685 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29686 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29688 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29791 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29792 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29793 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29796 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29797 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29798 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29799 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29800 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29801 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29802 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29803 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29804 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29856 2012-04-28 Joseph Myers <joseph@codesourcery.com>
29858 * conform/conformtest.pl: Fix typo in handling typed-constant from
29861 2012-04-27 Joseph Myers <joseph@codesourcery.com>
29863 * README: Cut down references to pre-2.6 Linux kernels and
29864 Linuxthreads. Update lists of configurations in libc and ports
29865 and sort alphabetically. Say "or newer" with Linux kernel version
29868 * config.h.in [IS_IN_build]: Allow compiling without optimization.
29870 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29873 * math/libm-test.inc (logb_test_downward): New test to expose
29874 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29877 2012-04-27 Joseph Myers <joseph@codesourcery.com>
29880 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29882 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29883 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29885 2012-04-26 Joseph Myers <joseph@codesourcery.com>
29887 * sysdeps/unix/i386/brk.S: Remove file.
29888 * sysdeps/unix/i386/dl-brk.S: Likewise.
29889 * sysdeps/unix/i386/pipe.S: Likewise.
29890 * sysdeps/unix/i386/sigreturn.S: Likewise.
29891 * sysdeps/unix/i386/syscall.S: Likewise.
29892 * sysdeps/unix/i386/vfork.S: Likewise.
29893 * sysdeps/unix/i386/wait.S: Likewise.
29895 * sysdeps/unix/common/tcsendbrk.c: Move to ...
29896 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29898 * configure.in (arm*-none*): Do not allow without
29899 --enable-hacker-mode.
29900 (netbsd*): Remove case setting base_os.
29901 (386bsd*): Likewise.
29902 (freebsd*): Likewise.
29905 (sunos*): Likewise.
29906 (ultrix*): Likewise.
29907 (newsos*): Likewise.
29908 (dynix*): Likewise.
29914 (minix*): Likewise.
29915 (irix4*): Likewise.
29916 (irix6*): Likewise.
29917 (solaris[2-9]*): Likewise.
29919 * configure: Regenerated.
29921 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29924 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
29925 overflow or cancellation in calculating denominator.
29926 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
29927 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
29928 down expression to avoid unexpected rounding in newer GCCs.
29929 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
29931 2012-04-26 David S. Miller <davem@davemloft.net>
29933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
29934 long-double compat symbols.
29935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
29939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
29941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
29942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
29943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
29944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
29946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
29947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29949 2012-04-25 David S. Miller <davem@davemloft.net>
29951 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
29952 HWCAP_* values only after the memory barriers have been defined.
29953 (atomic_full_barrier): Define.
29954 (atomic_read_barrier): Define.
29955 (atomic_write_barrier): Define.
29957 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29959 * shlib-versions: Add libgcc_s version information.
29960 * sysdeps/generic/libgcc_s.h: Remove.
29961 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
29963 * sysdeps/gnu/unwind-resume.c: Likewise.
29964 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
29966 2012-04-25 David S. Miller <davem@davemloft.net>
29968 * sysdeps/unix/sparc/brk.S: Delete.
29969 * sysdeps/unix/sparc/dl-brk.S: Delete.
29970 * sysdeps/unix/sparc/pipe.S: Delete.
29971 * sysdeps/unix/sparc/sysdep.S: Delete.
29972 * sysdeps/unix/sparc/sysdep.h: Delete.
29973 * sysdeps/unix/sparc/vfork.S: Delete.
29974 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
29975 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
29976 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
29977 ret_ERRVAL, r0, r1, MOVE): Define.
29978 (JUMPTARGET): Remove.
29979 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
29980 sysdeps/unix/sparc/sysdep.h
29981 (ENTRY, END): Remove.
29982 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29984 2012-04-25 Joseph Myers <joseph@codesourcery.com>
29986 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
29987 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
29990 * timezone/README: Update upstream location and email address for
29992 * timezone/zdump.c: Update from tzcode 2012b.
29993 * timezone/zic.c: Likewise.
29995 * configure.in (libc_cv_as_needed): Remove test.
29996 * configure: Regenerated.
29997 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
29998 conditional definition.
29999 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30000 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30001 * config.make.in (have-as-needed): Remove variable.
30003 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30004 Paul Pluzhnikov <ppluzhnikov@google.com>
30006 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30009 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30011 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30012 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30013 * sysdeps/sh/strlen.S: Likewise.
30015 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30017 * sysdeps/unix/fork.S: Remove file.
30018 * sysdeps/unix/i386/fork.S: Likewise.
30019 * sysdeps/unix/sparc/fork.S: Likewise.
30021 * sysdeps/unix/system.c: Remove file.
30022 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30024 * sysdeps/unix/getegid.S: Remove file.
30025 * sysdeps/unix/geteuid.S: Likewise.
30027 2012-04-24 Roland McGrath <roland@hack.frob.com>
30029 * scripts/check-localplt.awk: New file.
30030 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30032 * scripts/data/localplt-generic.data: Add a comment.
30034 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30035 NODE when __dir_mkfile failed.
30036 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30037 Reported by Ludovic Courtès <ludo@gnu.org>.
30039 2012-04-24 Andreas Jaeger <aj@suse.de>
30041 * Makerules (common-clean): Also remove gen-as-const-headers
30044 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30046 * Makerules (native-compile): Do not change working directory for
30047 build. Use $(OUTPUT_OPTION) in command.
30048 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30050 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30053 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30054 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30055 * math/libm-test.inc (floor_test): Add more tests.
30056 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30058 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30060 * sysdeps/unix/getdents.c: Remove file.
30061 * sysdeps/unix/sysv/getdents.c: Likewise.
30062 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30064 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30065 sysdeps/unix/mman/syscalls.list.
30067 (mprotect): Likewise.
30069 (munmap): Likewise.
30070 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30071 * sysdeps/unix/mman/syscalls.list: Remove.
30072 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30074 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30075 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30076 * configure: Regenerated.
30077 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30078 $(libgcc_s_suffix).
30079 * config.make.in (libgcc_s_suffix): Remove variable.
30081 2012-04-23 Joseph Myers <joseph@codesourcery.com>
30083 * sysdeps/unix/sysv/gethostname.c: Move to ...
30084 * sysdeps/posix/gethostname.c: ... here.
30086 * sysdeps/unix/execve.S: Remove file.
30088 * sysdeps/unix/_exit.S: Remove file.
30090 2012-04-23 Andreas Jaeger <aj@suse.de>
30093 * manual/Makefile: Remove make dist support, there's no
30094 need for a stand-alone documentation tar ball.
30095 (TEXI2DVI): Define always, it's not in Makeconfig.
30098 (edition): Removed.
30099 (glibc-doc-$(edition).tar): Removed
30103 (ETAGS): Remove, it's in Makeconfig.
30104 (move-if-change): Remove, it's in Makeconfig.
30106 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30109 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30110 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30111 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30112 (strtod_l, strtof_l, strtold_l): Remove __wur.
30113 It is not necessarily an error to ignore strtol's return value.
30114 One can reliably look at the stored endptr to decide whether
30115 the number had valid syntax.
30117 2012-04-21 Andreas Jaeger <aj@suse.de>
30120 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30122 2012-04-21 Joseph Myers <joseph@codesourcery.com>
30124 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30125 * sysdeps/unix/sysv/Versions: Remove file.
30127 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30132 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
30135 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30136 version from __vm86.
30138 2012-04-20 Joseph Myers <joseph@codesourcery.com>
30140 * sysdeps/unix/common/lxstat.c: Remove file.
30141 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30143 * sysdeps/unix/sysv/Makefile: Remove file.
30145 * sysdeps/unix/sysv/direct.h: Remove file.
30147 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30148 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30149 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30150 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30151 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30152 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30153 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30155 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30157 * sysdeps/unix/xmknod.c: Remove file.
30158 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30160 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30162 * sysdeps/unix/sysv/i386/time.S: Remove file.
30164 * sysdeps/unix/fxstat.c: Remove file.
30165 * sysdeps/unix/xstat.c: Likewise.
30166 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30168 * sysdeps/unix/sysv/sigaction.c: Remove file.
30170 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30171 (sysdep_headers): Remove variable.
30172 [termio.h not in sysdep_headers] (generated): Likewise.
30173 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30174 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30175 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30176 * sysdeps/unix/sysv/tcflow.c: Likewise.
30177 * sysdeps/unix/sysv/tcflush.c: Likewise.
30178 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30179 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30180 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30181 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30182 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30184 * sysdeps/unix/siglist.c: Remove file.
30186 * sysdeps/unix/getppid.S: Remove file.
30188 * sysdeps/unix/mkdir.c: Remove file.
30189 * sysdeps/unix/rmdir.c: Likewise.
30191 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30193 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30195 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30196 errlist-compat value.
30198 2012-04-18 David S. Miller <davem@davemloft.net>
30200 * sysdeps/generic/memcopy.h (reg_char): Delete.
30201 * debug/strcat_chk.c: Use char, not reg_char.
30202 * debug/strcpy_chk.c: Likewise.
30203 * debug/strncat_chk.c: Likewise.
30204 * debug/strncpy_chk.c: Likewise.
30205 * string/memchr.c: Likewise.
30206 * string/memrchr.c: Likewise.
30207 * string/rawmemchr.c: Likewise.
30208 * string/strcat.c: Likewise.
30209 * string/strchr.c: Likewise.
30210 * string/strchrnul.c: Likewise.
30211 * string/strcmp.c: Likewise.
30212 * string/strcpy.c: Likewise.
30213 * string/strncat.c: Likewise.
30214 * string/strncmp.c: Likewise.
30215 * string/strncpy.c: Likewise.
30217 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30219 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30220 __builtin_memcopy is called when src and dest ranges are known to not
30223 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30225 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30226 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30227 fwd_align_merge macro call.
30228 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30229 bwd_align_merge macro call.
30230 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30232 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30234 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30235 bwd_align_merge macros.
30236 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30237 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30238 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30240 2012-04-18 David S. Miller <davem@davemloft.net>
30242 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30244 2012-04-18 Andreas Jaeger <aj@suse.de>
30247 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30248 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30249 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30251 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30252 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30253 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30255 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30256 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30257 Adjust for changed ldbl-128 files.
30259 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30260 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30261 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30263 2012-04-17 David S. Miller <davem@davemloft.net>
30265 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30267 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30269 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30270 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30271 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30272 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30273 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30274 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30276 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30279 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30280 * math/libm-test.inc: Add ilogb errno and exception tests.
30281 * math/w_ilogb.c: New file: ilogb wrapper.
30282 * math/w_ilogbf.c: New file: ilogbf wrapper.
30283 * math/w_ilogbl.c: New file: ilogbl wrapper.
30284 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30285 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30286 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30287 exception being thrown with 0.0 as argument.
30288 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30289 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30290 exception being thrown with 0.0 as argument.
30291 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30292 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30293 exception being thrown with 0.0 as argument.
30294 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30295 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30296 exception being thrown with 0.0 as argument.
30297 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30298 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30299 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30300 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30301 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30302 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30303 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30304 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30305 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30307 2012-04-17 Petr Baudis <pasky@ucw.cz>
30309 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30312 2012-04-16 Marek Polacek <polacek@redhat.com>
30314 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30316 2012-04-16 Marek Polacek <polacek@redhat.com>
30318 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30319 operands of fdivp instruction.
30321 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30323 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30324 * elf/tst-auditmod3b.c: Likewise.
30325 * elf/tst-auditmod4b.c: Likewise.
30326 * elf/tst-auditmod5b.c: Likewise.
30327 * elf/tst-auditmod6b.c: Likewise.
30328 * elf/tst-auditmod6c.c: Likewise.
30329 * elf/tst-auditmod7b.c: Likewise.
30330 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30331 * sysdeps/x86_64/preconfigure.in: Likewise.
30332 * sysdeps/x86_64/preconfigure: Regenerated.
30334 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30336 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30339 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
30341 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30342 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30344 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30347 * locale/iso-639.def: Fix gl language name. Spotted by
30350 2012-04-12 Roland McGrath <roland@hack.frob.com>
30353 * libio/libio.h (__io_write_fn): Update comment.
30355 2012-04-12 Petr Baudis <pasky@ucw.cz>
30358 * stdio.texi (Hook Functions): The user provided writer function
30359 is not allowed to return -1.
30361 2012-04-11 David S. Miller <davem@davemloft.net>
30363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30365 2012-04-11 Mike Frysinger <vapier@gentoo.org>
30367 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30368 Add a leading slash to rtkaio.
30370 2012-04-11 Jim Meyering <meyering@redhat.com>
30373 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30374 It is not necessarily an error to ignore fwrite's return
30375 value. One can reliably use ferror to test for errors after
30378 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30380 * bits/types.h (__snseconds_t): New type.
30381 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30383 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30385 (__SNSECONDS_T_TYPE): Likewise.
30386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30387 (__SNSECONDS_T_TYPE): Likewise.
30388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30389 (__SNSECONDS_T_TYPE): Likewise.
30391 2012-04-10 Andreas Jaeger <aj@suse.de>
30394 * manual/time.texi (Processor Time): Return type of times is
30395 elapsed real time since an arbitrary point in the past.
30396 (CPU Time): Move CLK_TCK from here...
30397 (Processor Time): ...to here. Correct description.
30398 * manual/conf.texi (Constants for Sysconf): Correct description of
30401 2012-04-10 David S. Miller <davem@davemloft.net>
30404 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30405 where the is a gap between DT_REL(A) and DT_JMPREL.
30407 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30409 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30410 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30411 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30413 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30415 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30416 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30417 (dl_main): Handle --inhibit-cache.
30418 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30420 * elf/dl-load.c (_dl_map_object): Use it.
30421 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30423 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30426 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30427 (__ieee754_powl): Saturate large exponents rather than testing for
30428 overflow of y*log2(x).
30429 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30430 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30434 * math/s_ctan.c: Include <float.h>.
30435 (__ctan): Avoid internal overflow or cancellation in calculating
30437 * math/s_ctanf.c: Likewise.
30438 * math/s_ctanl.c: Likewise.
30439 * math/s_ctanh.c: Likewise.
30440 * math/s_ctanhf.c: Likewise.
30441 * math/s_ctanhl.c: Likewise.
30442 * math/libm-test.inc (ctan_test): Add more tests.
30443 (ctanh_test): Likewise.
30444 * sysdeps/i386/fpu/libm-test-ulps: Update.
30445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30447 2012-04-09 Andreas Jaeger <aj@suse.de>
30450 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30451 is an optional BSD extension.
30454 * manual/stdio.texi (Opening Streams): Document additional fopen
30457 2012-04-09 Roland McGrath <roland@hack.frob.com>
30459 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30460 %eax without telling the compiler.
30462 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30465 * manual/install.texi: Use sourceware.org.
30467 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30470 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30471 (__ieee754_pow): Generate overflow and underflow using huge*huge
30472 and tiny*tiny rather than just returning constant infinity or zero
30473 for large exponents.
30474 * math/libm-test.inc (pow_test): Require overflow exceptions for
30475 applicable cases of large exponents.
30478 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30479 (__ieee754_pow): Use iterative multiplication algorithm only for
30480 integer exponents with absolute value below 1024. Check for odd
30481 integer exponents when using algorithm for real exponents.
30482 * math/libm-test.inc (pow_test): Add more tests.
30483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30485 2012-04-08 Joseph Myers <joseph@codesourcery.com>
30488 * math/libm-test.inc (exp_test): Do not allow overflow exception
30491 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30494 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30495 instead of __kernel_standard_f.
30497 2012-04-08 Mike Frysinger <vapier@gentoo.org>
30499 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30500 * sysdeps/x86_64/memset_chk.S: Likewise.
30502 2012-04-08 Andreas Jaeger <aj@suse.de>
30505 * manual/startup.texi (Environment Access): Describe return value
30506 for putenv and setenv.
30509 * manual/filesys.texi (Directory Entries): Add description for
30513 * manual/filesys.texi (Directory Entries): Clarify that it's file
30514 system not operating system in the description of DT_UNKNOWN.
30517 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30519 2012-04-08 Stephen Compall <s11@member.fsf.org>
30522 * manual/llio.texi (Opening and Closing Files): Add cross
30523 reference to explain mode argument.
30525 2012-04-07 Mike Frysinger <vapier@gentoo.org>
30527 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30528 * sysdeps/x86_64/memset_chk.S: Likewise.
30530 2012-04-07 David S. Miller <davem@davemloft.net>
30532 * elf/elf.h (R_SPARC_WDISP10): Define.
30533 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30535 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30536 R_SPARC_SIZE64 and R_SPARC_H34.
30538 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30540 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30541 conditions and remove no longer applicable assertion.
30543 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30545 * bits/byteswap.h: Include <features.h>.
30546 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30547 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30549 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30551 * bits/byteswap.h (__bswap_16): Removed.
30552 Include <bits/byteswap-16.h> to get __bswap_16.
30553 * sysdeps/i386/bits/byteswap.h: Likewise.
30554 * sysdeps/s390/bits/byteswap.h: Likewise.
30555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30556 * bits/byteswap-16.h: New file.
30557 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30558 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30559 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30560 * string/Makefile (headers): Add bits/byteswap-16.h.
30562 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30565 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30567 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30568 * nss/tst-nss-static.c: New.
30570 2012-04-06 Robert Millan <rmh@gnu.org>
30573 * manual/llio.texi (File Position Primitive): lseek
30574 refers to WHENCE when it really means OFFSET.
30576 2012-04-06 Andreas Jaeger <aj@suse.de>
30578 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30579 strncmp declarations.
30581 * abilist/libc.abilist: Add __poll and __ppoll.
30583 2012-04-05 David S. Miller <davem@davemloft.net>
30585 * scripts/check-local-headers.sh: Accept a host triplet in the
30586 path matched by the exclude regexp.
30588 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30590 * sysdeps/powerpc/powerpc32/dl-machine.h
30591 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30592 * sysdeps/s390/s390-32/dl-machine.h
30593 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30594 * sysdeps/sparc/sparc32/dl-machine.h
30595 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30596 * sysdeps/sparc/sparc64/dl-machine.h
30597 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30599 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30601 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30602 undefined symbol errors.
30604 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30607 2012-04-05 Michael Matz <matz@suse.de>
30610 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30612 2012-04-05 Andreas Jaeger <aj@suse.de>
30615 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30618 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30620 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30621 which ROUND is no valid rounding mode.
30623 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30625 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30627 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30629 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30631 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30632 an exception using FPU order intentionally.
30634 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30636 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30637 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30638 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30639 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30641 2012-04-05 Simon Josefsson <simon@josefsson.org>
30644 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30645 EINVAL when BUFLEN is too smal.
30647 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30650 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30651 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30653 2012-04-03 Andreas Jaeger <aj@suse.de>
30656 * manual/setjmp.texi (System V contexts): Fix sentence.
30659 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30660 New macro for this case.
30661 [!__GNUC__] (__bswap_64): New inline function for this case.
30662 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30663 * bits/byteswap.h: Likewise.
30664 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30665 ull, guard with __GLIBC_HAVE_LONG_LONG.
30667 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30668 __GLIBC_HAVE_LONG_LONG.
30670 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30671 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30673 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30676 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30677 inptr and inend, rather than using last_ch.
30679 2012-04-02 David S. Miller <davem@davemloft.net>
30681 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30682 * stdio-common/printf-parse.h (read_int): Change return type to
30683 'int', return -1 on INT_MAX overflow.
30684 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30685 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30686 overflows INT_MAX. Check for overflow of in-format-string precision
30687 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30688 SIZE_MAX not INT_MAX for integer overflow test.
30689 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30690 skip the construct in the format string but do not record anything.
30691 * stdio-common/bug22.c: Adjust to test both width/prevision
30692 INT_MAX overflow as well as total length INT_MAX overflow. Check
30693 explicitly for proper errno values.
30695 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30697 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30699 * string/test-strcmp.c [! WIDE]: Likewise.
30700 * time/tst-mktime2.c: Likewise for INT_MAX.
30701 * string/test-string.h: #include <sys/param.h> for MIN.
30703 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30704 * sysdeps/i386/init-first.c (init): Likewise.
30705 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30706 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30707 * sysdeps/sh/init-first.c (init): Likewise.
30709 2012-04-01 Ulrich Drepper <drepper@gmail.com>
30711 * po/ru.po: Update from translation team.
30712 * po/vi.po: Likewise.
30714 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30716 * resolv/nss_dns/dns-host.c: Merge copyright years.
30718 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30720 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30721 Optimize memcpy with prefetch if
30722 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30723 src, dst pointers have unequal 16 byte alignments.
30725 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30728 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30729 from a CNAME entry and return the minimum ttl for the query.
30730 (gaih_getanswer_slice): Likewise.
30732 2012-03-30 Jeff Law <law@redhat.com>
30734 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30736 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30737 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30739 * resolv/nss_dns/dns-host.c: Update copyright year.
30741 2012-03-30 Ulrich Drepper <drepper@gmail.com>
30743 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30744 requests to save a system call. Fix check that all bytes are sent.
30746 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30747 comments for sendmmsg.
30749 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30752 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30753 with only 1 character between 0x0041 and 0x01b0.
30754 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30755 * wcsmbs/tst-mbsnrtowcs.c: New file.
30757 2012-03-29 David S. Miller <davem@davemloft.net>
30759 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30760 small copies by hand.
30762 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30765 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30766 _nss_compat_initgroups_dyn): Fall back to malloc/free
30767 for large group memberships.
30769 2012-03-28 David S. Miller <davem@davemloft.net>
30771 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30772 that branches into memcpy.
30773 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30774 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30775 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30776 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30779 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30780 implementation too.
30781 * sysdeps/sparc/mempcpy.S: New file.
30783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30784 the IFUNC routine in the libc case.
30785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30787 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30788 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30789 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30790 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30791 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30792 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30793 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30794 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30796 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30797 loop to 256 bytes instead of 64 bytes and fix test signedness.
30799 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30800 * sysdeps/sparc/sparc32/Makefile: rather than here...
30801 * sysdeps/sparc/sparc64/Makefile: and here.
30803 2012-03-28 Ulrich Drepper <drepper@gmail.com>
30805 * malloc/mallocbug.c: Avoid warnings about unused variables.
30807 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30810 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30811 in the right place. Discard and retry query if response is
30812 larger than input buffer size.
30814 2012-03-28 Joseph Myers <joseph@codesourcery.com>
30819 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30820 x for large integer exponent.
30821 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30822 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
30823 sign of result as needed afterwards.
30824 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30825 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30826 result for underflowing pow the same as for overflow.
30827 (__kernel_standard_l): Handle powl overflow and underflow here
30828 rather than calling __kernel_standard.
30829 * math/libm-test.inc (pow_test): Add more tests.
30844 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30845 * sysdeps/ieee754/k_standard.c: Include <float.h>.
30846 (__kernel_standard_l): New function.
30847 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30849 * math/w_acosl.c (__acosl): Likewise.
30850 * math/w_asinl.c (__asinl): Likewise.
30851 * math/w_atan2l.c (__atan2l): Likewise.
30852 * math/w_atanhl.c (__atanhl): Likewise.
30853 * math/w_coshl.c (__coshl): Likewise.
30854 * math/w_exp10l.c (__exp10l): Likewise.
30855 * math/w_exp2l.c (__exp2l): Likewise.
30856 * math/w_fmodl.c (__fmodl): Likewise.
30857 * math/w_hypotl.c (__hypotl): Likewise.
30858 * math/w_j0l.c (__j0l, __y0l): Likewise.
30859 * math/w_j1l.c (__j1l, __y1l): Likewise.
30860 * math/w_jnl.c (__jnl, __ynl): Likewise.
30861 * math/w_lgammal.c (__lgammal): Likewise.
30862 * math/w_log10l.c (__log10l): Likewise.
30863 * math/w_log2l.c (__log2l): Likewise.
30864 * math/w_logl.c (__logl): Likewise.
30865 * math/w_powl.c (__powl): Likewise.
30866 * math/w_remainderl.c (__remainderl): Likewise.
30867 * math/w_scalbl.c (sysv_scalbl): Likewise.
30868 * math/w_sinhl.c (__sinhl): Likewise.
30869 * math/w_sqrtl.c (__sqrtl): Likewise.
30870 * math/w_tgammal.c (__tgammal): Likewise.
30871 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30872 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30873 * math/libm-test.inc (acos_test): Add more tests.
30874 (acosh_test): Likewise.
30875 (asin_test): Likewise.
30876 (atanh_test): Likewise.
30877 (exp_test): Likewise.
30878 (exp10_test): Likewise.
30879 (exp2_test): Likewise.
30880 (expm1_test): Likewise.
30881 (lgamma_test): Likewise.
30882 (log_test): Likewise.
30883 (log10_test): Likewise.
30884 (log1p_test): Likewise.
30885 (log2_test): Likewise.
30886 (pow_test): Do not allow some spurious overflow exceptions.
30887 (sqrt_test): Add more tests.
30888 (tgamma_test): Likewise.
30889 (y0_test): Likewise.
30890 (y1_test): Likewise.
30891 (yn_test): Likewise.
30893 2012-03-27 Anton Blanchard <anton@samba.org>
30895 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30897 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30898 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30899 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30901 2012-03-27 David S. Miller <davem@davemloft.net>
30903 * conform/Makefile: Run run-conformtest.sh using $(BASH).
30905 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30906 have-as-vis3 check.
30908 2012-03-27 Andreas Jaeger <aj@suse.de>
30910 * sysdeps/x86_64/elf/configure.in: Moved to ...
30911 * sysdeps/x86_64/configure.in: ... here.
30912 * sysdeps/x86_64/elf/start.S: Moved to ...
30913 * sysdeps/x86_64/start.S: ... here.
30914 * sysdeps/x86_64/elf/configure: Delete.
30916 * sysdeps/x86_64/configure.in: Merge contents from
30917 sysdeps/i386/configure.in (without i686 check).
30919 * sysdeps/i386/elf/Versions: Merge into ...
30920 * sysdeps/i386/Versions: ... this.
30921 * sysdeps/i386/elf/Versions: Delete file.
30922 * sysdeps/i386/elf/start.S: Moved to ...
30923 * sysdeps/i386/start.S: ...here.
30924 * sysdeps/i386/elf/configure.in: Merge into...
30925 * sysdeps/i386/configure.in: ...here.
30926 * sysdeps/i386/elf/configure.in: Delete file.
30927 * sysdeps/i386/elf/configure: Delete file.
30929 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30930 * debug/backtracesyms.c: ... here.
30931 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
30932 * debug/backtracesymsfd.c: ... here.
30933 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
30934 * sysdeps/generic/ifunc-sel.h: ... here.
30936 * sysdeps/unix/i386/start.c: Delete file.
30937 * sysdeps/unix/sparc/start.c: Delete file.
30938 * sysdeps/unix/start.c: Delete file.
30940 * sysdeps/sh/elf/configure.in: Moved to ...
30941 * sysdeps/sh/configure.in: ... here.
30942 * sysdeps/sh/elf/start.S: Moved to ...
30943 * sysdeps/sh/start.S: ... here.
30944 * sysdeps/sh/elf/configure: Delete file.
30946 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
30947 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
30948 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
30949 * sysdeps/powerpc/powerpc64/entry.h: ... here.
30950 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
30951 * sysdeps/powerpc/powerpc64/start.S: here.
30952 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
30953 * sysdeps/powerpc/powerpc64/Makefile: ... this.
30954 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
30955 * sysdeps/powerpc/powerpc64/configure.in: ... this.
30956 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
30958 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
30959 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
30960 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
30961 * sysdeps/powerpc/powerpc32/start.S: ... here.
30962 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
30963 * sysdeps/powerpc/powerpc32/configure.in: ... this.
30964 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
30966 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
30967 * sysdeps/powerpc/ifunc-sel.h: ... here.
30968 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
30969 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
30971 * sysdeps/sparc/elf/configure.in: Moved to ...
30972 * sysdeps/sparc/configure.in: ... here.
30973 * sysdeps/sparc/elf/configure: Delete file.
30974 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
30975 * sysdeps/sparc/sparc32/start.S: ... here.
30976 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
30977 * sysdeps/sparc/sparc64/start.S: ... here.
30978 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
30979 * sysdeps/sparc/sparc32/Makefile: ... this.
30980 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
30981 * sysdeps/sparc/sparc64/Makefile: ... this.
30983 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
30984 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
30985 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
30986 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
30987 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
30988 * sysdeps/s390/s390-32/setjmp.S: ... here.
30989 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
30990 * sysdeps/s390/s390-32/configure.in: ... here.
30991 * sysdeps/s390/s390-32/elf/configure: Delete file.
30992 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
30993 * sysdeps/s390/s390-32/start.S: ... here.
30995 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
30996 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
30997 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
30998 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
30999 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31000 * sysdeps/s390/s390-64/setjmp.S: ... here.
31001 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31002 * sysdeps/s390/s390-64/configure.in: ... here
31003 * sysdeps/s390/s390-64/elf/configure: Delete file.
31004 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31005 * sysdeps/s390/s390-64/start.S: ... here.
31006 * sysdeps/s390/s390-64/elf/configure: Delete.
31008 * configure.in: Remove support for elf directories in sysdeps.
31010 * configure: Regenerated.
31011 * sysdeps/i386/configure: Regenerated.
31012 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31013 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31014 * sysdeps/s390/s390-32/configure: Regenerated.
31015 * sysdeps/s390/s390-64/configure: Regenerated.
31016 * sysdeps/sh/configure: Regenerated.
31017 * sysdeps/sparc/configure: Regenerated.
31018 * sysdeps/x86_64/configure: Regenerated.
31020 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31024 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31025 denormal result into account.
31027 2012-03-25 Roland McGrath <roland@hack.frob.com>
31029 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31030 Reported by Allan McRae <allan@archlinux.org>.
31032 2012-03-23 Jeff Law <law@redhat.com>
31034 * nss/getnssent.c (__nss_getent): Fix typo.
31036 2012-03-23 David S. Miller <davem@davemloft.net>
31038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31040 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31042 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31043 to pad to uint64_t for each field.
31044 (dl_tls_index): Replace unsigned long with uint64_t.
31046 2012-03-23 Daniel Jacobowitz <dmj@google.com>
31047 Paul Pluzhnikov <ppluzhnikov@google.com>
31050 * grp/Makefile (otherlibs): Don't set it.
31051 * inet/Makefile (otherlibs): Likewise.
31052 * login/Makefile (otherlibs): Likewise.
31053 * nscd/Makefile (otherlibs): Likewise.
31054 * posix/Makefile (otherlibs): Likewise.
31055 * pwd/Makefile (otherlibs): Likewise.
31056 * rt/Makefile (otherlibs): Likewise.
31057 * sunrpc/Makefile (otherlibs): Likewise.
31058 * nss/Makefile (otherlibs): Likewise.
31059 Add libnss_files to routines and static-only-routines.
31060 ($(objpfx)getent): Remove rule.
31061 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31062 static-only-routines.
31064 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31067 * math/s_cexp.c: Include <float.h>.
31068 (__cexp): Handle exp result overflowing not necessarily
31069 overflowing both real and imaginary parts of result.
31070 * math/s_cexpf.c: Likewise.
31071 * math/s_cexpl.c: Likewise.
31072 * math/libm-test.inc (cexp_test): Add more tests.
31073 * sysdeps/i386/fpu/libm-test-ulps: Update.
31074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31076 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31078 * include/link.h (ELFW): New macro.
31079 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31080 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31082 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31084 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31087 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31089 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31091 (struct La_x32_retval): Likewise.
31093 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31095 * sysdeps/x86_64/preconfigure.in: New file.
31096 * sysdeps/x86_64/preconfigure: New generated file.
31098 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31101 * math/e_exp2l.c: Include <float.h>.
31102 (__ieee754_exp2l): Handle overflow and underflow cases
31103 separately. Only pass fractional part of argument to
31105 * math/libm-test.inc (exp2_test): Add more tests.
31107 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31108 negating x to take absolute value.
31109 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31111 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31112 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31114 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31115 computing low part if x was negated.
31116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31118 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31120 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31121 la_x32_gnu_pltexit.
31122 (pltexit): Cast int_retval to ptrdiff_t.
31123 * elf/tst-auditmod3b.c: Likewise.
31124 * elf/tst-auditmod4b.c: Likewise.
31125 * elf/tst-auditmod5b.c: Likewise.
31126 * elf/tst-auditmod6b.c: Likewise.
31127 * elf/tst-auditmod6c.c: Likewise.
31128 * elf/tst-auditmod7b.c: Likewise.
31130 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31131 and x32_gnu_pltexit.
31133 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31134 __ELF_NATIVE_CLASS.
31135 (La_x32_regs): New macro.
31136 (La_x32_retval): Likewise.
31137 (la_x32_gnu_pltenter): New function prototype.
31138 (la_x32_gnu_pltexit): Likewise.
31140 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31142 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31147 * configure.in (libc_cv_cc_nofma): Check for option to disable
31148 generation of FMA instructions.
31149 * configure: Regenerate.
31150 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31151 * sysdeps/ieee754/dbl-64/Makefile: New file.
31152 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31153 Remove brandred-fma4.
31154 (CFLAGS-brandred-fma4.c): Remove.
31155 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31156 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31158 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31161 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31163 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31164 LLONG_MAX != LONG_MAX.
31165 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31166 (_fitoa_word): Likewise.
31167 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31168 LLONG_MAX != LONG_MAX.
31169 * stdio-common/_itowa.h: Include <_itoa.h>.
31170 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31171 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31172 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31173 only if not defined.
31174 (_ITOA_WORD_TYPE): Likewise.
31175 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31176 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31178 2012-03-21 David S. Miller <davem@davemloft.net>
31180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31182 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31184 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31185 of x86_64 when setting libc_cv_slibdir, libdir and
31187 * sysdeps/unix/sysv/linux/configure: Regenerated.
31189 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31191 * manual/lang.texi (Old Varargs): Remove section.
31192 (How Variadic): Update menu.
31193 (va_start): Do not mention varargs.h.
31195 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31196 Joseph Myers <joseph@codesourcery.com>
31198 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31200 * configure: Regenerated.
31202 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31204 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31205 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31208 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31211 * Makefile (files-for-dist): Remove NOTES.
31212 (NOTES): Remove rule.
31213 * README: Don't refer to NOTES.
31214 * manual/creature.texi: Don't include macros.texi.
31215 * manual/intro.texi (creature.texi): Remove comment referring to
31218 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31219 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31220 * configure: Regenerated.
31221 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31222 LIBC_TRY_CC_OPTION.
31223 (libc_cv_as_i686): Likewise.
31224 (libc_cv_cc_avx): Likewise.
31225 (libc_cv_cc_sse2avx): Likewise.
31226 (libc_cv_cc_fma4): Likewise.
31227 (libc_cv_cc_novzeroupper): Likewise.
31228 * sysdeps/i386/configure: Regenerated.
31231 * sysdeps/i386/fpu/s_cexp.S: Remove.
31232 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31233 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31234 * math/libm-test.inc (cexp_test): Add more tests.
31235 * sysdeps/i386/fpu/libm-test-ulps: Update.
31236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31238 2012-03-21 Allan McRae <allan@archlinux.org>
31240 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31242 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31245 * math/w_exp2.c: Do not include <float.h>.
31246 (o_threshold, u_threshold): Remove.
31247 (__exp2): Calculate result before checking finiteness and calling
31249 * math/w_exp2f.c: Likewise.
31250 * math/w_exp2l.c: Likewise.
31251 * math/libm-test.inc (exp2_test): Require overflow exception for
31255 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31256 range of signed 64-bit integers before using fistpll. Remove
31257 checks for whether integers fit in mantissa bits.
31258 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31259 the range of signed 32-bit integers before using fistpl. Remove
31260 checks for whether integers fit in mantissa bits.
31261 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31262 (__ieee754_powl): Test for y outside the range of signed 64-bit
31263 integers before using fistpll. Reduce 64-bit values to 63-bit
31265 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31266 divide-by-zero is raised for zero to large negative powers.
31267 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31268 (__ieee754_powl): Test for y outside the range of signed 64-bit
31269 integers before using fistpll. Reduce 64-bit values to 63-bit
31271 * math/libm-test.inc (pow_test): Add more tests.
31273 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31275 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31276 <stdio-common/_itoa.h>.
31277 * debug/segfault.c: Likewise.
31278 * elf/dl-cache.c: Likewise.
31279 * elf/dl-minimal.c: Likewise.
31280 * elf/dl-misc.c: Likewise.
31281 * elf/dl-sysdep.c: Likewise.
31282 * elf/dl-version.c: Likewise.
31283 * elf/rtld.c: Likewise.
31284 * hurd/hurdsock.c: Likewise.
31285 * hurd/lookup-retry.c: Likewise.
31286 * malloc/malloc.c: Likewise.
31287 * malloc/mtrace.c: Likewise.
31288 * nscd/nscd_getgr_r.c: Likewise.
31289 * nscd/nscd_getpw_r.c: Likewise.
31290 * nscd/nscd_getserv_r.c: Likewise.
31291 * posix/getopt_init.c: Likewise.
31292 * posix/wordexp.c: Likewise.
31293 * stdio-common/_itoa.c: Likewise.
31294 * stdio-common/printf_fphex.c: Likewise.
31295 * stdio-common/vfprintf.c: Likewise.
31296 * string/_strerror.c: Likewise.
31297 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31298 * sysdeps/i386/i686/hp-timing.h: Likewise.
31299 * sysdeps/mach/_strerror.c: Likewise.
31300 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31301 * sysdeps/mach/hurd/sethostid.c: Likewise.
31302 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31303 * sysdeps/mach/xpg-strerror.c: Likewise.
31304 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31305 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31306 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31307 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31308 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31309 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31310 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31311 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31312 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31313 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31314 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31315 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31316 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31317 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31318 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31319 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31320 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31321 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31322 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31323 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31324 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31326 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31328 * stdio-common/_itoa.h: Moved to ...
31329 * sysdeps/generic/_itoa.h: Here.
31331 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31333 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31334 instead of "_itoa.h" and "_itowa.h".
31335 * stdio-common/vfprintf.: Likewise.
31337 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31339 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31341 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31342 (__signbit): Likwise.
31343 (llrintf): Likwise.
31346 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31348 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31351 2012-03-20 Joseph Myers <joseph@codesourcery.com>
31353 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31354 OVERFLOW_EXCEPTION_OK.
31355 * math/libm-test.inc ("Philosophy"): Update comment about
31357 (OVERFLOW_EXCEPTION): Define.
31358 (OVERFLOW_EXCEPTION_OK): Likewise.
31359 (INVALID_EXCEPTION_OK): Renumber.
31360 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31361 (IGNORE_ZERO_INF_SIGN): Likewise.
31362 (test_exceptions): Handle FE_OVERFLOW.
31363 (exp10_test): Expect overflow exceptions.
31364 (exp2_test): Likewise.
31365 (expm1_test): Likewise.
31366 (nextafter_test): Likewise.
31367 (pow_test): Likewise.
31368 (scalbn_test): Likewise.
31369 (scalbln_test): Likewise.
31371 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31373 * sysdeps/x86_64/bits/atomic.h
31374 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31376 (atomic_exchange_acq): Likewise.
31377 (__arch_exchange_and_add_body): Likewise.
31378 (__arch_add_body): Likewise.
31379 (atomic_add_negative): Likewise.
31380 (atomic_add_zero): Likewise.
31382 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31384 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31385 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31387 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31389 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31390 Check __x86_64__ instead of __WORDSIZE.
31392 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31394 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31396 2012-03-19 David S. Miller <davem@davemloft.net>
31398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31400 * sysdeps/sparc/fpu/fenv_private.h: New file.
31401 * sysdeps/sparc/fpu/math_private.h: Use it.
31402 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31404 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31405 (libc_feholdexcept_setroundl): Remove.
31406 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31408 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31409 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31411 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31413 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31414 int64_t instead of long int.
31415 (INSERT_WORDS64): Likwise.
31417 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31419 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31420 _Unwind_GetCFA return to _Unwind_Ptr first.
31422 2012-03-19 Joseph Myers <joseph@codesourcery.com>
31425 * math/s_clog.c: Include <float.h>.
31426 (__clog): Scale large or subnormal inputs.
31427 * math/s_clogf.c: Likewise.
31428 * math/s_clogl.c: Likewise.
31429 * math/s_clog10.c: Include <float.h>.
31430 (M_LOG10_2): Define.
31431 (__clog10): Scale large or subnormal inputs.
31432 * math/s_clog10f.c: Likewise.
31433 * math/s_clog10l.c: Likewise.
31434 * math/libm-test.inc (clog_test): Add more tests.
31435 (clog10_test): Likewise.
31436 * sysdeps/i386/fpu/libm-test-ulps: Update.
31437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31440 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31442 * math/libm-test.inc (atan2_test): Add another test.
31444 * Makerules (common-objdir-compile): Remove.
31445 * sysdeps/unix/Makefile (config-generated): Do not add
31446 $(unix-generated) to variable.
31447 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31448 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31450 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31452 [generic bits/local_lim.h] (before-compile): Do not append to
31454 [generic bits/local_lim.h] (common-generated): Likewise.
31455 [generic sys/param.h] (before-compile): Do not append to variable.
31456 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31457 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31458 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31459 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31461 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31462 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31463 [generic sys/param.h] ($(addprefix
31464 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31465 [generic sys/param.h] (common-generated): Do not append to
31467 [generic sys/param.h] (sysdep_headers): Likewise.
31468 [generic bits/errno.h] (before-compile): Do not append to
31470 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31472 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31473 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31474 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31475 [generic bits/errno.h] (common-generated): Do not append to
31477 [generic bits/ioctls.h] (before-compile): Do not append to
31479 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31481 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31482 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31483 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31485 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31486 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31487 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31488 [generic bits/ioctls.h] (common-generated): Do not append to
31490 [generic sys/syscall.h] (syscall.h): Remove variable.
31491 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31493 [generic sys/syscall.h] (before-compile): Do not append to
31495 [generic sys/syscall.h] (common-generated): Likewise.
31496 * sysdeps/unix/errnos-tmpl.c: Remove file.
31497 * sysdeps/unix/errnos.awk: Likewise.
31498 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31499 * sysdeps/unix/ioctls.awk: Likewise.
31500 * sysdeps/unix/mk-local_lim.c: Likewise.
31501 * sysdeps/unix/snarf-ioctls: Likewise.
31503 2012-03-19 Richard Henderson <rth@twiddle.net>
31505 * sysdeps/i386/fpu/fenv_private.h: New file.
31506 * sysdeps/i386/fpu/math_private.h: Use it.
31507 (math_opt_barrier, math_force_eval): Remove.
31508 (libc_feholdexcept_setround_53bit): Remove.
31509 (libc_feupdateenv_53bit): Remove.
31510 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31511 (math_opt_barrier, math_force_eval): Remove.
31512 (libc_feholdexcept): Remove.
31513 (libc_feholdexcept_setround): Remove.
31514 (libc_fetestexcept, libc_fesetenv): Remove.
31515 (libc_feupdateenv_test): Remove.
31516 (libc_feupdateenv, libc_feholdsetround): Remove.
31517 (libc_feresetround): Remove.
31519 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31520 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31522 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31523 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31524 (libc_feupdateenv_testl): New.
31525 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31526 (libc_feupdateenv_testf): New.
31527 (libc_feupdateenv): Use libc_feupdateenv_test.
31528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31529 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31531 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31532 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31533 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31534 (libc_feresetround_noex): New.
31535 (libc_feresetround_noexf): New.
31536 (libc_feresetround_noexl): New.
31537 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31538 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31539 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31540 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31542 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31543 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31545 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31546 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31547 SET_RESTORE_ROUND_NOEX.
31548 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31549 SET_RESTORE_ROUND_NOEXF.
31550 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31551 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31552 (libc_feholdsetroundf): New.
31553 (libc_feresetround, libc_feresetroundf): New.
31555 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31556 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31557 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31559 * sysdeps/generic/math_private.h: Include <fenv.h>.
31560 (default_libc_feholdexcept): New.
31561 (default_libc_feholdexcept_setround): New.
31562 (default_libc_fesetenv, default_libc_feupdateenv): New.
31563 (libc_feholdexcept): Only define if undefined.
31564 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31565 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31566 (libc_feholdexcept_setroundl): Likewise.
31567 (libc_feholdexcept_setround_53bit): Likewise.
31568 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31569 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31570 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31571 (libc_feupdateenv_53bit): Likewise.
31572 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31573 (libc_feholdexcept): Convert from macro to inline function.
31574 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31575 (libc_fesetenv, libc_feupdateenv): Likewise.
31577 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31578 not previously defined.
31579 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31580 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31581 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31582 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31583 * sysdeps/ieee754/flt-32/math_private.h: New file.
31584 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31585 math_private.h below SET_FLOAT_WORD.
31586 (__isnan, __isinf_ns, __finite): Remove.
31587 (__isnanf, __isinf_nsf, __finitef): Remove.
31589 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31593 2012-03-17 David S. Miller <davem@davemloft.net>
31596 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31599 2012-03-16 David S. Miller <davem@davemloft.net>
31601 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31605 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31607 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31608 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31609 sysdep_routines when subdir is sysvipc.
31610 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31611 __getshmlba helper.
31613 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31615 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31617 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31620 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31622 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31623 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31624 (__lround): Renamed to ...
31625 (__llround): This. Replace long int with long long int.
31626 Define lround functions as aliases of llround functions.
31627 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31629 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31631 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31632 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31633 adresses to uintptr_t. Replace "long int" and "unsigned long
31634 int" with "greg_t" on va_arg.
31636 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31638 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31639 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31641 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31642 Move e_machine check before EI_CLASS check. Handle x32
31643 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31644 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31645 SKIP_EM_IA_64 and include
31646 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31648 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31649 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31650 (add_system_dir): New macro.
31652 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31653 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31655 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31666 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31668 * math/w_j0f.c (j0f): Likewise.
31670 * math/w_j0l.c (__j0l): Likewise.
31672 * math/w_j1.c (j1): Likewise.
31674 * math/w_j1f.c (j1f): Likewise.
31676 * math/w_j1l.c (__j1l): Likewise.
31678 * math/w_jn.c (jn): Likewise.
31680 * math/w_jnf.c (jnf): Likewise.
31682 * math/w_jnl.c (__jnl): Likewise.
31684 * math/libm-test.inc (j0_test): Add more tests.
31685 (j1_test): Likewise.
31686 (jn_test): Likewise. Add trailing semicolon to existing test.
31687 (y0_test): Likewise.
31688 (y1_test): Likewise.
31689 * sysdeps/i386/fpu/libm-test-ulps: Update.
31690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31694 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31695 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31696 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31697 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31698 (__tanl): Set errno for infinite argument.
31699 * sysdeps/i386/fpu/mptan.c: Remove.
31700 * sysdeps/i386/fpu/s_tan.S: Likewise.
31701 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31702 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31703 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31704 * math/libm-test.inc (tan_test): Add more tests and enable more
31705 tests for double and long double.
31706 * sysdeps/i386/fpu/libm-test-ulps: Update.
31707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31709 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31711 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31712 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31714 2012-03-16 Roland McGrath <roland@hack.frob.com>
31716 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31717 * configure.in: Use it for both main tree and add-ons.
31718 * configure: Regenerated.
31720 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31722 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31724 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31726 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31730 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31731 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31732 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31733 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31734 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31736 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31737 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31738 != 0 for prec == 2.
31739 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31740 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31741 * sysdeps/i386/fpu/s_cosl.S: Likewise.
31742 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31743 * sysdeps/i386/fpu/s_sinl.S: Likewise.
31744 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31745 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31746 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31747 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31748 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31749 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31750 * math/libm-test.inc (cos_test): Add more tests and enable more
31751 tests for long double.
31752 (sin_test): Likewise.
31753 (sincos_test): Likewise.
31754 * sysdeps/i386/fpu/libm-test-ulps: Update.
31755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31757 2012-03-16 David S. Miller <davem@davemloft.net>
31759 * sysdeps/sparc/fpu/math_private.h: New file.
31761 2012-03-15 David S. Miller <davem@davemloft.net>
31763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31773 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31777 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31778 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31780 * sysdeps/sparc/sparc-ifunc.h: New file.
31781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31807 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31808 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31819 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31821 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31823 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31826 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31828 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31832 2012-03-15 Andreas Jaeger <aj@suse.de>
31835 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31836 ieee754/flt-32 implementation for sin, cos and sincos.
31837 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31838 * sysdeps/i386/fpu/s_cosf.S: Likewise.
31839 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31840 * sysdeps/i386/fpu/s_sinf.S: Likewise.
31841 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31842 ieee754/flt-32 implementation for tan.
31844 * math/libm-test.inc (cos_test): Enable some large input tests for
31846 (sin_test): Likewise.
31847 (sincos_test): Likewise.
31848 (tan_test): Add tests for large input.
31850 * sysdeps/i386/fpu/libm-test-ulps: Update.
31852 2012-03-15 Andreas Jaeger <aj@suse.de>
31855 * math/libm-test.inc (cos_test): Add more test cases.
31856 (sin_test): Likewise.
31857 (sincos_test): Likewise.
31859 2012-03-15 Andreas Jaeger <aj@suse.de>
31862 * math/libm-test.inc (cos_test): Add a test case for large input
31864 (sin_test): Likewise.
31865 (sincos_test): Likewise.
31867 2012-03-15 Andreas Jaeger <aj@suse.de>,
31868 Joseph Myers <joseph@codesourcery.com>
31871 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
31872 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31873 * sysdeps/i386/fpu/branred.c: Likewise.
31874 * sysdeps/i386/fpu/dosincos.c: Likewise.
31875 * sysdeps/i386/fpu/mpa.c: Likewise.
31876 * sysdeps/i386/fpu/s_cos.S: Likewise.
31877 * sysdeps/i386/fpu/s_sin.S: Likewise.
31878 * sysdeps/i386/fpu/s_sincos.S: Likewise.
31879 * sysdeps/i386/fpu/sincos32.c: Likewise.
31881 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31883 (libc_feupdateenv_53bit): Define.
31884 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31886 (libc_feupdateenv_53bit): Define.
31888 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31889 53 bit (without extend i386 double precision).
31891 * math/libm-test.inc (sincos_test): Add tests for large input.
31895 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31897 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31901 2012-03-15 David S. Miller <davem@davemloft.net>
31903 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31904 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31905 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31906 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
31918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
31921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
31924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
31926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
31927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
31929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
31930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31931 fmin/fmax sysdep routines.
31932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31934 2012-03-14 David S. Miller <davem@davemloft.net>
31936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
31937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
31938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
31939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
31940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
31941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
31942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
31943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
31944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
31945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
31946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
31947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
31948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
31949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
31950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
31951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
31952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
31953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
31954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
31955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
31956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
31957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
31958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
31959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
31960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
31961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
31962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
31963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
31964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
31966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
31968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
31969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
31971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
31972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
31974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
31975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
31977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
31978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
31980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
31981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
31983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
31985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
31987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
31989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
31991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
31993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
31995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
31996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
31998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
31999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32008 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32013 * sysdeps/sparc/configure.in: New file.
32014 * sysdeps/sparc/configure: Generate.
32015 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32016 * configure: Regenerate.
32017 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32018 * config.make.in (have-as-vis3): New.
32019 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32020 available use -Av9d instead of -Av9a.
32021 * sysdeps/sparc/sparc64/Makefile: Likewise.
32022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32037 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32038 fzeros/fnegs to load 0x80000000 into a float register instead of
32040 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32042 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32044 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32046 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32047 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32048 ($(inst_includedir)/bits/syscall.h): Remove rule.
32049 ($(objpfx)bits/syscall.d): Include instead of
32050 $(objpfx)syscall-list.d.
32051 (generated): Change syscall-list.h and syscall-list.d to
32052 bits/syscall.h and bits/syscall.d.
32054 2012-03-14 Roland McGrath <roland@hack.frob.com>
32057 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32059 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32062 * math/s_csqrt.c: Include <float.h>.
32063 (__csqrt): Scale large or subnormal inputs.
32064 * math/s_csqrtf.c: Likewise.
32065 * math/s_csqrtl.c: Likewise.
32066 * math/libm-test.inc (csqrt_test): Add more tests.
32067 * sysdeps/i386/fpu/libm-test-ulps: Update.
32068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32071 * math/libm-test.inc (hypot_test): Add more tests.
32073 2012-03-13 David S. Miller <davem@davemloft.net>
32076 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32077 double-precision for the calculation instead of scaling.
32079 2012-03-13 Joseph Myers <joseph@codesourcery.com>
32081 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32082 manipulate bits before adding and subtracting TWO52[sx].
32083 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32084 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32086 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32088 2012-03-13 David S. Miller <davem@davemloft.net>
32090 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32091 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32093 rtld-global-offsets.h
32094 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32096 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32099 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32101 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32102 'err' in the ifdef scope in which it is actually used.
32104 * nss/nss_db/db-init.c: Include string.h
32106 2012-03-12 David S. Miller <davem@davemloft.net>
32108 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32109 masking out of the most significant byte of random value used.
32110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32111 Fix coding style in previous change.
32113 * sysdeps/unix/sysv/linux/kernel-features.h
32114 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32115 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32117 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32120 2012-03-11 David S. Miller <davem@davemloft.net>
32122 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32123 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32124 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32125 for 'resultvar' otherwise things get truncated on 64-bit.
32127 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32128 Fix masking out of the most significant byte of random value used.
32130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32132 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32136 2012-03-09 David S. Miller <davem@davemloft.net>
32138 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32139 variables with appropriate CPP guards.
32140 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32141 frame pointer, not the stack pointer. Correct layout comments. Fix test
32142 on resulting framesize and the management of the outregs buffer for pltexit.
32143 Preserve floating point return values across _dl_call_pltexit call.
32144 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32145 framesize and the management of the outregs buffer for pltexit.
32146 Preserve floating point return values across _dl_call_pltexit
32148 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32149 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32150 (print_exit): Fix format string for return register value.
32152 2012-03-10 Joseph Myers <joseph@codesourcery.com>
32154 * sunrpc/Makefile (others): Add rpcgen.
32155 ($(objpfx)rpcgen): Remove special build rule and dependency on
32157 * sunrpc/rpcgen.c: New file.
32159 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32162 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32163 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32164 * sysdeps/i386/crti.S: Likewise.
32165 * sysdeps/i386/crtn.S: Likewise.
32166 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32167 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32168 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32169 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32170 * sysdeps/sh/crti.S: Likewise.
32171 * sysdeps/sh/crtn.S: Likewise.
32172 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32175 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32177 * locale/programs/locfile-kw.gperf: Likewise.
32178 * locale/programs/charmap-kw.h: Regenerated.
32179 * locale/programs/locfile-kw.h: Likewise.
32182 * intl/plural.y: Replace FSF snail mail address with URL.
32183 * intl/plural.c: Regenerated.
32185 2012-03-09 Richard Henderson <rth@twiddle.net>
32187 * include/math_private.h: Remove file.
32188 * math/math_private.h: Move file ...
32189 * sysdeps/generic/math_private.h: ... here.
32191 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32192 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32193 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32195 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32196 and <math_private.h>.
32197 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32198 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32199 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32200 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32201 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32202 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32203 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32205 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32206 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32209 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32210 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32211 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32212 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32213 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32214 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32215 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32216 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32218 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32219 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32221 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32222 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32223 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32224 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32225 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32226 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32227 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32228 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32229 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32230 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32231 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32232 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32233 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32234 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32235 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32236 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32237 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32238 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32239 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32240 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32241 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32242 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32243 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32244 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32245 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32246 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32247 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32248 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32249 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32250 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32251 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32252 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32253 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32254 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32255 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32256 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32257 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32258 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32259 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32260 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32261 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32262 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32263 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32264 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32265 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32266 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32267 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32268 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32269 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32271 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32275 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32276 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32277 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32278 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32279 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32280 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32281 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32284 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32285 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32286 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32287 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32288 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32289 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32290 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32291 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32292 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32293 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32294 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32295 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32296 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32297 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32298 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32299 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32300 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32301 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32302 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32303 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32304 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32305 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32307 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32308 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32309 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32310 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32311 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32312 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32313 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32314 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32315 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32316 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32317 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32318 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32319 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32320 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32321 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32322 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32323 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32324 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32325 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32326 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32327 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32329 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32330 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32331 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32332 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32333 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32334 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32335 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32336 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32337 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32338 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32339 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32340 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32341 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32342 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32343 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32344 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32345 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32346 * sysdeps/ieee754/k_standard.c: Likewise.
32347 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32348 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32349 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32350 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32351 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32352 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32353 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32354 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32355 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32356 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32357 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32358 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32359 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32360 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32361 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32362 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32363 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32364 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32365 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32366 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32367 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32368 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32369 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32370 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32371 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32372 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32373 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32374 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32375 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32376 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32377 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32378 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32379 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32380 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32382 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32383 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32384 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32385 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32386 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32387 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32388 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32389 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32390 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32391 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32392 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32393 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32394 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32395 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32396 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32397 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32398 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32399 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32400 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32401 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32402 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32403 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32404 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32405 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32406 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32407 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32408 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32409 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32410 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32415 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32419 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32420 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32421 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32422 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32423 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32424 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32428 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32429 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32430 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32431 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32432 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32433 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32434 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32435 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32437 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32438 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32440 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32441 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32442 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32443 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32444 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32445 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32446 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32448 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32449 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32450 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32451 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32452 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32453 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32454 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32455 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32456 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32457 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32458 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32459 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32460 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32461 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32462 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32463 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32464 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32465 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32466 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32467 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32468 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32469 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32470 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32471 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32472 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32473 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32474 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32475 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32476 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32477 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32478 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32479 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32480 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32481 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32482 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32483 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32484 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32485 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32486 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32487 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32488 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32489 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32490 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32491 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32492 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32493 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32494 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32495 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32496 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32497 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32498 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32500 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32501 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32502 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32503 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32504 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32505 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32506 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32507 * sysdeps/ieee754/s_lib_version.c: Likewise.
32508 * sysdeps/ieee754/s_matherr.c: Likewise.
32509 * sysdeps/ieee754/s_signgam.c: Likewise.
32510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32512 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32513 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32514 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32515 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32516 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32517 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32518 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32519 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32520 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32521 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32522 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32523 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32524 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32525 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32526 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32527 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32528 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32532 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32534 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32535 * sunrpc/rpc_main.c: Likewise.
32536 * sunrpc/rpc_svcout.c: Likewise.
32538 2012-03-09 David S. Miller <davem@davemloft.net>
32540 * include/math_private.h: New file.
32542 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32544 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32545 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32546 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32547 from <bits/socket_type.h>.
32548 (enum __socket_type): Don't define here.
32549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32551 bits/socket_type.h.
32554 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32555 checking __USE_GNU.
32557 * Makerules ($(inst_includedir)/%.h): New rule.
32558 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32559 (install-others): Remove variable setting.
32560 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32562 2012-03-08 Richard Henderson <rth@twiddle.net>
32564 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32565 from macro to inline function; merge with the
32566 !__LIBC_INTERNAL_MATH_INLINES version.
32567 (__ieee754_sqrtf): Likewise.
32569 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32570 to inline function.
32571 (__rintf, __floor, __floorf): Likewise.
32573 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32574 macro to inline function.
32575 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32577 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32578 not <math/math_private.h>.
32580 2012-03-08 David S. Miller <davem@davemloft.net>
32582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32584 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32586 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32588 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32590 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32591 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32593 2012-03-08 Ulrich Drepper <drepper@gmail.com>
32595 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32596 be defined individually, they must be defined as a block. Define
32597 S for printing a string instead of hidint the different by using a
32598 macro for adding the 'l'.
32599 * stdio-common/tst-fphex-wide.c: Adjust.
32601 2012-03-07 Marek Polacek <polacek@redhat.com>
32603 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32605 2012-03-08 Marek Polacek <polacek@redhat.com>
32608 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32609 * stdio-common/tst-fphex.c: Define a few macros to make the
32610 test reusable. Use them.
32611 * stdio-common/tst-fphex-wide.c: New file.
32613 2012-03-08 Joseph Myers <joseph@codesourcery.com>
32616 * manual/macros.texi (gnusystems): New macro.
32617 (nongnusystems): Likewise.
32618 (gnulinuxhurdsystems): Likewise.
32619 (gnuhurdsystems): Likewise..
32620 (gnulinuxsystems): Likewise.
32621 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32622 variants of the GNU system, not "GNU system".
32623 * manual/conf.texi: Likewise.
32624 * manual/errno.texi: Likewise. Update example of errno macro
32626 * manual/filesys.texi: Likewise.
32627 (getumask): Document as specific to GNU/Hurd.
32628 * manual/install.texi: Likewise. Reword some references to
32630 * manual/intro.texi: Likewise.
32631 * manual/io.texi: Likewise.
32632 (File Name Portability): Detail which constraints are inapplicable
32633 to all GNU systems and which are only inapplicable to GNU/Hurd.
32634 * manual/job.texi: Likewise.
32635 * manual/llio.texi: Likewise.
32636 (O_NOCTTY): Document as present on GNU/Linux.
32637 * manual/maint.texi: Likewise.
32638 * manual/memory.texi: Likewise.
32639 * manual/pattern.texi: Likewise.
32640 * manual/pipe.texi: Likewise.
32641 * manual/process.texi: Likewise.
32642 * manual/resource.texi: Likewise.
32643 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32645 * manual/setjmp.texi: Likewise.
32646 * manual/signal.texi: Likewise.
32647 * manual/startup.texi: Likewise.
32648 * manual/stdio.texi: Likewise.
32649 * manual/terminal.texi: Likewise.
32650 (ONLCR): Document as POSIX.
32651 (OXTABS): Document availability on GNU/Linux as XTABS.
32652 (ONOEOT): Document availability separately from other bits.
32653 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32654 * manual/time.texi: Likewise.
32655 * manual/users.texi: Likewise.
32656 * INSTALL: Regenerated.
32657 * sysdeps/gnu/errlist.c: Regenerated.
32659 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32660 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32661 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32663 * configure: Regenerated.
32665 2012-03-07 Joseph Myers <joseph@codesourcery.com>
32667 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32668 default includes instead of AC_HEADER_CHECK.
32669 * sysdeps/i386/configure: Regenerated.
32672 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32673 * math/s_cacoshf.c (__cacoshf): Likewise.
32674 * math/s_cacoshl.c (__cacoshl): Likewise.
32675 * math/s_casinh.c (__casinh): Set signs of result from argument.
32676 * math/s_casinhf.c (__casinhf): Likewise.
32677 * math/s_casinhl.c (__casinhl): Likewise.
32678 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32679 (casinh_test): Add more tests.
32680 * sysdeps/i386/fpu/libm-test-ulps: Update.
32681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32683 2012-03-07 Ulrich Drepper <drepper@gmail.com>
32685 * po/zh_TW.po: Update from translation team.
32687 * login/Makefile (distribute): Remove variable.
32688 * catgets/Makefile: Likewise.
32689 * mach/Makefile: Likewise.
32690 * malloc/Makefile: Likewise.
32691 * misc/Makefile: Likewise.
32692 * iconv/Makefile: Likewise.
32693 * nscd/Makefile: Likewise.
32694 * hurd/Makefile: Likewise.
32695 * manual/Makefile: Likewise.
32696 * locale/Makefile: Likewise.
32697 * intl/Makefile: Likewise.
32698 * conform/Makefile: Likewise.
32699 * nss/Makefile: Likewise.
32700 * time/Makefile: Likewise.
32701 * soft-fp/Makefile: Likewise.
32702 * dirent/Makefile: Likewise.
32703 * gmon/Makefile: Likewise.
32704 * po/Makefile: Likewise.
32705 * rt/Makefile: Likewise.
32706 * socket/Makefile: Likewise.
32707 * math/Makefile: Likewise.
32708 * signal/Makefile: Likewise.
32709 * debug/Makefile: Likewise.
32710 * elf/Makefile: Likewise.
32711 * timezone/Makefile: Likewise.
32712 * stdlib/Makefile: Likewise.
32713 * iconvdata/Makefile: Likewise.
32714 * sunrpc/Makefile: Likewise.
32715 * io/Makefile: Likewise.
32716 * argp/Makefile: Likewise.
32717 * inet/Makefile: Likewise.
32718 * hesiod/Makefile: Likewise.
32719 * grp/Makefile: Likewise.
32720 * csu/Makefile: Likewise.
32721 * wctype/Makefile: Likewise.
32722 * crypt/Makefile: Likewise.
32723 * libio/Makefile: Likewise.
32724 * string/Makefile: Likewise.
32725 * nis/Makefile: Likewise.
32726 * resolv/Makefile: Likewise.
32727 * stdio-common/Makefile: Likewise.
32728 * wcsmbs/Makefile: Likewise.
32729 * dlfcn/Makefile: Likewise.
32730 * posix/Makefile: Likewise.
32733 * timezone/Makefile: Don't install timezone files, just the programs
32736 2012-03-06 Ulrich Drepper <drepper@gmail.com>
32738 * nss/databases.def: Add missing gshadow entry.
32740 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
32742 2012-03-06 Marek Polacek <polacek@redhat.com>
32745 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32746 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32747 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32748 * stdio-common/tst-long-dbl-fphex.c: New file.
32750 2012-03-06 David S. Miller <davem@davemloft.net>
32752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32753 (set_obp_int): New function.
32754 (get_obp_int): New function.
32755 (__get_clockfreq_via_dev_openprom): Likewise.
32756 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32757 Avoid unused variable warnings on 'val' and use builtin_expect.
32758 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32760 (INLINE_CLONE_SYSCALL): Likewise.
32762 2012-03-05 David S. Miller <davem@davemloft.net>
32764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32766 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
32768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32770 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32771 only for |x| >= 40.
32772 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32774 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
32776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32777 Replace gettimeofday with __vdso_gettimeofday.
32779 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32780 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32781 __vdso_clock_gettime and __vdso_getcpu.
32783 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32784 time with __vdso_time.
32786 2012-03-05 Joseph Myers <joseph@codesourcery.com>
32788 * manual/lang.texi (size_t): Note types to which size_t may be
32789 equivalent with the GNU C Library, but do not describe when
32790 differences between them are significant.
32792 2012-03-05 Andreas Jaeger <aj@suse.de>
32794 * sysdeps/i386/fpu/libm-test-ulps: Update.
32796 2012-03-05 Joseph Myers <joseph@codesourcery.com>
32799 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32800 (__ieee754_pow): Save and restore rounding mode and use
32801 round-to-nearest for main computations.
32802 * math/libm-test.inc (pow_test_tonearest): New function.
32803 (pow_test_towardzero): Likewise.
32804 (pow_test_downward): Likewise.
32805 (pow_test_upward): Likewise.
32806 (main): Call the new functions.
32807 * sysdeps/i386/fpu/libm-test-ulps: Update.
32808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32811 * math/libm-test.inc (cosh_test_tonearest): New function.
32812 (cosh_test_towardzero): Likewise.
32813 (cosh_test_downward): Likewise.
32814 (cosh_test_upward): Likewise.
32815 (sinh_test_tonearest): Likewise.
32816 (sinh_test_towardzero): Likewise.
32817 (sinh_test_downward): Likewise.
32818 (sinh_test_upward): Likewise.
32819 (main): Call the new functions.
32820 * sysdeps/i386/fpu/libm-test-ulps: Update.
32821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32823 2012-03-05 Tom de Vries <tom@codesourcery.com>
32825 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32826 default stack guard is set in last bytes.
32827 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32829 2012-03-05 Kees Cook <keescook@chromium.org>
32831 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32834 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32835 possibly allocate from heap instead of stack.
32836 * stdio-common/bug-vfprintf-nargs.c: New file.
32837 * stdio-common/Makefile (tests): Add nargs overflow test.
32839 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
32841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32843 2012-03-03 Marek Polacek <polacek@redhat.com>
32845 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32846 * math/math_private.h: Likewise.
32847 * stdlib/tst-strtod.c: Likewise.
32848 * sysdeps/i386/i486/bits/atomic.h: Likewise.
32849 * sysdeps/x86_64/bits/atomic.h: Likewise.
32851 2012-03-02 David S. Miller <davem@davemloft.net>
32853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32857 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32858 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32859 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32860 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32862 2012-03-02 Roland McGrath <roland@hack.frob.com>
32865 * manual/examples/README: New file, says the example source files
32866 can be used under GPL>=2.
32867 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32868 line containing just "*/".
32869 * manual/examples/add.c: Add copyright header (GPL>=2).
32870 * manual/examples/argp-ex1.c: Likewise.
32871 * manual/examples/argp-ex2.c: Likewise.
32872 * manual/examples/argp-ex3.c: Likewise.
32873 * manual/examples/argp-ex4.c: Likewise.
32874 * manual/examples/atexit.c: Likewise.
32875 * manual/examples/db.c: Likewise.
32876 * manual/examples/dir.c: Likewise.
32877 * manual/examples/dir2.c: Likewise.
32878 * manual/examples/execinfo.c: Likewise.
32879 * manual/examples/filecli.c: Likewise.
32880 * manual/examples/filesrv.c: Likewise.
32881 * manual/examples/fmtmsgexpl.c: Likewise.
32882 * manual/examples/genpass.c: Likewise.
32883 * manual/examples/inetcli.c: Likewise.
32884 * manual/examples/inetsrv.c: Likewise.
32885 * manual/examples/isockad.c: Likewise.
32886 * manual/examples/longopt.c: Likewise.
32887 * manual/examples/memopen.c: Likewise.
32888 * manual/examples/memstrm.c: Likewise.
32889 * manual/examples/mkfsock.c: Likewise.
32890 * manual/examples/mkisock.c: Likewise.
32891 * manual/examples/mygetpass.c: Likewise.
32892 * manual/examples/pipe.c: Likewise.
32893 * manual/examples/popen.c: Likewise.
32894 * manual/examples/rprintf.c: Likewise.
32895 * manual/examples/search.c: Likewise.
32896 * manual/examples/select.c: Likewise.
32897 * manual/examples/setjmp.c: Likewise.
32898 * manual/examples/sigh1.c: Likewise.
32899 * manual/examples/sigusr.c: Likewise.
32900 * manual/examples/stpcpy.c: Likewise.
32901 * manual/examples/strdupa.c: Likewise.
32902 * manual/examples/strftim.c: Likewise.
32903 * manual/examples/strncat.c: Likewise.
32904 * manual/examples/subopt.c: Likewise.
32905 * manual/examples/swapcontext.c: Likewise.
32906 * manual/examples/termios.c: Likewise.
32907 * manual/examples/testopt.c: Likewise.
32908 * manual/examples/testpass.c: Likewise.
32909 * manual/examples/timeval_subtract.c: Likewise.
32912 * manual/time.texi (Elapsed Time): Move timeval_subtract example
32914 * manual/timeval_subtract.c.texi: ... here, new file.
32916 2012-03-02 David S. Miller <davem@davemloft.net>
32918 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32920 2012-03-02 Joseph Myers <joseph@codesourcery.com>
32923 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32924 (__sin): Save and restore rounding mode and use round-to-nearest
32925 for all computations.
32926 (__cos): Save and restore rounding mode and use round-to-nearest
32927 for all computations.
32928 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
32930 (tan): Save and restore rounding mode and use round-to-nearest for
32932 * math/libm-test.inc (cos_test_tonearest): New function.
32933 (cos_test_towardzero): Likewise.
32934 (cos_test_downward): Likewise.
32935 (cos_test_upward): Likewise.
32936 (sin_test_tonearest): Likewise.
32937 (sin_test_towardzero): Likewise.
32938 (sin_test_downward): Likewise.
32939 (sin_test_upward): Likewise.
32940 (tan_test_tonearest): Likewise.
32941 (tan_test_towardzero): Likewise.
32942 (tan_test_downward): Likewise.
32943 (tan_test_upward): Likewise.
32944 (main): Call the new functions.
32945 * sysdeps/i386/fpu/libm-test-ulps: Update.
32946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32949 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
32950 small n, then large n, before computing and testing k+n.
32951 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
32954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
32956 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
32957 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
32958 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
32959 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
32960 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32961 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32962 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
32963 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
32964 * math/libm-test.inc (scalbn_test): Add more tests.
32965 (scalbln_test): Likewise.
32967 * manual/filesys.texi (mode_t): Describe constraints on size and
32968 signedness, not exact equivalence to a particular type.
32970 (ino64_t): Likewise.
32972 (nlink_t): Likewise.
32973 (blkcnt_t): Likewise.
32974 (blkcnt64_t): Likewise.
32975 * manual/llio.texi (off_t): Likewise.
32978 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
32979 (__ieee754_exp): Save and restore rounding mode and use
32980 round-to-nearest for all computations.
32981 * math/libm-test.inc (exp_test_tonearest): New function.
32982 (exp_test_towardzero): Likewise.
32983 (exp_test_downward): Likewise.
32984 (exp_test_upward): Likewise.
32985 (main): Call the new functions.
32986 * sysdeps/i386/fpu/libm-test-ulps: Update.
32987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32989 2012-03-01 Chris Demetriou <cgd@google.com>
32991 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
32992 have predictable order.
32994 2012-03-01 David S. Miller <davem@davemloft.net>
32996 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
32998 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
32999 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33000 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33001 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33003 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33004 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33005 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33007 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33008 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33009 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33010 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33011 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33015 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33016 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33017 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33019 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33020 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33021 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33022 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33023 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33024 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33025 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33026 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33027 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33028 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33029 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33030 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33032 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33033 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33035 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33036 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33037 * sysdeps/sparc/elf/configure: Regenerated.
33039 2012-03-01 Joseph Myers <joseph@codesourcery.com>
33041 * configure.in (AS, LD): Require binutils 2.20 or later.
33042 * configure: Regenerated.
33043 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33044 as required minimum version.
33045 * INSTALL: Regenerated.
33049 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33050 before squaring exponent.
33051 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33052 bottom long double and 27 bits of top long double before squaring
33054 * math/libm-test.inc (erfc_test): Add more tests.
33055 * sysdeps/i386/fpu/libm-test-ulps: Update.
33056 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33059 2012-03-01 Kai Tietz <ktietz@redhat.com>
33061 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33062 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33063 containing bit-fields.
33064 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33065 * soft-fp/single.h (_FP_UNION_S): Likewise.
33066 * soft-fp/double.h (_FP_UNION_D): Likewise.
33068 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33071 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33072 not include ../strcmp.S.
33073 [USE_AS_STRNCASECMP_L]: Likewise.
33074 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33075 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33076 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33077 (__strncasecmp_l_ia32): Define as alias to
33078 __strncasecmp_l_nonascii.
33081 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33082 * sysdeps/i386/fpu/libm-test-ulps: Update.
33083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33085 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33088 2012-02-29 Jeff Law <law@redhat.com>
33090 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33091 out of bounds read.
33093 2012-02-29 Marek Polacek <polacek@redhat.com>
33096 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33097 * elf/Makefile: Add rules to run tst-unused-dep.out.
33099 2012-02-28 David S. Miller <davem@davemloft.net>
33101 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33102 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33104 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33105 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33106 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33108 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33110 * math/libm-test.inc (llround_test): Move one test from
33111 lround_test. Use TEST_f_L in moved test.
33112 (lround_test): Move misplaced test to llround_test. Add testcase
33115 2012-02-28 Ulrich Drepper <drepper@gmail.com>
33117 * sysdeps/x86_64/fpu/e_expf.S: New file.
33118 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33120 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33123 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33124 of remain_len that may cause incomplete multi-byte character and
33126 * posix/bug-regex33.c: New file.
33127 * posix/Makefile (tests): Add bug-regex33.
33129 2012-02-28 Joseph Myers <joseph@codesourcery.com>
33131 * manual/macros.texi: New file.
33132 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33133 * manual/libc.texinfo: Include macros.texi.
33134 * manual/creatute.texi: Likewise.
33135 * manual/install.texi: Likewise.
33136 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33137 @glibcadj{} in references to the GNU C Library.
33138 * manual/charset.texi: Likewise.
33139 * manual/conf.texi: Likewise.
33140 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33141 when not using those macros.
33142 * manual/creature.texi: Likewise.
33143 * manual/crypt.texi: Likewise.
33144 * manual/errno.texi: Likewise.
33145 * manual/filesys.texi: Likewise.
33146 * manual/header.texi: Likewise.
33147 * manual/install.texi: Likewise.
33148 * manual/intro.texi: Likewise.
33149 * manual/io.texi: Likewise.
33150 * manual/job.texi: Likewise.
33151 * manual/lang.texi: Likewise.
33152 * manual/libc.texiinfo: Likewise.
33153 * manual/llio.texi: Likewise.
33154 * manual/locale.texi: Likewise.
33155 * manual/maint.texi: Likewise.
33156 * manual/math.texi: Likewise.
33157 * manual/memory.texi: Likewise.
33158 * manual/message.texi: Likewise.
33159 * manual/nss.texi: Likewise.
33160 * manual/pattern.texi: Likewise.
33161 * manual/process.texi: Likewise.
33162 * manual/resource.texi: Likewise.
33163 * manual/search.texi: Likewise.
33164 * manual/setjmp.texi: Likewise.
33165 * manual/signal.texi: Likewise.
33166 * manual/socket.texi: Likewise.
33167 * manual/startup.texi: Likewise.
33168 * manual/stdio.texi: Likewise.
33169 * manual/string.texi: Likewise.
33170 * manual/sysinfo.texi: Likewise.
33171 * manual/syslog.texi: Likewise.
33172 * manual/terminal.texi: Likewise.
33173 * manual/time.texi: Likewise.
33174 * manual/users.texi: Likewise.
33175 * INSTALL: Regenerated.
33176 * NOTES: Regenerated.
33177 * sysdeps/gnu/errlist.c: Regenerated.
33179 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33181 * include/dirent.h: Include <dirstream.h> before
33184 2012-02-28 David S. Miller <davem@davemloft.net>
33186 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33187 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33188 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33189 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33191 2012-02-27 David S. Miller <davem@davemloft.net>
33193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33195 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33196 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33199 frame pointer instead of stack pointer relative arg slot.
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33201 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33202 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33204 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33207 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33209 2012-02-27 David S. Miller <davem@davemloft.net>
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33215 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33216 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33217 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33218 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33220 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33222 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33223 later. Allow versions 5-9.
33224 * configure: Regenerated.
33225 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33226 required minimum version and 4.6 as recommended version. Do not
33227 mention bugs in GCC 2.7 and 2.8.
33228 * INSTALL: Regenerated.
33230 2012-02-27 David S. Miller <davem@davemloft.net>
33232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33236 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33237 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33238 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33239 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33241 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33242 manipulate bits before adding and subtracting TWO112[sx].
33243 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33245 2012-02-27 Roland McGrath <roland@hack.frob.com>
33248 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33249 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33250 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33251 being in POSIX, because they are in 1003.1-2008.
33253 * rt/tst-aio.c: Include <fcntl.h>.
33254 * rt/tst-aio7.c: Likewise.
33255 * rt/tst-aio64.c: Likewise.
33257 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33259 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33261 * manual/install.texi (--with-headers): Describe headers as
33262 interface headers, not private headers.
33263 (Specific advice for GNU/Linux systems): Describe use of headers
33264 from "make headers_install", not private headers from older
33266 * INSTALL: Regenerated.
33267 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33269 * sysdeps/unix/sysv/linux/configure: Regenerated.
33271 * manual/llio.texi (fclean): Remove documentation.
33273 * manual/Makefile (libc-texi-generated): New variable. Include
33275 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33276 $(libc-texi-generated), not duplicated list of files.
33277 (version.texi, stamp-version): New rules.
33278 (realclean): Remove $(libc-texi-generated), not individual files
33279 from that list. Do not remove dir-add.texinfo.
33280 * manual/libc.texinfo: Comment out uses of edition numbers and
33281 references to printed manual. Remove last-updated dates.
33282 (EDITION): Comment out.
33284 (VERSION, UPDATED): Remove.
33285 (version.texi): Include.
33287 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33289 * sysdeps/posix/spawni.c: Include <signal.h>.
33290 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33291 * sysdeps/pthread/aio_fsync.c: Likewise.
33293 2012-02-26 Ulrich Drepper <drepper@gmail.com>
33295 * conform/Makefile (tests): Run only when not cross-compiling and
33296 when fast-check is not defined.
33298 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33299 * conform/data/limits.h-data: Fixes for POSIX2008.
33300 * conform/run-conformtest.sh: Run all tests.
33301 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33303 * include/bits/dlfcn.h: Likewise.
33304 * include/langinfo.h: Likewise.
33305 * include/monetary.h: Likewise.
33306 * include/sys/poll.h: Likewise.
33308 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33310 * posix/spawn.h: Define __need_sigset_t.
33311 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33312 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33313 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33314 to get sigevent_t only.
33315 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33316 only for __USE_GNU.
33317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33318 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33319 process_vm_writev only for __USE_GNU.
33320 * termios/termios.h: Declare tcgetsid also for POSIX2008.
33322 * conform/Makefile: For now ignore errors from run-conformtest.
33323 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33324 POSIX to avoid namespace pollution. Don't prepend headers.
33325 * conform/data/aio.h-data: Fixes for POSIX testing.
33326 * conform/data/fcntl.h-data: Likewise.
33327 * conform/data/glob.h-data: Likewise.
33328 * conform/data/grp.h-data: Likewise.
33329 * conform/data/pthread.h-data: Likewise.
33330 * conform/data/pwd.h-data: Likewise.
33331 * conform/data/signal.h-data: Likewise.
33332 * conform/data/spawn.h-data: Likewise.
33333 * conform/data/stdio.h-data: Likewise.
33334 * conform/data/stdlib.h-data: Likewise.
33335 * conform/data/stropts.h-data: Likewise.
33336 * conform/data/sys/mman.h-data: Likewise.
33337 * conform/data/sys/stat.h-data: Likewise.
33338 * conform/data/sys/types.h-data: Likewise.
33339 * conform/data/sys/wait.h-data: Likewise.
33340 * conform/data/time.h-data: Likewise.
33341 * conform/data/unistd.h-data: Likewise.
33342 * conform/data/utime.h-data: Likewise.
33344 * io/sys/stat.h: fchmod was always in POSIX.
33345 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33346 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33347 * rt/aio.h: Define __need_timespec before including <time.h>.
33348 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33349 struct. Add forward declaration of pthread_attr_t and use it in
33351 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33353 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33354 always remove CLK_TCK definition.
33356 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33358 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33360 2012-02-25 Ulrich Drepper <drepper@gmail.com>
33362 * conform/run-conformtest.sh: New file.
33363 * conform/Makefile: Run run-conformtest for tests.
33364 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33367 * conform/data/uchar.h-data: New file.
33368 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33369 * conform/data/arpa/inet.h-data: Likewise.
33370 * conform/data/assert.h-data: Likewise.
33371 * conform/data/complex.h-data: Likewise.
33372 * conform/data/cpio.h-data: Likewise.
33373 * conform/data/ctype.h-data: Likewise.
33374 * conform/data/dirent.h-data: Likewise.
33375 * conform/data/dlfcn.h-data: Likewise.
33376 * conform/data/errno.h-data: Likewise.
33377 * conform/data/fcntl.h-data: Likewise.
33378 * conform/data/float.h-data: Likewise.
33379 * conform/data/fmtmsg.h-data: Likewise.
33380 * conform/data/fnmatch.h-data: Likewise.
33381 * conform/data/ftw.h-data: Likewise.
33382 * conform/data/glob.h-data: Likewise.
33383 * conform/data/grp.h-data: Likewise.
33384 * conform/data/iconv.h-data: Likewise.
33385 * conform/data/inttypes.h-data: Likewise.
33386 * conform/data/langinfo.h-data: Likewise.
33387 * conform/data/libgen.h-data: Likewise.
33388 * conform/data/limits.h-data: Likewise.
33389 * conform/data/locale.h-data: Likewise.
33390 * conform/data/math.h-data: Likewise.
33391 * conform/data/monetary.h-data: Likewise.
33392 * conform/data/mqueue.h-data: Likewise.
33393 * conform/data/ndbm.h-data: Likewise.
33394 * conform/data/net/if.h-data: Likewise.
33395 * conform/data/netdb.h-data: Likewise.
33396 * conform/data/netinet/in.h-data: Likewise.
33397 * conform/data/nl_types.h-data: Likewise.
33398 * conform/data/poll.h-data: Likewise.
33399 * conform/data/pthread.h-data: Likewise.
33400 * conform/data/pwd.h-data: Likewise.
33401 * conform/data/regex.h-data: Likewise.
33402 * conform/data/sched.h-data: Likewise.
33403 * conform/data/search.h-data: Likewise.
33404 * conform/data/semaphore.h-data: Likewise.
33405 * conform/data/setjmp.h-data: Likewise.
33406 * conform/data/signal.h-data: Likewise.
33407 * conform/data/spawn.h-data: Likewise.
33408 * conform/data/stdarg.h-data: Likewise.
33409 * conform/data/stdio.h-data: Likewise.
33410 * conform/data/stdlib.h-data: Likewise.
33411 * conform/data/string.h-data: Likewise.
33412 * conform/data/strings.h-data: Likewise.
33413 * conform/data/stropts.h-data: Likewise.
33414 * conform/data/sys/ipc.h-data: Likewise.
33415 * conform/data/sys/mman.h-data: Likewise.
33416 * conform/data/sys/msg.h-data: Likewise.
33417 * conform/data/sys/resource.h-data: Likewise.
33418 * conform/data/sys/select.h-data: Likewise.
33419 * conform/data/sys/sem.h-data: Likewise.
33420 * conform/data/sys/shm.h-data: Likewise.
33421 * conform/data/sys/socket.h-data: Likewise.
33422 * conform/data/sys/stat.h-data: Likewise.
33423 * conform/data/sys/statvfs.h-data: Likewise.
33424 * conform/data/sys/time.h-data: Likewise.
33425 * conform/data/sys/timeb.h-data: Likewise.
33426 * conform/data/sys/times.h-data: Likewise.
33427 * conform/data/sys/types.h-data: Likewise.
33428 * conform/data/sys/uio.h-data: Likewise.
33429 * conform/data/sys/un.h-data: Likewise.
33430 * conform/data/sys/utsname.h-data: Likewise.
33431 * conform/data/sys/wait.h-data: Likewise.
33432 * conform/data/syslog.h-data: Likewise.
33433 * conform/data/tar.h-data: Likewise.
33434 * conform/data/termios.h-data: Likewise.
33435 * conform/data/utime.h-data: Likewise.
33436 * conform/data/utmpx.h-data: Likewise.
33437 * conform/data/varargs.h-data: Likewise.
33438 * conform/data/wchar.h-data: Likewise.
33439 * conform/data/wctype.h-data: Likewise.
33440 * conform/data/wordexp.h-data: Likewise.
33442 * include/stropts.h: New file.
33443 * include/uchar.h: New file.
33444 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33445 * include/assert.h: Likewise.
33446 * include/ctype.h: Likewise.
33447 * include/dirent.h: Likewise.
33448 * include/dlfcn.h: Likewise.
33449 * include/fcntl.h: Likewise.
33450 * include/fnmatch.h: Likewise.
33451 * include/glob.h: Likewise.
33452 * include/grp.h: Likewise.
33453 * include/libio.h: Likewise.
33454 * include/locale.h: Likewise.
33455 * include/math.h: Likewise.
33456 * include/net/if.h: Likewise.
33457 * include/netdb.h: Likewise.
33458 * include/netinet/in.h: Likewise.
33459 * include/pthread.h: Likewise.
33460 * include/pwd.h: Likewise.
33461 * include/regex.h: Likewise.
33462 * include/sched.h: Likewise.
33463 * include/search.h: Likewise.
33464 * include/setjmp.h: Likewise.
33465 * include/signal.h: Likewise.
33466 * include/stdio.h: Likewise.
33467 * include/stdlib.h: Likewise.
33468 * include/string.h: Likewise.
33469 * include/sys/cdefs.h: Likewise.
33470 * include/sys/mman.h: Likewise.
33471 * include/sys/msg.h: Likewise.
33472 * include/sys/resource.h: Likewise.
33473 * include/sys/select.h: Likewise.
33474 * include/sys/socket.h: Likewise.
33475 * include/sys/stat.h: Likewise.
33476 * include/sys/statvfs.h: Likewise.
33477 * include/sys/time.h: Likewise.
33478 * include/sys/times.h: Likewise.
33479 * include/sys/uio.h: Likewise.
33480 * include/sys/utsname.h: Likewise.
33481 * include/sys/wait.h: Likewise.
33482 * include/termios.h: Likewise.
33483 * include/time.h: Likewise.
33484 * include/ulimit.h: Likewise.
33485 * include/unistd.h: Likewise.
33486 * include/utime.h: Likewise.
33487 * include/wchar.h: Likewise.
33488 * include/wctype.h: Likewise.
33489 * include/wordexp.h: Likewise.
33491 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33493 * time/time.h: TIME_UTC must be a macro.
33494 Make timespec_get available for ISO C11 only as well.
33496 2012-02-24 Ulrich Drepper <drepper@gmail.com>
33498 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33499 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33501 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33503 * configure.in: Use -o not -a in test for unsupported multi-arch.
33505 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33507 * manual/texinfo.tex: Update to version 2012-01-19.16.
33509 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33511 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33513 2012-02-24 Roland McGrath <roland@hack.frob.com>
33516 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33517 * manual/fdl-1.3.texi: New file.
33518 * manual/fdl-1.1.texi: File removed.
33521 * manual/libc.texinfo (FDL_VERSION): New @set.
33522 Use it for mention of FDL in cover text.
33523 (Documentation License): Use it in @include file name.
33525 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33526 Roland McGrath <roland@hack.frob.com>
33529 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33530 not LONG_LONG_MAX and LONG_LONG_MIN.
33531 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33532 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33534 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33536 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33540 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33541 manipulate bits before adding and subtracting TWO23[sx].
33542 * math/libm-test.inc (nearbyint_test): Add more tests.
33544 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33547 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33548 bits before adding and subtracting TWO23[sx].
33549 * math/libm-test.inc (rint_test): Add more tests.
33550 (rint_test_tonearest): Likewise.
33551 (rint_test_towardzero): Likewise.
33552 (rint_test_downward): Likewise.
33553 (rint_test_upward: Likewise.
33555 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33558 * include/stdc-predef.h: New file. Extracted from features.h.
33559 * include/features.h: Include stdc-predef.h.
33560 * Makefile (headers): Add stdc-predef.h.
33561 * CONFORMANCE (Compiler limitations): Update.
33563 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33565 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33567 2012-02-21 David S. Miller <davem@davemloft.net>
33569 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33570 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33572 2012-02-20 David S. Miller <davem@davemloft.net>
33574 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33575 using a normal save/restore sequence, rather than allocating a
33576 dummy stack frame just to store a frame pointer and restore.
33577 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33579 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33581 * manual/install.texi: Fix stray word in line-wrapped comment.
33583 2012-02-20 David S. Miller <davem@davemloft.net>
33585 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33586 both binutils and gcc support GOTDATA.
33588 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33589 "rd %pc" in the PIC register setup sequences.
33591 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33592 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33593 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33594 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33595 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33597 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33598 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33599 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33600 (SYSCALL_ERROR_HANDLER): Likewise.
33601 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33602 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33604 (SYSCALL_ERROR_HANDLER): Likewise.
33606 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33607 (HAVE_GCC_GOTDATA): New.
33608 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33609 relocation support in both binutils and gcc.
33610 * sysdeps/sparc/elf/configure: Regenerate.
33612 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33613 * sysdeps/sparc/sparc32/elf/configure: Delete.
33614 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33615 * sysdeps/sparc/sparc64/elf/configure: Delete.
33616 * sysdeps/sparc/elf/configure.in: New file.
33617 * sysdeps/sparc/elf/configure: Generate.
33619 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33620 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33621 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33622 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33623 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33625 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33627 * manual/install.texi: Do not mention specific glibc version
33629 * manual/libc.texinfo (VERSION, UPDATED): Update.
33630 (@copying): Use @copyright{} and range of years.
33632 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33635 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33636 [crti.S not in sysdirs] (generated): Do not append.
33637 [crti.S not in sysdirs] (omit-deps): Likewise.
33638 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33639 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33640 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33641 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33642 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33644 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33645 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33646 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33647 * csu/defs.awk: Remove file.
33648 * sysdeps/generic/initfini.c: Likewise.
33649 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33651 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33654 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33656 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33657 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33658 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33659 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33660 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33661 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33663 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33664 (__EPOLL_PACKED): Define to empty if not defined by
33666 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33670 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33672 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33673 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33674 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33675 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33677 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33681 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33683 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33685 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33686 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33687 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33690 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33692 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33693 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33695 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33697 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33698 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33700 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33702 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33705 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33707 * math/w_acos.c: Use non-signaling floating-point comparisons.
33708 * math/w_acosf.c: Likewise.
33709 * math/w_acosh.c: Likewise.
33710 * math/w_acoshf.c: Likewise.
33711 * math/w_acoshl.c: Likewise.
33712 * math/w_acosl.c: Likewise.
33713 * math/w_asin.c: Likewise.
33714 * math/w_asinf.c: Likewise.
33715 * math/w_asinl.c: Likewise.
33716 * math/w_atanh.c: Likewise.
33717 * math/w_atanhf.c: Likewise.
33718 * math/w_atanhl.c: Likewise.
33719 * math/w_exp2.c: Likewise.
33720 * math/w_exp2f.c: Likewise.
33721 * math/w_exp2l.c: Likewise.
33722 * math/w_j0.c: Likewise.
33723 * math/w_j0f.c: Likewise.
33724 * math/w_j0l.c: Likewise.
33725 * math/w_j1.c: Likewise.
33726 * math/w_j1f.c: Likewise.
33727 * math/w_j1l.c: Likewise.
33728 * math/w_jn.c: Likewise.
33729 * math/w_jnf.c: Likewise.
33730 * math/w_log.c: Likewise.
33731 * math/w_log10.c: Likewise.
33732 * math/w_log10f.c: Likewise.
33733 * math/w_log10l.c: Likewise.
33734 * math/w_log2.c: Likewise.
33735 * math/w_log2f.c: Likewise.
33736 * math/w_log2l.c: Likewise.
33737 * math/w_logf.c: Likewise.
33738 * math/w_logl.c: Likewise.
33739 * math/w_sqrt.c: Likewise.
33740 * math/w_sqrtf.c: Likewise.
33741 * math/w_sqrtl.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33744 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33745 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33746 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33748 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33751 * manual/string.texi (strnlen): Use correct parameter name in
33752 equivalent expression.
33754 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33757 * manual/users.texi (seteuid): Consistently use neweuid for
33760 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33763 * manual/nss.texi (Services in the NSS configuration): Correct
33764 list of services in example configuration file.
33766 2012-02-19 Nick Bowler <nbowler@draconx.ca>
33769 * manual/arith.texi: Remove statements about negative zero
33770 behaving identically to zero.
33772 2012-02-18 Joseph Myers <joseph@codesourcery.com>
33775 * manual/install.texi: Do not document upgrading from libc5.
33777 2012-02-18 Joseph Myers <joseph@codesourcery.com>
33780 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33782 2012-02-18 David S. Miller <davem@davemloft.net>
33784 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33785 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33786 %o7 across the call.
33787 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33789 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33790 SETUP_PIC_REG_LEAF.
33791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33792 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33793 * sysdeps/sparc/crtn.S: Likewise.
33795 2012-02-17 Ulrich Drepper <drepper@gmail.com>
33797 * aout/Makefile: Remove.
33799 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
33802 * manual/examples/argp-ex1.c (main): Format definition in GNU
33804 * manual/examples/argp-ex2.c (main): Likewise.
33805 * manual/examples/argp-ex3.c (main): Likewise.
33806 * manual/examples/argp-ex4.c (main): Likewise.
33807 * manual/examples/longopt.c (main): Use new-style prototype
33809 * manual/examples/strncat.c (main): Specify return type and use
33810 (void) for arguments.
33811 * manual/examples/subopt.c (main): Use char **argv argument.
33813 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33816 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33819 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
33822 * manual/string.texi (strchr): Change when strchrnul is
33825 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
33828 * manual/locale.texi (setlocale): Document LOCPATH.
33830 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33833 * manual/process.texi (execle): Move @dots{} before last argument.
33835 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
33838 * manual/charset.texi (Generic Charset Conversion): Fix typo
33839 (LC_TYPE -> LC_CTYPE).
33841 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
33844 * manual/arith.texi (scalbn): Use @var{} on parameter names.
33845 (scalbnf): Likewise.
33846 (scalbnl): Likewise.
33847 (scalbln): Likewise.
33848 (scalblnf): Likewise.
33849 (scalblnl): Likewise.
33850 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33851 (vwarnx): Likewise.
33854 * manual/filesys.texi (telldir): Use braces around return type.
33855 * manual/llio.texi (mmap): Add space after comma.
33856 (mmap64): Likewise.
33857 * manual/math.texi (jn): Use @var{} on parameter names.
33863 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33865 * manual/resource.texi (ulimit): Use @dots{} instead of literal
33867 (sched_get_priority_min): Remove semicolon on @deftypefun line.
33868 (sched_get_priority_max): Likewise.
33869 * manual/signal.texi (sigvec): Add space after comma.
33870 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33872 (if_indextoname): Likewise.
33873 (if_freenameindex): Likewise.
33874 (sendto): Use ',' instead of '.' in prototype.
33875 * manual/startup.texi (syscall): Use @dots{} instead of literal
33877 * manual/stdio.texi (__fpending): Separate initial words of
33878 paragraph from @deftypefun line.
33879 * manual/syslog.texi (syslog): Use @dots{} instead of literal
33881 (vsyslog): Use @var{} on parameter names.
33882 * manual/terminal.texi (stty): Use @var{} on parameter names.
33883 * manual/users.texi (getutmp): Use @var{} on parameter names.
33884 (getutmpx): Likewise.
33886 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33889 * manual/stdio.texi (fopen): Fix typos in description of
33892 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
33895 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33896 get clock_id definition.
33898 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
33901 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33902 (madvise): Cast every argument to void on its own.
33904 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33907 * manual/startup.texi (Exit Status): Fix typo.
33909 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33912 * manual/examples/argp-ex1.c: Include <stdlib.h>.
33913 * manual/examples/argp-ex2.c: Likewise.
33914 * manual/examples/argp-ex3.c: Likewise.
33916 2012-02-16 Richard Henderson <rth@redhat.com>
33918 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33919 * sysdeps/s390/s390-32/initfini.c: Remove.
33920 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33921 * sysdeps/s390/s390-64/initfini.c: Remove.
33923 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33925 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
33926 compiler output for sysdeps/generic/initfini.c.
33927 * sysdeps/sh/elf/initfini.c: Remove file.
33929 2012-02-16 David S. Miller <davem@davemloft.net>
33932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
33934 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
33935 * sysdeps/sparc/crti.S: New file.
33936 * sysdeps/sparc/crtn.S: New file.
33937 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
33938 * sysdeps/sparc/sparc64/Makefile: Likewise.
33940 2012-02-15 Mike Frysinger <vapier@gentoo.org>
33943 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
33945 2012-02-15 Roland McGrath <roland@hack.frob.com>
33948 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
33950 * mach/devstream.c (cookie_io_functions_t): Macro removed.
33951 (write, read, close): Likewise.
33952 Patch by Aurelien Jarno <aurelien@aurel32.net>.
33954 2012-02-15 Joseph Myers <joseph@codesourcery.com>
33956 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
33957 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
33958 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
33959 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
33961 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
33962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33965 2012-02-14 Marek Polacek <polacek@redhat.com>
33967 * sysdeps/x86_64/crti.S: New file.
33968 * sysdeps/x86_64/crtn.S: New file.
33969 * sysdeps/x86_64/elf/initfini.c: Remove file.
33971 2012-02-13 Joseph Myers <joseph@codesourcery.com>
33973 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
33974 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
33975 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
33976 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
33978 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
33979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33982 2012-02-13 Joseph Myers <joseph@codesourcery.com>
33984 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
33985 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
33986 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
33987 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
33989 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
33990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33993 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
33995 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
33996 __feraiseexcept instead of feraiseexcept.
33998 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
33999 nanosleep invocations.
34000 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34001 strings, and add error checking for a nanosleep invocations.
34003 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34005 Replace FSF snail mail address with URLs, as per GNU coding standards.
34006 Most of the snail mail addresses were wrong anyway, and omitting
34007 them makes the source code easier to maintain. Almost all of the
34008 changes are to license notices and to locale LC_IDENTIFICATION
34009 addresses, except for this one:
34010 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34011 not its snail mail address.
34013 2012-02-09 Richard Henderson <rth@twiddle.net>
34015 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34016 of kernel-features.h.
34018 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34020 2012-02-08 Marek Polacek <polacek@redhat.com>
34022 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34023 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34024 * sysdeps/gnu/_G_config.h: Likewise.
34025 * sysdeps/generic/_G_config.h: Likewise.
34027 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34029 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34033 * sysdeps/powerpc/powerpc32/crti.S: New file.
34034 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34035 * sysdeps/powerpc/powerpc64/crti.S: New file.
34036 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34038 * Makeconfig (have-initfini): Don't set.
34039 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34040 * configure.in (nopic_initfini): Don't substitute.
34041 * config.h.in (HAVE_INITFINI): Don't #undef.
34042 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34043 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34045 2012-02-08 Joseph Myers <joseph@codesourcery.com>
34047 Support crti.S and crtn.S provided directly by architectures.
34048 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34049 [crti.S in sysdirs] (omit-deps): Likewise.
34050 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34051 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34052 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34053 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34054 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34055 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34056 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34057 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34058 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34059 compiler output for sysdeps/generic/initfini.c.
34060 * sysdeps/i386/elf/Makefile: Remove file.
34061 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34063 2012-02-07 Marek Polacek <polacek@redhat.com>
34065 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34066 * sysdeps/gnu/_G_config.h: Likewise.
34067 * sysdeps/mach/hurd/_G_config.h: Likewise.
34069 2012-02-07 Marek Polacek <polacek@redhat.com>
34071 * math/Makefile (tests): Add tst-CMPLX2.
34072 * math/tst-CMPLX2.c: New file.
34074 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34076 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34078 * math/libm-test.inc (jn_test): Add missing L suffix.
34080 2012-02-06 Marek Polacek <polacek@redhat.com>
34082 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34083 * sysdeps/i386/fpu/e_powf.S: Likewise.
34084 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34085 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34086 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34087 * sysdeps/i386/fpu/e_pow.S: Likewise.
34088 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34089 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34090 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34091 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34092 * sysdeps/i386/fpu/e_log2.S: Likewise.
34093 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34094 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34095 * sysdeps/i386/fpu/e_powl.S: Likewise.
34096 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34097 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34098 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34099 * sysdeps/i386/fpu/e_logl.S: Likewise.
34100 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34101 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34102 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34103 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34104 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34105 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34106 * sysdeps/i386/fpu/e_log.S: Likewise.
34107 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34108 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34109 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34110 * sysdeps/i386/fpu/e_logf.S: Likewise.
34111 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34112 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34113 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34114 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34115 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34116 * sysdeps/i386/fpu/e_log10.S: Likewise.
34117 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34118 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34119 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34120 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34121 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34122 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34123 * sysdeps/i386/asm-syntax.h: Likewise.
34124 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34125 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34126 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34127 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34128 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34129 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34130 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34131 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34132 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34133 * sysdeps/powerpc/sysdep.h: Likewise.
34134 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34135 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34137 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34140 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34142 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34144 * sysdeps/i386/sysdep.h: Include <features.h>.
34145 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34148 2012-02-05 Joseph Myers <joseph@codesourcery.com>
34150 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34152 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34155 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34157 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34158 (SETUP_PIC_REG): Use GET_PC_THUNK.
34159 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34162 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34164 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34165 for non-PIC compilation.
34166 (SETUP_PIC_REG): Add .p2align directive.
34167 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34168 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34169 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34170 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34171 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34172 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34173 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34174 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34175 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34176 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34177 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34178 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34179 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34180 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34181 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34182 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34183 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34184 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34185 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34186 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34187 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34188 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34189 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34190 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34191 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34192 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34193 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34194 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34195 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34196 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34197 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34198 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34199 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34200 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34201 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34202 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34203 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34204 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34205 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34206 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34207 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34209 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34211 * math/tst-CMPLX.c: Include <stdio.h>.
34213 2012-01-31 Joseph Myers <joseph@codesourcery.com>
34215 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34217 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34218 * sysdeps/sparc/bits/mathdef.h: Likewise.
34220 2012-01-31 Marek Polacek <polacek@redhat.com>
34222 * libio/libio.h: Don't define _PARAMS.
34223 * locale/programs/config.h: Don't define PARAMS.
34224 * stdlib/strtol_l.c: Likewise.
34225 (__strtol_l): Remove PARAMS from the prototype.
34227 2012-01-31 Ulrich Drepper <drepper@gmail.com>
34229 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34230 names. Just use the correct names. Remove unnecessary wrapper
34232 * malloc/arena.c: Likewise.
34233 * malloc/hooks.c: Likewise.
34235 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34236 ARENA_TEST says not to. Simplify test for creation of a new arena.
34237 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34239 2012-01-30 Ulrich Drepper <drepper@gmail.com>
34241 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34243 (update_get_addr): New function.
34244 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34245 GET_ADDR_MODULE parameter.
34247 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34249 * crypt/cert.c: Remove __STDC__ conditionals.
34250 * crypt/crypt-entry.c: Likewise.
34251 * crypt/crypt_util.c: Likewise.
34252 * libio/filedoalloc.c: Likewise.
34253 * libio/fileops.c: Likewise.
34254 * libio/genops.c: Likewise.
34255 * libio/iofclose.c: Likewise.
34256 * libio/iofdopen.c: Likewise.
34257 * libio/iofopen.c: Likewise.
34258 * libio/iofopen64.c: Likewise.
34259 * libio/iogetdelim.c: Likewise.
34260 * libio/iopopen.c: Likewise.
34261 * libio/obprintf.c: Likewise.
34262 * libio/oldfileops.c: Likewise.
34263 * libio/oldiofclose.c: Likewise.
34264 * libio/oldiofdopen.c: Likewise.
34265 * libio/oldiofopen.c: Likewise.
34266 * libio/oldiopopen.c: Likewise.
34267 * libio/wfiledoalloc.c: Likewise.
34268 * libio/wgenops.c: Likewise.
34269 * locale/programs/xmalloc.c: Likewise.
34270 * misc/syslog.c: Likewise.
34271 * stdio-common/xbug.c: Likewise.
34272 * string/memchr.c: Likewise.
34273 * string/memcmp.c: Likewise.
34274 * string/memrchr.c: Likewise.
34275 * string/rawmemchr.c: Likewise.
34276 * sysdeps/posix/getcwd.c: Likewise.
34277 * time/strftime_l.c: Likewise.
34279 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34281 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34282 * config.make.in (config-cflags-sse2avx): Define.
34283 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34286 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34288 * scripts/config.guess: Update from upstream config git repository.
34289 * scripts/config.sub: Likewise.
34291 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34293 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34295 (R_TILEPRO_*, R_TILEGX_*): New macros.
34297 * scripts/firstversions.awk: Fix bug in version range handling.
34299 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34301 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34303 * include/sys/epoll.h: New file.
34304 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34307 2012-01-28 Ulrich Drepper <drepper@gmail.com>
34309 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34310 Avoid unnecessary __WORDSIZE == 64 test.
34311 (fmaxf): Use VEX format if possible.
34316 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34317 * math/math_private.h: Remove libc_fegetround* and
34319 * sysdeps/i386/configure.in: Check for -msse2avx.
34320 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34321 also if SSE2AVX is defined.
34322 Remove libc_fegetround* and libc_fesetround*.
34323 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34324 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34325 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34327 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34328 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34329 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34330 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34331 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34333 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34335 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34337 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34339 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34341 2012-01-27 Ulrich Drepper <drepper@gmail.com>
34344 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34346 * Makeconfig (libm): Define.
34347 * elf/Makefile: Add rules to build and run tst-relsort1.
34348 * elf/tst-relsort1.c: New file.
34349 * elf/tst-relsort1mod1.c: New file.
34350 * elf/tst-relsort1mod2.c: New file.
34352 2012-01-27 Joseph Myers <joseph@codesourcery.com>
34354 * math/s_ldexp.c: Remove __STDC__ conditionals.
34355 * math/s_ldexpf.c: Likewise.
34356 * math/s_ldexpl.c: Likewise.
34357 * math/s_nextafter.c: Likewise.
34358 * math/s_nexttowardf.c: Likewise.
34359 * math/s_significand.c: Likewise.
34360 * math/s_significandf.c: Likewise.
34361 * math/s_significandl.c: Likewise.
34362 * math/w_jnl.c: Likewise.
34363 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34364 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34365 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34366 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34367 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34368 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34369 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34370 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34371 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34372 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34373 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34374 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34375 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34376 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34377 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34378 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34379 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34380 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34382 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34383 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34384 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34385 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34386 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34387 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34388 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34389 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34390 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34391 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34392 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34393 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34394 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34395 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34396 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34397 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34398 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34399 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34400 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34401 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34402 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34403 * sysdeps/ieee754/k_standard.c: Likewise.
34404 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34405 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34406 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34407 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34408 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34409 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34410 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34411 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34412 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34413 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34414 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34415 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34416 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34422 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34423 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34426 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34436 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34437 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34438 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34439 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34440 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34441 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34442 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34443 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34444 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34446 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34447 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34461 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34465 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34466 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34470 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34478 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34479 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34480 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34483 * sysdeps/ieee754/s_matherr.c: Likewise.
34484 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34485 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34486 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34489 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34491 * crypt/md5.h: Remove __STDC__ conditionals.
34492 * libio/libioP.h: Likewise.
34493 * locale/programs/config.h: Likewise.
34494 * sysdeps/generic/sysdep.h: Likewise.
34495 * sysdeps/i386/asm-syntax.h: Likewise.
34496 * sysdeps/s390/asm-syntax.h: Likewise.
34497 * sysdeps/unix/sysdep.h: Likewise.
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34501 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34503 * libio/libio.h: Remove __STDC__ conditionals.
34504 * malloc/obstack.h: Likewise.
34505 * math/complex.h: Likewise.
34506 * math/math.h: Likewise.
34507 * sysdeps/generic/_G_config.h: Likewise.
34508 * sysdeps/gnu/_G_config.h: Likewise.
34509 * sysdeps/mach/hurd/_G_config.h: Likewise.
34510 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34511 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34512 * sysdeps/sparc/bits/mathdef.h: Likewise.
34514 2012-01-26 Ulrich Drepper <drepper@gmail.com>
34517 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34518 Clean up HAS_* macros.
34519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34520 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34522 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34530 2012-01-25 Joseph Myers <joseph@codesourcery.com>
34532 * elf/tst-unique3.cc (gets): Remove declaration.
34533 * elf/tst-unique3lib.cc (gets): Likewise.
34534 * elf/tst-unique3lib2.cc (gets): Likewise.
34535 * elf/tst-unique4.cc (gets): Likewise.
34537 2012-01-24 Ulrich Drepper <drepper@gmail.com>
34539 * include/stdio.h: Add C++ protection. Add gets declarations and
34541 * debug/tst-chk1.c: Don't declare gets here.
34542 * stdio-common/tst-gets.c: Likewise.
34544 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34546 * posix/glob: Remove directory.
34548 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34550 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34552 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34554 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34555 of the non-standard EPFNOSUPPORT.
34557 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34559 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34560 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34561 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34563 2012-01-21 Ulrich Drepper <drepper@gmail.com>
34565 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34567 2012-01-20 Ulrich Drepper <drepper@gmail.com>
34569 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34571 * nscd/grpcache.c (cache_addgr): Likewise.
34572 * nscd/hstcache.c (cache_addhst): Likewise.
34573 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34574 * nscd/pwdcache.c (cache_addpw): Likewise.
34575 * nscd/servicescache.c (cache_addserv): Likewise.
34577 2012-01-16 Ulrich Drepper <drepper@gmail.com>
34579 * malloc/malloc.c: Various cleanups.
34580 * malloc/hooks.c: Likewise.
34582 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34583 * stdlib/bug-fmtmsg1.c: New file.
34585 * stdlib/fmtmsg.c (init): Add missing unlock.
34586 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34588 2012-01-12 Marek Polacek <polacek@redhat.com>
34590 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34593 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34595 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34596 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34597 macro to ensure uniqueness of label name.
34598 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34599 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34601 2012-01-11 Ulrich Drepper <drepper@gmail.com>
34603 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34605 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34606 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34607 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34610 2012-01-10 Ulrich Drepper <drepper@gmail.com>
34612 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34614 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34615 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34616 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34618 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34620 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34621 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34625 * math/bits/math-finite.h: Add ldexp support.
34627 2012-01-10 Marek Polacek <polacek@redhat.com>
34629 * locale/programs/localedef.h (show_archive_content): Add noreturn
34632 2012-01-09 Ulrich Drepper <drepper@gmail.com>
34634 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34636 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34638 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34640 * io/Makefile (headers): Add bits/poll2.h.
34642 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34645 typo #include statement.
34647 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34649 * include/sys/cdefs.h: Define __attribute_alloc_size.
34650 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34651 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34652 * elf/pldd.c: Likewise.
34653 * iconv/iconv_charmap.c: Likewise.
34654 * iconv/iconvconfig.c: Likewise.
34655 * iconv/strtab.c: Likewise.
34656 * locale/programs/locale.c: Likewise.
34657 * locale/programs/localedef.h: Likewise.
34658 * locale/programs/simple-hash.c: Likewise.
34659 * nscd/nscd.h: Likewise.
34660 * nss/makedb.c: Likewise.
34661 * sysdeps/generic/ldconfig.h: Likewise.
34662 * locale/programs/localedef.c: Remove xmalloc prototype.
34663 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34665 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34667 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34670 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34672 * math/Makefile (tests): Add tst-CMPLX.
34673 * math/tst-CMPLX.c: New file.
34675 * math/complex.h (CMPLXL): Fix typo.
34677 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34678 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34680 * debug/tst-chk1.c: Add poll and ppoll tests.
34681 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34682 * include/sys/poll.h: Add hidden proto for ppoll.
34683 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34684 * sysdeps/mach/hurd/ppoll.c: Likewise.
34685 * io/ppoll.c: Likewise.
34686 * debug/poll_chk.c: New file.
34687 * debug/ppoll_chk.c: New file.
34688 * include/bits/poll2.h: New file.
34689 * io/bits/poll2.h: New file.
34692 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34694 * configure.in: static is always set to yes. Remove.
34695 * config.make.in: Don't set build-static.
34696 * Makeconfig: Remove use of build-static.
34697 * dlfcn/Makefile: Likewise.
34698 * elf/Makefile: Likewise.
34699 * math/Makefile: Likewise.
34700 * misc/Makefile: Likewise.
34701 * nptl/Makefile: Likewise.
34702 * sysdeps/mach/hurd/Makefile: Likewise.
34704 * configure.in: PWD_P is not used anymore.
34705 * config.make.in: Remove PWD_P entry.
34707 * configure.in: Remove last remnants of RANLIB.
34708 No need to check for signed size_t anymore.
34709 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34711 Remove __builtin_expect test because we require at least gcc 3.4.
34712 * aclocal.m4: Likewise.
34714 * wcsmbs/mbrtoc16.c: Implement using towc function.
34715 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34716 * wcsmbs/wcsmbsload.c: Likewise.
34717 * iconv/gconv_simple.c: Likewise.
34718 * iconv/gconv_int.h: Likewise.
34719 * iconv/gconv_builtin.h: Likewise.
34720 * iconv/iconv_prog.c: Remove CHAR16 handling.
34722 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34724 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34726 * configure.in: Remove --with-elf and --enable-bounded options.
34727 Dont set base_machine for ia64. More non-ELF conditions removed.
34728 Remove testing and setting of leading underscore information.
34729 * config.make.in (build-bounded): Set to no.
34730 * config.h.in: Remove NO_UNDERSCORES entry.
34731 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
34733 * csu/start.c: Remove !NO_UNDERSCORE code.
34734 * locale/localeinfo.h: Likewise.
34735 * sysdeps/generic/machine-gmon.h: Likewise.
34736 * sysdeps/generic/sysdep.h: Likewise.
34737 * sysdeps/i386/sysdep.h: Likewise.
34738 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34739 * sysdeps/mach/sysdep.h: Likewise.
34740 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34741 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34742 * sysdeps/sh/sysdep.h: Likewise.
34743 * sysdeps/sparc/sparc32/alloca.S: Likewise.
34744 * sysdeps/unix/i386/sysdep.S: Likewise.
34745 * sysdeps/unix/sparc/start.c: Likewise.
34746 * sysdeps/unix/sparc/sysdep.S: Likewise.
34747 * sysdeps/unix/sparc/sysdep.h: Likewise.
34748 * sysdeps/unix/start.c: Likewise.
34749 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34750 * sysdeps/x86_64/sysdep.h: Likewise.
34752 2012-01-07 Ulrich Drepper <drepper@gmail.com>
34755 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34757 * argp/argp-fmtstream.h: Use const instead __const.
34758 * argp/argp.h: Likewise.
34759 * assert/assert.h: Likewise.
34760 * bits/fenv.h: Likewise.
34761 * bits/sched.h: Likewise.
34762 * bits/sigset.h: Likewise.
34763 * bits/sigthread.h: Likewise.
34764 * catgets/nl_types.h: Likewise.
34765 * conform/data/pthread.h-data: Likewise.
34766 * crypt/crypt-private.h: Likewise.
34767 * crypt/crypt.h: Likewise.
34768 * crypt/crypt_util.c: Likewise.
34769 * ctype/ctype.h: Likewise.
34770 * debug/execinfo.h: Likewise.
34771 * debug/mbsnrtowcs_chk.c: Likewise.
34772 * debug/mbsrtowcs_chk.c: Likewise.
34773 * debug/wcsnrtombs_chk.c: Likewise.
34774 * debug/wcsrtombs_chk.c: Likewise.
34775 * debug/wcstombs_chk.c: Likewise.
34776 * dirent/dirent.h: Likewise.
34777 * dlfcn/dlfcn.h: Likewise.
34778 * elf/neededtest4.c: Likewise.
34779 * grp/grp.h: Likewise.
34780 * gshadow/gshadow.h: Likewise.
34781 * iconv/gconv.h: Likewise.
34782 * iconv/gconv_int.h: Likewise.
34783 * iconv/gconv_simple.c: Likewise.
34784 * iconv/iconv.h: Likewise.
34785 * iconv/loop.c: Likewise.
34786 * iconv/skeleton.c: Likewise.
34787 * include/aio.h: Likewise.
34788 * include/aliases.h: Likewise.
34789 * include/argz.h: Likewise.
34790 * include/arpa/inet.h: Likewise.
34791 * include/assert.h: Likewise.
34792 * include/dirent.h: Likewise.
34793 * include/dlfcn.h: Likewise.
34794 * include/execinfo.h: Likewise.
34795 * include/fcntl.h: Likewise.
34796 * include/fenv.h: Likewise.
34797 * include/glob.h: Likewise.
34798 * include/grp.h: Likewise.
34799 * include/libintl.h: Likewise.
34800 * include/mntent.h: Likewise.
34801 * include/netdb.h: Likewise.
34802 * include/pwd.h: Likewise.
34803 * include/rpc/netdb.h: Likewise.
34804 * include/sched.h: Likewise.
34805 * include/search.h: Likewise.
34806 * include/shadow.h: Likewise.
34807 * include/signal.h: Likewise.
34808 * include/stdio.h: Likewise.
34809 * include/stdlib.h: Likewise.
34810 * include/string.h: Likewise.
34811 * include/sys/socket.h: Likewise.
34812 * include/sys/stat.h: Likewise.
34813 * include/sys/statfs.h: Likewise.
34814 * include/sys/statvfs.h: Likewise.
34815 * include/sys/syslog.h: Likewise.
34816 * include/sys/time.h: Likewise.
34817 * include/sys/uio.h: Likewise.
34818 * include/time.h: Likewise.
34819 * include/unistd.h: Likewise.
34820 * include/utmp.h: Likewise.
34821 * include/wchar.h: Likewise.
34822 * include/wctype.h: Likewise.
34823 * inet/aliases.h: Likewise.
34824 * inet/arpa/inet.h: Likewise.
34825 * inet/netinet/ether.h: Likewise.
34826 * inet/netinet/in.h: Likewise.
34827 * intl/libintl.h: Likewise.
34828 * io/bits/fcntl2.h: Likewise.
34829 * io/fcntl.h: Likewise.
34830 * io/ftw.h: Likewise.
34831 * io/sys/poll.h: Likewise.
34832 * io/sys/stat.h: Likewise.
34833 * io/sys/statfs.h: Likewise.
34834 * io/sys/statvfs.h: Likewise.
34835 * io/utime.h: Likewise.
34836 * libio/bits/stdio.h: Likewise.
34837 * libio/bits/stdio2.h: Likewise.
34838 * libio/libio.h: Likewise.
34839 * libio/libioP.h: Likewise.
34840 * libio/stdio.h: Likewise.
34841 * locale/lc-ctype.c: Likewise.
34842 * locale/locale.h: Likewise.
34843 * login/utmp.h: Likewise.
34844 * malloc/arena.c: Likewise.
34845 * malloc/malloc.c: Likewise.
34846 * malloc/malloc.h: Likewise.
34847 * malloc/mcheck.c: Likewise.
34848 * malloc/mtrace.c: Likewise.
34849 * math/bits/mathcalls.h: Likewise.
34850 * math/fenv.h: Likewise.
34851 * math/math_private.h: Likewise.
34852 * misc/bits/error.h: Likewise.
34853 * misc/bits/syslog.h: Likewise.
34854 * misc/err.h: Likewise.
34855 * misc/error.h: Likewise.
34856 * misc/fstab.h: Likewise.
34857 * misc/mntent.h: Likewise.
34858 * misc/regexp.h: Likewise.
34859 * misc/search.h: Likewise.
34860 * misc/sgtty.h: Likewise.
34861 * misc/sys/mman.h: Likewise.
34862 * misc/sys/syslog.h: Likewise.
34863 * misc/sys/uio.h: Likewise.
34864 * misc/sys/xattr.h: Likewise.
34865 * misc/ttyent.h: Likewise.
34866 * nis/rpcsvc/ypclnt.h: Likewise.
34867 * nss/nss.h: Likewise.
34868 * posix/bits/unistd.h: Likewise.
34869 * posix/fnmatch.h: Likewise.
34870 * posix/glob.h: Likewise.
34871 * posix/sched.h: Likewise.
34872 * posix/spawn.h: Likewise.
34873 * posix/sys/wait.h: Likewise.
34874 * posix/unistd.h: Likewise.
34875 * posix/wordexp.h: Likewise.
34876 * pwd/pwd.h: Likewise.
34877 * resolv/netdb.h: Likewise.
34878 * resource/sys/resource.h: Likewise.
34879 * rt/aio.h: Likewise.
34880 * rt/bits/mqueue2.h: Likewise.
34881 * rt/mqueue.h: Likewise.
34882 * shadow/shadow.h: Likewise.
34883 * signal/signal.h: Likewise.
34884 * socket/send.c: Likewise.
34885 * socket/sendto.c: Likewise.
34886 * socket/sys/socket.h: Likewise.
34887 * stdio-common/printf.h: Likewise.
34888 * stdlib/bits/stdlib.h: Likewise.
34889 * stdlib/fmtmsg.h: Likewise.
34890 * stdlib/monetary.h: Likewise.
34891 * stdlib/stdlib.h: Likewise.
34892 * stdlib/ucontext.h: Likewise.
34893 * streams/stropts.h: Likewise.
34894 * string/argz.h: Likewise.
34895 * string/bits/string2.h: Likewise.
34896 * string/string.h: Likewise.
34897 * string/strings.h: Likewise.
34898 * sunrpc/rpc/auth.h: Likewise.
34899 * sunrpc/rpc/auth_des.h: Likewise.
34900 * sunrpc/rpc/clnt.h: Likewise.
34901 * sunrpc/rpc/netdb.h: Likewise.
34902 * sunrpc/rpc/pmap_clnt.h: Likewise.
34903 * sunrpc/rpc/xdr.h: Likewise.
34904 * sysdeps/generic/inttypes.h: Likewise.
34905 * sysdeps/generic/net/if.h: Likewise.
34906 * sysdeps/generic/sys/swap.h: Likewise.
34907 * sysdeps/gnu/net/if.h: Likewise.
34908 * sysdeps/gnu/utmpx.h: Likewise.
34909 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34910 * sysdeps/i386/i486/bits/string.h: Likewise.
34911 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34912 * sysdeps/s390/bits/string.h: Likewise.
34913 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34914 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34915 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34916 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34917 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34918 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34919 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34920 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34921 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34922 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34923 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34924 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34925 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
34926 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34927 * sysdeps/unix/sysv/linux/readv.c: Likewise.
34928 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
34929 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34931 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34932 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34933 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34934 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
34935 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
34936 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
34937 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
34938 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
34939 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
34940 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34941 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
34942 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
34943 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
34944 * sysvipc/sys/ipc.h: Likewise.
34945 * sysvipc/sys/msg.h: Likewise.
34946 * sysvipc/sys/sem.h: Likewise.
34947 * sysvipc/sys/shm.h: Likewise.
34948 * termios/termios.h: Likewise.
34949 * time/sys/time.h: Likewise.
34950 * time/time.h: Likewise.
34951 * wcsmbs/bits/wchar2.h: Likewise.
34952 * wcsmbs/uchar.h: Likewise.
34953 * wcsmbs/wchar.h: Likewise.
34954 * wctype/wctype.h: Likewise.
34957 * Makeconfig: Remove all but ELF support including AIX support.
34958 * Makerules: Likewise.
34959 * config.h.in: Likewise.
34960 * config.make.in: Likewise.
34961 * configure: Likewise.
34962 * configure.in: Likewise.
34963 * csu/Makefile: Likewise.
34964 * csu/version.c: Likewise.
34965 * debug/Makefile: Likewise.
34966 * dlfcn/Makefile: Likewise.
34967 * elf/Makefile: Likewise.
34968 * extra-lib.mk: Likewise.
34969 * iconv/Makefile: Likewise.
34970 * include/libc-symbols.h: Likewise.
34971 * include/shlib-compat.h: Likewise.
34972 * resolv/Makefile: Likewise.
34973 * resolv/res_libc.c: Likewise.
34974 * rt/Makefile: Likewise.
34975 * sysdeps/i386/asm-syntax.h: Likewise.
34976 * sysdeps/i386/sysdep.h: Likewise.
34977 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34978 * sysdeps/mach/sysdep.h: Likewise.
34979 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
34980 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
34981 * sysdeps/s390/asm-syntax.h: Likewise.
34982 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34984 * sysdeps/sh/sysdep.h: Likewise.
34985 * sysdeps/unix/sparc/sysdep.h: Likewise.
34986 * sysdeps/wordsize-32/divdi3.c: Likewise.
34987 * sysdeps/x86_64/sysdep.h: Likewise.
34989 * argp/Versions: Remove _argp_unlock_xxx.
34992 * abilist/ld.abilist: Update. Adjust for removal of tls option.
34993 * abilist/libBrokenLocale.abilist: Likewise.
34994 * abilist/libanl.abilist: Likewise.
34995 * abilist/libc.abilist: Likewise.
34996 * abilist/libcrypt.abilist: Likewise.
34997 * abilist/libdl.abilist: Likewise.
34998 * abilist/libm.abilist: Likewise.
34999 * abilist/libnsl.abilist: Likewise.
35000 * abilist/libpthread.abilist: Likewise.
35001 * abilist/libresolv.abilist: Likewise.
35002 * abilist/librt.abilist: Likewise.
35003 * abilist/libthread_db.abilist: Likewise.
35004 * abilist/libutil.abilist: Likewise.
35005 * abilist/libnss_db.abilist: New file.
35007 * scripts/abilist.awk: Add support for indirect functions.
35009 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35011 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35013 * shlib-versions: Remove entries for ports architectures.
35015 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35017 * elf/stackguard-macros.h: Remove support for IA-64.
35018 * elf/tst-auditmod1.c: Likewise.
35019 * sysdeps/generic/ldsodefs.h: Likewise.
35021 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35022 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35026 * configure.in: Remove --enable-omitfp support.
35028 * config.make.in: Likewise.
35029 * Makeconfig: Likewise.
35030 * manual/install.texi: Likewise.
35032 In case anyone cares, the IA-64 architecture could move to ports.
35033 * sysdeps/ia64/*: Removed.
35034 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35035 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35038 * configure.in: Remove entries for unsupported architectures.
35041 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35042 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35044 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35045 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35046 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35047 fall back to using wcrtomb.
35048 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35049 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35051 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35052 * wcsmbs/tst-c16c32-1.c: New file.
35054 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35057 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35059 * elf/tst-unique3.cc: Add explicit declaration of gets.
35060 * elf/tst-unique3lib.cc: Likewise.
35061 * elf/tst-unique3lib2.cc: Likewise.
35062 * elf/tst-unique4.cc: Likewise.
35064 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35066 2012-01-06 Joseph Myers <joseph@codesourcery.com>
35069 * assert/assert.h (static_assert): Don't define for C++.
35070 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35071 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35073 2012-01-03 Ulrich Drepper <drepper@gmail.com>
35075 * iconv/loop.c (single loop): Fix assertion in storing of
35078 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35080 2012-01-01 Ulrich Drepper <drepper@gmail.com>
35082 * posix/getconf.c: Update copyright year.
35083 * nss/getent.c: Likewise.
35084 * nss/makedb.c: Likewise.
35085 * iconv/iconvconfig.c: Likewise.
35086 * iconv/iconv_prog.c: Likewise.
35087 * elf/ldconfig.c: Likewise.
35088 * elf/pldd.c: Likewise.
35089 * elf/sotruss.ksh: Likewise.
35090 * catgets/gencat.c: Likewise.
35091 * csu/version.c: Likewise.
35092 * elf/ldd.bash.in: Likewise.
35093 * elf/sprof.c (print_version): Likewise.
35094 * locale/programs/locale.c: Likewise.
35095 * locale/programs/localedef.c: Likewise.
35096 * login/programs/pt_chown.c: Likewise.
35097 * nscd/nscd.c (print_version): Likewise.
35098 * debug/xtrace.sh: Likewise.
35099 * malloc/memusage.sh: Likewise.
35100 * malloc/mtrace.pl: Likewise.
35101 * debug/catchsegv.sh: Likewise.
35103 2011-12-30 Jakub Jelinek <jakub@redhat.com>
35105 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35108 2011-12-24 Ulrich Drepper <drepper@gmail.com>
35111 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35112 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35114 * iconv/gconv_int.h: Likewise.
35115 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35116 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35117 from libc for GLIBC_2.16.
35118 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35119 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35120 * wcsmbs/uchar.h: Really define mbstate_t.
35121 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35122 * wcsmbs/c16rtomb.c: New file.
35123 * wcsmbs/mbrtoc16.c: New file.
35124 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35125 for C/POSIX locale.
35126 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35127 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35129 * wcsmbs/wchar.h: Add missing __restrict.
35131 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35134 * time/Makefile (routines): Add timespec_get.
35135 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35136 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35137 timespec for ISO C11.
35138 * time/timespec_get.c: New file.
35139 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35140 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35143 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35144 * stdlib/stdlib.h: Declare aligned_alloc.
35145 * Versions.def: Add GLIBC_2.16 for libc.
35146 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35149 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35152 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35156 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35159 * assert/assert.h (static_assert): Define.
35161 * version.h: Update for 2.16 development version.
35164 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35167 * version.h (RELEASE): Bump for 2.15 release.
35168 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35170 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35171 Patch by Marek Polacek <mpolacek@redhat.com>.
35173 * bits/byteswap.h: Protect long long constants with __extension__.
35174 * sysdeps/i386/bits/byteswap.h: Likewise.
35175 * sysdeps/ia64/bits/byteswap.h: Likewise.
35176 * sysdeps/s390/bits/byteswap.h: Likewise.
35177 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35179 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35183 destination buffer.
35184 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35186 2011-12-23 Marek Polacek <polacek@redhat.com>
35188 * elf/dl-addr.c (determine_info): Add inline keyword.
35189 * elf/tst-auditmod4b.c (check_avx): Likewise.
35190 * elf/tst-auditmod6b.c (check_avx): Likewise.
35191 * elf/tst-auditmod6c.c (check_avx): Likewise.
35192 * elf/tst-auditmod7b.c (check_avx): Likewise.
35194 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35196 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35199 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35202 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35203 processing for last bytes.
35205 2011-08-06 Bruno Haible <bruno@clisp.org>
35208 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35209 U+0385, not to U+1FEE.
35212 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35213 entry for U+00A5 U+0301.
35215 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35218 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35219 buffer for the output is too small.
35221 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35225 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35226 SSE flags if possible.
35228 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35231 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35232 processing for last bytes.
35234 2011-12-22 Joseph Myers <joseph@codesourcery.com>
35236 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35237 (syscall-list-default-options, syscall-list-default-condition)
35238 (syscall-list-includes): Define.
35239 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35240 list of ABIs and options and #if conditions for each ABI. Do not
35241 handle common syscalls between ABIs specially.
35242 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35244 (syscall-list-variants, syscall-list-32bit-options)
35245 (syscall-list-32bit-condition, syscall-list-64bit-options)
35246 (syscall-list-64bit-condition): Define.
35247 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35248 (syscall-list-variants, syscall-list-32bit-options)
35249 (syscall-list-32bit-condition, syscall-list-64bit-options)
35250 (syscall-list-64bit-condition): Define.
35251 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35253 (syscall-list-variants, syscall-list-32bit-options)
35254 (syscall-list-32bit-condition, syscall-list-64bit-options)
35255 (syscall-list-64bit-condition): Define.
35256 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35258 (syscall-list-variants, syscall-list-32bit-options)
35259 (syscall-list-32bit-condition, syscall-list-64bit-options)
35260 (syscall-list-64bit-condition): Define.
35262 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35264 * locale/iso-639.def: Add brx entry.
35267 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35268 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35270 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35271 __feraiseexcept_renamed.
35273 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35276 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35277 EPOLLET with unsigned values.
35278 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35279 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35281 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35282 to large cancellation.
35283 * math/s_cacoshf.c: Likewise.
35284 * math/s_cacoshl.c: Likewise.
35286 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35290 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35291 * math/s_cacoshf.c: Likewise.
35292 * math/s_cacoshl.c: Likewise.
35294 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35297 * iconv/gconv.h: Define __GCONV_SWAP.
35298 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35299 * iconvdata/utf-16.c: Likewise.
35300 * iconvdata/utf-32.c: Likewise.
35302 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35305 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35306 numerator after shifting it by one limb.
35308 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35310 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35311 under [__USE_EXTERN_INLINES].
35313 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35316 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35318 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35320 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35321 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35323 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35324 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35325 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35326 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35327 for strncasecmp/strncasecmp_l compilation.
35328 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35329 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35331 2011-12-08 Marek Polacek <mpolacek@redhat.com>
35334 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35337 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35340 * time/tzfile.c (__tzfile_read): Check values from file header.
35342 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35344 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35345 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35346 * powerpc/powerpc32/dl-start.S: Likewise.
35347 * powerpc/powerpc32/elf/start.S: Likewise.
35348 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35349 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35350 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35351 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35352 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35353 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35354 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35355 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35356 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35357 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35358 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35359 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35360 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35361 * powerpc/powerpc32/memset.S: Likewise.
35362 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35363 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35364 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35365 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35366 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35367 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35368 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35369 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35370 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35371 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35372 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35373 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35374 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35376 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35378 * math/libm-test.inc: Added more nearbyint tests.
35379 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35380 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35381 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35382 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35384 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35386 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35389 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35391 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35392 Add wcscpy-ssse3 wcscpy-c.
35393 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35394 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35395 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35396 * sysdeps/x86_64/wcschr.S: New file.
35397 * sysdeps/x86_64/wcsrchr.S: New file.
35398 * string/test-strcmp.c: Remove checking of wcscmp function for
35400 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35401 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35402 wcsrchr-sse2 wcsrchr-c.
35403 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35404 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35405 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35406 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35407 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35408 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35409 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35410 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35411 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35412 * wcsmbc/wcschr.c (WCSCHR): New macro.
35414 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35416 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35417 * wcsmbs/test-wcsrchr.c: New file.
35418 * string/test-strrchr.c: Add wcsrchr support.
35420 * wcsmbs/test-wcscpy.c: New file.
35421 * string/test-strcpy.c: Add wcscpy support.
35424 2011-12-10 Ulrich Drepper <drepper@gmail.com>
35426 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35429 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35432 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35434 2011-12-04 Ulrich Drepper <drepper@gmail.com>
35436 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35437 Minor optimizations.
35439 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35440 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35441 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35443 2011-12-03 Ulrich Drepper <drepper@gmail.com>
35445 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35446 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35447 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35448 for gcc to avoid warnings.
35449 * inet/Makefile (tests): Add tst-checks.
35450 * inet/tst-checks.c: New file.
35452 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35455 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35458 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35459 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35461 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35463 2011-12-02 Ulrich Drepper <drepper@gmail.com>
35465 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35468 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35470 2011-11-29 Joseph Myers <joseph@codesourcery.com>
35472 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35473 conditional on GCC version.
35474 (__arch_compare_and_exchange_val_8_acq)
35475 (__arch_compare_and_exchange_val_16_acq)
35476 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35477 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35478 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35480 2011-12-02 Joseph Myers <joseph@codesourcery.com>
35482 * sysdeps/sh/backtrace.c: New file.
35484 2011-12-02 Andreas Schwab <schwab@redhat.com>
35486 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35489 2011-12-01 Andreas Schwab <schwab@redhat.com>
35491 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35492 falling back to utime.
35494 2011-11-30 Andreas Schwab <schwab@redhat.com>
35496 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35497 expectations for float.
35499 2011-11-29 Andreas Schwab <schwab@redhat.com>
35501 * locale/weight.h (findidx): Add parameter len.
35502 * locale/weightwc.h (findidx): Likewise.
35503 * posix/fnmatch_loop.c (FCT): Adjust caller.
35504 * posix/regcomp.c (build_equiv_class): Likewise.
35505 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35506 * posix/regexec.c (check_node_accept_bytes): Likewise.
35507 * string/strcoll_l.c (STRCOLL): Likewise.
35508 * string/strxfrm_l.c (STRXFRM): Likewise.
35510 2011-11-17 Ulrich Drepper <drepper@gmail.com>
35512 * Makefile.in: Remove CVSOPT handling.
35513 * configure.in: Remove use of AC_REVISION.
35514 * iconvdata/Makefile (distribute): No need to filter out CVS.
35515 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35518 2011-11-16 Andreas Schwab <schwab@redhat.com>
35520 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35521 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35522 [USE_AS_STRNCASECMP_L]: Likewise.
35523 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35524 NO_TLS_DIRECT_SEG_REFS.
35525 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35526 Fix argument offsets for non-PIC.
35527 [USE_AS_STRNCASECMP_L]: Likewise.
35528 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35529 NO_TLS_DIRECT_SEG_REFS.
35531 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35533 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35535 * locale/loadlocale.c (_nl_load_locale): Likewise.
35537 2011-11-15 Andreas Schwab <schwab@redhat.com>
35539 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35540 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35541 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35542 (SYSCALL_GETTIME): Set errno on error.
35544 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35545 count references to noai6ai_cached.
35547 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35549 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35551 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35552 FD_CLOEXEC for /proc/self/maps.
35554 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35555 FD_CLOEXEC for /proc/meminfo.
35557 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35560 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35561 FD_CLOEXEC for given file.
35563 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35565 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35566 FD_CLOEXEC for /etc/hosts.
35567 (_gethtent): Likewise.
35569 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35571 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35572 cancellation and set FD_CLOEXEC for /etc/netgroup.
35574 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35575 reading /etc/publickey.
35577 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35578 allow cancellation when reading /etc/group.
35580 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35582 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35584 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35585 when using data file.
35587 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35589 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35590 (write_nis_obj): Use "c" and "e" in fopen.
35592 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35594 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35596 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35598 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35600 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35603 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35605 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35607 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35609 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35610 file parsing and set FD_CLOEXEC.
35612 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35614 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35616 2011-11-14 Andreas Schwab <schwab@redhat.com>
35618 * malloc/arena.c (arena_get2): Don't call reused_arena when
35619 _int_new_arena failed.
35621 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35623 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35624 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35625 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35626 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35627 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35628 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35629 to compile strcasecmp and strncasecmp.
35630 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35631 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35633 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35635 2011-11-13 Ulrich Drepper <drepper@gmail.com>
35637 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35638 locale-defines.sym to gen-as-const-headers.
35639 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35640 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35641 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35642 to compile strcasecmp and strncasecmp.
35643 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35644 strcasecmp_l and strncasecmp_l.
35645 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35646 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35647 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35648 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35649 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35650 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35651 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35652 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35653 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35654 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35655 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35657 2011-11-12 Ulrich Drepper <drepper@gmail.com>
35659 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35660 result of SYSDEP_GETTIME_CPU to retval.
35661 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35662 parameter list to macro. Remove trailing semicolon. Adjust users.
35664 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35667 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35669 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35671 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35672 from unused variable.
35674 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35676 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35679 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35682 * sunrpc/rpc_prot.c (rejected): Fix case value.
35684 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35685 unsigned long long int to avoid warnings in shift.
35687 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35689 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35692 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35693 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35694 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35696 * nis/nis_table.c (nis_list): Use variable of correct type for
35697 result of __follow_path call.
35699 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35701 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35702 of math functions ceil, trunc, floor, round, and sqrt, when
35703 avaliable on the platform.
35704 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35706 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35707 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35708 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35710 2011-10-30 Marek Polacek <mpolacek@redhat.com>
35712 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35713 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35715 2011-11-11 Roland McGrath <roland@hack.frob.com>
35717 * include/unistd.h: Fix __readlink return type.
35718 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35720 2011-11-11 Ulrich Drepper <drepper@gmail.com>
35722 * stdlib/ucontext.h: Undo last change for makecontext.
35724 2011-11-11 Andreas Schwab <schwab@redhat.com>
35726 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35728 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35729 * setjmp/setjmp.h: Mark functions as non-leaf.
35730 * setjmp/bits/setjmp2.h: Likewise.
35731 * stdlib/ucontext.h: Likewise.
35733 2011-11-10 Andreas Schwab <schwab@redhat.com>
35735 * malloc/arena.c (_int_new_arena): Don't increment narenas.
35736 (reused_arena): Don't check arena limit.
35737 (arena_get2): Atomically check arena limit.
35739 2011-11-08 Ulrich Drepper <drepper@gmail.com>
35741 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35742 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35747 2011-11-07 Andreas Schwab <schwab@redhat.com>
35749 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35750 handler when locking.
35752 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35753 Fix size of allocated buffer.
35755 2011-11-04 Andreas Schwab <schwab@redhat.com>
35758 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35759 declarations for long double functions.
35760 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35762 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35764 2011-11-03 Andreas Schwab <schwab@redhat.com>
35766 * nscd/nscd.c (main): Don't start AVC thread until credentials are
35769 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35772 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35774 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35776 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
35778 * include/alloca.h (stackinfo_alloca_round): Define.
35779 (extend_alloca): Use it.
35780 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35781 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35784 * scripts/check-local-headers.sh: Ignore libaudit.h.
35786 * nscd/Makefile (extra-objs): Make recursively expanded.
35788 2011-11-01 Ulrich Drepper <drepper@gmail.com>
35790 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35791 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35793 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35794 * posix/tst-rfc3484-2.c: Likewise.
35795 * posix/tst-rfc3484-3.c: Likewise.
35797 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35799 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35801 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35802 process_vm_writev from libc using GLIBC_2.15 version.
35804 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35806 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
35808 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35811 2011-10-31 Ulrich Drepper <drepper@gmail.com>
35814 * nss/getent.c (initgroups_keys): Show error message in case no group
35817 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35818 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35819 __bump_nl_timestamp.
35820 * nscd/connections (nscd_init): When host database is served open
35821 netlink socket and request notification about configuration changes.
35822 (main_loop_poll): Track netlink file descriptor and bump timestamp
35823 in case data becomes available.
35824 (main_loop_epoll): Likewise.
35825 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35826 (database_pers_head): Add extra_data fileds.
35827 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35828 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35829 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35831 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35832 in6ai data, call __free_in6ai.
35833 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35834 Add -DHAVE_NETLINK.
35835 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
35836 interface information. Reuse previous data if netlink timestamp
35838 (__bump_nl_timestamp): New function.
35839 (__free_in6ai): New function.
35841 2011-10-30 Ulrich Drepper <drepper@gmail.com>
35843 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35844 close_not_cancel_no_status here.
35845 (__check_pf): Reorganize code a bit to not call close twice if OOM.
35847 2011-10-29 Ulrich Drepper <drepper@gmail.com>
35850 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35853 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35854 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35855 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35857 2011-07-03 Andreas Jaeger <aj@suse.de>
35860 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35861 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35862 * math/libm-test.inc (sin_test): Add test case.
35864 2011-10-29 Ulrich Drepper <drepper@gmail.com>
35867 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35868 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35870 * elf/chroot_canon.c (chroot_canon): Cleanups.
35872 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35875 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35876 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35878 * string/test-strchr.c: Make usable for strchrnul testing.
35879 * string/test-strchrnul.c: New file.
35880 * string/Makefile (strop-tests): Add strchrnul.
35882 * po/it.po: Update from translation team.
35883 * po/es.po: Likewise.
35885 2011-10-28 Ulrich Drepper <drepper@gmail.com>
35887 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35888 the three constants needed as parameters. Drop the others.
35889 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35890 __m128i_strloadu_tolower.
35891 Create and initialize variable zero and use it in all the places
35892 where _mm_setzero_si128 was used.
35894 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35895 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35896 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35897 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35899 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35900 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35901 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35902 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35903 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35904 __mpranred, __mptan.
35905 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35906 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35907 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35908 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35909 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35910 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35911 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35912 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35913 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35915 2011-10-28 Andreas Schwab <schwab@redhat.com>
35917 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35918 redefine if SHARED.
35919 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35922 wide char related routines to wcsmbs subdir.
35924 2011-10-27 Andreas Schwab <schwab@redhat.com>
35927 * misc/sys/cdefs.h (__THROWNL): Define.
35928 * posix/unistd.h: Use __THREADNL instead of __THREAD
35929 for memory synchronization functions.
35931 2011-10-26 Roland McGrath <roland@hack.frob.com>
35934 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
35936 * manual/stdio.texi (Obstack Streams): Node removed.
35938 2011-10-26 Andreas Schwab <schwab@redhat.com>
35940 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
35941 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35942 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35944 * math/math_private.h (math_force_eval): Allow non-addressable
35946 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
35948 2011-10-25 Ulrich Drepper <drepper@gmail.com>
35950 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
35951 file is not needed.
35953 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
35954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35955 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35956 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35957 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35959 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35960 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
35962 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
35963 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
35964 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
35965 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
35966 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
35967 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
35968 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
35969 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
35970 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
35971 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
35972 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
35973 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
35974 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
35975 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
35976 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
35977 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
35978 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
35979 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
35980 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
35982 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
35983 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
35985 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
35986 place. Use VEX encoding when compiling for AVX.
35988 2011-10-25 Andreas Schwab <schwab@redhat.com>
35990 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
35991 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35993 * string/test-strchr.c (do_test): Don't generate NUL bytes.
35995 2011-10-25 Ulrich Drepper <drepper@gmail.com>
35997 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
35998 useless if() expression.
35999 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36000 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36001 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36002 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36003 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36004 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36005 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36006 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36007 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36008 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36009 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36010 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36011 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36012 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36013 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36014 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36015 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36016 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36017 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36019 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36021 2011-10-25 Andreas Schwab <schwab@redhat.com>
36023 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36025 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36027 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36029 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36030 .text section. Avoid duplicate constants.
36031 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36032 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36033 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36035 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36039 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36040 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36041 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36042 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36043 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36044 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36045 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36046 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36047 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36048 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36049 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36050 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36051 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36052 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36053 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36054 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36055 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36056 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36057 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36058 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36059 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36060 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36061 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36062 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36063 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36064 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36065 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36066 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36067 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36068 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36069 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36070 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36071 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36072 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36073 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36074 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36075 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36077 2011-10-24 Ulrich Drepper <drepper@gmail.com>
36079 * sysdeps/x86_64/dla.h: Move to ...
36080 * sysdeps/x86_64/fpu/dla.h: ...here.
36081 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36082 situations. Use __builtin_fma only for gcc 4.6 and up.
36084 * config.make.in: Add have-mfma4 entry.
36085 * configure.in: Substitute libc_cv_cc_fma4.
36086 * math/Makefile (dbl-only-routines): Add sincostab.
36087 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36088 Use __sincostab not sincos.
36089 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36091 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36096 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36097 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36098 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36099 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36101 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36102 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36104 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36105 define aliases when function name is a macro.
36106 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36107 sysdeps/ieee754/dbl-64/sincos.tbl.
36108 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36109 fma4-enabled routines.
36110 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36111 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36112 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36113 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36114 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36115 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36116 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36117 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36118 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36119 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36120 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36121 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36122 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36123 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36124 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36125 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36126 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36127 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36128 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36129 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36130 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36131 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36132 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36133 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36134 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36135 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36136 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36137 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36138 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36139 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36141 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36144 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36146 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36147 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36149 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36152 2011-10-24 Andreas Schwab <schwab@redhat.com>
36154 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36156 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36158 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36160 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36162 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36164 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36165 Remove unused variable magic_bits.
36166 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36168 * string/strnlen.c: Define and use STRNLEN macro.
36169 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36170 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36171 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36172 * wcsmbs/wcslen.c: Define and use WCSLEN.
36173 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36174 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36175 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36176 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36177 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36178 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36179 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36181 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36184 strnlen-sse2-no-bsf.
36185 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36186 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36187 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36188 Add strnlen support.
36189 (USE_AS_STRNLEN): New macro.
36190 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36191 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36192 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36193 * sysdeps/x86_64/wcslen.S: New file.
36195 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36197 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36198 XMM-moves are used for copying on small sizes.
36200 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36202 * wcsmbs/Makefile (strop-tests): Add wcschr.
36203 * wcsmbs/test-wcschr.c: New file.
36204 * string/test-strchr.c: Update.
36205 Add wcschr support.
36208 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36210 * wcsmbs/Makefile (strop-tests): Add wcslen.
36211 * wcsmbs/test-wcslen.c: New file.
36212 * string/test-strlen.c: Update.
36213 Add wcslen support.
36216 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36218 * po/it.po: Update from translation team.
36220 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36222 * sysdeps/x86_64/wcscmp.S: Update.
36223 Fix wrong comparison semantics.
36224 wcscmp shall use signed comparison not unsigned.
36225 Don't use substraction to avoid overflow bug.
36226 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36227 * wcsmbc/wcscmp.c: Likewise.
36228 * string/test-strcmp.c: Likewise.
36229 Add new tests to check cases with negative values.
36231 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36233 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36234 * sysdeps/x86_64/dla.h: ...here. New file.
36235 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36240 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36242 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36245 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36248 __ynl_finite aliases.
36250 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36254 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36256 [DLA_FMA] (EMULV): Use DLA_FMA.
36257 [DLA_FMA] (MUL12): Use EMULV.
36258 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36259 that are not needed.
36260 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36264 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36265 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36266 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36268 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36270 * math/s_nan.c: Undef __nan.
36271 * math/s_nanf.c: Undef __nanf.
36272 * math/s_nanl.c: Undef __nanl.
36273 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36276 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36278 * math/s_catan.c: Add branch predictions.
36279 * math/s_catanf.c: Likewise.
36280 * math/s_catanh.c: Likewise.
36281 * math/s_catanhf.c: Likewise.
36282 * math/s_catanhl.c: Likewise.
36283 * math/s_catanl.c: Likewise.
36284 * math/s_cexp.c: Likewise.
36285 * math/s_cexpf.c: Likewise.
36286 * math/s_cexpl.c: Likewise.
36287 * math/s_clog.c: Likewise.
36288 * math/s_clog10.c: Likewise.
36289 * math/s_clog10f.c: Likewise.
36290 * math/s_clog10l.c: Likewise.
36291 * math/s_clogf.c: Likewise.
36292 * math/s_clogl.c: Likewise.
36293 * math/s_csqrt.c: Likewise.
36294 * math/s_csqrtf.c: Likewise.
36295 * math/s_csqrtl.c: Likewise.
36296 * math/s_ctanf.c: Likewise.
36297 * math/s_ctanh.c: Likewise.
36298 * math/s_ctanhf.c: Likewise.
36299 * math/s_ctanhl.c: Likewise.
36300 * math/s_ctanl.c: Likewise.
36302 * math/math_private.h: Define __nan, __nanf, __nanl.
36303 * math/s_cacosh.c: Include <math_private.h>.
36304 * math/s_cacoshl.c: Likewise.
36305 * math/s_casinh.c: Likewise.
36306 * math/s_casinhf.c: Likewise.
36307 * math/s_casinhl.c: Likewise.
36308 * math/s_ccos.c: Rely entire on ccosh.
36309 * math/s_ccosf.c: Rely entire on ccoshf.
36310 * math/s_ccosl.c: Rely entirely on ccoshl.
36311 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36312 Remove tests for FE_INVALID.
36313 * math/s_ccoshf.c: Likewise.
36314 * math/s_ccoshl.c: Likewise.
36315 * math/s_csin.c: Likewise.
36316 * math/s_csinf.c: Likewise.
36317 * math/s_csinh.c Likewise.
36318 * math/s_csinhf.c: Likewise.
36319 * math/s_csinhl.c: Likewise.
36320 * math/s_csinl.c: Likewise.
36321 * math/s_ctan.c: Likewise.
36322 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36323 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36324 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36326 2011-10-21 Ulrich Drepper <drepper@gmail.com>
36328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36329 compilation problems.
36331 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36334 2011-10-20 Ulrich Drepper <drepper@gmail.com>
36336 * sysdeps/i386/configure.in: Test for -mfma4 option.
36337 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36338 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36339 COMMON_CPUID_INDEX_80000001.
36340 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36341 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36342 use it if FMA3 is not supported.
36343 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36345 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36346 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36348 2011-10-20 Andreas Schwab <schwab@redhat.com>
36351 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36352 it would create a cycle with a link time dependency.
36354 2011-10-19 Ulrich Drepper <drepper@gmail.com>
36356 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36358 * string/Makefile (strop-tests): Add rawmemchr.
36359 * string/test-rawmemchr.c: New file.
36361 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36362 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36363 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36364 when compiling str{,n}casecmp and when AVX is available. Hook up
36365 new optimized code in initializers.
36367 2011-10-19 Andreas Schwab <schwab@redhat.com>
36369 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36370 __feraiseexcept instead of feraiseexcept.
36372 2011-10-18 Ulrich Drepper <drepper@gmail.com>
36374 * math/math_private.h: Define defaults for libc_fetestexcept and
36376 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36377 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36378 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36379 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36380 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36381 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36382 libc_fetestexcept and libc_feupdateenv.
36384 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36385 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36386 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36387 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36388 libc_feholdexcept_setround.
36390 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36391 Add s_nearbyint-c and s_nearbyintf-c.
36392 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36393 nearbyintf inlines.
36394 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36395 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36396 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36397 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36399 * math/math_private.h: Define defaults for libc_fegetround,
36400 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36401 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36402 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36403 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36404 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36405 standard functions.
36406 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36407 Remove comments and hacks for old compiler versions.
36408 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36409 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36410 libc_feholdexceptl.
36412 2011-10-18 Andreas Schwab <schwab@redhat.com>
36414 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36415 (__feraiseexcept_renamed): Add __NTH.
36416 (feraiseexcept): Add __NTH. Rename local variables to fix
36417 namespace violations.
36419 2011-10-17 Ulrich Drepper <drepper@gmail.com>
36421 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36423 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36425 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36426 recently added interfaces.
36427 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36429 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36430 about macro parameter expansion.
36432 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36433 __NO_MATH_INLINES is defined. Cleanups.
36435 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36436 and __floorf is target has SSE4.1.
36437 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36438 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36439 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36440 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36442 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36444 (floorf): Likewise.
36446 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36448 2011-10-17 Andreas Schwab <schwab@redhat.com>
36450 * misc/sys/cdefs.h: Fix last change.
36452 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36455 2011-10-16 Ulrich Drepper <drepper@gmail.com>
36457 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36459 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36460 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36461 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36462 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36463 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36464 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36465 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36466 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36467 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36468 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36469 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36470 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36471 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36472 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36473 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36474 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36475 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36476 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36477 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36478 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36479 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36480 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36482 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36483 ceil, ceilf, floor, floorf.
36485 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36486 Perform IRELATIVE relocations last.
36488 * elf/do-rel.h: Add another parameter nrelative, replacing the
36489 local variable with the same name. Change name of the function
36490 to end in Rel or Rela (uppercase).
36491 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36492 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36493 elf_dynamic_do_##reloc function.
36495 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36497 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36498 is sufficient, at least on modern CPUs.
36500 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36502 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36503 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36505 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36507 * math/bits/math-finite.h: Add entries for exp.
36508 * math/e_expl.c: Add __*_finite alias.
36509 * sysdeps/i386/fpu/e_exp.S: Likewise.
36510 * sysdeps/i386/fpu/e_expf.S: Likewise.
36511 * sysdeps/i386/fpu/e_expl.c: Likewise.
36512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36513 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36514 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36515 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36516 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36517 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36518 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36520 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36521 is sufficient, at least on modern CPUs.
36523 * ctype/ctype-info.c (__ctype_init): Define.
36524 * include/ctype.h (__ctype_init): Declare.
36525 (__ctype_b_loc): The variable is always initialized.
36526 (__ctype_toupper_loc): Likewise.
36527 (__ctype_tolower_loc): Likewise.
36528 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36529 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36531 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36533 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36535 * configure.in: Also look in $cxxmachine/include for C++ system
36538 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36540 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36541 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36542 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36543 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36544 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36545 (USE_AS_WMEMCMP): New macro.
36547 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36548 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36549 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36550 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36552 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36553 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36554 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36555 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36556 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36557 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36558 (USE_AS_WMEMCMP): New macro.
36559 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36560 * sysdeps/string/test-memcmp.c: Update.
36561 Fix simple_wmemcmp.
36563 * wcsmbs/wmemcmp.c: Update.
36564 (WMEMCMP): New macro.
36567 2011-10-12 Andreas Jaeger <aj@suse.de>
36570 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36572 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36574 * libio/iofwide.c (do_length): Avoid warning.
36576 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36578 2011-10-14 Ulrich Drepper <drepper@gmail.com>
36580 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36582 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36583 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36584 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36585 * sysdeps/i386/i686/fpu/e_log.S: New file.
36586 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36587 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36589 * ctype/ctype.h: Add support for inlined isXXX functions when
36590 compiling C++ code.
36592 2011-10-14 Andreas Schwab <schwab@redhat.com>
36594 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36596 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36598 2011-10-13 Roland McGrath <roland@hack.frob.com>
36601 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36603 2011-10-13 Andreas Schwab <schwab@redhat.com>
36605 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36606 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36609 * sysdeps/x86_64/memrchr.S: Check for zero size.
36611 * string/stratcliff.c: Add memrchr tests.
36613 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36616 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36617 rawmemchr-sse2 rawmemchr-sse2-bsf.
36618 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36619 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36620 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36621 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36622 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36623 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36624 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36625 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36626 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36627 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36628 * string/memrchr.c (MEMRCHR): New macro.
36630 2011-10-12 Ulrich Drepper <drepper@gmail.com>
36632 Add integration with gcc's -ffinite-math-only and optimize wrapper
36634 * Versions.def: Define GLIBC_2.15 version for libm.
36635 * math/Makefile (headers): Add bits/math-finite.h.
36636 * math/bits/math-finite.h: New file.
36637 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36638 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36639 * math/e_acoshl.c: Add __*_finite alias.
36640 * math/e_acosl.c: Likewise.
36641 * math/e_asinl.c: Likewise.
36642 * math/e_atan2l.c: Likewise.
36643 * math/e_atanhl.c: Likewise.
36644 * math/e_coshl.c: Likewise.
36645 * math/e_exp10.c: Likewise.
36646 * math/e_exp10f.c: Likewise.
36647 * math/e_exp10l.c: Likewise.
36648 * math/e_exp2l.c: Likewise.
36649 * math/e_fmodl.c: Likewise.
36650 * math/e_gammal_r.c: Likewise.
36651 * math/e_hypotl.c: Likewise.
36652 * math/e_j0l.c: Likewise.
36653 * math/e_j1l.c: Likewise.
36654 * math/e_jnl.c: Likewise.
36655 * math/e_lgammal_r.c: Likewise.
36656 * math/e_log10l.c: Likewise.
36657 * math/e_log2l.c: Likewise.
36658 * math/e_logl.c: Likewise.
36659 * math/e_powl.c: Likewise.
36660 * math/e_sinhl.c: Likewise.
36661 * math/e_sqrtl.c: Likewise.
36662 * math/e_scalb.c: Completely rewritten and optimized.
36663 * math/e_scalbf.c: Likewise.
36664 * math/e_scalbl.c: Likewise.
36665 * math/w_acos.c: Likewise.
36666 * math/w_acosf.c: Likewise.
36667 * math/w_acosl.c: Likewise.
36668 * math/w_acosh.c: Likewise.
36669 * math/w_acoshf.c: Likewise.
36670 * math/w_acoshl.c: Likewise.
36671 * math/w_asin.c: Likewise.
36672 * math/w_asinf.c: Likewise.
36673 * math/w_asinl.c: Likewise.
36674 * math/w_atan2.c: Likewise.
36675 * math/w_atan2f.c: Likewise.
36676 * math/w_atan2l.c: Likewise.
36677 * math/w_atanh.c: Likewise.
36678 * math/w_atanhf.c: Likewise.
36679 * math/w_atanhl.c: Likewise.
36680 * math/w_exp10.c: Likewise.
36681 * math/w_exp10f.c: Likewise.
36682 * math/w_exp10l.c: Likewise.
36683 * math/w_fmod.c: Likewise.
36684 * math/w_fmodf.c: Likewise.
36685 * math/w_fmodl.c: Likewise.
36686 * math/w_j0.c: Likewise.
36687 * math/w_j0f.c: Likewise.
36688 * math/w_j0l.c: Likewise.
36689 * math/w_j1.c: Likewise.
36690 * math/w_j1f.c: Likewise.
36691 * math/w_j1l.c: Likewise.
36692 * math/w_jn.c: Likewise.
36693 * math/w_jnf.c: Likewise.
36694 * math/w_log.c: Likewise.
36695 * math/w_logf.c: Likewise.
36696 * math/w_logl.c: Likewise.
36697 * math/w_log10.c: Likewise.
36698 * math/w_log10f.c: Likewise.
36699 * math/w_log10l.c: Likewise.
36700 * math/w_log2.c: Likewise.
36701 * math/w_log2f.c: Likewise.
36702 * math/w_log2l.c: Likewise.
36703 * math/w_pow.c: Likewise.
36704 * math/w_powf.c: Likewise.
36705 * math/w_powl.c: Likewise.
36706 * math/w_remainder.c: Likewise.
36707 * math/w_remainderf.c: Likewise.
36708 * math/w_remainderl.c: Likewise.
36709 * math/w_scalb.c: Likewise.
36710 * math/w_scalbf.c: Likewise.
36711 * math/w_scalbl.c: Likewise.
36712 * math/w_sqrt.c: Likewise.
36713 * math/w_sqrtf.c: Likewise.
36714 * math/w_sqrtl.c: Likewise.
36715 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36716 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36718 * math/math_private.h: Declare __kernel_standard_f.
36719 * math/w_cosh.c: Remove cruft and optimize a bit.
36720 * math/w_coshf.c: Likewise.
36721 * math/w_coshl.c: Likewise.
36722 * math/w_exp2.c: Likewise.
36723 * math/w_exp2f.c: Likewise.
36724 * math/w_exp2l.c: Likewise.
36725 * math/w_hypot.c: Likewise.
36726 * math/w_hypotf.c: Likewise.
36727 * math/w_hypotl.c: Likewise.
36728 * math/w_lgamma.c: Likewise.
36729 * math/w_lgamma_r.c: Likewise.
36730 * math/w_lgammaf.c: Likewise.
36731 * math/w_lgammaf_r.c: Likewise.
36732 * math/w_lgammal.c: Likewise.
36733 * math/w_lgammal_r.c: Likewise.
36734 * math/w_sinh.c: Likewise.
36735 * math/w_sinhf.c: Likewise.
36736 * math/w_sinhl.c: Likewise.
36737 * math/w_tgamma.c: Likewise.
36738 * math/w_tgammaf.c: Likewise.
36739 * math/w_tgammal.c: Likewise.
36740 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36741 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36742 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36743 Minor optimizations. Pretty printing. Remove cruft.
36744 * sysdeps/i386/fpu/e_acosf.S: Likewise.
36745 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36746 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36747 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36748 * sysdeps/i386/fpu/e_acosl.c: Likewise.
36749 * sysdeps/i386/fpu/e_asin.S: Likewise.
36750 * sysdeps/i386/fpu/e_asinf.S: Likewise.
36751 * sysdeps/i386/fpu/e_atan2.S: Likewise.
36752 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36753 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36754 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36755 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36756 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36757 * sysdeps/i386/fpu/e_exp10.S: Likewise.
36758 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36759 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36760 * sysdeps/i386/fpu/e_exp2.S: Likewise.
36761 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36762 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36763 * sysdeps/i386/fpu/e_fmod.S: Likewise.
36764 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36765 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36766 * sysdeps/i386/fpu/e_hypot.S: Likewise.
36767 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36768 * sysdeps/i386/fpu/e_log.S: Likewise.
36769 * sysdeps/i386/fpu/e_log10.S: Likewise.
36770 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36771 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36772 * sysdeps/i386/fpu/e_log2.S: Likewise.
36773 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36774 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36775 * sysdeps/i386/fpu/e_logf.S: Likewise.
36776 * sysdeps/i386/fpu/e_logl.S: Likewise.
36777 * sysdeps/i386/fpu/e_pow.S: Likewise.
36778 * sysdeps/i386/fpu/e_powf.S: Likewise.
36779 * sysdeps/i386/fpu/e_powl.S: Likewise.
36780 * sysdeps/i386/fpu/e_remainder.S: Likewise.
36781 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36782 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36783 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36784 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36785 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36786 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36787 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36788 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36789 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36790 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36792 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36793 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36794 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36795 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36796 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36797 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36798 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36799 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36800 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36802 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36803 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36809 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36810 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36811 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36812 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36813 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36814 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36815 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36816 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36817 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36818 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36819 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36820 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36821 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36822 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36823 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36824 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36825 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36826 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36827 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36828 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36829 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36830 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36831 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36832 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36833 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36834 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36835 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36838 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36839 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36841 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36842 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36843 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36844 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36845 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36846 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36847 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36848 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36849 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36850 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36853 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36854 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36855 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36856 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36857 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36858 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36860 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36861 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36862 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36863 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36864 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36865 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36866 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36867 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36868 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36869 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36870 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36871 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36872 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36873 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36874 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36875 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36876 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36877 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36878 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36879 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36880 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36881 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36882 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36883 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36884 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36885 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36886 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36887 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36888 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36889 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36890 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36891 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36892 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36893 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36894 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36895 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36896 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36897 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36898 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36899 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
36900 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36901 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36902 (__isnanf): Likewise.
36903 (__isinf_ns): Likewise.
36904 (__isinf_nsf): Likewise.
36905 (__finite): Likewise.
36906 (__finitef): Likewise.
36907 (__ieee754_sqrt): Define as macro.
36908 (__ieee754_sqrtf): Define as macro.
36909 (__ieee754_sqrtl): Define as macro.
36910 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36912 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36913 __FINITE_MATH_ONLY__ consistent.
36914 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36916 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
36918 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36921 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36923 2011-10-09 Ulrich Drepper <drepper@gmail.com>
36925 * po/ja.po: Update from translation team.
36927 2011-10-08 Roland McGrath <roland@hack.frob.com>
36929 * locale/programs/locarchive.c (prepare_address_space): New function.
36930 (create_archive, enlarge_archive, open_archive): Use it.
36932 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
36933 inside [SHARED], where it is used.
36935 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
36937 * nss/getent.c (netgroup_keys): Remove unused variable.
36938 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36940 2011-10-08 Ulrich Drepper <drepper@gmail.com>
36942 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
36943 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
36944 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
36945 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
36946 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
36947 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
36948 * math/Makefile (libm-calls): Add s_isinf_ns.
36949 * math/divtc3.c: Use __isinf_nsl instead of isinf.
36950 * math/multc3.c: Likewise.
36951 * math/s_casin.c: Likewise.
36952 * math/s_casinf.c: Likewise.
36953 * math/s_casinl.c: Likewise.
36954 * math/s_ccos.c: Likewise.
36955 * math/s_ccosf.c: Likewise.
36956 * math/s_ccosl.c: Likewise.
36957 * math/s_ctan.c: Likewise.
36958 * math/s_ctanf.c: Likewise.
36959 * math/s_ctanh.c: Likewise.
36960 * math/s_ctanhf.c: Likewise.
36961 * math/s_ctanhl.c: Likewise.
36962 * math/s_ctanl.c: Likewise.
36963 * math/w_fmod.c: Likewise.
36964 * math/w_fmodf.c: Likewise.
36965 * math/w_fmodl.c: Likewise.
36966 * math/w_remainder.c: Likewise.
36967 * math/w_remainderf.c: Likewise.
36968 * math/w_remainderl.c: Likewise.
36969 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
36970 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
36971 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
36972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
36973 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
36974 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
36975 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
36976 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
36978 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
36980 * stdio-common/printf_fphex.c: Likewise.
36981 * stdio-common/printf_size.c: Likewise.
36983 * math/e_exp10.c: Include math_private.h using <...> not "...".
36984 * math/e_exp10f.c: Likewise.
36985 * math/e_exp10l.c: Likewise.
36986 * math/e_exp2l.c: Likewise.
36987 * math/e_j0l.c: Likewise.
36988 * math/e_j1l.c: Likewise.
36989 * math/e_jnl.c: Likewise.
36990 * math/e_lgammal_r.c: Likewise.
36991 * math/e_rem_pio2l.c: Likewise.
36992 * math/e_scalb.c: Likewise.
36993 * math/e_scalbf.c: Likewise.
36994 * math/e_scalbl.c: Likewise.
36995 * math/k_cosl.c: Likewise.
36996 * math/k_sinl.c: Likewise.
36997 * math/k_tanl.c: Likewise.
36998 * math/s_cacoshf.c: Likewise.
36999 * math/s_catan.c: Likewise.
37000 * math/s_catanf.c: Likewise.
37001 * math/s_catanh.c: Likewise.
37002 * math/s_catanhf.c: Likewise.
37003 * math/s_catanhl.c: Likewise.
37004 * math/s_catanl.c: Likewise.
37005 * math/s_ccosh.c: Likewise.
37006 * math/s_ccoshf.c: Likewise.
37007 * math/s_ccoshl.c: Likewise.
37008 * math/s_cexp.c: Likewise.
37009 * math/s_cexpf.c: Likewise.
37010 * math/s_cexpl.c: Likewise.
37011 * math/s_clog.c: Likewise.
37012 * math/s_clog10.c: Likewise.
37013 * math/s_clog10f.c: Likewise.
37014 * math/s_clog10l.c: Likewise.
37015 * math/s_clogf.c: Likewise.
37016 * math/s_clogl.c: Likewise.
37017 * math/s_csin.c: Likewise.
37018 * math/s_csinf.c: Likewise.
37019 * math/s_csinh.c: Likewise.
37020 * math/s_csinhf.c: Likewise.
37021 * math/s_csinhl.c: Likewise.
37022 * math/s_csinl.c: Likewise.
37023 * math/s_csqrt.c: Likewise.
37024 * math/s_csqrtf.c: Likewise.
37025 * math/s_csqrtl.c: Likewise.
37026 * math/s_ctan.c: Likewise.
37027 * math/s_ctanf.c: Likewise.
37028 * math/s_ctanh.c: Likewise.
37029 * math/s_ctanhf.c: Likewise.
37030 * math/s_ctanhl.c: Likewise.
37031 * math/s_ctanl.c: Likewise.
37032 * math/s_ldexp.c: Likewise.
37033 * math/s_ldexpf.c: Likewise.
37034 * math/s_ldexpl.c: Likewise.
37035 * math/s_significand.c: Likewise.
37036 * math/s_significandf.c: Likewise.
37037 * math/s_significandl.c: Likewise.
37038 * math/w_acos.c: Likewise.
37039 * math/w_acosf.c: Likewise.
37040 * math/w_acosh.c: Likewise.
37041 * math/w_acoshf.c: Likewise.
37042 * math/w_acoshl.c: Likewise.
37043 * math/w_acosl.c: Likewise.
37044 * math/w_asin.c: Likewise.
37045 * math/w_asinf.c: Likewise.
37046 * math/w_asinl.c: Likewise.
37047 * math/w_atan2.c: Likewise.
37048 * math/w_atan2f.c: Likewise.
37049 * math/w_atan2l.c: Likewise.
37050 * math/w_atanh.c: Likewise.
37051 * math/w_atanhf.c: Likewise.
37052 * math/w_atanhl.c: Likewise.
37053 * math/w_cosh.c: Likewise.
37054 * math/w_coshf.c: Likewise.
37055 * math/w_coshl.c: Likewise.
37056 * math/w_dremf.c: Likewise.
37057 * math/w_exp10.c: Likewise.
37058 * math/w_exp10f.c: Likewise.
37059 * math/w_exp10l.c: Likewise.
37060 * math/w_exp2.c: Likewise.
37061 * math/w_exp2f.c: Likewise.
37062 * math/w_fmod.c: Likewise.
37063 * math/w_fmodf.c: Likewise.
37064 * math/w_fmodl.c: Likewise.
37065 * math/w_hypot.c: Likewise.
37066 * math/w_hypotf.c: Likewise.
37067 * math/w_hypotl.c: Likewise.
37068 * math/w_j0.c: Likewise.
37069 * math/w_j0f.c: Likewise.
37070 * math/w_j0l.c: Likewise.
37071 * math/w_j1.c: Likewise.
37072 * math/w_j1f.c: Likewise.
37073 * math/w_j1l.c: Likewise.
37074 * math/w_jn.c: Likewise.
37075 * math/w_jnf.c: Likewise.
37076 * math/w_jnl.c: Likewise.
37077 * math/w_lgamma.c: Likewise.
37078 * math/w_lgamma_r.c: Likewise.
37079 * math/w_lgammaf.c: Likewise.
37080 * math/w_lgammaf_r.c: Likewise.
37081 * math/w_lgammal.c: Likewise.
37082 * math/w_lgammal_r.c: Likewise.
37083 * math/w_log.c: Likewise.
37084 * math/w_log10.c: Likewise.
37085 * math/w_log10f.c: Likewise.
37086 * math/w_log10l.c: Likewise.
37087 * math/w_log2.c: Likewise.
37088 * math/w_log2f.c: Likewise.
37089 * math/w_log2l.c: Likewise.
37090 * math/w_logf.c: Likewise.
37091 * math/w_logl.c: Likewise.
37092 * math/w_pow.c: Likewise.
37093 * math/w_powf.c: Likewise.
37094 * math/w_powl.c: Likewise.
37095 * math/w_remainder.c: Likewise.
37096 * math/w_remainderf.c: Likewise.
37097 * math/w_remainderl.c: Likewise.
37098 * math/w_scalb.c: Likewise.
37099 * math/w_scalbf.c: Likewise.
37100 * math/w_scalbl.c: Likewise.
37101 * math/w_sinh.c: Likewise.
37102 * math/w_sinhf.c: Likewise.
37103 * math/w_sinhl.c: Likewise.
37104 * math/w_sqrt.c: Likewise.
37105 * math/w_sqrtf.c: Likewise.
37106 * math/w_sqrtl.c: Likewise.
37107 * math/w_tgamma.c: Likewise.
37108 * math/w_tgammaf.c: Likewise.
37109 * math/w_tgammal.c: Likewise.
37111 * po/ja.po: Update from translation team.
37113 2011-09-29 Andreas Jaeger <aj@suse.de>
37116 * sunrpc/netname.c (netname2host): Fix logic.
37120 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37122 * math/w_remainder.c (__remainder): Likewise.
37123 * math/w_remainderf.c (__remainderf): Likewise.
37124 * math/libm-test.inc (remainder_test): Add test cases.
37126 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37128 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37131 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37133 * string/test-memcmp.c: Avoid unncessary #defines.
37134 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37136 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37138 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37139 Use new sse2 version for core i3 - i7 as it's faster
37140 than sse42 version.
37141 (bit_Prefer_PMINUB_for_stringop): New.
37142 * sysdeps/x86_64/rawmemchr.S: Update.
37143 Replace with faster SSE2 version.
37144 * sysdeps/x86_64/memrchr.S: New file.
37145 * sysdeps/x86_64/memchr.S: Update.
37146 Replace with faster SSE2 version.
37148 2011-09-12 Marek Polacek <mpolacek@redhat.com>
37150 * elf/dl-load.c (lose): Add cast to avoid warning.
37152 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37154 * po/ca.po: Update from translation team.
37156 * inet/getnetgrent_r.c: Hook up nscd.
37157 * nscd/Makefile (routines): Add nscd_netgroup.
37158 (nscd-modules): Add netgroupcache.
37159 (CFLAGS-netgroupcache.c): Define.
37160 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37161 (cache_search): Add const to second parameter.
37162 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37164 (dbs): Add netgrdb entry.
37165 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37166 (verify_persistent_db): Handle netgrdb.
37167 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37168 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37170 (netgroup_response_header): Define.
37171 (innetgroup_response_header): Define.
37172 (datahead): Add netgroup_response_header and innetgroup_response_header
37174 * nscd/nscd.conf: Add entries for netgroup cache.
37175 * nscd/nscd.h (dbtype): Add netgrdb.
37176 (_PATH_NSCD_NETGROUP_DB): Define.
37177 (netgroup_iov_disabled): Declare.
37178 (xmalloc, xcalloc, xrealloc): Move declarations here.
37179 (cache_search): Adjust prototype.
37180 Add netgroup-related prototypes.
37181 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37182 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37183 (__nscd_innetgr): Declare.
37184 * nscd/selinux.c (perms): Use access_vector_t as element type and
37185 add netgroup-related initializers.
37186 * nscd/netgroupcache.c: New file.
37187 * nscd/nscd_netgroup.c: New file.
37188 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37189 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37190 For four parameters use innetgr.
37191 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37192 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37193 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37194 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37196 * nscd/connections.c (register_traced_file): Don't register file
37197 for disabled databases.
37199 2011-10-06 Ulrich Drepper <drepper@gmail.com>
37201 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37203 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37204 from tree and freeing node.
37206 2011-09-25 Jiri Olsa <jolsa@redhat.com>
37208 * nss/nsswitch.c (__nss_database_lookup): Handle
37209 nss_parse_service_list out of memory case.
37211 2011-09-15 Jiri Olsa <jolsa@redhat.com>
37213 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37214 out of memory case.
37216 2011-10-04 Andreas Schwab <schwab@redhat.com>
37218 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37219 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37221 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37222 elf_machine_rela, elf_machine_lazy_rel.
37223 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37224 (ELF_DYNAMIC_DO_REL): Likewise.
37225 (ELF_DYNAMIC_DO_RELA): Likewise.
37226 (ELF_DYNAMIC_RELOCATE): Likewise.
37227 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37228 to ELF_DYNAMIC_DO_REL.
37229 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37230 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37231 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37234 skip_ifunc, don't call ifunc function if non-zero.
37235 (elf_machine_rela): Likewise.
37236 (elf_machine_lazy_rel): Likewise.
37237 (elf_machine_lazy_rela): Likewise.
37238 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37239 (elf_machine_lazy_rel): Likewise.
37240 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37242 (elf_machine_lazy_rel): Likewise.
37243 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37245 (elf_machine_lazy_rel): Likewise.
37246 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37247 (elf_machine_lazy_rel): Likewise.
37248 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37249 (elf_machine_lazy_rel): Likewise.
37250 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37251 (elf_machine_lazy_rel): Likewise.
37252 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37253 (elf_machine_lazy_rel): Likewise.
37254 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37255 (elf_machine_lazy_rel): Likewise.
37256 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37257 (elf_machine_lazy_rel): Likewise.
37259 2011-09-28 Ulrich Drepper <drepper@gmail.com>
37261 * nss/nss_files/files-init.c (_nss_files_init): Use static
37262 initialization for all the *_traced_file variables.
37264 2011-09-28 Andreas Schwab <schwab@redhat.com>
37266 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37268 2011-09-27 Roland McGrath <roland@hack.frob.com>
37271 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37273 2011-09-27 Andreas Schwab <schwab@redhat.com>
37275 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37276 Reread the line before reparsing it.
37278 2011-09-26 Andreas Schwab <schwab@redhat.com>
37280 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37282 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37283 Maxim Kuvyrkov <maxim@codesourcery.com>
37284 Joseph Myers <joseph@codesourcery.com>
37286 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37287 if needed for __stack_chk_guard.
37289 2011-09-19 Roland McGrath <roland@hack.frob.com>
37291 * sysdeps/posix/spawni.c (script_execute): Always define it.
37292 It will be optimized away if unused.
37293 (maybe_script_execute): New function.
37294 (__spawni): Call it.
37296 * Makerules: Don't include tls.make.
37297 (config-tls): Always set to thread.
37298 * tls.make.c: File removed.
37300 2011-09-19 Mike Frysinger <vapier@gentoo.org>
37302 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37303 * config.make.in (CPPFLAGS-config): New substituted variable.
37305 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37307 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37310 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37311 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37313 2011-09-15 Roland McGrath <roland@hack.frob.com>
37315 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37316 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37318 (CALL_FAIL): Likewise.
37319 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37320 (CALL_FAIL): Macro removed.
37321 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37323 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37325 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37326 for __FINITE_MATH_ONLY__ == 1.
37328 2011-09-15 Andreas Schwab <schwab@redhat.com>
37330 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37331 __ieee754_sqrt instead of sqrt.
37332 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37333 __ieee754_sqrtf instead of sqrtf.
37334 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37335 __floorf instead of floorf.
37336 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37337 __floorf, __truncf instead of floorf, truncf.
37339 2011-09-14 Ulrich Drepper <drepper@gmail.com>
37341 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37343 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37344 __extern_always_inline.
37345 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37348 2011-09-14 Andreas Schwab <schwab@redhat.com>
37350 * elf/rtld.c (dl_main): Also relocate in dependency order when
37351 doing symbol dependency testing.
37353 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37356 Always define `refsym'.
37358 2011-09-13 Andreas Schwab <schwab@redhat.com>
37360 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37361 (__FD_ELT): Renamed from __FDELT.
37362 * misc/bits/select2.h (__FD_ELT): Likewise.
37363 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37364 __FD_MASK instead of __FDELT, __FDMASK.
37365 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37367 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37370 * elf/Makefile (gen-ldd): Fix pattern.
37372 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37373 (init_tls): Likewise.
37375 2011-09-12 Ulrich Drepper <drepper@gmail.com>
37377 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37379 2011-09-12 Andreas Schwab <schwab@redhat.com>
37381 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37382 `struct cmsghdr *' instead of `void *'.
37383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37386 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37388 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37390 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37391 ldd_rewrite_script.
37393 2011-09-11 Ulrich Drepper <drepper@gmail.com>
37395 * configure.in: Remove --with-tls option.
37396 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37397 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37398 out in case it is missing.
37399 * sysdeps/ia64/elf/configure.in: Likewise.
37400 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37401 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37402 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37403 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37404 * sysdeps/sh/elf/configure.in: Likewise.
37405 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37406 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37407 * sysdeps/x86_64/elf/configure.in: Likewise.
37408 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37409 * sysdeps/mach/hurd/tls.h: Likewise.
37412 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37415 * configure.in: Fix use of AC_INIT.
37417 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37419 2011-09-10 Ulrich Drepper <drepper@gmail.com>
37421 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37423 * malloc/hooks.c: Likewise.
37426 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37427 variables statically.
37428 (narenas): Initialize.
37429 (list_lock): Initialize.
37430 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37431 initializtion of main_arena and list_lock. Small cleanups.
37432 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37433 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37434 Add initializers to main_arena and mp_.
37435 (malloc_state): Remove pagesize member. Change all users to use
37438 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37439 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37440 is always initialized.
37442 * malloc/malloc.c: Removed unused configurations and dead code.
37443 * malloc/arena.c: Likewise.
37444 * malloc/hooks.c: Likewise.
37445 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37447 * include/tls.h: Removed. USE___THREAD must always be defined.
37448 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37449 * elf/dl-libc.c: Likewise.
37450 * elf/dl-tsd.c: Likewise.
37451 * include/errno.h: Likewise.
37452 * include/netdb.h: Likewise.
37453 * include/resolv.h: Likewise.
37454 * inet/herrno-loc.c: Likewise.
37455 * inet/herrno.c: Likewise.
37456 * malloc/arena.c: Likewise.
37457 * malloc/hooks.c: Likewise.
37458 * malloc/malloc.c: Likewise.
37459 * resolv/res-state.c: Likewise.
37460 * resolv/res_libc.c: Likewise.
37461 * sysdeps/i386/dl-machine.h: Likewise.
37462 * sysdeps/ia64/dl-machine.h: Likewise.
37463 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37464 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37465 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37466 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37467 * sysdeps/sh/dl-machine.h: Likewise.
37468 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37469 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37470 * sysdeps/unix/i386/sysdep.S: Likewise.
37471 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37472 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37473 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37475 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37476 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37477 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37481 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37482 * sysdeps/x86_64/dl-machine.h: Likewise.
37483 * tls.make.c: Likewise.
37485 * configure.in: Remove --with-__thread option. Make tests for
37486 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37487 tls_model attribute fail if no support is available. Remove
37489 * Makeconfig: Adjust for dropped configure option. All features are
37491 * Makerules: Likewise.
37492 * Versions.def: Likewise.
37493 * argp/argp-fmtstream.c: Likewise.
37494 * argp/argp-fmtstream.h: Likewise.
37495 * argp/argp-help.c: Likewise.
37496 * assert/assert.c: Likewise.
37497 * config.h.in: Likewise.
37498 * config.make.in: Likewise.
37499 * configure: Likewise.
37500 * configure.in: Likewise.
37501 * csu/Versions: Likewise.
37502 * csu/init.c: Likewise.
37503 * elf/tst-audit2.c: Likewise.
37504 * elf/tst-tls10.c: Likewise.
37505 * elf/tst-tls10.h: Likewise.
37506 * elf/tst-tls11.c: Likewise.
37507 * elf/tst-tls12.c: Likewise.
37508 * elf/tst-tls14.c: Likewise.
37509 * elf/tst-tlsmod11.c: Likewise.
37510 * elf/tst-tlsmod12.c: Likewise.
37511 * elf/tst-tlsmod13.c: Likewise.
37512 * elf/tst-tlsmod13a.c: Likewise.
37513 * elf/tst-tlsmod14a.c: Likewise.
37514 * elf/tst-tlsmod15b.c: Likewise.
37515 * elf/tst-tlsmod16a.c: Likewise.
37516 * elf/tst-tlsmod16b.c: Likewise.
37517 * elf/tst-tlsmod7.c: Likewise.
37518 * elf/tst-tlsmod8.c: Likewise.
37519 * elf/tst-tlsmod9.c: Likewise.
37520 * gmon/gmon.c: Likewise.
37521 * grp/fgetgrent_r.c: Likewise.
37522 * grp/putgrent.c: Likewise.
37523 * hurd/fopenport.c: Likewise.
37524 * include/libc-symbols.h: Likewise.
37525 * include/tls.h: Likewise.
37526 * intl/gettextP.h: Likewise.
37527 * intl/loadinfo.h: Likewise.
37528 * locale/global-locale.c: Likewise.
37529 * locale/localeinfo.h: Likewise.
37530 * mach/devstream.c: Likewise.
37531 * malloc/arena.c: Likewise.
37532 * malloc/set-freeres.c: Likewise.
37533 * misc/err.c: Likewise.
37534 * misc/getttyent.c: Likewise.
37535 * misc/mntent_r.c: Likewise.
37536 * posix/getopt.c: Likewise.
37537 * posix/wordexp.c: Likewise.
37538 * pwd/fgetpwent_r.c: Likewise.
37539 * resolv/Versions: Likewise.
37540 * resolv/res_hconf.c: Likewise.
37541 * shadow/fgetspent_r.c: Likewise.
37542 * shadow/putspent.c: Likewise.
37543 * stdio-common/printf_fphex.c: Likewise.
37544 * stdio-common/tmpfile.c: Likewise.
37545 * stdlib/abort.c: Likewise.
37546 * stdlib/fmtmsg.c: Likewise.
37547 * sunrpc/auth_unix.c: Likewise.
37548 * sunrpc/clnt_perr.c: Likewise.
37549 * sunrpc/clnt_tcp.c: Likewise.
37550 * sunrpc/clnt_udp.c: Likewise.
37551 * sunrpc/clnt_unix.c: Likewise.
37552 * sunrpc/openchild.c: Likewise.
37553 * sunrpc/svc_simple.c: Likewise.
37554 * sunrpc/svc_tcp.c: Likewise.
37555 * sunrpc/svc_udp.c: Likewise.
37556 * sunrpc/svc_unix.c: Likewise.
37557 * sunrpc/xdr.c: Likewise.
37558 * sunrpc/xdr_array.c: Likewise.
37559 * sunrpc/xdr_rec.c: Likewise.
37560 * sunrpc/xdr_ref.c: Likewise.
37561 * sunrpc/xdr_stdio.c: Likewise.
37563 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37565 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37567 2011-07-03 Andreas Jaeger <aj@suse.de>
37569 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37570 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37571 regenerate with gen-libm-tests.pl.
37573 2010-05-12 Petr Baudis <pasky@suse.cz>
37576 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37577 around j0() zero points by switching to j1().
37578 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37579 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37580 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37581 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37583 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37585 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37587 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37590 Patch in part by Pavel Roskin <proski@gnu.org>.
37593 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37595 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37596 Free memory block if necessary.
37599 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37600 be NULL. Don't lock in this case.
37602 2011-09-09 Roland McGrath <roland@hack.frob.com>
37604 * elf/elf.h (ELFOSABI_GNU): New macro.
37605 (ELFOSABI_LINUX): Define to that.
37607 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37609 * string/strncat.c (strncat): Undef the symbol in case it has been
37610 defined in bits/string.h.
37612 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37614 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37616 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37619 2011-08-17 Andreas Jaeger <aj@suse.de>
37621 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37623 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37624 Ian Lance Taylor <iant@google.com>
37626 * math/libm-test.inc (lround_test): New testcase.
37627 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37629 2011-09-08 Ulrich Drepper <drepper@gmail.com>
37631 * Makefile: Remove support for automatic cvs check-ins.
37632 * Makerules: Likewise.
37633 * config.make.in: Likewise.
37634 * configure.in: Likewise.
37635 * intl/Makefile: Likewise.
37636 * locale/Makefile: Likewise.
37637 * po/Makefile: Likewise.
37638 * posix/Makefile: Likewise.
37639 * sysdeps/gnu/Makefile: Likewise.
37640 * sysdeps/mach/hurd/Makefile: Likewise.
37641 * sysdeps/sparc/sparc32/Makefile: Likewise.
37644 * posix/Makefile (bug-regex32-ENV): Define.
37645 Patch by John Stanley <jpsinthemix@verizon.net>.
37647 * misc/Makefile (headers): Add bits/select2.h.
37648 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37649 * misc/bits/select2.h: New file.
37650 * include/bits/select2.h: New file.
37651 * debug/Makefile (routines): Add fdelt_chk.
37652 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37653 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37655 * debug/fdelt_chk.c: New file.
37657 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37658 * wcsmbs/test-wmemcmp.c: Likewise.
37659 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37660 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37662 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37664 * string/Makefile (strop-tests): Add memcmp.
37665 * string/test-wmemcmp.c: New file.
37666 * string/test-memcmp.c: Add wmemcmp support.
37668 2011-09-08 Roland McGrath <roland@hack.frob.com>
37671 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37674 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37675 garbage value in a __mach_port_mod_refs call in the cases of the
37676 task-self and thread-self ports.
37678 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37680 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37682 2011-09-08 Andreas Schwab <schwab@redhat.com>
37684 * elf/dl-load.c (lose): Check for non-null L.
37686 2011-09-07 Ulrich Drepper <drepper@gmail.com>
37688 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37690 * elf/dl-libc.c (dlerror_run): Pass back error code from
37694 * elf/dl-load.c (lose): Free l_origin if it is valid.
37696 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37698 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37699 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37700 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37701 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37702 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37703 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37705 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37707 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37708 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37709 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37710 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37711 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37712 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37713 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37714 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37715 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37716 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37718 2011-08-15 Alan Modra <amodra@gmail.com>
37721 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37722 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37723 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37724 ppc_mcount to static-only-routines.
37725 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37727 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37728 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37730 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
37732 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37733 for finite and infinity parameters.
37735 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37737 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37738 and add nop instructions for throughput optimization.
37739 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37741 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
37743 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37744 aligned copy for power7 with vector-scalar instructions.
37745 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37747 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
37749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37752 2011-09-07 Andreas Schwab <schwab@redhat.com>
37755 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37758 2011-09-07 Ulrich Drepper <drepper@gmail.com>
37760 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37761 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37762 syscall wrapper around clock_gettime in __vdso_clock_gettime.
37763 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37766 2011-09-06 Ulrich Drepper <drepper@gmail.com>
37768 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37769 Forgot to demangle the pointer.
37771 * sysdeps/i386/sysdep.h: Define atom_text_section.
37772 * sysdeps/x86_64/sysdep.h: Likewise.
37773 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37774 section with atom_text_section.
37775 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37776 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37777 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37778 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37779 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37781 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37782 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37783 already be defined. Change to take two parameters and don't assign
37784 result to variable. Adjust all users.
37785 Define INTERNAL_GETTIME if not already defined.
37786 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37789 HAVE_CLOCK_GETTIME_VSYSCALL.
37790 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37792 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37793 gettimeofday vsyscall, just use time.
37795 2011-09-06 Andreas Schwab <schwab@redhat.com>
37797 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37800 2011-09-06 Ulrich Drepper <drepper@gmail.com>
37802 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37804 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37806 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37807 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37808 syscall if possible.
37810 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37812 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37813 e_ident. Don't pass to find_mapsXX.
37814 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37816 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37819 strchr-sse2-no-bsf strrchr-sse2-no-bsf
37820 * sysdeps/x86_64/multiarch/strchr.S: Update.
37821 Check bit_slow_BSF bit.
37822 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37823 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37824 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37826 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37829 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37831 (tryshell): Define.
37832 (__spawni): Change last parameter to be flag. Test
37833 SPAWN_XFLAGS_USE_PATH flag to use path or not.
37834 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37835 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37836 * posix/spawni.c: Likewise.
37837 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37838 * posix/spawnp.c: Likewise. Change normal version to use
37839 SPAWN_XFLAGS_USE_PATH.
37840 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37841 SPAWN_XFLAGS_TRY_SHELL.
37844 * posix/glob.h: Remove gcc 1.x support.
37847 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37849 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37852 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37854 * sysdeps/i386/i686/multiarch/strchr.S: New file.
37855 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37856 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37857 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37858 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37859 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37861 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37863 * sysdeps/x86_64/wcscmp.S: New file.
37865 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37866 wcscmp-c wcscmp-sse2
37867 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37868 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37869 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37870 * wcsmbs/wcscmp.c: Allow renaming.
37872 2011-09-05 David S. Miller <davem@davemloft.net>
37874 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37875 stack slot, rather than the struct return pointer slot.
37876 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37877 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37879 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37881 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37883 * po/ja.po: Update from translation team.
37886 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37887 kernel in 64-bit binaries.
37889 2011-09-01 David S. Miller <davem@davemloft.net>
37891 * elf/elf.h (HWCAP_SPARC_*): Move to..
37892 * sysdeps/sparc/sysdep.h: this new file and add new values.
37893 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37894 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37895 _DL_HWCAP_COUNT to 24.
37896 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37898 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37899 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37900 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37902 instead of magic constants.
37903 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37905 2011-08-31 David S. Miller <davem@davemloft.net>
37907 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37909 Reimplement to do errno handling inline.
37910 (SYSCALL_ERROR_HANDLER): New macro.
37911 (__SYSCALL_STRING): Do not do errno handling in asm.
37912 (__CLONE_SYSCALL_STRING): Delete.
37913 (__INTERNAL_SYSCALL_STRING): Delete.
37914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37915 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37916 (PSEUDO): Reimplement to do errno handling inline.
37917 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
37923 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37925 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
37926 (inline_syscall*): Add 'err' argument.
37927 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
37928 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
37929 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
37930 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
37932 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
37933 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37935 2011-08-30 Andreas Schwab <schwab@redhat.com>
37937 * elf/rtld.c (dl_main): Relocate objects in dependency order.
37939 2011-08-29 Jiri Olsa <jolsa@redhat.com>
37941 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
37944 2011-08-24 David S. Miller <davem@davemloft.net>
37946 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
37948 2011-08-24 Andreas Schwab <schwab@redhat.com>
37950 * elf/Makefile: Add rules to build and run unload8 test.
37951 * elf/unload8.c: New file.
37952 * elf/unload8mod1.c: New file.
37953 * elf/unload8mod1x.c: New file.
37954 * elf/unload8mod2.c: New file.
37955 * elf/unload8mod3.c: New file.
37957 * elf/dl-close.c (_dl_close_worker): Reset private search list if
37960 2011-08-23 David S. Miller <davem@davemloft.net>
37962 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
37963 subtract stack bias.
37964 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
37965 %sp not %fp in calculations.
37966 (_JMPBUF_UNWINDS_ADJ): Likewise.
37968 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
37969 (aio_suspend): Call it to force an exception region around the
37970 AIO_MISC_WAIT() invocation.
37972 2011-08-23 Andreas Schwab <schwab@redhat.com>
37974 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
37977 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
37979 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
37981 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
37982 and <dl-machine.h>.
37983 (Elf64_FuncDesc): Remove.
37985 2011-08-22 David S. Miller <davem@davemloft.net>
37987 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
37988 sigaltstack check, add missing cfi directives.
37989 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
37990 missing cfi directives, and sigaltstack handling.
37992 2011-08-16 Andreas Schwab <schwab@redhat.com>
37995 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
37996 object is seen twice.
37997 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37999 * elf/Makefile (distribute): Add tst-initorder2.c.
38000 (tests): Add tst-initorder2.
38001 (modules-names): Add tst-initorder2a tst-initorder2b
38002 tst-initorder2c tst-initorder2d. Add rules to build them.
38003 ($(objpfx)tst-initorder2.out): New rule.
38004 * elf/tst-initorder2.c: New file.
38005 * elf/tst-initorder2.exp: New file.
38007 2011-08-22 Andreas Schwab <schwab@redhat.com>
38009 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38011 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38012 dependencies back to end of function.
38014 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38015 $(elfobjdir)/ld.so.
38017 2011-08-21 Ulrich Drepper <drepper@gmail.com>
38019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38020 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38021 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38022 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38023 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38024 of __vdso_gettimeofday.
38025 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38026 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38028 (_libc_vdso_platform_setup): Remove initialization of
38029 __vdso_gettimeofday and __vdso_time.
38031 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38033 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38034 and fgetc_unlocked.
38035 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38038 * elf/dl-open.c (add_to_global): Report additions to the global scope
38039 for LD_DEBUG=scopes.
38040 (dl_open_worker): Also print scope of newly loaded dependencies.
38041 (_dl_show_scope): Indicate if there is no scope.
38044 * stdio-common/Makefile (tests): Add bug24.
38045 * stdio-common/bug24.c: New file.
38047 2011-08-19 Andreas Jaeger <aj@suse.de>
38050 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38051 non-existant file when using close-on-exec mode.
38053 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38055 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38056 the very first instruction.
38058 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38059 the CFI state in the end.
38060 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38061 inclusion of dl-trampoline.h.
38062 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38064 2011-08-19 Andreas Schwab <schwab@redhat.com>
38066 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38067 expectations for long double.
38069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38070 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38072 2011-08-14 David S. Miller <davem@davemloft.net>
38074 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38075 artificual limit depends upon the system page size.
38077 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38079 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38080 * resolv/Makefile: Define CFLAGS-libresolv.
38082 2011-08-17 Andreas Schwab <schwab@redhat.com>
38084 * nss/makedb.c (compute_tables): Make variables used in nested
38087 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38089 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38090 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38091 if buffer was too small.
38093 * elf/pldd.c (main): Attach to all threads in the process.
38094 Rewrite /proc handling to use *at functions.
38096 2011-08-16 Ulrich Drepper <drepper@gmail.com>
38098 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38099 specifies first scope to show.
38100 (dl_open_worker): Update callers. Move printing scope of new
38101 object to before the relocation.
38102 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38103 * sysdeps/generic/ldsodefs.h: Update declaration.
38105 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38106 string for the scope number.
38108 2011-08-14 Ulrich Drepper <drepper@gmail.com>
38110 * nscd/servicescache.c (cache_addserv): Make sure written is always
38113 2011-08-14 Roland McGrath <roland@hack.frob.com>
38115 * sysdeps/i386/i486/bits/atomic.h
38116 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38117 statement expression, so as to suppress "set but not used" warning.
38118 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38120 * string/strncat.c (STRNCAT): Use prototype definition.
38122 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38123 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38125 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38126 (localedef-modules): Add localedef.
38127 (locale-modules): Add locale.
38129 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38130 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38131 to avoid a warning.
38133 2011-08-14 David S. Miller <davem@davemloft.net>
38135 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38136 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38138 2011-08-13 Ulrich Drepper <drepper@gmail.com>
38140 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38141 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38142 * elf/rtld.c (dl_main): Set l_name of vDSO.
38143 Call _dl_show_scope when DL_DEBUG_SCOPES.
38144 (process_dl_debug): Recognize scopes flag and also set it for all.
38145 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38146 Declare _dl_show_scope.
38148 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38149 (do_dlopen): Pass caller_dlopen to dl_open.
38150 (__libc_dlopen_mode): Initialize caller_dlopen.
38152 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38153 of libc. Make tolower call locale-independent. Optimize a bit by
38154 using isdigit instead of isalnum.
38155 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38157 2011-08-12 Ulrich Drepper <drepper@gmail.com>
38159 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38160 was a dependency or dynamically loaded.
38162 2011-08-11 Ulrich Drepper <drepper@gmail.com>
38164 * intl/l10nflist.c: Allow architecture-specific pop function.
38165 * sysdeps/x86_64/l10nflist.c: New file.
38167 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38170 2011-08-10 Andreas Schwab <schwab@redhat.com>
38172 * include/dirent.h: Add libc_hidden_proto for scandirat and
38173 scandirat64. Don't declare __scandirat64.
38174 * dirent/scandirat.c: Add libc_hidden_def.
38175 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38176 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38178 2011-08-10 David S. Miller <davem@davemloft.net>
38180 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38182 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38183 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38184 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38186 2011-08-09 Ulrich Drepper <drepper@gmail.com>
38188 * Versions.def [libc]: Add GLIBC_2.15.
38189 * dirent/Makefile (routines): Add scandirat and scandirat64.
38190 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38192 * dirent/dirent.h: Declare scandirat and scandirat64.
38193 * dirent/scandirat.c: New file.
38194 * dirent/scandirat64.c: New file.
38195 * sysdeps/wordsize-64/scandirat.c: New file.
38196 * sysdeps/wordsize-64/scandirat64.c: New file.
38197 * dirent/opendir.c: Define opendirat.
38198 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38200 * dirent/scandir64.c: Adjust for scandir.c change.
38201 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38202 __scandirat64, and __scandir_cancel_handler.
38203 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38204 additional parameter and use openat instead of open (outside of ld.so).
38205 Add new __opendir as wrapper around __opendirat.
38206 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38207 here without requiring old scandirat implementation.
38209 2011-08-08 Ulrich Drepper <drepper@gmail.com>
38211 * dirent/scandir.c (cancel_handler): Renamed to
38212 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38213 defined. Adjust users.
38214 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38215 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38217 2011-08-04 Ulrich Drepper <drepper@gmail.com>
38219 * string/test-string.h (IMPL): Use __STRING to expand name and then
38222 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38225 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38227 * string/Makefile: Update.
38228 (strop-tests): Append strncat.
38229 * string/test-wcscmp.c: New file.
38230 New comprehensive test for wcscmp.
38231 * string/test-strcmp.c: Update.
38232 (WIDE): New define.
38234 2011-07-22 Andreas Schwab <schwab@redhat.com>
38236 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38239 2011-07-26 Andreas Schwab <schwab@redhat.com>
38241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38242 encoding to ACE if AI_IDN.
38244 2011-08-01 Jakub Jelinek <jakub@redhat.com>
38246 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38247 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38249 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38251 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38252 Fix overflow bug in strncat.
38253 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38255 * string/test-strncat.c: Update.
38256 Add new tests for checking overflow bugs.
38258 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38261 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38262 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38263 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38264 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38265 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38266 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38267 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38268 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38270 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38271 (USE_AS_STRCAT): Define.
38272 Add strcat and strncat support.
38273 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38275 2011-07-25 Andreas Schwab <schwab@redhat.com>
38277 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38278 __n bigger than INT_MAX+1.
38279 (__strncmp_g): Likewise.
38281 2011-07-23 Ulrich Drepper <drepper@gmail.com>
38283 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38284 * libio/stido.h: Likewise.
38286 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38291 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38292 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38294 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38295 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38298 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38303 (_dl_x86_64_save_sse): Likewise.
38305 2011-07-22 Ulrich Drepper <drepper@gmail.com>
38307 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38309 (_dl_x86_64_save_sse): Likewise.
38311 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38313 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38315 2011-07-21 Andreas Schwab <schwab@redhat.com>
38317 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38319 (_dl_x86_64_save_sse): Use correct AVX check.
38321 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38323 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38324 bug in strncpy/strncat.
38325 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38327 2011-07-21 Ulrich Drepper <drepper@gmail.com>
38329 * string/tester.c (test_strcat): Add tests for different alignments
38330 of source and destination.
38331 (test_strncat): Likewise.
38333 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38336 * posix/glob.c (glob): Check passed in values before using them in
38337 expressions to avoid some overflows.
38338 (glob_in_dir): Likewise.
38341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38342 check for AVX enablement so that we don't crash with old kernels and
38344 * elf/tst-audit4.c: Add same checks here.
38345 * elf/tst-audit6.c: Likewise.
38347 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38349 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38351 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38353 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38355 * po/cs.po: Update from translation team.
38356 * po/bg.po: Likewise.
38358 2011-07-12 Marek Polacek <mpolacek@redhat.com>
38360 * misc/sys/cdefs.h: Add support for const attribute.
38361 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38362 to gnu_dev_{major,minor,makedev} functions.
38364 2011-07-20 Marek Polacek <mpolacek@redhat.com>
38366 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38368 2011-07-20 Andreas Schwab <schwab@redhat.com>
38370 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38373 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38376 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38377 register in order to avoid conflicts with the soft frame pointer
38378 being held in r11 when necessary.
38379 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38380 (INTERNAL_VSYSCALL_NCS): Likewise.
38382 2011-07-14 Marek Polacek <mpolacek@redhat.com>
38384 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38385 * elf/dl-fini.c (_dl_fini): Adjust caller.
38386 * elf/dl-close.c (_dl_close_worker): Likewise.
38387 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38389 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38391 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38392 "aux_cache->nlibs < 0".
38394 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38395 in the reload-count case.
38397 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38400 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38401 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38402 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38403 * sysdeps/x86_64/multiarch/strcat.S: New file.
38404 * sysdeps/x86_64/multiarch/strncat.S: New file.
38405 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38406 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38407 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38408 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38410 (USE_AS_STRCAT): Define.
38411 Add strcat and strncat support.
38412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38413 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38414 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38415 * string/strncat.c: Update.
38416 (USE_AS_STRNCAT): Define.
38417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38418 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38420 * sysdeps/x86_64/multiarch/init-arch.h
38421 (bit_Prefer_PMINUB_for_stringop): New.
38422 (index_Prefer_PMINUB_for_stringop): Likewise.
38423 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38424 bit_Prefer_PMINUB_for_stringop.
38426 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38428 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38430 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38431 of casting of buffer.
38432 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38433 buffer32 and buffer64.
38434 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38435 writes instead of casting of buffer.
38436 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38438 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38441 2011-07-19 Andreas Schwab <schwab@redhat.com>
38443 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38445 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38447 * nscd/nscd.c (termination_handler): Don't do anything for a database
38448 if it has not yet been initialized.
38450 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38452 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38454 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38456 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38458 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38460 * po/nl.po: Update from translation team.
38461 * po/sv.po: Likewise.
38463 2011-07-16 Roland McGrath <roland@hack.frob.com>
38465 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38466 now disallowed by GCC.
38468 * configure.in (use-default-link): Default to yes if a test -shared
38469 link meets our qualifications.
38470 * configure: Regenerated.
38472 * config.make.in (output-format): New variable.
38473 * configure.in: Check for ld --print-output-format support.
38474 * configure: Regenerated.
38475 * Makerules ($(common-objpfx)format.lds)
38476 [$(output-format) != unknown]: Just use $(output-format),
38477 instead of the linker-script munging.
38479 2011-07-14 Roland McGrath <roland@hack.frob.com>
38481 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38482 of $(common-objpfx)shlib.lds.
38483 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38485 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38486 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38488 * configure.in (-z relro check): Adjust test code to add a large
38489 writable data section after it.
38490 * configure: Regenerated.
38492 2011-07-11 Roland McGrath <roland@hack.frob.com>
38494 * configure.in (-z relro check): Fix test code to make the variable
38496 * configure: Regenerated.
38498 2011-07-11 Ulrich Drepper <drepper@gmail.com>
38500 * nscd/nscd.h (struct traced_file): Define.
38501 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38502 elements. Add traced_files.
38503 (inotify_fd): Declare.
38504 (register_traced_file): Declare.
38505 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38506 (inotify_fd): Export.
38507 (resolv_conf_descr): Remove.
38508 (nscd_init): Move inotify descriptor creation to main.
38509 Don't register files for notification here.
38510 (register_traced_file): New function.
38511 (invalidate_cache): Don't use reset_res to determine whether to call
38512 res_init, go through the list of registered files.
38513 (main_loop_poll): The inotify descriptors are now stored in the
38514 structures for the traced files.
38515 (main_loop_epoll): Likewise
38516 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38517 to __nss_disable_nscd.
38518 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38519 for a database anymore. Check the records for all the registered
38521 * nss/Makefile (libnss_files-routines): Add files-init.
38522 (libnss_db-routines): Add db-init.
38523 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38524 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38525 * nss/nss_db/db-init.c: New file.
38526 * nss/nss_files/files-init.c: New file.
38527 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38528 __nss_lookup_function.
38529 (__nss_lookup_function): Call nss_load_library.
38530 (nss_load_all_libraries): New function.
38531 (__nss_disable_nscd): Take parameter with callback function for files
38532 to register. Set is_nscd. Load all the DSOs for the NSS modules
38533 used for the cached services.
38534 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38535 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38536 options for features to all the files in nscd.
38538 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38540 2011-07-10 Roland McGrath <roland@hack.frob.com>
38542 * csu/elf-init.c (__libc_csu_init): Comment typo.
38544 2011-07-09 Ulrich Drepper <drepper@gmail.com>
38546 * po/pl.po: Update from translation team.
38547 * po/ja.po: Likewise.
38548 * po/ru.po: Likewise.
38549 * po/ko.po: Likewise.
38550 * po/fr.po: Likewise.
38552 2011-07-09 Roland McGrath <roland@hack.frob.com>
38554 * configure.in (.ctors/.dtors header and trailer check):
38555 Use an empirical test on a built program.
38556 * configure: Regenerated.
38558 * configure.in (-z relro check): Use an empirical test on a built DSO.
38559 Detect, but do not require, on ia64.
38560 * configure: Regenerated.
38562 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38563 Update tests that use readelf to use $READELF instead.
38564 * configure: Regenerated.
38566 2011-07-08 Ulrich Drepper <drepper@gmail.com>
38568 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38569 if the result is not used.
38571 2011-07-05 Andreas Jaeger <aj@suse.de>
38574 * stdlib/tst-strtod.c: Add testcase.
38576 2011-07-07 Ulrich Drepper <drepper@gmail.com>
38578 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38579 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38580 The latter has a higher limit. Take additional parameter to pass to
38582 (__pathconf): Pass file to __statfs_link_max.
38583 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38585 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38589 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38590 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38592 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38593 (__statfs_filesize_max): Likewise.
38594 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38596 2011-07-05 Andreas Jaeger <aj@suse.de>
38598 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38600 2011-07-06 Marek Polacek <mpolacek@redhat.com>
38602 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38604 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38607 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38609 * Makefile (strop-tests): Add strncat.
38610 * string/test-strncat.c: New file.
38612 2011-06-30 Marek Polacek <mpolacek@redhat.com>
38614 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38616 2011-06-21 Andreas Jaeger <aj@suse.de>
38618 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38619 Copy rule from iconvdata/Makefile.
38621 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38624 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38625 but no long options are defined, just return 'W'.
38627 2011-06-22 Marek Polacek <mpolacek@redhat.com>
38630 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38632 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38634 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38636 (innetgr): Likewise.
38638 2011-07-05 Roland McGrath <roland@hack.frob.com>
38640 * config.make.in (install_root): Default to $(DESTDIR).
38642 2011-07-05 Ulrich Drepper <drepper@gmail.com>
38644 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38646 2011-07-02 Roland McGrath <roland@hack.frob.com>
38648 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38650 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38651 containing directory rather than embedding absolute directory names.
38653 * scripts/check-local-headers.sh: Rewritten using awk.
38654 Match by word, not by line. Print error messages for matches.
38655 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38657 * Makerules [shlib-lds-flags empty]:
38658 ($(common-objpfx)libc_pic.opts): New target.
38659 ($(common-objpfx)libc_pic.os.clean): New target.
38660 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38662 * config.make.in (OBJCOPY): New variable.
38663 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38664 * configure: Regenerated.
38666 * config.make.in (use-default-link): New variable.
38667 * configure.in (use_default_link): Grok --with-default-link to set it.
38668 * configure: Regenerated.
38669 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38670 (shlib-lds, shlib-lds-flags): Define to empty.
38672 * Makerules (shlib-lds): New variable.
38673 (shlib-lds-flags): New variable.
38674 (build-shlib, build-moduile, build-module-asneeded): Use it.
38675 ($(common-objpfx)libc.so): Use $(shlib-lds).
38676 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38677 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38679 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38680 DT_FLAGS/DT_FLAGS_1 with zero flags.
38682 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38683 linker script munging.
38685 2011-07-02 Ulrich Drepper <drepper@gmail.com>
38687 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38689 * crypt/sha512.c (sha512_process_block): Perform total addition using
38690 128-bit if possible.
38691 (__sha512_finish_ctx): Likewise.
38692 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38694 * crypt/sha256.c (SWAP64): Define.
38695 (sha256_process_block): Perform total addition using 64-bit if
38697 (__sha256_finish_ctx): Likewise.
38699 2011-07-01 Ulrich Drepper <drepper@gmail.com>
38701 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38702 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38703 * nscd/hstcache.c (cache_addhst): Likewise.
38704 * nscd/grpcache.c (cache_addgr): Likewise.
38705 * nscd/aicache.c (addhstaiX): Likewise
38706 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38708 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
38710 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38711 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38712 * nscd/hstcache.c (cache_addhst): Likewise.
38713 * nscd/grpcache.c (cache_addgr): Likewise.
38714 * nscd/aicache.c (addhstaiX): Likewise
38716 2011-07-01 Andreas Schwab <schwab@redhat.com>
38718 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38719 domain only when needed.
38721 2011-06-30 Andreas Schwab <schwab@redhat.com>
38723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38724 is always restored.
38726 2011-06-29 Ulrich Drepper <drepper@gmail.com>
38728 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38729 are re-adding the entry.
38730 * nscd/servicescache.c (cache_addserv): Likewise.
38732 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
38734 * sysdeps/generic/dl-irel.h: fix protection against multiple
38736 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38738 2011-06-28 Ulrich Drepper <drepper@gmail.com>
38741 * malloc/memusage.sh: Fix quoting in message.
38742 * debug/xtrace.sh: Likewise.
38744 * configure.in: Remove support for --experimental-malloc option, make
38746 * config.make.in: Likewise.
38747 * malloc/Makefile: Likewise.
38749 2011-06-27 Andreas Schwab <schwab@redhat.com>
38751 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38752 two-byte characters.
38754 2011-06-27 Roland McGrath <roland@hack.frob.com>
38756 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38757 AC_CACHE_CHECK invocation.
38758 * configure: Regenerated.
38760 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38762 2011-06-27 Ulrich Drepper <drepper@gmail.com>
38765 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
38766 bit from old_res_options.
38768 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38770 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38771 value type for setfct.
38773 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
38775 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38776 __gettimeofday instead of gettimeofday.
38778 2011-06-26 Ulrich Drepper <drepper@gmail.com>
38780 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38782 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
38784 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38786 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38789 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38792 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38793 strcpy-sse2-unaligned strncpy-sse2-unaligned
38794 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38795 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38796 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38797 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38798 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38799 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38800 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38801 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38802 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38803 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38804 (STRCPY): Support SSE2 and SSSE3 versions.
38806 2011-06-24 Ulrich Drepper <drepper@gmail.com>
38809 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38810 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38811 kernels which artificially limit size of requests.
38813 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38816 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38817 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38818 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38819 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38820 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38821 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38822 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38823 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38824 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38825 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38826 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38827 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38828 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38829 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38831 Enable unaligned load optimization for Intel Core i3, i5 and i7
38833 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38835 (index_Fast_Unaligned_Load): Define.
38836 (HAS_FAST_UNALIGNED_LOAD): Define.
38838 2011-06-23 Marek Polacek <mpolacek@redhat.com>
38840 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38842 2011-06-22 Ulrich Drepper <drepper@gmail.com>
38845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38846 until it is clear that the information is realy needed.
38847 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38849 2011-06-22 Andreas Schwab <schwab@redhat.com>
38851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38853 2011-06-22 Ulrich Drepper <drepper@gmail.com>
38855 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38856 /sys/devices/system/cpu/online if it is usable.
38858 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38859 reading the information from the /proc filesystem to once a second.
38861 2011-06-21 Andreas Jaeger <aj@suse.de>
38863 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38864 NULL after inclusion of kernel headers.
38866 2011-06-21 Ulrich Drepper <drepper@gmail.com>
38868 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38869 calls to internal_setent.
38872 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38873 addresses using gethostbyname4_r ignore IPv4 addresses.
38875 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38876 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
38878 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38880 2011-06-20 David S. Miller <davem@davemloft.net>
38882 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38884 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38886 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38887 (elf_irel): Use it.
38888 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38889 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38890 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38891 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38892 * sysdeps/x86_64/dl-irel.h: Likewise.
38894 * elf/dl-runtime.c: Use elf_ifunc_invoke.
38895 * elf/dl-sym.c: Likewise.
38897 2011-06-15 Ulrich Drepper <drepper@gmail.com>
38899 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
38900 need to dereference resplen2.
38902 2011-06-14 Andreas Schwab <schwab@redhat.com>
38904 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38906 2011-06-15 Ulrich Drepper <drepper@gmail.com>
38908 * Makeconfig: Define vardbdir and inst_vardbdir.
38909 * nss/Makefile: Add rules to install db-Makefile.
38911 * nss/nss_db/db-XXX.c: Cleanup.
38913 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38914 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38916 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38917 * nss/makedb.c: Implement -g option to specify that value strings
38918 are generated and should not be added to table iterated over for
38920 * nss/nss_db/db-initgroups.c: New file.
38922 * nss/getent.c: Add support for initgroups lookups through getgrouplist
38925 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
38926 (internal_getgrouplist): Adjust to name change.
38927 Update use_initgroups_entry if this is not the first call.
38928 * nss/databases.def: Add initgroups entry.
38930 * nss/makedb.c (compute_tables): Check result of multiple hash table
38931 sizes to minimize maximum chain length.
38933 2011-06-14 Ulrich Drepper <drepper@gmail.com>
38935 * Versions.def: Add entry for libnss_db.
38936 * shlib-versions: Likewise.
38937 * nss/Makefile: Add rules to build libnss_db.
38938 * nss/Versions: Add libnss_db information. Organize libnss_files
38940 * nss/db-Makefile: Add gshadow support. Change rules for the new
38941 makedb progra. Some minor improvements to generate smaller files.
38942 * nss/nss_db/nss_db.h: Move NSS database header data structures to
38944 * nss/makedb.c: ...here.
38945 Improve database format to be smaller and require less memory at
38947 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
38949 * nss/nss_db/db-netgrp.c: Likewise.
38950 * nss/nss_db/db-open.c: Likewise.
38951 * nss/nss_files/flies-XXX.x: Adjust comments.
38952 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
38953 * nss/nss_files/files-grp.c: Likewise.
38954 * nss/nss_files/files-hosts.c: Likewise.
38955 * nss/nss_files/files-network.c: Likewise.
38956 * nss/nss_files/files-proto.c: Likewise.
38957 * nss/nss_files/files-pwd.c: Likewise.
38958 * nss/nss_files/files-rpc.c: Likewise.
38959 * nss/nss_files/files-service.c: Likewise.
38960 * nss/nss_files/files-sgrp.c: Likewise.
38961 * nss/nss_files/files-spwd.c: Likewise.
38962 * nss/nss_db/db-alias.c: Removed.
38963 * nss/nss_db/dummy-db.h: Removed.
38965 2011-06-02 Ulrich Drepper <drepper@gmail.com>
38967 * nss/makedb.c: Rewritten to not use database library.
38968 * nss/Makefile: Update to build new makedb program.
38970 2011-06-14 Andreas Jaeger <aj@suse.de>
38972 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
38973 memset declaration.
38975 2011-06-10 Andreas Schwab <schwab@redhat.com>
38977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
38980 2011-06-10 Roland McGrath <roland@hack.frob.com>
38982 * Makerules (shlib.lds): Fail if the linker script comes out empty.
38983 * elf/Makefile ($(objpfx)ld.so): Likewise.
38985 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
38986 Don't list ld.so twice in dependencies.
38988 * posix/bug-regex31.c: Include <stdlib.h>.
38990 * nscd/hstcache.c (cache_addhst): Remove unused variable.
38992 * nis/nss_compat/compat-spwd.c
38993 (getspent_next_nss_netgr): Remove unused variable.
38994 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
38996 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
38997 nonmembers" output to use the right array.
38999 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39001 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39003 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39004 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39005 * catgets/gencat.c (read_input_file): Likewise.
39006 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39008 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39009 variable definition inside #if's controlling its use.
39011 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39013 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39015 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39017 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39020 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39022 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39023 * configure: Regenerated.
39025 * Makerules: Revert last change.
39026 * elf/Makefile: Likewise.
39028 2011-06-09 Roland McGrath <roland@hack.frob.com>
39030 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39031 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39032 (reloc-link): Likewise.
39034 2011-06-09 Ulrich Drepper <drepper@gmail.com>
39036 * elf/Makefile: Add rules to build pldd.
39037 * elf/pldd.c: New file.
39038 * elf/pldd-xx.c: New file.
39040 2011-06-07 Ulrich Drepper <drepper@gmail.com>
39042 * version.h: Update for 2.15 development version.
39044 2011-06-07 David S. Miller <davem@davemloft.net>
39046 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39049 elf_machine_lazy_rel): Likewise.
39050 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39051 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39052 elf_machine_lazy_rel): Likewise.
39053 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39054 dl_hwcap via passed in argument.
39055 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39058 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39060 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39062 2011-06-06 Roland McGrath <roland@hack.frob.com>
39065 * manual/fdl-1.1.texi: New file, verbatim from:
39066 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39067 * manual/lgpl-2.1.texi: New file, verbatim from:
39068 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39069 * manual/Makefile (licenses): New variable, list those new file names.
39071 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39073 * manual/fdl.texi: File removed.
39074 * manual/lesser.texi: File removed.
39075 * manual/libc.texinfo (Copying, Documentation License):
39076 Use new @include file names, put @appendix directive before @include.
39078 2011-06-04 Jakub Jelinek <jakub@redhat.com>
39081 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39082 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39083 (mq_open): Add __NTH.
39085 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39088 Assume Intel Core i3/i5/i7 processor if AVX is available.
39090 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39095 2011-05-31 Andreas Schwab <schwab@redhat.com>
39097 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39098 memory. Use alloca_account. Fix memory leak when retrying.
39100 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39102 * version.h (RELEASE): Bump for 2.14 release.
39103 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39105 * config.make.in (RANLIB): Remove entry.
39107 2011-05-30 Ulrich Drepper <drepper@gmail.com>
39109 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39110 (libc.pot): Work around missing support for .ksh extension in xgettext.
39113 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39114 if both request failed.
39115 (send_dg): In case of server errors clear resplen or *resplen2.
39118 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39119 when there are multiple maps.
39120 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39121 (_dl_fini): Remove test here.
39123 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39125 2011-05-29 Ulrich Drepper <drepper@gmail.com>
39128 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39129 bit from old_res_options.
39130 (gaih_inet): Likewise.
39133 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39136 * resolv/res_init.c (res_setoptions): Make the code more compact.
39139 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39143 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39145 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39148 * malloc/malloc.h: Declare malloc hook variables as volatile.
39150 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39154 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39155 raise in the comment.
39156 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39157 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39158 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39160 2011-05-28 Ulrich Drepper <drepper@gmail.com>
39163 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39164 grow the buffers more if it already has to be sufficient.
39165 (build_wcs_upper_buffer): Likewise.
39166 * posix/regexec.c (check_matching): Likewise.
39167 (clean_state_log_if_needed): Likewise.
39168 (extend_buffers): Don't enlarge buffers beyond size of the input
39170 Patches mostly by Emil Wojak <emil@wojak.eu>.
39171 * posix/bug-regex32.c: New file.
39172 * posix/Makefile (tests): Add bug-regex32.
39174 * locale/findlocale.c (_nl_find_locale): Return right away if
39175 _nl_explode_name failed.
39176 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39178 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39180 * debug/xtrace.sh: Unify messages.
39181 * malloc/memusage.sh: Likewise.
39184 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39185 time symbol from vDSO. Substitute with vsyscall if not available.
39186 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39189 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39190 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39191 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39192 Add sendmmsg and internal_sendmmsg.
39193 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39194 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39195 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39197 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39198 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39199 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39201 2011-05-27 Ulrich Drepper <drepper@gmail.com>
39204 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39205 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39207 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39211 * iconvdata/Makefile (tests): Add bug-iconv9.
39212 * iconvdata/bug-iconv9.c: New file.
39214 2011-05-27 Andreas Schwab <schwab@redhat.com>
39217 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39219 2011-05-25 Jakub Jelinek <jakub@redhat.com>
39221 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39222 (struct user_regs_struct): Change intcs field back to cs.
39224 2011-05-25 Ulrich Drepper <drepper@gmail.com>
39226 * po/ja.po: Update from translation team.
39228 2011-05-23 Ulrich Drepper <drepper@gmail.com>
39231 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39232 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39234 2011-05-20 Andreas Schwab <schwab@redhat.com>
39236 * stdlib/longlong.h: Update from GCC.
39238 2011-05-23 Andreas Schwab <schwab@redhat.com>
39240 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39242 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39243 Add parameter name.
39244 (__sysconf): Pass it down.
39246 2011-05-22 Ulrich Drepper <drepper@gmail.com>
39249 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39251 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39252 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39253 add in in __libc_use_alloca calls. Adjust callers.
39254 (glob): Use malloc in some situations.
39256 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39257 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39260 2011-05-21 Ulrich Drepper <drepper@gmail.com>
39262 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39263 and CLOCK_BOOTTIME_ALARM.
39266 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39269 * string/_strerror.c (__strerror_r): Print negative errors as signed
39273 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39274 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39275 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39277 * configure.in: Fix typo in redirection and correct removal of test
39278 files in two cases.
39281 * locale/setlocale.c (new_composite_name): Fix test to check for
39282 identical name of all categories.
39285 * libio/filedoalloc.c (local_isatty): New function.
39286 (_IO_file_doallocate): Use local_isatty.
39287 * stdio-common/perror.c (perror): In case a new stream is used
39288 forward the stream error.
39289 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39292 2011-05-20 Ulrich Drepper <drepper@gmail.com>
39295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39297 * include/alloca.h (extend_alloca_account): Define.
39300 * posix/regex.h: Fix comments with documentation of user-accessible
39301 fields after compilation and describe correct free'ing of pattern
39302 after re_compile_pattern.
39303 Patch by Reuben Thomas <rrt@sc3d.org>.
39305 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39307 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39308 and -mno-altivec to prevent the compiler from using Altivec and/or
39309 VSX instructions when the corresponding registers are not available.
39311 2011-05-19 Andreas Schwab <schwab@redhat.com>
39313 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39315 2011-05-19 Ulrich Drepper <drepper@gmail.com>
39317 * libio/freopen.c (freopen): Use __dup2, not dup2.
39318 * libio/freopen64.c (freopen64): Likewise.
39320 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39323 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39324 * math/Makefile (tests): Add test-powl.
39325 (CFLAGS-test-powl.c): Define.
39326 * math/test-powl.c: New file.
39328 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39330 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39332 2011-05-17 Ulrich Drepper <drepper@gmail.com>
39335 * iconvdata/gb18030.c: Update to GB18020-2005.
39337 2011-05-16 Ulrich Drepper <drepper@gmail.com>
39339 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39340 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39341 Patch by Aharon Robbins <arnold@skeeve.com>.
39344 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39348 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39349 through underflows.
39352 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39353 point to strings before performing equality test for error_one_per_line
39357 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39361 (struct user_fpregs_struct): Avoid __uint*_t types.
39364 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39365 symbol info. Use it instead of calling _dl_addr locally.
39366 (lock_and_info): New function.
39367 (tr_freehook): Call lock_and_info and pass symbol info as additional
39368 parameter to tr_where.
39369 (tr_mallochook): Likewise.
39370 (tr_reallochook): Likewise.
39371 (tr_memalignhook): Likewise.
39373 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39374 used and couldn't be at all thread-safe.
39376 2011-05-15 Ulrich Drepper <drepper@gmail.com>
39378 * libio/freopen.c (freopen): Don't close old file descriptor
39379 before the new one is opened. Instead dup the new file descriptor
39380 to the old one after the new stream is created.
39381 * libio/freopen64.c (freopen64): Likewise.
39382 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39383 * libio/fileops.c (_IO_new_file_close_it): Handle new
39384 _IO_FLAGS2_NOCLOSE flag.
39385 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39386 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39387 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39388 _IO_FLAGS2_NOCLOSE flag.
39389 * include/unistd.h: Add hidden_proto for dup3.
39390 Define __have_dup3.
39391 * io/dup3.c: Define hidden symbol.
39392 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39395 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39396 when an incomplete long option is used.
39397 * posix/tst-getopt_long1.c: New file.
39398 * posix/Makefile (tests): Add tst-getopt_long1.
39401 * scripts/config.guess: Update from autoconf-2.68.
39402 * scripts/config.sub: Likewise.
39405 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39407 (has_cpuclock): ...this. New function.
39408 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39409 macro here based on has_cpuclock code.
39412 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39413 First byte (not low byte) is now always NUL.
39414 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39417 Use non-cancelable interfaces.
39420 * locale/iso-639.def: Add entry for Sorani.
39423 * include/stdlib.h: Move include protection to the right place.
39424 Define abort_msg_s. Declare __abort_msg with it.
39425 * stdlib/abort.c (__abort_msg): Adjust type.
39426 * assert/assert.c (__assert_fail_base): New function. Majority
39427 of code from __assert_fail. Allocate memory for __abort_msg with
39429 (__assert_fail): Now call __assert_fail_base.
39430 * assert/assert-perr.c: Remove bulk of implementation. Use
39431 __assert_fail_base.
39432 * include/assert.hL Declare __assert_fail_base.
39433 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39435 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39437 2011-05-14 Ulrich Drepper <drepper@gmail.com>
39441 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39442 until all modules are registered in the DTV.
39443 * elf/Makefile: Add rules to build and run tst-tls19.
39444 * elf/tst-tls19.c: New file.
39445 * elf/tst-tls19mod1.c: New file.
39446 * elf/tst-tls19mod2.c: New file.
39447 * elf/tst-tls19mod3.c: New file.
39448 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39451 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39455 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39456 two-byte sequence errors.
39457 * iconvdata/Makefile (tests): Add bug-iconv8.
39458 * iconvdata/bug-iconv8.c: New file.
39461 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39464 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39467 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39468 (dummy_getcfa): New function.
39469 (init): Get _Unwind_GetCFA address, use dummy if not found.
39470 (backtrace_helper): In recursion check, also check whether CFA changes.
39471 (__backtrace): Completely initialize arg.
39473 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39474 storing incomplete byte sequence in state object. Avoid testing for
39475 guaranteed too small input if we know there is enough data available.
39477 2011-05-11 Andreas Schwab <schwab@redhat.com>
39479 * Makeconfig (+link-pie): Indent.
39480 * Rules (binaries-pie): Define if $(have-fpie) and
39482 (binaries-shared): Also filter out $(binaries-pie).
39483 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39484 * nscd/Makefile (others-pie): Add nscd.
39485 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39486 ($(objpfx)nscd): Remove command override.
39487 * login/Makefile (others-pie): Add pt_chown.
39488 ($(objpfx)pt_chown): Remove command override.
39489 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39490 remove command overrides.
39492 2011-05-13 Ulrich Drepper <drepper@gmail.com>
39494 * libio/tst_putwc.c: Fix error messages.
39497 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39498 currently writing and seek to current position when not.
39499 * libio/Makefile (tests): Add bug-fclose1.
39500 * libio/bug-fclose1.c: New file.
39502 2011-05-12 Ulrich Drepper <drepper@gmail.com>
39505 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39506 don't set DF_1_NODELETE here.
39507 (do_lookup_x): When entering new entry test for copy relocation
39508 and if necessary set DF_1_NODELETE flag.
39509 * elf/tst-unique4.cc: New file.
39510 * elf/tst-unique4.h: New file.
39511 * elf/tst-unique4lib.cc: New file.
39512 * elf/Makefile: Add rules to build and run tst-unique4.
39513 Patch by Piotr Bury <pbury@goahead.com>.
39515 2011-05-11 Ulrich Drepper <drepper@gmail.com>
39518 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39521 * misc/mntent_r.c (addmntent): Flush the stream after the output
39524 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39525 (is_trusted_path_normalize): Skip initial colon. Append slash
39526 to empty buffer. Duplicate is_trusted_path code but allow
39527 constructed patch to be prefix.
39528 (is_dst): Allow $ORIGIN followed by /.
39529 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39530 Correct testing of result of is_trusted_path_normalize
39531 (decompose_rpath): Fix warning.
39533 2011-05-10 Ulrich Drepper <drepper@gmail.com>
39536 * grp/initgroups.c (internal_getgrouplist): When we found the service
39537 list through the initgroups entry in nsswitch.conf do not always
39538 continue on a successful lookup. Don't always use the
39539 __nss_group_database value if it is set.
39540 * nss/nsswitch.conf (initgroups): Change action for successful db
39541 lookup to continue for compatibility.
39543 2011-05-09 Ulrich Drepper <drepper@gmail.com>
39546 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39548 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39550 * iconvdata/tst-tables.sh: Likewise.
39551 * iconvdata/cp770.c: New file.
39552 * iconvdata/cp771.c: New file.
39553 * iconvdata/cp772.c: New file.
39554 * iconvdata/cp773.c: New file.
39555 * iconvdata/cp774.c: New file.
39556 * iconvdata/testdata/CP770: New file.
39557 * iconvdata/testdata/CP770..UTF8: New file.
39558 * iconvdata/testdata/CP771: New file.
39559 * iconvdata/testdata/CP771..UTF8: New file.
39560 * iconvdata/testdata/CP772: New file.
39561 * iconvdata/testdata/CP772..UTF8: New file.
39562 * iconvdata/testdata/CP773: New file.
39563 * iconvdata/testdata/CP773..UTF8: New file.
39564 * iconvdata/testdata/CP774: New file.
39565 * iconvdata/testdata/CP774..UTF8: New file.
39567 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39569 * iconvdata/gen-8bit-gap.sh: Likewise.
39570 * iconvdata/gen-8bit.sh: Likewise.
39572 * locale/iso-639.def: Add ary entry.
39575 * locale/C-translit.h.in: Add U20A1 transliteration.
39578 * locale/iso-639.def: Add wae entry.
39579 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39582 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39586 * locale/C-translit.h.in: Add entry for U20B9.
39587 Patch by pravin.d.s@gmail.com.
39589 2011-05-08 Ulrich Drepper <drepper@gmail.com>
39592 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39593 ENAMETOOLONG use generic getcwd.
39594 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39595 in rtld. Use *stat64.
39596 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39597 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39598 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39599 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39600 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39601 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39602 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39603 __fstatat64 macros.
39604 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39605 * dirent/rewinddir.c: Add libc_hidden_def.
39606 * sysdeps/mach/hurd/rewinddir.c: Likewise.
39607 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
39609 * include/dirent.h (__alloc_dir): Add flags parameter.
39610 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39611 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39613 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39614 from fdopendir if O_CLOEXEC is already set.
39616 2011-03-15 Alan Modra <amodra@gmail.com>
39618 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39619 l_tls_firstbyte_offset non-zero. Save padding offset in
39620 l_tls_firstbyte_offset for later use.
39621 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39622 freeing static tls block.
39624 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39626 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39627 where #ifdef was intended. The intent is to prevent ARG_MAX from
39628 being defined by the kernel headers.
39630 2011-05-07 Ulrich Drepper <drepper@gmail.com>
39633 * resolv/resolv.h: Define RES_NOTLDQUERY.
39634 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39635 no-tld-query and set RES_NOTLDQUERY.
39636 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39637 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39638 modern BIND to search name as TLD unless forbidden.
39640 2011-05-07 Petr Baudis <pasky@suse.cz>
39641 Ulrich Drepper <drepper@gmail.com>
39644 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39645 (is_trusted_path): ...to here.
39646 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39647 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39648 using is_trusted_path_normalize() in setuid scripts.
39650 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39652 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39653 __BEGIN/__END_DECLS.
39655 2011-05-06 Ulrich Drepper <drepper@gmail.com>
39657 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39658 NSS_STATUS_NOTFOUND if no record was found.
39660 2011-05-05 Andreas Schwab <schwab@redhat.com>
39662 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39663 (headers-not-in-tirpc): Remove rpc/netdb.h
39664 * resolv/netdb.h: Revert last change.
39666 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39668 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39669 circular dependency between libgcc.a and libc.a.
39671 2011-05-05 Andreas Schwab <schwab@redhat.com>
39673 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39674 * nis/Makefile: Don't install rpcsvc/*.
39675 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39676 instead of <rpc/types.h>.
39677 (MAXHOSTNAMELEN): Define.
39679 2011-05-03 Andreas Schwab <schwab@redhat.com>
39681 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39683 2011-04-28 Maciej Babinski <mbabinski@google.com>
39686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39687 gethostbyname4_r when IPv6 results are possible.
39689 2011-05-02 Ulrich Drepper <drepper@gmail.com>
39692 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39693 _PC_PIPE_BUF handling.
39695 2011-04-30 Bruno Haible <bruno@clisp.org>
39698 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39699 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39701 * inet/getnameinfo.c (getnameinfo): Likewise.
39703 2011-04-29 Ulrich Drepper <drepper@gmail.com>
39705 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39706 to groups setting in database lookup.
39707 * nss/nsswitch.conf: Add initgroups entry.
39709 2011-04-22 Ulrich Drepper <drepper@gmail.com>
39712 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39714 Patch by Eric Blake <eblake@redhat.com>.
39716 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39718 * sunrpc/Makefile (need-export-routines): Add svc_run.
39719 (routines): Remove svc_run.
39720 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39721 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39722 * sunrpc/svc_run.c (svc_run): Likewise.
39723 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39725 2011-04-21 Ulrich Drepper <drepper@gmail.com>
39727 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39728 problem in reallocation in last patch.
39730 2011-04-20 Ulrich Drepper <drepper@gmail.com>
39732 * sunrpc/Makefile: Move inclusion of Rules.
39734 2011-04-19 Ulrich Drepper <drepper@gmail.com>
39736 * nss/nss_files/files-initgroups.c: New file.
39737 * nss/Makefile (libnss_files-routines): Add files-initgroups.
39738 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39739 _nss_files_initgroups_dyn.
39741 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
39743 * elf/elf.h (R_ARM_IRELATIVE): Define.
39745 2011-04-19 Ulrich Drepper <drepper@gmail.com>
39747 * po/ru.po: Update from translation team.
39749 2011-04-17 Ulrich Drepper <drepper@gmail.com>
39751 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39754 2011-02-06 Mike Frysinger <vapier@gentoo.org>
39757 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39758 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39759 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39760 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39761 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39763 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
39765 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39767 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39768 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39769 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39771 2011-04-17 Ulrich Drepper <drepper@gmail.com>
39774 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39776 * stdlib/bug-getcontext.c: New file.
39777 * stdlib/Makefile: Add rules to build and run bug-getcontext.
39779 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39781 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39782 instructions into .machine "z9-109".
39783 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39784 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39786 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39788 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39789 between environment variables and auxiliary vector.
39791 2011-04-16 Ulrich Drepper <drepper@gmail.com>
39793 * Makefile: Add rules to build linkobj/libc.so.
39794 * include/libc-symbols.h: Define libc_hidden_nolink.
39795 * include/rpc/auth.h: Mark functions which are to be hidden.
39796 * include/rpc/auth_des.h: Likewise.
39797 * include/rpc/auth_unix.h: Likewise.
39798 * include/rpc/clnt.h: Likewise.
39799 * include/rpc/des_crypt.h: Likewise.
39800 * include/rpc/key_prot.h: Likewise.
39801 * include/rpc/pmap_clnt.h: Likewise.
39802 * include/rpc/pmap_prot.h: Likewise.
39803 * include/rpc/pmap_rmt.h: Likewise.
39804 * include/rpc/rpc_msg.h: Likewise.
39805 * include/rpc/svc.h: Likewise.
39806 * include/rpc/svc_auth.h: Likewise.
39807 * include/rpc/xdr.h: Likewise.
39808 * nis/Makefile: Link all DSOs against linkobj/libc.so.
39809 * nss/Makefile: Likewise.
39810 * sunrpc/Makefile: Don't install headers. Build library with normal
39811 entry points. Don't build rpcinfo. Link RPC tests appropriately.
39812 * sunrpc/auth_des.c: Hide exported symbols by default, export some
39813 for the compat linking library. Remove use of INTDEF/INTUSE.
39814 * sunrpc/auth_none.c: Likewise.
39815 * sunrpc/auth_unix.c: Likewise.
39816 * sunrpc/authdes_prot.c: Likewise.
39817 * sunrpc/authuxprot.c: Likewise.
39818 * sunrpc/clnt_gen.c: Likewise.
39819 * sunrpc/clnt_perr.c: Likewise.
39820 * sunrpc/clnt_raw.c: Likewise.
39821 * sunrpc/clnt_simp.c: Likewise.
39822 * sunrpc/clnt_tcp.c: Likewise.
39823 * sunrpc/clnt_udp.c: Likewise.
39824 * sunrpc/clnt_unix.c: Likewise.
39825 * sunrpc/des_crypt.c: Likewise.
39826 * sunrpc/des_soft.c: Likewise.
39827 * sunrpc/get_myaddr.c: Likewise.
39828 * sunrpc/key_call.c: Likewise.
39829 * sunrpc/key_prot.c: Likewise.
39830 * sunrpc/netname.c: Likewise.
39831 * sunrpc/pm_getmaps.c: Likewise.
39832 * sunrpc/pm_getport.c: Likewise.
39833 * sunrpc/pmap_clnt.c: Likewise.
39834 * sunrpc/pmap_prot.c: Likewise.
39835 * sunrpc/pmap_prot2.c: Likewise.
39836 * sunrpc/pmap_rmt.c: Likewise.
39837 * sunrpc/publickey.c: Likewise.
39838 * sunrpc/rpc_cmsg.c: Likewise.
39839 * sunrpc/rpc_common.c: Likewise.
39840 * sunrpc/rpc_dtable.c: Likewise.
39841 * sunrpc/rpc_prot.c: Likewise.
39842 * sunrpc/rpc_thread.c: Likewise.
39843 * sunrpc/rtime.c: Likewise.
39844 * sunrpc/svc.c: Likewise.
39845 * sunrpc/svc_auth.c: Likewise.
39846 * sunrpc/svc_authux.c: Likewise.
39847 * sunrpc/svc_raw.c: Likewise.
39848 * sunrpc/svc_run.c: Likewise.
39849 * sunrpc/svc_simple.c: Likewise.
39850 * sunrpc/svc_tcp.c: Likewise.
39851 * sunrpc/svc_udp.c: Likewise.
39852 * sunrpc/svc_unix.c: Likewise.
39853 * sunrpc/svcauth_des.c: Likewise.
39854 * sunrpc/xcrypt.c: Likewise.
39855 * sunrpc/xdr.c: Likewise.
39856 * sunrpc/xdr_array.c: Likewise.
39857 * sunrpc/xdr_float.c: Likewise.
39858 * sunrpc/xdr_intXX_t.c: Likewise.
39859 * sunrpc/xdr_mem.c: Likewise.
39860 * sunrpc/xdr_rec.c: Likewise.
39861 * sunrpc/xdr_ref.c: Likewise.
39862 * sunrpc/xdr_sizeof.c: Likewise.
39863 * sunrpc/xdr_stdio.c: Likewise.
39865 2011-04-10 Ulrich Drepper <drepper@gmail.com>
39868 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39869 * sysdeps/ia64/dl-tls.h: Likewise.
39870 * sysdeps/powerpc/dl-tls.h: Likewise.
39871 * sysdeps/s390/dl-tls.h: Likewise.
39872 * sysdeps/sh/dl-tls.h: Likewise.
39873 * sysdeps/sparc/dl-tls.h: Likewise.
39874 * sysdeps/x86_64/dl-tls.h: Likewise.
39875 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39877 2011-03-14 Andreas Schwab <schwab@redhat.com>
39879 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39880 rpath element also skip the following colon.
39881 (expand_dynamic_string_token): Add is_path parameter and pass
39882 down to DL_DST_REQUIRED and _dl_dst_substitute.
39883 (decompose_rpath): Call expand_dynamic_string_token with
39884 non-zero is_path. Ignore empty rpaths.
39885 (_dl_map_object_from_fd): Call expand_dynamic_string_token
39888 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
39890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39893 2011-04-09 Ulrich Drepper <drepper@gmail.com>
39896 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39897 Patch by Filipe David Manana <fdmanana@apache.org>.
39899 2011-04-07 Andreas Schwab <schwab@redhat.com>
39901 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39902 Maintain aligned stack.
39903 (CHECK_RSP): Remove unused macro.
39905 2011-04-03 Ulrich Drepper <drepper@gmail.com>
39907 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39908 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39910 2011-04-02 Ulrich Drepper <drepper@gmail.com>
39912 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39914 * include/features.h: Mention __USE_XOPEN2K8 in comment.
39916 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
39919 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39920 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39921 * sysdeps/x86_64/memmove.c: New file.
39922 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39923 (memcpy): Renamed to ...
39924 (__new_memcpy): This.
39925 (memcpy): Provide GLIBC_2_14 memcpy.
39926 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
39927 (memcpy): Provide GLIBC_2_2_5 memcpy.
39929 2011-04-01 Ulrich Drepper <drepper@gmail.com>
39932 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
39934 2011-03-30 Andreas Schwab <schwab@redhat.com>
39936 * misc/syncfs.c: New file.
39937 * misc/Makefile (routines): Add syncfs.
39938 * posix/unistd.h: Declare syncfs.
39939 * sysdeps/unix/syscalls.list: Add syncfs.
39941 2011-04-01 Andreas Schwab <schwab@redhat.com>
39943 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
39945 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39946 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39948 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39950 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
39951 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39953 2011-04-01 Ulrich Drepper <drepper@gmail.com>
39955 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
39956 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39957 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
39958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39959 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39961 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39963 * io/Makefile: Compile fallocate.c, fallocate64.c, and
39964 sync_file_range.c with -fexceptions.
39965 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
39966 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
39967 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
39968 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
39969 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
39970 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39971 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
39972 sync_file_range as cancellation point
39973 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
39974 now a wrapper around __call_sync_file_range with cancellation handling.
39975 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
39976 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
39977 function name to __call_sync_file_range.
39978 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
39979 Add call_sync_file_range.
39981 2011-04-01 Andreas Schwab <schwab@redhat.com>
39983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39986 2011-04-01 Ulrich Drepper <drepper@gmail.com>
39988 * iconv/iconv.h: Fix typo in comment.
39989 * io/fcntl.h: Likewise.
39990 * libio/stdio.h: Likewise.
39991 * posix/spawn.h: Likewise.
39992 * posix/unistd.h: Likewise.
39993 * stdlib/stdlib.h: Likewise.
39994 * time/time.h: Likewise.
39995 * wcsmbs/wchar.h: Likewise.
39997 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
39998 open_by_handle): Add.
39999 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40000 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40001 Augment a few comments.
40002 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40006 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40007 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40010 * io/fcntl.h (AT_EMPTY_PATH): Define.
40012 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40014 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40015 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40016 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40018 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40019 * Versions.def: Add GLIBC_2.14.
40020 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40023 2011-03-22 Ulrich Drepper <drepper@gmail.com>
40025 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40027 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40029 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40032 * string/test-strncmp.c (do_page_test): New function.
40033 (check2): Likewise.
40034 (test_main): Call check2.
40035 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40037 2011-03-20 Ulrich Drepper <drepper@gmail.com>
40040 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40041 Handle cache information in CPU leaf 4.
40042 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40044 2011-03-18 Ulrich Drepper <drepper@gmail.com>
40047 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40048 character representation.
40049 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40051 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40053 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40054 END(__isnan) to END(__isnanf) to match function entry point/label
40055 EALIGN(__isnanf,...).
40057 2011-03-10 Jakub Jelinek <jakub@redhat.com>
40059 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40061 2011-03-10 Ulrich Drepper <drepper@gmail.com>
40064 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40065 copy from the symbol referenced in the relocation to initialize the
40067 Patch by Piotr Bury <pbury@goahead.com>.
40068 * elf/Makefile: Add rules to build and tst-unique3.
40069 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40070 * elf/tst-unique3.cc: New file.
40071 * elf/tst-unique3.h: New file.
40072 * elf/tst-unique3lib.cc: New file.
40073 * elf/tst-unique3lib2.cc: New file.
40075 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40077 2011-03-10 Mike Frysinger <vapier@gentoo.org>
40079 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40080 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40083 2011-03-06 Ulrich Drepper <drepper@gmail.com>
40085 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40086 to-be-loaded object along a path to loader is ld.so.
40088 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40089 Ulrich Drepper <drepper@gmail.com>
40091 * sysdeps/x86_64/memset.S: After aligning destination, code
40092 branches to different locations depending on the value of
40093 misalignment, when multiarch is enabled. Fix this.
40095 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40097 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40098 Set _x86_64_preferred_memory_instruction for AMD processsors.
40099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40100 Set bit_Prefer_SSE_for_memop for AMD processors.
40102 2011-03-04 Ulrich Drepper <drepper@gmail.com>
40104 * libio/fmemopen.c (fmemopen): Optimize a bit.
40106 2011-03-03 Andreas Schwab <schwab@redhat.com>
40108 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40110 2011-03-03 Roland McGrath <roland@redhat.com>
40112 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40114 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40116 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40117 __bzero_ultra1 instead of __memset_ultra1.
40119 2011-02-23 Andreas Schwab <schwab@redhat.com>
40120 Ulrich Drepper <drepper@gmail.com>
40123 * include/link.h (struct link_map): Add l_orig_initfini.
40124 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40125 returning unsuccessfully.
40126 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40127 close of a file loaded at startup, restore the original l_initfini
40129 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40130 list, store the pointer.
40131 * elf/Makefile ($(objpfx)noload-mem): New rule.
40132 (noload-ENV): Define.
40133 (tests): Add $(objpfx)noload-mem.
40134 * elf/noload.c: Include <memcheck.h>.
40135 (main): Call mtrace. Close all opened handles.
40137 2011-02-17 Andreas Schwab <schwab@redhat.com>
40140 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40141 dependencies are missing.
40143 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40145 Fix __if_freereq crash: Unlike the generic version which uses free,
40147 * sysdeps/mach/hurd/ifreq.h: New file.
40149 2011-01-27 Petr Baudis <pasky@suse.cz>
40150 Ulrich Drepper <drepper@gmail.com>
40153 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40154 to extend_alloca().
40155 * stdio-common/bug23.c: New file.
40156 * stdio-common/Makefile (tests): Add bug23.
40158 2010-09-28 Andreas Schwab <schwab@redhat.com>
40159 Ulrich Drepper <drepper@gmail.com>
40162 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40163 before performing relro protection. At old place add assertion
40164 to make sure nothing changed.
40166 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40167 Glauber de Oliveira Costa <glommer@gmail.com>
40169 * elf/elf.h: Add new ARM TLS relocs.
40171 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40174 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40176 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40178 * sysdeps/wordsize-64/tst-writev.c: New file.
40180 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40182 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40183 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40184 insns in _dl_start to prevent a TOC reference before relocs are
40187 2011-02-15 Ulrich Drepper <drepper@gmail.com>
40190 * Makeconfig: Remove RANLIB definition.
40191 * Makerules: Don't use RANLIB.
40192 * aclocal.m4: Remove ranlib test.
40193 * configure.in: No need to check for ranlib.
40194 * elf/rtld-Rules: Don't use RANLIB.
40196 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40198 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40200 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40201 inclusion protection macro.
40203 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40204 SIGRTMIN and SIGRTMAX and print information in that case only when
40205 SIGRTMIN is defined.
40207 2011-02-11 Jakub Jelinek <jakub@redhat.com>
40209 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40210 arginfo fn returning -1.
40212 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40213 and thousands string is zero terminated.
40215 2011-02-03 Andreas Schwab <schwab@redhat.com>
40217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40218 sysdeps/unix/sysv/linux/bits/socket.h.
40220 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40222 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40223 (__CPU_COUNT): Remove old macros.
40224 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40225 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40226 (__CPU_ALLOC, __CPU_FREE): Add macros.
40227 (__sched_cpualloc, __sched_cpufree): Add declarations.
40229 2011-02-05 Ulrich Drepper <drepper@gmail.com>
40231 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40232 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40233 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40234 (readdhstai): Return value of addhstaiX call.
40235 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40236 (addgrbyX): Return value returned by cache_addgr.
40237 (readdgrbyname): Return value returned by addgrbyX.
40238 (readdgrbygid): Likewise.
40239 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40240 (addpwbyX): Return value returned by cache_addpw.
40241 (readdpwbyname): Return value returned by addhstbyX.
40242 (readdpwbyuid): Likewise.
40243 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40244 (addservbyX): Return value returned by cache_addserv.
40245 (readdservbyname): Return value returned by addservbyX:
40246 (readdservbyport): Likewise.
40247 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40248 (addhstbyX): Return value returned by cache_addhst.
40249 (readdhstbyname): Return value returned by addhstbyX.
40250 (readdhstbyaddr): Likewise.
40251 (readdhstbynamev6): Likewise.
40252 (readdhstbyaddrv6): Likewise.
40253 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40254 (readdinitgroups): Return value returned by addinitgroupsX.
40255 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40256 (prune_cache): Keep track of timeout value of re-added entries.
40257 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40258 * nscd/nscd.h: Adjust prototypes of readd* functions.
40260 2011-02-04 Roland McGrath <roland@redhat.com>
40262 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40263 (nis_stats): Likewise.
40264 * nis/nis_modify.c (nis_modify): Likewise.
40265 * nis/nis_remove.c (nis_remove): Likewise.
40266 * nis/nis_add.c (nis_add): Likewise.
40268 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40270 * posix/fnmatch_loop.c: Add some consts.
40272 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40274 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40277 * config.make.in (config-cflags-novzeroupper): Define.
40278 * configure.in: Substitute libc_cv_cc_novzeroupper.
40279 * elf/Makefile (AVX-CFLAGS): Define.
40280 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40281 (CFLAGS-tst-auditmod4a.c): Likewise.
40282 (CFLAGS-tst-auditmod4b.c): Likewise.
40283 (CFLAGS-tst-auditmod6b.c): Likewise.
40284 (CFLAGS-tst-auditmod6c.c): Likewise.
40285 (CFLAGS-tst-auditmod7b.c): Likewise.
40286 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40288 2011-02-02 Ulrich Drepper <drepper@gmail.com>
40290 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40291 function to the callback.
40292 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40294 2011-02-02 Andreas Schwab <schwab@redhat.com>
40296 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40299 2011-01-19 Ulrich Drepper <drepper@gmail.com>
40302 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40304 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40306 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40309 * elf/Makefile: Add rules to build and run new test.
40310 * elf/tst-initorder.c: New file.
40311 * elf/tst-initorder.exp: New file.
40312 * elf/tst-initordera1.c: New file.
40313 * elf/tst-initordera2.c: New file.
40314 * elf/tst-initordera3.c: New file.
40315 * elf/tst-initordera4.c: New file.
40316 * elf/tst-initorderb1.c: New file.
40317 * elf/tst-initorderb2.c: New file.
40318 * elf/tst-order-a1.c: New file.
40319 * elf/tst-order-a2.c: New file.
40320 * elf/tst-order-a3.c: New file.
40321 * elf/tst-order-a4.c: New file.
40322 * elf/tst-order-b1.c: New file.
40323 * elf/tst-order-b2.c: New file.
40324 * elf/tst-order-main.c: New file.
40325 New test case by George Gensure <werkt0@gmail.com>.
40327 2010-10-01 Andreas Schwab <schwab@redhat.com>
40329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40330 decoding ACE if AI_CANONIDN.
40332 2011-01-18 Ulrich Drepper <drepper@gmail.com>
40334 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40336 2011-01-17 Ulrich Drepper <drepper@gmail.com>
40338 * version.h (RELEASE): Bump for 2.13 release.
40339 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40341 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40343 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40345 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40346 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40347 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40348 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40349 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40352 * posix/getconf.c: Update copyright year.
40353 * catgets/gencat.c: Likewise.
40354 * csu/version.c: Likewise.
40355 * debug/catchsegv.sh: Likewise.
40356 * debug/xtrace.sh: Likewise.
40357 * elf/ldconfig.c: Likewise.
40358 * elf/ldd.bash.in: Likewise.
40359 * elf/sprof.c (print_version): Likewise.
40360 * iconv/iconv_prog.c: Likewise.
40361 * iconv/iconvconfig.c: Likewise.
40362 * locale/programs/locale.c: Likewise.
40363 * locale/programs/localedef.c: Likewise.
40364 * malloc/memusage.sh: Likewise.
40365 * malloc/mtrace.pl: Likewise.
40366 * nscd/nscd.c (print_version): Likewise.
40367 * nss/getent.c: Likewise.
40369 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40370 PF_CAIF, and PF_ALG.
40371 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40373 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40375 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40376 (modules-names): Use them.
40377 (ifunc-test-modules, ifunc-pie-tests): Define.
40378 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40379 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40380 (test-extras): Likewise.
40381 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40382 $(compile-command.c).
40383 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40384 (all-built-dso): Define.
40385 (check-textrel.out, check-execstack.out): Depend on it.
40387 * configure.in: Don't override --enable-multi-arch.
40389 2011-01-15 Ulrich Drepper <drepper@gmail.com>
40392 * nscd/hstcache.c (tryagain): Define.
40393 (cache_addhst): Return tryagain not notfound for temporary errors.
40394 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40397 2011-01-14 Ulrich Drepper <drepper@gmail.com>
40400 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40401 to make the syscall.
40402 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40405 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40406 and fall back to matching as normal character if the string ends before
40407 the matching ']' is found. This is what POSIX requires.
40408 * posix/testfnm.c: Adjust test result.
40409 * posix/globtest.sh: Adjust test result. Add new test.
40410 * posix/tst-fnmatch.input: Likewise.
40411 * posix/tst-fnmatch2.c: Add new test.
40413 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40415 * elf/Makefile (check-execstack): Revert last change. Depend on
40417 (check-execstack.h): New target.
40418 (generated): Add check-execstack.h.
40419 * elf/check-execstack.c: Include "check-execstack.h".
40420 (main): Revert last change.
40421 (handle_file): Return zero if GNU_STACK is absent and
40422 DEFAULT_STACK_PERMS doesn't include PF_X.
40424 2011-01-13 Ulrich Drepper <drepper@gmail.com>
40426 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40427 in child fails because the descriptor is already closed.
40428 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40429 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40430 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40433 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40437 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40438 temporary buffer used to handle multi lookups locally.
40439 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40441 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40443 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40446 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40448 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40449 alignment for SSE2.
40451 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40454 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40455 characters. When rounding increased number of integer digits recompute
40457 * stdio-common/tst-grouping.c: New file.
40458 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40460 2011-01-09 Ulrich Drepper <drepper@gmail.com>
40462 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40463 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40465 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40467 * bits/select.h: Likewise.
40469 2011-01-08 Ulrich Drepper <drepper@gmail.com>
40471 * po/ja.po: Update from translation team.
40473 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
40476 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40477 implementation just like for lxstat, fxstatat, et al.
40479 2010-12-27 Jim Meyering <meyering@redhat.com>
40482 * posix/regexec.c (build_trtable): Return failure indication upon
40483 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40485 2010-12-25 Ulrich Drepper <drepper@gmail.com>
40488 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40489 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40490 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40491 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40494 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40497 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40498 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40500 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40502 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40503 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40504 script has SORT_BY_INIT_PRIORITY.
40505 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40506 NO_CTORS_DTORS_SECTIONS is defined.
40507 * elf/soinit.c: Likewise.
40508 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40509 NO_CTORS_DTORS_SECTIONS is defined.
40510 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40511 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40512 * sysdeps/sh/init-first.c: Likewise.
40513 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40515 2010-12-24 Ulrich Drepper <drepper@gmail.com>
40517 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40518 always use the slow path.
40520 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40522 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40523 similar rule which adds the sysdep directories to the header search in
40524 order to pick up the correct platform stackinfo.h.
40525 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40526 perform test if it is, otherwise return successfully without testing.
40527 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40528 DEFAULT_STACK_PERMS define in stackinfo.h.
40529 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40530 defined in stackinfo.h.
40531 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40532 DEFAULT_STACK_PERMS defined in stackinfo.h.
40533 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40534 * sysdeps/ia64/stackinfo.h: Likewise.
40535 * sysdeps/s390/stackinfo.h: Likewise.
40536 * sysdeps/sh/stackinfo.h: Likewise.
40537 * sysdeps/sparc/stackinfo.h: Likewise.
40538 * sysdeps/x86_64/stackinfo.h: Likewise.
40539 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40540 PF_X for powerpc64. Retain PF_X for powerpc32.
40542 2010-12-19 Ulrich Drepper <drepper@gmail.com>
40544 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40546 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40547 GETDENTS_64BIT_ALIGNED.
40549 2010-12-14 Ulrich Drepper <dreper@gmail.com>
40551 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40553 2010-12-10 Andreas Schwab <schwab@redhat.com>
40555 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40558 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40559 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40561 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40562 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40564 2010-12-09 Ulrich Drepper <drepper@gmail.com>
40567 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40570 2010-12-09 Jakub Jelinek <jakub@redhat.com>
40572 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40574 2010-12-03 Ulrich Drepper <drepper@gmail.com>
40576 * po/it.po: Update from translation team.
40578 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40583 2010-11-30 Ulrich Drepper <drepper@gmail.com>
40585 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40587 2010-11-24 Andreas Schwab <schwab@redhat.com>
40589 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40591 (gaih_getanswer_slice): Likewise.
40593 2010-10-20 Jakub Jelinek <jakub@redhat.com>
40595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40597 2010-05-31 Petr Baudis <pasky@suse.cz>
40600 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40601 silently even in the chroot mode.
40603 2010-11-22 Ulrich Drepper <drepper@gmail.com>
40605 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40606 last patch a bit. Pretty printing
40608 2010-05-31 Petr Baudis <pasky@suse.cz>
40611 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40612 initialization of skip_initgroups_dyn.
40614 2010-11-19 Ulrich Drepper <drepper@gmail.com>
40616 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40617 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40619 2010-11-16 Ulrich Drepper <drepper@gmail.com>
40621 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40623 2010-11-11 Andreas Schwab <schwab@redhat.com>
40625 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40626 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40627 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40628 ($(objpfx)tst-fnmatch-mem): New rule.
40629 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40630 * posix/tst-fnmatch.c (main): Call mtrace.
40632 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40635 Support Intel processor model 6 and model 0x2c.
40637 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
40639 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40642 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40645 * string/test-strncasecmp.c (check_result): New function.
40646 (do_one_test): Use it.
40647 (check1): New function.
40648 (test_main): Use it.
40649 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40650 Support strcasecmp and strncasecmp.
40652 2010-11-08 Ulrich Drepper <drepper@gmail.com>
40655 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40656 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40658 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40660 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40664 * sysdeps/x86_64/multiarch/bzero.S: New file.
40665 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40666 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40667 * sysdeps/x86_64/multiarch/memset.S: New file.
40668 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40670 Set bit_Prefer_SSE_for_memop for Intel processors.
40671 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40673 (index_Prefer_SSE_for_memop): Define.
40674 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40676 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
40678 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40679 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40681 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40684 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40685 (__x86_64_raw_data_cache_size_half): Likewise.
40686 (__x86_64_raw_shared_cache_size): Likewise.
40687 (__x86_64_raw_shared_cache_size_half): Likewise.
40689 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40690 (__x86_64_raw_data_cache_size_half): Likewise.
40691 (__x86_64_raw_shared_cache_size): Likewise.
40692 (__x86_64_raw_shared_cache_size_half): Likewise.
40693 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40694 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40695 and __x86_64_raw_shared_cache_size_half. Round
40696 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40697 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40698 to multiple of 256 bytes.
40700 2010-11-03 Ulrich Drepper <drepper@gmail.com>
40703 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40704 of inacessible symlinks. Verify result of symlink before returning it.
40705 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40706 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40708 2010-10-28 Erich Ritz <erichritz@gmail.com>
40710 * math/math.h (isinf): Fix typo in comment.
40712 2010-11-01 Ulrich Drepper <drepper@gmail.com>
40714 * po/da.po: Update from translation team.
40716 2010-10-26 Ulrich Drepper <drepper@gmail.com>
40718 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40719 is added to the list.
40721 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40722 Ulrich Drepper <drepper@gmail.com>
40724 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40725 the global list here. Move code to...
40726 (_dl_add_to_namespace_list): ...here. New function.
40727 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40728 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40729 * elf/dl-load.c (lose): Don't remove the element from the list.
40730 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40731 (_dl_map_object): Likewise.
40733 2010-10-25 Ulrich Drepper <drepper@gmail.com>
40736 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40737 into all bytes of SSE register.
40738 Patch by Richard Li <richardpku@gmail.com>.
40740 2010-10-24 Ulrich Drepper <drepper@gmail.com>
40743 * malloc/malloc.c (_int_free): Fill correct number of bytes when
40746 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
40748 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40749 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40750 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40751 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40756 2010-10-22 Andreas Schwab <schwab@redhat.com>
40758 * include/dlfcn.h (__RTLD_SECURE): Define.
40759 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
40760 mode & __RTLD_SECURE instead.
40761 (open_path): Rename preloaded parameter to secure.
40762 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40763 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40764 * elf/dl-deps.c (openaux): Likewise.
40765 * elf/rtld.c (struct map_args): Remove is_preloaded.
40766 (map_doit): Don't use it.
40767 (dl_main): Likewise.
40768 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40769 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40771 2010-09-09 Andreas Schwab <schwab@redhat.com>
40773 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40774 (sysd-rules-targets): Remove duplicates.
40775 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40776 rtld-%.$o dependency.
40778 2010-10-18 Andreas Schwab <schwab@redhat.com>
40780 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40781 _dl_map_object do it.
40783 2010-10-19 Ulrich Drepper <drepper@gmail.com>
40785 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40786 fast fma builtins, define the macros in the C99 standard.
40787 (FP_FAST_FMAF): Likewise.
40788 (FP_FAST_FMAL): Likewise.
40789 * sysdeps/x86_64/bits/mathdef.h: Likewise.
40791 * bits/mathdef.h: Update copyright year.
40792 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40794 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
40796 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40797 builtins, define the macros in the C99 standard.
40798 (FP_FAST_FMAF): Likewise.
40799 (FP_FAST_FMAL): Likewise.
40800 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40802 (FP_FAST_FMAF): Likewise.
40804 2010-10-15 Jakub Jelinek <jakub@redhat.com>
40807 * math/libm-test.inc (fma_test): Some new testcases.
40808 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40809 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40810 y and infinite z. Do multiplication by C already in long double.
40811 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40813 y and infinite z. Do bitwise or of inexact bit into u.d.
40814 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40815 * sysdeps/i386/fpu/s_fmaf.S: Removed.
40816 * sysdeps/i386/fpu/s_fma.S: Removed.
40817 * sysdeps/i386/fpu/s_fmal.S: Removed.
40819 2010-10-16 Jakub Jelinek <jakub@redhat.com>
40822 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40823 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40824 computation is not scheduled after fetestexcept. Fix value
40825 of minimum denormal long double.
40827 2010-10-14 Jakub Jelinek <jakub@redhat.com>
40830 * math/libm-test.inc (fma_test): Add some more tests.
40831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40834 2010-10-15 Andreas Schwab <schwab@redhat.com>
40836 * scripts/data/localplt-s390-linux-gnu.data: New file.
40837 * scripts/data/localplt-s390x-linux-gnu.data: New file.
40839 2010-10-13 Jakub Jelinek <jakub@redhat.com>
40842 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40843 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40845 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40847 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40849 if one of x and y is very large and the other is subnormal.
40850 * sysdeps/s390/fpu/s_fmaf.c: New file.
40851 * sysdeps/s390/fpu/s_fma.c: New file.
40852 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40853 * sysdeps/powerpc/fpu/s_fma.S: New file.
40854 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40855 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40856 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40858 2010-10-12 Jakub Jelinek <jakub@redhat.com>
40861 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40863 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40864 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40865 * sysdeps/i386/i686/multiarch/s_fma.c: Include
40866 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40867 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40868 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40869 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40871 2010-10-12 Ulrich Drepper <drepper@redhat.com>
40874 * posix/regcomp.c (parse_branch): One more memory leak plugged.
40875 * posix/bug-regex31.input: Add test case.
40877 2010-10-11 Ulrich Drepper <drepper@gmail.com>
40879 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40880 * posix/bug-regex31.input: New file.
40883 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40884 (parse_sub_exp): Fix last change, use postorder.
40886 * posix/bug-regex31.c: New file.
40887 * posix/Makefile: Add rules to build and run bug-regex31.
40889 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40892 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40895 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40896 to have entries in sys_siglist.
40899 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40902 2010-10-07 Jakub Jelinek <jakub@redhat.com>
40905 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40906 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40907 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40908 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40909 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40910 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40911 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40912 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40913 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40914 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40915 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40916 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40917 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40918 * math/ftestexcept.c (fetestexcept): Likewise.
40919 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40920 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40921 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40922 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40923 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40924 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
40925 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40927 2010-10-11 Ulrich Drepper <drepper@gmail.com>
40930 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
40933 2010-10-06 Ulrich Drepper <drepper@gmail.com>
40935 * string/bug-strstr1.c: New file.
40936 * string/Makefile: Add rules to build and run bug-strstr1.
40938 2010-10-05 Eric Blake <eblake@redhat.com>
40941 * string/str-two-way.h (two_way_long_needle): Always clear memory
40942 when skipping input due to the shift table.
40944 2010-10-03 Ulrich Drepper <drepper@gmail.com>
40947 * malloc/mcheck.c: Handle large requests.
40950 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
40951 for strncmp and strncasecmp.
40952 * string/stratcliff.c: Add tests for strcmp and strncmp.
40953 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
40955 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40957 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
40960 2010-09-30 Andreas Jaeger <aj@suse.de>
40962 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
40963 (CGROUP_SUPER_MAGIC): Define.
40964 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40965 Handle btrfs and cgroup file systems.
40966 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40969 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
40971 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
40972 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
40974 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40977 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
40978 trying to locate the ELF header.
40980 2010-09-27 Andreas Schwab <schwab@redhat.com>
40983 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
40984 Mask out sign-bit copies when constructing f_fsid.
40986 2010-09-24 Petr Baudis <pasky@suse.cz>
40988 * debug/stack_chk_fail_local.c: Add missing licence exception.
40989 * debug/warning-nop.c: Likewise.
40991 2010-09-15 Joseph Myers <joseph@codesourcery.com>
40993 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
40994 implementing getdents64 using getdents syscall, set d_type if
40995 __ASSUME_GETDENTS32_D_TYPE.
40997 2010-09-16 Andreas Schwab <schwab@redhat.com>
40999 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41000 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41002 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41005 * posix/unistd.h: Undo change of feature selection for ftruncate from
41008 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41010 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41013 2010-09-20 Andreas Schwab <schwab@redhat.com>
41015 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41017 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41019 2010-09-14 Andreas Schwab <schwab@redhat.com>
41021 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41022 variables after CHECK_SP call.
41023 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41025 2010-09-13 Andreas Schwab <schwab@redhat.com>
41026 Ulrich Drepper <drepper@redhat.com>
41028 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41029 re-relocationg ld.so.
41030 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41031 _dl_init_paths call.
41032 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41035 2010-09-14 Ulrich Drepper <drepper@redhat.com>
41037 * resolv/res_init.c (__res_vinit): Count the default server we added.
41039 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41040 Ulrich Drepper <drepper@redhat.com>
41043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41044 (____longjmp_chk): Use %ebx for saving value across system call.
41047 2010-09-06 Andreas Schwab <schwab@redhat.com>
41049 * manual/Makefile: Don't mix pattern rules with normal rules.
41051 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41053 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41055 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41056 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41057 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41058 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41059 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41062 2010-09-04 Ulrich Drepper <drepper@redhat.com>
41065 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41066 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41068 2010-09-02 Ulrich Drepper <drepper@redhat.com>
41070 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41071 * sysdeps/x86_64/addmul_1.S: Likewise.
41072 * sysdeps/x86_64/lshift.S: Likewise.
41073 * sysdeps/x86_64/mul_1.S: Likewise.
41074 * sysdeps/x86_64/rshift.S: Likewise.
41075 * sysdeps/x86_64/sub_n.S: Likewise.
41076 * sysdeps/x86_64/submul_1.S: Likewise.
41078 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41080 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41081 Define __sched_param instead of SCHED_* and sched_param when
41082 <bits/sched.h> is included with __need_schedparam defined.
41083 * bits/sched.h [__need_schedparam]
41084 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41085 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41086 (__defined_schedparam): Define to 1.
41087 (__sched_param): New structure, identical to sched_param.
41088 (__need_schedparam): Undefine.
41090 2010-08-31 Mike Frysinger <vapier@gentoo.org>
41092 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41093 (epoll_create1): Declare.
41095 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41097 2010-08-31 Andreas Schwab <schwab@redhat.com>
41100 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41101 shifting retval into place.
41103 2010-09-01 Ulrich Drepper <drepper@redhat.com>
41105 * nis/rpcsvc/nis.h: Update copyright notice.
41106 * nis/rpcsvc/nis.x: Likewise.
41107 * nis/rpcsvc/nis_callback.h: Likewise.
41108 * nis/rpcsvc/nis_callback.x: Likewise.
41109 * nis/rpcsvc/nis_object.x: Likewise.
41110 * nis/rpcsvc/nis_tags.h: Likewise.
41111 * nis/rpcsvc/yp.h: Likewise.
41112 * nis/rpcsvc/yp.x: Likewise.
41113 * nis/rpcsvc/ypupd.h: Likewise.
41114 * nis/yp_xdr.c: Likewise.
41115 * nis/ypupdate_xdr.c: Likewise.
41117 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41118 mainly the body of pmap_getport. Add parameters to specify timeouts.
41119 (pmap_getport): Use __libc_rpc_getport.
41120 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41121 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41122 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41124 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41129 2010-08-27 Roland McGrath <roland@redhat.com>
41131 * sysdeps/i386/i686/multiarch/Makefile
41132 (CFLAGS-varshift.c): New variable.
41134 2010-08-27 Ulrich Drepper <drepper@redhat.com>
41136 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41137 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41139 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41141 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41143 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41145 * sysdeps/x86_64/strlen.S: Unroll the loop.
41146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41147 strlen-sse2 strlen-sse2-bsf.
41148 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41149 __strlen_no_bsf if bit_Slow_BSF is set.
41150 (__strlen_sse42): Removed.
41151 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41152 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41154 2010-08-25 Roland McGrath <roland@redhat.com>
41156 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41157 * sysdeps/x86_64/multiarch/varshift.c: New file.
41158 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41159 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41160 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41161 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41163 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41166 strlen-sse2 strlen-sse2-bsf.
41167 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41168 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41169 (__strlen_sse2): Removed.
41170 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41171 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41173 bit_Slow_BSF for Atom.
41174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41175 (index_Slow_BSF): Define.
41176 (HAS_SLOW_BSF): Define.
41178 2010-08-25 Ulrich Drepper <drepper@redhat.com>
41181 * resolv/res_init.c (__res_vinit): When no server address at all
41182 is given default to loopback.
41184 2010-08-24 Roland McGrath <roland@redhat.com>
41186 * configure.in: Remove config-name.h generation.
41187 * configure: Regenerated.
41188 * config-name.in: File removed.
41189 * scripts/config-uname.sh: New file.
41190 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41191 ($(objdir)config-name.h): New target.
41193 * sunrpc/rpc_parse.h: Avoid nested comment.
41195 2010-08-24 Richard Henderson <rth@redhat.com>
41196 Ulrich Drepper <drepper@redhat.com>
41197 H.J. Lu <hongjiu.lu@intel.com>
41199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41201 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41202 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41203 _mm_alignr_epi8 with _mm_loadu_si128.
41204 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41205 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41206 (__m128i_shift_right): Removed.
41207 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41208 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41209 * sysdeps/x86_64/multiarch/varshift.h: New file.
41210 * sysdeps/x86_64/multiarch/varshift.S: New file.
41212 2010-08-21 Mike Frysinger <vapier@gentoo.org>
41214 * configure.in: Move assembler checks to before sysdep dir checking.
41216 2010-08-20 Petr Baudis <pasky@suse.cz>
41218 * LICENSES: Sync the sunrpc license.
41220 2010-08-19 Ulrich Drepper <drepper@redhat.com>
41222 * sunrpc/auth_des.c: Update copyright notice once again.
41223 * sunrpc/auth_none.c: Likewise.
41224 * sunrpc/auth_unix.c: Likewise.
41225 * sunrpc/authdes_prot.c: Likewise.
41226 * sunrpc/authuxprot.c: Likewise.
41227 * sunrpc/bindrsvprt.c: Likewise.
41228 * sunrpc/clnt_gen.c: Likewise.
41229 * sunrpc/clnt_perr.c: Likewise.
41230 * sunrpc/clnt_raw.c: Likewise.
41231 * sunrpc/clnt_simp.c: Likewise.
41232 * sunrpc/clnt_tcp.c: Likewise.
41233 * sunrpc/clnt_udp.c: Likewise.
41234 * sunrpc/clnt_unix.c: Likewise.
41235 * sunrpc/des_crypt.c: Likewise.
41236 * sunrpc/des_soft.c: Likewise.
41237 * sunrpc/get_myaddr.c: Likewise.
41238 * sunrpc/getrpcport.c: Likewise.
41239 * sunrpc/key_call.c: Likewise.
41240 * sunrpc/key_prot.c: Likewise.
41241 * sunrpc/openchild.c: Likewise.
41242 * sunrpc/pm_getmaps.c: Likewise.
41243 * sunrpc/pm_getport.c: Likewise.
41244 * sunrpc/pmap_clnt.c: Likewise.
41245 * sunrpc/pmap_prot.c: Likewise.
41246 * sunrpc/pmap_prot2.c: Likewise.
41247 * sunrpc/pmap_rmt.c: Likewise.
41248 * sunrpc/rpc/auth.h: Likewise.
41249 * sunrpc/rpc/auth_unix.h: Likewise.
41250 * sunrpc/rpc/clnt.h: Likewise.
41251 * sunrpc/rpc/des_crypt.h: Likewise.
41252 * sunrpc/rpc/key_prot.h: Likewise.
41253 * sunrpc/rpc/netdb.h: Likewise.
41254 * sunrpc/rpc/pmap_clnt.h: Likewise.
41255 * sunrpc/rpc/pmap_prot.h: Likewise.
41256 * sunrpc/rpc/pmap_rmt.h: Likewise.
41257 * sunrpc/rpc/rpc.h: Likewise.
41258 * sunrpc/rpc/rpc_des.h: Likewise.
41259 * sunrpc/rpc/rpc_msg.h: Likewise.
41260 * sunrpc/rpc/svc.h: Likewise.
41261 * sunrpc/rpc/svc_auth.h: Likewise.
41262 * sunrpc/rpc/types.h: Likewise.
41263 * sunrpc/rpc/xdr.h: Likewise.
41264 * sunrpc/rpc_clntout.c: Likewise.
41265 * sunrpc/rpc_cmsg.c: Likewise.
41266 * sunrpc/rpc_common.c: Likewise.
41267 * sunrpc/rpc_cout.c: Likewise.
41268 * sunrpc/rpc_dtable.c: Likewise.
41269 * sunrpc/rpc_hout.c: Likewise.
41270 * sunrpc/rpc_main.c: Likewise.
41271 * sunrpc/rpc_parse.c: Likewise.
41272 * sunrpc/rpc_parse.h: Likewise.
41273 * sunrpc/rpc_prot.c: Likewise.
41274 * sunrpc/rpc_sample.c: Likewise.
41275 * sunrpc/rpc_scan.c: Likewise.
41276 * sunrpc/rpc_scan.h: Likewise.
41277 * sunrpc/rpc_svcout.c: Likewise.
41278 * sunrpc/rpc_tblout.c: Likewise.
41279 * sunrpc/rpc_util.c: Likewise.
41280 * sunrpc/rpc_util.h: Likewise.
41281 * sunrpc/rpcinfo.c: Likewise.
41282 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41283 * sunrpc/rpcsvc/key_prot.x: Likewise.
41284 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41285 * sunrpc/rpcsvc/mount.x: Likewise.
41286 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41287 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41288 * sunrpc/rpcsvc/rex.x: Likewise.
41289 * sunrpc/rpcsvc/rstat.x: Likewise.
41290 * sunrpc/rpcsvc/rusers.x: Likewise.
41291 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41292 * sunrpc/rpcsvc/spray.x: Likewise.
41293 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41294 * sunrpc/rtime.c: Likewise.
41295 * sunrpc/svc.c: Likewise.
41296 * sunrpc/svc_auth.c: Likewise.
41297 * sunrpc/svc_authux.c: Likewise.
41298 * sunrpc/svc_raw.c: Likewise.
41299 * sunrpc/svc_run.c: Likewise.
41300 * sunrpc/svc_simple.c: Likewise.
41301 * sunrpc/svc_tcp.c: Likewise.
41302 * sunrpc/svc_udp.c: Likewise.
41303 * sunrpc/svc_unix.c: Likewise.
41304 * sunrpc/svcauth_des.c: Likewise.
41305 * sunrpc/xcrypt.c: Likewise.
41306 * sunrpc/xdr.c: Likewise.
41307 * sunrpc/xdr_array.c: Likewise.
41308 * sunrpc/xdr_float.c: Likewise.
41309 * sunrpc/xdr_mem.c: Likewise.
41310 * sunrpc/xdr_rec.c: Likewise.
41311 * sunrpc/xdr_ref.c: Likewise.
41312 * sunrpc/xdr_sizeof.c: Likewise.
41313 * sunrpc/xdr_stdio.c: Likewise.
41315 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41318 2010-08-19 Andreas Schwab <schwab@redhat.com>
41320 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41322 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
41324 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41325 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41326 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41327 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41328 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41329 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41330 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41331 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41332 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41333 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41334 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41335 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41336 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41337 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41339 2010-07-26 Anton Blanchard <anton@samba.org>
41341 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41342 * malloc/arena.c (heap_trim): Likewise.
41344 2010-08-16 Ulrich Drepper <drepper@redhat.com>
41346 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41348 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41349 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41351 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41353 * sysdeps/i386/elf/Makefile: New file.
41355 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41357 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41358 from fanotify_init.
41359 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41360 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41362 2010-08-15 Ulrich Drepper <drepper@redhat.com>
41364 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41366 * sysdeps/multiarch/strcmp.S: Likewise.
41368 2010-08-14 Ulrich Drepper <drepper@redhat.com>
41370 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41371 strncase_l-nonascii.
41372 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41373 Add strncase_l-ssse3.
41374 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41375 * sysdeps/x86_64/strcmp.S: Likewise.
41376 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41377 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41378 * sysdeps/x86_64/strncase.S: New file.
41379 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41380 * sysdeps/x86_64/strncase_l.S: New file.
41381 * string/Makefile (strop-tests): Add strncasecmp.
41382 * string/test-strncasecmp.c: New file.
41384 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41387 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41388 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41390 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41392 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41394 2010-08-12 Ulrich Drepper <drepper@redhat.com>
41396 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41397 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41398 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41400 2010-05-01 Alan Modra <amodra@gmail.com>
41402 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41403 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41404 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41405 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41406 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41407 tidying. Don't tail-call __sigjmp_save for static lib.
41408 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41410 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41411 (CALL_MCOUNT): Add eh info, and nop after bl.
41412 (TAIL_CALL_SYSCALL_ERROR): New macro.
41413 (PSEUDO_RET): Use it.
41414 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41415 Correct save location of integer regs and cr.
41416 (_dl_profile_resolve): Correct cr save location. Delete nops
41417 after bl when SHARED. Reduce cfi size a little by better
41418 placement of cfi directives.
41419 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41420 make a stack frame. Instead use parm save area as a temp.
41421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41422 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41424 Don't make a stack frame for parent, use parm save area.
41425 Increase child stack frame to 112 bytes. Don't save unused reg,
41426 and adjust reg usage. Set up cfi on error recovery and
41427 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41429 (__makecontext): Add dummy nop after jump to exit.
41430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41431 Use correct parm save area and cr save, reduce stack frame.
41432 Correct cfi for possible PSEUDO_RET frame setup.
41433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41434 Branch to local label emitted by PSEUDO_RET rather than
41437 2010-08-12 Andreas Schwab <schwab@redhat.com>
41440 * locale/programs/locale.c (print_assignment): New function.
41441 (show_locale_vars): Use it.
41443 2010-08-11 Ulrich Drepper <drepper@redhat.com>
41445 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41447 (struct statfs64): Likewise.
41448 (_STATFS_F_FLAGS): Define.
41449 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41450 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41451 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41452 (ST_VALID): Define locally.
41453 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41454 __statvfs_getflags, use the provided value.
41455 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41456 __ASSUME_STATFS_F_FLAGS.
41458 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41460 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41461 Add sys/fanotify.h.
41462 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41463 fanotify_mask for GLIBC_2.13.
41464 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41465 fanotify_init and fanotify_mark.
41466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41467 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41469 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41471 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41472 prlimit64 for GLIBC_2.13.
41473 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41478 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41479 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41480 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41481 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41483 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41486 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41487 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41489 * nss/Makefile: Add rules to build and run tst-nss-test1.
41490 * shlib-versions: Add entry for libnss_test1.
41491 * nss/nss_test1.c: New file.
41492 * nss/tst-nss-test1.c: New file.
41494 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41495 (__nss_configure_lookup): Set appropriate entry in
41496 __nss_configure_lookup to true.
41497 * nss/nsswitch.h: Define enum with indeces of databases in
41498 databases and __nss_database_custom arrays. Declare
41499 __nss_database_custom.
41500 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41501 to avoid using nscd when custom rules are installed.
41502 * nss/getXXbyYY_r.c: Likewise.
41503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41505 * nss/nss_files/files-parse.c: Whitespace fixes.
41507 2010-08-09 Ulrich Drepper <drepper@redhat.com>
41510 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41511 * posix/fnmatch_loop.c: Likewise.
41513 2010-07-17 Andi Kleen <ak@linux.intel.com>
41515 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41516 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41517 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41518 * Versions.def [GLIBC_2.13]: Add.
41520 2010-08-06 Ulrich Drepper <drepper@redhat.com>
41522 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41523 Also fail if tpwd after pwuid call is NULL.
41525 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41527 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41528 when converting to ms.
41530 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41532 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41533 EOPNOTSUPP errors with ENOTTY.
41534 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41535 EOPNOTSUPP errors with ENOTTY.
41537 2010-07-31 Ulrich Drepper <drepper@redhat.com>
41539 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41540 Add strcasecmp_l-ssse3.
41541 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41543 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41544 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41545 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41547 2010-07-30 Ulrich Drepper <drepper@redhat.com>
41549 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41551 * string/Makefile (strop-tests): Add strcasecmp.
41552 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41553 strcasecmp_l-nonascii.
41554 (gen-as-const-headers): Add locale-defines.sym.
41555 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41556 * sysdeps/x86_64/strcasecmp.S: New file.
41557 * sysdeps/x86_64/strcasecmp_l.S: New file.
41558 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41559 * sysdeps/x86_64/locale-defines.sym: New file.
41560 * string/test-strcasecmp.c: New file.
41562 * string/test-strcasestr.c: Test both ends of the range of characters.
41563 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41565 2010-07-29 Roland McGrath <roland@redhat.com>
41568 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41570 2010-07-27 Ulrich Drepper <drepper@redhat.com>
41572 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41575 2010-07-27 Andreas Schwab <schwab@redhat.com>
41577 * manual/memory.texi (Malloc Tunable Parameters): Document
41580 2010-07-26 Roland McGrath <roland@redhat.com>
41583 * configure.in (-fgnu89-inline check): Set and substitute
41584 gnu89_inline, not libc_cv_gnu89_inline.
41585 * configure: Regenerated.
41586 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41588 2010-07-26 Ulrich Drepper <drepper@redhat.com>
41590 * string/test-strnlen.c: New file.
41591 * string/Makefile (strop-tests): Add strnlen.
41592 * string/tester.c (test_strnlen): Add a few more test cases.
41593 * string/tst-strlen.c: Better error reporting.
41595 * sysdeps/x86_64/strnlen.S: New file.
41597 2010-07-24 Ulrich Drepper <drepper@redhat.com>
41599 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41600 lower-latency instructions.
41602 2010-07-23 Ulrich Drepper <drepper@redhat.com>
41604 * string/test-strcasestr.c: New file.
41605 * string/test-strstr.c: New file.
41606 * string/Makefile (strop-tests): Add strstr and strcasestr.
41607 * string/str-two-way.h: Don't undefine MAX.
41608 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41610 2010-07-21 Andreas Schwab <schwab@redhat.com>
41612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41613 strcasestr-nonascii.
41614 (CFLAGS-strcasestr-nonascii.c): Define.
41615 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41616 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41617 Remove unused attribute.
41619 2010-07-20 Roland McGrath <roland@redhat.com>
41621 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41622 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41623 ld.so.cache was broken. With it, there is no way to disable dsocaps
41624 like LD_HWCAP_MASK can disable hwcaps.
41626 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41628 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41630 2010-07-16 Ulrich Drepper <drepper@redhat.com>
41632 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41633 call in strcasestr.
41634 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41635 __strcasestr_sse42_nonascii.
41636 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41637 strcasestr-nonascii.c.
41638 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41640 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
41642 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41643 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41644 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41645 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41647 2010-07-09 Ulrich Drepper <drepper@redhat.com>
41649 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41652 2010-07-06 Andreas Schwab <schwab@redhat.com>
41655 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41658 2010-07-06 Ulrich Drepper <drepper@redhat.com>
41660 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41661 _PC_PIPE_BUF using F_GETPIPE_SZ.
41663 2010-07-05 Roland McGrath <roland@redhat.com>
41665 * manual/arith.texi (Rounding Functions): Fix rint description
41666 implicit in round description.
41668 2010-07-02 Ulrich Drepper <drepper@redhat.com>
41670 * elf/Makefile: Fix linking for a few tests to make recent linker
41673 2010-06-30 Andreas Schwab <schwab@redhat.com>
41675 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41676 $(common-objpfx)libc_nonshared.a.
41678 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
41680 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41681 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41682 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41683 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41684 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41685 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41686 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41687 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41702 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41703 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41704 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41705 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41706 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41707 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41708 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41709 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41710 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41711 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41712 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41713 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41729 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41731 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41732 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
41733 * string/memmove.c (memmove): Renamed to ...
41734 (MEMMOVE): ...this. Default to memmove.
41735 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41736 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41739 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41740 mempcpy-ssse3-back memmove-ssse3-back.
41741 * sysdeps/x86_64/multiarch/bcopy.S: New file .
41742 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41743 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41744 * sysdeps/x86_64/multiarch/memcpy.S: New file.
41745 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41746 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41747 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41748 * sysdeps/x86_64/multiarch/memmove.c: New file.
41749 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41750 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41751 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41752 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41753 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41754 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41756 (index_Fast_Copy_Backward): Define.
41757 (HAS_ARCH_FEATURE): Define.
41758 (HAS_FAST_REP_STRING): Define.
41759 (HAS_FAST_COPY_BACKWARD): Define.
41761 2010-06-21 Andreas Schwab <schwab@redhat.com>
41763 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41764 Restore proper fallback handling.
41766 2010-06-19 Ulrich Drepper <drepper@redhat.com>
41769 * posix/group_member.c (__group_member): Correct checking loop.
41771 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41772 OOM in getpwuid_r correctly. Return error number when the caller
41773 should return, otherwise -1.
41774 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41775 call returning > 0 value.
41776 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41778 2010-06-07 Andreas Schwab <schwab@redhat.com>
41780 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41781 libc_nonshared.a from targets in modules-names.
41783 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
41785 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41788 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
41790 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41791 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41793 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41795 2010-06-02 Andreas Schwab <schwab@redhat.com>
41797 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41799 2010-06-14 Ulrich Drepper <drepper@redhat.com>
41801 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41803 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41804 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41807 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41810 2010-06-14 Roland McGrath <roland@redhat.com>
41812 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41814 2010-06-07 Jakub Jelinek <jakub@redhat.com>
41816 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41817 __REDIRECT followed by __THROW.
41818 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41819 * posix/getopt.h (getopt): Likewise.
41821 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41823 * hurd/lookup-at.c (__file_name_lookup_at): Accept
41824 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
41825 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41827 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41828 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41830 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
41832 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41834 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
41837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41838 Properly check family and model.
41840 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
41842 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41844 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
41846 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41848 2010-05-21 Ulrich Drepper <drepper@redhat.com>
41850 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41853 2010-05-19 Andreas Schwab <schwab@redhat.com>
41855 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41858 2010-05-21 Andreas Schwab <schwab@redhat.com>
41860 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41861 and internal_recvmmsg.
41862 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41863 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41864 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41865 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41867 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41868 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41869 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41871 2010-05-20 Andreas Schwab <schwab@redhat.com>
41873 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41875 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
41877 POWER7 optimizations.
41878 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41879 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41881 2010-05-19 Ulrich Drepper <drepper@redhat.com>
41883 * version.h: Update for 2.13 development version.
41885 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
41887 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41888 exceptions. Return 0.
41890 2010-05-07 Roland McGrath <roland@redhat.com>
41892 * elf/ldconfig.c (main): Add a const.
41894 2010-05-06 Ulrich Drepper <drepper@redhat.com>
41896 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41897 (args_options): Add no-idn option.
41898 (ahosts_keys_int): Add idn_flags to ai_flags.
41899 (parse_option): Handle 'i' option to clear idn_flags.
41901 * malloc/malloc.c (_int_free): Possible race in the most recently
41902 added check. Only act on the data if no current modification
41905 See ChangeLog.17 for earlier changes.