1 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13 2013-02-26 Roland McGrath <roland@hack.frob.com>
15 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16 [$(build-shared = yes].
18 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21 (__mul): Reduce iterations for calculating mantissa.
23 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25 (__mpranred): Likewise.
28 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
33 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40 * posix/regex_internal.h (__attribute): Remove.
41 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42 (re_string_context_at): Likewise.
43 (bitset_not): Use __attribute__ and mark function as possibly
45 (bitset_merge): Likewise.
46 (bitset_mask): Likewise.
47 (re_string_char_size_at): Likewise.
48 (re_string_wchar_at): Likewise.
49 (re_string_elem_size_at): Likewise.
51 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63 (add_magnitudes): Likewise.
64 (sub_magnitudes): Likewise.
68 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
71 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
74 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
77 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
78 up changes with default code.
79 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
82 2013-02-24 Allan McRae <allan@archlinux.org>
84 * manual/socket.texi (The Internet Namespace): Order menu items
85 to match that in the file.
87 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
88 node listing of the info page menu.
90 2013-02-21 Joseph Myers <joseph@codesourcery.com>
93 * sysdeps/i386/bp-asm.h: Remove file.
94 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
95 (PARMS): Do not use macros from bp-asm.h.
99 (__mpn_add_n): Do not use BP_SYM
100 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
102 (PARMS): Do not use macros from bp-asm.h.
105 (__mpn_addmul_1): Do not use BP_SYM
106 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
108 (PARMS): Do not use macros from bp-asm.h.
110 (_setjmp): Likewise. Do not use BP_SYM.
111 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
113 (PARMS): Do not use macros from bp-asm.h.
115 (setjmp): Likewise. Do not use BP_SYM.
116 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
118 (PARMS): Do not use macros from bp-asm.h.
119 (__frexp): Do not use BP_SYM.
121 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
123 (PARMS): Do not use macros from bp-asm.h.
124 (__frexpf): Do not use BP_SYM.
126 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
128 (PARMS): Do not use macros from bp-asm.h.
129 (__frexpl): Do not use BP_SYM.
131 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
133 (PARMS): Do not use macros from bp-asm.h.
134 (__remquo): Do not use BP_SYM.
136 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
138 (PARMS): Do not use macros from bp-asm.h.
139 (__remquof): Do not use BP_SYM.
141 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
143 (PARMS): Do not use macros from bp-asm.h.
144 (__remquol): Do not use BP_SYM.
146 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
148 (PARMS): Do not use macros from bp-asm.h.
151 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
152 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
154 (PARMS): Do not use macros from bp-asm.h.
155 (strlen): Do not use BP_SYM.
156 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
158 (PARMS): Do not use macros from bp-asm.h.
162 (__mpn_add_n): Do not use BP_SYM.
163 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
165 (PARMS): Do not use macros from bp-asm.h.
168 (__mpn_addmul_1): Do not use BP_SYM.
169 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
172 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
174 (PARMS): Do not use macros from bp-asm.h.
177 (__mpn_lshift): Do not use BP_SYM.
178 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
180 (PARMS): Do not use macros from bp-asm.h.
184 (memcpy): Likewise. Do not use BP_SYM.
185 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
186 libc_hidden_def and weak_alias.
187 (mempcpy): Do not use BP_SYM in weak_alias.
188 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
190 (PARMS): Do not use macros from bp-asm.h.
193 [!BZERO_P] (CHR): Likewise.
194 (memset): Likewise. Do not use BP_SYM.
195 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
197 (PARMS): Do not use macros from bp-asm.h.
200 (__mpn_mul_1): Do not use BP_SYM.
201 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
203 (PARMS): Do not use macros from bp-asm.h.
206 (__mpn_rshift): Do not use BP_SYM.
207 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
209 (PARMS): Do not use macros from bp-asm.h.
212 (strchr): Likewise. Do not use BP_SYM.
213 (index): Do not use BP_SYM in weak_alias.
214 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
216 (PARMS): Do not use macros from bp-asm.h.
219 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
220 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
222 (PARMS): Do not use macros from bp-asm.h.
223 (strlen): Do not use BP_SYM.
224 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
226 (PARMS): Do not use macros from bp-asm.h.
230 (__mpn_sub_n): Do not use BP_SYM.
231 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
233 (PARMS): Do not use macros from bp-asm.h.
236 (__mpn_submul_1): Do not use BP_SYM.
237 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
239 (PARMS): Do not use macros from bp-asm.h.
243 (__mpn_add_n): Do not use BP_SYM.
244 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
247 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
249 (PARMS): Do not use macros from bp-asm.h.
252 (memcmp): Do not use BP_SYM.
253 (bcmp): Do not use BP_SYM in weak_alias.
254 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
256 (PARMS): Do not use macros from bp-asm.h.
260 (memcpy): Likewise. Do not use BP_SYM.
261 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
263 (PARMS): Do not use macros from bp-asm.h.
267 (memmove): Likewise. Do not use BP_SYM.
268 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
270 (PARMS): Do not use macros from bp-asm.h.
274 (__mempcpy): Likewise. Do not use BP_SYM.
275 (mempcpy): Do not use BP_SYM in weak_alias.
276 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
278 (PARMS): Do not use macros from bp-asm.h.
281 [!BZERO_P] (CHR): Likewise.
282 (memset): Likewise. Do not use BP_SYM.
283 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
285 (PARMS): Do not use macros from bp-asm.h.
287 (strcmp): Do not use BP_SYM.
288 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
290 (PARMS): Do not use macros from bp-asm.h.
293 [USE_AS_STRTOK_R] (SAVE): Likewise.
294 (FUNCTION): Likewise. Do not use BP_SYM.
295 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
297 (strtok_r): Likewise.
298 (__GI___strtok_r): Likewise.
299 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
300 (PARMS): Do not use macros from bp-asm.h.
303 (__mpn_lshift): Do not use BP_SYM.
304 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
305 (PARMS): Do not use macros from bp-asm.h.
308 (__memchr): Do not use BP_SYM.
309 (memchr): Do not use BP_SYM in weak_alias.
310 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
311 (PARMS): Do not use macros from bp-asm.h.
314 (memcmp): Do not use BP_SYM.
315 (bcmp): Do not use BP_SYM in weak_alias.
316 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
317 (PARMS): Do not use macros from bp-asm.h.
320 (__mpn_mul_1): Do not use BP_SYM.
321 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
323 (PARMS): Do not use macros from bp-asm.h.
326 (__rawmemchr): Do not use BP_SYM.
327 (rawmemchr): Do not use BP_SYM in weak_alias.
328 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
329 (PARMS): Do not use macros from bp-asm.h.
332 (__mpn_rshift): Do not use BP_SYM.
333 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
334 (PARMS): Do not use macros from bp-asm.h.
336 (__sigsetjmp): Likewise. Do not use BP_SYM.
337 * sysdeps/i386/start.S: Do not include "bp-sym.h".
338 (_start): Do not use BP_SYM.
339 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
340 (PARMS): Do not use macros from bp-asm.h.
343 (__stpcpy): Likewise. Do not use BP_SYM.
344 (stpcpy): Do not use BP_SYM in weak_alias.
345 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
347 (PARMS): Do not use macros from bp-asm.h.
351 (__stpncpy): Likewise. Do not use BP_SYM.
352 (stpncpy): Do not use BP_SYM in weak_alias.
353 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
354 (PARMS): Do not use macros from bp-asm.h.
357 (strchr): Likewise. Do not use BP_SYM.
358 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
360 (PARMS): Do not use macros from bp-asm.h.
363 (__strchrnul): Likewise. Do not use BP_SYM.
364 (strchrnul): Do not use BP_SYM in weak_alias.
365 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
367 (PARMS): Do not use macros from bp-asm.h.
369 (strcspn): Do not use BP_SYM.
370 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
372 (PARMS): Do not use macros from bp-asm.h.
375 (strpbrk): Likewise. Do not use BP_SYM.
376 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
378 (PARMS): Do not use macros from bp-asm.h.
381 (strrchr): Likewise. Do not use BP_SYM.
382 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
383 (PARMS): Do not use macros from bp-asm.h.
385 (strspn): Do not use BP_SYM.
386 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
387 (PARMS): Do not use macros from bp-asm.h.
391 (FUNCTION): Likewise. Do not use BP_SYM.
392 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
394 (strtok_r): Likewise.
395 (__GI___strtok_r): Likewise.
396 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
397 (PARMS): Do not use macros from bp-asm.h.
401 (__mpn_sub_n): Do not use BP_SYM.
402 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
404 (PARMS): Do not use macros from bp-asm.h.
407 (__mpn_submul_1): Do not use BP_SYM.
408 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
410 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
412 (PARMS): Do not use macros from bp-asm.h.
417 (__clone): Do not use BP_SYM.
418 (clone): Do not use BP_SYM in weak_alias.
419 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
421 (PARMS): Do not use macros from bp-asm.h.
423 (__mmap64): Do not use BP_SYM.
424 (mmap64): Do not use BP_SYM in weak_alias.
425 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
426 <bp-sym.h> and <bp-asm.h>.
427 (PARMS): Do not use macros from bp-asm.h.
428 (__posix_fadvise64_l64): Do not use BP_SYM.
429 * sysdeps/unix/sysv/linux/i386/semtimedop.S
430 (PARMS): Do not use macros from bp-asm.h.
432 (semtimedop): Do not use BP_SYM.
433 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
436 2013-02-21 Allan McRae <allan@archlinux.org>
438 * manual/message.texi (Charset conversion in gettext):
439 Move @end statement to beginning of line.
441 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
448 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
453 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
455 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
456 tail-call to the resolved function if pltexit isn't needed.
458 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
461 or Y being zero as being unlikely.
462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
465 2013-02-20 Carlos O'Donell <carlos@redhat.com>
467 * manual/nss.texi (System Databases and Name Service Switch):
468 Remove frobnicate @pxref.
470 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
472 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
473 __attribute__ ((unused)) to __attribute__ ((__unused__)).
475 2013-02-20 Petr Machata <pmachata@redhat.com>
477 * elf/elf.h (R_ARM_TARGET1): New macro.
478 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
479 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
480 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
481 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
482 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
483 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
484 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
485 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
486 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
487 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
488 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
489 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
490 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
491 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
492 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
493 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
494 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
495 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
496 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
497 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
498 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
499 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
500 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
501 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
502 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
503 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
504 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
505 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
506 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
507 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
508 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
509 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
510 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
511 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
512 (R_ARM_THM_GOT_BREL12): Likewise.
513 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
514 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
515 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
516 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
517 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
518 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
519 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
520 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
521 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
523 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
525 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
526 __attribute_used__ to __attribute__ ((unused)).
528 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
530 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
536 2013-02-19 Joseph Myers <joseph@codesourcery.com>
539 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
541 (ENTER): Remove both macro definitions.
543 (CHECK_BOUNDS_LOW): Likewise.
544 (CHECK_BOUNDS_HIGH): Likewise.
545 (CHECK_BOUNDS_BOTH): Likewise.
546 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
547 (RETURN_BOUNDED_POINTER): Likewise.
548 (RETURN_NULL_BOUNDED_POINTER): Likewise.
549 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
550 (POP_ERRNO_LOCATION_RETURN): Likewise.
551 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
552 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
553 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
555 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
556 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
557 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
558 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
559 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
560 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
561 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
562 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
563 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
564 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
565 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
566 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
567 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
568 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
570 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
571 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
573 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
574 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
575 * sysdeps/i386/i586/memset.S (memset): Likewise.
576 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
577 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
578 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
580 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
581 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
582 Change uses of L(2) to L(out).
583 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
584 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
585 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
586 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
587 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
589 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
590 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
592 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
593 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
594 (RETURN): Do not use macro LEAVE.
595 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
596 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
597 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
598 * sysdeps/i386/i686/memset.S (memset): Likewise.
599 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
600 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
601 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
602 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
604 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
605 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
606 L(1_2) and L(1_3) into L(1).
607 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
608 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
609 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
610 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
611 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
612 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
613 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
614 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
615 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
617 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
618 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
619 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
620 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
621 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
622 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
623 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
624 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
625 * sysdeps/i386/strcspn.S (strcspn): Likewise.
626 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
627 * sysdeps/i386/strrchr.S (strrchr): Likewise.
628 * sysdeps/i386/strspn.S (strspn): Likewise.
629 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
631 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
632 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
633 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
634 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
636 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
637 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
638 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
640 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
642 2013-02-19 Jakub Jelinek <jakub@redhat.com>
644 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
647 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
649 * math/atest-exp.c (exp_mpn): Remove ROUND.
650 * math/atest-exp2.c (exp_mpn): Likewise.
651 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
653 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
654 * stdlib/tst-tls-atexit-lib.c: Likewise.
655 * stdlib/tst-tls-atexit.c: Likewise.
657 2013-02-18 Mike Frysinger <vapier@gentoo.org>
659 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
660 and __attribute_alloc_size__.
662 2013-02-18 Mike Frysinger <vapier@gentoo.org>
664 * include/programs/xmalloc.h: Change __attribute_alloc_size to
665 __attribute_alloc_size__.
666 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
667 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
669 2013-02-18 Mike Frysinger <vapier@gentoo.org>
671 * include/programs/xmalloc.h: New file.
672 * catgets/gencat.c: Include it.
673 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
674 * elf/pldd.c: Likewise.
675 * iconv/iconv_charmap.c: Likewise.
676 * iconv/iconvconfig.c: Likewise.
677 * iconv/strtab.c: Likewise.
678 * locale/programs/locale.c: Likewise.
679 * locale/programs/localedef.h: Likewise.
680 * locale/programs/simple-hash.c: Likewise.
681 * nscd/nscd.h: Likewise.
682 * nss/makedb.c: Likewise.
683 * sysdeps/generic/ldconfig.h: Likewise.
685 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
687 * Versions.def: Add GLIBC_2.18.
688 * include/link.h (struct link_map): New member l_tls_dtor_count.
689 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
690 (__call_tls_dtors): Likewise.
691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
692 __cxa_thread_atexit_impl.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
709 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
710 (tests): Add test case tst-tls-atexit.
711 (modules-names): Add shared library for tst-tls-atexit.
712 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
713 (GLIBC_PRIVATE): Add __call_tls_dtors.
714 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
716 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
717 * stdlib/tst-tls-atexit.c: New test case.
718 * stdlib/tst-tls-atexit-lib.c: New test case.
720 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
722 * elf/Versions (ld): Add _dl_find_dso_for_object.
723 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
724 * elf/dl-open.c (_dl_find_dso_for_object): New function.
725 (dl_open_worker): Use _dl_find_dso_for_object.
726 * elf/dl-sym.c (do_sym): Likewise.
727 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
729 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
731 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
732 Syntactic changes only.
733 (_dl_runtime_profile): Do a tail-call to the resolved function.
735 2013-02-17 Joseph Myers <joseph@codesourcery.com>
738 * sysdeps/x86_64/bp-asm.h: Remove file.
739 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
740 <bp-sym.h> and <bp-asm.h>.
741 (__clone): Do not use BP_SYM.
742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
743 <bp-sym.h> and <bp-asm.h>.
744 * sysdeps/unix/x86_64/sysdep.S: Likewise.
745 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
747 (_setjmp): Do not use BP_SYM.
748 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
750 (setjmp): Do not use BP_SYM.
751 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
753 (mempcpy): Do not use BP_SYM in weak_alias.
754 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
756 (strchr): Do not use BP_SYM.
757 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
759 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
760 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
761 (_start): Do not use BP_SYM.
762 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
764 (strcat): Do not use BP_SYM.
765 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
767 (STRCMP): Do not use BP_SYM.
768 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
770 (STRCPY): Do not use BP_SYM.
771 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
773 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
775 (FUNCTION): Do not use BP_SYM.
776 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
778 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
780 2013-02-17 Andreas Jaeger <aj@suse.de>
782 * time/Versions: Sort entries.
783 * string/Versions: Likewise.
784 * resolv/Versions: Likewise.
785 * posix/Versions: Likewise.
786 * iconv/Versions: Likewise.
787 * elf/Versions: Likewise.
788 * wcsmbs/Versions: Likewise.
790 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
792 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
793 loop termination condition.
795 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
796 variable to calculate EZ.
799 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
800 the lower precision input.
802 2013-02-15 Joseph Myers <joseph@codesourcery.com>
805 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
806 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
807 (run-via-rtld-prefix): Do not handle %-bp tests.
808 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
809 (all-object-suffixes): Remove .ob.
810 (bppfx): Remove variable.
811 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
812 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
813 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
814 [$(build-bounded) = yes] (libtype.ob): Likewise.
815 * Makerules (elide-routines.ob): Remove variable.
816 (do-tests-clean): Do not handle *-bp.out.
817 (common-mostlyclean): Do not handle *-bp and *-bp.out.
818 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
819 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
820 (tests): Do not include $(tests-bp.out).
821 (xtests): Do not include $(xtests-bp.out).
822 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
823 [$(build-bounded) = yes] ($(addprefix
824 $(objpfx),$(binaries-bounded))): Remove rule.
825 ($(objpfx)%-bp.out): Remove rule.
826 * config.make.in (build-bounded): Remove variable.
827 * crypt/Makefile [$(build-bounded) = yes]
828 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
829 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
831 [$(build-bounded) = yes] (install-lib): Likewise.
832 [$(build-bounded) = yes] (generated): Likewise.
833 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
835 * intl/Makefile [$(build-bounded) = yes]
836 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
837 * math/Makefile [$(build-bounded) = yes]
838 ($(tests:%=$(objpfx)%-bp): Likewise.
839 * misc/Makefile [$(build-bounded) = yes]
840 ($(objpfx)tst-tsearch-bp): Likewise.
841 * nptl/Makeconfig (bounded-thread-library): Remove variable.
842 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
844 * string/Makefile (o-objects.ob): Remove variable.
845 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
846 (CFLAGS-.ob): Remove variable.
847 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
848 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
849 both definitions of variable.
850 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
851 (ASFLAGS-.ob): Remove variable.
853 2013-02-14 Joseph Myers <joseph@codesourcery.com>
856 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
857 Remove __BOUNDED_POINTERS__ from condition.
858 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
859 * string/bits/string2.h [!__NO_STRING_INLINES &&
860 !__BOUNDED_POINTERS__]: Likewise.
861 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
863 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
864 Remove conditional code.
865 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
866 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
867 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
871 * csu/libc-start.c: Do not include <bp-sym.h>.
872 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
873 * elf/dl-open.c: Do not include <bp-sym.h>.
874 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
875 * math/fegetenv.c: Do not include <bp-sym.h>.
876 (fegetenv): Do not use BP_SYM in versioned symbols.
877 * nptl/sysdeps/pthread/bits/libc-lockP.h
878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
881 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
883 (__pthread_mutex_destroy): Likewise.
884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
885 (__pthread_mutex_lock): Likewise.
886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
887 (__pthread_mutex_trylock): Likewise.
888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
889 (__pthread_mutex_unlock): Likewise.
890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
891 (__pthread_mutexattr_init): Likewise.
892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
893 (__pthread_mutexattr_destroy): Likewise.
894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
895 (__pthread_mutexattr_settype): Likewise.
896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
897 (__pthread_rwlock_init): Likewise.
898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
899 (__pthread_rwlock_destroy): Likewise.
900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
901 (__pthread_rwlock_rdlock): Likewise.
902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
903 (__pthread_rwlock_tryrdlock): Likewise.
904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
905 (__pthread_rwlock_wrlock): Likewise.
906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
907 (__pthread_rwlock_trywrlock): Likewise.
908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
909 (__pthread_rwlock_unlock): Likewise.
910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
911 (__pthread_key_create): Likewise.
912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
913 (__pthread_setspecific): Likewise.
914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
915 (__pthread_getspecific): Likewise.
916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
919 (_pthread_cleanup_push_defer): Likewise.
920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
921 (_pthread_cleanup_pop_restore): Likewise.
922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
923 (pthread_setcancelstate): Likewise.
924 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
926 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
927 (memchr): Do not use BP_SYM in weak_alias.
928 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
929 (fegetenv): Do not use BP_SYM in versioned symbols.
930 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
931 (fesetenv): Do not use BP_SYM in versioned symbols.
932 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
933 (feupdateenv): Do not use BP_SYM in versioned symbols.
934 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
935 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
936 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
937 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
938 (open64): Do not use BP_SYM in weak_alias.
939 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
940 (fegetenv): Do not use BP_SYM in versioned symbols.
941 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
942 (fesetenv): Do not use BP_SYM in versioned symbols.
943 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
944 (feupdateenv): Do not use BP_SYM in versioned symbols.
945 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
946 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
947 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
948 (feraiseexcept): Do not use BP_SYM in versioned symbols.
949 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
950 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
951 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
953 (__libc_start_main): Do not use BP_SYM.
955 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
958 redundant return line.
962 (sub_magnitudes): Likewise.
968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
972 (sub_magnitudes): Likewise.
979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
982 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
985 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
986 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
988 of __mul for squares.
989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
993 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
994 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
996 2013-02-13 Joseph Myers <joseph@codesourcery.com>
999 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1001 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1002 prototype or function definition. Rename ubp_* variables and
1003 parameters. Remove argv definitions conditional on
1004 [__BOUNDED_POINTERS__].
1005 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1006 * elf/dl-runtime.c (_dl_fixup): Likewise.
1007 * include/set-hooks.h (RUN_HOOK): Likewise.
1008 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1010 * string/strcpy.c (strcpy): Do not use __unbounded.
1011 * sysdeps/generic/frame.h (struct layout): Likewise.
1012 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1013 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1014 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1015 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1016 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1017 (__backtrace): Likewise.
1018 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1020 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1021 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1022 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1024 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1025 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1026 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1027 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1028 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1029 Do not use __unbounded.
1030 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1031 Rename __unboundedrlimits parameter to rlimits in prototype.
1032 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1033 Do not use __unbounded.
1034 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1036 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1037 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1038 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1039 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1040 __ptrvalue or __unbounded.
1041 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1042 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1044 (__new_msgctl): Do not use __ptrvalue.
1045 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1047 (__libc_msgrcv): Do not use __ptrvalue.
1048 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1049 startup_info): Do not use __unbounded.
1050 (__libc_start_main): Likewise. Rename ubp_* variables and
1051 parameters. Remove argv definitions conditional on
1052 [__BOUNDED_POINTERS__].
1053 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1055 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1057 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1059 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1061 (__new_shmctl): Do not use __ptrvalue.
1062 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1063 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1065 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1067 (__libc_sigaction): Likewise.
1068 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1069 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1071 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1073 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1075 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1077 * string/mempcpy.c: Implement by calling memcpy.
1079 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1087 values in the mantissa.
1089 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1090 minimize writes to Z.
1091 (sub_magnitudes): Simplify code a bit.
1093 2013-02-12 Roland McGrath <roland@hack.frob.com>
1095 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1096 from the message. The linker prefixes all warnings with that already.
1098 2013-02-12 Andreas Schwab <schwab@suse.de>
1101 * posix/regexec.c (extend_buffers): Add parameter min_len.
1102 (check_matching): Pass minimum needed length.
1103 (clean_state_log_if_needed): Likewise.
1104 (get_subexp): Likewise.
1105 * posix/Makefile (tests): Add bug-regex34.
1106 (bug-regex34-ENV): Define.
1107 * posix/bug-regex34.c: New file.
1110 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1111 elements compare against the byte sequence of it, not its name.
1112 * posix/Makefile (tests): Add bug-regex35.
1113 (bug-regex35-ENV): Define.
1114 * posix/bug-regex35.c: New file.
1116 2013-02-11 Tom de Vries <tom@codesourcery.com>
1118 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1120 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1121 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1122 (CHECK_EOL): Add undef.
1124 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1126 * bits/stdlib-bsearch.h: New file.
1127 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1128 * stdlib/stdlib.h: Likewise.
1130 2013-02-11 Roland McGrath <roland@hack.frob.com>
1132 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1133 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1135 * manual/search.texi (Array Search Function): Add missing const in
1137 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1138 declaration to use rlim_t.
1139 (Basic Scheduling Functions): Remove erroneous const from
1140 sched_getparam prototype. Remove erroneous * from
1141 sched_get_priority_max and sched_get_priority_min prototypes.
1142 (Resource Usage): Fix summary @comment on vtimes to refer to
1143 sys/vtimes.h rather than vtimes.h.
1144 Add missing *s in vtimes prototype.
1145 (Limits on Resources): Fix ulimit prototype to return long int.
1146 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1147 prototypes to use long int rather than double.
1148 (BSD Random): Fix initstate and setstate to use char *, not void *.
1149 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1150 prototype to make second argument 'struct aiocb64 *const[]'.
1151 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1152 (Status of AIO Operations): Remove erroneous const in aio_return and
1153 aio_return64 prototypes.
1154 (Synchronizing I/O): Fix sync prototype to return void.
1155 * manual/startup.texi (Suboptions): Remove an erroneous const in
1156 getsubopt prototype.
1157 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1158 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1159 use size_t rather than int.
1160 (Scanning All Users): Likewise for getpwent_r.
1161 (Setting Groups): Add missing const to setgroups prototype.
1162 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1163 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1164 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1165 'const void *' rather than 'const char *'.
1166 (Host Address Functions): Likewise for inet_ntop.
1167 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1168 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1169 ssize_t for return value.
1170 (Sending Data): Likewise for send, sendto, sendmsg.
1171 (Socket Option Functions): Add a missing const in setsockopt prototype.
1172 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1173 use wchar_t for the argument.
1174 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1175 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1177 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1178 double/float/long double for second argument.
1179 Fix return types of significand, significandf, significandl.
1180 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1181 argument in fchmod prototype.
1182 (File Owner): Use uid_t and gid_t in fchown prototype.
1183 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1184 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1185 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1186 use 'const struct dirent **' as argument types to CMP function pointer
1188 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1189 (File Times): Fix summary magic @comment for struct utimbuf and utime
1190 to refer to utime.h, not time.h.
1191 * manual/string.texi (Argz Functions): Add missing const in
1192 argz_extract and argz_next prototypes.
1193 (Finding Tokens in a String): Likewise for basename.
1194 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1195 (Copying and Concatenation): Fix typo in wmemmove prototype.
1196 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1197 (Signal Stack): Remove erroneous const in sigstack prototype.
1198 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1200 (Simple Calendar Time): Likewise for stime.
1201 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1203 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1204 say sys/sysctl.h instead.
1205 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1206 and vsyslog prototypes.
1208 2013-02-11 Tom de Vries <tom@codesourcery.com>
1210 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1213 2013-02-11 Roland McGrath <roland@hack.frob.com>
1215 * misc/sys/mman.h: Fix typo in mremap comment.
1217 2013-02-08 Roland McGrath <roland@hack.frob.com>
1219 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1220 the '\0' terminator.
1222 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1225 * debug/segfault.c: Don't include <bp-checks.h>.
1226 * sysdeps/generic/bp-checks.h: Remove file.
1227 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1228 (__GETDENTS): Don't use CHECK_N.
1229 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1230 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1231 (__getgroups): Don't use CHECK_N.
1232 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1233 (setgroups): Don't use CHECK_N.
1234 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1235 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1236 (__libc_msgrcv): Don't use CHECK_N.
1237 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1238 (__libc_msgsnd): Don't use CHECK_N.
1239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1241 (__libc_pread): Don't use CHECK_N.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1243 include <bp-checks.h>.
1244 (__libc_pread64): Don't use CHECK_N.
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1246 include <bp-checks.h>.
1247 (__libc_pwrite): Don't use CHECK_N.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1249 include <bp-checks.h>.
1250 (__libc_pwrite64): Don't use CHECK_N.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1253 (__libc_pread): Don't use CHECK_N.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1255 include <bp-checks.h>.
1256 (__libc_pread64): Don't use CHECK_N.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1258 include <bp-checks.h>.
1259 (__libc_pwrite): Don't use CHECK_N.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1261 include <bp-checks.h>.
1262 (__libc_pwrite64): Don't use CHECK_N.
1263 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1264 (do_pread): Don't use CHECK_N.
1265 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1266 (do_pread64): Don't use CHECK_N.
1267 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1268 (do_pwrite): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1270 (do_pwrite64): Don't use CHECK_N.
1271 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1272 (__libc_readv): Don't use CHECK_N.
1273 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1274 (semop): Don't use CHECK_N.
1275 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1277 (semtimedop): Don't use CHECK_N.
1278 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1279 (__libc_pread): Don't use CHECK_N.
1280 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1282 (__libc_pread64): Don't use CHECK_N.
1283 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1285 (__libc_pwrite): Don't use CHECK_N.
1286 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1288 (__libc_pwrite64): Don't use CHECK_N.
1289 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1291 (__libc_msgrcv): Don't use CHECK_N.
1292 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1293 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1294 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1295 (__libc_writev): Don't use CHECK_N.
1297 2013-02-08 Roland McGrath <roland@hack.frob.com>
1299 * string/strcpy.c: Removed unused variable.
1301 * Makeconfig (+sysdep-includes): Define with := rather than =.
1302 Use an existing include/ subdir of each sysdeps dir before it.
1304 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1306 * nscd/connection.c (register_traced_file): Comment function.
1307 [HAVE_INOTIFY] (union __inev): Define.
1308 [HAVE_INOTIFY] (inotify_check_files): New function.
1309 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1310 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1312 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1314 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1316 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1317 loaded if not already and that a failure is permanent.
1319 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1322 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1323 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1325 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1328 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1329 (CHECK_1_NULL_OK): Likewise.
1330 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1331 (__fxstat): Do not use CHECK_1.
1332 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1334 (___fxstat64): Do not use CHECK_1.
1335 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1337 (__fxstatat): Do not use CHECK_1.
1338 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1340 (__fxstatat64): Do not use CHECK_1.
1341 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1343 (__fxstat): Do not use CHECK_1.
1344 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1346 (__fxstatat): Do not use CHECK_1.
1347 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1349 (__getresgid): Do not use CHECK_1.
1350 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1352 (__getresuid): Do not use CHECK_1.
1353 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1355 (__lxstat): Do not use CHECK_1.
1356 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1358 (__old_msgctl): Do not use CHECK_1.
1359 (__new_msgctl): Likewise.
1360 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1362 (__new_setrlimit): Do not use CHECK_1.
1363 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1365 (__old_shmctl): Do not use CHECK_1.
1366 (__new_shmctl): Likewise.
1367 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1369 (__xstat): Do not use CHECK_1.
1370 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1371 (__lxstat): Do not use CHECK_1.
1372 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1374 (___lxstat64): Do not use CHECK_1.
1375 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1376 (__old_msgctl): Do not use CHECK_1.
1377 (__new_msgctl): Likewise.
1378 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1380 (__gettimeofday): Do not use CHECK_1.
1381 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1382 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1383 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1385 (__gettimeofday): Do not use CHECK_1.
1386 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1387 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1388 (__new_shmctl): Do not use CHECK_1.
1389 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1391 (do_sigtimedwait): Do not use CHECK_1.
1392 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1394 (do_sigwaitinfo): Do not use CHECK_1.
1395 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1397 (msgctl): Do not use CHECK_1.
1398 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1400 (shmctl): Do not use CHECK_1.
1401 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1402 (ustat): Do not use CHECK_1.
1403 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1405 (__fxstat): Do not use CHECK_1.
1406 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1408 (__fxstatat): Do not use CHECK_1.
1409 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1411 (__lxstat): Do not use CHECK_1.
1412 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1414 (__xstat): Do not use CHECK_1.
1415 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1416 (__xstat): Do not use CHECK_1.
1417 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1418 (___xstat64): Do not use CHECK_1.
1421 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1423 (CHECK_BOUNDS_HIGH): Likewise.
1424 * string/strcpy.c: Do not include <bp-checks.h>.
1425 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1427 2013-02-07 Roland McGrath <roland@hack.frob.com>
1429 * nscd/nscd-client.h (__nscd_drop_map_ref):
1430 Add __attribute__ ((unused)).
1431 * nis/nss-nisplus.h (niserr2nss): Likewise.
1433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1434 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1436 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1437 Remove inline keyword.
1438 * include/rounding-mode.h (round_away): Likewise.
1439 * libio/wfileops.c (adjust_wide_data): Likewise.
1440 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1441 (__m128i_strloadu_tolower): Likewise.
1442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1443 (__m128i_strloadu_tolower): Likewise.
1444 * time/mktime.c (ydhms_diff): Likewise.
1445 * locale/elem-hash.h (elem_hash): Likewise.
1446 * locale/setlocale.c (setdata): Likewise.
1447 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1448 (re_string_wchar_at): Likewise.
1449 (bitset_not, bitset_merge, bitset_mask): Likewise.
1450 [!(__GNUC__ > 3)] (inline): Remove macro.
1451 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1452 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1453 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1454 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1455 * string/memcmp.c (memcmp_bytes): Likewise.
1456 * locale/programs/locarchive.c (compute_hashval): Likewise.
1457 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1458 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1459 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1460 * nss/getent.c (print_rpc, print_protocols): Likewise.
1461 (print_passwd, print_group, print_aliases): Likewise.
1462 * nis/nss-nisplus.h (niserr2nss): Likewise.
1463 * nscd/connections.c (restart_p): Likewise.
1464 Change return type to bool.
1466 2013-02-05 Roland McGrath <roland@hack.frob.com>
1468 * Makeconfig (all-Depend-files): Add existing
1469 $(sorted-subdirs:=/Depend) files.
1470 (all-subdirs): Remove nss.
1471 * sysdeps/unix/inet/Subdirs: Add it here instead.
1472 * hesiod/Depend: New file.
1474 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1475 instead of calling alloca.
1477 * io/lseek.c (__lseek): Rename to __libc_lseek.
1478 Define __lseek as an alias.
1480 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1482 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1484 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1485 else clause and remove check for non-standard endianness.
1487 2013-02-04 David S. Miller <davem@davemloft.net>
1489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1491 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1494 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1495 (__ubp_memchr): Remove prototype.
1496 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1497 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1498 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1499 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1500 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1502 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1503 (__ubp_memchr): Likewise.
1504 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1505 (__ubp_memchr): Likewise.
1506 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1507 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1508 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1509 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1511 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1512 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1513 (__getcwd): Do not use CHECK_STRING.
1514 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1516 (__real_chown): Do not use CHECK_STRING.
1517 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1519 (fchownat): Do not use CHECK_STRING.
1520 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1522 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1524 (__lchown): Do not use CHECK_STRING.
1525 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1526 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1527 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1528 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1530 include <bp-checks.h>.
1531 (truncate64): Do not use CHECK_STRING.
1532 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1534 (__real_chown): Do not use CHECK_STRING.
1535 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1537 (__lchown): Do not use CHECK_STRING.
1538 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1540 (__chown): Do not use CHECK_STRING.
1541 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1543 (truncate64): Do not use CHECK_STRING.
1544 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1546 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1547 (__xmknod): Do not use CHECK_STRING.
1548 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1550 (__xmknodat): Do not use CHECK_STRING.
1551 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1552 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1554 2013-02-04 Andreas Schwab <schwab@suse.de>
1557 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1558 * include/netdb.h: Likewise for h_errno.
1559 * elf/tst-stackguard1.c: Include <tls.h>.
1561 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1563 * elf/link.h (struct link_map): Extend the l_addr comment.
1564 * include/link.h (struct link_map): Likewise.
1566 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1569 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1570 (BOUNDED_1): Remove macro.
1571 * debug/backtrace.c: Don't include <bp-checks.h>.
1572 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1573 (__backtrace): Likewise.
1574 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1576 (__backtrace): Don't use BOUNDED_1.
1577 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1579 (__backtrace): Don't use BOUNDED_1.
1580 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1581 (__backtrace): Don't use BOUNDED_1.
1582 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1583 (shmat): Don't use BOUNDED_N.
1585 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1588 * sysdeps/generic/bp-start.h: Remove file.
1589 * csu/libc-start.c: Don't include <bp-start.h>.
1590 (LIBC_START_MAIN): Set up __environ directly instead of using
1591 INIT_ARGV_and_ENVIRON.
1592 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1596 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1598 (CHECK_FCNTL): Likewise.
1599 (CHECK_N_PAGES): Likewise.
1602 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1604 (CHECK_SIGSET_NULL_OK): Likewise.
1605 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1607 (sigpending): Don't use CHECK_SIGSET.
1608 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1610 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1611 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1613 (do_sigsuspend): Don't use CHECK_SIGSET.
1614 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1616 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1617 (do_sigwait): Don't use CHECK_SIGSET.
1618 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1621 include <bp-checks.h>.
1622 (sigpending): Don't use CHECK_SIGSET.
1623 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1624 include <bp-checks.h>.
1625 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1626 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1628 (sigpending): Don't use CHECK_SIGSET.
1629 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1631 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1634 * sysdeps/generic/bp-semctl.h: Remove file.
1635 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1636 <bp-checks.h> and <bp-semctl.h>.
1637 (__old_semctl): Don't use CHECK_SEMCTL.
1638 (__new_semctl): Likewise.
1639 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1641 (__old_semctl): Don't use CHECK_SEMCTL.
1642 (__new_semctl): Likewise.
1643 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1644 <bp-checks.h> and <bp-semctl.h>.
1645 (__old_semctl): Don't use CHECK_SEMCTL.
1646 (__new_semctl): Likewise.
1647 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1648 <bp-checks.h> and <bp-semctl.h>.
1649 (semctl): Don't use CHECK_SEMCTL.
1652 * Makerules (elide-bp-thunks): Remove variable.
1653 (elide-routines.oS): Don't use $(elide-bp-thunks).
1654 (elide-routines.os): Likewise.
1655 (elide-routines.o): Likewise.
1656 (elide-routines.op): Likewise.
1657 (elide-routines.og): Likewise.
1658 (objects): Don't use $(bp-thunks).
1659 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1661 (common-generated): Do not add s-proto-bp.d.
1662 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1665 Do not generate makefile rules for bounded-pointer thunks.
1666 * sysdeps/generic/bp-thunks.h: Remove file.
1667 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1668 * sysdeps/unix/s-proto-bp.S: Likewise.
1671 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1672 parts of result separately when argument is not close to line from
1673 -i to i and one part of argument is small.
1674 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1675 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1676 * math/libm-test.inc (cacos_test): Add more tests.
1677 (casin_test): Likewise.
1678 (casinh_test): Likewise.
1679 * sysdeps/i386/fpu/libm-test-ulps: Update.
1680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1682 2013-01-31 David S. Miller <davem@davemloft.net>
1684 * po/de.po: Update from translation team.
1686 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1688 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1690 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1692 * configure.in (_AC_PROG_CC_C89): New definition.
1693 * configure: Regenerate.
1695 * configure.in (AC_PROG_CPP): New definition.
1696 * configure: Regenerate.
1698 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1700 * debug/tst-backtrace.h: New file.
1701 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1702 (ret): Remove variable.
1704 (FAIL): Remove macro.
1705 (NO_INLINE): Likewise.
1706 (fn1): Use match function instead of strstr.
1707 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1708 (ret): Remove variable.
1710 (FAIL): Remove macro.
1711 (NO_INLINE): Likewise.
1712 (fn): Use match function instead of strstr.
1713 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1714 (ret): Remove variable.
1716 (FAIL): Remove macro.
1717 (NO_INLINE): Likewise.
1718 (handle_signal): Use match function instead of strstr.
1719 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1720 (ret): Remove variable.
1722 (FAIL): Remove macro.
1723 (NO_INLINE): Likewise.
1724 (handle_signal): Use match function instead of strstr.
1726 2013-01-23 Roland McGrath <roland@hack.frob.com>
1728 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1730 2013-01-23 David S. Miller <davem@davemloft.net>
1732 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1733 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1734 argument of CAS if possible.
1735 * sysdeps/sparc/sparc64/bits/atomic.h
1736 (__arch_compare_and_exchange_val_32_acq): Likewise.
1737 (__arch_compare_and_exchange_val_64_acq): Likewise.
1739 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1741 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1742 * sysdeps/posix/ulimit.c: ... this.
1744 * sysdeps/unix/bsd/ulimit.c: Remove file.
1746 2013-01-23 Adam Conrad <adconrad@0c3.net>
1748 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1749 (LDFLAGS-tst-array5): Likewise.
1751 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1754 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1755 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1756 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1757 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1759 2013-01-21 David S. Miller <davem@davemloft.net>
1761 * sysdeps/sparc/backtrace.c: New file.
1762 * sysdeps/sparc/sparc32/backtrace.h: New file.
1763 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1764 * sysdeps/sparc/sparc64/backtrace.h: New file.
1765 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1766 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1769 2013-01-21 Andreas Schwab <schwab@suse.de>
1772 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1775 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1781 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1782 Mark Mitchell <mark@codesourcery.com>
1783 Tom de Vries <tom@codesourcery.com>
1784 Paul Pluzhnikov <ppluzhnikov@google.com>
1786 * debug/tst-backtrace2.c: New file.
1787 * debug/tst-backtrace3.c: Likewise.
1788 * debug/tst-backtrace4.c: Likewise.
1789 * debug/tst-backtrace5.c: Likewise.
1790 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1791 (CFLAGS-tst-backtrace3.c): Likewise.
1792 (CFLAGS-tst-backtrace4.c): Likewise.
1793 (CFLAGS-tst-backtrace5.c): Likewise.
1794 (LDFLAGS-tst-backtrace2): Likewise.
1795 (LDFLAGS-tst-backtrace3): Likewise.
1796 (LDFLAGS-tst-backtrace4): Likewise.
1797 (LDFLAGS-tst-backtrace5): Likewise.
1798 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1799 tst-backtrace4 and tst-backtrace5.
1801 2013-01-18 Anton Blanchard <anton@samba.org>
1802 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1804 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1805 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1807 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1809 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1810 "+r" and remove output regs list as redundant. Add explicit inline
1811 asm to specify register of return val to work around compiler codegen
1812 bug. Remove (int) cast on return value. Add return type parameter to
1813 use in macro so that this macro does not truncate return value for
1815 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1816 pass to INTERNAL_VSYSCALL_NCS.
1817 (INLINE_VSYSCALL): Add 'long int' as return type to
1818 INTERNAL_VSYSCALL_NCS macro invocation.
1819 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1820 INTERNAL_VSYSCALL_NCS macro invocation.
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1823 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1826 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1827 Fix application of SIMD FP exception mask.
1829 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1830 mp_no from a power of two.
1831 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1832 __mpexp_twomm1. Use __pow_mp.
1834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1837 2013-01-17 David S. Miller <davem@davemloft.net>
1839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1841 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1844 * include/complex.h: Condition contents on [!_COMPLEX_H].
1845 (__kernel_casinhf): New prototype.
1846 (__kernel_casinh): Likewise.
1847 (__kernel_casinhl): Likewise.
1848 * math/Makefile (libm_calls): Add k_casinh.
1849 * math/k_casinh.c: New file.
1850 * math/k_casinhf.c: Likewise.
1851 * math/k_casinhl.c: Likewise.
1852 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1853 finite nonzero arguments.
1854 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1855 finite nonzero arguments.
1856 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1857 finite nonzero arguments.
1858 * math/s_casinh.c: Do not include <float.h>.
1859 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1860 * math/s_casinhf.c: Do not include <float.h>.
1861 (__casinhf): Move code for finite nonzero arguments to
1863 * math/s_casinhl.c: Do not include <float.h>.
1864 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1866 (__casinhl): Move code for finite nonzero arguments to
1868 * math/libm-test.inc (cacos_test): Add more tests.
1869 * sysdeps/i386/fpu/libm-test-ulps: Update.
1870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1872 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1874 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1875 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1876 [!HAVE_MREMAP]: Remove [defined linux] case.
1877 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1879 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1881 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1883 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1885 * elf/elf.h (R_386_SIZE32): New relocation.
1886 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1888 (elf_machine_rela): Likewise.
1889 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1890 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1892 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1894 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1895 (FP_FAST_FMA): Do not define.
1896 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1897 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1898 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1899 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1900 !_SOFT_FLOAT]: Likewise.
1901 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1902 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1904 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1905 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1906 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1908 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1909 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1912 2013-01-16 Andreas Schwab <schwab@suse.de>
1915 * include/stdlib.h (__mktemp): Add declaration.
1916 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1917 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1919 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1921 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1923 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1924 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1925 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1927 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1928 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1930 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1932 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1933 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1934 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1936 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1937 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1939 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1941 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1943 2013-01-15 David S. Miller <davem@davemloft.net>
1945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1946 trunc{,f} to libm-sysdep_routes.
1947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1957 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1958 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1959 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1960 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1961 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1962 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1965 nearbyint{,f} to libm-sysdep_routes.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1977 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1979 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1982 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1983 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1984 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1986 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1987 libc_feholdexcept and libc_fesetenv.
1989 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1991 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1993 2013-01-14 David S. Miller <davem@davemloft.net>
1995 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1996 (SPARC_ASM_VIS2_IFUNC): Likewise.
1997 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1999 use of 'siam' instruction.
2000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2033 routines to libm-sysdep_routines.
2034 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2037 fdim/fdimf to libm-sysdep_routines.
2038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2046 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2047 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2048 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2049 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2051 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2053 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2056 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2061 local variable MPTWO.
2062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2065 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2067 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2070 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2072 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2074 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2076 * manual/pattern.texi (glob_t): Document gl_flags.
2077 (glob64_t): Likewise.
2079 2013-01-11 David S. Miller <davem@davemloft.net>
2081 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2082 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2083 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2084 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2085 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2086 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2087 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2088 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2089 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2090 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2091 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2092 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2093 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2095 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2096 sparc V9 rather than using V8 code.
2097 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2098 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2100 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2102 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2105 2013-01-11 Roland McGrath <roland@hack.frob.com>
2107 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2108 not in the main loop.
2109 * configure: Regenerated.
2111 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2113 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2114 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2116 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2117 [!__GLIBC_HAVE_LONG_LONG] case.
2118 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2119 condition to just #else.
2120 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2121 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2122 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2123 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2125 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2126 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2127 #elif condition to just #else.
2128 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2129 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2130 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2131 #elif condition to just #else.
2133 2013-01-11 Steve Ellcey <sellcey@mips.com>
2135 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2136 (EF_MIPS_ARCH_64): Fix value.
2137 (EF_MIPS_ARCH_32R2): New.
2138 (EF_MIPS_ARCH_64R2): New.
2140 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2142 * Makeconfig (+link-pie-before-libc): New.
2143 (+link-pie-after-libc): Likewise.
2144 (+link-pie-tests): Likewise.
2145 (+link-pie): Rewritten.
2146 (link-before-libc): Remove $(config-LDFLAGS).
2147 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2148 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2149 (config-LDFLAGS): Renamed to ...
2150 (rtld-LDFLAGS): This.
2151 (rtld-tests-LDFLAGS): New macro.
2152 (link-libc-rpath-link): Likewise.
2153 (link-libc-tests-rpath-link): Likewise.
2154 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2155 (link-libc): Prepand $(link-libc-rpath-link).
2156 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2157 (test-program-prefix): New macro.
2158 (test-via-rtld-prefix): Likewise.
2159 (test-program-cmd): Likewise.
2160 (host-test-program-cmd): Likewise.
2161 * Makefile ($(common-objpfx)testrun.sh): Replace
2162 $(run-program-prefix) with $(test-program-prefix).
2163 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2165 ($(common-objpfx)shlib.lds): Likewise.
2166 (build-module-helper): Likewise.
2167 ($(common-objpfx)format.lds): Likewise.
2168 * Rules (binaries-pie-tests): New.
2169 (binaries-pie-notests): Likewise.
2170 (binaries-pie): Rewritten.
2171 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2172 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2173 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2174 (make-test-out): Replace $(host-built-program-cmd) with
2175 $(host-test-program-cmd).
2176 * config.make.in (build-hardcoded-path-in-tests): New variable.
2177 * configure.in (--enable-hardcoded-path-in-tests): New configure
2179 (hardcoded_path_in_tests): New AC_SUBST.
2180 * configure: Regenerated.
2181 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2182 $(built-program-cmd) with $(test-program-cmd).
2183 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2184 (test_program_cmd): This.
2185 * elf/Makefile ($(objpfx)order.out): Run test with
2186 $(test-program-prefix).
2187 ($(objpfx)order2.out): Likewise.
2188 ($(objpfx)tst-initorder.out): Likewise.
2189 ($(objpfx)tst-initorder2.out): Likewise.
2190 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2191 $(test-program-cmd).
2192 ($(objpfx)tst-array1-static.out): Likewise.
2193 ($(objpfx)tst-array2.out): Likewise.
2194 ($(objpfx)tst-array3.out): Likewise.
2195 ($(objpfx)tst-array4.out): Likewise.
2196 ($(objpfx)tst-array5.out): Likewise.
2197 ($(objpfx)tst-array5-static.out): Likewise.
2198 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2199 $(test-program-cmd).
2200 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2201 $(run-program-prefix) with $(test-program-prefix).
2202 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2203 (test_program_prefix): This.
2204 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2205 $(run-program-prefix) with $(test-program-prefix).
2206 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2207 (test_program_prefix): This.
2208 * iconvdata/tst-tables.sh: Likewise.
2209 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2210 $(run-program-prefix) with $(test-program-prefix).
2211 ($(objpfx)tst-translit.out): Likewise.
2212 ($(objpfx)tst-gettext2.out): Likewise.
2213 ($(objpfx)tst-gettext4.out): Likewise.
2214 ($(objpfx)tst-gettext6.out): Likewise.
2215 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2216 (test_program_prefix): This.
2217 * intl/tst-gettext2.sh: Likewise.
2218 * intl/tst-gettext4.sh Likewise.
2219 * intl/tst-gettext6.sh: Likewise.
2220 * intl/tst-translit.sh: Likewise.
2221 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2222 with $(test-program-cmd).
2223 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2224 $(run-program-prefix) with $(test-program-prefix).
2225 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2226 (test_program_prefix): This.
2227 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2228 $(run-program-prefix) with $(test-program-prefix).
2229 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2230 (test_program_prefix): This.
2231 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2232 * posix/Makefile ($(objpfx)globtest.out): Replace
2233 $(run-via-rtld-prefix) and $(test-wrapper) with
2234 $(test-program-prefix) and $(test-via-rtld-prefix).
2235 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2236 $(test-program-prefix).
2237 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2238 $(host-test-program-cmd).
2239 (tst-spawn-ARGS): Likewise.
2240 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2241 $(test-program-prefix).
2242 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2243 (test_via_rtld_prefix): This.
2244 (test_wrapper): Renamed to ...
2245 (test_program_prefix): This.
2246 (run_program_prefix): Replaced by test_program_prefix.
2247 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2248 (test_program_prefix): This.
2249 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2250 with $(host-test-program-cmd).
2251 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2252 $(run-program-prefix) with $(test-program-prefix).
2253 ($(objpfx)tst-printf.out): Likewise.
2254 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2255 $(test-program-cmd).
2256 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2257 (test_program_prefix): This.
2258 * stdio-common/tst-unbputc.sh: Likewise.
2259 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2260 $(run-program-prefix) with $(test-program-prefix).
2261 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2262 (test_program_prefix): This.
2263 * string/Makefile ($(objpfx)tst-svc.out): Replace
2264 $(built-program-cmd) with $(test-program-cmd).
2266 2013-01-11 Andreas Jaeger <aj@suse.de>
2269 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2270 value. Sync with Linux 3.7.
2272 2013-01-10 David S. Miller <davem@davemloft.net>
2274 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2275 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2276 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2278 2013-01-10 Roland McGrath <roland@hack.frob.com>
2280 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2282 * configure: Regenerated.
2284 2013-01-10 David S. Miller <davem@davemloft.net>
2286 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2287 sparc V9 rather than using V8 code.
2288 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2289 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2291 2013-01-10 Roland McGrath <roland@hack.frob.com>
2293 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2294 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2295 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2296 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2297 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2298 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2299 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2300 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2301 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2302 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2303 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2304 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2305 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2306 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2307 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2308 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2309 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2310 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2311 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2312 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2313 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2314 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2315 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2316 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2317 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2318 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2319 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2321 2013-01-10 David S. Miller <davem@davemloft.net>
2323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2325 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2327 * posix/Makefile (tests-static): New variable.
2328 (tests): Add $(tests-static).
2329 (tst-exec-static-ARGS): New variable.
2330 (tst-spawn-static-ARGS): Likewise.
2331 * posix/tst-exec-static.c: New file.
2332 * posix/tst-spawn-static.c: Likewise.
2333 * posix/tst-exec.c: Support run directly.
2334 * posix/tst-spawn.c: Likewise.
2336 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2338 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2340 * math/bits/mathcalls.h (llrint): Likewise.
2341 (llround): Likewise.
2342 * stdlib/stdlib.h (struct drand48_data): Likewise.
2343 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2344 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2345 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2347 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2349 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2350 (elf_greg_t): Likewise.
2351 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2352 (__jmp_buf): Likewise.
2353 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2355 (llrint): Likewise, for all definitions.
2356 (llrintl): Likewise.
2358 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2359 Remove [__GNUC__] condition.
2360 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2361 condition to just [__USE_ISOC99].
2362 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2364 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2367 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2368 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2370 (_POSIX_V6_ILP32_OFF32): Likewise.
2371 (_XBS5_ILP32_OFF32): Likewise.
2372 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2373 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2375 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2377 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2380 doubles __mpexp_twomm1. Adjust usage.
2381 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2384 2013-01-10 Andreas Schwab <schwab@suse.de>
2387 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2388 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2390 2013-01-09 David S. Miller <davem@davemloft.net>
2393 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2394 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2395 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2396 TCP_FASTOPEN): Define.
2397 (tcp_repair_opt): New structure.
2398 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2400 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2401 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2402 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2403 (tcp_cookie_transactions): New structure.
2405 2013-01-09 Anton Blanchard <anton@samba.org>
2407 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2408 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2409 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2410 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2412 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2414 * include/features.h (__USE_ANSI): Remove.
2416 2013-01-09 Roland McGrath <roland@hack.frob.com>
2418 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2420 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2422 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2424 * sysdeps/s390/fpu/libm-test-ulps: Update.
2426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2428 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2433 (__mp_dbl): Likewise.
2434 (__dbl_mp): Likewise.
2435 (add_magnitudes): Likewise.
2436 (sub_magnitudes): Likewise.
2442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2447 (__mp_dbl): Likewise.
2448 (__dbl_mp): Likewise.
2449 (add_magnitudes): Likewise.
2450 (sub_magnitudes): Likewise.
2456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2461 (__mp_dbl): Likewise.
2462 (__dbl_mp): Likewise.
2463 (add_magnitudes): Likewise.
2464 (sub_magnitudes): Likewise.
2471 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2473 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2474 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2475 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2476 2 && __USE_EXTERN_INLINES]: Likewise.
2478 2013-01-08 Andreas Jaeger <aj@suse.de>
2481 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2483 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2484 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2486 2013-01-07 Anton Blanchard <anton@samba.org>
2488 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2489 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2490 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2491 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2492 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2493 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2494 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2495 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2497 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2498 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2499 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2502 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2503 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2505 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2506 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2508 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2509 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2510 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2511 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2512 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2513 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2514 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2515 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2518 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2520 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2521 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2522 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2527 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2528 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2530 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2532 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2534 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2535 (__MALLOC_PMT): Likewise.
2536 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2537 [__GNUC__], only on [_LIBC].
2538 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2539 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2540 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2541 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2542 forward declaration.
2543 (realloc_hook_ini): Likewise.
2544 (memalign_hook_ini): Likewise.
2545 (__libc_memalign): Do not use __MALLOC_PMT in variable
2547 (__libc_valloc): Likewise.
2548 (__libc_pvalloc): Likewise.
2549 (__libc_calloc): Likewise.
2550 (__posix_memalign): Likewise.
2553 * math/s_casinh.c: Include <float.h>.
2554 (__casinh): Do not do computation with squaring and square root
2555 for large arguments.
2556 * math/s_casinhf.c: Include <float.h>.
2557 (__casinhf): Do not do computation with squaring and square root
2558 for large arguments.
2559 * math/s_casinhl.c: Include <float.h>.
2560 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2561 (__casinhl): Do not do computation with squaring and square root
2562 for large arguments.
2563 * math/libm-test.inc (casin_test): Add more tests.
2564 (casinh_test): Likewise.
2565 * sysdeps/i386/fpu/libm-test-ulps: Update.
2566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2568 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2570 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2571 (__x86_64_raw_data_cache_size): Likewise.
2572 (__x86_64_data_cache_size_half): Likewise.
2573 (__x86_64_raw_data_cache_size_half): Likewise.
2574 (__x86_64_shared_cache_size): Likewise.
2575 (__x86_64_raw_shared_cache_size): Likewise.
2576 (__x86_64_shared_cache_size_half): Likewise.
2577 (__x86_64_raw_shared_cache_size_half): Likewise.
2578 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2580 (__x86_data_cache_size): This.
2581 (__x86_64_raw_data_cache_size): Renamed to ...
2582 (__x86_raw_data_cache_size): This.
2583 (__x86_64_data_cache_size_half): Renamed to ...
2584 (__x86_data_cache_size_half): This.
2585 (__x86_64_raw_data_cache_size_half): Renamed to ...
2586 (__x86_raw_data_cache_size_half): This.
2587 (__x86_64_shared_cache_size): Renamed to ...
2588 (__x86_shared_cache_size): This.
2589 (__x86_64_raw_shared_cache_size): Renamed to ...
2590 (__x86_raw_shared_cache_size): This.
2591 (__x86_64_shared_cache_size_half): Renamed to ...
2592 (__x86_shared_cache_size_half): This.
2593 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2594 (__x86_raw_shared_cache_size_half): This.
2595 * sysdeps/x86_64/memcpy.S: Updated.
2596 * sysdeps/x86_64/memset.S: Likewise.
2597 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2598 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2599 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2601 2013-01-04 David S. Miller <davem@davemloft.net>
2603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2605 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2607 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2608 1 to avoid redefinition warning.
2609 (__USE_GNU): Don't define.
2610 (init_signaling_nan): Protoize.
2612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2614 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2616 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2618 (__cpymn): Likewise.
2619 (norm): Remove commented code.
2621 (__mp_dbl): Likewise.
2623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2624 (__cpymn): Likewise.
2625 (norm): Remove commented code.
2627 (__mp_dbl): Likewise.
2630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2631 mp_no value for 1.0 and 2.0.
2632 (norm): Use RADIXI instead of radixi.d.
2634 (__mul): Use 0.0 instead of zero.d.
2635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2636 mp_no value for 1.0 and 2.0.
2637 (norm): Use RADIXI instead of radixi.d.
2639 (__mul): Use 0.0 instead of zero.d.
2641 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2644 * math/s_casinh.c (__casinh): Reduce finite argument to first
2645 quadrant then set signs of results at the end.
2646 * math/s_casinhf.c (__casinhf): Likewise.
2647 * math/s_casinhl.c (__casinhl): Likewise.
2648 * math/libm-test.inc (casin_test): Add more tests.
2649 (casinh_test): Likewise.
2650 * sysdeps/i386/fpu/libm-test-ulps: Update.
2651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2653 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2655 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2657 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2659 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2662 (__mp_dbl): Likewise.
2665 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2666 and adjust the header comment.
2668 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2669 variable name from declaration.
2671 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2674 Initialize COMMON_CPUID_INDEX_7 element.
2675 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2676 (CPUID_RTM): Likewise.
2677 (HAS_RTM): Likewise.
2678 (COMMON_CPUID_INDEX_7): New enum.
2680 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2683 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2684 size is zero, record memory as freed.
2686 2013-01-03 Andreas Jaeger <aj@suse.de>
2688 * po/ia.po: Add new Interlingua translation.
2690 2012-01-03 Allan McRae <allan@archlinux.org>
2692 * locale/programs/localedef.c: Fix description of '--posix' flag.
2694 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2696 * NEWS: Update dates in second copyright notice.
2697 * README: Update copyright dates in example.
2698 * manual/libc.texinfo: Update copyright dates.
2699 * scripts/test-installation.pl: Update copyright date in --version
2702 * hurd/ctty-input.c: Fix copyright notice formatting.
2703 * hurd/ctty-output.c: Likewise.
2704 * hurd/dtable.c: Likewise.
2705 * hurd/hurd-raise.c: Likewise.
2706 * hurd/hurdprio.c: Likewise.
2707 * hurd/msgportdemux.c: Likewise.
2708 * misc/sys/file.h: Likewise.
2709 * misc/sys/ioctl.h: Likewise.
2710 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2711 * sysdeps/mach/hurd/chdir.c: Likewise.
2712 * sysdeps/mach/hurd/fchdir.c: Likewise.
2713 * sysdeps/mach/hurd/rename.c: Likewise.
2714 * sysdeps/mach/hurd/rmdir.c: Likewise.
2715 * sysdeps/mach/hurd/seekdir.c: Likewise.
2716 * sysdeps/mach/hurd/setsid.c: Likewise.
2717 * sysdeps/posix/wait3.c: Likewise.
2719 * All files with FSF copyright notices: Update copyright dates
2720 using scripts/update-copyrights.
2721 * intl/plural.c: Regenerated.
2722 * locale/programs/charmap-kw.h: Likewise.
2723 * locale/programs/locfile-kw.h: Likewise.
2725 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2727 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2730 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2731 calculation loop and add branch prediction.
2733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2734 check access beyond bounds of m1np.
2736 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2738 (__inv): Remove local variable MPTWO to use the global
2740 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2741 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2743 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2744 MP3HALFS static const.
2746 2013-01-01 David S. Miller <davem@davemloft.net>
2748 * po/ca.po: Update from translation team.
2750 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2752 * scripts/update-copyrights: New file.
2753 * Makeconfig: Reformat copyright notice.
2754 * ctype/ctype.h: Likewise.
2755 * debug/swprintf_chk.c: Likewise.
2756 * elf/dl-cache.c: Likewise.
2757 * elf/dl-debug.c: Likewise.
2758 * elf/dl-object.c: Likewise.
2759 * grp/initgroups.c: Likewise.
2760 * hurd/Makefile: Likewise.
2761 * hurd/hurd/signal.h: Likewise.
2762 * hurd/hurdfault.c: Likewise.
2763 * hurd/hurdioctl.c: Likewise.
2764 * hurd/hurdlookup.c: Likewise.
2765 * hurd/intr-msg.c: Likewise.
2766 * iconv/gconv_open.c: Likewise.
2767 * libio/swprintf.c: Likewise.
2768 * locale/lc-ctype.c: Likewise.
2769 * locale/nl_langinfo.c: Likewise.
2770 * mach/Machrules: Likewise.
2771 * mach/Makefile: Likewise.
2772 * malloc/obstack.h: Likewise.
2773 * manual/Makefile: Likewise.
2774 * manual/tsort.awk: Likewise.
2775 * misc/bits/stab.def: Likewise.
2776 * nis/nis_print_group_entry.c: Likewise.
2777 * nis/nis_table.c: Likewise.
2778 * nis/nss_compat/compat-pwd.c: Likewise.
2779 * nis/nss_compat/compat-spwd.c: Likewise.
2780 * po/Makefile: Likewise.
2781 * posix/fnmatch.c: Likewise.
2782 * posix/regex.h: Likewise.
2783 * resolv/Makefile: Likewise.
2784 * resolv/nss_dns/dns-network.c: Likewise.
2785 * resolv/res_hconf.c: Likewise.
2786 * scripts/gen-sorted.awk: Likewise.
2787 * soft-fp/soft-fp.h: Likewise.
2788 * stdio-common/printf.h: Likewise.
2789 * stdlib/monetary.h: Likewise.
2790 * stdlib/random.c: Likewise.
2791 * stdlib/random_r.c: Likewise.
2792 * sysdeps/generic/Makefile: Likewise.
2793 * sysdeps/gnu/Makefile: Likewise.
2794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2818 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2822 * sysdeps/mach/hurd/errnos.awk: Likewise.
2823 * sysdeps/mach/hurd/fork.c: Likewise.
2824 * sysdeps/mach/hurd/getcwd.c: Likewise.
2825 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2826 * sysdeps/mach/hurd/mmap.c: Likewise.
2827 * sysdeps/mach/hurd/utimes.c: Likewise.
2828 * sysdeps/mach/hurd/xmknod.c: Likewise.
2829 * sysdeps/posix/profil.c: Likewise.
2830 * sysdeps/posix/readdir_r.c: Likewise.
2831 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2832 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2833 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2834 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2836 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2837 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2838 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2840 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2842 * sysdeps/pthread/lio_listio.c: Likewise.
2843 * sysdeps/sparc/dl-procinfo.h: Likewise.
2844 * sysdeps/unix/i386/sysdep.S: Likewise.
2845 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2846 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2847 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2848 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2850 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2851 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2852 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2853 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2854 * sysdeps/wordsize-32/divdi3.c: Likewise.
2855 * time/sys/time.h: Likewise.
2856 * wcsmbs/Makefile: Likewise.
2858 2013-01-01 David S. Miller <davem@davemloft.net>
2860 * po/fr.po: Update from translation team.
2862 * catgets/gencat.c: Update copyright year.
2863 * csu/version.c: Likewise.
2864 * debug/catchsegv.sh: Likewise.
2865 * debug/pcprofiledump.c: Likewise.
2866 * debug/xtrace.sh: Likewise.
2867 * elf/ldconfig.c: Likewise.
2868 * elf/ldd.bash.in: Likewise.
2869 * elf/pldd.c: Likewise.
2870 * elf/sotruss.ksh: Likewise.
2871 * elf/sprof.c: Likewise.
2872 * iconv/iconv_prog.c: Likewise.
2873 * iconv/iconvconfig.c: Likewise.
2874 * locale/programs/locale.c: Likewise.
2875 * locale/programs/localedef.c: Likewise.
2876 * login/programs/pt_chown.c: Likewise.
2877 * malloc/memusage.sh: Likewise.
2878 * malloc/memusagestat.c: Likewise.
2879 * malloc/mtrace.pl: Likewise.
2880 * nscd/nscd.c: Likewise.
2881 * nss/getent.c: Likewise.
2882 * nss/makedb.c: Likewise.
2883 * posix/getconf.c: Likewise.
2885 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2887 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2890 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2892 * math/bits/mathcalls.h (modf): Use __nonnull.
2894 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2896 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2897 (split): Use macro CN instead of the bare value.
2898 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2901 instead of the bare value.
2904 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2906 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2908 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2910 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2912 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2914 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2915 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2917 2012-12-28 Andreas Jaeger <aj@suse.de>
2919 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2920 values are from Linux 3.7.
2922 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2923 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2925 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2927 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2930 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2932 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2933 variables with preprocessor constants.
2934 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2935 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2936 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2938 2012-12-27 Bruno Haible <bruno@clisp.org>
2941 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2944 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2947 and use variable directly.
2948 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2950 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2952 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2955 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2957 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2958 include directive. Remove local variable MPONE.
2959 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2960 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2961 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2963 2012-12-25 David S. Miller <davem@davemloft.net>
2965 * version.h (RELEASE): Set to "development".
2966 (VERSION): Set to "2.17.90".
2967 * NEWS: Add 2.18 section.
2969 2012-12-21 David S. Miller <davem@davemloft.net>
2971 * po/hr.po: Update from translation team.
2973 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2975 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2977 2012-12-19 Steve Ellcey <sellcey@mips.com>
2979 * NEWS: Mention new memcpy for MIPS.
2981 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2983 * manual/contrib.texi (Contributors): Spelling correction.
2985 2012-12-15 David S. Miller <davem@davemloft.net>
2987 * po/ru.po: Update from translation team.
2989 2012-12-13 David S. Miller <davem@davemloft.net>
2991 * NEWS: Mention IFUNC testsuite enhancements.
2993 * po/pl.po: Update from translation team.
2994 * po/bg.po: Likewise.
2996 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2997 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2999 2012-12-11 David S. Miller <davem@davemloft.net>
3001 * po/sv.po: Update from translation team.
3003 * po/vi.po: Update from translation team.
3005 * po/cs.po: Update from translation team.
3007 * po/de.po: Update from translation team.
3008 * po/eo.po: Likewise.
3009 * po/nl.po: Likewise.
3011 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3014 * manual/argp.texi (Argp Helper Functions): Move node to follow
3018 * manual/conf.texi (Limits on File System Capacity): Mention if
3019 terminating null is included in the max size.
3021 2012-12-10 Andreas Jaeger <aj@suse.de>
3023 * po/cs.po: Update from translation team.
3025 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3027 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3028 void pointer and cast to uintptr_t.
3029 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3031 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3032 * sysdeps/s390/s390-64/memset.S: Likewise.
3034 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3037 * menual/message.texi (Message Translation): Fix typos.
3038 (Helper programs for gettext): Likewise.
3040 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3043 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3046 2012-12-07 David S. Miller <davem@davemloft.net>
3048 * po/libc.pot: Update.
3050 2012-12-07 Richard Henderson <rth@redhat.com>
3053 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3054 normal/normal case to before the switch.
3055 (_FP_DIV): Likewise.
3057 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3058 Mike Frysinger <vapier@gentoo.org>
3060 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3061 check for __NR_fadvise64_64.
3063 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3065 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3066 0, not just to plain "0" as a statement.
3067 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3070 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3072 * NEWS: Use sourceware.org in Bugzilla URL.
3074 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3077 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3079 * stdio-common/tst-put-error.c (do_test): Add newline to the
3080 padded test to ensure flush.
3082 2012-12-05 Jeff Law <law@redhat.com>
3084 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3086 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3088 * README: Don't refer to ports add-on as distributed separately.
3089 Mention AArch64 in list of systems supported in the ports add-on.
3091 * LICENSES: Add more non-FSF copyright and license notices.
3093 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3096 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3098 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3099 10000 as width of padded output.
3101 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3103 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3105 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3106 variable LX with __attribute__ ((unused)).
3107 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3109 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3110 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3111 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3112 with __attribute__ ((unused)).
3114 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3116 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3118 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3120 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3121 (CFLAGS-nldbl-acos.c): New variable.
3122 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3208 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3209 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3210 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3211 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3212 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3213 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3214 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3215 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3216 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3217 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3218 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3221 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3225 whole low double instead of just low 47 bits when splitting values
3228 2012-12-03 Allan McRae <allan@archlinux.org>
3230 * manual/stdio.texi (Predefined Printf Handlers): Remove
3231 @hsep and @vsep usage.
3233 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3235 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3236 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3238 2012-12-03 Jeff Law <law@redhat.com>
3240 * time/sys/time.h (settimeofday): Do not mark TV argument
3243 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3245 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3246 when currently writing and seek to current position when not.
3247 * libio/Makefile (tests): Remove bug-fclose1.
3248 * libio/bug-fclose1.c: Delete.
3250 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3252 * manual/arith.texi (feenableexcept): Fix typo.
3253 (fedisableexcept): Likewise.
3255 2012-11-30 Roland McGrath <roland@hack.frob.com>
3257 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3258 second, differently-typed declaration, rather than a cast.
3260 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3262 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3263 * include/rpc/svc.h: ... here.
3265 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3268 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3269 depending n and resplen2 to catch cases where answer
3272 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3274 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3275 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3277 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3279 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3281 2012-11-29 Roland McGrath <roland@hack.frob.com>
3283 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3285 2012-11-28 Jeff Law <law@redhat.com>
3288 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3289 dataset_temporary. Track alloca usage into alloca_used.
3290 If dataset is large allocate and release it via malloc/free.
3292 2012-06-04 Florian Weimer <fweimer@redhat.com>
3295 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3297 2012-11-28 David S. Miller <davem@davemloft.net>
3299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3301 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3304 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3305 of pi/2 rounded to nearest to 64 bits.
3306 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3308 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3311 2012-11-28 Jeff Law <law@redhat.com>
3312 Martin Osvald <mosvald@redhat.com>
3315 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3316 * sunrpc/svc.c: Include time.h.
3317 (__svc_accept_failed): New function.
3318 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3319 any reason other than EINTR, call __svc_accept_failed.
3320 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3321 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3323 2012-11-28 Andreas Schwab <schwab@suse.de>
3325 * scripts/abilist.awk: Also handle indirect functions in .opd
3328 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3331 * sysdeps/x86/fpu/powl_helper.c: New file.
3332 * sysdeps/x86/fpu/Makefile: Likewise.
3333 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3335 (__ieee754_powl): Use __powl_helper for finite arguments except
3336 integer exponents below 8.
3337 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3339 (__ieee754_powl): Use __powl_helper for finite arguments except
3340 integer exponents below 8.
3341 * math/libm-test.inc (pow_test): Add more tests and enable some
3342 previously disabled tests.
3343 * sysdeps/i386/fpu/libm-test-ulps: Update.
3344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3346 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3347 Carlos O'Donell <carlos_odonell@mentor.com>
3349 * nss/makedb.c (is_prime): Assert that input is odd and greater
3350 than 4. Note that fact in a comment too.
3351 (next_prime): Add 4 to input.
3353 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3356 * libio/Makefile (tests): Add test case tst-fwrite-error.
3357 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3358 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3359 * libio/tst-fwrite-error.c: New test case.
3361 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3363 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3364 before casting to void *.
3365 * include/libc-internal.h (__pointer_type): New macro.
3366 (__integer_if_pointer_type_sub): Likewise.
3367 (__integer_if_pointer_type): Likewise.
3368 (cast_to_integer): Likewise.
3369 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3370 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3371 before casting to atomic64_t.
3372 (atomic_exchange_acq): Likewise.
3373 (__arch_exchange_and_add_body): Likewise.
3374 (__arch_add_body): Likewise.
3375 (atomic_add_negative): Likewise.
3376 (atomic_add_zero): Likewise.
3378 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3380 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3381 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3382 (add_fdes): Likewise.
3383 (linear_search_fdes): Likewise.
3384 (binary_search_unencoded_fdes): Likewise.
3386 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3388 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3390 2012-11-24 Adam Conrad <adconrad@0c3.net>
3392 * configure.in: Autodetect C++ header directories.
3393 * configure: Regenerated.
3395 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3397 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3399 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3403 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3405 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3406 LDBL_MANT_DIG == 106]: Disable some tests.
3407 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3409 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3413 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3414 input for small inputs. Return +/- pi/2 for large inputs.
3415 * math/libm-test.inc (atan_test): Add more tests.
3417 * sysdeps/generic/unwind-dw2-fde-glibc.c
3418 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3419 __attribute__ ((unused)).
3422 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3423 x * y if x and y are nonzero and z is zero.
3426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3427 nonzero exponents with absolute value below 0x1p-117 to +/-
3431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3432 up arguments below 2**-450, not just those below 2**-500.
3433 * math/libm-test.inc (hypot_test): Add another test.
3436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3437 Return a+b for ratio over 2**120, not 2**60.
3438 * math/libm-test.inc (hypot_test): Add another test.
3440 * math/libm-test.inc (clog_test): Use
3441 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3442 (clog10_test): Likewise.
3445 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3447 2012-11-22 Andreas Schwab <schwab@suse.de>
3449 * sysdeps/i386/fpu/libm-test-ulps: Update.
3451 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3453 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3454 printf output with newline.
3456 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3459 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3460 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3461 -z nodlopen, -z initfirst and -z execstack support.
3462 * configure: Regenerated.
3464 * elf/elf.h (DF_1_NODIRECT): New macro.
3465 (DF_1_IGNMULDEF): Likewise.
3466 (DF_1_NOKSYMS): Likewise.
3467 (DF_1_NOHDR): Likewise.
3468 (DF_1_EDITED): Likewise.
3469 (DF_1_NORELOC): Likewise.
3470 (DF_1_SYMINTPOSE): Likewise.
3471 (DF_1_GLOBAUDIT): Likewise.
3472 (DF_1_SINGLETON): Likewise.
3473 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3474 DT_1_SUPPORTED_MASK bits.
3475 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3477 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3479 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3481 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3483 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3486 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3487 (sendmmsg): Move declarations...
3488 * socket/sys/socket.h: ... here.
3489 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3490 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3492 * socket/recvmmsg.c: ... this new file.
3493 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3494 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3495 definition of __sendmmsg hidden.
3496 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3497 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3498 Move ENOSYS stub into and include it from...
3499 * socket/sendmmsg.c: ... this new file.
3500 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3501 (sysdep_routines): Move recvmmsg and sendmmsg...
3502 * socket/Makefile (routines): ... here.
3503 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3504 (GLIBC_PRIVATE): Add __sendmmsg.
3505 * include/sys/socket.h (__sendmmsg): Add declarations.
3506 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3509 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3511 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3512 variable I1 with __attribute__ ((unused)).
3513 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3515 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3517 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3518 DUMMY variables with __attribute__ ((unused)).
3520 * bits/byteswap.h: Include <bits/types.h>.
3521 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3523 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3525 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3526 string_t. Do not manually set errno.
3527 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3528 length with __strnlen. Make sure to both set errno and return it on
3531 2012-11-19 David S. Miller <davem@davemloft.net>
3533 With help from Joseph Myers.
3534 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3535 very large arguments properly.
3536 * math/libm-test.inc (atan_test): New tests.
3537 (atan2_test): New tests.
3538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3541 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3544 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3547 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3548 [POSIX] (EADDRNOTAVAIL): Likewise.
3549 [POSIX] (EAFNOSUPPORT): Likewise.
3550 [POSIX] (EALREADY): Likewise.
3551 [POSIX] (ECONNABORTED): Likewise.
3552 [POSIX] (ECONNREFUSED): Likewise.
3553 [POSIX] (ECONNRESET): Likewise.
3554 [POSIX] (EDESTADDRREQ): Likewise.
3555 [POSIX] (EDQUOT): Likewise.
3556 [POSIX] (EHOSTUNREACH): Likewise.
3557 [POSIX] (EIDRM): Likewise.
3558 [POSIX] (EISCONN): Likewise.
3559 [POSIX] (ELOOP): Likewise.
3560 [POSIX] (EMULTIHOP): Likewise.
3561 [POSIX] (ENETDOWN): Likewise.
3562 [POSIX] (ENETUNREACH): Likewise.
3563 [POSIX] (ENOBUFS): Likewise.
3564 [POSIX] (ENODATA): Likewise.
3565 [POSIX] (ENOLINK): Likewise.
3566 [POSIX] (ENOMSG): Likewise.
3567 [POSIX] (ENOPROTOOPT): Likewise.
3568 [POSIX] (ENOSR): Likewise.
3569 [POSIX] (ENOSTR): Likewise.
3570 [POSIX] (ENOTCONN): Likewise.
3571 [POSIX] (ENOTSOCK): Likewise.
3572 [POSIX] (EOPNOTSUPP): Likewise.
3573 [POSIX] (EOVERFLOW): Likewise.
3574 [POSIX] (EPROTO): Likewise.
3575 [POSIX] (EPROTONOSUPPORT): Likewise.
3576 [POSIX] (EPROTOTYPE): Likewise.
3577 [POSIX] (ESTALE): Likewise.
3578 [POSIX] (ETIME): Likewise.
3579 [POSIX] (ETXTBSY): Likewise.
3580 [POSIX] (EWOULDBLOCK): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3582 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3583 [POSIX] (SEEK_CUR): Likewise.
3584 [POSIX] (SEEK_END): Likewise.
3585 [POSIX || UNIX98] (mode_t): Do not require.
3586 [POSIX] (off_t): Likewise.
3587 [POSIX] (pid_t): Likewise.
3588 [POSIX] (sys/stat.h): Do not allow header.
3589 [POSIX] (unistd.h): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3591 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3593 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3595 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3596 sigevent): Specify elements.
3597 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3599 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3600 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3602 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3603 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3604 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3605 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3606 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3607 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3608 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3609 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3611 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3612 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3613 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3614 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3615 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3617 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3619 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3621 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3623 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3624 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3625 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3626 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3628 Specify lower bound on value.
3629 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3635 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3636 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3638 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3640 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3657 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3659 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3666 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3667 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3668 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3671 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3672 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3674 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3675 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3676 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3677 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3678 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3679 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3680 specify as optional.
3681 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3682 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3683 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3684 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3685 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3686 [XPG3] (NL_LANGMAX): Likewise.
3687 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3688 [POSIX || XPG3] (NL_NMAX): Likewise.
3689 [POSIX || XPG3] (NL_SETMAX): Likewise.
3690 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3691 [XPG3] (NZERO): Likewise.
3692 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3693 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3694 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3695 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3696 (REG_ERANGE): Expect.
3697 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3699 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3700 Use (void) in prototype.
3701 [POSIX] (*_t): Allow.
3702 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3703 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3704 (WRDE_BADVAL): Expect.
3706 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3708 [XPG3 || XPG4] (O_RSYNC): Likewise.
3709 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3711 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3712 [XPG3 || XPG4] (sigqueue): Likewise.
3713 [XPG3 || XPG4] (sigtimedwait): Likewise.
3714 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3715 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3716 [XPG3 || XPG4] (vsnprintf): Likewise.
3717 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3719 [XPG3 || XPG4] (blksize_t): Likewise.
3720 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3722 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3723 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3724 [XPG3 || XPG4] (struct itimerspec): Likewise.
3725 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3726 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3727 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3728 [XPG3 || XPG4] (clockid_t): Likewise.
3729 [XPG3 || XPG4] (timer_t): Likewise.
3730 [XPG3 || XPG4] (clock_getres): Likewise.
3731 [XPG3 || XPG4] (clock_gettime): Likewise.
3732 [XPG3 || XPG4] (clock_settime): Likewise.
3733 [XPG3 || XPG4] (nanosleep): Likewise.
3734 [XPG3 || XPG4] (timer_create): Likewise.
3735 [XPG3 || XPG4] (timer_delete): Likewise.
3736 [XPG3 || XPG4] (timer_gettime): Likewise.
3737 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3738 [XPG3 || XPG4] (timer_settime): Likewise.
3739 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3740 [XPG3 || XPG4] (getlogin_r): Likewise.
3741 [XPG3 || XPG4] (pread): Likewise.
3742 [XPG3 || XPG4] (pthread_atfork): Likewise.
3743 [XPG3 || XPG4] (pwrite): Likewise.
3746 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3749 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3751 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3752 finalizing MALLSTREAM.
3754 * sysdeps/mach/hurd/syncfs.c: New file.
3756 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3759 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3760 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3761 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3762 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3763 (_nss_dns_gethostbyname4_r): Likewise.
3764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3765 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3767 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3770 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3772 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3774 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3775 * elf/cache.c (print_entry): Print ",AArch64" for
3778 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3779 * elf/cache.c (print_entry): Print ",hard-float" for
3782 2012-11-18 David S. Miller <davem@davemloft.net>
3784 With help from Joseph Myers.
3785 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3787 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3789 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3790 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3792 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3793 * math/libm-test.inc (y0_test): New tests.
3794 (y1_test): New tests.
3795 * sysdeps/i386/fpu/libm-test-ulps: Update.
3796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3799 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3801 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3803 * configure: Regenerated.
3805 2012-11-17 David S. Miller <davem@davemloft.net>
3808 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3809 nonzero exponents with absolute value below 0x1p-128 to +/-
3812 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3814 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3816 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3818 * posix/getconf-speclist.c: New file.
3819 * posix/posix-envs.def: Likewise.
3820 * posix/confstr.c (START_ENV_GROUP): New macro.
3821 (END_ENV_GROUP): Likewise.
3822 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3823 (KNOWN_PRESENT_ENV_STRING): Likewise.
3824 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3825 (UNKNOWN_ENVIRONMENT): Likewise.
3826 (confstr): Include posix-envs.def instead of handling
3827 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3828 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3829 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3830 (END_ENV_GROUP): Likewise.
3831 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3832 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3833 (UNKNOWN_ENVIRONMENT): Likewise.
3834 (__sysconf): Include posix-envs.def instead of handling associated
3835 cases directly here.
3836 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3837 preprocessing getconf-speclist.c rather than running getconf or
3838 generating empty file.
3840 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3842 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3844 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3847 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3849 2012-11-16 David S. Miller <davem@davemloft.net>
3851 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3852 smaller than LDBL_EPSILON/2.0L, just return xm1.
3854 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3856 * elf/tst-array1.c (init): Set constructor priority to 1000.
3857 (fini): Set destructor priority to 1000.
3858 * elf/tst-array2dep.c: Likewise.
3860 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3863 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3864 (_IO_new_file_xsputn): Also return EOF if none of the input
3865 data was written when overflow failed.
3866 * libio/iopadn.c (_IO_padn): Likewise.
3867 * libio/iowpadn.c (_IO_wpadn): Likewise.
3868 * stdio-common/tst-put-error.c: Add copyright notice.
3869 (do_test): Add case for printing padded string.
3870 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3871 _IO_padn returned error.
3872 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3873 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3876 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3878 * libio/libioP.h: Add comment note that the references to C++
3879 bits are now obsolete.
3881 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3883 * math/libm-test.inc (check_complex): Use asprintf.
3885 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3887 * debug/pcprofiledump.c (print_version): Update copyright year.
3888 * malloc/memusagestat.c (print_version): Likewise.
3890 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3893 * elf/Makefile (tests): Add tst-audit8.
3894 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3895 ($(objpfx)tst-audit8.out): New target.
3896 (tst-audit8-ENV): New variable.
3897 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3898 audit if l_reloc_result is NULL.
3899 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3900 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3901 * elf/tst-audit8.c: New file.
3903 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3905 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3906 * misc/Makefile (CFLAGS-select.c): Define.
3907 * posix/Makefile (CFLAGS-pause.c): Define.
3909 2012-11-13 David S. Miller <davem@davemloft.net>
3911 * crypt/Makefile: Move test targets after toplevel Rules
3912 inclusion. Grab any necessary sysdep routines when linking.
3913 * crypt/md5.c (md5_process_block): Remove define, we will always
3914 name it __md5_process_block.
3915 (md5_finish_ctx): Update md5_process_block call.
3916 (md5_stream): Likewise.
3917 (md5_process_bytes): Likewise.
3918 (md5_process_block): Rename to __md5_process_block and move to ...
3919 * crypt/md5-block.c: ... here.
3920 * crypt/sha256.c (sha256_process_block): Move to ...
3921 * crypt/sha256-block.c: ... here.
3922 * crypt/sha512.c (sha512_process_block): Move to ...
3923 * crypt/sha512-block.c: ... here.
3924 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3926 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3927 * sysdeps/sparc/sparc64/multiarch/Makefile
3928 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3930 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3931 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3933 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3934 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3935 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3936 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3937 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3938 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3939 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3940 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3941 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3943 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3944 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3946 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3948 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3950 * timezone/tzselect.ksh: Update from tzcode git revision
3951 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3952 * timezone/zdump.c: Likewise.
3953 * timezone/zic.c: Likewise.
3954 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3955 in TZVERSION setting, not $(PKGVERSION).
3956 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3957 REPORT_BUGS_TO settings.
3960 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3963 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3965 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3966 detection to immediately after _FP_ROUND().
3967 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3970 2012-11-11 David S. Miller <davem@davemloft.net>
3972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3974 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3975 __close rather than their public counterparts.
3977 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3979 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3981 [UNIX98] (sem_timedwait): Do not expect.
3982 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3983 [XPG4 || UNIX98] (sockatmark): Do not expect.
3984 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3985 (clock_getcpuclockid): Do not expect.
3986 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3987 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3989 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3990 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3991 [UNIX98] (vwscanf): Likewise.
3992 [UNIX98] (vswscanf): Likewise.
3994 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3996 * timezone/version.h: Remove file.
3997 * timezone/README: Do not refer to version.h.
3998 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4000 ($(objpfx)zdump.o): Likewise.
4001 ($(objpfx)version.h): New target.
4003 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4005 * timezone/README: Don't mention modification to tzselect.ksh.
4006 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4007 work on unmodified tzselect.ksh. Substitute version numbers in
4010 * Makefile (format-me): Remove.
4011 (INSTALL): Adjust indentation. Use commands directly instead of
4014 * aclocal.m4 (ACX_PKGVERSION): New macro.
4015 (ACX_BUGURL): Likewise.
4016 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4017 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4018 (REPORT_BUGS_TO): Likewise.
4019 * configure: Regenerated.
4020 * config.h.in (PKGVERSION): New macro.
4021 (REPORT_BUGS_TO): Likewise.
4022 * config.make.in (PKGVERSION): New variable.
4023 (PKGVERSION_TEXI): Likewise.
4024 (REPORT_BUGS_TO): Likewise.
4025 (REPORT_BUGS_TEXI): Likewise.
4026 * Makefile (format-me): Use -I$(common-objpfx)manual.
4027 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4028 ($(common-objpfx)manual/%): New target.
4029 (manual/%): Remove target.
4030 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4031 (print_version): Use PKGVERSION.
4032 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4033 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4035 ($(objpfx)xtrace): Likewise.
4036 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4037 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4038 (print_version): Use PKGVERSION.
4039 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4040 (do_version): Use PKGVERSION.
4041 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4043 (common-ldd-rewrite): Likewise.
4044 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4045 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4046 (print_version): Use PKGVERSION.
4047 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4048 * elf/pldd.c (argp_program_bug_address): Remove variable.
4049 (more_help): New function.
4050 (argp): Use more_help.
4051 (print_version): Use PKGVERSION.
4052 * elf/sln.c (main): Use PKGVERSION.
4053 (usage): Use REPORT_BUGS_TO.
4054 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4055 (top level): Use PKGVERSION.
4056 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4057 (print_version): Use PKGVERSION.
4058 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4059 (print_version): Use PKGVERSION.
4060 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4061 (print_version): Use PKGVERSION.
4062 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4063 (print_version): Use PKGVERSION.
4064 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4065 (print_version): Use PKGVERSION.
4066 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4067 (print_version): Use PKGVERSION.
4068 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4070 ($(objpfx)memusage): Likewise.
4071 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4072 (do_version): Use PKGVERSION.
4073 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4074 (print_version): Use PKGVERSION.
4075 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4076 ($PKGVERSION): New variable.
4077 ($REPORT_BUGS_TO): Likewise.
4078 (usage): Use $REPORT_BUGS_TO.
4079 (top level): Use $PKGVERSION.
4080 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4081 ($(objpfx)pkgvers.texi): New rule.
4082 ($(objpfx)stamp-pkgvers): Likewise.
4083 * manual/install.texi: Include pkgvers.texi.
4084 (--with-pkgversion): Document new configure option.
4085 (--with-bugurl): Likewise.
4086 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4087 than necessarily for this particular distribution. Use
4088 REPORT_BUGS_TO for where to report bugs.
4089 * INSTALL: Regenerated.
4090 * manual/libc.texinfo: Include pkgvers.texi.
4091 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4092 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4093 (print_version): Use PKGVERSION.
4094 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4095 (print_version): Use PKGVERSION.
4096 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4097 (print_version): Use PKGVERSION.
4098 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4099 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4101 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4102 (print_version): Use PKGVERSION.
4103 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4104 (print_version): Use PKGVERSION.
4105 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4108 * timezone/checktab.awk: Update from tzcode 2012i.
4109 * timezone/ialloc.c: Likewise.
4110 * timezone/private.h: Likewise.
4111 * timezone/scheck.c: Likewise.
4112 * timezone/tzfile.h: Likewise.
4113 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4114 (TZVERSION): Hardcode tzcode version number.
4115 * timezone/zdump.c: Update from tzcode 2012i.
4116 * timezone/zic.c: Likewise.
4117 * timezone/version.h: New file.
4118 * timezone/README: Describe version.h. Update upstream location.
4121 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4122 (mktemp): Enable declaration.
4123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4140 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4141 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4142 for copies of such integer values.
4143 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4144 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4146 2012-11-09 Andreas Jaeger <aj@suse.de>
4148 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4149 definitions and declarations that are provided by
4150 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4152 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4154 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4155 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4156 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4159 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4161 * elf/elf.h: Update comment before AArch64 relocations.
4163 2012-11-07 David S. Miller <davem@davemloft.net>
4165 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4166 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4167 (__start_context): Declare.
4168 (__makecontext_ret): Delete.
4169 (__makecontext): Hook up __start_context instead of
4171 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4172 (sysdep_routines): Add __start_context when in stdlib.
4174 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4176 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4177 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4178 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4180 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4181 (READELF): New variable. Use it instead of hardcoded "readelf".
4183 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4185 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4186 * sysdeps/x86/Makefile: Here.
4187 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4188 * sysdeps/x86/tst-xmmymm.sh: This.
4190 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4192 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4194 [UNIX98] (pthread_barrier_t): Do not expect.
4195 [UNIX98] (pthread_barrierattr_t): Likewise.
4196 [UNIX98] (pthread_spinlock_t): Likewise.
4197 [UNIX98] (pthread_barrier_destroy): Likewise.
4198 [UNIX98] (pthread_barrier_init): Likewise.
4199 [UNIX98] (pthread_barrier_wait): Likewise.
4200 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4201 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4202 [UNIX98] (pthread_barrierattr_init): Likewise.
4203 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4204 [UNIX98] (pthread_getcpuclockid): Likewise.
4205 [UNIX98] (pthread_mutex_timedlock): Likewise.
4206 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4207 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4208 [UNIX98] (pthread_sigmask): Likewise.
4209 [UNIX98] (pthread_spin_destroy): Likewise.
4210 [UNIX98] (pthread_spin_init): Likewise.
4211 [UNIX98] (pthread_spin_lock): Likewise.
4212 [UNIX98] (pthread_spin_trylock): Likewise.
4213 [UNIX98] (pthread_spin_unlock): Likewise.
4214 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4216 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4218 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4219 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4220 [XPG3 || XPG4] (pthread_key_t): Likewise.
4221 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4222 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4223 [XPG3 || XPG4] (pthread_once_t): Likewise.
4224 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4225 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4227 [XPG3 || XPG4] (pthread_t): Likewise.
4229 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4231 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4233 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4234 Change function return type to int.
4236 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4237 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4238 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4239 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4240 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4241 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4242 [!POSIX] (posix_madvise): Likewise.
4243 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4245 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4246 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4248 (posix_mem_offset): Likewise.
4249 (posix_typed_mem_get_info): Likewise.
4250 (posix_typed_mem_open): Likewise.
4252 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4253 Change condition to [XOPEN2K8].
4255 * conform/conformtest.pl: Preprocess allow-header data with -x c
4256 instead of from stdin.
4257 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4258 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4259 [C99-based standards] (cerfc): Likewise.
4260 [C99-based standards] (cexp2): Likewise.
4261 [C99-based standards] (cexpm1): Likewise.
4262 [C99-based standards] (clog10): Likewise.
4263 [C99-based standards] (clog1p): Likewise.
4264 [C99-based standards] (clog2): Likewise.
4265 [C99-based standards] (clgamma): Likewise.
4266 [C99-based standards] (ctgamma): Likewise.
4267 [C99-based standards] (cerff): Likewise.
4268 [C99-based standards] (cerfcf): Likewise.
4269 [C99-based standards] (cexp2f): Likewise.
4270 [C99-based standards] (cexpm1f): Likewise.
4271 [C99-based standards] (clog10f): Likewise.
4272 [C99-based standards] (clog1pf): Likewise.
4273 [C99-based standards] (clog2f): Likewise.
4274 [C99-based standards] (clgammaf): Likewise.
4275 [C99-based standards] (ctgammaf): Likewise.
4276 [C99-based standards] (cerfl): Likewise.
4277 [C99-based standards] (cerfcl): Likewise.
4278 [C99-based standards] (cexp2l): Likewise.
4279 [C99-based standards] (cexpm1l): Likewise.
4280 [C99-based standards] (clog10l): Likewise.
4281 [C99-based standards] (clog1pl): Likewise.
4282 [C99-based standards] (clog2l): Likewise.
4283 [C99-based standards] (clgammal): Likewise.
4284 [C99-based standards] (ctgammal): Likewise.
4285 * conform/data/inttypes.h-data [C99-based standards]: Include
4286 stdint.h-data. Remove all expectations for stdint.h contents.
4287 [C99-based standards] (PRI*): Do not allow.
4288 [C99-based standards] (SCN*): Likewise.
4289 [C99-based standards] (*_t): Likewise.
4290 [C99-based-standards] (PRId8): Expect macro.
4291 [C99-based-standards] (PRIi8): Likewise.
4292 [C99-based-standards] (PRIo8): Likewise.
4293 [C99-based-standards] (PRIu8): Likewise.
4294 [C99-based-standards] (PRIx8): Likewise.
4295 [C99-based-standards] (PRIX8): Likewise.
4296 [C99-based-standards] (SCNd8): Likewise.
4297 [C99-based-standards] (SCNi8): Likewise.
4298 [C99-based-standards] (SCNo8): Likewise.
4299 [C99-based-standards] (SCNu8): Likewise.
4300 [C99-based-standards] (SCNx8): Likewise.
4301 [C99-based-standards] (PRIdLEAST8): Likewise.
4302 [C99-based-standards] (PRIiLEAST8): Likewise.
4303 [C99-based-standards] (PRIoLEAST8): Likewise.
4304 [C99-based-standards] (PRIuLEAST8): Likewise.
4305 [C99-based-standards] (PRIxLEAST8): Likewise.
4306 [C99-based-standards] (PRIXLEAST8): Likewise.
4307 [C99-based-standards] (SCNdLEAST8): Likewise.
4308 [C99-based-standards] (SCNiLEAST8): Likewise.
4309 [C99-based-standards] (SCNoLEAST8): Likewise.
4310 [C99-based-standards] (SCNuLEAST8): Likewise.
4311 [C99-based-standards] (SCNxLEAST8): Likewise.
4312 [C99-based-standards] (PRIdFAST8): Likewise.
4313 [C99-based-standards] (PRIiFAST8): Likewise.
4314 [C99-based-standards] (PRIoFAST8): Likewise.
4315 [C99-based-standards] (PRIuFAST8): Likewise.
4316 [C99-based-standards] (PRIxFAST8): Likewise.
4317 [C99-based-standards] (PRIXFAST8): Likewise.
4318 [C99-based-standards] (SCNdFAST8): Likewise.
4319 [C99-based-standards] (SCNiFAST8): Likewise.
4320 [C99-based-standards] (SCNoFAST8): Likewise.
4321 [C99-based-standards] (SCNuFAST8): Likewise.
4322 [C99-based-standards] (SCNxFAST8): Likewise.
4323 [C99-based-standards] (PRId16): Likewise.
4324 [C99-based-standards] (PRIi16): Likewise.
4325 [C99-based-standards] (PRIo16): Likewise.
4326 [C99-based-standards] (PRIu16): Likewise.
4327 [C99-based-standards] (PRIx16): Likewise.
4328 [C99-based-standards] (PRIX16): Likewise.
4329 [C99-based-standards] (SCNd16): Likewise.
4330 [C99-based-standards] (SCNi16): Likewise.
4331 [C99-based-standards] (SCNo16): Likewise.
4332 [C99-based-standards] (SCNu16): Likewise.
4333 [C99-based-standards] (SCNx16): Likewise.
4334 [C99-based-standards] (PRIdLEAST16): Likewise.
4335 [C99-based-standards] (PRIiLEAST16): Likewise.
4336 [C99-based-standards] (PRIoLEAST16): Likewise.
4337 [C99-based-standards] (PRIuLEAST16): Likewise.
4338 [C99-based-standards] (PRIxLEAST16): Likewise.
4339 [C99-based-standards] (PRIXLEAST16): Likewise.
4340 [C99-based-standards] (SCNdLEAST16): Likewise.
4341 [C99-based-standards] (SCNiLEAST16): Likewise.
4342 [C99-based-standards] (SCNoLEAST16): Likewise.
4343 [C99-based-standards] (SCNuLEAST16): Likewise.
4344 [C99-based-standards] (SCNxLEAST16): Likewise.
4345 [C99-based-standards] (PRIdFAST16): Likewise.
4346 [C99-based-standards] (PRIiFAST16): Likewise.
4347 [C99-based-standards] (PRIoFAST16): Likewise.
4348 [C99-based-standards] (PRIuFAST16): Likewise.
4349 [C99-based-standards] (PRIxFAST16): Likewise.
4350 [C99-based-standards] (PRIXFAST16): Likewise.
4351 [C99-based-standards] (SCNdFAST16): Likewise.
4352 [C99-based-standards] (SCNiFAST16): Likewise.
4353 [C99-based-standards] (SCNoFAST16): Likewise.
4354 [C99-based-standards] (SCNuFAST16): Likewise.
4355 [C99-based-standards] (SCNxFAST16): Likewise.
4356 [C99-based-standards] (PRId32): Likewise.
4357 [C99-based-standards] (PRIi32): Likewise.
4358 [C99-based-standards] (PRIo32): Likewise.
4359 [C99-based-standards] (PRIu32): Likewise.
4360 [C99-based-standards] (PRIx32): Likewise.
4361 [C99-based-standards] (PRIX32): Likewise.
4362 [C99-based-standards] (SCNd32): Likewise.
4363 [C99-based-standards] (SCNi32): Likewise.
4364 [C99-based-standards] (SCNo32): Likewise.
4365 [C99-based-standards] (SCNu32): Likewise.
4366 [C99-based-standards] (SCNx32): Likewise.
4367 [C99-based-standards] (PRIdLEAST32): Likewise.
4368 [C99-based-standards] (PRIiLEAST32): Likewise.
4369 [C99-based-standards] (PRIoLEAST32): Likewise.
4370 [C99-based-standards] (PRIuLEAST32): Likewise.
4371 [C99-based-standards] (PRIxLEAST32): Likewise.
4372 [C99-based-standards] (PRIXLEAST32): Likewise.
4373 [C99-based-standards] (SCNdLEAST32): Likewise.
4374 [C99-based-standards] (SCNiLEAST32): Likewise.
4375 [C99-based-standards] (SCNoLEAST32): Likewise.
4376 [C99-based-standards] (SCNuLEAST32): Likewise.
4377 [C99-based-standards] (SCNxLEAST32): Likewise.
4378 [C99-based-standards] (PRIdFAST32): Likewise.
4379 [C99-based-standards] (PRIiFAST32): Likewise.
4380 [C99-based-standards] (PRIoFAST32): Likewise.
4381 [C99-based-standards] (PRIuFAST32): Likewise.
4382 [C99-based-standards] (PRIxFAST32): Likewise.
4383 [C99-based-standards] (PRIXFAST32): Likewise.
4384 [C99-based-standards] (SCNdFAST32): Likewise.
4385 [C99-based-standards] (SCNiFAST32): Likewise.
4386 [C99-based-standards] (SCNoFAST32): Likewise.
4387 [C99-based-standards] (SCNuFAST32): Likewise.
4388 [C99-based-standards] (SCNxFAST32): Likewise.
4389 [C99-based-standards] (PRId64): Likewise.
4390 [C99-based-standards] (PRIi64): Likewise.
4391 [C99-based-standards] (PRIo64): Likewise.
4392 [C99-based-standards] (PRIu64): Likewise.
4393 [C99-based-standards] (PRIx64): Likewise.
4394 [C99-based-standards] (PRIX64): Likewise.
4395 [C99-based-standards] (SCNd64): Likewise.
4396 [C99-based-standards] (SCNi64): Likewise.
4397 [C99-based-standards] (SCNo64): Likewise.
4398 [C99-based-standards] (SCNu64): Likewise.
4399 [C99-based-standards] (SCNx64): Likewise.
4400 [C99-based-standards] (PRIdLEAST64): Likewise.
4401 [C99-based-standards] (PRIiLEAST64): Likewise.
4402 [C99-based-standards] (PRIoLEAST64): Likewise.
4403 [C99-based-standards] (PRIuLEAST64): Likewise.
4404 [C99-based-standards] (PRIxLEAST64): Likewise.
4405 [C99-based-standards] (PRIXLEAST64): Likewise.
4406 [C99-based-standards] (SCNdLEAST64): Likewise.
4407 [C99-based-standards] (SCNiLEAST64): Likewise.
4408 [C99-based-standards] (SCNoLEAST64): Likewise.
4409 [C99-based-standards] (SCNuLEAST64): Likewise.
4410 [C99-based-standards] (SCNxLEAST64): Likewise.
4411 [C99-based-standards] (PRIdFAST64): Likewise.
4412 [C99-based-standards] (PRIiFAST64): Likewise.
4413 [C99-based-standards] (PRIoFAST64): Likewise.
4414 [C99-based-standards] (PRIuFAST64): Likewise.
4415 [C99-based-standards] (PRIxFAST64): Likewise.
4416 [C99-based-standards] (PRIXFAST64): Likewise.
4417 [C99-based-standards] (SCNdFAST64): Likewise.
4418 [C99-based-standards] (SCNiFAST64): Likewise.
4419 [C99-based-standards] (SCNoFAST64): Likewise.
4420 [C99-based-standards] (SCNuFAST64): Likewise.
4421 [C99-based-standards] (SCNxFAST64): Likewise.
4422 [C99-based-standards] (PRIdMAX): Likewise.
4423 [C99-based-standards] (PRIiMAX): Likewise.
4424 [C99-based-standards] (PRIoMAX): Likewise.
4425 [C99-based-standards] (PRIuMAX): Likewise.
4426 [C99-based-standards] (PRIxMAX): Likewise.
4427 [C99-based-standards] (PRIXMAX): Likewise.
4428 [C99-based-standards] (SCNdMAX): Likewise.
4429 [C99-based-standards] (SCNiMAX): Likewise.
4430 [C99-based-standards] (SCNoMAX): Likewise.
4431 [C99-based-standards] (SCNuMAX): Likewise.
4432 [C99-based-standards] (SCNxMAX): Likewise.
4433 [C99-based-standards] (PRIdPTR): Likewise.
4434 [C99-based-standards] (PRIiPTR): Likewise.
4435 [C99-based-standards] (PRIoPTR): Likewise.
4436 [C99-based-standards] (PRIuPTR): Likewise.
4437 [C99-based-standards] (PRIxPTR): Likewise.
4438 [C99-based-standards] (PRIXPTR): Likewise.
4439 [C99-based-standards] (SCNdPTR): Likewise.
4440 [C99-based-standards] (SCNiPTR): Likewise.
4441 [C99-based-standards] (SCNoPTR): Likewise.
4442 [C99-based-standards] (SCNuPTR): Likewise.
4443 [C99-based-standards] (SCNxPTR): Likewise.
4444 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4446 * conform/data/stdint.h-data: Update comments to clarify
4448 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4450 [C99-based standards] (INT8_MAX): Likewise.
4451 [C99-based standards] (INT16_MIN): Likewise.
4452 [C99-based standards] (INT16_MAX): Likewise.
4453 [C99-based standards] (INT32_MIN): Likewise.
4454 [C99-based standards] (INT32_MAX): Likewise.
4455 [C99-based standards] (INT64_MIN): Likewise.
4456 [C99-based standards] (INT64_MAX): Likewise.
4457 [C99-based standards] (UINT8_MAX): Likewise.
4458 [C99-based standards] (UINT16_MAX): Likewise.
4459 [C99-based standards] (UINT32_MAX): Likewise.
4460 [C99-based standards] (UINT64_MAX): Likewise.
4461 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4462 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4463 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4464 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4465 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4466 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4467 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4468 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4469 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4470 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4471 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4472 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4473 [C99-based standards] (INT_FAST8_MIN): Likewise.
4474 [C99-based standards] (INT_FAST8_MAX): Likewise.
4475 [C99-based standards] (INT_FAST16_MIN): Likewise.
4476 [C99-based standards] (INT_FAST16_MAX): Likewise.
4477 [C99-based standards] (INT_FAST32_MIN): Likewise.
4478 [C99-based standards] (INT_FAST32_MAX): Likewise.
4479 [C99-based standards] (INT_FAST64_MIN): Likewise.
4480 [C99-based standards] (INT_FAST64_MAX): Likewise.
4481 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4482 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4483 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4484 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4485 [C99-based standards] (INTPTR_MIN): Likewise.
4486 [C99-based standards] (INTPTR_MAX): Likewise.
4487 [C99-based standards] (UINTPTR_MAX): Likewise.
4488 [C99-based standards] (INTMAX_MIN): Likewise.
4489 [C99-based standards] (INTMAX_MAX): Likewise.
4490 [C99-based standards] (UINTMAX_MAX): Likewise.
4491 [C99-based standards] (PTRDIFF_MIN): Likewise.
4492 [C99-based standards] (PTRDIFF_MAX): Likewise.
4493 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4494 [C99-based standards] (SIZE_MAX): Likewise.
4495 [C99-based standards] (WCHAR_MAX): Likewise.
4496 [C99-based standards] (WINT_MAX): Likewise.
4497 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4498 constraint on value.
4499 [C99-based standards] (WCHAR_MIN): Likewise.
4500 [C99-based standards] (WINT_MIN): Likewise.
4501 [C99-based standards] (*_t): Allow.
4502 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4503 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4504 Include math.h-data and complex.h-data. Remove all expectations
4505 of math.h and complex.h contents.
4506 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4508 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4509 (struct tm): Expect tag.
4510 [C99-based-standards] (wcstof): Expect function.
4511 [C99-based-standards] (wcstold): Likewise.
4512 [C99-based-standards] (wcstoll): Likewise.
4513 [C99-based-standards] (wcstoull): Likewise.
4514 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4515 macro-int-constant. Specify type.
4516 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4517 constraint on value.
4518 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4520 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4522 [ISO C standards]: Do not allow headers.
4523 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4524 wcs[abcdefghijklmnopqrstuvwxyz]*.
4525 [ISO C standards] (*_t): Do not allow.
4526 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4528 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4529 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4531 [ISO C standards]: Do not allow headers.
4532 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4533 is[abcdefghijklmnopqrstuvwxyz]*.
4534 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4535 to[abcdefghijklmnopqrstuvwxyz]*.
4536 [ISO C standards] (*_t): Do not allow.
4537 * conform/data/stdalign.h-data: New file.
4538 * conform/data/stdbool.h-data: Likewise.
4539 * conform/data/stdnoreturn.h-data: Likewise.
4541 2012-11-07 Roland McGrath <roland@hack.frob.com>
4544 * manual/filesys.texi (Directory Entries): Typo fix.
4545 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4547 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4549 * elf/elf.h (EM_AARCH64): New macro.
4550 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4551 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4552 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4553 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4554 (R_AARCH64_TLSDESC): Likewise.
4555 (NT_ARM_TLS): Likewise.
4556 (NT_ARM_HW_BREAK): Likewise.
4557 (NT_ARM_HW_WATCH): Likewise.
4559 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4562 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4563 (__ieee754_powl): Saturate nonzero exponents with absolute value
4564 below 0x1p-79 to +/- 0x1p-79.
4565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4566 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4567 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4568 nonzero exponents with absolute value below 0x1p-32 to +/-
4570 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4571 (__ieee754_powl): Saturate nonzero exponents with absolute value
4572 below 0x1p-79 to +/- 0x1p-79.
4573 * math/libm-test.inc (pow_test): Add more tests.
4575 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4577 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4578 _dl_s390_cap_flags with kernel. Increase string length.
4579 (_dl_s390_platforms): Add z196 and zEC12.
4581 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4583 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4584 Change XOPEN21K to XOPEN2K.
4586 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4588 * string/memmove.c: Use memcpy when possible.
4590 2012-11-06 Andreas Jaeger <aj@suse.de>
4592 * po/eo.po: Update from translation team.
4594 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4598 exponent and small x and y exponents, scale x or y up. Increase
4599 by 2 the exponent used in scaling up.
4600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4601 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4602 * math/libm-test.inc (fma_test): Add more tests.
4603 (fma_test_towardzero): Likewise.
4604 (fma_test_downward): Likewise.
4605 (fma_test_upward): Likewise.
4607 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4610 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4614 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4615 namespace for names of struct fields.
4616 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4618 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4619 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4621 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4624 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4626 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4628 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4632 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4635 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4639 definitely overflow as x * y not x * y + z.
4640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4641 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4642 * math/libm-test.inc (fma_test): Add more tests.
4643 (fma_test_towardzero): Likewise.
4644 (fma_test_downward): Likewise.
4645 (fma_test_upward): Likewise.
4647 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4651 * include/stub-tag.h: Remove file.
4652 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4654 * manual/maint.texi (Porting): Don't reference it.
4655 * Makerules ($(objpfx)stubs): Likewise.
4656 * dirent/closedir.c: Don't include <stub-tag.h>.
4657 * dirent/dirfd.c: Likewise.
4658 * dirent/fdopendir.c: Likewise.
4659 * dirent/getdents.c: Likewise.
4660 * dirent/getdents64.c: Likewise.
4661 * dirent/opendir.c: Likewise.
4662 * dirent/readdir.c: Likewise.
4663 * dirent/readdir64.c: Likewise.
4664 * dirent/readdir64_r.c: Likewise.
4665 * dirent/readdir_r.c: Likewise.
4666 * dirent/rewinddir.c: Likewise.
4667 * dirent/seekdir.c: Likewise.
4668 * dirent/telldir.c: Likewise.
4669 * gmon/profil.c: Likewise.
4670 * grp/setgroups.c: Likewise.
4671 * inet/if_index.c: Likewise.
4672 * io/access.c: Likewise.
4673 * io/chdir.c: Likewise.
4674 * io/chmod.c: Likewise.
4675 * io/chown.c: Likewise.
4676 * io/close.c: Likewise.
4677 * io/dup.c: Likewise.
4678 * io/dup2.c: Likewise.
4679 * io/dup3.c: Likewise.
4680 * io/euidaccess.c: Likewise.
4681 * io/faccessat.c: Likewise.
4682 * io/fchdir.c: Likewise.
4683 * io/fchmod.c: Likewise.
4684 * io/fchmodat.c: Likewise.
4685 * io/fchown.c: Likewise.
4686 * io/fchownat.c: Likewise.
4687 * io/fcntl.c: Likewise.
4688 * io/flock.c: Likewise.
4689 * io/fstatfs.c: Likewise.
4690 * io/fstatfs64.c: Likewise.
4691 * io/fstatvfs.c: Likewise.
4692 * io/fstatvfs64.c: Likewise.
4693 * io/futimens.c: Likewise.
4694 * io/fxstat.c: Likewise.
4695 * io/fxstat64.c: Likewise.
4696 * io/fxstatat.c: Likewise.
4697 * io/fxstatat64.c: Likewise.
4698 * io/getcwd.c: Likewise.
4699 * io/isatty.c: Likewise.
4700 * io/lchmod.c: Likewise.
4701 * io/lchown.c: Likewise.
4702 * io/link.c: Likewise.
4703 * io/linkat.c: Likewise.
4704 * io/lseek.c: Likewise.
4705 * io/lseek64.c: Likewise.
4706 * io/lxstat64.c: Likewise.
4707 * io/mkdir.c: Likewise.
4708 * io/mkdirat.c: Likewise.
4709 * io/mkfifo.c: Likewise.
4710 * io/mkfifoat.c: Likewise.
4711 * io/open.c: Likewise.
4712 * io/open64.c: Likewise.
4713 * io/openat.c: Likewise.
4714 * io/openat64.c: Likewise.
4715 * io/pipe.c: Likewise.
4716 * io/pipe2.c: Likewise.
4717 * io/poll.c: Likewise.
4718 * io/posix_fadvise.c: Likewise.
4719 * io/posix_fadvise64.c: Likewise.
4720 * io/posix_fallocate.c: Likewise.
4721 * io/posix_fallocate64.c: Likewise.
4722 * io/read.c: Likewise.
4723 * io/readlink.c: Likewise.
4724 * io/readlinkat.c: Likewise.
4725 * io/rmdir.c: Likewise.
4726 * io/sendfile.c: Likewise.
4727 * io/sendfile64.c: Likewise.
4728 * io/statfs.c: Likewise.
4729 * io/statfs64.c: Likewise.
4730 * io/statvfs.c: Likewise.
4731 * io/statvfs64.c: Likewise.
4732 * io/symlink.c: Likewise.
4733 * io/symlinkat.c: Likewise.
4734 * io/ttyname.c: Likewise.
4735 * io/ttyname_r.c: Likewise.
4736 * io/umask.c: Likewise.
4737 * io/unlink.c: Likewise.
4738 * io/unlinkat.c: Likewise.
4739 * io/utime.c: Likewise.
4740 * io/utimensat.c: Likewise.
4741 * io/write.c: Likewise.
4742 * io/xmknod.c: Likewise.
4743 * io/xmknodat.c: Likewise.
4744 * io/xstat.c: Likewise.
4745 * io/xstat64.c: Likewise.
4746 * login/getpt.c: Likewise.
4747 * login/grantpt.c: Likewise.
4748 * login/unlockpt.c: Likewise.
4749 * math/e_acoshl.c: Likewise.
4750 * math/e_acosl.c: Likewise.
4751 * math/e_asinl.c: Likewise.
4752 * math/e_atan2l.c: Likewise.
4753 * math/e_atanhl.c: Likewise.
4754 * math/e_coshl.c: Likewise.
4755 * math/e_expl.c: Likewise.
4756 * math/e_fmodl.c: Likewise.
4757 * math/e_gammal_r.c: Likewise.
4758 * math/e_hypotl.c: Likewise.
4759 * math/e_j0l.c: Likewise.
4760 * math/e_j1l.c: Likewise.
4761 * math/e_jnl.c: Likewise.
4762 * math/e_lgammal_r.c: Likewise.
4763 * math/e_log10l.c: Likewise.
4764 * math/e_log2l.c: Likewise.
4765 * math/e_logl.c: Likewise.
4766 * math/e_powl.c: Likewise.
4767 * math/e_rem_pio2l.c: Likewise.
4768 * math/e_sinhl.c: Likewise.
4769 * math/e_sqrtl.c: Likewise.
4770 * math/fclrexcpt.c: Likewise.
4771 * math/fedisblxcpt.c: Likewise.
4772 * math/feenablxcpt.c: Likewise.
4773 * math/fegetenv.c: Likewise.
4774 * math/fegetexcept.c: Likewise.
4775 * math/fegetround.c: Likewise.
4776 * math/feholdexcpt.c: Likewise.
4777 * math/fesetenv.c: Likewise.
4778 * math/fesetround.c: Likewise.
4779 * math/feupdateenv.c: Likewise.
4780 * math/fgetexcptflg.c: Likewise.
4781 * math/fraiseexcpt.c: Likewise.
4782 * math/fsetexcptflg.c: Likewise.
4783 * math/ftestexcept.c: Likewise.
4784 * math/k_cosl.c: Likewise.
4785 * math/k_rem_pio2l.c: Likewise.
4786 * math/k_sinl.c: Likewise.
4787 * math/k_tanl.c: Likewise.
4788 * math/s_asinhl.c: Likewise.
4789 * math/s_atanl.c: Likewise.
4790 * math/s_cbrtl.c: Likewise.
4791 * math/s_erfl.c: Likewise.
4792 * math/s_expm1l.c: Likewise.
4793 * math/s_log1pl.c: Likewise.
4794 * math/s_tanhl.c: Likewise.
4795 * misc/acct.c: Likewise.
4796 * misc/brk.c: Likewise.
4797 * misc/chflags.c: Likewise.
4798 * misc/chroot.c: Likewise.
4799 * misc/fchflags.c: Likewise.
4800 * misc/fgetxattr.c: Likewise.
4801 * misc/flistxattr.c: Likewise.
4802 * misc/fremovexattr.c: Likewise.
4803 * misc/fsetxattr.c: Likewise.
4804 * misc/fsync.c: Likewise.
4805 * misc/ftruncate.c: Likewise.
4806 * misc/futimes.c: Likewise.
4807 * misc/futimesat.c: Likewise.
4808 * misc/getdomain.c: Likewise.
4809 * misc/getdtsz.c: Likewise.
4810 * misc/gethostid.c: Likewise.
4811 * misc/gethostname.c: Likewise.
4812 * misc/getloadavg.c: Likewise.
4813 * misc/getpagesize.c: Likewise.
4814 * misc/getsysstats.c: Likewise.
4815 * misc/getxattr.c: Likewise.
4816 * misc/gtty.c: Likewise.
4817 * misc/ioctl.c: Likewise.
4818 * misc/lgetxattr.c: Likewise.
4819 * misc/listxattr.c: Likewise.
4820 * misc/llistxattr.c: Likewise.
4821 * misc/lremovexattr.c: Likewise.
4822 * misc/lsetxattr.c: Likewise.
4823 * misc/lutimes.c: Likewise.
4824 * misc/madvise.c: Likewise.
4825 * misc/mincore.c: Likewise.
4826 * misc/mlock.c: Likewise.
4827 * misc/mlockall.c: Likewise.
4828 * misc/mmap.c: Likewise.
4829 * misc/mprotect.c: Likewise.
4830 * misc/msync.c: Likewise.
4831 * misc/munlock.c: Likewise.
4832 * misc/munlockall.c: Likewise.
4833 * misc/munmap.c: Likewise.
4834 * misc/preadv.c: Likewise.
4835 * misc/preadv64.c: Likewise.
4836 * misc/ptrace.c: Likewise.
4837 * misc/pwritev.c: Likewise.
4838 * misc/pwritev64.c: Likewise.
4839 * misc/readv.c: Likewise.
4840 * misc/reboot.c: Likewise.
4841 * misc/remap_file_pages.c: Likewise.
4842 * misc/removexattr.c: Likewise.
4843 * misc/revoke.c: Likewise.
4844 * misc/select.c: Likewise.
4845 * misc/setdomain.c: Likewise.
4846 * misc/setegid.c: Likewise.
4847 * misc/seteuid.c: Likewise.
4848 * misc/sethostid.c: Likewise.
4849 * misc/sethostname.c: Likewise.
4850 * misc/setregid.c: Likewise.
4851 * misc/setreuid.c: Likewise.
4852 * misc/setxattr.c: Likewise.
4853 * misc/sstk.c: Likewise.
4854 * misc/stty.c: Likewise.
4855 * misc/swapoff.c: Likewise.
4856 * misc/swapon.c: Likewise.
4857 * misc/sync.c: Likewise.
4858 * misc/syncfs.c: Likewise.
4859 * misc/syscall.c: Likewise.
4860 * misc/truncate.c: Likewise.
4861 * misc/ualarm.c: Likewise.
4862 * misc/usleep.c: Likewise.
4863 * misc/ustat.c: Likewise.
4864 * misc/utimes.c: Likewise.
4865 * misc/vhangup.c: Likewise.
4866 * misc/writev.c: Likewise.
4867 * posix/_exit.c: Likewise.
4868 * posix/alarm.c: Likewise.
4869 * posix/execve.c: Likewise.
4870 * posix/fexecve.c: Likewise.
4871 * posix/fork.c: Likewise.
4872 * posix/fpathconf.c: Likewise.
4873 * posix/getaddrinfo.c: Likewise.
4874 * posix/getegid.c: Likewise.
4875 * posix/geteuid.c: Likewise.
4876 * posix/getgid.c: Likewise.
4877 * posix/getgroups.c: Likewise.
4878 * posix/getlogin.c: Likewise.
4879 * posix/getlogin_r.c: Likewise.
4880 * posix/getpgid.c: Likewise.
4881 * posix/getpid.c: Likewise.
4882 * posix/getppid.c: Likewise.
4883 * posix/getresgid.c: Likewise.
4884 * posix/getresuid.c: Likewise.
4885 * posix/getsid.c: Likewise.
4886 * posix/getuid.c: Likewise.
4887 * posix/glob64.c: Likewise.
4888 * posix/nanosleep.c: Likewise.
4889 * posix/pathconf.c: Likewise.
4890 * posix/pause.c: Likewise.
4891 * posix/posix_madvise.c: Likewise.
4892 * posix/pread.c: Likewise.
4893 * posix/pread64.c: Likewise.
4894 * posix/pwrite.c: Likewise.
4895 * posix/pwrite64.c: Likewise.
4896 * posix/sched_getaffinity.c: Likewise.
4897 * posix/sched_getp.c: Likewise.
4898 * posix/sched_gets.c: Likewise.
4899 * posix/sched_primax.c: Likewise.
4900 * posix/sched_primin.c: Likewise.
4901 * posix/sched_rr_gi.c: Likewise.
4902 * posix/sched_setaffinity.c: Likewise.
4903 * posix/sched_setp.c: Likewise.
4904 * posix/sched_sets.c: Likewise.
4905 * posix/sched_yield.c: Likewise.
4906 * posix/setgid.c: Likewise.
4907 * posix/setlogin.c: Likewise.
4908 * posix/setpgid.c: Likewise.
4909 * posix/setresgid.c: Likewise.
4910 * posix/setresuid.c: Likewise.
4911 * posix/setsid.c: Likewise.
4912 * posix/setuid.c: Likewise.
4913 * posix/sleep.c: Likewise.
4914 * posix/spawni.c: Likewise.
4915 * posix/sysconf.c: Likewise.
4916 * posix/times.c: Likewise.
4917 * posix/wait.c: Likewise.
4918 * posix/wait3.c: Likewise.
4919 * posix/wait4.c: Likewise.
4920 * posix/waitpid.c: Likewise.
4921 * resolv/gai_sigqueue.c: Likewise.
4922 * resource/getpriority.c: Likewise.
4923 * resource/getrlimit.c: Likewise.
4924 * resource/getrusage.c: Likewise.
4925 * resource/nice.c: Likewise.
4926 * resource/setpriority.c: Likewise.
4927 * resource/setrlimit.c: Likewise.
4928 * resource/ulimit.c: Likewise.
4929 * rt/aio_cancel.c: Likewise.
4930 * rt/aio_fsync.c: Likewise.
4931 * rt/aio_read.c: Likewise.
4932 * rt/aio_sigqueue.c: Likewise.
4933 * rt/aio_suspend.c: Likewise.
4934 * rt/aio_write.c: Likewise.
4935 * rt/clock_getres.c: Likewise.
4936 * rt/clock_gettime.c: Likewise.
4937 * rt/clock_nanosleep.c: Likewise.
4938 * rt/clock_settime.c: Likewise.
4939 * rt/lio_listio.c: Likewise.
4940 * rt/mq_close.c: Likewise.
4941 * rt/mq_getattr.c: Likewise.
4942 * rt/mq_notify.c: Likewise.
4943 * rt/mq_open.c: Likewise.
4944 * rt/mq_receive.c: Likewise.
4945 * rt/mq_send.c: Likewise.
4946 * rt/mq_setattr.c: Likewise.
4947 * rt/mq_timedreceive.c: Likewise.
4948 * rt/mq_timedsend.c: Likewise.
4949 * rt/mq_unlink.c: Likewise.
4950 * rt/shm_open.c: Likewise.
4951 * rt/shm_unlink.c: Likewise.
4952 * rt/timer_create.c: Likewise.
4953 * rt/timer_delete.c: Likewise.
4954 * rt/timer_getoverr.c: Likewise.
4955 * rt/timer_gettime.c: Likewise.
4956 * rt/timer_settime.c: Likewise.
4957 * setjmp/__longjmp.c: Likewise.
4958 * setjmp/setjmp.c: Likewise.
4959 * signal/kill.c: Likewise.
4960 * signal/killpg.c: Likewise.
4961 * signal/raise.c: Likewise.
4962 * signal/sigaction.c: Likewise.
4963 * signal/sigaltstack.c: Likewise.
4964 * signal/sigblock.c: Likewise.
4965 * signal/sigignore.c: Likewise.
4966 * signal/sigintr.c: Likewise.
4967 * signal/signal.c: Likewise.
4968 * signal/sigpause.c: Likewise.
4969 * signal/sigpending.c: Likewise.
4970 * signal/sigqueue.c: Likewise.
4971 * signal/sigreturn.c: Likewise.
4972 * signal/sigset.c: Likewise.
4973 * signal/sigsetmask.c: Likewise.
4974 * signal/sigstack.c: Likewise.
4975 * signal/sigsuspend.c: Likewise.
4976 * signal/sigtimedwait.c: Likewise.
4977 * signal/sigvec.c: Likewise.
4978 * signal/sigwait.c: Likewise.
4979 * signal/sigwaitinfo.c: Likewise.
4980 * signal/sysv_signal.c: Likewise.
4981 * socket/accept.c: Likewise.
4982 * socket/accept4.c: Likewise.
4983 * socket/bind.c: Likewise.
4984 * socket/connect.c: Likewise.
4985 * socket/getpeername.c: Likewise.
4986 * socket/getsockname.c: Likewise.
4987 * socket/getsockopt.c: Likewise.
4988 * socket/isfdtype.c: Likewise.
4989 * socket/listen.c: Likewise.
4990 * socket/recv.c: Likewise.
4991 * socket/recvfrom.c: Likewise.
4992 * socket/recvmsg.c: Likewise.
4993 * socket/send.c: Likewise.
4994 * socket/sendmsg.c: Likewise.
4995 * socket/sendto.c: Likewise.
4996 * socket/setsockopt.c: Likewise.
4997 * socket/shutdown.c: Likewise.
4998 * socket/sockatmark.c: Likewise.
4999 * socket/socket.c: Likewise.
5000 * socket/socketpair.c: Likewise.
5001 * stdio-common/ctermid.c: Likewise.
5002 * stdio-common/cuserid.c: Likewise.
5003 * stdio-common/remove.c: Likewise.
5004 * stdio-common/rename.c: Likewise.
5005 * stdio-common/renameat.c: Likewise.
5006 * stdio-common/tempname.c: Likewise.
5007 * stdlib/getcontext.c: Likewise.
5008 * stdlib/makecontext.c: Likewise.
5009 * stdlib/setcontext.c: Likewise.
5010 * stdlib/swapcontext.c: Likewise.
5011 * stdlib/system.c: Likewise.
5012 * streams/fattach.c: Likewise.
5013 * streams/fdetach.c: Likewise.
5014 * streams/getmsg.c: Likewise.
5015 * streams/getpmsg.c: Likewise.
5016 * streams/putmsg.c: Likewise.
5017 * streams/putpmsg.c: Likewise.
5018 * sysdeps/unix/bsd/getpt.c: Likewise.
5019 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5020 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5021 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5024 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5025 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5026 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5027 * sysvipc/msgctl.c: Likewise.
5028 * sysvipc/msgget.c: Likewise.
5029 * sysvipc/msgrcv.c: Likewise.
5030 * sysvipc/msgsnd.c: Likewise.
5031 * sysvipc/semctl.c: Likewise.
5032 * sysvipc/semget.c: Likewise.
5033 * sysvipc/semop.c: Likewise.
5034 * sysvipc/semtimedop.c: Likewise.
5035 * sysvipc/shmat.c: Likewise.
5036 * sysvipc/shmctl.c: Likewise.
5037 * sysvipc/shmdt.c: Likewise.
5038 * sysvipc/shmget.c: Likewise.
5039 * termios/tcdrain.c: Likewise.
5040 * termios/tcflow.c: Likewise.
5041 * termios/tcflush.c: Likewise.
5042 * termios/tcgetattr.c: Likewise.
5043 * termios/tcgetpgrp.c: Likewise.
5044 * termios/tcsendbrk.c: Likewise.
5045 * termios/tcsetattr.c: Likewise.
5046 * termios/tcsetpgrp.c: Likewise.
5047 * time/adjtime.c: Likewise.
5048 * time/clock.c: Likewise.
5049 * time/getitimer.c: Likewise.
5050 * time/gettimeofday.c: Likewise.
5051 * time/setitimer.c: Likewise.
5052 * time/settimeofday.c: Likewise.
5053 * time/stime.c: Likewise.
5054 * time/time.c: Likewise.
5056 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5058 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5061 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5063 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5065 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5069 FE_TONEAREST before applying Dekker multiplication and Knuth
5070 addition. Clear inexact exceptions and check for exact zero
5072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5073 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5075 * math/libm-test.inc (fma_test): Add more tests.
5076 (fma_test_towardzero): Likewise.
5077 (fma_test_downward): Likewise.
5078 (fma_test_upward): Likewise.
5079 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5081 (libc_fesetround): New macro.
5082 (libc_fesetroundf): Likewise.
5083 (libc_fesetroundl): Likewise.
5084 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5086 (libc_fesetround_387): Likewise.
5087 (libc_fesetroundf): New macro.
5088 (libc_fesetround): Likewise.
5089 (libc_fesetroundl): Likewise.
5090 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5092 (libc_fesetroundf): New macro.
5093 (libc_fesetround): Likewise.
5094 (libc_fesetroundl): Likewise.
5095 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5096 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5097 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5099 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5100 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5102 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5103 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5105 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5109 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5110 integer constant usable in #if and use that to give value to enum
5112 (FE_DIVBYZERO): Likewise.
5113 (FE_UNDERFLOW): Likewise.
5114 (FE_OVERFLOW): Likewise.
5115 (FE_INVALID): Likewise.
5116 (FE_INVALID_SNAN): Likewise.
5117 (FE_INVALID_ISI): Likewise.
5118 (FE_INVALID_IDI): Likewise.
5119 (FE_INVALID_ZDZ): Likewise.
5120 (FE_INVALID_IMZ): Likewise.
5121 (FE_INVALID_COMPARE): Likewise.
5122 (FE_INVALID_SOFTWARE): Likewise.
5123 (FE_INVALID_SQRT): Likewise.
5124 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5125 (FE_TONEAREST): Likewise.
5126 (FE_TOWARDZERO): Likewise.
5127 (FE_UPWARD): Likewise.
5128 (FE_DOWNWARD): Likewise.
5129 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5130 (FE_DIVBYZERO): Likewise.
5131 (FE_OVERFLOW): Likewise.
5132 (FE_UNDERFLOW): Likewise.
5133 (FE_INEXACT): Likewise.
5134 (FE_TONEAREST): Likewise.
5135 (FE_DOWNWARD): Likewise.
5136 (FE_UPWARD): Likewise.
5137 (FE_TOWARDZERO): Likewise.
5138 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5139 (FE_UNDERFLOW): Likewise.
5140 (FE_OVERFLOW): Likewise.
5141 (FE_DIVBYZERO): Likewise.
5142 (FE_INVALID): Likewise.
5143 (FE_TONEAREST): Likewise.
5144 (FE_TOWARDZERO): Likewise.
5145 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5146 (FE_OVERFLOW): Likewise.
5147 (FE_UNDERFLOW): Likewise.
5148 (FE_DIVBYZERO): Likewise.
5149 (FE_INEXACT): Likewise.
5150 (FE_TONEAREST): Likewise.
5151 (FE_TOWARDZERO): Likewise.
5152 (FE_UPWARD): Likewise.
5153 (FE_DOWNWARD): Likewise.
5154 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5155 (FE_DIVBYZERO): Likewise.
5156 (FE_OVERFLOW): Likewise.
5157 (FE_UNDERFLOW): Likewise.
5158 (FE_INEXACT): Likewise.
5159 (FE_TONEAREST): Likewise.
5160 (FE_DOWNWARD): Likewise.
5161 (FE_UPWARD): Likewise.
5162 (FE_TOWARDZERO): Likewise.
5164 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5166 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5168 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5170 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5171 commands. Quote $PWD.
5172 (blacklist_exports): Don't use remove_newlines. Replace "declare
5174 (remove_newlines): Remove.
5176 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5178 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5179 * stdlib/stdlib.h (atof): Moved to ...
5180 * include/bits/stdlib-float.h: Here. New file.
5181 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5182 * stdlib/bits/stdlib-float.h: New file.
5183 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5185 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5188 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5190 * conform/conformtest.pl (@headers): Add fenv.h.
5191 * conform/data/fenv.h-data: New file.
5192 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5193 include of <math/fenv.h>.
5195 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5196 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5197 && !UNIX98]. Enables tests for XOPEN2K8.
5198 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5199 POSIX2008]: Likewise.
5201 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5202 (struct rusage): Do not expect type or its members.
5205 * math/math.h (FP_NAN): Define macro to integer constant usable in
5206 #if and use that to give value to enum constant.
5207 (FP_INFINITE): Likewise.
5208 (FP_ZERO): Likewise.
5209 (FP_SUBNORMAL): Likewise.
5210 (FP_NORMAL): Likewise.
5212 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5214 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5215 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5218 2012-11-02 Roland McGrath <roland@hack.frob.com>
5220 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5221 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5222 autoconf-time if not.
5223 * configure.in: Remove AC_PREREQ.
5225 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5227 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5228 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5229 of the internal implementation.
5231 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5233 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5234 except include of <misc/sys/syslog.h>.
5236 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5239 function returns with a NULL context exit with zero.
5241 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5243 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5245 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5247 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5248 (run_program_cmd): This.
5249 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5250 (tst_langinfo): New variable. Use it.
5252 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5254 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5255 floating point opcodes.
5257 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5259 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5262 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5264 * sysdeps/mach/hurd/powerpc: Remove directory.
5265 * sysdeps/mach/powerpc: Likewise.
5267 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5269 * scripts/check-local-headers.sh: Ignore c++ headers.
5271 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5273 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5274 __libc_cleanup_region_start argument.
5276 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5281 x * y using scaling, not as x * y + z.
5282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5283 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5284 * math/libm-test.inc (fma_test): Add more tests.
5285 (fma_test_towardzero): Likewise.
5286 (fma_test_downward): Likewise.
5287 (fma_test_upward): Likewise.
5289 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5291 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5293 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5295 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5298 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5300 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5302 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5309 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5312 Fix the order of the list for glibc 2.17.
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5316 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5320 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5323 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5324 for low part of x being zero before using __atanl (y).
5325 * math/libm-test.inc (atan2_test): Add another test.
5327 * manual/install.texi (Configuring and compiling): Document
5328 general use of test-wrapper and test-wrapper-env.
5329 * INSTALL: Regenerated.
5331 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5332 (__fma): Do not extract and scale down low bits on after-rounding
5333 systems when result rounded to normal precision would have normal
5335 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5336 (__fmal): Do not extract and scale down low bits on after-rounding
5337 systems when result rounded to normal precision would have normal
5339 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5340 (__fmal): Do not extract and scale down low bits on after-rounding
5341 systems when result rounded to normal precision would have normal
5343 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5345 (fma_test): Add more tests.
5346 (fma_test_towardzero): Likewise.
5347 (fma_test_downward): Likewise.
5348 (fma_test_upward): Likewise.
5350 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5352 * sysdeps/i386/tininess.h: Renamed to ...
5353 * sysdeps/x86/tininess.h: This.
5354 * sysdeps/x86_64/tininess.h: Removed.
5356 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5358 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5359 input. Use $(build-program-cmd).
5360 ($(objpfx)tst-array1-static.out): Likewise.
5361 ($(objpfx)tst-array2.out): Likewise.
5362 ($(objpfx)tst-array3.out): Likewise.
5363 ($(objpfx)tst-array4.out): Likewise.
5364 ($(objpfx)tst-array5.out): Likewise.
5365 ($(objpfx)tst-array5-static.out): Likewise.
5367 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5369 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5372 * nss/nsswitch.h (nss_interface_function): Provide new
5373 macro for use with NSS functions.
5374 * grp/initgroups.c: Use new macro.
5375 * nss/getXXbyYY.c: Likewise.
5376 * nss/getXXbyYY_r.c: Likewise.
5377 * nss/getXXent.c: Likewise.
5378 * nss/getXXent_r.c: Likewise.
5379 * sysdeps/posix/getaddrinfo.c: Likewise.
5381 2012-10-30 Andreas Jaeger <aj@suse.de>
5383 * po/ru.po: Update Russion translation from translation project.
5385 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5390 result and shift together with sticky bit instead of replicating
5391 round-to-nearest rounding.
5392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5394 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5395 missing underflow exceptions.
5396 (fma_test_towardzero): Add more tests.
5397 (fma_test_downward): Likewise.
5398 (fma_test_upward): Likewise.
5401 * sysdeps/generic/tininess.h: New file.
5402 * sysdeps/i386/tininess.h: Likewise.
5403 * sysdeps/sh/tininess.h: Likewise.
5404 * sysdeps/x86_64/tininess.h: Likewise.
5405 * stdlib/tst-strtod-underflow.c: Likewise.
5406 * stdlib/tst-tininess.c: Likewise.
5407 * stdlib/strtod_l.c: Include <tininess.h>.
5408 (round_and_return): Do not set errno for exact underflow cases.
5409 Force an underflow exception when setting errno for underflow.
5410 Determine underflow based on rounding to normal precision if
5411 TININESS_AFTER_ROUNDING.
5412 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5413 ERANGE for exact underflow cases.
5414 * stdlib/Makefile (tests): Add tst-tininess and
5415 tst-strtod-underflow.
5416 ($(objpfx)tst-tininess): Use $(link-libm).
5417 ($(objpfx)tst-strtod-underflow): Likewise.
5419 2012-10-30 Andreas Jaeger <aj@suse.de>
5422 * elf/Makefile (tests): Remove conditional for have-initfini-array
5423 since this is now always required and the variable does not exist
5425 (tests-static): Likewise.
5426 (modules-names): Likewise.
5428 * po/eo.po: Add Esperanto translation from translation project.
5430 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5431 merged with constructor/destructor.
5432 (init_array): Likewise.
5433 * elf/tst-array2dep.c (fini_array): Likewise.
5434 (init_array): Likewise.
5436 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5438 * manual/message.texi: Delete @cartouche tags.
5440 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5442 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5444 * sysdeps/mach/hurd/fsync.c: Likewise.
5446 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5447 [_POSIX_REALTIME_SIGNALS]: Change condition to
5448 [_POSIX_REALTIME_SIGNALS > 0].
5450 2012-10-27 Andreas Jaeger <aj@suse.de>
5452 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5453 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5455 [__WORDSIZE != 64]: Likewise.
5457 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5459 * iconvdata/tst-table.sh: Remove ${SHELL}.
5460 * iconvdata/tst-tables.sh: Likewise.
5462 2012-10-25 David S. Miller <davem@davemloft.net>
5464 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5465 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5470 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5471 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5472 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5475 2012-10-25 Roland McGrath <roland@hack.frob.com>
5477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5478 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5481 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5482 Jim Blandy <jimb@codesourcery.com>
5484 * scripts/cross-test-ssh.sh: New file.
5485 * manual/install.texi (Configuring and compiling): Document use of
5487 * INSTALL: Regenerated.
5489 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5491 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5494 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5496 * Makeconfig (run-program-prefix): Fix comment.
5498 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5499 Jim Blandy <jimb@codesourcery.com>
5501 * Makeconfig (test-wrapper): New variable,
5502 (test-wrapper-env): Likewise.
5503 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5504 (run-built-tests): Define to yes.
5505 (run-program-prefix): Use $(test-wrapper).
5506 (built-program-cmd): Likewise.
5507 * Rules (make-test-out): Use $(test-wrapper-env) and
5508 $(host-built-program-cmd).
5509 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5510 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5512 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5513 $(test-wrapper-env) to tst-rtld-load-self.sh.
5514 ($(objpfx)order2.out): Use $(test-wrapper).
5515 ($(objpfx)tst-initorder.out): Likewise.
5516 ($(objpfx)tst-initorder2.out): Likewise.
5517 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5518 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5519 (test_wrapper_env): New variable. Use it to run ld.so.
5520 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5521 Use it to run ld.so.
5522 (test_wrapper_env): Likewise.
5523 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5524 $(test-wrapper) to run-iconv-test.sh.
5525 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5526 (ICONV): Use $test_wrapper.
5527 * posix/Makefile ($(objpfx)globtest.out): Pass
5528 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5529 globtest.sh, not $(run-program-prefix).
5530 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5531 (test_wrapper): Likewise.
5532 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5533 set together with run_via_rtld_prefix.
5534 (run_program_prefix): Define in terms of test_wrapper and
5535 run_via_rtld_prefix.
5537 2012-10-24 Roland McGrath <roland@hack.frob.com>
5539 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5540 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5544 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5545 Declare __clock_getres, __clock_gettime, __clock_settime,
5546 __clock_nanosleep, and __clock_getcpuclockid.
5547 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5548 Remove librt_hidden_def (clock_gettime).
5549 * sysdeps/unix/clock_gettime.c: Likewise.
5550 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5551 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5552 * rt/clock_getres.c: Define __clock_getres as an alias.
5553 * sysdeps/posix/clock_getres.c: Likewise.
5554 * rt/clock_settime.c: Define __clock_settime as an alias.
5555 * sysdeps/unix/clock_settime.c: Likewise.
5556 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5557 * sysdeps/unix/clock_nanosleep.c: Likewise.
5558 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5559 * rt/clock-compat.c: New file.
5560 * rt/Makefile (librt-routines): Add clock-compat and move
5561 $(clock-routines) to ...
5562 (routines): ... here, new variable.
5563 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5564 Don't add get_clockfreq here.
5565 * rt/Versions (libc: GLIBC_2.17): New version set.
5566 Add clock_* symbols here.
5567 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5569 (GLIBC_2.17): Add clock_* symbols.
5570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5581 * NEWS: Mention the move.
5583 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5584 Use __open, __read, __close rather than their public counterparts.
5585 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5586 (__get_clockfreq_via_cpuinfo): Likewise.
5587 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5588 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5590 * config.h.in (HAVE_IFUNC): New #undef.
5591 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5593 * configure: Regenerated.
5595 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5597 * configure.in: Move READELF check to start of file.
5598 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5599 libc_cv_asm_gnu_indirect_function in the process.
5600 * configure: Regenerated.
5602 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5604 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5605 send the output to /dev/null.
5606 (libc_cv_cc_with_libunwind): Likewise.
5607 (libc_cv_as_noexecstack): Likewise.
5608 * configure: Regenerate.
5610 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5612 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5614 * posix/globtest.sh (TMPDIR): Do not set.
5615 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5616 (testout): Likewise.
5618 2012-10-24 Andreas Jaeger <aj@suse.de>
5620 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5621 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5622 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5623 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5624 posix_fadvise64, posix_fallocate64.
5626 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5627 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5628 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5630 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5632 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5635 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5636 <bits/fcntl-linux.h>.
5637 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5640 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5641 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5642 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5643 [__WORDSIZE != 64]: Likewise.
5645 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5647 * Makeconfig (run-built-tests): New variable.
5648 * Rules [$(cross-compiling) = yes]: Change condition to
5649 [$(run-built-tests) = no].
5650 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5651 to [$(run-built-tests) = yes].
5652 * elf/Makefile [$(cross-compiling) = no]: Likewise
5653 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5654 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5655 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5656 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5657 * io/Makefile [$(cross-compiling) = no]: Likewise.
5658 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5659 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5660 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5661 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5662 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5663 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5664 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5665 * string/Makefile [$(cross-compiling) = no]: Likewise.
5667 * posix/Makefile ($(objpfx)globtest.out): Pass
5668 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5669 $(rtld-installed-name).
5670 * posix/globtest.sh (elf_objpfx): Remove variable.
5671 (rtld_installed_name): Likewise.
5672 (library_path): Likewise.
5673 (run_program_prefix): New variable. Use for running globtest
5676 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5677 Joseph Myers <joseph@codesourcery.com>
5679 * Makeconfig (host-built-program-cmd): New variable.
5680 * elf/Makefile (tst-stackguard1-ARGS): Use
5681 $(host-built-program-cmd).
5682 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5683 (tst-spawn-ARGS): Likewise.
5684 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5686 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5687 Jim Blandy <jimb@codesourcery.com>
5689 * Makeconfig (run-via-rtld-prefix): New variable.
5690 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5691 (built-program-cmd): Likewise.
5693 2012-10-22 Andreas Jaeger <aj@suse.de>
5695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5696 __O_RSYNC if it exists, otherwise to O_SYNC.
5698 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5699 Joseph Myers <joseph@codesourcery.com>
5701 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5703 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5705 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5708 2012-10-22 Andreas Jaeger <aj@suse.de>
5710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5717 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5718 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5725 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5726 Joseph Myers <joseph@codesourcery.com>
5728 * config.make.in (NM): New variable.
5730 2012-10-21 Andreas Jaeger <aj@suse.de>
5732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5733 definitions and declarations that are provided by
5734 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5736 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5739 * elf/Makefile (tests-static): Add tst-leaks1-static.
5740 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5741 ($(objpfx)tst-leaks1-static): New rule.
5742 ($(objpfx)tst-leaks1-static-mem): Likewise.
5743 (tst-leaks1-static-ENV): New macro.
5744 * elf/dl-open.c (dl_open_worker): Check the main application
5745 only if SHARED is defined.
5746 * elf/tst-leaks1-static.c: New file.
5748 2012-10-20 Andreas Jaeger <aj@suse.de>
5750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5751 generic values for Linux.
5752 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5753 and declarations that are provided by <bits/fcntl-linux.h> and
5754 include <bits/fcntl-linux.h>.
5755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5758 2012-10-20 Roland McGrath <roland@hack.frob.com>
5760 * io/fcntl.h: Move include of <bits/types.h> to the top and
5761 include it unconditionally.
5763 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5765 * wcsmbs/Makefile (tests-ifunc): New variable.
5766 (tests): Add $(tests-ifunc).
5767 * wcsmbs/test-wcschr-ifunc.c: New file.
5768 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5769 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5770 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5771 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5772 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5774 * string/Makefile (tests-ifunc): New variable.
5775 (tests): Add $(tests-ifunc).
5776 * string/test-memccpy.c (TEST_NAME): New macro.
5777 * string/test-memchr.c (TEST_NAME): Likewise.
5778 * string/test-memcmp.c (TEST_NAME): Likewise.
5779 * string/test-memcpy.c (TEST_NAME): Likewise.
5780 * string/test-memmem.c (TEST_NAME): Likewise.
5781 * string/test-memmove.c (TEST_NAME): Likewise.
5782 * string/test-memset.c (TEST_NAME): Likewise.
5783 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5784 * string/test-stpcpy.c (TEST_NAME): Likewise.
5785 * string/test-stpncpy.c (TEST_NAME): Likewise.
5786 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5787 * string/test-strcasestr.c (TEST_NAME): Likewise.
5788 * string/test-strcat.c (TEST_NAME): Likewise.
5789 * string/test-strchr.c (TEST_NAME): Likewise.
5790 * string/test-strcmp.c(TEST_NAME): Likewise.
5791 * string/test-strcpy.c (TEST_NAME): Likewise.
5792 * string/test-strcspn.c (TEST_NAME): Likewise.
5793 * string/test-strlen.c (TEST_NAME): Likewise.
5794 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5795 * string/test-strncmp.c (TEST_NAME): Likewise.
5796 * string/test-strncpy.c (TEST_NAME): Likewise.
5797 * string/test-strnlen.c (TEST_NAME): Likewise.
5798 * string/test-strpbrk.c (TEST_NAME): Likewise.
5799 * string/test-strrchr.c (TEST_NAME): Likewise.
5800 * string/test-strspn.c (TEST_NAME): Likewise.
5801 * string/test-strstr.c (TEST_NAME): Likewise.
5802 * string/test-bcopy-ifunc.c: New file.
5803 * string/test-bzero-ifunc.c: Likewise.
5804 * string/test-memccpy-ifunc.c: Likewise.
5805 * string/test-memchr-ifunc.c: Likewise.
5806 * string/test-memcmp-ifunc.c: Likewise.
5807 * string/test-memcpy-ifunc.c: Likewise.
5808 * string/test-memmem-ifunc.c: Likewise.
5809 * string/test-memmove-ifunc.c: Likewise.
5810 * string/test-mempcpy-ifunc.c: Likewise.
5811 * string/test-memset-ifunc.c: Likewise.
5812 * string/test-rawmemchr-ifunc.c: Likewise.
5813 * string/test-stpcpy-ifunc.c: Likewise.
5814 * string/test-stpncpy-ifunc.c: Likewise.
5815 * string/test-strcasecmp-ifunc.c: Likewise.
5816 * string/test-strcasestr-ifunc.c: Likewise.
5817 * string/test-strcat-ifunc.c: Likewise.
5818 * string/test-strchr-ifunc.c: Likewise.
5819 * string/test-strchrnul-ifunc.c: Likewise.
5820 * string/test-strcmp-ifunc.c: Likewise.
5821 * string/test-strcpy-ifunc.c: Likewise.
5822 * string/test-strcspn-ifunc.c: Likewise.
5823 * string/test-strlen-ifunc.c: Likewise.
5824 * string/test-strncasecmp-ifunc.c: Likewise.
5825 * string/test-strncat-ifunc.c: Likewise.
5826 * string/test-strncmp-ifunc.c: Likewise.
5827 * string/test-strncpy-ifunc.c: Likewise.
5828 * string/test-strnlen-ifunc.c: Likewise.
5829 * string/test-strpbrk-ifunc.c: Likewise.
5830 * string/test-strrchr-ifunc.c: Likewise.
5831 * string/test-strspn-ifunc.c: Likewise.
5832 * string/test-strstr-ifunc.c: Likewise.
5834 * debug/Makefile (tests-ifunc): New variable.
5835 (tests): Add $(tests-ifunc).
5836 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5837 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5838 * debug/test-stpcpy_chk-ifunc.c: New file.
5839 * debug/test-strcpy_chk-ifunc.c: Likewise.
5841 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5844 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5845 header is not read in.
5847 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5849 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5850 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5851 directly. Pass built executable to script as
5852 $(built-program-cmd).
5853 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5854 $testprogram without using LD_LIBRARY_PATH and $ldso.
5856 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5857 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5858 $(rtld-installed-name).
5859 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5860 (rtld_installed_name): Likewise.
5861 (library_path): Likewise.
5862 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5863 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5864 $(run-program-prefix) to tst-tables.sh.
5865 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5866 it to run tst-table-from and tst-table-to.
5867 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5868 Pass it to tst-table.sh.
5869 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5870 $(run-program-prefix) to tst-gettext.sh.
5871 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5873 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5875 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5877 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5878 to run tst-gettext2.
5879 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5880 to run tst-translit.
5881 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5882 $(run-program-prefix) to tst-mtrace.sh.
5883 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5885 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5886 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5887 $(rtld-installed-name).
5888 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5889 (rtld_installed_name): Likewise.
5890 (run_program_prefix): New variable. Use it to run wordexp-test.
5892 * Makeconfig (ARCH): Remove all definitions.
5893 (machine): Likewise.
5894 [ARCH]: Remove conditional code.
5895 [!objdir]: Give error.
5896 [!objdir] (objpfx): Remove.
5897 [!objdir] (common-objpfx): Likewise.
5898 [!objdir] (common-objdir): Likewise.
5899 * configure.in (config_makefile): Remove. Hardcode Makefile in
5900 AC_CONFIG_FILES call.
5901 * configure: Regenerated.
5904 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5906 (testout): Likewise.
5908 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5909 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5910 $(rtld-installed-name).
5911 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5912 (rtld_installed_name): Likwise.
5913 (runit): Remove function.
5914 (run_getconf): New variable, Use it for running getconf binary.
5916 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5919 * string/test-memmem.c (check_result): New function.
5920 (do_one_test): Use it.
5921 (check1): New function.
5922 (test_main): Use it.
5924 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5926 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5928 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5930 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5931 (_G_LSEEK64): Likewise.
5932 (_G_MMAP64): Likewise.
5933 (_G_FSTAT64): Likewise.
5934 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5935 (_G_LSEEK64): Likewise.
5936 (_G_MMAP64): Likewise.
5937 (_G_FSTAT64): Likewise.
5938 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5939 unconditional. Call __mmap64 directly.
5940 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5941 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5943 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5944 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5946 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5947 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5949 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5950 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5952 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5953 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5955 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5956 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5957 __fxstat64 directly.
5958 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5959 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5961 (freopen64) [!_G_OPEN64]: Remove conditional code.
5962 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5964 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5965 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5967 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5968 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5970 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5971 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5973 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5974 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5976 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5977 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5979 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5980 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5982 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5984 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5987 * manual/memory.texi (Malloc Tunable Parameters): Add note
5988 about free list pointers overwriting some perturb bytes.
5989 Wording suggested by Roland McGrath.
5991 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5993 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5994 (lgamma_test): Likewise.
5995 (tgamma_test): Likewise.
5997 2012-10-16 Florian Weimer <fweimer@redhat.com>
6000 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6001 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6003 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6005 * NEWS: Mention BZ #14716.
6006 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6007 when removing AVAILABLE1_USES_J macro.
6009 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6011 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6012 (__bswap_64): __uint64_t for unsigned 64-bit int.
6014 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6016 * include/string.h (memmem): Declare libc hidden alias.
6017 * string/memmem.c (memmem): Define libc hidden alias.
6018 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6019 __read, __close instead of open, read, close.
6021 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6024 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6026 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6027 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6028 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6030 (__rawmemchr_sse2): Likewise.
6031 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6032 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6033 (__strchr_sse2): Likewise.
6034 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6035 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6036 (__strcasecmp_sse2): Likewise.
6037 (__strncasecmp_sse2): Likewise.
6038 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6039 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6040 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6041 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6042 (__strrchr_sse2): Likewise.
6043 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6045 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6046 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6047 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6048 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6049 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6050 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6051 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6052 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6053 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6054 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6055 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6056 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6057 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6058 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6059 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6060 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6061 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6062 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6063 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6064 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6065 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6066 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6067 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6068 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6069 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6070 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6071 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6072 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6073 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6074 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6076 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6078 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6079 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6080 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6081 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6083 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6085 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6086 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6087 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6088 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6090 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6108 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6124 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6125 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6126 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6127 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6128 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6129 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6130 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6132 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6133 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6134 * include/ifunc-impl-list.h: New file.
6135 * misc/ifunc-impl-list.c: Likewise.
6136 * misc/Makefile (routines): Add ifunc-impl-list.
6137 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6138 * string/test-string.h: Include <ifunc-impl-list.h>.
6139 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6140 impl_array): New variables.
6141 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6143 (test_init): Call __libc_ifunc_impl_list to initialize
6144 func_list if TEST_IFUNC and TEST_NAME are defined.
6146 * string/Makefile (strop-tests): Add bcopy and bzero.
6147 * string/test-bcopy.c: New file.
6148 * string/test-bzero.c: Likewise.
6149 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6151 * string/test-memset.c: Support bzero test if TEST_BZERO is
6153 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6155 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6157 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6160 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6162 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6163 * configure: Regenerated.
6165 * Makeconfig (+link-static-before-libc): Don't include
6166 $(link-static-libc).
6168 * libio/libio.h (_IO_pos_t): Remove.
6170 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6172 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6175 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6177 * crypt/crypt-entry.c: Include fips-private.h.
6178 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6179 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6180 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6181 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6183 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6185 * crypt/crypt-private.h: Include stdbool.h.
6186 (_ufc_setup_salt_r): Return bool.
6187 * crypt/crypt-entry.c: Include errno.h.
6188 (__crypt_r): Return NULL with EINVAL for bad salt.
6189 * crypt/crypt_util.c (bad_for_salt): New.
6190 (_ufc_setup_salt_r): Check that salt is long enough and within
6191 the specified alphabet.
6192 * crypt/badsalttest.c: New file.
6193 * crypt/Makefile (tests): Add it.
6194 ($(objpfx)badsalttest): New.
6196 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6198 * NEWS: Add entry for BZ #14602.
6200 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6202 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6204 * math/libm-test.inc: Update comment listing what functions and
6206 (isgreater_test): New function.
6207 (isgreaterequal_test): Likewise.
6208 (isless_test): Likewise.
6209 (islessequal_test): Likewise.
6210 (islessgreater_test): Likewise.
6211 (isunordered_test): Likewise.
6212 (main): Call the new functions.
6214 2012-10-09 Roland McGrath <roland@hack.frob.com>
6216 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6217 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6218 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6219 * sysdeps/i386/configure: Regenerated.
6220 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6221 * sysdeps/mach/configure: Regenerated.
6222 * sysdeps/mach/hurd/configure: Regenerated.
6223 * sysdeps/powerpc/configure: Regenerated.
6224 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6225 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6226 * sysdeps/s390/s390-32/configure: Regenerated.
6227 * sysdeps/s390/s390-64/configure: Regenerated.
6228 * sysdeps/sh/configure: Regenerated.
6229 * sysdeps/sparc/configure: Regenerated.
6230 * sysdeps/unix/sysv/linux/configure: Regenerated.
6231 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6232 * sysdeps/x86_64/configure: Regenerated.
6234 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6235 defined. Don't check if MAP is NULL.
6237 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6239 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6240 (_G_stat64): Likewise.
6241 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6242 (_G_stat64): Likewise.
6243 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6244 instead of struct _G_stat64.
6245 * libio/fileops.c (mmap_remap_check): Likewise.
6246 (decide_maybe_mmap): Likewise.
6247 (_IO_new_file_seekoff): Likewise.
6248 (_IO_file_stat): Likewise.
6249 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6251 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6252 instead of struct _G_stat64.
6253 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6255 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6258 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6260 (CHECK_EOL): New macro.
6261 (two_way_short_needle): Check beginning of haystack for EOL. Use
6263 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6264 Replace with CHECK_EOL.
6265 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6266 Replace with CHECK_EOL.
6268 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6270 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6272 * math/libm-test.inc: Update comment listing what functions and
6274 (finite_test): New function.
6275 (isinf_test): Likewise.
6276 (isnan_test): Likewise.
6277 (fpclassify_test): Test subnormal input.
6278 (isfinite_test): Likewise.
6279 (isnormal_test): Likewise.
6280 (main): Call the new functions.
6282 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6285 * Makerules (%.dynsym): Force C locale when running
6286 $(OBJDUMP) --dynamic-syms.
6288 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6290 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6293 2012-10-06 David S. Miller <davem@davemloft.net>
6295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6296 upper 32-bits of the length value in %o2 since we use branch-on-register
6297 tests which consider the entire 64-bit register.
6299 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6301 * string/test-strstr.c (check2): Add a test for page boundary.
6303 2012-10-05 David S. Miller <davem@davemloft.net>
6305 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6306 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6308 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6310 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6311 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6312 and bzero when HWCAP_SPARC_CRYPTO is present.
6314 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6317 * string/test-strstr.c (check2): New function.
6318 (test_main): Call check2.
6320 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6322 * string/bug-strcasestr1.c (do_test): Moved to ...
6323 * string/test-strcasestr.c (check1): Here. New function.
6324 (do_one_test): Break out result checking code into ...
6325 (check_result): This. New function.
6326 (do_one_test): Call check_result.
6327 (test_main): Call check1.
6328 * string/bug-strchr1.c (do_test): Moved to ...
6329 * string/test-strchr.c (check1): Here. New function.
6330 (do_one_test): Break out result checking code into ...
6331 (check_result): This. New function.
6332 (do_one_test): Call check_result.
6333 (test_main): Call check1.
6334 * string/bug-strstr1.c (main): Moved to ...
6335 * string/test-strstr.c (check1): Here. New function.
6336 (do_one_test): Break out result checking code into ...
6337 (check_result): This. New function.
6338 (do_one_test): Call check_result.
6339 (test_main): Call check1.
6340 * string/bug-strcasestr1.c: Removed.
6341 * string/bug-strchr1.c: Likewise.
6342 * string/bug-strstr1.c: Likewise.
6344 * elf/Makefile (dl-routines): Add hwcaps.
6345 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6346 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6347 (_dl_important_hwcaps): Moved to ...
6348 * elf/dl-hwcaps.c: Here. New file.
6349 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6352 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6353 if IS_IN_rtld isn't defined.
6355 * elf/dl-support.c (_dl_sysinfo_map): New.
6356 Include "get-dynamic-info.h" and "setup-vdso.h".
6357 (_dl_non_dynamic_init): Call setup_vdso.
6358 * elf/dynamic-link.h: Don't include <assert.h>.
6359 (elf_get_dynamic_info): Moved to ...
6360 * elf/get-dynamic-info.h: Here. New file.
6361 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6362 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6363 * elf/setup-vdso.h: Here. New file.
6364 * elf/rtld.c: Include "setup-vdso.h".
6365 (dl_main): Call setup_vdso.
6367 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6369 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6370 creal in comment listing functions tested. List finite, isinf,
6371 isnan, isless, islessequal, isgreater, isgreaterequal,
6372 islessgreater, isunordered, lgamma_r and pow10 as functions and
6373 macros not tested. Mention which functions not tested are aliases
6374 for other functions. Fix typo. Note that signs of NaNs are not
6377 * scripts/config.guess: Update from config.git.
6378 * scripts/config.sub: Likewise.
6380 2012-10-04 Roland McGrath <roland@hack.frob.com>
6382 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6383 * misc/madvise.c (madvise): Renamed to __madvise.
6384 Make madvise a weak alias.
6385 * include/sys/mman.h: Declare __madvise.
6386 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6387 * sysdeps/unix/syscalls.list
6388 (madvise): Make __madvise the strong name, and madvise a weak alias.
6389 * sysdeps/unix/sysv/linux/syscalls.list
6390 (madvise, mmap): Remove redundant entries.
6391 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6392 * malloc/malloc.c (mtrim): Likewise.
6393 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6395 2012-10-03 Roland McGrath <roland@hack.frob.com>
6397 * sysdeps/mach/hurd/dl-cache.c: File removed.
6398 * config.h.in (USE_LDCONFIG): New #undef.
6399 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6400 * configure: Regenerated.
6401 * elf/Makefile (dl-routines): Add dl-cache only under
6402 [$(use-ldconfig) = yes].
6403 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6404 cache on [USE_LDCONFIG].
6405 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6407 * elf/rtld.c (dl_main): Likewise.
6409 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6411 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6412 _SC_LEVEL4_CACHE_LINESIZE.
6414 2012-10-03 Roland McGrath <roland@hack.frob.com>
6416 * sysdeps/unix/bsd/confstr.h: File removed.
6418 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6420 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6423 2012-10-02 Roland McGrath <roland@hack.frob.com>
6425 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6426 Make 'mapoff' field ElfW(Off) rather than off_t.
6428 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6430 * nscd/Makefile: Remove nscd-cflags and all its users.
6431 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6432 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6435 * malloc.c (malloc_printerr): Clarify error message.
6437 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6441 Set bit_FMA_Usable if FMA is supported.
6442 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6444 (bit_FMA4_Usable): Updated.
6445 (index_FMA_Usable): New macro.
6446 (CPUID_FMA): Likewise
6447 (HAS_FMA): Defined with bit_FMA_Usable.
6449 2012-10-01 Roland McGrath <roland@hack.frob.com>
6451 * bits/types.h (__swblk_t): Type removed.
6452 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6453 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6455 (__SWBLK_T_TYPE): Likewise.
6456 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6457 (__SWBLK_T_TYPE): Likewise.
6458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6459 (__SWBLK_T_TYPE): Likewise.
6460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6461 (__SWBLK_T_TYPE): Likewise.
6463 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6464 Honza Horak <hhorak@redhat.com>
6466 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6467 (xdr_mapname): Use YPMAXMAP as maxsize.
6468 (xdr_peername): Use YPMAXPEER as maxsize.
6469 (xdr_keydat): Use YPAXRECORD as maxsize.
6470 (xdr_valdat): Use YPMAXRECORD as maxsize.
6472 2012-10-01 Roland McGrath <roland@hack.frob.com>
6474 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6476 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6477 * csu/init-first.c: ... here.
6478 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6479 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6480 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6481 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6482 * sysdeps/i386/init-first.c: File removed.
6483 * sysdeps/sh/init-first.c: File removed.
6485 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6489 if x * y might underflow to zero and z is zero.
6490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6492 * math/libm-test.inc (min_subnorm_value): New variable.
6493 (fma_test): Add more tests.
6494 (fma_test_towardzero): Likewise.
6495 (fma_test_downward): Likewise
6496 (fma_test_upward): Likewise.
6497 (initialize): Set min_subnorm_value.
6499 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6504 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6505 mode for addition resulting in exact zero.
6506 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6509 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6510 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6511 * math/libm-test.inc (fma_test): Add more tests.
6512 (fma_test_towardzero): New function.
6513 (fma_test_downward): Likewise.
6514 (fma_test_upward): Likewise.
6515 (main): Call the new functions.
6517 2012-09-28 David S. Miller <davem@davemloft.net>
6519 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6521 2012-09-28 Roland McGrath <roland@hack.frob.com>
6523 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6526 * sysdeps/gnu/_G_config.h: Moved to ...
6527 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6528 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6529 * sysdeps/generic/_G_config.h: ... here.
6531 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6533 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6535 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6536 Conditionalize target on [libnss_test1.so-version].
6538 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6540 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6541 (elfobjdir): Move out of conditionals.
6543 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6544 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6545 (__nss_lookup_function): Conditionalize label remove_from_tree on
6546 [!DO_STATIC_NSS || SHARED], matching its only use.
6548 2012-09-28 David S. Miller <davem@davemloft.net>
6550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6551 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6553 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6555 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6557 when HWCAP_SPARC_CRYPTO is present.
6559 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6561 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6563 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6566 * stdio-common/vfprintf.c (process_string_arg): Revert
6569 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6571 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6573 * stdio-common/tst-sprintf.c: Include <locale.h>
6574 (main): Test sprintf's handling of incomplete multibyte
6577 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6579 * elf/dl-runtime.c (VERSYMIDX): Removed.
6580 * elf/dl-version.c (VERSYMIDX): Likewise.
6581 * elf/do-rel.h (VERSYMIDX): Likewise.
6583 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6584 * elf/rtld.c (VALIDX): Likewise.
6585 (ADDRIDX): Likewise.
6586 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6587 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6588 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6589 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6591 (ADDRIDX): Likewise.
6593 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6595 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6597 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6600 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6602 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6603 addresses are in the same scope as 192.0.2/24.
6604 * posix/gai.conf: Document new scope table defaults.
6606 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6609 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6610 for ftell. Compute offsets from write pointers instead.
6611 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6613 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6616 * libio/Makefile (tests): New test case tst-fseek.
6617 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6618 combination works in wide mode.
6619 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6620 state when the external buffer state changes.
6622 2012-09-27 David S. Miller <davem@davemloft.net>
6625 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6626 pass reloc->r_addend in as the 'high' argument to
6627 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6631 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6633 * rt/tst-aio2.c: Include <pthread.h>.
6634 * rt/tst-aio3.c: Likewise.
6636 2012-09-27 Steve Ellcey <sellcey@mips.com>
6638 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6640 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6642 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6643 contents on [SHARED].
6645 2012-09-26 Marek Polacek <polacek@redhat.com>
6649 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6650 for C++ and GCC <4.3 as well as for non GCC compilers.
6652 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6656 2012-09-25 Roland McGrath <roland@hack.frob.com>
6658 * Makefile.in (all, install): Declare with .PHONY.
6659 Reported by Michael Hope <michael.hope@linaro.org>.
6661 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6663 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6664 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6666 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6668 (sydep_routines): Add the new and the internal functions.
6669 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6670 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6672 (GLIBC_2.17): Add the new function.
6673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6674 (GLIBC_2.17): Likewise.
6675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6676 (GLIBC_2.17): Likewise.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6678 (GLIBC_2.17): Likewise.
6679 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6681 2012-09-25 Alan Modra <amodra@gmail.com>
6683 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6684 Add release barrier before setting once_control to say
6685 initialisation is done. Add hints on lwarx. Use macro in
6687 (clear_once_control): Add release barrier.
6689 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6692 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6694 * math/s_clog10.c (__clog10): Likewise.
6695 * math/s_clog10f.c (__clog10f): Likewise.
6696 * math/s_clog10l.c (__clog10l): Likewise.
6697 * math/s_clogf.c (__clogf): Likewise.
6698 * math/s_clogl.c (__clogl): Likewise.
6699 * math/Makefile (libm-calls): Add x2y2m1.
6700 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6701 (__x2y2m1): Likewise.
6702 (__x2y2m1l): Likewise.
6703 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6704 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6709 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6710 * sysdeps/i386/fpu/libm-test-ulps: Update.
6711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6714 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6715 int as type of variable DEPTH.
6716 (glob): Use size_t instead of int as type of variables NEWCOUNT
6719 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6721 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6723 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6724 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6725 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6726 macros for using routine as __sincosf_ia32.
6727 Use macro for function declaration and weak_alias.
6728 * sysdeps/i386/fpu/libm-test-ulps: Update.
6730 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6733 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6735 * math/s_cexpf.c (__cexpf): Likewise.
6736 * math/s_csinf.c (__csinf): Likewise.
6737 * math/s_csinhf.c (__csinhf): Likewise.
6738 * math/s_ctanf.c (__ctanf): Likewise.
6739 * math/s_ctanhf.c (__ctanhf): Likewise.
6740 * math/s_ccosh.c (__ccoshf): Likewise.
6741 * math/s_cexp.c (__cexpl): Likewise.
6742 * math/s_csin.c (__csin): Likewise.
6743 * math/s_csinh.c (__csinh): Likewise.
6744 * math/s_ctan.c (__ctan): Likewise.
6745 * math/s_ctanh.c (ctanh): Likewise.
6746 * math/s_ccoshl.c (__ccoshl): Likewise.
6747 * math/s_cexpl.c (__cexpl): Likewise.
6748 * math/s_csinl.c (__csinl): Likewise.
6749 * math/s_csinhl.c (__csinhl): Likewise.
6750 * math/s_ctanl.c (__ctanl): Likewise.
6751 * math/s_ctanhl.c (__ctanhl): Likewise.
6753 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6755 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6756 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6757 (_IO_off_t): Define to __off_t, not _G_off_t.
6758 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6759 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6760 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6761 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6762 type of __dummy and __dummy2 fields.
6763 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6764 (_G_ssize_t): Likewise.
6765 (_G_off_t): Likewise.
6766 (_G_pid_t): Likewise.
6767 (_G_uid_t): Likewise.
6768 (_G_wchar_t): Likewise.
6769 (_G_wint_t): Likewise.
6770 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6771 (_G_ssize_t): Likewise.
6772 (_G_off_t): Likewise.
6773 (_G_pid_t): Likewise.
6774 (_G_uid_t): Likewise.
6775 (_G_wchar_t): Likewise.
6776 (_G_wint_t): Likewise.
6777 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6778 (_G_ssize_t): Likewise.
6779 (_G_off_t): Likewise.
6780 (_G_pid_t): Likewise.
6781 (_G_uid_t): Likewise.
6782 (_G_wchar_t): Likewise.
6783 (_G_wint_t): Likewise.
6785 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6787 * malloc/arena.c: Include malloc-sysdep.h.
6788 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6789 is sufficient to shrink the heap or an unmap is needed.
6790 * sysdeps/generic/malloc-sysdep.h: New file. Define
6791 new function check_may_shrink_heap.
6792 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6793 new function check_may_shrink_heap.
6795 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6797 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6800 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6802 * catgets/test-gencat.sh: Add "set -e".
6803 * elf/tst-pathopt.sh: Likewise.
6804 * grp/tst_fgetgrent.sh: Likewise.
6805 * iconvdata/run-iconv-test.sh: Likewise.
6806 * intl/tst-gettext.sh: Likewise.
6807 * intl/tst-gettext2.sh: Likewise.
6808 * intl/tst-gettext4.sh: Likewise.
6809 * intl/tst-gettext6.sh: Likewise.
6810 * intl/tst-translit.sh: Likewise.
6811 * io/ftwtest-sh: Likewise.
6812 * libio/test-freopen.sh: Likewise.
6813 * malloc/tst-mtrace.sh: Likewise.
6814 * posix/globtest.sh: Likewise.
6815 * posix/tst-getconf.sh: Likewise.
6816 * posix/wordexp-tst.sh: Likewise.
6817 * stdio-common/tst-printf.sh: Likewise.
6818 * stdio-common/tst-unbputc.sh: Likewise.
6819 * stdlib/tst-fmtmsg.sh: Likewise.
6820 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6821 * catgets/Makefile: Do not specify -e option when running
6822 testsuite shell scripts.
6823 * elf/Makefile: Likewise.
6824 * grp/Makefile: Likewise.
6825 * iconvdata/Makefile: Likewise.
6826 * intl/Makefile: Likewise.
6827 * io/Makefile: Likewise.
6828 * libio/Makefile: Likewise.
6829 * malloc/Makefile: Likewise.
6830 * posix/Makefile: Likewise.
6831 * stdio-common/Makefile: Likewise.
6832 * stdlib/Makefile: Likewise.
6833 * sysdeps/x86_64/Makefile: Likewise.
6835 * io/ftwtest-sh: Add copyright header.
6836 * posix/globtest.sh: Likewise.
6837 * posix/tst-getconf.sh: Likewise.
6838 * posix/wordexp-tst.sh: Likewise.
6839 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6841 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6844 * Makeconfig (+link): Defined as $(+link-static) if
6845 $(build-shared) isn't yes.
6846 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6848 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6850 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6853 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6854 new chunk size with MALLOC_ALIGN_MASK.
6856 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6859 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6861 (__printf_fphex): Determine rounding using get_rounding_mode and
6863 * stdio-common/tst-printf-round.c (struct hex_test): New
6865 (hex_tests): New variable.
6866 (test_hex_in_one_mode): New function.
6867 (do_test): Also run tests for hex float output.
6869 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6871 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6872 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6873 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6874 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6875 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6876 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6877 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6878 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6880 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6882 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6883 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6884 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6885 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6887 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6890 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6892 * elf/tst-rtld-load-self.sh: New test.
6893 * elf/Makefile: Run it.
6895 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6897 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6898 (tst-writev-ENV): Remove.
6899 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6901 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6903 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6905 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6907 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6909 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6911 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6912 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6913 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6916 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6919 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6920 * config.make.in (have-cpp-asm-debuginfo): Removed.
6921 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6922 * configure: Regenerated.
6924 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6927 * stdio-common/printf_fp.c: Include <stdbool.h> and
6929 (___printf_fp): Determine rounding using get_rounding_mode and
6931 * stdio-common/tst-printf-round.c: New file.
6932 * stdio-common/Makefile (tests): Add tst-printf-round.
6933 (link-libm): New variable.
6934 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6936 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6939 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6940 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6942 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6945 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6947 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6948 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6949 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6950 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6952 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6955 * include/rounding-mode.h: New file.
6956 * sysdeps/generic/get-rounding-mode.h: Likewise.
6957 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6958 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6959 (MAX_VALUE): New macro.
6960 (MIN_VALUE): Likewise.
6961 (overflow_value): New function.
6962 (underflow_value): Likewise.
6963 (round_and_return): Use overflow_value and underflow_value to
6964 determine return values in overflow and underflow cases. Use
6965 round_away to determine rounding depending on rounding mode.
6966 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6967 determine return values in overflow and underflow cases.
6968 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6969 (struct test_results): New structure.
6970 (struct test): Use struct test_results to store expected results
6971 for all rounding modes.
6972 (TEST): Include expected results for all rounding modes.
6973 (test_in_one_mode): New function.
6974 (do_test): Use test_in_one_mode to compute and check results.
6975 Check results for all rounding modes.
6976 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6979 2012-12-09 Allan McRae <allan@archlinux.org>
6981 * sysdeps/i386/fpu/libm-test-ulps: Update
6983 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6985 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6986 (_G_int32_t): Likewise.
6987 (_G_uint16_t): Likewise.
6988 (_G_uint32_t): Likewise.
6989 (_G_HAVE_BOOL): Likewise.
6990 (_G_HAVE_ATEXIT): Likewise.
6991 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6992 (_G_HAVE_IO_FILE_OPEN): Likewise.
6993 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6994 (_G_int32_t): Likewise.
6995 (_G_uint16_t): Likewise.
6996 (_G_uint32_t): Likewise.
6997 (_G_HAVE_BOOL): Likewise.
6998 (_G_HAVE_ATEXIT): Likewise.
6999 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7000 (_G_HAVE_IO_FILE_OPEN): Likewise.
7001 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7002 (_G_int32_t): Likewise.
7003 (_G_uint16_t): Likewise.
7004 (_G_uint32_t): Likewise.
7005 (_G_HAVE_BOOL): Likewise.
7006 (_G_HAVE_ATEXIT): Likewise.
7007 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7008 (_G_HAVE_IO_FILE_OPEN): Likewise.
7010 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7012 * csu/libc-tls.c: Update copyright years.
7014 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7016 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7017 [!_G_USING_THUNKS]: Remove conditional code.
7018 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7019 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7021 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7022 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7023 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7024 (_G_VTABLE_LABEL_PREFIX): Likewise.
7025 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7026 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7027 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7028 (_G_VTABLE_LABEL_PREFIX): Likewise.
7029 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7030 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7031 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7032 (_G_VTABLE_LABEL_PREFIX): Likewise.
7033 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7035 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7037 * libio/Makefile: Include ../Makeconfig before tests.
7038 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7039 only if $(build-shared) is yes.
7041 * iconv/gconv_db.c: Update copyright years.
7043 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7045 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7046 unwind info if defined PIC. Fix special cases description.
7047 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7049 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7051 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7053 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7055 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7057 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7060 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7061 (LDLIBS-tst-chk4): This.
7062 (LDFLAGS-tst-chk5): Renamed to ...
7063 (LDLIBS-tst-chk5): This.
7064 (LDFLAGS-tst-chk6): Renamed to ...
7065 (LDLIBS-tst-chk6): This.
7066 (LDFLAGS-tst-lfschk4): Renamed to ...
7067 (LDLIBS-tst-lfschk4): This.
7068 (LDFLAGS-tst-lfschk5): Renamed to ...
7069 (LDLIBS-tst-lfschk5): This.
7070 (LDFLAGS-tst-lfschk6): Renamed to ...
7071 (LDLIBS-tst-lfschk6): This.
7073 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7074 on $(common-objpfx)soversions.mk.
7076 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7079 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7082 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7084 * malloc/arena.c (arena_get_retry): New function that gets
7085 another arena for the caller to try its request on.
7086 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7087 current arena cannot fulfill the request.
7088 (__libc_memalign): Likewise.
7089 (__libc_memalign): Likewise.
7090 (__libc_pvalloc): Likewise.
7091 (__libc_calloc): Likewise.
7093 2012-09-05 John Tobey <john.tobey@gmail.com>
7096 * manual/arith.texi (Operations on Complex): Fix description
7099 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7102 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7106 * manual/memory.texi (Memory): Make order of menu items match
7109 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7111 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7112 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7113 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7115 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7117 * csu/libc-tls.c (static_dtv): Renamed to ...
7118 (_dl_static_dtv): This. Make it global.
7119 (_dl_initial_dtv): Removed.
7120 (__libc_setup_tls): Updated.
7121 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7122 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7125 2012-09-06 Petr Machata <pmachata@redhat.com>
7127 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7128 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7129 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7130 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7132 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7135 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7136 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7139 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7142 * Makeconfig (link-static-before-libc): Replace $(+prector)
7144 (link-static-after-libc): Replace $(+postctor) with
7146 (link-bounded): Replace $(+prector)/$(+postctor) with
7147 $(+prectorT)/$(+postctorT).
7148 (+prectorT): New macro.
7149 (+postctorT): Likewise.
7151 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7153 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7154 (round_str): Handle values above the maximum for IBM long double
7156 * stdlib/tst-strtod-round.c (tests): Regenerated.
7158 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7160 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7162 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7163 zarch_nohighgprs around the zarch optimized routines.
7164 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7165 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7166 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7169 2012-09-05 David S. Miller <davem@davemloft.net>
7171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7173 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7174 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7175 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7176 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7179 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7181 * malloc/arena.c: Fold copyright years.
7182 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7184 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7186 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7188 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7190 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7192 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7194 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7195 change internal state upon failure.
7197 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7199 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7200 * malloc/memusage.c (mmap): Likewise.
7201 (mmap64, mremap): Likewise. Adjust name in comment.
7203 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7205 * libio/fileops.c: Fix typos in comments.
7206 * libio/oldfileops.c: Likewise.
7207 * libio/wfileops.c: Likewise.
7209 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7212 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7213 (tst-malloc-usable-ENV): Set environment for test case.
7214 * malloc/hooks.c (malloc_check_get_size): New function to get
7216 * malloc/malloc.c (musable): Use malloc_check_get_size.
7217 * malloc/tst-malloc-usable.c: New test case.
7219 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7221 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7223 2012-09-05 Allan McRae <allan@archlinux.org>
7226 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7227 determine header location.
7228 * configure: Regenerated.
7230 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7232 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7234 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7235 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7239 2012-09-04 David S. Miller <davem@davemloft.net>
7241 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7242 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7243 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7245 2012-09-04 Florian Weimer <fweimer@redhat.com>
7247 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7250 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7252 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7255 * libio/iogetdelim.c: Include <limits.h>.
7256 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7257 + len + 1 would overflow.
7259 2012-09-03 Andreas Jaeger <aj@suse.de>
7261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7262 * sysdeps/i386/fpu/libm-test-ulps: Update.
7264 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7266 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7267 Add s_sinf-sse2, s_conf-sse2.
7269 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7270 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7271 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7272 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7274 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7275 for using routine as __sinf_ia32.
7276 Use macro for function declaration and weak_alias.
7277 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7278 for using routine as __cosf_ia32.
7279 Use macro for function declaration and weak_alias.
7281 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7282 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7284 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7285 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7288 * math/libm-test.inc (cos_test): Add more test cases.
7289 (sin_test): Likewise.
7290 (sincos_test): Likewise.
7292 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7294 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7295 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7297 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7299 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7302 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7303 first element of the GOT.
7304 (elf_machine_load_address): Return the difference between
7305 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7307 2012-09-01 Allan McRae <allan@archlinux.org>
7310 * configure.in (AWK): Require gawk version 3.0 or later.
7311 * configure: Regenerated.
7313 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7315 * sysdeps/unix/sysv/linux/kernel-features.h
7316 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7318 [__NR_clock_getres]: Make code unconditional.
7319 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7320 (clock_getcpuclockid): Remove code left unreachable by removal of
7322 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7324 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7325 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7326 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7327 Make code unconditional.
7328 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7329 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7330 * sysdeps/unix/sysv/linux/clock_settime.c
7331 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7333 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7334 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7336 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7339 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7340 scripts/test-installation.pl.
7342 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7343 and $ld_so_version if it is set.
7345 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7348 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7349 failure if reading from procfs failed.
7350 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7352 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7354 * sysdeps/unix/sysv/linux/kernel-features.h
7355 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7356 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7357 Remove conditional code.
7358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7359 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7360 Remove conditional code.
7361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7362 * sysdeps/unix/sysv/linux/i386/fxstat.c
7363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7365 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7366 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7368 * sysdeps/unix/sysv/linux/i386/lxstat.c
7369 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7371 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7372 Remove conditional code.
7373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7374 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7375 Remove conditional code.
7376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7377 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7378 <kernel-features.h>.
7379 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7381 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7382 Remove conditional code.
7383 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7384 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7387 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7390 * NEWS: Add fixed bug number.
7392 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7395 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7396 underflowing exponent in case of negative sign.
7397 * stdlib/tst-strtod-round-data: Add more tests.
7398 * stdlib/tst-strtod-round.c (tests): Regenerated.
7401 * stdlib/strtod_l.c (NDIG): Remove.
7402 (HEXNDIG): Likewise.
7403 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7404 smallest representable value.
7405 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7406 lie within an exact representation of 1/2 ulp of the result.
7407 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7409 (TENS_P9_IDX): Define unconditionally.
7410 (TENS_P9_SIZE): Likewise.
7411 (TENS_P10_IDX): Likewise.
7412 (TENS_P10_SIZE): Likewise.
7413 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7414 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7415 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7416 entries for 10^2^13 and 10^2^14.
7417 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7418 (TENS_P13_IDX): Define.
7419 (TENS_P13_SIZE): Likewise.
7420 (TENS_P14_IDX): Likewise.
7421 (TENS_P14_SIZE): Likewise.
7422 (_fpioconst_pow10): Change array size to
7423 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7425 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7426 1024]: Add entries for 10^2^13 and 10^2^14.
7427 [LAST_POW10 > _LAST_POW10]: Remove #error.
7428 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7429 (_fpioconst_pow10): Change array size to
7430 FPIOCONST_POW10_ARRAY_SIZE.
7431 * stdlib/gen-fpioconst.c: New file.
7432 * stdlib/gen-tst-strtod-round.c: Likewise.
7433 * stdlib/tst-strtod-round-data: Likewise.
7434 * stdlib/tst-strtod-round.c: Likewise.
7435 * stdlib/Makefile (tests): Add tst-strtod-round.
7438 * stdlib/strtod_l.c: Include <stdint.h>.
7439 (NDEBUG): Do not define.
7440 (round_and_return): Change EXPONENT parameter to type intmax_t.
7441 Rearrange calculations to avoid internal overflow possibilities.
7442 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7443 Rearrange calculations to avoid internal overflow possibilities.
7444 Assert that number fits inside MPNSIZE limbs.
7445 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7446 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7447 calculations and add assertions to avoid internal overflow
7448 possibilities. Add casts to avoid signed/unsigned operations.
7449 * stdlib/tst-strtod-overflow.c: New file.
7450 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7452 2012-08-25 Marek Polacek <polacek@redhat.com>
7454 * time/time.h: Fix some typos in comments.
7456 2012-08-23 Roland McGrath <roland@hack.frob.com>
7458 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7459 * posix/tst-rfc3484-2.c: Likewise.
7460 * posix/tst-rfc3484-3.c: Likewise.
7462 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7464 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7465 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7467 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7469 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7470 #include of fxstatat64.c.
7472 2012-08-22 Roland McGrath <roland@hack.frob.com>
7474 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7475 * shadow/getspent_r.c: Likewise.
7476 * shadow/getspnam.c: Likewise.
7477 * shadow/getspnam_r.c: Likewise.
7478 * gshadow/getsgent.c: Likewise.
7479 * gshadow/getsgent_r.c: Likewise.
7480 * gshadow/getsgnam.c: Likewise.
7481 * gshadow/getsgnam_r.c: Likewise.
7482 * inet/getnetbyad.c: Likewise.
7483 * inet/getnetbyad_r.c: Likewise.
7484 * inet/getnetbynm.c: Likewise.
7485 * inet/getnetbynm_r.c: Likewise.
7486 * inet/getnetent.c: Likewise.
7487 * inet/getnetent_r.c: Likewise.
7488 * inet/getproto.c: Likewise.
7489 * inet/getproto_r.c: Likewise.
7490 * inet/getprtent.c: Likewise.
7491 * inet/getprtent_r.c: Likewise.
7492 * inet/getprtname.c: Likewise.
7493 * inet/getprtname_r.c: Likewise.
7494 * inet/getrpcbyname.c: Likewise.
7495 * inet/getrpcbyname_r.c: Likewise.
7496 * inet/getrpcbynumber.c: Likewise.
7497 * inet/getrpcbynumber_r.c: Likewise.
7498 * inet/getrpcent.c: Likewise.
7499 * inet/getrpcent_r.c: Likewise.
7500 * inet/getaliasent.c: Likewise.
7501 * inet/getaliasent_r.c: Likewise.
7502 * inet/getaliasname.c: Likewise.
7503 * inet/getaliasname_r.c: Likewise.
7504 * nscd/getgrgid_r.c: Likewise.
7505 * nscd/getgrnam_r.c: Likewise.
7506 * nscd/gethstbyad_r.c: Likewise.
7507 * nscd/gethstbynm3_r.c: Likewise.
7508 * nscd/getpwnam_r.c: Likewise.
7509 * nscd/getpwuid_r.c: Likewise.
7510 * nscd/getsrvbynm_r.c: Likewise.
7511 * nscd/getsrvbypt_r.c: Likewise.
7512 * nscd/gai.c: Likewise.
7514 * configure.in (build_nscd): New substituted variable, set
7515 by --disable-build-nscd and defaults to $use_nscd.
7516 * configure: Regenerated.
7517 * config.make.in (build-nscd): New substituted variable.
7518 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7519 Change conditional to require [$(build-nscd) = yes] as well.
7520 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7523 * configure.in (use_nscd): New substituted variable, set by
7524 --disable-nscd. If enabled, define USE_NSCD.
7525 * configure: Regenerated.
7526 * config.h.in: Add USE_NSCD.
7527 * config.make.in (use-nscd): New substituted variable.
7528 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7529 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7530 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7531 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7532 (CFLAGS-getgrnam_r.c): Likewise.
7533 (CFLAGS-initgroups.c): Likewise.
7534 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7535 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7537 * inet/getnetgrent_r.c
7538 (nscd_setnetgrent): New function, broken out of ...
7539 (setnetgrent): ... here. Call it.
7540 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7541 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7542 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7543 * nscd/Makefile (routines, aux): Move definitions after include of
7544 Makeconfig. Conditionalize on [$(use-nscd) != no].
7545 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7546 Conditionalize on [USE_NSCD].
7547 (is_nscd, nscd_init_cb): Likewise.
7548 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7549 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7550 * nss/nss_db/db-init.c: Likewise.
7551 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7553 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7554 (make_request): Use it.
7555 (cache_valid_p): New function.
7556 (__check_pf): Use it.
7557 * NEWS: Add item for --disable-nscd.
7559 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7561 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7562 to support sed >= 4.2.1-20-ga9bf076.
7563 * configure: Regenerated.
7565 2012-08-22 Roland McGrath <roland@hack.frob.com>
7567 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7568 Conditionalize whole body on [IREL].
7570 2012-08-22 Jeff Law <law@redhat.com>
7573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7574 if the family is PF_UNSPEC.
7576 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7578 * Makerules (lib-version): Rename from V.
7579 (install-lib-nosubdir): Change V to lib-version.
7581 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7584 * powerpc32/power6/wcschr.c: New file.
7585 * powerpc32/power6/wcscpy.c: New file.
7586 * powerpc32/power6/wcsrchr.c: New file.
7587 * powerpc64/power6/wcschr.c: New file.
7588 * powerpc64/power6/wcscpy.c: New file.
7589 * powerpc64/power6/wcsrchr.c: New file.
7591 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7593 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7594 (two_way_short_needle): Use it.
7595 * string/strstr.c (AVAILABLE1_USES_J): Define.
7596 * string/strcasestr.c: Likewise.
7598 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7600 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7603 * NEWS: Add an entry.
7604 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7605 define their defaults.
7606 (two_way_short_needle): Detect end-of-string on-the-fly.
7607 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7608 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7609 * string/bug-strcasestr1.c: New test.
7610 * string/Makefile: Run it.
7612 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7615 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7616 the first character.
7618 2012-08-21 Roland McGrath <roland@hack.frob.com>
7620 * csu/elf-init.c (__libc_csu_irel): Function removed.
7621 * csu/libc-start.c (apply_irel): New function.
7622 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7624 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7626 * sysdeps/unix/sysv/linux/kernel-features.h
7627 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7628 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7629 <kernel-features.h>.
7630 [__NR_fadvise64_64]: Make code unconditional.
7631 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7632 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7633 !__NR_fadvise64_64)]: Likewise.
7634 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7635 !__NR_fadvise64_64))]: Likewise.
7636 [__NR_fadvise64]: Make code unconditional.
7637 [!__NR_fadvise64]: Remove conditional code.
7638 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7639 <kernel-features.h>.
7640 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7642 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7645 not include <kernel-features.h>.
7646 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7648 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7650 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7651 include <kernel-features.h>.
7652 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7654 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7657 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7659 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7660 slight instruction rearrangements per scrollpipe analysis.
7661 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7663 2012-08-20 Roland McGrath <roland@hack.frob.com>
7665 * manual/syslog.texi (syslog; vsyslog, closelog):
7666 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7667 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7669 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7670 DSOCAPS to match condition on defining it.
7672 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7674 * sysdeps/unix/sysv/linux/kernel-features.h
7675 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7680 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7681 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7683 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7684 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7686 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7687 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7689 * sysdeps/unix/sysv/linux/kernel-features.h
7690 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7691 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7693 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7694 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7695 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7696 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7697 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7698 Make code unconditional.
7699 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7700 (__mmap64) [!__NR_mmap2]: Likewise.
7701 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7702 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7703 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7704 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7705 [__NR_mmap2]: Make code unconditional.
7706 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7707 (__mmap64) [!__NR_mmap2]: Likewise.
7709 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7711 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7713 2012-08-18 Andreas Jaeger <aj@suse.de>
7715 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7717 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7719 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7720 * include/unistd.h (__have_sock_cloexec): Likewise.
7721 (__have_pipe2): Likewise.
7722 (__have_dup3): Likewise.
7724 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7727 * include/unistd.h (__have_pipe2): Change define into an extern int.
7728 (__have_dup3): Likewise.
7729 * socket/have_sock_cloexec.c: Include fcntl.h.
7730 (__have_pipe2): New variable.
7731 (__have_dup3): Likewise.
7733 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7735 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7737 2012-08-17 Marek Polacek <polacek@redhat.com>
7739 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7740 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7742 2012-08-17 Roland McGrath <roland@hack.frob.com>
7744 * configure.in: Add AC_SUBST for sysheaders.
7745 * configure: Regenerated.
7746 * config.make.in (sysheaders): New substituted variable.
7748 * sysdeps/unix/mkfifo.c: Moved ...
7749 * sysdeps/posix/mkfifo.c: ... here.
7750 * sysdeps/unix/mkfifoat.c: Moved ...
7751 * sysdeps/posix/mkfifoat.c: ... here.
7753 * sysdeps/unix/utime.c: Moved ...
7754 * sysdeps/posix/utime.c: ... here.
7756 * sysdeps/unix/time.c: Moved ...
7757 * sysdeps/posix/time.c: ... here.
7758 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7759 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7761 * sysdeps/unix/nice.c: Moved ...
7762 * sysdeps/posix/nice.c: ... here.
7764 * sysdeps/unix/alarm.c: Moved ...
7765 * sysdeps/posix/alarm.c: ... here.
7767 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7769 2012-08-17 Jeff Law <law@redhat.com>
7771 * intl/Makefile (codeset_mo): New variable.
7772 ($(codeset_mo)): New target.
7773 (tst-codeset.out): Depend on that. Remove explicit rule.
7774 (tst-gettext3.out, tst-gettext5.out): Likewise.
7775 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7776 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7777 * intl/tst-codeset.sh: Remove.
7778 * intl/tst-gettext3.sh: Likewise.
7779 * intl/tst-gettext5.sh: Likewise.
7781 2012-08-17 Roland McGrath <roland@hack.frob.com>
7783 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7784 * sysdeps/unix/syscalls.list: ... here.
7786 * sysdeps/posix/getaddrinfo.c
7787 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7788 (gaiconf_init, gaiconf_reload): Use them.
7790 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7791 Define using time_t rather than struct timespec.
7793 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7794 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7796 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7798 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7799 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7802 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7803 __libc_cleanup_push argument.
7805 * bits/param.h: New file.
7806 * misc/sys/param.h: New file.
7807 * include/sys/param.h: New file.
7808 * misc/Makefile (headers): Add bits/param.h.
7809 * sysdeps/generic/sys/param.h: File removed.
7810 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7811 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7812 * sysdeps/mach/hurd/bits/param.h: New file.
7813 * sysdeps/mach/hurd/sys/param.h: File removed.
7815 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7818 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7820 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7821 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7824 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7825 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7826 rather than -D_IO_MTSAFE_IO conditionally.
7827 * stdio-common/Makefile (CPPFLAGS): Likewise.
7828 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7829 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7830 Use $(libio-mtsafe).
7831 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7833 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7834 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7835 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7836 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7837 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7838 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7839 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7840 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7841 (CFLAGS-fread_u_chk.c): Likewise.
7842 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7843 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7844 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7845 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7846 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7847 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7848 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7849 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7850 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7852 * libio/Makefile: Test [$(libc-reentrant) = yes]
7853 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7856 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7857 * sysdeps/pthread/configure: File removed.
7858 * sysdeps/pthread/Makeconfig: New file.
7859 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7860 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7862 2012-08-16 Gary Benson <gbenson@redhat.com>
7864 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7865 unmapping the first object in a namespace.
7867 2012-08-16 Roland McGrath <roland@hack.frob.com>
7869 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7870 (__internal_setnetgrent): ... this. Add internal_function to
7871 definition. Add libc_hidden_def.
7872 (setnetgrent): Update caller.
7873 (internal_endnetgrent): Renamed to ...
7874 (__internal_endnetgrent): ... this. Add internal_function to
7875 definition. Add libc_hidden_def.
7876 (endnetgrent): Update caller.
7877 (internal_getnetgrent_r): Renamed to ...
7878 (__internal_getnetgrent_r): ... this. Add internal_function to
7879 definition. Add libc_hidden_def.
7880 (__getnetgrent_r): Update caller.
7881 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7883 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7885 * stdlib/longlong.h: Update from GCC.
7887 2012-08-16 Roland McGrath <roland@hack.frob.com>
7889 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7890 on _QL, which is set by umul_ppmm but never used.
7891 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7892 variables, which are set by GMP macros but never used.
7893 * stdio-common/_itowa.c (_itowa): Likewise.
7894 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7895 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7897 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7899 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7900 struct La_sh_regs is not constant.
7901 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7902 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7903 and struct La_sparc64_regs are not constant.
7905 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7907 * sysdeps/unix/sysv/linux/kernel-features.h
7908 (__ASSUME_POSIX_TIMERS): Remove.
7909 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7911 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7912 Make code unconditional.
7913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7914 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7915 Make code unconditional.
7916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7917 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7918 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7920 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7921 Make code unconditional.
7922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7923 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7924 (__libc_missing_posix_timers): Remove.
7926 2012-08-15 Roland McGrath <roland@hack.frob.com>
7928 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7929 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7931 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7933 * elf/dl-sym.c: Include <stdlib.h>.
7935 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7936 constants, which avoids warnings in 32-bit builds.
7938 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7939 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7941 * misc/lseek.c: File moved to ...
7942 * io/lseek.c: ... here.
7944 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7946 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7947 shifting LEN more than 31 bits at once.
7949 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7952 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7953 segmentation fault for a case of two empty input strings.
7954 * string/test-strncasecmp.c (check1): Renamed to...
7956 (bz14195): Add new testcase for two empty input strings and N > 0.
7957 (test_main): Call new testcase, adapt for renamed function.
7959 2012-08-15 Andreas Jaeger <aj@suse.de>
7962 * crypt/md5test2.c: New test, based on test supplied by Serge
7963 Belyshev <belyshev@depni.sinp.msu.ru>.
7964 * crypt/Makefile (xtests): Add md5test-giant..
7965 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7967 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7970 * crypt/md5.c (md5_process_block): Don't assume the buffer
7971 length is less than 2**32.
7972 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7973 length is less than 2**64.
7975 2012-08-15 Roland McGrath <roland@hack.frob.com>
7977 * string/str-two-way.h: Include <sys/param.h>.
7978 (MAX): Macro removed.
7980 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7981 Move #define and #undef of memmove to just before and after
7982 including <string.h>.
7984 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7985 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7986 and after including <string.h>. Move declarations of
7987 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7988 to before #include "string/memmove.c".
7990 * include/dirent.h: Declare __getdirentries.
7992 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7993 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7995 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7997 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7998 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7999 * sysdeps/i386/configure: Regenerated.
8000 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8001 STABS_CURRENT_FILE, and STABS_FUN.
8002 (END): Remove call to STABS_FUN_END.
8003 (STABS_CURRENT_FILE1): Delete.
8004 (STABS_CURRENT_FILE): Likewise.
8005 (STABS_FUN): Likewise.
8006 (STABS_FUN_END): Likewise.
8007 (STABS_FUN2): Likewise.
8008 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8009 * sysdeps/x86_64/configure: Regenerated.
8011 2012-08-14 Roland McGrath <roland@hack.frob.com>
8013 * elf/dl-open.c: Include <atomic.h>.
8014 * elf/dl-lookup.c: Likewise.
8016 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8018 * sysdeps/unix/sysv/linux/kernel-features.h
8019 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8020 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8022 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8024 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8025 condition on __ASSUME_CLONE_THREAD_FLAGS.
8027 2012-08-14 Andreas Jaeger <aj@suse.de>
8029 * sysdeps/i386/fpu/libm-test-ulps: Update.
8031 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8033 * include/atomic.h (atomic_exchange_and_add): Split into ...
8034 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8037 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8041 2012-08-13 Jeff Law <law@redhat.com>
8043 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8044 null byte in the output string.
8046 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8048 * sysdeps/unix/sysv/linux/kernel-features.h
8049 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8050 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8051 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8052 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8053 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8054 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8055 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8057 2012-08-09 Jeff Law <law@redhat.com>
8060 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8061 When avoid_arena is set, don't retry in the that arena. Pick the
8062 next one, whatever it might be.
8063 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8064 (arena_lock): Pass in new parameter to arena_get2.
8065 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8067 (__libc_malloc): Unify retrying after main arena failure with
8068 __libc_memalign version.
8069 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8071 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8074 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8075 to __redirect_strstr.
8076 (__strstr_sse42): Use typeof __redirect_strstr.
8077 (__strstr_ia32): Likewise.
8078 (__libc_strstr): New prototype.
8079 (strstr): Renamed to ...
8080 (__libc_strstr): This.
8081 (strstr): New strong alias of __libc_strstr.
8082 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8083 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8086 (__libc_time): New prototype.
8087 (time_ifunc): Replace time with __libc_time.
8088 (time): New strong alias and hidden definition of __libc_time.
8089 (__GI_time): Remove strong alias.
8090 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8092 (memmove): Redefined to __redirect_memmove.
8093 (__memmove_sse2): Use typeof __redirect_memmove.
8094 (__memmove_ssse3): Likewise.
8095 (__memmove_ssse3_back): Likewise.
8096 (__libc_memmove): New prototype.
8097 (memmove): Renamed to ...
8098 (__libc_memmove): This.
8099 (memmove): New strong alias of __libc_memmove.
8101 2012-08-08 Mark Salter <msalter@redhat.com>
8104 (R_MN10300_TLS_GD): Define.
8105 (R_MN10300_TLS_LD): Likewise.
8106 (R_MN10300_TLS_LDO): Likewise.
8107 (R_MN10300_TLS_GOTIE): Likewise.
8108 (R_MN10300_TLS_IE): Likewise.
8109 (R_MN10300_TLS_LE): Likewise.
8110 (R_MN10300_TLS_DTPMOD): Likewise.
8111 (R_MN10300_TLS_DTPOFF): Likewise.
8112 (R_MN10300_TLS_TPOFF): Likewise.
8113 (R_MN10300_SYM_DIFF): Likewise.
8114 (R_MN10300_ALIGN): Likewise.
8115 (R_MN10300_NUM): Update.
8117 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8119 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8122 2012-08-08 Roland McGrath <roland@hack.frob.com>
8124 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8126 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8127 sysdeps/unix -> sysdeps/posix move.
8128 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8130 2012-08-07 Allan McRae <allan@archlinux.org>
8133 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8134 (SUNOS_CPP): Likewise.
8135 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8137 (open_input): Call CPP using execvp.
8139 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8141 * sysdeps/unix/sysv/linux/kernel-features.h
8142 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8143 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8144 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8145 (__ASSUME_WAITID_SYSCALL): Likewise.
8146 * sysdeps/unix/sysv/linux/dl-execstack.c
8147 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8149 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8151 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8152 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8153 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8155 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8157 [__ASSUME_WAITID_SYSCALL]: Likewise.
8158 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8160 2012-08-07 Roland McGrath <roland@hack.frob.com>
8162 * sysdeps/unix/closedir.c: Renamed to ...
8163 * sysdeps/posix/closedir.c: ... here.
8164 * sysdeps/unix/dirfd.c: Renamed to ...
8165 * sysdeps/posix/dirfd.c: ... here.
8166 * sysdeps/unix/dirstream.h: Renamed to ...
8167 * sysdeps/posix/dirstream.h: ... here.
8168 * sysdeps/unix/fdopendir.c: Renamed to ...
8169 * sysdeps/posix/fdopendir.c: ... here.
8170 * sysdeps/unix/opendir.c: Renamed to ...
8171 * sysdeps/posix/opendir.c: ... here.
8172 * sysdeps/unix/readdir.c: Renamed to ...
8173 * sysdeps/posix/readdir.c: ... here.
8174 * sysdeps/unix/readdir_r.c: Renamed to ...
8175 * sysdeps/posix/readdir_r.c: ... here.
8176 * sysdeps/unix/rewinddir.c: Renamed to ...
8177 * sysdeps/posix/rewinddir.c: ... here.
8178 * sysdeps/unix/seekdir.c: Renamed to ...
8179 * sysdeps/posix/seekdir.c: ... here.
8180 * sysdeps/unix/telldir.c: Renamed to ...
8181 * sysdeps/posix/telldir.c: ... here.
8182 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8183 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8184 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8185 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8187 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8188 * bits/fcntl.h: ... here.
8190 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8192 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8193 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8194 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8195 (struct flock): Move l_start, l_len to the beginning.
8196 Use __pid_t for l_pid.
8197 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8198 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8199 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8200 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8201 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8202 [__USE_LARGEFILE64] (struct flock64): New type.
8203 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8205 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8206 * bits/dirent.h: ... here.
8208 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8209 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8211 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8213 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8214 Change from 2.6.0 to 2.6.16.
8215 * sysdeps/unix/sysv/linux/configure: Regenerated.
8216 * sysdeps/unix/sysv/linux/kernel-features.h
8217 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8218 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8220 (__ASSUME_UTIMES): Likewise.
8221 (__ASSUME_CLONE_STOPPED): Remove.
8222 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8223 architectures, not kernel version.
8224 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8225 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8226 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8227 (__ASSUME_WAITID_SYSCALL): Likewise.
8228 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8229 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8230 * README: State 2.6.16 as minimum Linux kernel version. Do not
8231 refer to older versions.
8233 2012-08-06 Roland McGrath <roland@hack.frob.com>
8235 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8236 Define alphasort64 as an alias.
8237 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8238 Define versionsort64 as an alias.
8239 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8240 Define scandir64 as an alias.
8241 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8242 Define scandirat64 as an alias.
8243 * dirent/alphasort64.c (alphasort64):
8244 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8245 * dirent/versionsort64.c: Likewise.
8246 * dirent/scandir64.c: Likewise.
8247 * dirent/scandirat64.c: Likewise.
8248 * sysdeps/wordsize-64/alphasort.c: File removed.
8249 * sysdeps/wordsize-64/alphasort64.c: File removed.
8250 * sysdeps/wordsize-64/scandir.c: File removed.
8251 * sysdeps/wordsize-64/scandir64.c: File removed.
8252 * sysdeps/wordsize-64/scandirat.c: File removed.
8253 * sysdeps/wordsize-64/scandirat64.c: File removed.
8254 * sysdeps/wordsize-64/versionsort.c: File removed.
8255 * sysdeps/wordsize-64/versionsort64.c: File removed.
8256 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8257 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8258 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8260 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8262 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8263 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8265 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8267 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8269 [defined __arch64__ || defined __sparcv9]
8270 (__INO_T_MATCHES_INO64_T): New macro.
8271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8272 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8273 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8274 * sysdeps/unix/sysv/linux/bits/dirent.h
8275 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8276 (_DIRENT_MATCHES_DIRENT64): New macro.
8278 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8279 Define lockf64 as an alias.
8280 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8281 Define fseeko64 as an alias.
8282 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8283 Define ftello64 as an alias.
8284 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8285 Define _IO_fgetpos64 and fgetpos64 as aliases.
8286 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8287 Define _IO_fsetpos64 and fsetpos64 as aliases.
8288 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8289 Conditionalize body on this.
8290 * libio/fseeko64.c: Likewise.
8291 * libio/ftello64.c: Likewise.
8292 * libio/iofgetpos64.c: Likewise.
8293 * libio/iofsetpos64.c: Likewise.
8294 * sysdeps/wordsize-64/lockf.c: File removed.
8295 * sysdeps/wordsize-64/lockf64.c: File removed.
8296 * sysdeps/wordsize-64/fseeko.c: File removed.
8297 * sysdeps/wordsize-64/fseeko64.c: File removed.
8298 * sysdeps/wordsize-64/ftello.c: File removed.
8299 * sysdeps/wordsize-64/ftello64.c: File removed.
8300 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8301 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8302 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8303 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8304 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8305 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8306 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8308 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8310 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8312 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8313 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8315 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8317 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8319 [defined __arch64__ || defined __sparcv9]
8320 (__OFF_T_MATCHES_OFF64_T): New macro.
8321 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8322 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8324 (__OFF_T_MATCHES_OFF64_T): New macro.
8326 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8328 * stdlib/secure-getenv.c (__secure_getenv): Replace
8329 GLIBC_2_16 with GLIBC_2_17.
8331 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8333 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8334 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8336 2012-08-03 David S. Miller <davem@davemloft.net>
8338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8340 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8344 (__ASSUME_CORRECT_SI_PID): Likewise.
8345 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8346 (__ASSUME_TMPFS_NAME): Likewise.
8347 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8348 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8349 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8350 (HAVE_AUX_SECURE): Make definition unconditional.
8351 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8352 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8354 2012-08-03 Roland McGrath <roland@hack.frob.com>
8356 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8357 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8358 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8359 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8360 __eloop_threshold instead of SYMLOOP_MAX.
8362 * sysdeps/generic/eloop-threshold.h: New file.
8363 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8365 * elf/chroot_canon.c (chroot_canon): Likewise.
8367 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8370 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8371 Change to 2.6.0 everywhere.
8372 * sysdeps/unix/sysv/linux/configure: Regenerated.
8373 * sysdeps/unix/sysv/linux/kernel-features.h
8374 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8375 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8377 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8378 (__ASSUME_FUTEX_REQUEUE): Remove.
8379 (__ASSUME_STATFS64): Define unconditionally.
8380 (__ASSUME_AT_SECURE): Likewise.
8381 (__ASSUME_CORRECT_SI_PID): Likewise.
8382 (__ASSUME_TGKILL): Define without depending on kernel version for
8384 (__ASSUME_UTIMES): Likewise.
8385 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8387 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8388 (__ASSUME_TMPFS_NAME): Likewise.
8389 * README: Update reference to Linux kernel versions.
8391 2012-08-02 Marek Polacek <polacek@redhat.com>
8394 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8395 libc_cv_asm_type_prefix with %.
8396 * configure: Regenerated.
8397 * include/libc-symbols.h: Remove comment about
8398 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8399 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8400 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8401 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8402 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8403 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8404 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8405 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8406 * elf/tst-unique2mod1.c: Likewise.
8407 * elf/tst-unique1mod2.c: Likewise.
8408 * elf/tst-unique1mod1.c: Likewise.
8409 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8410 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8411 Replace ASM_TYPE_DIRECTIVE with .type.
8412 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8413 * sysdeps/i386/sysdep.h: Likewise.
8414 * sysdeps/x86_64/sysdep.h: Likewise.
8415 * sysdeps/sh/sysdep.h: Likewise.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8417 Do not define ASM_TYPE_DIRECTIVE.
8418 * sysdeps/powerpc/sysdep.h: Likewise.
8419 * sysdeps/powerpc/powerpc32/sysdep.h:
8420 Replace ASM_TYPE_DIRECTIVE with .type.
8421 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8422 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8423 * sysdeps/i386/fpu/e_powf.S: Likewise.
8424 * sysdeps/i386/fpu/e_expl.S: Likewise.
8425 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8427 * sysdeps/i386/fpu/e_pow.S: Likewise.
8428 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8430 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8431 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8432 * sysdeps/i386/fpu/e_log2.S: Likewise.
8433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8435 * sysdeps/i386/fpu/e_powl.S: Likewise.
8436 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8437 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8438 * sysdeps/i386/fpu/e_logl.S: Likewise.
8439 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8440 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8441 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8442 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8443 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8444 * sysdeps/i386/fpu/e_log.S: Likewise.
8445 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8446 * sysdeps/i386/fpu/e_logf.S: Likewise.
8447 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8448 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8449 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8450 * sysdeps/i386/fpu/e_log10.S: Likewise.
8451 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8452 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8453 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8454 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8455 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8456 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8457 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8458 * sysdeps/i386/i686/strtok.S: Likewise.
8459 * sysdeps/i386/i386-mcount.S: Likewise.
8460 * sysdeps/i386/strtok.S: Likewise.
8461 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8462 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8463 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8464 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8465 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8466 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8467 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8468 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8469 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8470 * sysdeps/x86_64/_mcount.S: Likewise.
8471 * sysdeps/x86_64/strtok.S: Likewise.
8472 * sysdeps/sh/_mcount.S: Likewise.
8474 2012-08-01 Roland McGrath <roland@hack.frob.com>
8476 * libio/iofopen.c: Include <fcntl.h>.
8477 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8478 (_IO_fopen64, fopen64): Define as aliases.
8479 * libio/iofopen64.c: Include <fcntl.h>.
8480 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8481 Conditionalize body on this.
8482 * sysdeps/wordsize-64/iofopen.c: File removed.
8483 * sysdeps/wordsize-64/iofopen64.c: File removed.
8485 2012-08-01 Marek Polacek <polacek@redhat.com>
8487 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8488 Use dlfcn directly instead of a variable.
8489 (binfmt-subdir): Do not define.
8492 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8494 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8495 Remove all definitions.
8496 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8497 <kernel-features.h>.
8498 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8499 (miss_F_GETOWN_EX): Remove all definitions.
8500 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8502 [!__ASSUME_FCNTL64]: Remove conditional code.
8503 [__ASSUME_FCNTL64]: Make code unconditional.
8504 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8505 <kernel-features.h>.
8506 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8507 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8508 (lockf64) [__NR_fcntl64]: Make code unconditional.
8509 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8511 * sysdeps/unix/sysv/linux/kernel-features.h
8512 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8513 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8514 Make code unconditional.
8515 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8516 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8518 [__NR_vfork]: Make code unconditional.
8519 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8520 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8522 [__NR_vfork]: Make code unconditional.
8523 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8524 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8526 2012-08-01 Roland McGrath <roland@hack.frob.com>
8528 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8529 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8531 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8532 Define mkstemp64 as an alias.
8533 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8534 Define mkstemps64 as an alias.
8535 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8536 Define mkostemp64 as an alias.
8537 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8538 Define mkostemps64 as an alias.
8539 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8540 Conditionalize body on this.
8541 * misc/mkostemp64.c: Likewise.
8542 * misc/mkostemps64.c: Likewise.
8543 * misc/mkstemps64.c: Likewise.
8544 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8545 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8546 * sysdeps/wordsize-64/mkostemp.c: File removed.
8547 * sysdeps/wordsize-64/mkstemp.c: File removed.
8548 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8550 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8554 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8555 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8556 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8557 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8559 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8560 compat_symbol macros from <shlib-compat.h> rather than the underlying
8561 default_symbol_version and symbol_version macros, so that DEFAULT
8562 lines in shlib-versions are respected.
8563 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8565 2012-08-01 Florian Weimer <fweimer@redhat.com>
8567 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8568 Declare with warn_unused_result.
8569 (setgid, setregid, setegid, setresgid): Likewise.
8570 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8572 * WUR-REPORT: Remove set*id functions.
8574 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8576 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8578 2012-07-31 Roland McGrath <roland@hack.frob.com>
8580 * include/sys/socket.h (__libc_accept, __libc_accept4):
8581 Add attribute_hidden.
8582 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8584 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8586 * inet/getnetgrent_r.c (setup): Likewise.
8588 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8590 2012-07-31 David S. Miller <davem@davemloft.net>
8592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8594 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8597 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8598 value between 1.0 and 2.0 and smaller part has absolute value less
8600 * math/s_clog10.c (__clog10): Likewise.
8601 * math/s_clog10f.c (__clog10f): Likewise.
8602 * math/s_clog10l.c (__clog10l): Likewise.
8603 * math/s_clogf.c (__clogf): Likewise.
8604 * math/s_clogl.c (__clogl): Likewise.
8605 * math/libm-test.inc (clog_test): Add more tests.
8606 (clog10_test): Likewise.
8607 * sysdeps/i386/fpu/libm-test-ulps: Update.
8608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8610 2012-07-31 Florian Weimer <fweimer@redhat.com>
8612 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8613 Exit with zero in case no suitable GID is found, and write a
8614 message to standard error.
8616 2012-07-30 Roland McGrath <roland@hack.frob.com>
8618 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8620 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8621 (MAXPATHLEN): Removed.
8622 (NOGROUP, NODEV): New macros.
8623 (setbit, clrbit, isset, isclr): New macros.
8624 (howmany, roundup, powerof2): New macros.
8625 (DEV_BSIZE): New macro.
8627 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8628 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8630 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8631 definition on [!__NO_LONG_DOUBLE_MATH].
8633 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8634 PTR_MANGLE and PTR_DEMANGLE.
8636 * socket/accept4.c (accept4): Rename to __libc_accept4.
8637 Define accept4 as a weak alias.
8639 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8640 on [_DIRENT_HAVE_D_TYPE].
8641 * io/ftw.c (ftw_dir): Likewise.
8643 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8645 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8647 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8648 Use the BSD numbers rather than the arbitrary ones we had.
8649 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8650 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8651 (SIGXCPU, SIGXFSZ): New macros.
8654 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8655 initializer on [_LIBC_REENTRANT].
8657 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8658 definitions inside [_POSIX_MAPPED_FILES].
8660 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8662 * dirent/opendir.c: Include <fcntl.h>.
8664 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8665 (__libc_getspecific): Likewise.
8666 (__libc_key_create): Likewise.
8668 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8669 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8670 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8671 (tmpfile64): Define as alias.
8672 * sysdeps/wordsize-64/tmpfile.c: File removed.
8673 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8675 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8677 * stdio-common/vfscanf.c: Include <stdbool.h>.
8678 * nss/makedb.c: Likewise.
8679 * stdio-common/_i18n_number.h: Likewise.
8680 * argp/argp-help.c: Likewise.
8681 * posix/wordexp.c: Likewise.
8682 * sysdeps/posix/spawni.c: Likewise.
8683 * nss/nss_files/files-initgroups.c: Likewise.
8684 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8685 * nss/nss_files/files-initgroups.c: Likewise.
8686 * nss/nss_db/db-netgrp.c: Likewise.
8687 * nss/nss_db/db-initgroups.c: Likewise.
8688 * io/fchmodat.c: Include <sys/stat.h>.
8690 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8691 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8693 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8696 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8697 Add multiple inclusion protection.
8699 2012-07-27 David S. Miller <davem@davemloft.net>
8701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8703 2012-07-27 Gary Benson <gbenson@redhat.com>
8706 * elf/rtld.c: Include <stap-probe.h>.
8707 (dl_main): Added static probes "init_start" and "init_complete".
8708 * elf/dl-load.c: Include <stap-probe.h>.
8709 (lose): Take new parameter "nsid".
8710 Added static probe "map_failed".
8711 (_dl_map_object_from_fd): Pass namespace id to lose.
8712 Added static probe "map_start".
8713 (open_verify): Pass namespace id to lose.
8714 * elf/dl-open.c: Include <stap-probe.h>.
8715 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8716 and "reloc_complete".
8717 * elf/dl-close.c: Include <stap-probe.h>.
8718 (_dl_close_worker): Added static probes "unmap_start" and
8720 * elf/rtld-debugger-interface.txt: New file documenting the above.
8722 2012-07-26 Roland McGrath <roland@hack.frob.com>
8724 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8725 rather than a string variable.
8726 * sunrpc/rpc_main.c (h_output): Likewise.
8727 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8729 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8731 * inet/check_native.c: New file.
8733 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8736 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8737 if larger part has absolute value 1.0.
8738 * math/s_clog10.c (__clog10): Likewise.
8739 * math/s_clog10f.c (__clog10f): Likewise.
8740 * math/s_clog10l.c (__clog10l): Likewise.
8741 * math/s_clogf.c (__clogf): Likewise.
8742 * math/s_clogl.c (__clogl): Likewise.
8743 * math/libm-test.inc (clog_test): Add more tests.
8744 (clog10_test): Likewise.
8745 * sysdeps/i386/fpu/libm-test-ulps: Update.
8746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8748 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8749 (pltexit): Likewise.
8750 (La_regs): Likewise.
8751 (La_retval): Likewise.
8752 (int_retval): Likewise.
8753 Update #error for removed macros to refer only to definitions in
8755 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8757 (pltexit): Likewise.
8758 (La_regs): Likewise.
8759 (La_retval): Likewise.
8760 (int_retval): Likewise.
8761 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8763 (pltexit): Likewise.
8764 (La_regs): Likewise.
8765 (La_retval): Likewise.
8766 (int_retval): Likewise.
8767 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8769 (pltexit): Likewise.
8770 (La_regs): Likewise.
8771 (La_retval): Likewise.
8772 (int_retval): Likewise.
8773 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8775 (pltexit): Likewise.
8776 (La_regs): Likewise.
8777 (La_retval): Likewise.
8778 (int_retval): Likewise.
8779 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8781 (pltexit): Likewise.
8782 (La_regs): Likewise.
8783 (La_retval): Likewise.
8784 (int_retval): Likewise.
8785 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8787 (pltexit): Likewise.
8788 (La_regs): Likewise.
8789 (La_retval): Likewise.
8790 (int_retval): Likewise.
8791 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8792 macro definitions in tst-audit.h.
8793 * sysdeps/i386/tst-audit.h: New file.
8794 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8795 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8796 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8797 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8798 * sysdeps/sh/tst-audit.h: Likewise.
8799 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8800 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8801 * sysdeps/x86_64/tst-audit.h: Likewise.
8803 2012-07-26 Andreas Jaeger <aj@suse.de>
8805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8808 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8809 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8810 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8812 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8813 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8814 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8816 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8819 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8821 (si_call_addr, si_syscall, si_arch): Define new macro.
8822 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8824 (si_call_addr, si_syscall, si_arch): Define new marcro.
8825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8827 (si_call_addr, si_syscall, si_arch): Define new macro.
8828 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8830 (si_call_addr, si_syscall, si_arch): Define new macro.
8832 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8835 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8836 Change to 2.4.21 where previously 2.4.1.
8837 * sysdeps/unix/sysv/linux/configure: Regenerated.
8838 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8839 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8840 Linux kernel version.
8841 (__ASSUME_STD_AUXV): Remove.
8842 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8844 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8845 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8846 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8847 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8848 (__ASSUME_NETLINK_SUPPORT): Likewise.
8849 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8850 (__no_netlink_support): Remove conditional definition.
8851 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8853 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8854 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8855 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8856 (if_nameindex_ioctl): Remove.
8857 (if_nameindex_netlink): Do not handle __no_netlink_support.
8858 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8860 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8861 Remove conditional code.
8862 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8864 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8866 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8867 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8868 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8870 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8871 [!__ASSUME_STD_AUXV]: Remove conditional code.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8873 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8874 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8876 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8877 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8879 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8881 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8882 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8884 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8886 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8889 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8892 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8894 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8896 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8898 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8901 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8903 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8906 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8908 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8910 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8912 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8915 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8917 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8919 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8921 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8924 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8926 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8927 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8928 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8929 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8930 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8931 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8932 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8933 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8934 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8935 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8936 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8937 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8938 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8939 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8940 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8941 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8942 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8944 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8946 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8947 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8948 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8950 2012-07-25 Florian Weimer <fweimer@redhat.com>
8952 * Versions.def: Add GLIBC_2.17.
8953 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8954 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8955 Introduce __libc_secure_getenv.
8956 * stdlib/Versions (2.17): Add secure_getenv
8957 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8958 * stdlib/secure-getenv.c: Rename __secure_getenv to
8959 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8960 symbol __secure_getenv for GLIBC_2.0.
8961 * stdlib/tst-secure-getenv.c: New.
8962 * stdlib/Makefile (tests): Add testcase.
8963 * manual/startup.texi (Environment Access): Document
8965 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8966 __libc_secure_getenv.
8967 * inet/ruserpass.c (ruserpass): Likewise.
8968 * malloc/mtrace.c (mtrace): Likewise.
8969 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8970 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8971 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8972 * sysdeps/posix/tempname.c: Likewise. Evaluate
8974 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8975 __secure_getenv to __libc_secure_getenv.
8976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8983 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8989 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8991 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8992 (struct La_i86_retval): Likewise.
8993 (struct La_x86_64_regs): Likewise.
8994 (struct La_x86_64_retval): Likewise.
8995 (struct La_x32_regs): Likewise.
8996 (struct La_x32_retval): Likewise.
8997 (struct La_ppc32_regs): Likewise.
8998 (struct La_ppc32_retval): Likewise.
8999 (struct La_ppc64_regs): Likewise.
9000 (struct La_ppc64_retval): Likewise.
9001 (struct La_sh_regs): Likewise.
9002 (struct La_sh_retval): Likewise.
9003 (struct La_s390_32_regs): Likewise.
9004 (struct La_s390_32_retval): Likewise.
9005 (struct La_s390_64_regs): Likewise.
9006 (struct La_s390_64_retval): Likewise.
9007 (struct La_sparc32_regs): Likewise.
9008 (struct La_sparc32_retval): Likewise.
9009 (struct La_sparc64_regs): Likewise.
9010 (struct La_sparc64_retval): Likewise.
9011 (struct audit_ifaces): Remove architecture-specific pltenter and
9013 * sysdeps/i386/ldsodefs.h: New file.
9014 * sysdeps/powerpc/ldsodefs.h: Likewise.
9015 * sysdeps/s390/ldsodefs.h: Likewise.
9016 * sysdeps/sh/ldsodefs.h: Likewise.
9017 * sysdeps/sparc/ldsodefs.h: Likewise.
9018 * sysdeps/x86_64/ldsodefs.h: Likewise.
9020 2012-07-25 Marek Polacek <polacek@redhat.com>
9023 * math/libm-test.inc (yn_test): Add another test.
9024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9025 to ERANGE when the result is +-Inf.
9026 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9027 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9028 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9029 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9031 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9033 * conform/data/time.h-data (NULL): Use macro-constant. Require
9035 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9037 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9039 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9041 * configure.in <sysdeps resolving>: Correct printing
9043 * configure: Regenerate.
9045 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9047 * math/w_ilogb.c: Include <limits.h>.
9048 * math/w_ilogbl.c: Likewise.
9050 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9052 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9053 va_copy. Document allowing for unavailable va_copy only as
9054 pre-C99 compatibility.
9055 * manual/string.texi (Copying and Concatenation): Use va_copy
9056 instead of __va_copy in concat example.
9058 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9060 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9061 (__sendto): Use create_address_port. Initialize APORT and deallocate
9064 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9065 with O_NOLINK passed to __file_name_lookup.
9067 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9068 with O_NOLINK passed to __file_name_lookup.
9070 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9071 negative N or less than NGIDS.
9073 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9074 type to string_t. Set ERANGE as errno and return it if NAME is not big
9075 enough. Use memcpy instead of strncpy.
9077 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9079 * elf/Makefile (check-data): Remove.
9080 (localplt.data): New vpath directive.
9081 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9082 instead of $(check-data).
9083 * scripts/data/localplt-generic.data: Move to ...
9084 * sysdeps/generic/localplt.data: ... here.
9085 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9086 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9087 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9090 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9093 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9096 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9099 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9102 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9106 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9108 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9109 PPC32 and PPC64 files.
9110 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9111 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9113 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9115 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9116 __makecontext_ret to ...
9117 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9118 ... here and call exit if uc_link is NULL. New file.
9119 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9120 __makecontext_ret.S.
9121 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9122 __makecontext_ret to ...
9123 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9124 ... here and call exit if uc_link is NULL. New file.
9125 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9126 __makecontext_ret.S.
9128 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9130 * elf/elf.h (R_390_IRELATIVE): New definition.
9131 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9132 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9133 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9134 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9135 (elf_machine_lazy_rel): Likewise.
9136 * sysdeps/s390/dl-irel.h: New file.
9137 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9138 * sysdeps/s390/s390-64/memset.S: New asm code.
9139 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9140 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9141 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9142 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9143 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9144 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9145 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9146 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9147 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9148 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9149 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9150 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9151 * sysdeps/s390/s390-32/memset.S: New asm code.
9152 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9154 2012-07-17 Marek Polacek <polacek@redhat.com>
9157 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9158 * sysdeps/s390/s390-64/configure.in: Likewise.
9159 * sysdeps/sparc/configure.in: Likewise.
9160 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9161 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9162 * sysdeps/i386/configure.in: Likewise.
9163 * sysdeps/x86_64/configure.in: Likewise.
9164 * sysdeps/sh/configure.in: Likewise.
9165 * sysdeps/s390/s390-32/configure: Regenerated.
9166 * sysdeps/s390/s390-64/configure: Likewise.
9167 * sysdeps/x86_64/configure: Likewise.
9168 * sysdeps/sh/configure: Likewise.
9169 * sysdeps/powerpc/powerpc64/configure: Likewise.
9170 * sysdeps/powerpc/powerpc32/configure: Likewise.
9171 * sysdeps/sparc/configure: Likwise.
9172 * sysdeps/i386/configure: Likewise.
9174 * elf/dl-open.c: Comment fixes.
9176 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9178 * Makefile [CXX] (check-data): Remove.
9179 [CXX] (c++-types.data): New vpath directive.
9180 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9181 vpath. Do not allow for C++ type data being missing.
9182 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9183 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9184 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9185 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9186 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9187 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9188 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9191 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9194 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9197 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9200 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9203 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9206 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9209 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9212 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9213 definitions to architecture-specific files.
9217 * sysdeps/i386/tls-macros.h: New file.
9218 * sysdeps/powerpc/tls-macros.h: Likewise.
9219 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9220 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9221 * sysdeps/sh/tls-macros.h: Likewise.
9222 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9223 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9224 * sysdeps/x86_64/tls-macros.h: Likewise.
9226 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9228 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9229 zero value for regular exit case.
9231 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9232 (__start_context): Preserve zero value for regular exit case.
9234 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9235 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9237 * manual/setjmp.texi (setcontext): Clarify normal process
9238 termination when uc_link is the null pointer.
9239 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9242 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9244 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9245 preprocessor. Test for each exception mask separately.
9247 2012-07-16 Andreas Jaeger <aj@suse.de>
9249 * po/ru.po: Update from translation team.
9251 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9253 * conform/data/string.h-data (NULL): Use macro-constant. Require
9255 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9256 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9257 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9258 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9259 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9261 2012-07-13 Andreas Jaeger <aj@suse.de>
9263 * po/fr.po: Update from translation team.
9265 2012-07-12 Marek Polacek <polacek@redhat.com>
9268 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9269 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9272 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9276 Change to 2.4.1 where previously 2.4.0.
9277 * sysdeps/unix/sysv/linux/configure: Regenerated.
9278 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9279 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9281 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9282 (__ASSUME_AT_CLKTCK): Remove.
9283 (__ASSUME_AT_PAGESIZE): Likewise.
9284 (__ASSUME_AT_XID): Likewise.
9285 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9286 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9287 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9289 (HAVE_AUX_PAGESIZE): Likewise.
9290 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9291 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9292 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9294 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9298 the temporary buffer used to invoke __gethostbyname2_r,
9299 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9300 host_data / struct gaih_addrtuple.
9301 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9302 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9303 header file nss/nsswitch.h.
9304 * nss/nsswitch.h (global scope): Add definition of implementation
9305 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9306 resolv/nss_dns/dns-host.c).
9308 2012-07-11 Andreas Jaeger <aj@suse.de>
9310 * po/fr.po: Update from translation team.
9312 * po/sv.po: Update from translation team
9313 * po/fr.po: Another update from translation team.
9315 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9317 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9318 for subnormals or multiply small sinh result by itself.
9319 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9322 2012-07-11 David S. Miller <davem@davemloft.net>
9324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9326 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9329 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9330 (INTERNAL_MARK): Shift it here.
9332 2012-07-10 Marek Polacek <polacek@redhat.com>
9335 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9336 libc_cv_asm_global_directive with .globl.
9337 * configure: Regenerated.
9338 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9340 * sysdeps/i386/configure: Regenerated.
9341 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9343 * sysdeps/x86_64/configure: Regenerated.
9344 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9345 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9346 * elf/tst-unique2mod2.c: Likewise.
9347 * elf/tst-unique2mod1.c: Likewise.
9348 * elf/tst-unique1mod2.c: Likewise.
9349 * elf/tst-unique1mod1.c: Likewise.
9350 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9351 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9352 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9353 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9354 * sysdeps/mach/sysdep.h: Likewise.
9355 * sysdeps/i386/sysdep.h: Likewise.
9356 * sysdeps/i386/i386-mcount.S: Likewise.
9357 * sysdeps/x86_64/_mcount.S: Likewise.
9358 * sysdeps/x86_64/sysdep.h: Likewise.
9359 * sysdeps/sh/_mcount.S: Likewise.
9360 * sysdeps/sh/sysdep.h: Likewise.
9361 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9362 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9364 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9365 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9366 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9367 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9368 * locale/localeinfo.h: Likewise.
9369 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9370 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9372 2012-07-09 Roland McGrath <roland@hack.frob.com>
9375 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9377 * manual/message.texi (The Uniforum approach): Likewise.
9378 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9379 (glibc iconv Implementation): Likewise.
9381 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9384 * math/s_clog.c (__clog): Avoid scaling a value down where that
9385 could result in underflow.
9386 * math/s_clog10.c (__clog10): Likewise.
9387 * math/s_clog10f.c (__clog10f): Likewise.
9388 * math/s_clog10l.c (__clog10l): Likewise.
9389 * math/s_clogf.c (__clogf): Likewise.
9390 * math/s_clogl.c (__clogl): Likewise.
9391 * math/libm-test.inc (clog_test): Add more tests.
9392 (clog10_test): Likewise.
9393 * sysdeps/i386/fpu/libm-test-ulps: Update.
9394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9396 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9399 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9400 by 7 not 8 to examine high bit of fractional part.
9403 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9404 for call to __mcount_internal.
9405 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9406 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9407 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9409 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9412 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9413 approximation for values within 0x1p-13f of an odd multiple of
9415 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9416 exception. Add more tests.
9417 * sysdeps/i386/fpu/libm-test-ulps: Update.
9420 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9421 inputs and return -1 for them. Do not check for +Inf in case not
9423 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9424 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9426 and return -1 for them. Do not check for +Inf in case not
9428 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9430 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9431 and return -1 for them. Do not check for +Inf in case not
9433 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9435 * sysdeps/i386/fpu/libm-test-ulps: Update.
9436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9438 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9440 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9442 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9446 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9447 could result in spurious underflow. Scale down values above
9448 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9449 * math/s_csqrtf.c (__csqrtf): Likewise.
9450 * math/s_csqrtl.c (__csqrtl): Likewise.
9451 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9453 * sysdeps/i386/fpu/libm-test-ulps: Update.
9454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9456 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9458 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9460 * catgets/xopen-msg.awk: New file.
9461 * catgets/xopen-msg.sed: Removed.
9463 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9465 * intl/po2test.awk: New file.
9466 * intl/po2test.sed: Removed.
9468 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9471 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9472 or multiply small sinh result by itself.
9473 * math/s_ctanf.c (__ctanf): Likewise.
9474 * math/s_ctanh.c (__ctanh): Likewise.
9475 * math/s_ctanhf.c (__ctanhf): Likewise.
9476 * math/s_ctanhl.c (__ctanhl): Likewise.
9477 * math/s_ctanl.c (__ctanl): Likewise.
9478 * math/libm-test.inc (ctan_test_tonearest): New function.
9479 (ctan_test_towardzero): Likewise.
9480 (ctan_test_downward): Likewise.
9481 (ctan_test_upward): Likewise.
9482 (ctanh_test_tonearest): Likewise.
9483 (ctanh_test_towardzero): Likewise.
9484 (ctanh_test_downward): Likewise.
9485 (ctanh_test_upward): Likewise.
9486 (main): Call these new functions.
9487 * sysdeps/i386/fpu/libm-test-ulps: Update.
9488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9490 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9492 * .gitignore: Delete /ports entry.
9494 2012-07-03 Andreas Jaeger <aj@suse.de>
9496 * po/bg.po: Update from translation team.
9497 * po/cs.po: Likewise.
9498 * po/de.po: Likewise.
9499 * po/hr.po: Likewise.
9500 * po/nl.pl: Likewise.
9501 * po/pl.po: Likewise.
9502 * po/vi.po: Likewise.
9504 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9506 * Makeconfig [!+link] (+link-before-libc): New variable.
9507 [!+link] (+link-after-libc): Likewise.
9508 [!+link] (+link-tests): Likewise.
9509 [!+link] (+link): Define in terms of $(+link-before-libc) and
9510 $(+link-after-libc).
9511 [!+link-static] (+link-static-before-libc): New variable.
9512 [!+link-static] (+link-static-after-libc): Likewise.
9513 [!+link-static] (+link-static-tests): Likewise.
9514 [!+link-static] (+link-static): Define in terms of
9515 $(+link-static-before-libc) and $(+link-static-after-libc).
9516 [build-shared] (link-libc-before-gnulib): New variable.
9517 [build-shared] (link-libc-tests): Likewise.
9518 [build-shared] (link-libc): Define in terms of
9519 $(link-libc-before-gnulib).
9520 [!build-shared] (link-libc-tests): New variable.
9521 (link-libc-static-tests): New variable.
9522 [!gnulib] (gnulib-arch): New variable.
9523 [!gnulib] (gnulib-tests): Likewise.
9524 [!gnulib] (static-gnulib-arch): Likewise.
9525 [!gnulib] (static-gnulib-tests): Likewise.
9526 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9527 Define with "=" instead of ":=".
9528 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9529 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9530 * Rules (binaries-all-notests): New variable.
9531 (binaries-all-tests): Likewise.
9532 (binaries-static-notests): Likewise.
9533 (binaries-static-tests): Likewise.
9534 (binaries-all): Define using $(binaries-all-notests) and
9535 $(binaries-all-tests).
9536 (binaries-static): Define using $(binaries-static-notests) and
9537 $(binaries-static-tests).
9538 (binaries-shared-tests): New variable.
9539 (binaries-shared-notests): Likewise.
9540 (binaries-shared): Remove variable.
9541 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9542 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9543 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9544 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9545 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9546 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9547 * elf/Makefile (sln-modules): New variable.
9548 (extra-objs): Add $(sln-modules:=.o).
9549 (ldconfig-modules): Add static-stubs.
9550 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9551 * elf/static-stubs.c: New file.
9554 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9555 by 7 not 8 to examine high bit of fractional part. Use volatile
9556 variables when splitting into final array of floats if
9557 __FLT_EVAL_METHOD__ != 0.
9558 * math/libm-test.inc (cos_test): Add another test.
9559 (sin_test): Likewise.
9560 * sysdeps/i386/fpu/libm-test-ulps: Update.
9563 * math/libm-test.inc (cosh_test): Add more tests.
9565 * version.h (RELEASE): Set to "development".
9566 (VERSION): Set to "2.16.90".
9568 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9570 * NEWS: Update copyright. Remove last-updated date.
9571 Mention math library bug fixes and timezone data changes.
9572 * README: Mention GNU/Hurd, x32, and HPPA support status.
9574 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9576 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9578 2012-06-27 Andreas Jaeger <aj@suse.de>
9580 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9582 2012-06-25 Andreas Jaeger <aj@suse.de>
9584 * sysdeps/s390/fpu/libm-test-ulps: Update.
9586 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9587 Thomas Schwinge <thomas@codesourcery.com>
9589 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9590 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9591 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9594 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9596 * sysdeps/mach/start.c: Remove file.
9597 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9598 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9599 * sysdeps/sh/init-first.c: Likewise.
9601 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9602 registers for frame unwinding purposes, add CFI directives.
9603 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9605 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9608 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9609 __fortify_fail returning.
9610 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9612 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9613 sysdeps/sh/____longjmp_chk.S.
9614 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9615 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9616 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9617 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9619 * sysdeps/sh/abort-instr.h: New file.
9620 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9621 process in case exit returns.
9623 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9624 initialize the GOT register before use.
9626 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9627 calculation of ARGC > 4.
9629 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9630 meaningful names to some local labels.
9632 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9633 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9635 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9636 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9637 (__arch_compare_and_exchange_val_16_acq): Likewise.
9638 (__arch_compare_and_exchange_val_32_acq): Likewise.
9639 (atomic_exchange_and_add): Fix gUSA sequence.
9640 (atomic_add): Likewise.
9641 (atomic_add_negative): Likewise.
9642 (atomic_add_zero): Likewise.
9643 (atomic_bit_test_set): Likewise.
9645 2012-06-22 Andreas Schwab <schwab@redhat.com>
9648 * include/link.h (struct link_map): Add l_free_initfini.
9649 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9651 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9652 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9653 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9656 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9658 * configure.in: Use AC_LANG_SOURCE.
9659 * configure: Regenerate.
9661 2012-06-22 Roland McGrath <roland@hack.frob.com>
9663 * configure.in (libc_cv_localstatedir): New substituted variable.
9664 * configure: Regenerated.
9665 * config.make.in (localstatedir): New variable, substituted from
9666 libc_cv_localstatedir.
9667 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9668 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9669 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9670 * sysdeps/gnu/configure: Regenerated.
9672 2012-06-21 Jeff Law <law@redhat.com>
9675 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9676 free. Simplify list management for _LIBC case.
9678 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9681 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9682 Clear sign bit of 64-bit integer value before comparing against
9685 * sysdeps/mach/configure: Regenerated.
9687 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9690 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9692 2012-06-21 Jeff Law <law@redhat.com>
9695 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9696 uint16_t for elements in the "seen" array to avoid char overflows.
9697 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9698 * elf/dl-open.c (dl_open_worker): Likewise.
9700 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9702 * scripts/list-sources.sh: Scan PORTS for translations.
9703 * po/libc.pot: Regenerated.
9705 2012-06-21 Andreas Jaeger <aj@suse.de>
9708 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9710 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9711 * bits/byteswap-16.h (__bswap_16): Likewise.
9712 * bits/byteswap.h (__bswap_constant_16): Likewise.
9714 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9717 * sysdeps/i386/fpu_control.h: Removed.
9718 * sysdeps/x86_64/fpu_control.h: Moved to ...
9719 * sysdeps/x86/fpu_control.h: Here.
9721 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9722 (_FPU_SETCW): Likewise.
9724 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9727 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9728 * sysdeps/x86/fpu/bits/mathinline.h: This.
9729 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9733 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9734 functions if __x86_64__ is defined.
9736 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9738 * string/endian.h: Add !__ASSEMBLER__ condition for including
9739 conversion interfaces.
9741 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9745 of ABS(x) in calculating zero to negative powers other than odd
9747 * math/libm-test.inc (pow_test): Add more tests.
9749 2012-06-15 Andreas Jaeger <aj@suse.de>
9751 * manual/contrib.texi (Contributors): Update entry of Liubov
9752 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9755 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9757 * string/string.h: Add __wur to GNU version of strerror_r.
9759 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9762 * string/Makefile (tests): Add tst-strtok_r.
9763 * string/tst-strtok_r.c: New file.
9764 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9765 RAX_LP/RDX_LP on SAVE_PTR.
9767 2012-06-14 Roland McGrath <roland@hack.frob.com>
9769 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9771 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9773 * libm_test.inc (csqrt_test): Allow more spurious underflow
9775 (j0_test): Likewise.
9776 (j1_test): Likewise.
9777 (y0_test): Likewise.
9778 (y1_test): Likewise.
9780 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9782 * po/Makefile (libc.pot): Use UTF-8 charset.
9784 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9787 Suppress sign-conversion warning from FD_SET.
9788 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9789 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9790 not unsigned long int.
9791 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9793 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9797 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9798 __extern_always_inline instead of __extern_inline.
9799 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9800 (__signbit): Likewise.
9801 (__signbitl): Support C++ namespace.
9802 (lrintf): New inline function.
9804 (llrintf): Likewise.
9816 (nearbyint): Likewise.
9817 (nearbyintf): Likewise.
9819 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9821 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9822 non-default versions.
9824 2012-06-11 Roland McGrath <roland@hack.frob.com>
9827 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9829 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9831 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9832 (FE_UPWARD, FE_DOWNWARD): Don't define.
9833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9834 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9836 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9838 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9841 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9843 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9845 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9846 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9848 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9851 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9852 * sysdeps/i386/fpu/Implies: New file.
9853 * sysdeps/x86_64/fpu/Implies: Likewise.
9854 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9855 * sysdeps/x86/fpu/bits/fenv.h: This.
9857 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9860 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9863 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9864 character 0xffff that matches the last element of the
9867 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9869 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9872 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9874 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9875 values higher than 25.6283.
9877 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9879 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9880 subnormal exponent extraction and add some __builtin_expect.
9881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9882 Fix for subnormal mantissa calculation.
9884 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9886 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9887 cpu2 is -1 and errno is not ENOSYS.
9889 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9892 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9893 * sysdeps/x86/bits/string.h: This.
9894 * sysdeps/x86_64/bits/string.h: Removed.
9896 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9897 if not compiling for x86-64, but compiling for >= i486.
9899 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9900 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9902 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9903 New macro from Linux kernel 3.4.0.
9904 (FP_XSTATE_MAGIC2): Likewise.
9905 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9906 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9907 (struct _fpx_sw_bytes): New struct.
9908 (struct _xsave_hdr): Likewise.
9909 (struct _ymmh_state): Likewise.
9910 (struct _xstate): Likewise.
9912 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9913 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9914 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9915 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9916 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9917 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9919 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9920 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9921 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9922 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9923 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9924 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9926 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9929 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9930 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9931 (sysdep_headers): Include sys/platform/ppc.h.
9932 * sysdeps/powerpc/test-gettimebase.c: Test for
9933 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9934 * manual/Makefile (appendices): Include platform.texi.
9935 * manual/contrib.texi (Contributors): Update @node pointers.
9936 * manual/maint.texi (Maintenance): Likewise.
9937 (Platform): New node.
9938 * manual/platform.texi: New file. Document the new features.
9940 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9941 Jakub Jelinek <jakub@redhat.com>
9944 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9945 where __builtin_expect is unavailable.
9947 2012-06-03 David S. Miller <davem@davemloft.net>
9949 * stdlib/longlong.h: Updated from GCC.
9951 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9954 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9955 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9958 (GLIBC_2.16): Likewise.
9960 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9962 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9964 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9967 (default-abi): New variable.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9969 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9971 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9973 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9975 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9978 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9979 definition. Document in comment.
9981 2012-06-01 David S. Miller <davem@davemloft.net>
9983 * stdlib/longlong.h: Updated from GCC.
9985 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9988 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9989 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9990 sys/debugreg.h sys/io.h here.
9991 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9992 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9994 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9995 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9996 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9997 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9998 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9999 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10001 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10002 Define only if __x86_64__ is defined.
10004 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10007 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10008 Use int64_t for variable i.
10009 * math/libm-test.inc (fmod_test): Add more tests.
10011 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10012 z computation is not scheduled after fetestexcept.
10013 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10014 Use math_force_eval instead of asm to ensure calculation scheduled
10015 before exception test.
10016 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10017 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10019 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10022 computation is not scheduled after fetestexcept.
10024 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10027 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10028 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10030 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10032 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10033 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10035 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10038 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10040 (__WCHAR_MIN): Support __WORDSIZE == 64.
10041 (__WCHAR_MAX): Likewise.
10043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10044 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10047 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10048 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10051 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10052 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10054 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10055 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10057 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10058 Defined to 1 if __x86_64__ isn't defined.
10059 (_STAT_VER_LINUX_OLD): New.
10060 (st_atime): Remove duplicate.
10061 (st_mtime): Likewise.
10062 (st_ctime): Likewise.
10064 2012-05-31 David S. Miller <davem@davemloft.net>
10066 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10069 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10071 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10075 * elf/dl-reloc.c: Include <_itoa.h>.
10076 (_dl_reloc_bad_type): Remove use of INTUSE.
10077 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10078 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10079 * stdio-common/psiginfo.c (psiginfo): Likewise.
10080 * stdio-common/psignal.c (psignal): Likewise.
10081 * string/strsignal.c (strsignal): Likewise.
10082 * include/signal.h (_sys_siglist): Declare hidden proto.
10083 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10084 INTVARDEF with libc_hidden_data_def.
10085 * stdio-common/itoa-udigits.c: Likewise.
10086 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10087 (_itoa_lower_digits_internal): Remove declaration.
10088 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10089 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10090 (_sys_sigabbrev_internal): Remove aliases.
10091 (_sys_siglist): Define hidden alias.
10093 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10098 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10101 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10102 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10104 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10105 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10106 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10107 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10108 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10109 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10111 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10112 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10113 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10115 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10123 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10124 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10125 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10127 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10128 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10129 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10130 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10131 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10132 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10134 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10135 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10137 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10138 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10140 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10142 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10144 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10145 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10147 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10149 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10150 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10151 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10153 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10155 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10157 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10159 * math/math.h (M_El): Use two more decimal places.
10160 (M_LOG2El): Likewise.
10161 (M_LOG10El): Likewise.
10162 (M_LN2l): Likewise.
10163 (M_LN10l): Likewise.
10165 (M_PI_2l): Likewise.
10166 (M_PI_4l): Likewise.
10167 (M_1_PIl): Likewise.
10168 (M_2_PIl): Likewise.
10169 (M_2_SQRTPIl): Likewise.
10170 (M_SQRT2l): Likewise.
10171 (M_SQRT1_2l): Likewise.
10173 2012-05-31 David S. Miller <davem@davemloft.net>
10175 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10176 values between float registers.
10177 * sysdeps/sparc/sparc64/memset.S: Likewise.
10178 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10180 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10182 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10183 -D_FORTIFY_SOURCE=1.
10184 (CPPFLAGS-tst-longjmp_chk.c): Define.
10185 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10186 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10187 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10188 CFLAGS-tst-wchar-h.c.
10190 2012-05-31 Marek Polacek <polacek@redhat.com>
10193 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10194 __endmntent_internal): Remove declaration.
10195 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10196 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10197 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10199 2012-05-30 David S. Miller <davem@davemloft.net>
10201 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10202 (___Q_simulate_exceptions): Use real FP ops rather than writing
10204 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10207 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10210 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10211 * sysdeps/x86/bits/xtitypes.h: This.
10213 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10214 * sysdeps/x86/bits/wordsize.h: This.
10216 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10217 * sysdeps/x86/bits/huge_vall.h: This.
10219 * sysdeps/i386/bits/select.h: Removed.
10220 * sysdeps/x86_64/bits/select.h: Renamed to ...
10221 * sysdeps/x86/bits/select.h: This.
10223 * sysdeps/i386/bits/setjmp.h: Removed.
10224 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10225 * sysdeps/x86/bits/setjmp.h: This.
10227 * sysdeps/i386/bits/mathdef.h: Removed.
10228 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10229 * sysdeps/x86/bits/mathdef.h: This.
10231 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10234 * include/sys/socket.h (__connect_internal)
10235 (__libc_sa_len_internal): Remove declaration.
10236 (__connect, __libc_sa_len): Declare hidden_proto.
10237 (SA_LEN): Remove use of INTUSE.
10238 * socket/connect.c: Add libc_hidden_def.
10239 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10240 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10241 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10243 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10244 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10245 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10246 of adding _internal alias.
10248 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10251 * sysdeps/i386/bits/link.h: Removed.
10252 * sysdeps/i386/bits/linkmap.h: Likewise.
10253 * sysdeps/x86_64/bits/link.h: Renamed to ...
10254 * sysdeps/x86/bits/link.h: This.
10255 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10256 * sysdeps/x86/bits/linkmap.h: This.
10258 * sysdeps/i386/bits/endian.h: Removed.
10259 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10260 * sysdeps/x86/bits/endian.h: This.
10262 * sysdeps/i386/bits/byteswap.h: Removed.
10263 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10264 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10265 * sysdeps/x86/bits/byteswap.h: This.
10266 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10267 * sysdeps/x86/bits/byteswap-16.h: This.
10268 * sysdeps/i386/Implies: Add x86.
10269 * sysdeps/x86_64/Implies: Likewise.
10271 2012-05-30 David S. Miller <davem@davemloft.net>
10273 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10274 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10275 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10276 (FP_TRAPPING_EXCEPTIONS): Define.
10277 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10278 (FP_TRAPPING_EXCEPTIONS): Define.
10279 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10280 subnormals only when inexact has been signalled or underflow
10281 exceptions are enabled.
10282 (_FP_PACK_CANONICAL): Likewise.
10284 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10287 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10288 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10290 2012-05-30 Richard Henderson <rth@twiddle.net>
10292 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10293 with #ifndef NOT_IN_libc.
10295 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10296 marked to avoid plt entry.
10298 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10301 * Makeconfig (default-abi): New macro.
10302 (abi-includes): Likewise.
10303 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10304 $(abi-$(default-abi)-lib-soname) for soname if defined.
10305 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10307 * Makefile (installed-stubs): Likewise.
10308 * include/stubs-biarch.h: Removed.
10309 * scripts/lib-names.awk: Only handle one library at a time.
10310 * scripts/soversions.awk: Remove WORDSIZE support.
10311 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10313 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10315 (syscall-list-default-condition): Likewise.
10316 (syscall-list-default-condition): Likewise.
10317 (syscall-list-includes): Likewise.
10318 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10319 syscall-list-* with abi-*. Handle undefined abi-variants.
10320 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10321 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10322 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10323 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10324 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10325 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10327 (syscall-list-32-options): Likewise.
10328 (syscall-list-32-condition): Likewise.
10329 (syscall-list-64-options): Likewise.
10330 (syscall-list-64-condition): Likewise.
10331 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10333 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10336 (abi-64-ld-soname): New macro.
10337 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10338 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10341 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10342 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10344 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10346 * sysdeps/unix/sysv/linux/kernel-features.h
10347 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10348 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10349 include <kernel-features.h>.
10350 [!__NR_ftruncate64]: Remove conditional code.
10351 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10352 [__NR_ftruncate64]: Make code unconditional.
10353 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10354 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10355 include <kernel-features.h>.
10356 [!__NR_ftruncate64]: Remove conditional code.
10357 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10358 [__NR_ftruncate64]: Make code unconditional.
10359 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10361 include <kernel-features.h>.
10362 [!__NR_ftruncate64]: Remove conditional code.
10363 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10364 [__NR_ftruncate64]: Make code unconditional.
10365 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10367 include <kernel-features.h>.
10368 [!__NR_ftruncate64]: Remove conditional code.
10369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10370 [__NR_ftruncate64]: Make code unconditional.
10371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10373 * configure.in (libc_cv_fpie): Weaken to a compile test using
10374 LIBC_TRY_CC_OPTION.
10375 * configure: Regenerated.
10377 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10392 2012-05-27 David S. Miller <davem@davemloft.net>
10394 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10396 (__Q_simulate_exceptions): Return void. Change to simulate
10397 exceptions by writing into the %fsr.
10398 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10399 (__Qp_handle_exceptions): Likewise.
10401 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10402 __Qp_handle_exceptions.
10403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10404 __Qp_handle_exceptions.
10405 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10406 as unused and give dummy FP_RND_NEAREST initializer.
10407 (FP_INHIBIT_RESULTS): Define.
10408 (___Q_simulate_exceptions): Update declaration.
10409 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10411 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10412 as unused and give dummy FP_RND_NEAREST initializer.
10413 (__Qp_handle_exceptions): Update declaration.
10414 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10417 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10419 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10420 the temporary FPU control word.
10421 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10422 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10423 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10424 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10425 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10426 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10427 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10428 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10429 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10430 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10431 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10433 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10435 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10438 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10440 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10441 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10442 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10443 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10445 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10446 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10449 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10451 * po/h.po: Update from translation team.
10453 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10455 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10457 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10458 handling of denormals.
10459 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10460 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10461 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10462 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10464 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10468 2012-05-26 Marek Polacek <polacek@redhat.com>
10471 * math/libm-test.inc (fma_test): Don't always expect underflow
10474 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10477 * elf/tst-execstack.c: Include stackinfo.h.
10478 (do_test): Adjust test case to ensure that pthread_getattr_np
10479 behaviour remains the same after marking stack executable.
10481 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10483 * sysdeps/unix/sysv/linux/kernel-features.h
10484 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10485 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10487 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10488 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10489 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10491 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10492 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10494 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10496 * configure.in: Define the default includes to being none.
10497 * configure: Regenerated.
10499 2012-05-25 Roland McGrath <roland@hack.frob.com>
10501 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10502 * sysdeps/x86_64/setjmp.S: Likewise.
10503 * sysdeps/i386/bsd-setjmp.S: Likewise.
10504 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10505 * sysdeps/i386/setjmp.S: Likewise.
10506 * sysdeps/i386/__longjmp.S: Likewise.
10507 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10508 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10510 * include/stap-probe.h: New file.
10511 * configure.in: Handle --enable-systemtap.
10512 * configure: Regenerated.
10513 * config.h.in (USE_STAP_PROBE): New #undef.
10514 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10515 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10516 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10518 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10521 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10522 to 2.4.0 where earlier.
10523 * sysdeps/unix/sysv/linux/configure: Regenerated.
10524 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10525 <kernel-features.h>.
10526 [__ASSUME_32BITUIDS]: Make code unconditional.
10527 [!__ASSUME_32BITUIDS]: Remove conditional code.
10528 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10529 <kernel-features.h>.
10530 [__ASSUME_32BITUIDS]: Make code unconditional.
10531 [!__ASSUME_32BITUIDS]: Remove conditional code.
10532 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10533 [__ASSUME_32BITUIDS]: Make code unconditional.
10534 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10535 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10536 <kernel-features.h>.
10537 [__ASSUME_32BITUIDS]: Make code unconditional.
10538 [!__ASSUME_32BITUIDS]: Remove conditional code.
10539 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10540 <kernel-features.h>.
10541 [__ASSUME_32BITUIDS]: Make code unconditional.
10542 [!__ASSUME_32BITUIDS]: Remove conditional code.
10543 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10544 <kernel-features.h>.
10545 [__ASSUME_32BITUIDS]: Make code unconditional.
10546 [!__ASSUME_32BITUIDS]: Remove conditional code.
10547 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10548 <kernel-features.h>.
10549 [__ASSUME_32BITUIDS]: Make code unconditional.
10550 [!__ASSUME_32BITUIDS]: Remove conditional code.
10551 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10552 <kernel-features.h>.
10553 [__ASSUME_32BITUIDS]: Make code unconditional.
10554 [!__ASSUME_32BITUIDS]: Remove conditional code.
10555 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10556 <kernel-features.h>.
10557 [__ASSUME_32BITUIDS]: Make code unconditional.
10558 [!__ASSUME_32BITUIDS]: Remove conditional code.
10559 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10560 <kernel-features.h>.
10561 [__ASSUME_32BITUIDS]: Make code unconditional.
10562 [!__ASSUME_32BITUIDS]: Remove conditional code.
10563 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10564 <kernel-features.h>.
10565 [__ASSUME_32BITUIDS]: Make code unconditional.
10566 [!__ASSUME_32BITUIDS]: Remove conditional code.
10567 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10568 <kernel-features.h>.
10569 [__ASSUME_32BITUIDS]: Make code unconditional.
10570 [!__ASSUME_32BITUIDS]: Remove conditional code.
10571 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10572 <kernel-features.h>.
10573 [__ASSUME_32BITUIDS]: Make code unconditional.
10574 [!__ASSUME_32BITUIDS]: Remove conditional code.
10575 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10576 <kernel-features.h>.
10577 [__NR_setresgid] (__setresgid): Do not declare.
10578 [__ASSUME_32BITUIDS]: Make code unconditional.
10579 [!__ASSUME_32BITUIDS]: Remove conditional code.
10580 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10581 <kernel-features.h>.
10582 [__NR_setresuid] (__setresuid): Do not declare.
10583 [__ASSUME_32BITUIDS]: Make code unconditional.
10584 [!__ASSUME_32BITUIDS]: Remove conditional code.
10585 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10586 <kernel-features.h>.
10587 [__ASSUME_32BITUIDS]: Make code unconditional.
10588 [!__ASSUME_32BITUIDS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10590 <kernel-features.h>.
10591 [__ASSUME_32BITUIDS]: Make code unconditional.
10592 [!__ASSUME_32BITUIDS]: Remove conditional code.
10593 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10594 <kernel-features.h>.
10595 [__ASSUME_32BITUIDS]: Make code unconditional.
10596 [!__ASSUME_32BITUIDS]: Remove conditional code.
10597 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10598 <kernel-features.h>.
10599 [__ASSUME_32BITUIDS]: Make code unconditional.
10600 [!__ASSUME_32BITUIDS]: Remove conditional code.
10601 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10602 <kernel-features.h>.
10603 [__ASSUME_32BITUIDS]: Make code unconditional.
10604 [!__ASSUME_32BITUIDS]: Remove conditional code.
10605 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10606 <kernel-features.h>.
10607 [__ASSUME_32BITUIDS]: Make code unconditional.
10608 [!__ASSUME_32BITUIDS]: Remove conditional code.
10609 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10610 <kernel-features.h>.
10611 [__ASSUME_32BITUIDS]: Make code unconditional.
10612 [!__ASSUME_32BITUIDS]: Remove conditional code.
10613 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10614 <kernel-features.h>.
10615 [__ASSUME_32BITUIDS]: Make code unconditional.
10616 [!__ASSUME_32BITUIDS]: Remove conditional code.
10617 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10618 <kernel-features.h>.
10619 [__ASSUME_32BITUIDS]: Make code unconditional.
10620 [!__ASSUME_32BITUIDS]: Remove conditional code.
10621 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10622 <kernel-features.h>.
10623 [__ASSUME_32BITUIDS]: Make code unconditional.
10624 [!__ASSUME_32BITUIDS]: Remove conditional code.
10625 * sysdeps/unix/sysv/linux/kernel-features.h
10626 (__ASSUME_SETRESUID_SYSCALL): Remove.
10627 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10628 (__ASSUME_32BITUIDS): Likewise.
10629 (__ASSUME_LDT_WORKS): Likewise.
10630 (__ASSUME_O_DIRECTORY): Likewise.
10631 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10632 architecture but not kernel version.
10633 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10634 (__ASSUME_MMAP2_SYSCALL): Likewise.
10635 (__ASSUME_STAT64_SYSCALL): Likewise.
10636 (__ASSUME_IPC64): Likewise.
10637 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10638 <kernel-features.h>.
10639 [__ASSUME_32BITUIDS]: Make code unconditional.
10640 [!__ASSUME_32BITUIDS]: Remove conditional code.
10641 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10642 <kernel-features.h>.
10643 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10644 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10645 132096]: Remove conditional code.
10646 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10647 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10648 <kernel-features.h>.
10649 [__ASSUME_32BITUIDS]: Make code unconditional.
10650 [!__ASSUME_32BITUIDS]: Remove conditional code.
10651 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10652 <kernel-features.h>.
10653 [__ASSUME_32BITUIDS]: Make code unconditional.
10654 [!__ASSUME_32BITUIDS]: Remove conditional code.
10655 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10656 <kernel-features.h>.
10657 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10659 (__setresgid): Do not declare.
10660 [__ASSUME_32BITUIDS]: Make code unconditional.
10661 [!__ASSUME_32BITUIDS]: Remove conditional code.
10662 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10663 <kernel-features.h>.
10664 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10666 (__setresuid): Do not declare.
10667 [__ASSUME_32BITUIDS]: Make code unconditional.
10668 [!__ASSUME_32BITUIDS]: Remove conditional code.
10669 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10670 <kernel-features.h>.
10671 [__ASSUME_32BITUIDS]: Make code unconditional.
10672 [!__ASSUME_32BITUIDS]: Remove conditional code.
10673 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10674 <kernel-features.h>.
10675 [__ASSUME_32BITUIDS]: Make code unconditional.
10676 [!__ASSUME_32BITUIDS]: Remove conditional code.
10678 2012-05-25 Richard Henderson <rth@twiddle.net>
10680 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10681 dl_hwcap to ifunc resolver.
10682 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10684 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10685 dl_hwcap to ifunc resolver.
10686 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10688 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10691 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10692 for |x| <= 2**-26, not 2**-57.
10693 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10696 2012-05-24 Jeff Law <law@redhat.com>
10698 * stdio-common/Makefile (tests): Add bug25.
10699 * stdio-common/bug25.c: New test.
10701 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10704 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10705 multiple of MALLOC_ALIGNMENT in size.
10706 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10708 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10710 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10712 (FILENAME_MAX): Use macro-int-constant.
10713 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10714 (_IOFBF): Use macro-int-constant.
10715 (_IOLBF): Likewise.
10716 (_IONBF): Likewise.
10717 (SEEK_CUR): Likewise.
10718 (SEEK_END): Likewise.
10719 (SEEK_SET): Likewise.
10720 (TMP_MAX): Likewise.
10721 (EOF): Use macro-int-constant. Require < 0.
10722 (NULL): Use macro-constant. Require == 0.
10723 (stdin): Require type to be FILE *.
10724 (stdout): Likewise.
10725 (stderr): Likewise.
10726 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10727 macro-int-constant.
10728 (EXIT_SUCCESS): Likewise.
10729 (NULL): Use macro-constant. Require == 0.
10730 (RAND_MAX): Use macro-int-constant.
10731 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10732 [C99-based standards] (strtof): Require function.
10733 [C99-based standards] (strtold): Likewise.
10734 [C99-based standards] (strtoll): Likewise.
10735 [C99-based standards] (strtoull): Likewise.
10736 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10737 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10738 [ISO || ISO99 || ISO11] (math.h): Likewise.
10739 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10740 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10743 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10746 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10747 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10748 * intl/dgettext.c (DCGETTEXT): Likewise.
10749 * intl/gettext.c (DCGETTEXT): Likewise.
10750 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10751 * posix/regex_internal.h (gettext): Likewise.
10752 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10753 Remove declaration.
10754 * include/argz.h (__argz_count_internal)
10755 (__argz_stringify_internal): Remove declaration.
10756 (__argz_count, __argz_stringify): Declare hidden proto.
10757 * intl/dcgettext.c: Remove use of INTDEF.
10758 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10759 * string/argz-stringify.c: Likewise.
10760 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10761 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10762 Declare hidden proto.
10763 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10764 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10765 Declare hidden proto.
10766 * include/stdio.h (__asprintf_internal): Don't declare.
10767 (__asprintf): Don't define as macro. Declare hidden proto.
10768 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10769 (__fsetlocking): Declare hidden proto.
10770 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10771 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10773 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10774 (_IO_setlinebuf): Remove use of INTUSE.
10775 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10776 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10777 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10778 Remove declaration.
10779 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10780 (_IO_do_flush): Remove use of INTUSE.
10781 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10782 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10783 (_IO_adjust_column, _IO_least_wmarker)
10784 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10785 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10786 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10787 (_IO_default_doallocate, _IO_wdefault_doallocate)
10788 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10789 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10790 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10791 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10792 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10793 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10794 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10795 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10796 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10797 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10798 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10799 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10800 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10802 (_IO_flush_all_internal, _IO_adjust_column_internal)
10803 (_IO_default_uflow_internal, _IO_default_finish_internal)
10804 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10805 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10806 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10807 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10808 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10809 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10810 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10811 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10812 (_IO_file_close_internal, _IO_file_close_it_internal)
10813 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10814 (_IO_file_init_internal, _IO_file_attach_internal)
10815 (_IO_file_fopen_internal, _IO_file_read_internal)
10816 (_IO_file_sync_internal, _IO_file_seek_internal)
10817 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10818 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10819 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10820 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10821 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10822 (_IO_list_all_internal, _IO_link_in_internal)
10823 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10824 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10825 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10826 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10827 (_IO_do_write_internal, _IO_padn_internal)
10828 (_IO_getline_info_internal, _IO_getline_internal)
10829 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10830 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10831 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10832 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10833 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10834 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10835 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10836 with libc_hidden_ver, remove use of INTUSE.
10837 * libio/genops.c: Likewise.
10838 * libio/freopen.c: Likewise.
10839 * libio/freopen64.c: Likewise.
10840 * libio/iofclose.c: Likewise.
10841 * libio/iofdopen.c: Likewise.
10842 * libio/iofflush.c: Likewise.
10843 * libio/iofflush_u.c: Likewise.
10844 * libio/iofgets.c: Likewise.
10845 * libio/iofgets_u.c: Likewise.
10846 * libio/iofopen.c: Likewise.
10847 * libio/iofopncook.c: Likewise.
10848 * libio/iofread.c: Likewise.
10849 * libio/iofread_u.c: Likewise.
10850 * libio/ioftell.c: Likewise.
10851 * libio/iofwrite.c: Likewise.
10852 * libio/iogetline.c: Likewise.
10853 * libio/iogets.c: Likewise.
10854 * libio/iogetwline.c: Likewise.
10855 * libio/iopadn.c: Likewise.
10856 * libio/iopopen.c: Likewise.
10857 * libio/ioseekoff.c: Likewise.
10858 * libio/ioseekpos.c: Likewise.
10859 * libio/iosetbuffer.c: Likewise.
10860 * libio/iosetvbuf.c: Likewise.
10861 * libio/ioungetc.c: Likewise.
10862 * libio/ioungetwc.c: Likewise.
10863 * libio/iovdprintf.c: Likewise.
10864 * libio/iovsprintf.c: Likewise.
10865 * libio/iovsscanf.c: Likewise.
10866 * libio/memstream.c: Likewise.
10867 * libio/obprintf.c: Likewise.
10868 * libio/oldfileops.c: Likewise.
10869 * libio/oldiofclose.c: Likewise.
10870 * libio/oldiofdopen.c: Likewise.
10871 * libio/oldiofopen.c: Likewise.
10872 * libio/oldiopopen.c: Likewise.
10873 * libio/oldstdfiles.c: Likewise.
10874 * libio/putc.c: Likewise.
10875 * libio/setbuf.c: Likewise.
10876 * libio/setlinebuf.c: Likewise.
10877 * libio/stdfiles.c: Likewise.
10878 * libio/strops.c: Likewise.
10879 * libio/vasprintf.c: Likewise.
10880 * libio/vscanf.c: Likewise.
10881 * libio/vsnprintf.c: Likewise.
10882 * libio/vswprintf.c: Likewise.
10883 * libio/wfiledoalloc.c: Likewise.
10884 * libio/wfileops.c: Likewise.
10885 * libio/wgenops.c: Likewise.
10886 * libio/wmemstream.c: Likewise.
10887 * libio/wstrops.c: Likewise.
10888 * libio/__fpurge.c: Likewise.
10889 * libio/__fsetlocking.c: Likewise.
10890 * assert/assert.c: Likewise.
10891 * debug/fgets_chk.c: Likewise.
10892 * debug/fgets_u_chk.c: Likewise.
10893 * debug/fread_chk.c: Likewise.
10894 * debug/fread_u_chk.c: Likewise.
10895 * debug/gets_chk.c: Likewise.
10896 * debug/obprintf_chk.c: Likewise.
10897 * debug/vasprintf_chk.c: Likewise.
10898 * debug/vdprintf_chk.c: Likewise.
10899 * debug/vsnprintf_chk.c: Likewise.
10900 * debug/vsprintf_chk.c: Likewise.
10901 * malloc/mtrace.c: Likewise.
10902 * misc/error.c: Likewise.
10903 * misc/syslog.c: Likewise.
10904 * stdio-common/asprintf.c: Likewise.
10905 * stdio-common/fxprintf.c: Likewise.
10906 * stdio-common/getw.c: Likewise.
10907 * stdio-common/isoc99_fscanf.c: Likewise.
10908 * stdio-common/isoc99_scanf.c: Likewise.
10909 * stdio-common/isoc99_vfscanf.c: Likewise.
10910 * stdio-common/isoc99_vscanf.c: Likewise.
10911 * stdio-common/isoc99_vsscanf.c: Likewise.
10912 * stdio-common/printf-prs.c: Likewise.
10913 * stdio-common/printf_fp.c: Likewise.
10914 * stdio-common/printf_fphex.c: Likewise.
10915 * stdio-common/printf_size.c: Likewise.
10916 * stdio-common/putw.c: Likewise.
10917 * stdio-common/scanf.c: Likewise.
10918 * stdio-common/sprintf.c: Likewise.
10919 * stdio-common/tmpfile.c: Likewise.
10920 * stdio-common/vfprintf.c: Likewise.
10921 * stdio-common/vfscanf.c: Likewise.
10922 * stdlib/strfmon_l.c: Likewise.
10923 * sunrpc/openchild.c: Likewise.
10924 * sunrpc/xdr_stdio.c: Likewise.
10925 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10926 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10928 2012-05-24 Roland McGrath <roland@hack.frob.com>
10930 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10932 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10933 in the third column, to generate for the shared library an IFUNC
10934 that uses _dl_vdso_vsym.
10935 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10936 * Makeconfig (object-suffixes-noshared): New variable.
10938 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10939 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10940 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10941 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10944 * include/sys/time.h (__gettimeofday): Remove macro.
10945 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10946 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10948 (__gettimeofday): Add libc_hidden_def.
10949 (gettimeofday): Add libc_hidden_weak.
10950 * sysdeps/mach/gettimeofday.c: Likewise.
10951 * sysdeps/posix/gettimeofday.c: Likewise.
10952 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10953 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10954 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10955 (__gettimeofday_internal): Remove strong_alias.
10956 (__gettimeofday): Add libc_hidden_def.
10957 (gettimeofday): Add libc_hidden_weak.
10958 * sysdeps/unix/syscalls.list (gettimeofday):
10959 Remove __gettimeofday_internal alias.
10961 2012-05-24 Daniel Jacobowitz <drow@false.org>
10962 H.J. Lu <hongjiu.lu@intel.com>
10965 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10966 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10967 (largebin_index_32_big): New.
10968 (largebin_index): Use it for 16-byte alignment.
10969 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10970 correction with front_misalign.
10972 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11000 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11001 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11003 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11007 * math/libm-test.inc (exp_test): Add test from bug 14036.
11008 (pow_test): Add test from bug 10846.
11010 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11012 (special_function): Do not include flags in test name.
11013 (parse_args): Likewise.
11014 * sysdeps/i386/fpu/libm-test-ulps: Update.
11015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11016 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11017 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11020 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11022 * math/libm-test.inc ("Philosophy"): Update comment about
11024 (UNDERFLOW_EXCEPTION): New macro.
11025 (UNDERFLOW_EXCEPTION_OK): Likewise.
11026 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11027 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11028 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11029 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11030 (INVALID_EXCEPTION_OK): Update value.
11031 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11032 (OVERFLOW_EXCEPTION_OK): Likewise.
11033 (IGNORE_ZERO_INF_SIGN): Likewise.
11034 (test_exceptions): Handle underflow exceptions.
11035 (acos_test): Update for underflow exception expectations.
11036 (cexp_test): Likewise.
11037 (clog_test): Likewise.
11038 (clog10_test): Likewise.
11039 (csqrt_test): Likewise.
11040 (ctan_test): Likewise.
11041 (ctanh_test): Likewise.
11042 (exp_test): Likewise.
11043 (exp10_test): Likewise.
11044 (exp2_test): Likewise.
11045 (expm1_test): Likewise.
11046 (fma_test): Likewise.
11047 (j0_test): Likewise.
11048 (jn_test): Likewise.
11049 (nexttoward_test): Likewise.
11050 (pow_test): Likewise.
11051 (scalbn_test): Likewise.
11052 (scalbln_test): Likewise.
11053 (tan_test): Likewise.
11054 (y1_test): Likewise.
11055 * sysdeps/i386/fpu/libm-test-ulps: Update.
11056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11058 2012-05-23 David S. Miller <davem@davemloft.net>
11060 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11061 (__libc_sigaction): Remove unused local variables.
11063 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11065 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11067 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11069 mktime: avoid signed integer overflow
11070 * time/mktime.c (__mktime_internal): Do not mishandle the case
11071 where diff == INT_MIN.
11073 mktime: simplify computation of average
11074 * time/mktime.c (ranged_convert): Use new time_t_avg function
11075 instead of rolling our own (probably-slower) code.
11077 mktime: do not assume signed right shift propagates sign bit
11078 * time/mktime.c (isdst_differ): New static function.
11079 (__mktime_internal): No need to normalize tm_isdst now.
11080 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11083 mktime: merge another wrapv change from gnulib
11084 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11085 from some compilers.
11087 mktime: remove incorrect attempt at unusual arithmetics
11088 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11089 The code didn't really work on such machines anyway.
11090 (TYPE_MINIMUM): Assume two's complement.
11091 (twos_complement_arithmetic): Verify that long_int and time_t
11092 are two's complement (or unsigned, in the latter case).
11094 mktime: check signed shifts on long_int and time_t, too
11095 * time/mktime.c (SHR): Check that shifts work as desired
11096 on the types long_int and time_t too, as SHR is used on
11099 mktime: do not assume 'long' is wide enough
11100 * time/mktime.c (verify): Move decl up.
11101 (long_int): New type.
11102 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11103 to remove assumption in the code that 'long' is wide enough to
11104 store year values. This assumption is not true on x32 and on
11105 some non-glibc platforms.
11107 mktime: merge wrapv change from gnulib
11108 * time/mktime.c (WRAPV): New macro.
11109 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11110 (guess_time_tm, __mktime_internal): Do not assume that signed
11111 integer overflow wraps around; modern compilers generate code
11112 where this assumption is no longer valid.
11114 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11116 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11117 Replace "jmp L(pseudo_end)" with "ret".
11118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11121 2012-05-23 Andreas Jaeger <aj@suse.de>
11123 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11124 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11126 2012-05-23 Andreas Jaeger <aj@suse.de>
11127 Maximilian Attems <max@stro.at>
11129 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11132 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11134 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11135 code so that pseudo_end is just ret and the stack pointer is
11136 correct also for static library in error case.
11138 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11140 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11141 move to syscalls.list.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11147 * manual/install.texi (Running make install): Do not mention Linux
11148 kernel version for which pt_chown is not needed.
11149 (Linux): Do not mention problems with nscd with 2.0 kernels.
11150 * INSTALL: Regenerated.
11152 2012-05-23 Andreas Jaeger <aj@suse.de>
11154 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11155 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11157 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11159 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11161 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11166 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11167 * sysdeps/unix/sysv/linux/bits/in.h
11168 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11170 2012-05-22 Roland McGrath <roland@hack.frob.com>
11172 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11173 (PREPARE_VERSION): Just use assert instead, it will be elided
11174 under [NDEBUG] anyway.
11176 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11178 * sysdeps/unix/sysv/linux/Makefile: Include
11179 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11180 (sysdep_routines): Remove sysctl.
11181 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11182 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11183 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11184 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11185 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11187 2012-05-22 Andreas Jaeger <aj@suse.de>
11189 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11190 that pseudo_end is just ret and the stack pointer is correct also
11191 for static library in error case.
11193 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11196 * nss/nsswitch.c (defconfig_entries): New variable.
11197 (__nss_database_lookup): Don't leak defconfig entries.
11198 (nss_parse_service_list): Don't leak on error paths.
11199 (free_database_entries): New function.
11200 (free_defconfig): New function.
11201 (free_mem): Move common code to free_database_entries.
11203 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11205 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11207 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11209 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11210 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11213 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11214 (INTERNAL_SYSCALL_TYPES): Likewise.
11215 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11216 (LOAD_REGS_TYPES_[1-6]): Likewise.
11217 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11218 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11220 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11222 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11223 copysignl for GLIBC_2_0.
11224 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11225 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11227 logbl for GLIBC_2_0.
11228 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11229 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11231 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11233 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11234 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11236 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11239 * time/mktime.c: Update copyright years.
11241 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11243 mktime: merge comment-quoting-style change from gnulib
11244 * time/mktime.c: Quote 'like this' in comments.
11245 The GNU coding standards suggest that we no longer quote `like this',
11246 as "`" and "'" are typically rendered asymmetrically nowadays.
11247 The typical gnulib style is to quote 'like this' when quoting
11248 code, and "like this" when quoting English.
11250 * time/mktime.c (compile-command): Add "-I.".
11252 mktime: merge mktime-internal.h change from gnulib
11253 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11255 mktime: merge time_r change from gnulib
11256 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11258 mktime: merge DEBUG change from gnulib
11259 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11260 case system <time.h> has a #define.
11262 mktime: merge <sys/types.h> change from gnulib
11263 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11264 since <time.t> is now guaranteed to define time_t.
11266 mktime: merge HAVE_CONFIG_H change from gnulib
11267 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11269 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11274 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11276 (struct rusage): Use anonymous union to pad each field to
11279 2012-05-21 David S. Miller <davem@davemloft.net>
11281 * Makefules (o-iterator): Remove .s cases.
11282 (compile-command.s): Delete.
11283 (COMPILE.s): Delete.
11284 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11286 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11288 * configure.in (libc_cv_predef_stack_protector): Only consider
11289 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11290 * configure: Regenerated.
11292 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11295 New macro. Use R*LP on int and pointer.
11296 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11297 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11298 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11299 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11301 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11302 [__WORDSIZE_TIME64_COMPAT32] instead of
11303 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11304 (struct utmp): Likewise.
11305 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11306 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11308 (__WORDSIZE_TIME64_COMPAT32): This.
11309 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11310 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11311 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11312 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11313 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11314 (__WORDSIZE_TIME64_COMPAT32): New macro.
11316 2012-05-21 Andreas Jaeger <aj@suse.de>
11318 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11319 only if [SHARED]. Add prototype for __wcschr_ia32.
11321 2012-05-21 Roland McGrath <roland@hack.frob.com>
11323 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11324 of %rbp unmolested in the jmp_buf while mangling the low bits.
11325 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11326 unmolested high bits of %rbp while demangling the low bits.
11327 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11329 2012-05-21 Andreas Jaeger <aj@suse.de>
11331 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11332 * sunrpc/svc_simple.c: Use it for registerrpc.
11333 * sunrpc/xcrypt.c: Use it for passwd2des.
11335 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11337 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11339 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11340 Don't define if [__SYSCALL_WORDSIZE != 32].
11341 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11344 2012-05-21 Bruno Haible <bruno@clisp.org>
11345 Andreas Jaeger <aj@suse.de>
11347 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11348 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11349 inptr and inend for must_buffer_ch.
11350 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11351 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11352 * stdio-common/Makefile (tests): Remove bug15.
11353 (bug15-ENV): Remove macro.
11354 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11357 2012-05-19 Andreas Jaeger <aj@suse.de>
11358 Roland McGrath <roland@hack.frob.com>
11360 * manual/contrib.texi: Completely rewritten. It contains now an
11361 alphabetical list of contributors and their contributions.
11363 2012-05-21 Richard Henderson <rth@twiddle.net>
11365 * misc/getauxval.c (__getauxval): Use unsigned long int.
11366 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11367 (getauxval): Use unsigned long int.
11369 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11371 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11373 2012-05-21 Roland McGrath <roland@hack.frob.com>
11375 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11376 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11377 __alignof__ (long double).
11379 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11383 2012-05-20 Richard Henderson <rth@twiddle.net>
11385 * misc/getauxval.c: New file.
11386 * misc/sys/auxv.h: New file.
11387 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11388 (routines): Add getauxval.
11389 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11390 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11391 * elf/dl-sysdep.c (_dl_auxv): Remove.
11392 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11393 * elf/dl-support.c (_dl_auxv): New variable.
11394 (_dl_aux_init): Initialize it.
11395 * manual/startup.texi (Auxiliary Vector): New node.
11396 * sysdeps/generic/bits/hwcap.h: New file.
11397 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11398 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11399 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11400 * sysdeps/sparc/sysdep.h: ... here. Include it.
11401 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11402 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11408 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11414 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11418 2012-05-19 David S. Miller <davem@davemloft.net>
11420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11422 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11425 * math/s_ccosh.c: Include <float.h>
11426 (__ccosh): Avoid internal overflow calculating sinh and cosh
11427 values before multiplying by sin and cos values.
11428 * math/s_ccoshf.c: Likewise.
11429 * math/s_ccoshl.c: Likewise.
11430 * math/s_csin.c: Likewise.
11431 * math/s_csinf.c: Likewise.
11432 * math/s_csinl.c: Likewise.
11433 * math/s_csinh.c: Likewise.
11434 * math/s_csinhf.c: Likewise.
11435 * math/s_csinhl.c: Likewise.
11436 * math/libm-test.inc (ccos_test): Add more tests.
11437 (ccosh_test): Likewise.
11438 (csin_test): Likewise.
11439 (csinh_test): Likewise.
11440 * sysdeps/i386/fpu/libm-test-ulps: Update.
11441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11443 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11445 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11446 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11448 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11450 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11452 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11453 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11454 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11455 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11456 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11457 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11458 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11459 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11460 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11461 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11462 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11463 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11464 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11465 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11466 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11467 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11468 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11469 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11470 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11471 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11472 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11473 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11474 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11475 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11476 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11477 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11478 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11479 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11480 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11481 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11482 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11484 2012-05-18 Andreas Jaeger <aj@suse.de>
11486 * csu/.gitignore: Delete.
11488 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11490 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11491 (timex): Use __syscall_slong_t.
11493 2012-05-18 Andreas Jaeger <aj@suse.de>
11494 Carlos O'Donell <carlos_odonell@mentor.com>
11496 * manual/install.texi (Configuring and compiling): Update
11497 description about files modified in the source directory.
11498 * INSTALL: Regenerated.
11500 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11502 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11503 value. Use "or" to set return value to -1.
11504 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11505 negate return value.
11507 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11509 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11510 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11511 failure if the compiler has Graphite support disabled.
11512 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11514 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11515 CFLAGS-memmove.c): Likewise.
11516 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11519 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11521 * sysdeps/x86_64/x32/_itoa.h: New file.
11523 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11524 getdents system call only if kernel and user dirents have the
11525 same d_ino and d_off.
11527 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11528 LLONG_MAX != LONG_MAX.
11529 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11530 (_fitoa_word): Likewise.
11532 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11534 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11535 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11536 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11538 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11539 include <bits/wordsize.h>. Check __x86_64__ instead of
11541 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11542 if __x86_64__ is defined. Use anonymous union on fpstate.
11544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11547 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11549 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11550 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11551 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11552 Refer to _rtld_local_ro instead of _rtld_global_ro.
11553 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11555 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11557 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11559 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11560 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11561 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11563 * sysdeps/powerpc/powerpc32/dl-machine.c
11564 (__elf_machine_runtime_setup) [PROF]: Don't reference
11567 2012-05-18 Andreas Jaeger <aj@suse.de>
11569 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11570 function only available for GCCs before 3.4 since GCC 3.4
11571 introduced a builtin.
11573 (llrintf): Likewise.
11574 (llrint): Likewise.
11581 (nearbyint): Likewise.
11582 (nearbyintf): Likewise.
11586 (floorf): Likewise.
11588 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11590 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11591 on both fields and cast pointer to __syscall_ulong_t.
11593 * bits/types.h (__fsword_t): New type.
11594 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11595 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11596 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11597 (__FSWORD_T_TYPE): Likewise.
11598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11599 (__FSWORD_T_TYPE): Likewise.
11600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11601 (__FSWORD_T_TYPE): Likewise.
11602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11603 (__FSWORD_T_TYPE): Likewise.
11604 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11605 __SWORD_TYPE with __fsword_t.
11606 (statfs64): Likewise.
11608 2012-05-17 David S. Miller <davem@davemloft.net>
11610 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11612 2012-05-17 Andreas Jaeger <aj@suse.de>
11614 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11617 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11619 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11621 2012-05-17 Andreas Jaeger <aj@suse.de>
11623 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11626 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11628 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11630 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11632 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11633 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11635 2012-05-17 Andreas Jaeger <aj@suse.de>
11636 Carlos O'Donell <carlos_odonell@mentor.com>
11639 * sysdeps/x86_64/multiarch/init-arch.h
11640 (bit_YMM_Usable): Rename to...
11641 (bit_AVX_Usable): ... this.
11642 (bit_FMA4_Usable): New macro.
11643 (bit_XMM_state): New macro.
11644 (bit_YMM_state): New macro.
11645 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11646 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11647 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11648 (CPUID_OSXSAVE): New macro.
11649 (CPUID_AVX): New macro.
11650 (CPUID_FMA4): New macro.
11651 (index_YMM_Usable): Rename to...
11652 (index_AVX_Usable): ... this.
11653 (HAS_AVX): Use HAS_ARCH_FEATURE.
11654 (HAS_FMA4): Likewise.
11655 (HAS_YMM_USABLE): Remove.
11656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11657 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11659 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11660 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11661 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11662 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11663 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11665 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11667 * math/libm-test.c: Support platforms without multiple rounding modes.
11668 * math/bug-nextafter.c: Support platforms without FP exceptions.
11669 * math/bug-nexttoward.c: Likewise.
11670 * math/test-fenv.c: Likewise.
11671 * math/test-misc.c: Likewise.
11672 * stdlib/bug-getcontext.c: Likewise.
11674 2012-05-17 Andreas Jaeger <aj@suse.de>
11676 * manual/examples/search.c (critter_cmp): Change signature to
11678 * manual/string.texi (Collation Functions): Likewise.
11680 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11682 * bits/types.h: Fold copyright years.
11683 * bits/typesizes.h: Likewise.
11684 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11688 * time/time.h: Likewise.
11690 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11693 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11694 in instead of returning them. Return void.
11695 (__libc_mallinfo): Accumulate over all arenas.
11696 (__malloc_stats): Adjust for change in int_mallinfo interface.
11698 2012-05-16 Roland McGrath <roland@hack.frob.com>
11701 * configure.in (NM): Add AC_CHECK_TOOL for it.
11702 (libc_extra_cflags): New substituted variable.
11703 Check for -fstack-protector being used implicitly.
11704 * configure: Regenerated.
11705 * config.make.in (config-extra-cflags): New variable,
11706 gets @libc_extra_cflags@.
11707 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11710 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11711 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11712 * configure: Regenerated.
11713 * config.make.in (CPPUNDEFS): New substituted variable.
11714 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11715 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11716 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11720 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11721 (mq_attr): Use __syscall_slong_t.
11723 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11725 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11726 Check __x86_64__ instead of __WORDSIZE.
11727 (_STAT_VER_LINUX): Likewise.
11728 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11729 __syscall_ulong_t and __syscall_slong_t.
11730 (stat64): Likewise.
11732 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11734 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11738 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11740 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11742 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11745 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11746 include <bits/wordsize.h>. Check __x86_64__ instead of
11748 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11750 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11752 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11753 include <bits/wordsize.h>. Check __x86_64__ instead of
11755 (user_regs_struct): Use "__extension__ unsigned long long"
11756 instead of "unsigned long" if __x86_64__ is defined.
11757 (user): Likewise. Pad after pointer field if __ILP32__ is
11760 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11762 * configure.in (makeinfo): Require version 4.5 or later. Allow
11764 * configure: Regenerated.
11765 * manual/install.texi (texinfo): Increase version requirement to
11767 * INSTALL: Regenerated.
11769 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11771 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11773 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11775 * sysdeps/x86_64/x32/ffs.c: New file.
11777 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11779 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11780 defined. Use __syscall_ulong_t.
11781 (shminfo): Use __syscall_ulong_t.
11782 (shm_info): Likewise.
11784 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11787 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11789 (msgqnum_t): Use __syscall_ulong_t.
11790 (msglen_t): Likewise.
11791 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11794 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11795 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11797 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11799 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11800 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11802 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11805 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11806 include <bits/wordsize.h>. Check __x86_64__ instead of
11809 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11810 "unsigned long long int" if __x86_64__ is defined.
11811 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11813 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11814 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11815 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11817 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11819 (GET_PC): Cast to uintptr_t first.
11820 (GET_FRAME): Likewise.
11821 (GET_STACK): Likewise.
11823 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11824 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11825 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11827 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11828 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11829 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11831 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11842 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11853 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11855 * Makerules (+depfiles): Also collect depfiles from .oS in
11857 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11858 .oS, $(libnldbl-routines)).
11860 * Makerules (native-compile-mkdep-flags): Define.
11861 * sunrpc/Makefile (extra-objs): Add $(addprefix
11862 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11863 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11864 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11865 calling $(make-target-directory).
11867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11869 * bits/types.h (__snseconds_t): Removed.
11870 * time/time.h (struct timespec): Replace __snseconds_t with
11872 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11873 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11876 (__SNSECONDS_T_TYPE): Likewise.
11877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11878 (__SNSECONDS_T_TYPE): Likewise.
11879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11880 (__SNSECONDS_T_TYPE): Likewise.
11882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11884 * sysdeps/mach/hurd/bits/typesizes.h
11885 (__SYSCALL_SLONG_TYPE): New macro.
11886 (__SYSCALL_ULONG_TYPE): Likewise.
11888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11890 * bits/types.h (__syscall_slong_t): New type.
11891 (__syscall_ulong_t): Likewise.
11893 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11894 (__SYSCALL_ULONG_TYPE): Likewise.
11895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11896 (__SYSCALL_SLONG_TYPE): Likewise.
11897 (__SYSCALL_ULONG_TYPE): Likewise.
11898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11899 (__SYSCALL_SLONG_TYPE): Likewise.
11900 (__SYSCALL_ULONG_TYPE): Likewise.
11901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11902 (__SYSCALL_SLONG_TYPE): Likewise.
11903 (__SYSCALL_ULONG_TYPE): Likewise.
11905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11907 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11908 Add sigaltstack-offsets.sym.
11909 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11910 <sigaltstack-offsets.h>.
11911 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11912 longjmp_msg pointer.
11913 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11914 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11916 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11918 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11920 * elf/stackguard-macros.h: Remove file.
11921 * sysdeps/generic/stackguard-macros.h: New file.
11922 * sysdeps/i386/stackguard-macros.h: Likewise.
11923 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11924 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11925 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11926 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11927 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11928 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11929 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11930 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11931 <elf/stackguard-macros.h>.
11934 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11935 __aligned__ in attribute.
11936 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11937 (gregset_t): Likewise.
11939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11941 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11942 * sysdeps/x86_64/64/Implies-after: Here. New file.
11943 * sysdeps/x86_64/x32/Implies-after: New file.
11945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11947 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11948 and access return value for _dl_profile_fixup. Use R10_LP to
11951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11953 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11957 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11958 * sysdeps/x86_64/x32/sysdep.h: New file.
11960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11962 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11963 * sysdeps/x86_64/setjmp.S: Likewise.
11965 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11967 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11968 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11969 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11970 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11971 remove unused global constant.
11973 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11975 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11976 include of <not-cancel.h>.
11978 2012-05-15 Roland McGrath <roland@hack.frob.com>
11980 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11982 2012-05-15 Jeff Law <law@redhat.com>
11983 Andreas Jaeger <aj@suse.de>
11986 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11988 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11989 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11990 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11991 code changing __hst_map_handle.map.
11993 2012-05-15 Roland McGrath <roland@hack.frob.com>
11995 * configure.in (sysnames): Look for Implies-before and Implies-after
11997 * configure: Regenerated.
11999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12002 8-byte data alignment with LP_SIZE alignment.
12004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12006 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12011 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12015 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12016 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12019 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12023 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12024 (stackinfo_sub_sp): Likewise.
12026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12033 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12043 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12047 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12048 into R11_LP and load __x86_64_shared_cache_size_half into
12051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12053 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12056 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12065 powerpc32/power7/fpu/s_logb.c via #include.
12066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12067 powerpc32/power7/fpu/s_logbf.c via #include.
12068 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12069 powerpc32/power7/fpu/s_logbl.c via #include.
12071 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12073 * README.libm: Remove file.
12075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12077 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12078 count for x32. Use R*_LP and omit operand-size suffix.
12080 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12082 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12083 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12084 * sysdeps/x86_64/x32/shlib-versions: New file.
12086 2012-05-14 Roland McGrath <roland@hack.frob.com>
12088 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12089 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12090 Use _dl_fatal_printf instead.
12092 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12094 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12095 set if not set by the user. Do not allow for being unset.
12096 * sysdeps/unix/sysv/linux/configure: Regenerated.
12098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12100 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12101 the `q' suffix from lea and replace .quad with ASM_ADDR.
12103 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12106 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12108 (PTR_DEMANGLE): Likewise.
12110 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12112 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12114 (ASM_ADDR): Likewise.
12115 (RAX_LP): Likewise.
12116 (RBP_LP): Likewise.
12117 (RBX_LP): Likewise.
12118 (RCX_LP): Likewise.
12119 (RDI_LP): Likewise.
12120 (RSI_LP): Likewise.
12121 (RSP_LP): Likewise.
12124 (R10_LP): Likewise.
12125 (R10_LP): Likewise.
12126 (R11_LP): Likewise.
12127 (R12_LP): Likewise.
12128 (R13_LP): Likewise.
12129 (R14_LP): Likewise.
12130 (R15_LP): Likewise.
12132 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12134 * sysdeps/x86_64/x32/dl-machine.h: New file.
12136 2012-05-14 Andreas Jaeger <aj@suse.de>
12138 * manual/Makefile (subdir): Remove export of subdir.
12139 (all): Remove target.
12140 (.PHONY): Remove all from list.
12141 (mkinstalldirs): Remove.
12142 (.PHONY): Remove installdirs from list.
12143 ($(inst_infodir)/libc.info): Use make-target-directory.
12144 (installdirs): Remove.
12145 (subdir_%): Remove.
12146 (glibc-targets): Remove.
12149 ($(objpfx)stubs ../po/manual.pot): Remove.
12150 ($(objpfx)stamp%): Remove.
12151 (make-target-directory): Remove.
12152 (subdir_install): Remove.
12153 (routines): Remove.
12160 * manual/.gitignore: Remove, it's not needed anymore.
12161 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12163 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12165 (texis): Renamed to $(objpfx)texis.
12166 (texis-path): New, contains path to generated files.
12167 (chapters.%): Use texis-path for complete path, add extra argument
12169 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12170 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12171 (summary,texi, stamp-summary): Use complete path of
12172 files. Generate files in build dir.
12173 (dir-add.texi): Build in build dir.
12174 (libm-err.texi,stamp-libm-err): Likewise.
12175 (version.texi, stamp-version): Likewise.
12176 (.%c.texi): Likewise.
12177 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12178 (mostlyclean): Remove target.
12179 (realclean): Remove target.
12180 (generated): Add new variable with contents from mostlyclean and
12181 realclean, remove entries duplicated in common-mostlyclean, add
12182 stamp-libm-err and stamp-version.
12183 (generated-dirs): Add libc directory.
12184 ($(inst_infodir)/libc.info): Install files from build dir.
12186 * manual/install.texi (Configuring and compiling): Adjust since
12187 the info files are not part of the tar ball anymore.
12189 2012-05-14 Andreas Jaeger <aj@suse.de>
12191 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12194 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12198 to 2.2.0 where earlier.
12199 * sysdeps/unix/sysv/linux/configure: Regenerated.
12200 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12201 Remove conditional code.
12202 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12203 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12204 Remove conditional code.
12205 [!__NR_lchown]: Likewise.
12206 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12207 [__NR_lchown]: Likewise.
12208 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12209 comment referencing __ASSUME_LCHOWN_SYSCALL.
12210 * sysdeps/unix/sysv/linux/i386/sigaction.c
12211 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12212 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12213 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12214 Remove conditional code.
12215 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12216 (__protocol_available): Remove #if 0 code.
12217 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12219 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12220 * sysdeps/unix/sysv/linux/kernel-features.h
12221 (__ASSUME_GETCWD_SYSCALL): Don't define.
12222 (__ASSUME_REALTIME_SIGNALS): Likewise.
12223 (__ASSUME_PREAD_SYSCALL): Likewise.
12224 (__ASSUME_PWRITE_SYSCALL): Likewise.
12225 (__ASSUME_POLL_SYSCALL): Likewise.
12226 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12227 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12229 (__ASSUME_SIOCGIFNAME): Don't define.
12230 (__ASSUME_MSG_NOSIGNAL): Likewise.
12231 (__ASSUME_SENDFILE): Define unconditionally.
12232 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12233 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12235 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12236 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12237 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12238 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12239 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12240 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12241 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12246 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12252 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12258 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12267 Remove conditional code.
12268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12269 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12270 Remove conditional code.
12271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12272 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12273 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12274 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12275 Remove conditional code.
12276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12277 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12278 Remove conditional code.
12279 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12280 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12281 Remove conditional code.
12282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12283 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12284 Remove conditional code.
12285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12286 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12287 Remove conditional code.
12288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12289 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12290 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12292 * sysdeps/unix/sysv/linux/sigaction.c
12293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12295 * sysdeps/unix/sysv/linux/sigpending.c
12296 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12297 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12298 * sysdeps/unix/sysv/linux/sigprocmask.c
12299 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12300 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12301 * sysdeps/unix/sysv/linux/sigsuspend.c
12302 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12303 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12304 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12305 (__libc_missing_rt_sigs): Remove.
12306 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12307 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12308 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12309 Remove conditional code.
12310 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12311 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12313 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12314 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12315 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12316 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12318 2012-05-14 Andreas Jaeger <aj@suse.de>
12320 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12321 it's not used in glibc.
12322 (__coshm1): Likewise.
12323 (__acosh1p): Likewise.
12326 * manual/string.texi (Copying and Concatenation): Add missing
12327 variable in concat example.
12328 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12330 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12333 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12334 __builtin_clzl with __builtin_clzll.
12336 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12339 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12342 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12344 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12345 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12346 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12347 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12349 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12351 * NEWS: Update ia64 info.
12353 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12355 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12358 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12360 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12361 * sysdeps/unix/syscalls.list (dup3): Likewise.
12362 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12363 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12365 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12367 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12368 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12370 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12372 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12374 (TLS_IE): Use mov/add instead of movq/addq to load thread
12376 (TLS_GD_PREFIX): New.
12379 2012-05-11 David S. Miller <davem@davemloft.net>
12381 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12382 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12383 (_FPU_SETCW): Likewise.
12385 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12387 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12388 is 32-byte aligned.
12390 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12393 * iconvdata/gb18030.c: Update tables.
12394 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12395 characters specially.
12396 (BODY for TO_LOOP): Add encoding of missing ranges.
12398 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12401 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12402 * sysdeps/mach/hurd/dup3.c: Likewise.
12403 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12404 * sysdeps/powerpc/memmove.c:: Likewise.
12406 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12409 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12411 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12413 * elf/elf.h (R_X86_64_RELATIVE64): New.
12414 (R_X86_64_NUM): Updated.
12415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12416 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12417 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12418 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12419 tst-quad1pie tst-quad2pie
12420 (modules-names): Add tst-quadmod1 tst-quadmod2.
12421 ($(objpfx)tst-quad1): New dependency.
12422 ($(objpfx)tst-quad2): Likewise.
12423 ($(objpfx)tst-quad1pie): Likewise.
12424 ($(objpfx)tst-quad2pie): Likewise.
12425 * sysdeps/x86_64/tst-quad1.c: New file.
12426 * sysdeps/x86_64/tst-quad1pie.c: New file.
12427 * sysdeps/x86_64/tst-quad2.c: Likewise.
12428 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12429 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12430 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12431 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12432 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12434 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12436 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12437 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12438 * streams/stropts.h (t_scalar_t): Define type.
12440 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12441 (_PATH_PRESERVE): Set to "/var/lib".
12442 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12444 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12447 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12448 if __dir_mkfile succeeded.
12450 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12451 checking for _hurd_dtablesize. Unlock it right after having
12452 finished _hurd_dtable allocation.
12454 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12456 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12457 * sysdeps/mach/hurd/configure: Regenerated.
12458 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12459 special-casing to...
12460 * sysdeps/gnu/configure.in: ... this new file.
12461 * sysdeps/unix/sysv/linux/configure: Regenerated.
12462 * sysdeps/gnu/configure: New generated file.
12464 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12465 for Linux: use nsec instead of usec, as well as:
12466 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12467 members of type struct timespec.
12468 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12470 (struct stat64): Likewise.
12471 (_STATBUF_ST_NSEC): New macro.
12472 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12474 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12475 __strtoul_internal rather than strtoul.
12477 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12479 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12482 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12484 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12485 which preserves existing values.
12486 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12488 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12490 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12491 TIMEOUT values. Return EINVAL for NFDS values either negative or
12492 greater than FD_SETSIZE.
12494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12496 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12497 allocated, call __vm_protect to finish enabling the existing space, and
12498 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12499 allocate the remainder.
12501 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12503 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12504 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12508 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12509 sysdeps/mach/hurd/readlink.c.
12511 * posix/tst-sysconf.c (posix_options): Only use
12512 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12513 _POSIX_SYNCHRONIZED_IO when they are defined
12514 * sysdeps/mach/hurd/bits/posix_opt.h:
12515 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12516 (_XOPEN_REALTIME): Undefine macro.
12517 (_XOPEN_REALTIME_THREADS): Undefine macro.
12518 (_XOPEN_SHM): Undefine macro.
12519 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12521 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12523 (_POSIX_ASYNC_IO): Undefine macro.
12524 (_POSIX_PRIORITIZED_IO): Undefine macro.
12525 (_POSIX_SPIN_LOCKS): Define macro to -1.
12527 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12528 SA_NODEFER, SA_RESETHAND.
12529 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12530 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12535 * elf/Makefile (pldd-modules): Define unconditionally.
12537 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12539 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12543 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12544 Return ENOENT when name is empty.
12545 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12547 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12549 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12551 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12555 Fix mlock in all cases except non-readable pages.
12556 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12557 instead of VM_PROT_ALL as parameter to __vm_wire function.
12559 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12560 (__mkdir): When path is `/', just fail with EEXIST.
12561 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12563 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12565 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12566 <sys/uio.h> (for writev).
12567 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12568 and <sys/param.h> (for MIN).
12570 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12572 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12573 REQUESTED_TIME. Properly set the remaining time and return EINTR
12576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12578 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12579 Depend on against $(link-rpcuserlibs).
12581 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12583 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12584 (__libc_stack_end): Do not use attribute_relro.
12585 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12586 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12587 to libthread-provided value.
12588 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12591 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12594 * bits/libc-lock.h (__libc_once_get): New macro.
12595 * sysdeps/mach/bits/libc-lock.h: Likewise.
12596 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12598 instead of using implementation details.
12600 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12601 * libio/freopen.c: Likewise.
12602 * libio/freopen64.c: Likewise.
12603 * misc/syslog.c: Likewise.
12604 * nscd/connections.c: Likewise.
12605 * nscd/netgroupcache.c: Likewise.
12606 * sysdeps/posix/getcwd.c: Likewise.
12608 2012-05-10 Roland McGrath <roland@hack.frob.com>
12610 * math/w_ilogbf.c: Add #include <limits.h>.
12612 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12614 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12615 path instead of returning without unlocking.
12617 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12618 immediate-write ioctls.
12619 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12621 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12623 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12624 __builtin_frame_address instead of making assumptions about the
12625 location of the return address relative to DATA. Force early load of
12626 the return address.
12627 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12628 __builtin_frame_address.
12631 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12632 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12633 implement dup3 and do some further code clean-ups.
12634 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12635 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12639 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12641 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12642 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12643 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12644 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12645 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12648 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12649 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12650 when handler == SIG_ERR, not when handler != SIG_ERR.
12652 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12654 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12655 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12658 accept4 for GNU Hurd.
12659 * include/sys/socket.h (__libc_accept4): New prototype.
12660 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12661 to implement __libc_accept4.
12662 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12664 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12666 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12667 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12668 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12669 signal-defines.sym.
12671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12673 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12675 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12677 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12678 assertion on O_CLOEXEC flag.
12679 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12680 * hurd/intern-fd.c: Likewise.
12681 * hurd/port2fd.c: Likewise.
12683 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12686 * bits/in.h (IPV6_PKTINFO): Define new macro.
12687 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12689 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12694 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12696 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12697 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12699 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12700 * math/libm-test.inc (logb_test) : Additional logb tests.
12702 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12703 Andreas Jaeger <aj@suse.de>
12705 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12706 * configure: Regenerated.
12707 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12708 * config.make.in (link-obsolete-rpc): New substituted variable.
12709 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12710 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12711 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12712 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12713 so that libc.a contains the symbols.
12714 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12715 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12716 * sunrpc/auth_none.c: Likewise.
12717 * sunrpc/auth_unix.c: Likewise.
12718 * sunrpc/authdes_prot.c: Likewise.
12719 * sunrpc/authuxprot.c: Likewise.
12720 * sunrpc/clnt_gen.c: Likewise.
12721 * sunrpc/clnt_perr.c: Likewise.
12722 * sunrpc/clnt_raw.c: Likewise.
12723 * sunrpc/clnt_simp.c: Likewise.
12724 * sunrpc/clnt_tcp.c: Likewise.
12725 * sunrpc/clnt_udp.c: Likewise.
12726 * sunrpc/clnt_unix.c: Likewise.
12727 * sunrpc/des_crypt.c: Likewise.
12728 * sunrpc/des_soft.c: Likewise.
12729 * sunrpc/get_myaddr.c: Likewise.
12730 * sunrpc/key_call.c: Likewise.
12731 * sunrpc/key_prot.c: Likewise.
12732 * sunrpc/netname.c: Likewise.
12733 * sunrpc/pm_getmaps.c: Likewise.
12734 * sunrpc/pm_getport.c: Likewise.
12735 * sunrpc/pmap_clnt.c: Likewise.
12736 * sunrpc/pmap_prot.c: Likewise.
12737 * sunrpc/pmap_prot2.c: Likewise.
12738 * sunrpc/pmap_rmt.c: Likewise.
12739 * sunrpc/publickey.c: Likewise.
12740 * sunrpc/rpc_cmsg.c: Likewise.
12741 * sunrpc/rpc_common.c: Likewise.
12742 * sunrpc/rpc_dtable.c: Likewise.
12743 * sunrpc/rpc_prot.c: Likewise.
12744 * sunrpc/rpc_thread.c: Likewise.
12745 * sunrpc/rtime.c: Likewise.
12746 * sunrpc/svc.c: Likewise.
12747 * sunrpc/svc_auth.c: Likewise.
12748 * sunrpc/svc_raw.c: Likewise.
12749 * sunrpc/svc_run.c: Likewise.
12750 * sunrpc/svc_tcp.c: Likewise.
12751 * sunrpc/svc_udp.c: Likewise.
12752 * sunrpc/svc_unix.c: Likewise.
12753 * sunrpc/svcauth_des.c: Likewise.
12754 * sunrpc/xcrypt.c: Likewise.
12755 * sunrpc/xdr.c: Likewise.
12756 * sunrpc/xdr_array.c: Likewise.
12757 * sunrpc/xdr_float.c: Likewise.
12758 * sunrpc/xdr_intXX_t.c: Likewise.
12759 * sunrpc/xdr_mem.c: Likewise.
12760 * sunrpc/xdr_rec.c: Likewise.
12761 * sunrpc/xdr_ref.c: Likewise.
12762 * sunrpc/xdr_sizeof.c: Likewise.
12763 * sunrpc/xdr_stdio.c: Likewise.
12765 2012-05-10 Roland McGrath <roland@hack.frob.com>
12767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12768 change. Update copyright years.
12770 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12772 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12774 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12775 Joseph Myers <joseph@codesourcery.com>
12776 Paul Pluzhnikov <ppluzhnikov@google.com>
12779 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12781 [cross-compiling] (extra-libs): Likewise.
12782 [cross-compiling] (extra-libs-others): Likewise.
12783 [cross-compiling] (librpcsvc-routines): Likewise.
12784 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12785 [cross-compiling] (omit-deps): Likewise.
12786 (sunrpc-CPPFLAGS): New variable.
12787 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12788 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12789 (cross-rpcgen-objs): New variable.
12790 (extra-objs): Append $(cross-rpcgen-objs).
12791 ($(cross-rpcgen-objs)): New rule.
12792 ($(objpfx)cross-rpcgen): Likewise.
12793 (rpcgen-cmd): Define to use $(built-program-file). Expand
12795 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12796 ($(objpfx)x%.stmp): Likewise.
12797 * sunrpc/proto.h [IS_IN_build] (_): Define.
12798 [IS_IN_build] (_libc_intl_domainname): Likewise.
12800 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12803 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12804 and R_X86_64_TPOFF64.
12806 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12808 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12809 sysdeps/unix/sysv/syscalls.list.
12812 * sysdeps/unix/sysv/syscalls.list: Remove file.
12814 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12817 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12818 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12819 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12820 (__LC_IDENTIFICATION): Make these macros useful in #if
12821 expressions, as required by C99.
12823 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12825 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12826 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12829 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12831 * stdlib/longlong.h: Updated from GCC.
12833 2012-05-09 Andreas Jaeger <aj@suse.de>
12835 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12836 default is first entry.
12837 (run_mode): Set type.
12838 (main): Remove informal message about syslog.
12839 (options): Fix typo.
12842 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12845 (llrintf): Likewise.
12846 (llrint): Likewise.
12849 (nearbyint): Likewise.
12850 (nearbyintf): Likewise.
12852 2012-05-09 Andreas Jaeger <aj@suse.de>
12853 Pedro Alves <palves@redhat.com>
12855 * nscd/nscd.c (run_mode): Use enum.
12856 (main): Cleanup coding style issue.
12858 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12859 Andreas Jaeger <aj@suse.de>
12861 * nscd/nscd.c (go_background): Replaced with...
12862 (run_mode): ... this.
12863 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12864 (options): Add -F --foreground.
12865 (main): Implement it.
12866 (parse_opt): Parse it.
12868 2012-05-09 Andreas Jaeger <aj@suse.de>
12871 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12872 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12873 -Wconversion warning.
12874 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12877 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12879 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12881 (LC_ALL): Use macro-int-constant.
12882 (LC_COLLATE): Likewise.
12883 (LC_CTYPE): Likewise.
12884 (LC_MESSAGES): Likewise.
12885 (LC_MONETARY): Likewise.
12886 (LC_NUMERIC): Likewise.
12887 (LC_TIME): Likewise.
12888 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12889 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12891 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12893 [C99-based standards] (float_t): Expect type.
12894 [C99-based standards] (double_t): Expect type.
12895 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12897 [C99-based standards] (HUGE_VALL): Likewise.
12898 [C99-based standards] (INFINITY): Likewise.
12899 [C99-based standards] (NAN): Likewise.
12900 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12901 [C99-based standards] (FP_NAN): Likewise.
12902 [C99-based standards] (FP_NORMAL): Likewise.
12903 [C99-based standards] (FP_SUBNORMAL): Likewise.
12904 [C99-based standards] (FP_ZERO): Likewise.
12905 [C99-based standards] (FP_FAST_FMA): Use
12906 optional-macro-int-constant. Specify type. Require == 1.
12907 [C99-based standards] (FP_FAST_FMAF): Likewise.
12908 [C99-based standards] (FP_FAST_FMAL): Likewise.
12909 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12910 [C99-based standards] (FP_ILOGBNAN): Likewise.
12911 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12913 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12914 [C99-based standards] (math_errhandling): Specify type.
12915 [ISO99 || ISO11] (signgam): Do not allow.
12916 [non-C99-based standards] (copysignf): Do not allow.
12917 [non-C99-based standards] (exp2f): Likewise.
12918 [non-C99-based standards] (log2f): Likewise.
12919 [non-C99-based standards] (modff): Allow.
12920 [non-C99-based standards] (erff): Do not allow.
12921 [non-C99-based standards] (erfcf): Likewise.
12922 [non-C99-based standards] (gammaf): Likewise.
12923 [non-C99-based standards] (hypotf): Likewise.
12924 [non-C99-based standards] (j0f): Likewise.
12925 [non-C99-based standards] (j1f): Likewise.
12926 [non-C99-based standards] (jnf): Likewise.
12927 [non-C99-based standards] (lgammaf): Likewise.
12928 [non-C99-based standards] (tgammaf): Likewise.
12929 [non-C99-based standards] (y0f): Likewise.
12930 [non-C99-based standards] (y1f): Likewise.
12931 [non-C99-based standards] (ynf): Likewise.
12932 [non-C99-based standards] (isnanf): Likewise.
12933 [non-C99-based standards] (acoshf): Likewise.
12934 [non-C99-based standards] (asinhf): Likewise.
12935 [non-C99-based standards] (atanhf): Likewise.
12936 [non-C99-based standards] (cbrtf): Likewise.
12937 [non-C99-based standards] (expm1f): Likewise.
12938 [non-C99-based standards] (ilogbf): Likewise.
12939 [non-C99-based standards] (log1pf): Likewise.
12940 [non-C99-based standards] (logbf): Likewise.
12941 [non-C99-based standards] (nextafterf): Likewise.
12942 [non-C99-based standards] (remainderf): Likewise.
12943 [non-C99-based standards] (rintf): Likewise.
12944 [non-C99-based standards] (scalbf): Likewise.
12945 [non-C99-based standards] (copysignl): Likewise.
12946 [non-C99-based standards] (exp2l): Likewise.
12947 [non-C99-based standards] (log2l): Likewise.
12948 [non-C99-based standards] (modfl): Allow.
12949 [non-C99-based standards] (erfl): Do not allow.
12950 [non-C99-based standards] (erfcl): Likewise.
12951 [non-C99-based standards] (gammal): Likewise.
12952 [non-C99-based standards] (hypotl): Likewise.
12953 [non-C99-based standards] (j0l): Likewise.
12954 [non-C99-based standards] (j1l): Likewise.
12955 [non-C99-based standards] (jnl): Likewise.
12956 [non-C99-based standards] (lgammal): Likewise.
12957 [non-C99-based standards] (tgammal): Likewise.
12958 [non-C99-based standards] (y0l): Likewise.
12959 [non-C99-based standards] (y1l): Likewise.
12960 [non-C99-based standards] (ynl): Likewise.
12961 [non-C99-based standards] (isnanl): Likewise.
12962 [non-C99-based standards] (acoshl): Likewise.
12963 [non-C99-based standards] (asinhl): Likewise.
12964 [non-C99-based standards] (atanhl): Likewise.
12965 [non-C99-based standards] (cbrtl): Likewise.
12966 [non-C99-based standards] (expm1l): Likewise.
12967 [non-C99-based standards] (ilogbl): Likewise.
12968 [non-C99-based standards] (log1pl): Likewise.
12969 [non-C99-based standards] (logbl): Likewise.
12970 [non-C99-based standards] (nextafterl): Likewise.
12971 [non-C99-based standards] (remainderl): Likewise.
12972 [non-C99-based standards] (rintl): Likewise.
12973 [non-C99-based standards] (scalbl): Likewise.
12974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12975 [non-C99-based standards] (FP_*): Do not allow.
12976 [C99-based standards] (FP_*): Change to
12977 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12978 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12980 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12981 (SIG_ERR): Likewise.
12982 [X/Open-based standards] (SIG_HOLD): Likewise.
12983 (SIG_IGN): Likewise.
12984 (SIGABRT): Use macro-int-constant. Specify type. Require
12986 (SIGFPE): Likewise.
12987 (SIGILL): Likewise.
12988 (SIGINT): Likewise.
12989 (SIGSEGV): Likewise.
12990 (SIGTER): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12998 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13003 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13009 [X/Open-based standards] (SIGTRAP): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13014 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13017 2012-05-08 Ian Wienand <ianw@vmware.com>
13020 * time/tzset.c (__tzset_parse_tz): Update default rules for
13021 daylight time changes in the Energy Policy Act of 2005.
13023 2012-05-09 Andreas Jaeger <aj@suse.de>
13026 * elf/ldconfig.c (parse_conf): Change string to make clear that
13027 ldconfig only issued a warning if ld.so.conf does not exist.
13029 2012-05-08 David S. Miller <davem@davemloft.net>
13031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13032 movxtod instead of popping the value on the stack.
13034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13036 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13038 * config.h.in: Add HAVE_ARM_PCS_VFP.
13040 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13043 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13044 checking but the checks are disabled for any reason.
13046 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13048 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13049 and ELF64_R_TYPE with ELFW(R_TYPE).
13051 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13053 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13054 (ulimit): Likewise.
13056 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13057 (settimeofday): Likewise.
13059 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13061 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13062 a struct th_u2 inside the union, and move tu_block/tu_code into
13063 a new th_u3 union of tu_block/tu_code inside of that. Move
13064 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13065 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13066 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13067 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13068 (th_stuff): Change to th_u1.tu_stuff.
13070 (th_msg): Change to th_u1.th_u2.tu_data.
13072 2012-05-07 David S. Miller <davem@davemloft.net>
13074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13077 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13078 (SETUP_PIC_REG): Use it.
13079 (SETUP_PIC_REG_LEAF): Use it.
13081 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13085 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13087 (EXPL_FINITE): Likewise.
13088 (FLDLOG): Likewise.
13089 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13090 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13092 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13094 (EXPL_FINITE): Likewise.
13095 (FLDLOG): Likewise.
13096 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13097 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13099 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13100 test of -max_value argument for long double.
13101 * sysdeps/i386/fpu/libm-test-ulps: Update.
13102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13104 2012-05-06 David S. Miller <davem@davemloft.net>
13106 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13107 quad soft-float symbols whose references which are compiler
13109 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13111 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13115 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13117 (EXPL_FINITE): Likewise.
13118 (FLDLOG): Likewise.
13121 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13122 Adjust comments for base varying.
13123 (__expl_finite): Change alias to EXPL_FINITE.
13124 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13126 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13127 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13129 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13130 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13132 (EXPL_FINITE): Likewise.
13133 (FLDLOG): Likewise.
13136 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13137 Adjust comments for base varying.
13138 (__expl_finite): Change alias to EXPL_FINITE.
13139 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13144 * math/libm-test.inc (check_float_internal): Correct ulp
13145 calculation for subnormal expected results.
13147 2012-05-06 Andreas Jaeger <aj@suse.de>
13149 * Makeconfig (+math-flags): New, set to -frounding-math.
13150 (+cflags): Add +math-flags so that all of glibc gets compiled with
13153 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13155 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13157 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13163 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13164 (__ieee754_expl): Allow for and saturate large arguments.
13165 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13166 (u_threshold): Likewise.
13167 (__exp): Call __ieee754_exp before checking for overflow and
13169 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13170 (u_threshold): Likewise.
13171 (__expf): Call __ieee754_expf before checking for overflow and
13173 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13174 (u_threshold): Likewise.
13175 (__expl): Call __ieee754_expl before checking for overflow and
13177 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13178 (__ieee754_expl): Allow for and saturate large arguments.
13179 * math/libm-test.inc (exp_test): Add another test. Do not allow
13180 missing overflow exception on overflow.
13181 (expm1_test): Do not allow missing overflow exception on overflow.
13183 * sysdeps/i386/fpu/e_expl.c: Move to ...
13184 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13185 rather than using inline asm.
13186 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13187 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13188 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13190 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13193 (signal): Likewise.
13197 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13199 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13200 sysdeps/unix/common/syscalls.list.
13201 (fchmod): Likewise.
13202 (fchown): Likewise.
13203 (ftruncate): Likewise.
13204 (getrusage): Likewise.
13205 (gettimeofday): Likewise.
13206 (setpgid): Likewise.
13207 (setregid): Likewise.
13208 (setreuid): Likewise.
13209 (sigaction): Likewise.
13210 (truncate): Likewise.
13211 (vhangup): Likewise.
13212 * sysdeps/unix/common/syscalls.list: Remove file.
13213 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13214 * sysdeps/unix/sysv/linux/Implies: Likewise.
13216 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13218 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13220 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13224 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13227 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13230 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13233 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13236 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13239 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13242 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13246 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13250 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13253 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13257 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13261 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13263 * sysdeps/unix/common/bits/dirent.h: Remove file.
13264 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13266 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13267 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13268 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13269 * sysdeps/unix/bsd/isatty.c: Likewise.
13270 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13271 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13272 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13274 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13277 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13278 long double comparison inaccuracies.
13279 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13282 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13284 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13285 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13287 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13290 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13291 nonzero digits before rounding a hex value.
13292 * stdlib/tst-strtod.c (tests): Add another test.
13294 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13296 * sysdeps/s390/fpu/libm-test-ulps: Update.
13298 2012-05-03 Andreas Jaeger <aj@suse.de>
13300 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13301 does not get optimized out.
13302 (malloc_opt_barrier): New.
13304 2012-05-03 Andreas Jaeger <aj@suse.de>
13305 Roland McGrath <roland@hack.frob.com>
13307 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13308 intermediate file deletion.
13309 (generated): Add .symlist files.
13311 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13314 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13315 Redirect under this condition.
13316 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13317 [__USE_GNU] (__dprintf_chk): Not under this condition.
13318 [__USE_GNU] (__vdprintf_chk): Likewise.
13319 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13320 under this condition.
13321 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13322 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13323 [__USE_XOPEN2K8] (vdprintf): Likewise.
13324 [__USE_GNU] (__dprintf_chk): Not under this condition.
13325 [__USE_GNU] (__vdprintf_chk): Likewise.
13326 [__USE_GNU] (dprintf): Likewise.
13327 [__USE_GNU] (vdprintf): Likewise.
13329 2012-05-03 Roland McGrath <roland@hack.frob.com>
13331 * elf/Makefile (common-generated): Set this instead of generated for
13332 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13333 $(all-built-dso)-derived lists.
13335 2012-05-03 Andreas Jaeger <aj@suse.de>
13337 * sysdeps/i386/fpu/libm-test-ulps: Update.
13340 * FAQ.in: Likewise.
13341 * scripts/gen-FAQ.pl: Likewise.
13342 * manual/install.texi (Installation): Point to online location of
13344 * Makefile (files-for-dist): Remove FAQ.
13347 2012-05-02 Allan McRae <allan@archlinux.org>
13349 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13350 (LDFLAGS-reldepmod5.so): Likewise.
13351 (LDFLAGS-reldep6mod1.so): Likewise.
13352 (LDFLAGS-reldep6mod4.so): Likewise.
13353 (LDFLAGS-reldep8mod3.so): Likewise.
13354 (LDFLAGS-unload4mod1.so): Likewise.
13355 (LDFLAGS-unload4mod2.so): Likewise.
13356 (LDFLAGS-tst-initorder): Likewise.
13357 (LDFLAGS-tst-initordera2.so): Likewise.
13358 (LDFLAGS-tst-initordera3.so): Likewise.
13359 (LDFLAGS-tst-initordera4.so): Likewise.
13360 (LDFLAGS-tst-initorderb2.so): Likewise.
13361 (LDFLAGS-noload): Likewise.
13362 (LDFLAGS-next): Likewise.
13363 (LDFLAGS-order2mod1.so): Likewise.
13364 (LDFLAGS-order2mod2.so): Likewise.
13365 (LDFLAGS-tst-initorder2): Likewise.
13366 (LDFLAGS-tst-initorder2a.so): Likewise.
13367 (LDFLAGS-tst-initorder2b.so): Likewise.
13368 (LDFLAGS-tst-initorder2c.so): Likewise.
13369 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13371 2012-05-02 David S. Miller <davem@davemloft.net>
13373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13375 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13378 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13380 2012-05-02 Andreas Jaeger <aj@suse.de>
13382 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13383 since we manipulate rounding mode.
13384 (CPPFLAGS-test-idouble.c): Likewise.
13385 (CPPFLAGS-test-ifloat.c): Likewise.
13386 (CFLAGS-test-ldouble.c): Likewise.
13387 (CFLAGS-test-double.c): Likewise.
13388 (CFLAGS-test-float.c): Likewise.
13389 (CFLAGS-test-misc.c): Likewise.
13390 (CFLAGS-test-test-fenv.c): Likewise.
13392 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13396 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13397 comparisons to determine direction to adjust input.
13399 2012-05-01 Roland McGrath <roland@hack.frob.com>
13401 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13402 output to the target.
13404 * scripts/localplt.awk: New file.
13405 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13406 (check-localplt-CFLAGS): Variable removed.
13407 ($(all-built-dso:=.jmprel)): New static pattern rule.
13408 (generated): Add those targets.
13409 (localplt-built-dso): New variable.
13410 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13412 * elf/check-localplt.c: File removed.
13414 * scripts/check-execstack.awk: New file.
13415 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13416 (check-execstack-CFLAGS): Variable removed.
13417 ($(objpfx)check-execstack.h): Target removed.
13418 ($(objpfx)execstack-default): New target.
13419 (generated): Add that instead of check-execstack.h.
13420 ($(all-built-dso:=.phdr)): New static pattern rule.
13421 (generated): Add those targets.
13422 * elf/check-execstack.c: File removed.
13424 * scripts/check-textrel.awk: New file.
13425 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13426 (check-textrel-CFLAGS): Variable removed.
13427 (all-built-dso): Use := to define.o
13428 ($(all-built-dso:=.dyn)): New static pattern rule.
13429 (generated): Add those targets.
13430 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13431 * config.make.in (READELF): New substituted variable.
13432 * elf/check-textrel.c: File removed.
13434 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13436 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13438 * conform/data/ctype.h-data [C99-based standards] (isblank):
13440 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13441 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13443 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13444 Specify type. Require positive value.
13445 (EILSEQ): Likewise.
13446 (ERANGE): Likewise.
13447 [ISO || POSIX] (EILSEQ): Do not expect.
13448 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13449 Specify type. Require positive value.
13450 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13517 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13519 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13520 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13521 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13522 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13523 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13524 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13525 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13526 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13528 (FLT_ROUNDS): Expect as macro, not constant.
13529 (FLT_MANT_DIG): Use macro-int-constant.
13530 (DBL_MANT_DIG): Likewise.
13531 (LDBL_MANT_DIG): Likewise.
13532 (FLT_DIG): Likewise.
13533 (DBL_DIG): Likewise.
13534 (LDBL_DIG): Likewise.
13535 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13536 (DBL_MIN_EXP): Likewise.
13537 (LDBL_MIN_EXP): Likewise.
13538 (FLT_MAX_EXP): Use macro-int-constant.
13539 (DBL_MAX_EXP): Likewise.
13540 (LDBL_MAX_EXP): Likewise.
13541 (FLT_MAX_10_EXP): Likewise.
13542 (DBL_MAX_10_EXP): Likewise.
13543 (LDBL_MAX_10_EXP): Likewise.
13544 (FLT_MAX): Use macro-constant.
13545 (DBL_MAX): Likewise.
13546 (LDBL_MAX): Likewise.
13547 (FLT_EPSILON): Use macro-constant. Give upper bound.
13548 (DBL_EPSILON): Likewise.
13549 (LDBL_EPSILON): Likewise.
13550 (FLT_MIN): Likewise.
13551 (DBL_MIN): Likewise.
13552 (LDBL_MIN): Likewise.
13553 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13554 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13555 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13556 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13557 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13558 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13559 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13560 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13561 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13562 [ISO11] (FLT_TRUE_MIN): Likewise.
13563 [ISO11] (LDBL_TRUE_MIN): Likewise.
13564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13565 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13566 (SCHAR_MIN): Use macro-int-constant. Specify type.
13567 (SCHAR_MAX): Likewise.
13568 (UCHAR_MAX): Likewise.
13569 (CHAR_MIN): Likewise.
13570 (CHAR_MAX): Likewise.
13571 (MB_LEN_MAX): Use macro-int-constant.
13572 (SHRT_MIN): Use macro-int-constant. Specify type.
13573 (SHRT_MAX): Likewise.
13574 (USHRT_MAX): Likewise.
13575 (INT_MAX): Likewise.
13576 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13578 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13580 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13582 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13583 bound negative. Suffix upper bound with "L".
13584 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13586 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13588 [C99-based standards] (LLONG_MAX): Likewise.
13589 [C99-based standards] (ULLONG_MAX): Likewise.
13590 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13592 [ISO11] (max_align_t): Require type.
13593 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13595 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13596 from $CFLAGS, without defining away __attribute__ calls.
13597 (checknamespace): Use $CFLAGS_namespace.
13599 * conform/conformtest.pl (@keywords): Only include C99 keywords
13600 for standards based on C99 or C11.
13602 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13604 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13607 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13608 usability of symbols in #if.
13610 * conform/conformtest.pl: If macro or constant types start
13611 "promoted:", expect the symbol to be of the following type
13612 promoted by the integer promotions.
13614 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13615 in one place. Also handle "macro-constant".
13617 * conform/conformtest.pl: Only accept expected macro values with
13618 "==". Parse all "macro" lines in one place.
13619 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13621 * conform/conformtest.pl: Handle braced types on "constant" lines
13622 instead of handling "typed-constant".
13623 * conform/data/signal.h-data: Use "constant" instead of
13626 * conform/conformtest.pl: Handle "optional-" at start of lines in
13627 one place rather than duplicating several cases. Handle each
13628 format of "macro" line with initial "optional-".
13630 * conform/conformtest.pl: Only accept expected constant or
13631 optional-constant values with "==". Parse all "constant" lines in
13632 one place. Parse all "optional-constant" lines in one place.
13633 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13634 * conform/data/fmtmsg.h-data: Likewise.
13635 * conform/data/netinet/in.h-data: Likewise.
13636 * conform/data/tar.h-data: Likewise.
13637 * conform/data/limits.h-data: Use "==" form on "constant" and
13638 "optional-constant" lines.
13640 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13641 Use -std=c99 for XOPEN2K.
13642 (@knownproblems): Remove.
13643 (newtoken): Don't check %isknown.
13645 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13646 Do not expect macro.
13647 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13659 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13660 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13677 [XPG3] (acosh): Likewise.
13678 [XPG3] (asinh): Likewise.
13679 [XPG3] (atanh): Likewise.
13680 [XPG3] (cbrt): Likewise.
13681 [XPG3] (expm1): Likewise.
13682 [XPG3] (ilogb): Likewise.
13683 [XPG3] (log1p): Likewise.
13684 [XPG3] (logb): Likewise.
13685 [XPG3] (nextafter): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13688 [XPG3] (remainder): Likewise.
13689 [XPG3] (rint): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13697 [UNIX98 || XOPEN2K] (scalb): Expect.
13698 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13699 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13824 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13825 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13826 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13827 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13828 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13829 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13830 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13831 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13832 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13833 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13834 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13836 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13837 _XOPEN_SOURCE_EXTENDED for XPG4.
13839 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13841 * Makeconfig (localtime): Remove variable.
13842 (inst_localtime-file): Likewise.
13844 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13865 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13869 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13870 comparisons to determine direction to adjust input.
13871 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13872 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13873 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13875 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13882 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13884 * math/libm-test.inc (nexttoward_test): Add more tests.
13886 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13889 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13890 in version GLIBC_2.1, not GLIBC_2.0.
13891 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13894 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13897 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13899 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13900 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13901 * math/libm-test.inc (acos_test): Add more tests.
13902 (asin_test): Likewise.
13903 * sysdeps/i386/fpu/libm-test-ulps: Update.
13904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13907 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13909 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13910 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13911 * math/libm-test.inc (acos_test_tonearest): New function.
13912 (acos_test_towardzero): Likewise.
13913 (acos_test_downward): Likewise.
13914 (acos_test_upward): Likewise.
13915 (asin_test_tonearest): Likewise.
13916 (asin_test_towardzero): Likewise.
13917 (asin_test_downward): Likewise.
13918 (asin_test_upward): Likewise.
13919 (main): Call the new functions.
13920 * sysdeps/i386/fpu/libm-test-ulps: Update.
13921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13925 * math/e_exp10.c: Include <float.h>.
13926 (__ieee754_exp10): Handle underflow here rather than multiplying
13927 large negative argument by M_LN10.
13928 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13930 * math/e_exp10l.c: Include <float.h>.
13931 (__ieee754_exp10l): Handle underflow here rather than multiplying
13932 large negative argument by M_LN10l.
13933 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13934 spurious overflow exception on underflow.
13936 2012-04-29 Marek Polacek <polacek@redhat.com>
13938 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13939 (__fortify_function): New macro.
13940 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13941 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13942 __extern_always_inline.
13943 * libio/bits/stdio2.h: Likewise.
13944 * libio/bits/stdio.h: Likewise.
13945 * string/string.h: Likewise.
13946 * string/bits/string3.h: Likewise.
13947 * include/stdio.h: Likewise.
13948 * stdlib/bits/stdlib.h: Likewise.
13949 * stdlib/stdlib.h: Likewise.
13950 * rt/bits/mqueue2.h: Likewise.
13951 * rt/mqueue.h: Likewise.
13952 * posix/bits/unistd.h: Likewise.
13953 * posix/unistd.h: Likewise.
13954 * io/bits/poll2.h: Likewise.
13955 * io/bits/fcntl2.h: Likewise.
13956 * io/fcntl.h: Likewise.
13957 * io/sys/poll.h: Likewise.
13958 * misc/bits/syslog.h: Likewise.
13959 * misc/bits/syslog-ldbl.h: Likewise.
13960 * misc/sys/syslog.h: Likewise.
13961 * socket/bits/socket2.h: Likewise.
13962 * socket/sys/socket.h: Likewise.
13963 * debug/tst-chk1.c: Likewise.
13964 * wcsmbs/bits/wchar2.h: Likewise.
13965 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13966 * wcsmbs/wchar.h: Likewise.
13968 2012-04-29 Andreas Jaeger <aj@suse.de>
13970 * Makerules (tests): Remove enable-check-abi protection.
13971 (check-abi-warn): Remove.
13972 (check-abi-%): Remove check-abi-warn usage.
13974 * configure.in: Remove check-abi configure option.
13975 * configure: Regenerated.
13976 * config.make.in (enable-check-abi): Remove.
13978 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13981 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13982 double functions to double *_finite functions.
13985 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13986 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13988 * stdio-common/Makefile (tests): Add tst-sprintf3.
13989 * stdio-common/tst-sprintf3.c: New file.
13991 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13992 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13994 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13996 * conform/conformtest.pl: Remove duplicate typed-constant
13999 2012-04-28 David S. Miller <davem@davemloft.net>
14001 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14002 (check-abi-%): Remove AWK script prerequisite and explicit
14004 (check-abi): Rewrite to just diff the symlist with the abilist.
14005 (config-tls, config-abi-config): Delete, no longer used.
14006 (update-abi-%): Remove AWK script and explicit abilist directory.
14007 (update-abi): Rewrite to simply compare and conditionally copy the
14008 symlist and the sysdep abilist file. Remove update-abi-config
14010 * abilist/ld.abilist: Remove.
14011 * abilist/libBrokenLocale.abilist: Remove.
14012 * abilist/libanl.abilist: Remove.
14013 * abilist/libcrypt.abilist: Remove.
14014 * abilist/libdl.abilist: Remove.
14015 * abilist/librt.abilist: Remove.
14016 * abilist/libthread_db.abilist: Remove.
14017 * abilist/libutil.abilist: Remove.
14018 * scripts/extract-abilist.awk: Remove.
14019 * scripts/merge-abilist.awk: Remove.
14020 * sysdeps/generic/libcidn.abilist: New file.
14021 * sysdeps/generic/libnss_compat.abilist: New file.
14022 * sysdeps/generic/libnss_db.abilist: New file.
14023 * sysdeps/generic/libnss_dns.abilist: New file.
14024 * sysdeps/generic/libnss_files.abilist: New file.
14025 * sysdeps/generic/libnss_hesiod.abilist: New file.
14026 * sysdeps/generic/libnss_nis.abilist: New file.
14027 * sysdeps/generic/libnss_nisplus.abilist: New file.
14028 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14029 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14030 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14032 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14033 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14034 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14035 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14036 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14037 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14038 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14039 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14040 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14042 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14043 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14044 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14045 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14047 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14048 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14049 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14050 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14051 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14052 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14054 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14055 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14056 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14058 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14161 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14162 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14163 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14165 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14166 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14167 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14168 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14169 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14170 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14171 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14172 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14173 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14174 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14226 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14228 * conform/conformtest.pl: Fix typo in handling typed-constant from
14231 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14233 * README: Cut down references to pre-2.6 Linux kernels and
14234 Linuxthreads. Update lists of configurations in libc and ports
14235 and sort alphabetically. Say "or newer" with Linux kernel version
14238 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14240 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14243 * math/libm-test.inc (logb_test_downward): New test to expose
14244 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14247 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14250 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14252 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14253 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14255 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14257 * sysdeps/unix/i386/brk.S: Remove file.
14258 * sysdeps/unix/i386/dl-brk.S: Likewise.
14259 * sysdeps/unix/i386/pipe.S: Likewise.
14260 * sysdeps/unix/i386/sigreturn.S: Likewise.
14261 * sysdeps/unix/i386/syscall.S: Likewise.
14262 * sysdeps/unix/i386/vfork.S: Likewise.
14263 * sysdeps/unix/i386/wait.S: Likewise.
14265 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14266 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14268 * configure.in (arm*-none*): Do not allow without
14269 --enable-hacker-mode.
14270 (netbsd*): Remove case setting base_os.
14271 (386bsd*): Likewise.
14272 (freebsd*): Likewise.
14275 (sunos*): Likewise.
14276 (ultrix*): Likewise.
14277 (newsos*): Likewise.
14278 (dynix*): Likewise.
14284 (minix*): Likewise.
14285 (irix4*): Likewise.
14286 (irix6*): Likewise.
14287 (solaris[2-9]*): Likewise.
14289 * configure: Regenerated.
14291 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14294 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14295 overflow or cancellation in calculating denominator.
14296 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14298 down expression to avoid unexpected rounding in newer GCCs.
14299 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14301 2012-04-26 David S. Miller <davem@davemloft.net>
14303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14304 long-double compat symbols.
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14319 2012-04-25 David S. Miller <davem@davemloft.net>
14321 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14322 HWCAP_* values only after the memory barriers have been defined.
14323 (atomic_full_barrier): Define.
14324 (atomic_read_barrier): Define.
14325 (atomic_write_barrier): Define.
14327 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14329 * shlib-versions: Add libgcc_s version information.
14330 * sysdeps/generic/libgcc_s.h: Remove.
14331 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14333 * sysdeps/gnu/unwind-resume.c: Likewise.
14334 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14336 2012-04-25 David S. Miller <davem@davemloft.net>
14338 * sysdeps/unix/sparc/brk.S: Delete.
14339 * sysdeps/unix/sparc/dl-brk.S: Delete.
14340 * sysdeps/unix/sparc/pipe.S: Delete.
14341 * sysdeps/unix/sparc/sysdep.S: Delete.
14342 * sysdeps/unix/sparc/sysdep.h: Delete.
14343 * sysdeps/unix/sparc/vfork.S: Delete.
14344 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14345 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14346 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14347 ret_ERRVAL, r0, r1, MOVE): Define.
14348 (JUMPTARGET): Remove.
14349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14350 sysdeps/unix/sparc/sysdep.h
14351 (ENTRY, END): Remove.
14352 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14354 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14356 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14357 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14360 * timezone/README: Update upstream location and email address for
14362 * timezone/zdump.c: Update from tzcode 2012b.
14363 * timezone/zic.c: Likewise.
14365 * configure.in (libc_cv_as_needed): Remove test.
14366 * configure: Regenerated.
14367 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14368 conditional definition.
14369 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14370 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14371 * config.make.in (have-as-needed): Remove variable.
14373 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14374 Paul Pluzhnikov <ppluzhnikov@google.com>
14376 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14379 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14381 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14382 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14383 * sysdeps/sh/strlen.S: Likewise.
14385 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14387 * sysdeps/unix/fork.S: Remove file.
14388 * sysdeps/unix/i386/fork.S: Likewise.
14389 * sysdeps/unix/sparc/fork.S: Likewise.
14391 * sysdeps/unix/system.c: Remove file.
14392 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14394 * sysdeps/unix/getegid.S: Remove file.
14395 * sysdeps/unix/geteuid.S: Likewise.
14397 2012-04-24 Roland McGrath <roland@hack.frob.com>
14399 * scripts/check-localplt.awk: New file.
14400 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14402 * scripts/data/localplt-generic.data: Add a comment.
14404 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14405 NODE when __dir_mkfile failed.
14406 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14407 Reported by Ludovic Courtès <ludo@gnu.org>.
14409 2012-04-24 Andreas Jaeger <aj@suse.de>
14411 * Makerules (common-clean): Also remove gen-as-const-headers
14414 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14416 * Makerules (native-compile): Do not change working directory for
14417 build. Use $(OUTPUT_OPTION) in command.
14418 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14420 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14423 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14424 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14425 * math/libm-test.inc (floor_test): Add more tests.
14426 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14428 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14430 * sysdeps/unix/getdents.c: Remove file.
14431 * sysdeps/unix/sysv/getdents.c: Likewise.
14432 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14434 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14435 sysdeps/unix/mman/syscalls.list.
14437 (mprotect): Likewise.
14439 (munmap): Likewise.
14440 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14441 * sysdeps/unix/mman/syscalls.list: Remove.
14442 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14444 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14445 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14446 * configure: Regenerated.
14447 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14448 $(libgcc_s_suffix).
14449 * config.make.in (libgcc_s_suffix): Remove variable.
14451 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14453 * sysdeps/unix/sysv/gethostname.c: Move to ...
14454 * sysdeps/posix/gethostname.c: ... here.
14456 * sysdeps/unix/execve.S: Remove file.
14458 * sysdeps/unix/_exit.S: Remove file.
14460 2012-04-23 Andreas Jaeger <aj@suse.de>
14463 * manual/Makefile: Remove make dist support, there's no
14464 need for a stand-alone documentation tar ball.
14465 (TEXI2DVI): Define always, it's not in Makeconfig.
14468 (edition): Removed.
14469 (glibc-doc-$(edition).tar): Removed
14473 (ETAGS): Remove, it's in Makeconfig.
14474 (move-if-change): Remove, it's in Makeconfig.
14476 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14479 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14480 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14481 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14482 (strtod_l, strtof_l, strtold_l): Remove __wur.
14483 It is not necessarily an error to ignore strtol's return value.
14484 One can reliably look at the stored endptr to decide whether
14485 the number had valid syntax.
14487 2012-04-21 Andreas Jaeger <aj@suse.de>
14490 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14492 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14494 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14495 * sysdeps/unix/sysv/Versions: Remove file.
14497 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14502 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14505 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14506 version from __vm86.
14508 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14510 * sysdeps/unix/common/lxstat.c: Remove file.
14511 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14513 * sysdeps/unix/sysv/Makefile: Remove file.
14515 * sysdeps/unix/sysv/direct.h: Remove file.
14517 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14518 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14519 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14520 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14521 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14522 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14523 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14525 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14527 * sysdeps/unix/xmknod.c: Remove file.
14528 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14530 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14532 * sysdeps/unix/sysv/i386/time.S: Remove file.
14534 * sysdeps/unix/fxstat.c: Remove file.
14535 * sysdeps/unix/xstat.c: Likewise.
14536 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14538 * sysdeps/unix/sysv/sigaction.c: Remove file.
14540 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14541 (sysdep_headers): Remove variable.
14542 [termio.h not in sysdep_headers] (generated): Likewise.
14543 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14544 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14545 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14546 * sysdeps/unix/sysv/tcflow.c: Likewise.
14547 * sysdeps/unix/sysv/tcflush.c: Likewise.
14548 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14549 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14550 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14551 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14552 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14554 * sysdeps/unix/siglist.c: Remove file.
14556 * sysdeps/unix/getppid.S: Remove file.
14558 * sysdeps/unix/mkdir.c: Remove file.
14559 * sysdeps/unix/rmdir.c: Likewise.
14561 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14563 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14565 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14566 errlist-compat value.
14568 2012-04-18 David S. Miller <davem@davemloft.net>
14570 * sysdeps/generic/memcopy.h (reg_char): Delete.
14571 * debug/strcat_chk.c: Use char, not reg_char.
14572 * debug/strcpy_chk.c: Likewise.
14573 * debug/strncat_chk.c: Likewise.
14574 * debug/strncpy_chk.c: Likewise.
14575 * string/memchr.c: Likewise.
14576 * string/memrchr.c: Likewise.
14577 * string/rawmemchr.c: Likewise.
14578 * string/strcat.c: Likewise.
14579 * string/strchr.c: Likewise.
14580 * string/strchrnul.c: Likewise.
14581 * string/strcmp.c: Likewise.
14582 * string/strcpy.c: Likewise.
14583 * string/strncat.c: Likewise.
14584 * string/strncmp.c: Likewise.
14585 * string/strncpy.c: Likewise.
14587 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14589 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14590 __builtin_memcopy is called when src and dest ranges are known to not
14593 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14595 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14596 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14597 fwd_align_merge macro call.
14598 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14599 bwd_align_merge macro call.
14600 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14602 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14604 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14605 bwd_align_merge macros.
14606 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14607 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14608 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14610 2012-04-18 David S. Miller <davem@davemloft.net>
14612 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14614 2012-04-18 Andreas Jaeger <aj@suse.de>
14617 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14618 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14619 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14621 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14622 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14623 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14625 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14626 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14627 Adjust for changed ldbl-128 files.
14629 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14630 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14631 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14633 2012-04-17 David S. Miller <davem@davemloft.net>
14635 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14637 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14639 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14640 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14641 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14642 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14643 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14644 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14646 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14649 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14650 * math/libm-test.inc: Add ilogb errno and exception tests.
14651 * math/w_ilogb.c: New file: ilogb wrapper.
14652 * math/w_ilogbf.c: New file: ilogbf wrapper.
14653 * math/w_ilogbl.c: New file: ilogbl wrapper.
14654 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14655 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14656 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14657 exception being thrown with 0.0 as argument.
14658 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14659 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14660 exception being thrown with 0.0 as argument.
14661 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14662 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14663 exception being thrown with 0.0 as argument.
14664 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14665 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14666 exception being thrown with 0.0 as argument.
14667 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14668 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14669 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14670 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14671 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14672 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14673 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14674 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14675 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14677 2012-04-17 Petr Baudis <pasky@ucw.cz>
14679 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14682 2012-04-16 Marek Polacek <polacek@redhat.com>
14684 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14686 2012-04-16 Marek Polacek <polacek@redhat.com>
14688 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14689 operands of fdivp instruction.
14691 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14693 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14694 * elf/tst-auditmod3b.c: Likewise.
14695 * elf/tst-auditmod4b.c: Likewise.
14696 * elf/tst-auditmod5b.c: Likewise.
14697 * elf/tst-auditmod6b.c: Likewise.
14698 * elf/tst-auditmod6c.c: Likewise.
14699 * elf/tst-auditmod7b.c: Likewise.
14700 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14701 * sysdeps/x86_64/preconfigure.in: Likewise.
14702 * sysdeps/x86_64/preconfigure: Regenerated.
14704 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14706 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14709 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14712 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14714 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14717 * locale/iso-639.def: Fix gl language name. Spotted by
14720 2012-04-12 Roland McGrath <roland@hack.frob.com>
14723 * libio/libio.h (__io_write_fn): Update comment.
14725 2012-04-12 Petr Baudis <pasky@ucw.cz>
14728 * stdio.texi (Hook Functions): The user provided writer function
14729 is not allowed to return -1.
14731 2012-04-11 David S. Miller <davem@davemloft.net>
14733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14735 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14737 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14738 Add a leading slash to rtkaio.
14740 2012-04-11 Jim Meyering <meyering@redhat.com>
14743 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14744 It is not necessarily an error to ignore fwrite's return
14745 value. One can reliably use ferror to test for errors after
14748 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14750 * bits/types.h (__snseconds_t): New type.
14751 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14753 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14755 (__SNSECONDS_T_TYPE): Likewise.
14756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14757 (__SNSECONDS_T_TYPE): Likewise.
14758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14759 (__SNSECONDS_T_TYPE): Likewise.
14761 2012-04-10 Andreas Jaeger <aj@suse.de>
14764 * manual/time.texi (Processor Time): Return type of times is
14765 elapsed real time since an arbitrary point in the past.
14766 (CPU Time): Move CLK_TCK from here...
14767 (Processor Time): ...to here. Correct description.
14768 * manual/conf.texi (Constants for Sysconf): Correct description of
14771 2012-04-10 David S. Miller <davem@davemloft.net>
14774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14775 where the is a gap between DT_REL(A) and DT_JMPREL.
14777 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14779 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14780 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14781 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14783 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14785 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14786 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14787 (dl_main): Handle --inhibit-cache.
14788 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14790 * elf/dl-load.c (_dl_map_object): Use it.
14791 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14793 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14796 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14797 (__ieee754_powl): Saturate large exponents rather than testing for
14798 overflow of y*log2(x).
14799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14800 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14804 * math/s_ctan.c: Include <float.h>.
14805 (__ctan): Avoid internal overflow or cancellation in calculating
14807 * math/s_ctanf.c: Likewise.
14808 * math/s_ctanl.c: Likewise.
14809 * math/s_ctanh.c: Likewise.
14810 * math/s_ctanhf.c: Likewise.
14811 * math/s_ctanhl.c: Likewise.
14812 * math/libm-test.inc (ctan_test): Add more tests.
14813 (ctanh_test): Likewise.
14814 * sysdeps/i386/fpu/libm-test-ulps: Update.
14815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14817 2012-04-09 Andreas Jaeger <aj@suse.de>
14820 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14821 is an optional BSD extension.
14824 * manual/stdio.texi (Opening Streams): Document additional fopen
14827 2012-04-09 Roland McGrath <roland@hack.frob.com>
14829 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14830 %eax without telling the compiler.
14832 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14835 * manual/install.texi: Use sourceware.org.
14837 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14840 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14841 (__ieee754_pow): Generate overflow and underflow using huge*huge
14842 and tiny*tiny rather than just returning constant infinity or zero
14843 for large exponents.
14844 * math/libm-test.inc (pow_test): Require overflow exceptions for
14845 applicable cases of large exponents.
14848 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14849 (__ieee754_pow): Use iterative multiplication algorithm only for
14850 integer exponents with absolute value below 1024. Check for odd
14851 integer exponents when using algorithm for real exponents.
14852 * math/libm-test.inc (pow_test): Add more tests.
14853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14855 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14858 * math/libm-test.inc (exp_test): Do not allow overflow exception
14861 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14864 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14865 instead of __kernel_standard_f.
14867 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14869 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14870 * sysdeps/x86_64/memset_chk.S: Likewise.
14872 2012-04-08 Andreas Jaeger <aj@suse.de>
14875 * manual/startup.texi (Environment Access): Describe return value
14876 for putenv and setenv.
14879 * manual/filesys.texi (Directory Entries): Add description for
14883 * manual/filesys.texi (Directory Entries): Clarify that it's file
14884 system not operating system in the description of DT_UNKNOWN.
14887 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14889 2012-04-08 Stephen Compall <s11@member.fsf.org>
14892 * manual/llio.texi (Opening and Closing Files): Add cross
14893 reference to explain mode argument.
14895 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14897 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14898 * sysdeps/x86_64/memset_chk.S: Likewise.
14900 2012-04-07 David S. Miller <davem@davemloft.net>
14902 * elf/elf.h (R_SPARC_WDISP10): Define.
14903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14906 R_SPARC_SIZE64 and R_SPARC_H34.
14908 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14910 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14911 conditions and remove no longer applicable assertion.
14913 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14915 * bits/byteswap.h: Include <features.h>.
14916 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14917 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14919 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14921 * bits/byteswap.h (__bswap_16): Removed.
14922 Include <bits/byteswap-16.h> to get __bswap_16.
14923 * sysdeps/i386/bits/byteswap.h: Likewise.
14924 * sysdeps/s390/bits/byteswap.h: Likewise.
14925 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14926 * bits/byteswap-16.h: New file.
14927 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14928 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14929 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14930 * string/Makefile (headers): Add bits/byteswap-16.h.
14932 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14935 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14937 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14938 * nss/tst-nss-static.c: New.
14940 2012-04-06 Robert Millan <rmh@gnu.org>
14943 * manual/llio.texi (File Position Primitive): lseek
14944 refers to WHENCE when it really means OFFSET.
14946 2012-04-06 Andreas Jaeger <aj@suse.de>
14948 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14949 strncmp declarations.
14951 * abilist/libc.abilist: Add __poll and __ppoll.
14953 2012-04-05 David S. Miller <davem@davemloft.net>
14955 * scripts/check-local-headers.sh: Accept a host triplet in the
14956 path matched by the exclude regexp.
14958 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14960 * sysdeps/powerpc/powerpc32/dl-machine.h
14961 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14962 * sysdeps/s390/s390-32/dl-machine.h
14963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14964 * sysdeps/sparc/sparc32/dl-machine.h
14965 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14966 * sysdeps/sparc/sparc64/dl-machine.h
14967 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14969 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14971 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14972 undefined symbol errors.
14974 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14977 2012-04-05 Michael Matz <matz@suse.de>
14980 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14982 2012-04-05 Andreas Jaeger <aj@suse.de>
14985 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14988 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14990 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14991 which ROUND is no valid rounding mode.
14993 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14995 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14997 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14999 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15001 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15002 an exception using FPU order intentionally.
15004 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15006 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15007 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15008 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15009 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15011 2012-04-05 Simon Josefsson <simon@josefsson.org>
15014 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15015 EINVAL when BUFLEN is too smal.
15017 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15020 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15021 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15023 2012-04-03 Andreas Jaeger <aj@suse.de>
15026 * manual/setjmp.texi (System V contexts): Fix sentence.
15029 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15030 New macro for this case.
15031 [!__GNUC__] (__bswap_64): New inline function for this case.
15032 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15033 * bits/byteswap.h: Likewise.
15034 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15035 ull, guard with __GLIBC_HAVE_LONG_LONG.
15037 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15038 __GLIBC_HAVE_LONG_LONG.
15040 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15041 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15043 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15046 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15047 inptr and inend, rather than using last_ch.
15049 2012-04-02 David S. Miller <davem@davemloft.net>
15051 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15052 * stdio-common/printf-parse.h (read_int): Change return type to
15053 'int', return -1 on INT_MAX overflow.
15054 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15055 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15056 overflows INT_MAX. Check for overflow of in-format-string precision
15057 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15058 SIZE_MAX not INT_MAX for integer overflow test.
15059 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15060 skip the construct in the format string but do not record anything.
15061 * stdio-common/bug22.c: Adjust to test both width/prevision
15062 INT_MAX overflow as well as total length INT_MAX overflow. Check
15063 explicitly for proper errno values.
15065 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15067 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15069 * string/test-strcmp.c [! WIDE]: Likewise.
15070 * time/tst-mktime2.c: Likewise for INT_MAX.
15071 * string/test-string.h: #include <sys/param.h> for MIN.
15073 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15074 * sysdeps/i386/init-first.c (init): Likewise.
15075 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15076 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15077 * sysdeps/sh/init-first.c (init): Likewise.
15079 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15081 * po/ru.po: Update from translation team.
15082 * po/vi.po: Likewise.
15084 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15086 * resolv/nss_dns/dns-host.c: Merge copyright years.
15088 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15090 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15091 Optimize memcpy with prefetch if
15092 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15093 src, dst pointers have unequal 16 byte alignments.
15095 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15098 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15099 from a CNAME entry and return the minimum ttl for the query.
15100 (gaih_getanswer_slice): Likewise.
15102 2012-03-30 Jeff Law <law@redhat.com>
15104 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15106 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15107 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15109 * resolv/nss_dns/dns-host.c: Update copyright year.
15111 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15113 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15114 requests to save a system call. Fix check that all bytes are sent.
15116 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15117 comments for sendmmsg.
15119 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15122 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15123 with only 1 character between 0x0041 and 0x01b0.
15124 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15125 * wcsmbs/tst-mbsnrtowcs.c: New file.
15127 2012-03-29 David S. Miller <davem@davemloft.net>
15129 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15130 small copies by hand.
15132 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15135 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15136 _nss_compat_initgroups_dyn): Fall back to malloc/free
15137 for large group memberships.
15139 2012-03-28 David S. Miller <davem@davemloft.net>
15141 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15142 that branches into memcpy.
15143 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15146 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15149 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15150 implementation too.
15151 * sysdeps/sparc/mempcpy.S: New file.
15153 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15154 the IFUNC routine in the libc case.
15155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15157 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15158 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15159 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15160 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15161 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15162 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15163 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15164 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15166 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15167 loop to 256 bytes instead of 64 bytes and fix test signedness.
15169 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15170 * sysdeps/sparc/sparc32/Makefile: rather than here...
15171 * sysdeps/sparc/sparc64/Makefile: and here.
15173 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15175 * malloc/mallocbug.c: Avoid warnings about unused variables.
15177 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15180 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15181 in the right place. Discard and retry query if response is
15182 larger than input buffer size.
15184 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15189 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15190 x for large integer exponent.
15191 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15192 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15193 sign of result as needed afterwards.
15194 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15195 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15196 result for underflowing pow the same as for overflow.
15197 (__kernel_standard_l): Handle powl overflow and underflow here
15198 rather than calling __kernel_standard.
15199 * math/libm-test.inc (pow_test): Add more tests.
15214 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15215 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15216 (__kernel_standard_l): New function.
15217 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15219 * math/w_acosl.c (__acosl): Likewise.
15220 * math/w_asinl.c (__asinl): Likewise.
15221 * math/w_atan2l.c (__atan2l): Likewise.
15222 * math/w_atanhl.c (__atanhl): Likewise.
15223 * math/w_coshl.c (__coshl): Likewise.
15224 * math/w_exp10l.c (__exp10l): Likewise.
15225 * math/w_exp2l.c (__exp2l): Likewise.
15226 * math/w_fmodl.c (__fmodl): Likewise.
15227 * math/w_hypotl.c (__hypotl): Likewise.
15228 * math/w_j0l.c (__j0l, __y0l): Likewise.
15229 * math/w_j1l.c (__j1l, __y1l): Likewise.
15230 * math/w_jnl.c (__jnl, __ynl): Likewise.
15231 * math/w_lgammal.c (__lgammal): Likewise.
15232 * math/w_log10l.c (__log10l): Likewise.
15233 * math/w_log2l.c (__log2l): Likewise.
15234 * math/w_logl.c (__logl): Likewise.
15235 * math/w_powl.c (__powl): Likewise.
15236 * math/w_remainderl.c (__remainderl): Likewise.
15237 * math/w_scalbl.c (sysv_scalbl): Likewise.
15238 * math/w_sinhl.c (__sinhl): Likewise.
15239 * math/w_sqrtl.c (__sqrtl): Likewise.
15240 * math/w_tgammal.c (__tgammal): Likewise.
15241 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15242 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15243 * math/libm-test.inc (acos_test): Add more tests.
15244 (acosh_test): Likewise.
15245 (asin_test): Likewise.
15246 (atanh_test): Likewise.
15247 (exp_test): Likewise.
15248 (exp10_test): Likewise.
15249 (exp2_test): Likewise.
15250 (expm1_test): Likewise.
15251 (lgamma_test): Likewise.
15252 (log_test): Likewise.
15253 (log10_test): Likewise.
15254 (log1p_test): Likewise.
15255 (log2_test): Likewise.
15256 (pow_test): Do not allow some spurious overflow exceptions.
15257 (sqrt_test): Add more tests.
15258 (tgamma_test): Likewise.
15259 (y0_test): Likewise.
15260 (y1_test): Likewise.
15261 (yn_test): Likewise.
15263 2012-03-27 Anton Blanchard <anton@samba.org>
15265 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15267 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15268 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15271 2012-03-27 David S. Miller <davem@davemloft.net>
15273 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15275 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15276 have-as-vis3 check.
15278 2012-03-27 Andreas Jaeger <aj@suse.de>
15280 * sysdeps/x86_64/elf/configure.in: Moved to ...
15281 * sysdeps/x86_64/configure.in: ... here.
15282 * sysdeps/x86_64/elf/start.S: Moved to ...
15283 * sysdeps/x86_64/start.S: ... here.
15284 * sysdeps/x86_64/elf/configure: Delete.
15286 * sysdeps/x86_64/configure.in: Merge contents from
15287 sysdeps/i386/configure.in (without i686 check).
15289 * sysdeps/i386/elf/Versions: Merge into ...
15290 * sysdeps/i386/Versions: ... this.
15291 * sysdeps/i386/elf/Versions: Delete file.
15292 * sysdeps/i386/elf/start.S: Moved to ...
15293 * sysdeps/i386/start.S: ...here.
15294 * sysdeps/i386/elf/configure.in: Merge into...
15295 * sysdeps/i386/configure.in: ...here.
15296 * sysdeps/i386/elf/configure.in: Delete file.
15297 * sysdeps/i386/elf/configure: Delete file.
15299 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15300 * debug/backtracesyms.c: ... here.
15301 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15302 * debug/backtracesymsfd.c: ... here.
15303 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15304 * sysdeps/generic/ifunc-sel.h: ... here.
15306 * sysdeps/unix/i386/start.c: Delete file.
15307 * sysdeps/unix/sparc/start.c: Delete file.
15308 * sysdeps/unix/start.c: Delete file.
15310 * sysdeps/sh/elf/configure.in: Moved to ...
15311 * sysdeps/sh/configure.in: ... here.
15312 * sysdeps/sh/elf/start.S: Moved to ...
15313 * sysdeps/sh/start.S: ... here.
15314 * sysdeps/sh/elf/configure: Delete file.
15316 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15317 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15318 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15319 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15320 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15321 * sysdeps/powerpc/powerpc64/start.S: here.
15322 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15323 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15324 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15325 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15326 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15328 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15329 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15330 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15331 * sysdeps/powerpc/powerpc32/start.S: ... here.
15332 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15333 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15334 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15336 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15337 * sysdeps/powerpc/ifunc-sel.h: ... here.
15338 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15339 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15341 * sysdeps/sparc/elf/configure.in: Moved to ...
15342 * sysdeps/sparc/configure.in: ... here.
15343 * sysdeps/sparc/elf/configure: Delete file.
15344 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15345 * sysdeps/sparc/sparc32/start.S: ... here.
15346 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15347 * sysdeps/sparc/sparc64/start.S: ... here.
15348 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15349 * sysdeps/sparc/sparc32/Makefile: ... this.
15350 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15351 * sysdeps/sparc/sparc64/Makefile: ... this.
15353 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15354 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15355 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15356 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15357 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15358 * sysdeps/s390/s390-32/setjmp.S: ... here.
15359 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15360 * sysdeps/s390/s390-32/configure.in: ... here.
15361 * sysdeps/s390/s390-32/elf/configure: Delete file.
15362 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15363 * sysdeps/s390/s390-32/start.S: ... here.
15365 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15366 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15367 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15368 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15369 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15370 * sysdeps/s390/s390-64/setjmp.S: ... here.
15371 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15372 * sysdeps/s390/s390-64/configure.in: ... here
15373 * sysdeps/s390/s390-64/elf/configure: Delete file.
15374 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15375 * sysdeps/s390/s390-64/start.S: ... here.
15376 * sysdeps/s390/s390-64/elf/configure: Delete.
15378 * configure.in: Remove support for elf directories in sysdeps.
15380 * configure: Regenerated.
15381 * sysdeps/i386/configure: Regenerated.
15382 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15383 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15384 * sysdeps/s390/s390-32/configure: Regenerated.
15385 * sysdeps/s390/s390-64/configure: Regenerated.
15386 * sysdeps/sh/configure: Regenerated.
15387 * sysdeps/sparc/configure: Regenerated.
15388 * sysdeps/x86_64/configure: Regenerated.
15390 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15394 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15395 denormal result into account.
15397 2012-03-25 Roland McGrath <roland@hack.frob.com>
15399 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15400 Reported by Allan McRae <allan@archlinux.org>.
15402 2012-03-23 Jeff Law <law@redhat.com>
15404 * nss/getnssent.c (__nss_getent): Fix typo.
15406 2012-03-23 David S. Miller <davem@davemloft.net>
15408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15410 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15412 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15413 to pad to uint64_t for each field.
15414 (dl_tls_index): Replace unsigned long with uint64_t.
15416 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15417 Paul Pluzhnikov <ppluzhnikov@google.com>
15420 * grp/Makefile (otherlibs): Don't set it.
15421 * inet/Makefile (otherlibs): Likewise.
15422 * login/Makefile (otherlibs): Likewise.
15423 * nscd/Makefile (otherlibs): Likewise.
15424 * posix/Makefile (otherlibs): Likewise.
15425 * pwd/Makefile (otherlibs): Likewise.
15426 * rt/Makefile (otherlibs): Likewise.
15427 * sunrpc/Makefile (otherlibs): Likewise.
15428 * nss/Makefile (otherlibs): Likewise.
15429 Add libnss_files to routines and static-only-routines.
15430 ($(objpfx)getent): Remove rule.
15431 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15432 static-only-routines.
15434 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15437 * math/s_cexp.c: Include <float.h>.
15438 (__cexp): Handle exp result overflowing not necessarily
15439 overflowing both real and imaginary parts of result.
15440 * math/s_cexpf.c: Likewise.
15441 * math/s_cexpl.c: Likewise.
15442 * math/libm-test.inc (cexp_test): Add more tests.
15443 * sysdeps/i386/fpu/libm-test-ulps: Update.
15444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15446 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15448 * include/link.h (ELFW): New macro.
15449 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15450 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15452 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15454 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15457 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15459 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15461 (struct La_x32_retval): Likewise.
15463 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15465 * sysdeps/x86_64/preconfigure.in: New file.
15466 * sysdeps/x86_64/preconfigure: New generated file.
15468 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15471 * math/e_exp2l.c: Include <float.h>.
15472 (__ieee754_exp2l): Handle overflow and underflow cases
15473 separately. Only pass fractional part of argument to
15475 * math/libm-test.inc (exp2_test): Add more tests.
15477 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15478 negating x to take absolute value.
15479 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15481 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15484 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15485 computing low part if x was negated.
15486 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15488 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15490 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15491 la_x32_gnu_pltexit.
15492 (pltexit): Cast int_retval to ptrdiff_t.
15493 * elf/tst-auditmod3b.c: Likewise.
15494 * elf/tst-auditmod4b.c: Likewise.
15495 * elf/tst-auditmod5b.c: Likewise.
15496 * elf/tst-auditmod6b.c: Likewise.
15497 * elf/tst-auditmod6c.c: Likewise.
15498 * elf/tst-auditmod7b.c: Likewise.
15500 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15501 and x32_gnu_pltexit.
15503 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15504 __ELF_NATIVE_CLASS.
15505 (La_x32_regs): New macro.
15506 (La_x32_retval): Likewise.
15507 (la_x32_gnu_pltenter): New function prototype.
15508 (la_x32_gnu_pltexit): Likewise.
15510 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15517 * configure.in (libc_cv_cc_nofma): Check for option to disable
15518 generation of FMA instructions.
15519 * configure: Regenerate.
15520 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15521 * sysdeps/ieee754/dbl-64/Makefile: New file.
15522 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15523 Remove brandred-fma4.
15524 (CFLAGS-brandred-fma4.c): Remove.
15525 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15526 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15528 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15531 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15533 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15534 LLONG_MAX != LONG_MAX.
15535 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15536 (_fitoa_word): Likewise.
15537 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15538 LLONG_MAX != LONG_MAX.
15539 * stdio-common/_itowa.h: Include <_itoa.h>.
15540 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15541 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15542 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15543 only if not defined.
15544 (_ITOA_WORD_TYPE): Likewise.
15545 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15546 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15548 2012-03-21 David S. Miller <davem@davemloft.net>
15550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15552 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15554 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15555 of x86_64 when setting libc_cv_slibdir, libdir and
15557 * sysdeps/unix/sysv/linux/configure: Regenerated.
15559 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15561 * manual/lang.texi (Old Varargs): Remove section.
15562 (How Variadic): Update menu.
15563 (va_start): Do not mention varargs.h.
15565 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15566 Joseph Myers <joseph@codesourcery.com>
15568 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15570 * configure: Regenerated.
15572 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15574 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15575 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15578 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15581 * Makefile (files-for-dist): Remove NOTES.
15582 (NOTES): Remove rule.
15583 * README: Don't refer to NOTES.
15584 * manual/creature.texi: Don't include macros.texi.
15585 * manual/intro.texi (creature.texi): Remove comment referring to
15588 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15589 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15590 * configure: Regenerated.
15591 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15592 LIBC_TRY_CC_OPTION.
15593 (libc_cv_as_i686): Likewise.
15594 (libc_cv_cc_avx): Likewise.
15595 (libc_cv_cc_sse2avx): Likewise.
15596 (libc_cv_cc_fma4): Likewise.
15597 (libc_cv_cc_novzeroupper): Likewise.
15598 * sysdeps/i386/configure: Regenerated.
15601 * sysdeps/i386/fpu/s_cexp.S: Remove.
15602 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15603 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15604 * math/libm-test.inc (cexp_test): Add more tests.
15605 * sysdeps/i386/fpu/libm-test-ulps: Update.
15606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15608 2012-03-21 Allan McRae <allan@archlinux.org>
15610 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15612 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15615 * math/w_exp2.c: Do not include <float.h>.
15616 (o_threshold, u_threshold): Remove.
15617 (__exp2): Calculate result before checking finiteness and calling
15619 * math/w_exp2f.c: Likewise.
15620 * math/w_exp2l.c: Likewise.
15621 * math/libm-test.inc (exp2_test): Require overflow exception for
15625 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15626 range of signed 64-bit integers before using fistpll. Remove
15627 checks for whether integers fit in mantissa bits.
15628 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15629 the range of signed 32-bit integers before using fistpl. Remove
15630 checks for whether integers fit in mantissa bits.
15631 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15632 (__ieee754_powl): Test for y outside the range of signed 64-bit
15633 integers before using fistpll. Reduce 64-bit values to 63-bit
15635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15636 divide-by-zero is raised for zero to large negative powers.
15637 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15638 (__ieee754_powl): Test for y outside the range of signed 64-bit
15639 integers before using fistpll. Reduce 64-bit values to 63-bit
15641 * math/libm-test.inc (pow_test): Add more tests.
15643 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15645 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15646 <stdio-common/_itoa.h>.
15647 * debug/segfault.c: Likewise.
15648 * elf/dl-cache.c: Likewise.
15649 * elf/dl-minimal.c: Likewise.
15650 * elf/dl-misc.c: Likewise.
15651 * elf/dl-sysdep.c: Likewise.
15652 * elf/dl-version.c: Likewise.
15653 * elf/rtld.c: Likewise.
15654 * hurd/hurdsock.c: Likewise.
15655 * hurd/lookup-retry.c: Likewise.
15656 * malloc/malloc.c: Likewise.
15657 * malloc/mtrace.c: Likewise.
15658 * nscd/nscd_getgr_r.c: Likewise.
15659 * nscd/nscd_getpw_r.c: Likewise.
15660 * nscd/nscd_getserv_r.c: Likewise.
15661 * posix/getopt_init.c: Likewise.
15662 * posix/wordexp.c: Likewise.
15663 * stdio-common/_itoa.c: Likewise.
15664 * stdio-common/printf_fphex.c: Likewise.
15665 * stdio-common/vfprintf.c: Likewise.
15666 * string/_strerror.c: Likewise.
15667 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15668 * sysdeps/i386/i686/hp-timing.h: Likewise.
15669 * sysdeps/mach/_strerror.c: Likewise.
15670 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15671 * sysdeps/mach/hurd/sethostid.c: Likewise.
15672 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15673 * sysdeps/mach/xpg-strerror.c: Likewise.
15674 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15675 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15676 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15677 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15678 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15679 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15680 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15681 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15682 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15683 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15684 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15685 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15686 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15687 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15688 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15689 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15690 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15691 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15692 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15693 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15694 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15696 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15698 * stdio-common/_itoa.h: Moved to ...
15699 * sysdeps/generic/_itoa.h: Here.
15701 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15703 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15704 instead of "_itoa.h" and "_itowa.h".
15705 * stdio-common/vfprintf.: Likewise.
15707 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15709 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15711 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15712 (__signbit): Likwise.
15713 (llrintf): Likwise.
15716 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15718 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15721 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15723 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15724 OVERFLOW_EXCEPTION_OK.
15725 * math/libm-test.inc ("Philosophy"): Update comment about
15727 (OVERFLOW_EXCEPTION): Define.
15728 (OVERFLOW_EXCEPTION_OK): Likewise.
15729 (INVALID_EXCEPTION_OK): Renumber.
15730 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15731 (IGNORE_ZERO_INF_SIGN): Likewise.
15732 (test_exceptions): Handle FE_OVERFLOW.
15733 (exp10_test): Expect overflow exceptions.
15734 (exp2_test): Likewise.
15735 (expm1_test): Likewise.
15736 (nextafter_test): Likewise.
15737 (pow_test): Likewise.
15738 (scalbn_test): Likewise.
15739 (scalbln_test): Likewise.
15741 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15743 * sysdeps/x86_64/bits/atomic.h
15744 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15746 (atomic_exchange_acq): Likewise.
15747 (__arch_exchange_and_add_body): Likewise.
15748 (__arch_add_body): Likewise.
15749 (atomic_add_negative): Likewise.
15750 (atomic_add_zero): Likewise.
15752 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15754 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15755 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15757 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15759 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15760 Check __x86_64__ instead of __WORDSIZE.
15762 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15764 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15766 2012-03-19 David S. Miller <davem@davemloft.net>
15768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15770 * sysdeps/sparc/fpu/fenv_private.h: New file.
15771 * sysdeps/sparc/fpu/math_private.h: Use it.
15772 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15774 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15775 (libc_feholdexcept_setroundl): Remove.
15776 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15778 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15779 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15781 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15783 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15784 int64_t instead of long int.
15785 (INSERT_WORDS64): Likwise.
15787 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15789 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15790 _Unwind_GetCFA return to _Unwind_Ptr first.
15792 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15795 * math/s_clog.c: Include <float.h>.
15796 (__clog): Scale large or subnormal inputs.
15797 * math/s_clogf.c: Likewise.
15798 * math/s_clogl.c: Likewise.
15799 * math/s_clog10.c: Include <float.h>.
15800 (M_LOG10_2): Define.
15801 (__clog10): Scale large or subnormal inputs.
15802 * math/s_clog10f.c: Likewise.
15803 * math/s_clog10l.c: Likewise.
15804 * math/libm-test.inc (clog_test): Add more tests.
15805 (clog10_test): Likewise.
15806 * sysdeps/i386/fpu/libm-test-ulps: Update.
15807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15810 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15812 * math/libm-test.inc (atan2_test): Add another test.
15814 * Makerules (common-objdir-compile): Remove.
15815 * sysdeps/unix/Makefile (config-generated): Do not add
15816 $(unix-generated) to variable.
15817 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15818 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15820 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15822 [generic bits/local_lim.h] (before-compile): Do not append to
15824 [generic bits/local_lim.h] (common-generated): Likewise.
15825 [generic sys/param.h] (before-compile): Do not append to variable.
15826 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15827 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15828 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15829 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15831 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15832 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15833 [generic sys/param.h] ($(addprefix
15834 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15835 [generic sys/param.h] (common-generated): Do not append to
15837 [generic sys/param.h] (sysdep_headers): Likewise.
15838 [generic bits/errno.h] (before-compile): Do not append to
15840 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15842 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15843 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15844 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15845 [generic bits/errno.h] (common-generated): Do not append to
15847 [generic bits/ioctls.h] (before-compile): Do not append to
15849 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15851 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15852 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15853 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15855 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15856 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15857 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15858 [generic bits/ioctls.h] (common-generated): Do not append to
15860 [generic sys/syscall.h] (syscall.h): Remove variable.
15861 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15863 [generic sys/syscall.h] (before-compile): Do not append to
15865 [generic sys/syscall.h] (common-generated): Likewise.
15866 * sysdeps/unix/errnos-tmpl.c: Remove file.
15867 * sysdeps/unix/errnos.awk: Likewise.
15868 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15869 * sysdeps/unix/ioctls.awk: Likewise.
15870 * sysdeps/unix/mk-local_lim.c: Likewise.
15871 * sysdeps/unix/snarf-ioctls: Likewise.
15873 2012-03-19 Richard Henderson <rth@twiddle.net>
15875 * sysdeps/i386/fpu/fenv_private.h: New file.
15876 * sysdeps/i386/fpu/math_private.h: Use it.
15877 (math_opt_barrier, math_force_eval): Remove.
15878 (libc_feholdexcept_setround_53bit): Remove.
15879 (libc_feupdateenv_53bit): Remove.
15880 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15881 (math_opt_barrier, math_force_eval): Remove.
15882 (libc_feholdexcept): Remove.
15883 (libc_feholdexcept_setround): Remove.
15884 (libc_fetestexcept, libc_fesetenv): Remove.
15885 (libc_feupdateenv_test): Remove.
15886 (libc_feupdateenv, libc_feholdsetround): Remove.
15887 (libc_feresetround): Remove.
15889 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15890 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15892 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15893 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15894 (libc_feupdateenv_testl): New.
15895 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15896 (libc_feupdateenv_testf): New.
15897 (libc_feupdateenv): Use libc_feupdateenv_test.
15898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15899 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15901 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15902 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15903 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15904 (libc_feresetround_noex): New.
15905 (libc_feresetround_noexf): New.
15906 (libc_feresetround_noexl): New.
15907 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15908 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15909 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15910 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15913 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15915 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15916 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15917 SET_RESTORE_ROUND_NOEX.
15918 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15919 SET_RESTORE_ROUND_NOEXF.
15920 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15921 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15922 (libc_feholdsetroundf): New.
15923 (libc_feresetround, libc_feresetroundf): New.
15925 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15926 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15927 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15929 * sysdeps/generic/math_private.h: Include <fenv.h>.
15930 (default_libc_feholdexcept): New.
15931 (default_libc_feholdexcept_setround): New.
15932 (default_libc_fesetenv, default_libc_feupdateenv): New.
15933 (libc_feholdexcept): Only define if undefined.
15934 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15935 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15936 (libc_feholdexcept_setroundl): Likewise.
15937 (libc_feholdexcept_setround_53bit): Likewise.
15938 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15939 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15940 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15941 (libc_feupdateenv_53bit): Likewise.
15942 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15943 (libc_feholdexcept): Convert from macro to inline function.
15944 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15945 (libc_fesetenv, libc_feupdateenv): Likewise.
15947 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15948 not previously defined.
15949 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15950 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15951 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15952 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15953 * sysdeps/ieee754/flt-32/math_private.h: New file.
15954 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15955 math_private.h below SET_FLOAT_WORD.
15956 (__isnan, __isinf_ns, __finite): Remove.
15957 (__isnanf, __isinf_nsf, __finitef): Remove.
15959 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15963 2012-03-17 David S. Miller <davem@davemloft.net>
15966 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15969 2012-03-16 David S. Miller <davem@davemloft.net>
15971 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15975 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15977 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15978 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15979 sysdep_routines when subdir is sysvipc.
15980 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15981 __getshmlba helper.
15983 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15985 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15987 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15990 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15992 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15993 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15994 (__lround): Renamed to ...
15995 (__llround): This. Replace long int with long long int.
15996 Define lround functions as aliases of llround functions.
15997 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15999 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16001 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16002 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16003 adresses to uintptr_t. Replace "long int" and "unsigned long
16004 int" with "greg_t" on va_arg.
16006 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16008 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16009 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16011 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16012 Move e_machine check before EI_CLASS check. Handle x32
16013 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16014 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16015 SKIP_EM_IA_64 and include
16016 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16018 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16019 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16020 (add_system_dir): New macro.
16022 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16023 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16025 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16036 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16038 * math/w_j0f.c (j0f): Likewise.
16040 * math/w_j0l.c (__j0l): Likewise.
16042 * math/w_j1.c (j1): Likewise.
16044 * math/w_j1f.c (j1f): Likewise.
16046 * math/w_j1l.c (__j1l): Likewise.
16048 * math/w_jn.c (jn): Likewise.
16050 * math/w_jnf.c (jnf): Likewise.
16052 * math/w_jnl.c (__jnl): Likewise.
16054 * math/libm-test.inc (j0_test): Add more tests.
16055 (j1_test): Likewise.
16056 (jn_test): Likewise. Add trailing semicolon to existing test.
16057 (y0_test): Likewise.
16058 (y1_test): Likewise.
16059 * sysdeps/i386/fpu/libm-test-ulps: Update.
16060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16064 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16065 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16066 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16067 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16068 (__tanl): Set errno for infinite argument.
16069 * sysdeps/i386/fpu/mptan.c: Remove.
16070 * sysdeps/i386/fpu/s_tan.S: Likewise.
16071 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16072 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16073 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16074 * math/libm-test.inc (tan_test): Add more tests and enable more
16075 tests for double and long double.
16076 * sysdeps/i386/fpu/libm-test-ulps: Update.
16077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16079 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16081 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16082 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16084 2012-03-16 Roland McGrath <roland@hack.frob.com>
16086 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16087 * configure.in: Use it for both main tree and add-ons.
16088 * configure: Regenerated.
16090 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16092 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16094 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16096 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16100 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16101 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16102 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16104 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16106 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16108 != 0 for prec == 2.
16109 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16110 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16111 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16112 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16113 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16114 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16115 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16116 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16117 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16118 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16119 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16120 * math/libm-test.inc (cos_test): Add more tests and enable more
16121 tests for long double.
16122 (sin_test): Likewise.
16123 (sincos_test): Likewise.
16124 * sysdeps/i386/fpu/libm-test-ulps: Update.
16125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16127 2012-03-16 David S. Miller <davem@davemloft.net>
16129 * sysdeps/sparc/fpu/math_private.h: New file.
16131 2012-03-15 David S. Miller <davem@davemloft.net>
16133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16147 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16148 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16150 * sysdeps/sparc/sparc-ifunc.h: New file.
16151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16196 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16198 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16202 2012-03-15 Andreas Jaeger <aj@suse.de>
16205 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16206 ieee754/flt-32 implementation for sin, cos and sincos.
16207 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16208 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16209 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16210 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16211 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16212 ieee754/flt-32 implementation for tan.
16214 * math/libm-test.inc (cos_test): Enable some large input tests for
16216 (sin_test): Likewise.
16217 (sincos_test): Likewise.
16218 (tan_test): Add tests for large input.
16220 * sysdeps/i386/fpu/libm-test-ulps: Update.
16222 2012-03-15 Andreas Jaeger <aj@suse.de>
16225 * math/libm-test.inc (cos_test): Add more test cases.
16226 (sin_test): Likewise.
16227 (sincos_test): Likewise.
16229 2012-03-15 Andreas Jaeger <aj@suse.de>
16232 * math/libm-test.inc (cos_test): Add a test case for large input
16234 (sin_test): Likewise.
16235 (sincos_test): Likewise.
16237 2012-03-15 Andreas Jaeger <aj@suse.de>,
16238 Joseph Myers <joseph@codesourcery.com>
16241 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16242 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16243 * sysdeps/i386/fpu/branred.c: Likewise.
16244 * sysdeps/i386/fpu/dosincos.c: Likewise.
16245 * sysdeps/i386/fpu/mpa.c: Likewise.
16246 * sysdeps/i386/fpu/s_cos.S: Likewise.
16247 * sysdeps/i386/fpu/s_sin.S: Likewise.
16248 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16249 * sysdeps/i386/fpu/sincos32.c: Likewise.
16251 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16253 (libc_feupdateenv_53bit): Define.
16254 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16256 (libc_feupdateenv_53bit): Define.
16258 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16259 53 bit (without extend i386 double precision).
16261 * math/libm-test.inc (sincos_test): Add tests for large input.
16265 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16267 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16271 2012-03-15 David S. Miller <davem@davemloft.net>
16273 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16274 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16275 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16276 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16301 fmin/fmax sysdep routines.
16302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16304 2012-03-14 David S. Miller <davem@davemloft.net>
16306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16328 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16378 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16383 * sysdeps/sparc/configure.in: New file.
16384 * sysdeps/sparc/configure: Generate.
16385 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16386 * configure: Regenerate.
16387 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16388 * config.make.in (have-as-vis3): New.
16389 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16390 available use -Av9d instead of -Av9a.
16391 * sysdeps/sparc/sparc64/Makefile: Likewise.
16392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16407 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16408 fzeros/fnegs to load 0x80000000 into a float register instead of
16410 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16412 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16416 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16417 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16418 ($(inst_includedir)/bits/syscall.h): Remove rule.
16419 ($(objpfx)bits/syscall.d): Include instead of
16420 $(objpfx)syscall-list.d.
16421 (generated): Change syscall-list.h and syscall-list.d to
16422 bits/syscall.h and bits/syscall.d.
16424 2012-03-14 Roland McGrath <roland@hack.frob.com>
16427 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16429 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16432 * math/s_csqrt.c: Include <float.h>.
16433 (__csqrt): Scale large or subnormal inputs.
16434 * math/s_csqrtf.c: Likewise.
16435 * math/s_csqrtl.c: Likewise.
16436 * math/libm-test.inc (csqrt_test): Add more tests.
16437 * sysdeps/i386/fpu/libm-test-ulps: Update.
16438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16441 * math/libm-test.inc (hypot_test): Add more tests.
16443 2012-03-13 David S. Miller <davem@davemloft.net>
16446 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16447 double-precision for the calculation instead of scaling.
16449 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16451 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16452 manipulate bits before adding and subtracting TWO52[sx].
16453 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16454 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16456 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16458 2012-03-13 David S. Miller <davem@davemloft.net>
16460 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16461 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16463 rtld-global-offsets.h
16464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16466 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16469 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16471 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16472 'err' in the ifdef scope in which it is actually used.
16474 * nss/nss_db/db-init.c: Include string.h
16476 2012-03-12 David S. Miller <davem@davemloft.net>
16478 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16479 masking out of the most significant byte of random value used.
16480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16481 Fix coding style in previous change.
16483 * sysdeps/unix/sysv/linux/kernel-features.h
16484 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16485 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16487 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16490 2012-03-11 David S. Miller <davem@davemloft.net>
16492 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16493 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16494 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16495 for 'resultvar' otherwise things get truncated on 64-bit.
16497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16498 Fix masking out of the most significant byte of random value used.
16500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16502 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16506 2012-03-09 David S. Miller <davem@davemloft.net>
16508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16509 variables with appropriate CPP guards.
16510 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16511 frame pointer, not the stack pointer. Correct layout comments. Fix test
16512 on resulting framesize and the management of the outregs buffer for pltexit.
16513 Preserve floating point return values across _dl_call_pltexit call.
16514 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16515 framesize and the management of the outregs buffer for pltexit.
16516 Preserve floating point return values across _dl_call_pltexit
16518 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16519 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16520 (print_exit): Fix format string for return register value.
16522 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16524 * sunrpc/Makefile (others): Add rpcgen.
16525 ($(objpfx)rpcgen): Remove special build rule and dependency on
16527 * sunrpc/rpcgen.c: New file.
16529 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16532 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16533 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16534 * sysdeps/i386/crti.S: Likewise.
16535 * sysdeps/i386/crtn.S: Likewise.
16536 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16537 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16538 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16539 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16540 * sysdeps/sh/crti.S: Likewise.
16541 * sysdeps/sh/crtn.S: Likewise.
16542 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16545 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16547 * locale/programs/locfile-kw.gperf: Likewise.
16548 * locale/programs/charmap-kw.h: Regenerated.
16549 * locale/programs/locfile-kw.h: Likewise.
16552 * intl/plural.y: Replace FSF snail mail address with URL.
16553 * intl/plural.c: Regenerated.
16555 2012-03-09 Richard Henderson <rth@twiddle.net>
16557 * include/math_private.h: Remove file.
16558 * math/math_private.h: Move file ...
16559 * sysdeps/generic/math_private.h: ... here.
16561 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16562 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16563 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16565 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16566 and <math_private.h>.
16567 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16568 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16569 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16570 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16571 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16655 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16658 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16660 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16661 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16663 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16664 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16665 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16667 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16668 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16669 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16671 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16672 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16673 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16677 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16681 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16682 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16683 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16685 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16686 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16687 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16710 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16711 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16712 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16713 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16714 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16715 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16716 * sysdeps/ieee754/k_standard.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16836 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16837 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16877 * sysdeps/ieee754/s_lib_version.c: Likewise.
16878 * sysdeps/ieee754/s_matherr.c: Likewise.
16879 * sysdeps/ieee754/s_signgam.c: Likewise.
16880 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16881 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16882 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16883 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16884 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16885 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16886 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16887 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16888 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16889 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16890 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16891 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16892 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16893 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16894 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16895 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16897 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16898 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16899 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16900 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16902 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16904 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16905 * sunrpc/rpc_main.c: Likewise.
16906 * sunrpc/rpc_svcout.c: Likewise.
16908 2012-03-09 David S. Miller <davem@davemloft.net>
16910 * include/math_private.h: New file.
16912 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16914 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16915 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16916 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16917 from <bits/socket_type.h>.
16918 (enum __socket_type): Don't define here.
16919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16921 bits/socket_type.h.
16924 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16925 checking __USE_GNU.
16927 * Makerules ($(inst_includedir)/%.h): New rule.
16928 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16929 (install-others): Remove variable setting.
16930 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16932 2012-03-08 Richard Henderson <rth@twiddle.net>
16934 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16935 from macro to inline function; merge with the
16936 !__LIBC_INTERNAL_MATH_INLINES version.
16937 (__ieee754_sqrtf): Likewise.
16939 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16940 to inline function.
16941 (__rintf, __floor, __floorf): Likewise.
16943 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16944 macro to inline function.
16945 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16947 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16948 not <math/math_private.h>.
16950 2012-03-08 David S. Miller <davem@davemloft.net>
16952 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16954 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16956 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16958 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16960 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16961 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16963 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16965 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16966 be defined individually, they must be defined as a block. Define
16967 S for printing a string instead of hidint the different by using a
16968 macro for adding the 'l'.
16969 * stdio-common/tst-fphex-wide.c: Adjust.
16971 2012-03-07 Marek Polacek <polacek@redhat.com>
16973 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16975 2012-03-08 Marek Polacek <polacek@redhat.com>
16978 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16979 * stdio-common/tst-fphex.c: Define a few macros to make the
16980 test reusable. Use them.
16981 * stdio-common/tst-fphex-wide.c: New file.
16983 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16986 * manual/macros.texi (gnusystems): New macro.
16987 (nongnusystems): Likewise.
16988 (gnulinuxhurdsystems): Likewise.
16989 (gnuhurdsystems): Likewise..
16990 (gnulinuxsystems): Likewise.
16991 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16992 variants of the GNU system, not "GNU system".
16993 * manual/conf.texi: Likewise.
16994 * manual/errno.texi: Likewise. Update example of errno macro
16996 * manual/filesys.texi: Likewise.
16997 (getumask): Document as specific to GNU/Hurd.
16998 * manual/install.texi: Likewise. Reword some references to
17000 * manual/intro.texi: Likewise.
17001 * manual/io.texi: Likewise.
17002 (File Name Portability): Detail which constraints are inapplicable
17003 to all GNU systems and which are only inapplicable to GNU/Hurd.
17004 * manual/job.texi: Likewise.
17005 * manual/llio.texi: Likewise.
17006 (O_NOCTTY): Document as present on GNU/Linux.
17007 * manual/maint.texi: Likewise.
17008 * manual/memory.texi: Likewise.
17009 * manual/pattern.texi: Likewise.
17010 * manual/pipe.texi: Likewise.
17011 * manual/process.texi: Likewise.
17012 * manual/resource.texi: Likewise.
17013 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17015 * manual/setjmp.texi: Likewise.
17016 * manual/signal.texi: Likewise.
17017 * manual/startup.texi: Likewise.
17018 * manual/stdio.texi: Likewise.
17019 * manual/terminal.texi: Likewise.
17020 (ONLCR): Document as POSIX.
17021 (OXTABS): Document availability on GNU/Linux as XTABS.
17022 (ONOEOT): Document availability separately from other bits.
17023 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17024 * manual/time.texi: Likewise.
17025 * manual/users.texi: Likewise.
17026 * INSTALL: Regenerated.
17027 * sysdeps/gnu/errlist.c: Regenerated.
17029 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17030 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17031 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17033 * configure: Regenerated.
17035 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17037 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17038 default includes instead of AC_HEADER_CHECK.
17039 * sysdeps/i386/configure: Regenerated.
17042 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17043 * math/s_cacoshf.c (__cacoshf): Likewise.
17044 * math/s_cacoshl.c (__cacoshl): Likewise.
17045 * math/s_casinh.c (__casinh): Set signs of result from argument.
17046 * math/s_casinhf.c (__casinhf): Likewise.
17047 * math/s_casinhl.c (__casinhl): Likewise.
17048 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17049 (casinh_test): Add more tests.
17050 * sysdeps/i386/fpu/libm-test-ulps: Update.
17051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17053 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17055 * po/zh_TW.po: Update from translation team.
17057 * login/Makefile (distribute): Remove variable.
17058 * catgets/Makefile: Likewise.
17059 * mach/Makefile: Likewise.
17060 * malloc/Makefile: Likewise.
17061 * misc/Makefile: Likewise.
17062 * iconv/Makefile: Likewise.
17063 * nscd/Makefile: Likewise.
17064 * hurd/Makefile: Likewise.
17065 * manual/Makefile: Likewise.
17066 * locale/Makefile: Likewise.
17067 * intl/Makefile: Likewise.
17068 * conform/Makefile: Likewise.
17069 * nss/Makefile: Likewise.
17070 * time/Makefile: Likewise.
17071 * soft-fp/Makefile: Likewise.
17072 * dirent/Makefile: Likewise.
17073 * gmon/Makefile: Likewise.
17074 * po/Makefile: Likewise.
17075 * rt/Makefile: Likewise.
17076 * socket/Makefile: Likewise.
17077 * math/Makefile: Likewise.
17078 * signal/Makefile: Likewise.
17079 * debug/Makefile: Likewise.
17080 * elf/Makefile: Likewise.
17081 * timezone/Makefile: Likewise.
17082 * stdlib/Makefile: Likewise.
17083 * iconvdata/Makefile: Likewise.
17084 * sunrpc/Makefile: Likewise.
17085 * io/Makefile: Likewise.
17086 * argp/Makefile: Likewise.
17087 * inet/Makefile: Likewise.
17088 * hesiod/Makefile: Likewise.
17089 * grp/Makefile: Likewise.
17090 * csu/Makefile: Likewise.
17091 * wctype/Makefile: Likewise.
17092 * crypt/Makefile: Likewise.
17093 * libio/Makefile: Likewise.
17094 * string/Makefile: Likewise.
17095 * nis/Makefile: Likewise.
17096 * resolv/Makefile: Likewise.
17097 * stdio-common/Makefile: Likewise.
17098 * wcsmbs/Makefile: Likewise.
17099 * dlfcn/Makefile: Likewise.
17100 * posix/Makefile: Likewise.
17103 * timezone/Makefile: Don't install timezone files, just the programs
17106 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17108 * nss/databases.def: Add missing gshadow entry.
17110 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17112 2012-03-06 Marek Polacek <polacek@redhat.com>
17115 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17116 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17117 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17118 * stdio-common/tst-long-dbl-fphex.c: New file.
17120 2012-03-06 David S. Miller <davem@davemloft.net>
17122 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17123 (set_obp_int): New function.
17124 (get_obp_int): New function.
17125 (__get_clockfreq_via_dev_openprom): Likewise.
17126 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17127 Avoid unused variable warnings on 'val' and use builtin_expect.
17128 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17130 (INLINE_CLONE_SYSCALL): Likewise.
17132 2012-03-05 David S. Miller <davem@davemloft.net>
17134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17136 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17141 only for |x| >= 40.
17142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17144 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17147 Replace gettimeofday with __vdso_gettimeofday.
17149 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17150 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17151 __vdso_clock_gettime and __vdso_getcpu.
17153 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17154 time with __vdso_time.
17156 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17158 * manual/lang.texi (size_t): Note types to which size_t may be
17159 equivalent with the GNU C Library, but do not describe when
17160 differences between them are significant.
17162 2012-03-05 Andreas Jaeger <aj@suse.de>
17164 * sysdeps/i386/fpu/libm-test-ulps: Update.
17166 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17169 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17170 (__ieee754_pow): Save and restore rounding mode and use
17171 round-to-nearest for main computations.
17172 * math/libm-test.inc (pow_test_tonearest): New function.
17173 (pow_test_towardzero): Likewise.
17174 (pow_test_downward): Likewise.
17175 (pow_test_upward): Likewise.
17176 (main): Call the new functions.
17177 * sysdeps/i386/fpu/libm-test-ulps: Update.
17178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17181 * math/libm-test.inc (cosh_test_tonearest): New function.
17182 (cosh_test_towardzero): Likewise.
17183 (cosh_test_downward): Likewise.
17184 (cosh_test_upward): Likewise.
17185 (sinh_test_tonearest): Likewise.
17186 (sinh_test_towardzero): Likewise.
17187 (sinh_test_downward): Likewise.
17188 (sinh_test_upward): Likewise.
17189 (main): Call the new functions.
17190 * sysdeps/i386/fpu/libm-test-ulps: Update.
17191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17193 2012-03-05 Tom de Vries <tom@codesourcery.com>
17195 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17196 default stack guard is set in last bytes.
17197 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17199 2012-03-05 Kees Cook <keescook@chromium.org>
17201 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17204 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17205 possibly allocate from heap instead of stack.
17206 * stdio-common/bug-vfprintf-nargs.c: New file.
17207 * stdio-common/Makefile (tests): Add nargs overflow test.
17209 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17213 2012-03-03 Marek Polacek <polacek@redhat.com>
17215 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17216 * math/math_private.h: Likewise.
17217 * stdlib/tst-strtod.c: Likewise.
17218 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17219 * sysdeps/x86_64/bits/atomic.h: Likewise.
17221 2012-03-02 David S. Miller <davem@davemloft.net>
17223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17227 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17228 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17229 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17230 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17232 2012-03-02 Roland McGrath <roland@hack.frob.com>
17235 * manual/examples/README: New file, says the example source files
17236 can be used under GPL>=2.
17237 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17238 line containing just "*/".
17239 * manual/examples/add.c: Add copyright header (GPL>=2).
17240 * manual/examples/argp-ex1.c: Likewise.
17241 * manual/examples/argp-ex2.c: Likewise.
17242 * manual/examples/argp-ex3.c: Likewise.
17243 * manual/examples/argp-ex4.c: Likewise.
17244 * manual/examples/atexit.c: Likewise.
17245 * manual/examples/db.c: Likewise.
17246 * manual/examples/dir.c: Likewise.
17247 * manual/examples/dir2.c: Likewise.
17248 * manual/examples/execinfo.c: Likewise.
17249 * manual/examples/filecli.c: Likewise.
17250 * manual/examples/filesrv.c: Likewise.
17251 * manual/examples/fmtmsgexpl.c: Likewise.
17252 * manual/examples/genpass.c: Likewise.
17253 * manual/examples/inetcli.c: Likewise.
17254 * manual/examples/inetsrv.c: Likewise.
17255 * manual/examples/isockad.c: Likewise.
17256 * manual/examples/longopt.c: Likewise.
17257 * manual/examples/memopen.c: Likewise.
17258 * manual/examples/memstrm.c: Likewise.
17259 * manual/examples/mkfsock.c: Likewise.
17260 * manual/examples/mkisock.c: Likewise.
17261 * manual/examples/mygetpass.c: Likewise.
17262 * manual/examples/pipe.c: Likewise.
17263 * manual/examples/popen.c: Likewise.
17264 * manual/examples/rprintf.c: Likewise.
17265 * manual/examples/search.c: Likewise.
17266 * manual/examples/select.c: Likewise.
17267 * manual/examples/setjmp.c: Likewise.
17268 * manual/examples/sigh1.c: Likewise.
17269 * manual/examples/sigusr.c: Likewise.
17270 * manual/examples/stpcpy.c: Likewise.
17271 * manual/examples/strdupa.c: Likewise.
17272 * manual/examples/strftim.c: Likewise.
17273 * manual/examples/strncat.c: Likewise.
17274 * manual/examples/subopt.c: Likewise.
17275 * manual/examples/swapcontext.c: Likewise.
17276 * manual/examples/termios.c: Likewise.
17277 * manual/examples/testopt.c: Likewise.
17278 * manual/examples/testpass.c: Likewise.
17279 * manual/examples/timeval_subtract.c: Likewise.
17282 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17284 * manual/timeval_subtract.c.texi: ... here, new file.
17286 2012-03-02 David S. Miller <davem@davemloft.net>
17288 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17290 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17293 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17294 (__sin): Save and restore rounding mode and use round-to-nearest
17295 for all computations.
17296 (__cos): Save and restore rounding mode and use round-to-nearest
17297 for all computations.
17298 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17300 (tan): Save and restore rounding mode and use round-to-nearest for
17302 * math/libm-test.inc (cos_test_tonearest): New function.
17303 (cos_test_towardzero): Likewise.
17304 (cos_test_downward): Likewise.
17305 (cos_test_upward): Likewise.
17306 (sin_test_tonearest): Likewise.
17307 (sin_test_towardzero): Likewise.
17308 (sin_test_downward): Likewise.
17309 (sin_test_upward): Likewise.
17310 (tan_test_tonearest): Likewise.
17311 (tan_test_towardzero): Likewise.
17312 (tan_test_downward): Likewise.
17313 (tan_test_upward): Likewise.
17314 (main): Call the new functions.
17315 * sysdeps/i386/fpu/libm-test-ulps: Update.
17316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17319 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17320 small n, then large n, before computing and testing k+n.
17321 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17326 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17327 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17328 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17329 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17331 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17333 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17334 * math/libm-test.inc (scalbn_test): Add more tests.
17335 (scalbln_test): Likewise.
17337 * manual/filesys.texi (mode_t): Describe constraints on size and
17338 signedness, not exact equivalence to a particular type.
17340 (ino64_t): Likewise.
17342 (nlink_t): Likewise.
17343 (blkcnt_t): Likewise.
17344 (blkcnt64_t): Likewise.
17345 * manual/llio.texi (off_t): Likewise.
17348 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17349 (__ieee754_exp): Save and restore rounding mode and use
17350 round-to-nearest for all computations.
17351 * math/libm-test.inc (exp_test_tonearest): New function.
17352 (exp_test_towardzero): Likewise.
17353 (exp_test_downward): Likewise.
17354 (exp_test_upward): Likewise.
17355 (main): Call the new functions.
17356 * sysdeps/i386/fpu/libm-test-ulps: Update.
17357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17359 2012-03-01 Chris Demetriou <cgd@google.com>
17361 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17362 have predictable order.
17364 2012-03-01 David S. Miller <davem@davemloft.net>
17366 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17368 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17369 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17370 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17371 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17373 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17374 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17375 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17377 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17378 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17379 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17380 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17381 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17385 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17386 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17387 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17389 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17390 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17391 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17392 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17393 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17394 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17396 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17397 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17398 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17399 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17402 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17403 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17405 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17406 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17407 * sysdeps/sparc/elf/configure: Regenerated.
17409 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17411 * configure.in (AS, LD): Require binutils 2.20 or later.
17412 * configure: Regenerated.
17413 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17414 as required minimum version.
17415 * INSTALL: Regenerated.
17419 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17420 before squaring exponent.
17421 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17422 bottom long double and 27 bits of top long double before squaring
17424 * math/libm-test.inc (erfc_test): Add more tests.
17425 * sysdeps/i386/fpu/libm-test-ulps: Update.
17426 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17429 2012-03-01 Kai Tietz <ktietz@redhat.com>
17431 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17432 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17433 containing bit-fields.
17434 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17435 * soft-fp/single.h (_FP_UNION_S): Likewise.
17436 * soft-fp/double.h (_FP_UNION_D): Likewise.
17438 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17441 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17442 not include ../strcmp.S.
17443 [USE_AS_STRNCASECMP_L]: Likewise.
17444 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17445 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17446 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17447 (__strncasecmp_l_ia32): Define as alias to
17448 __strncasecmp_l_nonascii.
17451 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17452 * sysdeps/i386/fpu/libm-test-ulps: Update.
17453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17455 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17458 2012-02-29 Jeff Law <law@redhat.com>
17460 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17461 out of bounds read.
17463 2012-02-29 Marek Polacek <polacek@redhat.com>
17466 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17467 * elf/Makefile: Add rules to run tst-unused-dep.out.
17469 2012-02-28 David S. Miller <davem@davemloft.net>
17471 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17472 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17473 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17474 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17475 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17476 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17478 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17480 * math/libm-test.inc (llround_test): Move one test from
17481 lround_test. Use TEST_f_L in moved test.
17482 (lround_test): Move misplaced test to llround_test. Add testcase
17485 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17487 * sysdeps/x86_64/fpu/e_expf.S: New file.
17488 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17490 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17493 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17494 of remain_len that may cause incomplete multi-byte character and
17496 * posix/bug-regex33.c: New file.
17497 * posix/Makefile (tests): Add bug-regex33.
17499 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17501 * manual/macros.texi: New file.
17502 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17503 * manual/libc.texinfo: Include macros.texi.
17504 * manual/creatute.texi: Likewise.
17505 * manual/install.texi: Likewise.
17506 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17507 @glibcadj{} in references to the GNU C Library.
17508 * manual/charset.texi: Likewise.
17509 * manual/conf.texi: Likewise.
17510 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17511 when not using those macros.
17512 * manual/creature.texi: Likewise.
17513 * manual/crypt.texi: Likewise.
17514 * manual/errno.texi: Likewise.
17515 * manual/filesys.texi: Likewise.
17516 * manual/header.texi: Likewise.
17517 * manual/install.texi: Likewise.
17518 * manual/intro.texi: Likewise.
17519 * manual/io.texi: Likewise.
17520 * manual/job.texi: Likewise.
17521 * manual/lang.texi: Likewise.
17522 * manual/libc.texiinfo: Likewise.
17523 * manual/llio.texi: Likewise.
17524 * manual/locale.texi: Likewise.
17525 * manual/maint.texi: Likewise.
17526 * manual/math.texi: Likewise.
17527 * manual/memory.texi: Likewise.
17528 * manual/message.texi: Likewise.
17529 * manual/nss.texi: Likewise.
17530 * manual/pattern.texi: Likewise.
17531 * manual/process.texi: Likewise.
17532 * manual/resource.texi: Likewise.
17533 * manual/search.texi: Likewise.
17534 * manual/setjmp.texi: Likewise.
17535 * manual/signal.texi: Likewise.
17536 * manual/socket.texi: Likewise.
17537 * manual/startup.texi: Likewise.
17538 * manual/stdio.texi: Likewise.
17539 * manual/string.texi: Likewise.
17540 * manual/sysinfo.texi: Likewise.
17541 * manual/syslog.texi: Likewise.
17542 * manual/terminal.texi: Likewise.
17543 * manual/time.texi: Likewise.
17544 * manual/users.texi: Likewise.
17545 * INSTALL: Regenerated.
17546 * NOTES: Regenerated.
17547 * sysdeps/gnu/errlist.c: Regenerated.
17549 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17551 * include/dirent.h: Include <dirstream.h> before
17554 2012-02-28 David S. Miller <davem@davemloft.net>
17556 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17557 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17558 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17559 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17561 2012-02-27 David S. Miller <davem@davemloft.net>
17563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17565 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17566 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17569 frame pointer instead of stack pointer relative arg slot.
17570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17574 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17577 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17579 2012-02-27 David S. Miller <davem@davemloft.net>
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17585 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17586 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17587 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17588 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17590 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17592 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17593 later. Allow versions 5-9.
17594 * configure: Regenerated.
17595 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17596 required minimum version and 4.6 as recommended version. Do not
17597 mention bugs in GCC 2.7 and 2.8.
17598 * INSTALL: Regenerated.
17600 2012-02-27 David S. Miller <davem@davemloft.net>
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17606 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17607 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17608 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17609 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17611 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17612 manipulate bits before adding and subtracting TWO112[sx].
17613 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17615 2012-02-27 Roland McGrath <roland@hack.frob.com>
17618 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17619 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17620 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17621 being in POSIX, because they are in 1003.1-2008.
17623 * rt/tst-aio.c: Include <fcntl.h>.
17624 * rt/tst-aio7.c: Likewise.
17625 * rt/tst-aio64.c: Likewise.
17627 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17629 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17631 * manual/install.texi (--with-headers): Describe headers as
17632 interface headers, not private headers.
17633 (Specific advice for GNU/Linux systems): Describe use of headers
17634 from "make headers_install", not private headers from older
17636 * INSTALL: Regenerated.
17637 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17639 * sysdeps/unix/sysv/linux/configure: Regenerated.
17641 * manual/llio.texi (fclean): Remove documentation.
17643 * manual/Makefile (libc-texi-generated): New variable. Include
17645 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17646 $(libc-texi-generated), not duplicated list of files.
17647 (version.texi, stamp-version): New rules.
17648 (realclean): Remove $(libc-texi-generated), not individual files
17649 from that list. Do not remove dir-add.texinfo.
17650 * manual/libc.texinfo: Comment out uses of edition numbers and
17651 references to printed manual. Remove last-updated dates.
17652 (EDITION): Comment out.
17654 (VERSION, UPDATED): Remove.
17655 (version.texi): Include.
17657 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17659 * sysdeps/posix/spawni.c: Include <signal.h>.
17660 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17661 * sysdeps/pthread/aio_fsync.c: Likewise.
17663 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17665 * conform/Makefile (tests): Run only when not cross-compiling and
17666 when fast-check is not defined.
17668 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17669 * conform/data/limits.h-data: Fixes for POSIX2008.
17670 * conform/run-conformtest.sh: Run all tests.
17671 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17673 * include/bits/dlfcn.h: Likewise.
17674 * include/langinfo.h: Likewise.
17675 * include/monetary.h: Likewise.
17676 * include/sys/poll.h: Likewise.
17678 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17680 * posix/spawn.h: Define __need_sigset_t.
17681 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17682 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17683 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17684 to get sigevent_t only.
17685 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17686 only for __USE_GNU.
17687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17688 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17689 process_vm_writev only for __USE_GNU.
17690 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17692 * conform/Makefile: For now ignore errors from run-conformtest.
17693 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17694 POSIX to avoid namespace pollution. Don't prepend headers.
17695 * conform/data/aio.h-data: Fixes for POSIX testing.
17696 * conform/data/fcntl.h-data: Likewise.
17697 * conform/data/glob.h-data: Likewise.
17698 * conform/data/grp.h-data: Likewise.
17699 * conform/data/pthread.h-data: Likewise.
17700 * conform/data/pwd.h-data: Likewise.
17701 * conform/data/signal.h-data: Likewise.
17702 * conform/data/spawn.h-data: Likewise.
17703 * conform/data/stdio.h-data: Likewise.
17704 * conform/data/stdlib.h-data: Likewise.
17705 * conform/data/stropts.h-data: Likewise.
17706 * conform/data/sys/mman.h-data: Likewise.
17707 * conform/data/sys/stat.h-data: Likewise.
17708 * conform/data/sys/types.h-data: Likewise.
17709 * conform/data/sys/wait.h-data: Likewise.
17710 * conform/data/time.h-data: Likewise.
17711 * conform/data/unistd.h-data: Likewise.
17712 * conform/data/utime.h-data: Likewise.
17714 * io/sys/stat.h: fchmod was always in POSIX.
17715 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17716 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17717 * rt/aio.h: Define __need_timespec before including <time.h>.
17718 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17719 struct. Add forward declaration of pthread_attr_t and use it in
17721 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17722 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17723 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17724 always remove CLK_TCK definition.
17726 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17728 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17730 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17732 * conform/run-conformtest.sh: New file.
17733 * conform/Makefile: Run run-conformtest for tests.
17734 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17737 * conform/data/uchar.h-data: New file.
17738 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17739 * conform/data/arpa/inet.h-data: Likewise.
17740 * conform/data/assert.h-data: Likewise.
17741 * conform/data/complex.h-data: Likewise.
17742 * conform/data/cpio.h-data: Likewise.
17743 * conform/data/ctype.h-data: Likewise.
17744 * conform/data/dirent.h-data: Likewise.
17745 * conform/data/dlfcn.h-data: Likewise.
17746 * conform/data/errno.h-data: Likewise.
17747 * conform/data/fcntl.h-data: Likewise.
17748 * conform/data/float.h-data: Likewise.
17749 * conform/data/fmtmsg.h-data: Likewise.
17750 * conform/data/fnmatch.h-data: Likewise.
17751 * conform/data/ftw.h-data: Likewise.
17752 * conform/data/glob.h-data: Likewise.
17753 * conform/data/grp.h-data: Likewise.
17754 * conform/data/iconv.h-data: Likewise.
17755 * conform/data/inttypes.h-data: Likewise.
17756 * conform/data/langinfo.h-data: Likewise.
17757 * conform/data/libgen.h-data: Likewise.
17758 * conform/data/limits.h-data: Likewise.
17759 * conform/data/locale.h-data: Likewise.
17760 * conform/data/math.h-data: Likewise.
17761 * conform/data/monetary.h-data: Likewise.
17762 * conform/data/mqueue.h-data: Likewise.
17763 * conform/data/ndbm.h-data: Likewise.
17764 * conform/data/net/if.h-data: Likewise.
17765 * conform/data/netdb.h-data: Likewise.
17766 * conform/data/netinet/in.h-data: Likewise.
17767 * conform/data/nl_types.h-data: Likewise.
17768 * conform/data/poll.h-data: Likewise.
17769 * conform/data/pthread.h-data: Likewise.
17770 * conform/data/pwd.h-data: Likewise.
17771 * conform/data/regex.h-data: Likewise.
17772 * conform/data/sched.h-data: Likewise.
17773 * conform/data/search.h-data: Likewise.
17774 * conform/data/semaphore.h-data: Likewise.
17775 * conform/data/setjmp.h-data: Likewise.
17776 * conform/data/signal.h-data: Likewise.
17777 * conform/data/spawn.h-data: Likewise.
17778 * conform/data/stdarg.h-data: Likewise.
17779 * conform/data/stdio.h-data: Likewise.
17780 * conform/data/stdlib.h-data: Likewise.
17781 * conform/data/string.h-data: Likewise.
17782 * conform/data/strings.h-data: Likewise.
17783 * conform/data/stropts.h-data: Likewise.
17784 * conform/data/sys/ipc.h-data: Likewise.
17785 * conform/data/sys/mman.h-data: Likewise.
17786 * conform/data/sys/msg.h-data: Likewise.
17787 * conform/data/sys/resource.h-data: Likewise.
17788 * conform/data/sys/select.h-data: Likewise.
17789 * conform/data/sys/sem.h-data: Likewise.
17790 * conform/data/sys/shm.h-data: Likewise.
17791 * conform/data/sys/socket.h-data: Likewise.
17792 * conform/data/sys/stat.h-data: Likewise.
17793 * conform/data/sys/statvfs.h-data: Likewise.
17794 * conform/data/sys/time.h-data: Likewise.
17795 * conform/data/sys/timeb.h-data: Likewise.
17796 * conform/data/sys/times.h-data: Likewise.
17797 * conform/data/sys/types.h-data: Likewise.
17798 * conform/data/sys/uio.h-data: Likewise.
17799 * conform/data/sys/un.h-data: Likewise.
17800 * conform/data/sys/utsname.h-data: Likewise.
17801 * conform/data/sys/wait.h-data: Likewise.
17802 * conform/data/syslog.h-data: Likewise.
17803 * conform/data/tar.h-data: Likewise.
17804 * conform/data/termios.h-data: Likewise.
17805 * conform/data/utime.h-data: Likewise.
17806 * conform/data/utmpx.h-data: Likewise.
17807 * conform/data/varargs.h-data: Likewise.
17808 * conform/data/wchar.h-data: Likewise.
17809 * conform/data/wctype.h-data: Likewise.
17810 * conform/data/wordexp.h-data: Likewise.
17812 * include/stropts.h: New file.
17813 * include/uchar.h: New file.
17814 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17815 * include/assert.h: Likewise.
17816 * include/ctype.h: Likewise.
17817 * include/dirent.h: Likewise.
17818 * include/dlfcn.h: Likewise.
17819 * include/fcntl.h: Likewise.
17820 * include/fnmatch.h: Likewise.
17821 * include/glob.h: Likewise.
17822 * include/grp.h: Likewise.
17823 * include/libio.h: Likewise.
17824 * include/locale.h: Likewise.
17825 * include/math.h: Likewise.
17826 * include/net/if.h: Likewise.
17827 * include/netdb.h: Likewise.
17828 * include/netinet/in.h: Likewise.
17829 * include/pthread.h: Likewise.
17830 * include/pwd.h: Likewise.
17831 * include/regex.h: Likewise.
17832 * include/sched.h: Likewise.
17833 * include/search.h: Likewise.
17834 * include/setjmp.h: Likewise.
17835 * include/signal.h: Likewise.
17836 * include/stdio.h: Likewise.
17837 * include/stdlib.h: Likewise.
17838 * include/string.h: Likewise.
17839 * include/sys/cdefs.h: Likewise.
17840 * include/sys/mman.h: Likewise.
17841 * include/sys/msg.h: Likewise.
17842 * include/sys/resource.h: Likewise.
17843 * include/sys/select.h: Likewise.
17844 * include/sys/socket.h: Likewise.
17845 * include/sys/stat.h: Likewise.
17846 * include/sys/statvfs.h: Likewise.
17847 * include/sys/time.h: Likewise.
17848 * include/sys/times.h: Likewise.
17849 * include/sys/uio.h: Likewise.
17850 * include/sys/utsname.h: Likewise.
17851 * include/sys/wait.h: Likewise.
17852 * include/termios.h: Likewise.
17853 * include/time.h: Likewise.
17854 * include/ulimit.h: Likewise.
17855 * include/unistd.h: Likewise.
17856 * include/utime.h: Likewise.
17857 * include/wchar.h: Likewise.
17858 * include/wctype.h: Likewise.
17859 * include/wordexp.h: Likewise.
17861 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17863 * time/time.h: TIME_UTC must be a macro.
17864 Make timespec_get available for ISO C11 only as well.
17866 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17868 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17869 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17871 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17873 * configure.in: Use -o not -a in test for unsupported multi-arch.
17875 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17877 * manual/texinfo.tex: Update to version 2012-01-19.16.
17879 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17881 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17883 2012-02-24 Roland McGrath <roland@hack.frob.com>
17886 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17887 * manual/fdl-1.3.texi: New file.
17888 * manual/fdl-1.1.texi: File removed.
17891 * manual/libc.texinfo (FDL_VERSION): New @set.
17892 Use it for mention of FDL in cover text.
17893 (Documentation License): Use it in @include file name.
17895 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17896 Roland McGrath <roland@hack.frob.com>
17899 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17900 not LONG_LONG_MAX and LONG_LONG_MIN.
17901 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17902 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17904 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17906 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17910 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17911 manipulate bits before adding and subtracting TWO23[sx].
17912 * math/libm-test.inc (nearbyint_test): Add more tests.
17914 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17917 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17918 bits before adding and subtracting TWO23[sx].
17919 * math/libm-test.inc (rint_test): Add more tests.
17920 (rint_test_tonearest): Likewise.
17921 (rint_test_towardzero): Likewise.
17922 (rint_test_downward): Likewise.
17923 (rint_test_upward: Likewise.
17925 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17928 * include/stdc-predef.h: New file. Extracted from features.h.
17929 * include/features.h: Include stdc-predef.h.
17930 * Makefile (headers): Add stdc-predef.h.
17931 * CONFORMANCE (Compiler limitations): Update.
17933 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17935 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17937 2012-02-21 David S. Miller <davem@davemloft.net>
17939 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17940 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17942 2012-02-20 David S. Miller <davem@davemloft.net>
17944 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17945 using a normal save/restore sequence, rather than allocating a
17946 dummy stack frame just to store a frame pointer and restore.
17947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17949 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17951 * manual/install.texi: Fix stray word in line-wrapped comment.
17953 2012-02-20 David S. Miller <davem@davemloft.net>
17955 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17956 both binutils and gcc support GOTDATA.
17958 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17959 "rd %pc" in the PIC register setup sequences.
17961 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17962 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17963 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17964 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17965 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17967 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17968 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17969 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17970 (SYSCALL_ERROR_HANDLER): Likewise.
17971 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17972 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17974 (SYSCALL_ERROR_HANDLER): Likewise.
17976 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17977 (HAVE_GCC_GOTDATA): New.
17978 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17979 relocation support in both binutils and gcc.
17980 * sysdeps/sparc/elf/configure: Regenerate.
17982 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17983 * sysdeps/sparc/sparc32/elf/configure: Delete.
17984 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17985 * sysdeps/sparc/sparc64/elf/configure: Delete.
17986 * sysdeps/sparc/elf/configure.in: New file.
17987 * sysdeps/sparc/elf/configure: Generate.
17989 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17990 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17991 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17992 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17993 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17995 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17997 * manual/install.texi: Do not mention specific glibc version
17999 * manual/libc.texinfo (VERSION, UPDATED): Update.
18000 (@copying): Use @copyright{} and range of years.
18002 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18005 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18006 [crti.S not in sysdirs] (generated): Do not append.
18007 [crti.S not in sysdirs] (omit-deps): Likewise.
18008 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18009 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18010 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18011 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18012 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18014 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18015 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18016 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18017 * csu/defs.awk: Remove file.
18018 * sysdeps/generic/initfini.c: Likewise.
18019 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18021 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18024 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18026 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18027 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18028 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18030 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18031 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18033 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18034 (__EPOLL_PACKED): Define to empty if not defined by
18036 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18040 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18042 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18043 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18044 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18045 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18047 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18051 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18053 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18055 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18056 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18060 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18062 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18063 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18065 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18067 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18068 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18070 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18072 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18075 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18077 * math/w_acos.c: Use non-signaling floating-point comparisons.
18078 * math/w_acosf.c: Likewise.
18079 * math/w_acosh.c: Likewise.
18080 * math/w_acoshf.c: Likewise.
18081 * math/w_acoshl.c: Likewise.
18082 * math/w_acosl.c: Likewise.
18083 * math/w_asin.c: Likewise.
18084 * math/w_asinf.c: Likewise.
18085 * math/w_asinl.c: Likewise.
18086 * math/w_atanh.c: Likewise.
18087 * math/w_atanhf.c: Likewise.
18088 * math/w_atanhl.c: Likewise.
18089 * math/w_exp2.c: Likewise.
18090 * math/w_exp2f.c: Likewise.
18091 * math/w_exp2l.c: Likewise.
18092 * math/w_j0.c: Likewise.
18093 * math/w_j0f.c: Likewise.
18094 * math/w_j0l.c: Likewise.
18095 * math/w_j1.c: Likewise.
18096 * math/w_j1f.c: Likewise.
18097 * math/w_j1l.c: Likewise.
18098 * math/w_jn.c: Likewise.
18099 * math/w_jnf.c: Likewise.
18100 * math/w_log.c: Likewise.
18101 * math/w_log10.c: Likewise.
18102 * math/w_log10f.c: Likewise.
18103 * math/w_log10l.c: Likewise.
18104 * math/w_log2.c: Likewise.
18105 * math/w_log2f.c: Likewise.
18106 * math/w_log2l.c: Likewise.
18107 * math/w_logf.c: Likewise.
18108 * math/w_logl.c: Likewise.
18109 * math/w_sqrt.c: Likewise.
18110 * math/w_sqrtf.c: Likewise.
18111 * math/w_sqrtl.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18114 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18116 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18118 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18121 * manual/string.texi (strnlen): Use correct parameter name in
18122 equivalent expression.
18124 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18127 * manual/users.texi (seteuid): Consistently use neweuid for
18130 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18133 * manual/nss.texi (Services in the NSS configuration): Correct
18134 list of services in example configuration file.
18136 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18139 * manual/arith.texi: Remove statements about negative zero
18140 behaving identically to zero.
18142 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18145 * manual/install.texi: Do not document upgrading from libc5.
18147 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18150 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18152 2012-02-18 David S. Miller <davem@davemloft.net>
18154 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18155 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18156 %o7 across the call.
18157 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18160 SETUP_PIC_REG_LEAF.
18161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18162 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18163 * sysdeps/sparc/crtn.S: Likewise.
18165 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18167 * aout/Makefile: Remove.
18169 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18172 * manual/examples/argp-ex1.c (main): Format definition in GNU
18174 * manual/examples/argp-ex2.c (main): Likewise.
18175 * manual/examples/argp-ex3.c (main): Likewise.
18176 * manual/examples/argp-ex4.c (main): Likewise.
18177 * manual/examples/longopt.c (main): Use new-style prototype
18179 * manual/examples/strncat.c (main): Specify return type and use
18180 (void) for arguments.
18181 * manual/examples/subopt.c (main): Use char **argv argument.
18183 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18186 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18189 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18192 * manual/string.texi (strchr): Change when strchrnul is
18195 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18198 * manual/locale.texi (setlocale): Document LOCPATH.
18200 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18203 * manual/process.texi (execle): Move @dots{} before last argument.
18205 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18208 * manual/charset.texi (Generic Charset Conversion): Fix typo
18209 (LC_TYPE -> LC_CTYPE).
18211 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18214 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18215 (scalbnf): Likewise.
18216 (scalbnl): Likewise.
18217 (scalbln): Likewise.
18218 (scalblnf): Likewise.
18219 (scalblnl): Likewise.
18220 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18221 (vwarnx): Likewise.
18224 * manual/filesys.texi (telldir): Use braces around return type.
18225 * manual/llio.texi (mmap): Add space after comma.
18226 (mmap64): Likewise.
18227 * manual/math.texi (jn): Use @var{} on parameter names.
18233 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18235 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18237 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18238 (sched_get_priority_max): Likewise.
18239 * manual/signal.texi (sigvec): Add space after comma.
18240 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18242 (if_indextoname): Likewise.
18243 (if_freenameindex): Likewise.
18244 (sendto): Use ',' instead of '.' in prototype.
18245 * manual/startup.texi (syscall): Use @dots{} instead of literal
18247 * manual/stdio.texi (__fpending): Separate initial words of
18248 paragraph from @deftypefun line.
18249 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18251 (vsyslog): Use @var{} on parameter names.
18252 * manual/terminal.texi (stty): Use @var{} on parameter names.
18253 * manual/users.texi (getutmp): Use @var{} on parameter names.
18254 (getutmpx): Likewise.
18256 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18259 * manual/stdio.texi (fopen): Fix typos in description of
18262 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18265 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18266 get clock_id definition.
18268 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18271 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18272 (madvise): Cast every argument to void on its own.
18274 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18277 * manual/startup.texi (Exit Status): Fix typo.
18279 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18282 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18283 * manual/examples/argp-ex2.c: Likewise.
18284 * manual/examples/argp-ex3.c: Likewise.
18286 2012-02-16 Richard Henderson <rth@redhat.com>
18288 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18289 * sysdeps/s390/s390-32/initfini.c: Remove.
18290 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18291 * sysdeps/s390/s390-64/initfini.c: Remove.
18293 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18295 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18296 compiler output for sysdeps/generic/initfini.c.
18297 * sysdeps/sh/elf/initfini.c: Remove file.
18299 2012-02-16 David S. Miller <davem@davemloft.net>
18302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18304 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18305 * sysdeps/sparc/crti.S: New file.
18306 * sysdeps/sparc/crtn.S: New file.
18307 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18308 * sysdeps/sparc/sparc64/Makefile: Likewise.
18310 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18313 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18315 2012-02-15 Roland McGrath <roland@hack.frob.com>
18318 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18320 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18321 (write, read, close): Likewise.
18322 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18324 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18326 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18327 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18328 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18329 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18331 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18335 2012-02-14 Marek Polacek <polacek@redhat.com>
18337 * sysdeps/x86_64/crti.S: New file.
18338 * sysdeps/x86_64/crtn.S: New file.
18339 * sysdeps/x86_64/elf/initfini.c: Remove file.
18341 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18343 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18344 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18345 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18346 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18348 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18352 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18354 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18355 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18356 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18357 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18359 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18363 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18365 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18366 __feraiseexcept instead of feraiseexcept.
18368 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18369 nanosleep invocations.
18370 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18371 strings, and add error checking for a nanosleep invocations.
18373 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18375 Replace FSF snail mail address with URLs, as per GNU coding standards.
18376 Most of the snail mail addresses were wrong anyway, and omitting
18377 them makes the source code easier to maintain. Almost all of the
18378 changes are to license notices and to locale LC_IDENTIFICATION
18379 addresses, except for this one:
18380 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18381 not its snail mail address.
18383 2012-02-09 Richard Henderson <rth@twiddle.net>
18385 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18386 of kernel-features.h.
18388 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18390 2012-02-08 Marek Polacek <polacek@redhat.com>
18392 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18393 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18394 * sysdeps/gnu/_G_config.h: Likewise.
18395 * sysdeps/generic/_G_config.h: Likewise.
18397 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18399 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18403 * sysdeps/powerpc/powerpc32/crti.S: New file.
18404 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18405 * sysdeps/powerpc/powerpc64/crti.S: New file.
18406 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18408 * Makeconfig (have-initfini): Don't set.
18409 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18410 * configure.in (nopic_initfini): Don't substitute.
18411 * config.h.in (HAVE_INITFINI): Don't #undef.
18412 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18413 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18415 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18417 Support crti.S and crtn.S provided directly by architectures.
18418 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18419 [crti.S in sysdirs] (omit-deps): Likewise.
18420 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18421 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18422 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18423 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18424 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18425 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18426 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18427 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18428 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18429 compiler output for sysdeps/generic/initfini.c.
18430 * sysdeps/i386/elf/Makefile: Remove file.
18431 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18433 2012-02-07 Marek Polacek <polacek@redhat.com>
18435 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18436 * sysdeps/gnu/_G_config.h: Likewise.
18437 * sysdeps/mach/hurd/_G_config.h: Likewise.
18439 2012-02-07 Marek Polacek <polacek@redhat.com>
18441 * math/Makefile (tests): Add tst-CMPLX2.
18442 * math/tst-CMPLX2.c: New file.
18444 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18446 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18448 * math/libm-test.inc (jn_test): Add missing L suffix.
18450 2012-02-06 Marek Polacek <polacek@redhat.com>
18452 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18453 * sysdeps/i386/fpu/e_powf.S: Likewise.
18454 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18455 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18456 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18457 * sysdeps/i386/fpu/e_pow.S: Likewise.
18458 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18459 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18460 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18461 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18462 * sysdeps/i386/fpu/e_log2.S: Likewise.
18463 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18464 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18465 * sysdeps/i386/fpu/e_powl.S: Likewise.
18466 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18467 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18468 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18469 * sysdeps/i386/fpu/e_logl.S: Likewise.
18470 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18471 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18472 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18473 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18474 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18475 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18476 * sysdeps/i386/fpu/e_log.S: Likewise.
18477 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18478 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18479 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18480 * sysdeps/i386/fpu/e_logf.S: Likewise.
18481 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18482 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18483 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18484 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18485 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18486 * sysdeps/i386/fpu/e_log10.S: Likewise.
18487 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18488 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18489 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18490 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18491 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18492 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18493 * sysdeps/i386/asm-syntax.h: Likewise.
18494 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18495 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18496 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18497 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18498 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18499 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18500 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18501 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18502 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18503 * sysdeps/powerpc/sysdep.h: Likewise.
18504 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18505 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18507 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18510 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18512 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18514 * sysdeps/i386/sysdep.h: Include <features.h>.
18515 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18518 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18520 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18522 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18525 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18527 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18528 (SETUP_PIC_REG): Use GET_PC_THUNK.
18529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18532 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18534 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18535 for non-PIC compilation.
18536 (SETUP_PIC_REG): Add .p2align directive.
18537 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18538 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18579 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18581 * math/tst-CMPLX.c: Include <stdio.h>.
18583 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18585 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18587 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18588 * sysdeps/sparc/bits/mathdef.h: Likewise.
18590 2012-01-31 Marek Polacek <polacek@redhat.com>
18592 * libio/libio.h: Don't define _PARAMS.
18593 * locale/programs/config.h: Don't define PARAMS.
18594 * stdlib/strtol_l.c: Likewise.
18595 (__strtol_l): Remove PARAMS from the prototype.
18597 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18599 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18600 names. Just use the correct names. Remove unnecessary wrapper
18602 * malloc/arena.c: Likewise.
18603 * malloc/hooks.c: Likewise.
18605 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18606 ARENA_TEST says not to. Simplify test for creation of a new arena.
18607 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18609 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18611 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18613 (update_get_addr): New function.
18614 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18615 GET_ADDR_MODULE parameter.
18617 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18619 * crypt/cert.c: Remove __STDC__ conditionals.
18620 * crypt/crypt-entry.c: Likewise.
18621 * crypt/crypt_util.c: Likewise.
18622 * libio/filedoalloc.c: Likewise.
18623 * libio/fileops.c: Likewise.
18624 * libio/genops.c: Likewise.
18625 * libio/iofclose.c: Likewise.
18626 * libio/iofdopen.c: Likewise.
18627 * libio/iofopen.c: Likewise.
18628 * libio/iofopen64.c: Likewise.
18629 * libio/iogetdelim.c: Likewise.
18630 * libio/iopopen.c: Likewise.
18631 * libio/obprintf.c: Likewise.
18632 * libio/oldfileops.c: Likewise.
18633 * libio/oldiofclose.c: Likewise.
18634 * libio/oldiofdopen.c: Likewise.
18635 * libio/oldiofopen.c: Likewise.
18636 * libio/oldiopopen.c: Likewise.
18637 * libio/wfiledoalloc.c: Likewise.
18638 * libio/wgenops.c: Likewise.
18639 * locale/programs/xmalloc.c: Likewise.
18640 * misc/syslog.c: Likewise.
18641 * stdio-common/xbug.c: Likewise.
18642 * string/memchr.c: Likewise.
18643 * string/memcmp.c: Likewise.
18644 * string/memrchr.c: Likewise.
18645 * string/rawmemchr.c: Likewise.
18646 * sysdeps/posix/getcwd.c: Likewise.
18647 * time/strftime_l.c: Likewise.
18649 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18651 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18652 * config.make.in (config-cflags-sse2avx): Define.
18653 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18656 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18658 * scripts/config.guess: Update from upstream config git repository.
18659 * scripts/config.sub: Likewise.
18661 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18663 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18665 (R_TILEPRO_*, R_TILEGX_*): New macros.
18667 * scripts/firstversions.awk: Fix bug in version range handling.
18669 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18671 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18673 * include/sys/epoll.h: New file.
18674 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18677 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18679 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18680 Avoid unnecessary __WORDSIZE == 64 test.
18681 (fmaxf): Use VEX format if possible.
18686 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18687 * math/math_private.h: Remove libc_fegetround* and
18689 * sysdeps/i386/configure.in: Check for -msse2avx.
18690 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18691 also if SSE2AVX is defined.
18692 Remove libc_fegetround* and libc_fesetround*.
18693 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18694 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18695 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18697 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18698 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18699 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18700 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18701 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18703 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18705 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18707 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18709 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18711 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18714 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18716 * Makeconfig (libm): Define.
18717 * elf/Makefile: Add rules to build and run tst-relsort1.
18718 * elf/tst-relsort1.c: New file.
18719 * elf/tst-relsort1mod1.c: New file.
18720 * elf/tst-relsort1mod2.c: New file.
18722 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18724 * math/s_ldexp.c: Remove __STDC__ conditionals.
18725 * math/s_ldexpf.c: Likewise.
18726 * math/s_ldexpl.c: Likewise.
18727 * math/s_nextafter.c: Likewise.
18728 * math/s_nexttowardf.c: Likewise.
18729 * math/s_significand.c: Likewise.
18730 * math/s_significandf.c: Likewise.
18731 * math/s_significandl.c: Likewise.
18732 * math/w_jnl.c: Likewise.
18733 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18734 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18735 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18736 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18737 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18752 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18753 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18754 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18755 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18757 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18758 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18759 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18760 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18761 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18762 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18763 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18764 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18765 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18766 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18767 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18768 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18769 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18770 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18771 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18772 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18773 * sysdeps/ieee754/k_standard.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18835 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18840 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18848 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18853 * sysdeps/ieee754/s_matherr.c: Likewise.
18854 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18855 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18856 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18857 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18859 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18861 * crypt/md5.h: Remove __STDC__ conditionals.
18862 * libio/libioP.h: Likewise.
18863 * locale/programs/config.h: Likewise.
18864 * sysdeps/generic/sysdep.h: Likewise.
18865 * sysdeps/i386/asm-syntax.h: Likewise.
18866 * sysdeps/s390/asm-syntax.h: Likewise.
18867 * sysdeps/unix/sysdep.h: Likewise.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18871 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18873 * libio/libio.h: Remove __STDC__ conditionals.
18874 * malloc/obstack.h: Likewise.
18875 * math/complex.h: Likewise.
18876 * math/math.h: Likewise.
18877 * sysdeps/generic/_G_config.h: Likewise.
18878 * sysdeps/gnu/_G_config.h: Likewise.
18879 * sysdeps/mach/hurd/_G_config.h: Likewise.
18880 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18881 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18882 * sysdeps/sparc/bits/mathdef.h: Likewise.
18884 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18887 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18888 Clean up HAS_* macros.
18889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18890 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18892 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18894 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18895 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18896 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18897 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18898 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18900 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18902 * elf/tst-unique3.cc (gets): Remove declaration.
18903 * elf/tst-unique3lib.cc (gets): Likewise.
18904 * elf/tst-unique3lib2.cc (gets): Likewise.
18905 * elf/tst-unique4.cc (gets): Likewise.
18907 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18909 * include/stdio.h: Add C++ protection. Add gets declarations and
18911 * debug/tst-chk1.c: Don't declare gets here.
18912 * stdio-common/tst-gets.c: Likewise.
18914 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18916 * posix/glob: Remove directory.
18918 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18920 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18922 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18924 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18925 of the non-standard EPFNOSUPPORT.
18927 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18929 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18930 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18931 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18933 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18935 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18937 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18939 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18941 * nscd/grpcache.c (cache_addgr): Likewise.
18942 * nscd/hstcache.c (cache_addhst): Likewise.
18943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18944 * nscd/pwdcache.c (cache_addpw): Likewise.
18945 * nscd/servicescache.c (cache_addserv): Likewise.
18947 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18949 * malloc/malloc.c: Various cleanups.
18950 * malloc/hooks.c: Likewise.
18952 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18953 * stdlib/bug-fmtmsg1.c: New file.
18955 * stdlib/fmtmsg.c (init): Add missing unlock.
18956 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18958 2012-01-12 Marek Polacek <polacek@redhat.com>
18960 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18963 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18965 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18966 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18967 macro to ensure uniqueness of label name.
18968 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18969 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18971 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18973 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18975 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18976 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18977 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18980 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18982 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18984 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18985 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18986 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18988 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18990 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18991 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18992 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18995 * math/bits/math-finite.h: Add ldexp support.
18997 2012-01-10 Marek Polacek <polacek@redhat.com>
18999 * locale/programs/localedef.h (show_archive_content): Add noreturn
19002 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19004 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19006 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19008 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19010 * io/Makefile (headers): Add bits/poll2.h.
19012 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19015 typo #include statement.
19017 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19019 * include/sys/cdefs.h: Define __attribute_alloc_size.
19020 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19021 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19022 * elf/pldd.c: Likewise.
19023 * iconv/iconv_charmap.c: Likewise.
19024 * iconv/iconvconfig.c: Likewise.
19025 * iconv/strtab.c: Likewise.
19026 * locale/programs/locale.c: Likewise.
19027 * locale/programs/localedef.h: Likewise.
19028 * locale/programs/simple-hash.c: Likewise.
19029 * nscd/nscd.h: Likewise.
19030 * nss/makedb.c: Likewise.
19031 * sysdeps/generic/ldconfig.h: Likewise.
19032 * locale/programs/localedef.c: Remove xmalloc prototype.
19033 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19035 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19037 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19040 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19042 * math/Makefile (tests): Add tst-CMPLX.
19043 * math/tst-CMPLX.c: New file.
19045 * math/complex.h (CMPLXL): Fix typo.
19047 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19048 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19050 * debug/tst-chk1.c: Add poll and ppoll tests.
19051 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19052 * include/sys/poll.h: Add hidden proto for ppoll.
19053 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19054 * sysdeps/mach/hurd/ppoll.c: Likewise.
19055 * io/ppoll.c: Likewise.
19056 * debug/poll_chk.c: New file.
19057 * debug/ppoll_chk.c: New file.
19058 * include/bits/poll2.h: New file.
19059 * io/bits/poll2.h: New file.
19062 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19064 * configure.in: static is always set to yes. Remove.
19065 * config.make.in: Don't set build-static.
19066 * Makeconfig: Remove use of build-static.
19067 * dlfcn/Makefile: Likewise.
19068 * elf/Makefile: Likewise.
19069 * math/Makefile: Likewise.
19070 * misc/Makefile: Likewise.
19071 * nptl/Makefile: Likewise.
19072 * sysdeps/mach/hurd/Makefile: Likewise.
19074 * configure.in: PWD_P is not used anymore.
19075 * config.make.in: Remove PWD_P entry.
19077 * configure.in: Remove last remnants of RANLIB.
19078 No need to check for signed size_t anymore.
19079 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19081 Remove __builtin_expect test because we require at least gcc 3.4.
19082 * aclocal.m4: Likewise.
19084 * wcsmbs/mbrtoc16.c: Implement using towc function.
19085 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19086 * wcsmbs/wcsmbsload.c: Likewise.
19087 * iconv/gconv_simple.c: Likewise.
19088 * iconv/gconv_int.h: Likewise.
19089 * iconv/gconv_builtin.h: Likewise.
19090 * iconv/iconv_prog.c: Remove CHAR16 handling.
19092 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19094 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19096 * configure.in: Remove --with-elf and --enable-bounded options.
19097 Dont set base_machine for ia64. More non-ELF conditions removed.
19098 Remove testing and setting of leading underscore information.
19099 * config.make.in (build-bounded): Set to no.
19100 * config.h.in: Remove NO_UNDERSCORES entry.
19101 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19103 * csu/start.c: Remove !NO_UNDERSCORE code.
19104 * locale/localeinfo.h: Likewise.
19105 * sysdeps/generic/machine-gmon.h: Likewise.
19106 * sysdeps/generic/sysdep.h: Likewise.
19107 * sysdeps/i386/sysdep.h: Likewise.
19108 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19109 * sysdeps/mach/sysdep.h: Likewise.
19110 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19111 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19112 * sysdeps/sh/sysdep.h: Likewise.
19113 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19114 * sysdeps/unix/i386/sysdep.S: Likewise.
19115 * sysdeps/unix/sparc/start.c: Likewise.
19116 * sysdeps/unix/sparc/sysdep.S: Likewise.
19117 * sysdeps/unix/sparc/sysdep.h: Likewise.
19118 * sysdeps/unix/start.c: Likewise.
19119 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19120 * sysdeps/x86_64/sysdep.h: Likewise.
19122 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19125 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19127 * argp/argp-fmtstream.h: Use const instead __const.
19128 * argp/argp.h: Likewise.
19129 * assert/assert.h: Likewise.
19130 * bits/fenv.h: Likewise.
19131 * bits/sched.h: Likewise.
19132 * bits/sigset.h: Likewise.
19133 * bits/sigthread.h: Likewise.
19134 * catgets/nl_types.h: Likewise.
19135 * conform/data/pthread.h-data: Likewise.
19136 * crypt/crypt-private.h: Likewise.
19137 * crypt/crypt.h: Likewise.
19138 * crypt/crypt_util.c: Likewise.
19139 * ctype/ctype.h: Likewise.
19140 * debug/execinfo.h: Likewise.
19141 * debug/mbsnrtowcs_chk.c: Likewise.
19142 * debug/mbsrtowcs_chk.c: Likewise.
19143 * debug/wcsnrtombs_chk.c: Likewise.
19144 * debug/wcsrtombs_chk.c: Likewise.
19145 * debug/wcstombs_chk.c: Likewise.
19146 * dirent/dirent.h: Likewise.
19147 * dlfcn/dlfcn.h: Likewise.
19148 * elf/neededtest4.c: Likewise.
19149 * grp/grp.h: Likewise.
19150 * gshadow/gshadow.h: Likewise.
19151 * iconv/gconv.h: Likewise.
19152 * iconv/gconv_int.h: Likewise.
19153 * iconv/gconv_simple.c: Likewise.
19154 * iconv/iconv.h: Likewise.
19155 * iconv/loop.c: Likewise.
19156 * iconv/skeleton.c: Likewise.
19157 * include/aio.h: Likewise.
19158 * include/aliases.h: Likewise.
19159 * include/argz.h: Likewise.
19160 * include/arpa/inet.h: Likewise.
19161 * include/assert.h: Likewise.
19162 * include/dirent.h: Likewise.
19163 * include/dlfcn.h: Likewise.
19164 * include/execinfo.h: Likewise.
19165 * include/fcntl.h: Likewise.
19166 * include/fenv.h: Likewise.
19167 * include/glob.h: Likewise.
19168 * include/grp.h: Likewise.
19169 * include/libintl.h: Likewise.
19170 * include/mntent.h: Likewise.
19171 * include/netdb.h: Likewise.
19172 * include/pwd.h: Likewise.
19173 * include/rpc/netdb.h: Likewise.
19174 * include/sched.h: Likewise.
19175 * include/search.h: Likewise.
19176 * include/shadow.h: Likewise.
19177 * include/signal.h: Likewise.
19178 * include/stdio.h: Likewise.
19179 * include/stdlib.h: Likewise.
19180 * include/string.h: Likewise.
19181 * include/sys/socket.h: Likewise.
19182 * include/sys/stat.h: Likewise.
19183 * include/sys/statfs.h: Likewise.
19184 * include/sys/statvfs.h: Likewise.
19185 * include/sys/syslog.h: Likewise.
19186 * include/sys/time.h: Likewise.
19187 * include/sys/uio.h: Likewise.
19188 * include/time.h: Likewise.
19189 * include/unistd.h: Likewise.
19190 * include/utmp.h: Likewise.
19191 * include/wchar.h: Likewise.
19192 * include/wctype.h: Likewise.
19193 * inet/aliases.h: Likewise.
19194 * inet/arpa/inet.h: Likewise.
19195 * inet/netinet/ether.h: Likewise.
19196 * inet/netinet/in.h: Likewise.
19197 * intl/libintl.h: Likewise.
19198 * io/bits/fcntl2.h: Likewise.
19199 * io/fcntl.h: Likewise.
19200 * io/ftw.h: Likewise.
19201 * io/sys/poll.h: Likewise.
19202 * io/sys/stat.h: Likewise.
19203 * io/sys/statfs.h: Likewise.
19204 * io/sys/statvfs.h: Likewise.
19205 * io/utime.h: Likewise.
19206 * libio/bits/stdio.h: Likewise.
19207 * libio/bits/stdio2.h: Likewise.
19208 * libio/libio.h: Likewise.
19209 * libio/libioP.h: Likewise.
19210 * libio/stdio.h: Likewise.
19211 * locale/lc-ctype.c: Likewise.
19212 * locale/locale.h: Likewise.
19213 * login/utmp.h: Likewise.
19214 * malloc/arena.c: Likewise.
19215 * malloc/malloc.c: Likewise.
19216 * malloc/malloc.h: Likewise.
19217 * malloc/mcheck.c: Likewise.
19218 * malloc/mtrace.c: Likewise.
19219 * math/bits/mathcalls.h: Likewise.
19220 * math/fenv.h: Likewise.
19221 * math/math_private.h: Likewise.
19222 * misc/bits/error.h: Likewise.
19223 * misc/bits/syslog.h: Likewise.
19224 * misc/err.h: Likewise.
19225 * misc/error.h: Likewise.
19226 * misc/fstab.h: Likewise.
19227 * misc/mntent.h: Likewise.
19228 * misc/regexp.h: Likewise.
19229 * misc/search.h: Likewise.
19230 * misc/sgtty.h: Likewise.
19231 * misc/sys/mman.h: Likewise.
19232 * misc/sys/syslog.h: Likewise.
19233 * misc/sys/uio.h: Likewise.
19234 * misc/sys/xattr.h: Likewise.
19235 * misc/ttyent.h: Likewise.
19236 * nis/rpcsvc/ypclnt.h: Likewise.
19237 * nss/nss.h: Likewise.
19238 * posix/bits/unistd.h: Likewise.
19239 * posix/fnmatch.h: Likewise.
19240 * posix/glob.h: Likewise.
19241 * posix/sched.h: Likewise.
19242 * posix/spawn.h: Likewise.
19243 * posix/sys/wait.h: Likewise.
19244 * posix/unistd.h: Likewise.
19245 * posix/wordexp.h: Likewise.
19246 * pwd/pwd.h: Likewise.
19247 * resolv/netdb.h: Likewise.
19248 * resource/sys/resource.h: Likewise.
19249 * rt/aio.h: Likewise.
19250 * rt/bits/mqueue2.h: Likewise.
19251 * rt/mqueue.h: Likewise.
19252 * shadow/shadow.h: Likewise.
19253 * signal/signal.h: Likewise.
19254 * socket/send.c: Likewise.
19255 * socket/sendto.c: Likewise.
19256 * socket/sys/socket.h: Likewise.
19257 * stdio-common/printf.h: Likewise.
19258 * stdlib/bits/stdlib.h: Likewise.
19259 * stdlib/fmtmsg.h: Likewise.
19260 * stdlib/monetary.h: Likewise.
19261 * stdlib/stdlib.h: Likewise.
19262 * stdlib/ucontext.h: Likewise.
19263 * streams/stropts.h: Likewise.
19264 * string/argz.h: Likewise.
19265 * string/bits/string2.h: Likewise.
19266 * string/string.h: Likewise.
19267 * string/strings.h: Likewise.
19268 * sunrpc/rpc/auth.h: Likewise.
19269 * sunrpc/rpc/auth_des.h: Likewise.
19270 * sunrpc/rpc/clnt.h: Likewise.
19271 * sunrpc/rpc/netdb.h: Likewise.
19272 * sunrpc/rpc/pmap_clnt.h: Likewise.
19273 * sunrpc/rpc/xdr.h: Likewise.
19274 * sysdeps/generic/inttypes.h: Likewise.
19275 * sysdeps/generic/net/if.h: Likewise.
19276 * sysdeps/generic/sys/swap.h: Likewise.
19277 * sysdeps/gnu/net/if.h: Likewise.
19278 * sysdeps/gnu/utmpx.h: Likewise.
19279 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19280 * sysdeps/i386/i486/bits/string.h: Likewise.
19281 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19282 * sysdeps/s390/bits/string.h: Likewise.
19283 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19284 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19285 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19286 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19287 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19288 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19289 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19290 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19291 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19292 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19293 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19294 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19295 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19296 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19297 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19298 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19299 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19300 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19301 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19302 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19303 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19305 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19306 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19307 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19308 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19309 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19311 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19312 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19313 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19314 * sysvipc/sys/ipc.h: Likewise.
19315 * sysvipc/sys/msg.h: Likewise.
19316 * sysvipc/sys/sem.h: Likewise.
19317 * sysvipc/sys/shm.h: Likewise.
19318 * termios/termios.h: Likewise.
19319 * time/sys/time.h: Likewise.
19320 * time/time.h: Likewise.
19321 * wcsmbs/bits/wchar2.h: Likewise.
19322 * wcsmbs/uchar.h: Likewise.
19323 * wcsmbs/wchar.h: Likewise.
19324 * wctype/wctype.h: Likewise.
19327 * Makeconfig: Remove all but ELF support including AIX support.
19328 * Makerules: Likewise.
19329 * config.h.in: Likewise.
19330 * config.make.in: Likewise.
19331 * configure: Likewise.
19332 * configure.in: Likewise.
19333 * csu/Makefile: Likewise.
19334 * csu/version.c: Likewise.
19335 * debug/Makefile: Likewise.
19336 * dlfcn/Makefile: Likewise.
19337 * elf/Makefile: Likewise.
19338 * extra-lib.mk: Likewise.
19339 * iconv/Makefile: Likewise.
19340 * include/libc-symbols.h: Likewise.
19341 * include/shlib-compat.h: Likewise.
19342 * resolv/Makefile: Likewise.
19343 * resolv/res_libc.c: Likewise.
19344 * rt/Makefile: Likewise.
19345 * sysdeps/i386/asm-syntax.h: Likewise.
19346 * sysdeps/i386/sysdep.h: Likewise.
19347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19348 * sysdeps/mach/sysdep.h: Likewise.
19349 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19350 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19351 * sysdeps/s390/asm-syntax.h: Likewise.
19352 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19353 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19354 * sysdeps/sh/sysdep.h: Likewise.
19355 * sysdeps/unix/sparc/sysdep.h: Likewise.
19356 * sysdeps/wordsize-32/divdi3.c: Likewise.
19357 * sysdeps/x86_64/sysdep.h: Likewise.
19359 * argp/Versions: Remove _argp_unlock_xxx.
19362 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19363 * abilist/libBrokenLocale.abilist: Likewise.
19364 * abilist/libanl.abilist: Likewise.
19365 * abilist/libc.abilist: Likewise.
19366 * abilist/libcrypt.abilist: Likewise.
19367 * abilist/libdl.abilist: Likewise.
19368 * abilist/libm.abilist: Likewise.
19369 * abilist/libnsl.abilist: Likewise.
19370 * abilist/libpthread.abilist: Likewise.
19371 * abilist/libresolv.abilist: Likewise.
19372 * abilist/librt.abilist: Likewise.
19373 * abilist/libthread_db.abilist: Likewise.
19374 * abilist/libutil.abilist: Likewise.
19375 * abilist/libnss_db.abilist: New file.
19377 * scripts/abilist.awk: Add support for indirect functions.
19379 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19381 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19383 * shlib-versions: Remove entries for ports architectures.
19385 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19387 * elf/stackguard-macros.h: Remove support for IA-64.
19388 * elf/tst-auditmod1.c: Likewise.
19389 * sysdeps/generic/ldsodefs.h: Likewise.
19391 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19392 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19396 * configure.in: Remove --enable-omitfp support.
19398 * config.make.in: Likewise.
19399 * Makeconfig: Likewise.
19400 * manual/install.texi: Likewise.
19402 In case anyone cares, the IA-64 architecture could move to ports.
19403 * sysdeps/ia64/*: Removed.
19404 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19405 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19408 * configure.in: Remove entries for unsupported architectures.
19411 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19412 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19414 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19415 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19416 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19417 fall back to using wcrtomb.
19418 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19419 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19421 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19422 * wcsmbs/tst-c16c32-1.c: New file.
19424 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19427 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19429 * elf/tst-unique3.cc: Add explicit declaration of gets.
19430 * elf/tst-unique3lib.cc: Likewise.
19431 * elf/tst-unique3lib2.cc: Likewise.
19432 * elf/tst-unique4.cc: Likewise.
19434 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19436 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19439 * assert/assert.h (static_assert): Don't define for C++.
19440 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19441 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19443 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19445 * iconv/loop.c (single loop): Fix assertion in storing of
19448 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19450 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19452 * posix/getconf.c: Update copyright year.
19453 * nss/getent.c: Likewise.
19454 * nss/makedb.c: Likewise.
19455 * iconv/iconvconfig.c: Likewise.
19456 * iconv/iconv_prog.c: Likewise.
19457 * elf/ldconfig.c: Likewise.
19458 * elf/pldd.c: Likewise.
19459 * elf/sotruss.ksh: Likewise.
19460 * catgets/gencat.c: Likewise.
19461 * csu/version.c: Likewise.
19462 * elf/ldd.bash.in: Likewise.
19463 * elf/sprof.c (print_version): Likewise.
19464 * locale/programs/locale.c: Likewise.
19465 * locale/programs/localedef.c: Likewise.
19466 * login/programs/pt_chown.c: Likewise.
19467 * nscd/nscd.c (print_version): Likewise.
19468 * debug/xtrace.sh: Likewise.
19469 * malloc/memusage.sh: Likewise.
19470 * malloc/mtrace.pl: Likewise.
19471 * debug/catchsegv.sh: Likewise.
19473 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19475 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19478 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19481 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19482 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19484 * iconv/gconv_int.h: Likewise.
19485 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19486 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19487 from libc for GLIBC_2.16.
19488 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19489 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19490 * wcsmbs/uchar.h: Really define mbstate_t.
19491 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19492 * wcsmbs/c16rtomb.c: New file.
19493 * wcsmbs/mbrtoc16.c: New file.
19494 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19495 for C/POSIX locale.
19496 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19497 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19499 * wcsmbs/wchar.h: Add missing __restrict.
19501 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19504 * time/Makefile (routines): Add timespec_get.
19505 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19506 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19507 timespec for ISO C11.
19508 * time/timespec_get.c: New file.
19509 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19510 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19513 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19514 * stdlib/stdlib.h: Declare aligned_alloc.
19515 * Versions.def: Add GLIBC_2.16 for libc.
19516 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19519 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19522 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19526 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19529 * assert/assert.h (static_assert): Define.
19531 * version.h: Update for 2.16 development version.
19534 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19537 * version.h (RELEASE): Bump for 2.15 release.
19538 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19540 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19541 Patch by Marek Polacek <mpolacek@redhat.com>.
19543 * bits/byteswap.h: Protect long long constants with __extension__.
19544 * sysdeps/i386/bits/byteswap.h: Likewise.
19545 * sysdeps/ia64/bits/byteswap.h: Likewise.
19546 * sysdeps/s390/bits/byteswap.h: Likewise.
19547 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19549 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19552 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19553 destination buffer.
19554 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19556 2011-12-23 Marek Polacek <polacek@redhat.com>
19558 * elf/dl-addr.c (determine_info): Add inline keyword.
19559 * elf/tst-auditmod4b.c (check_avx): Likewise.
19560 * elf/tst-auditmod6b.c (check_avx): Likewise.
19561 * elf/tst-auditmod6c.c (check_avx): Likewise.
19562 * elf/tst-auditmod7b.c (check_avx): Likewise.
19564 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19566 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19569 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19572 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19573 processing for last bytes.
19575 2011-08-06 Bruno Haible <bruno@clisp.org>
19578 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19579 U+0385, not to U+1FEE.
19582 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19583 entry for U+00A5 U+0301.
19585 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19588 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19589 buffer for the output is too small.
19591 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19595 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19596 SSE flags if possible.
19598 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19602 processing for last bytes.
19604 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19606 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19607 (syscall-list-default-options, syscall-list-default-condition)
19608 (syscall-list-includes): Define.
19609 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19610 list of ABIs and options and #if conditions for each ABI. Do not
19611 handle common syscalls between ABIs specially.
19612 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19614 (syscall-list-variants, syscall-list-32bit-options)
19615 (syscall-list-32bit-condition, syscall-list-64bit-options)
19616 (syscall-list-64bit-condition): Define.
19617 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19618 (syscall-list-variants, syscall-list-32bit-options)
19619 (syscall-list-32bit-condition, syscall-list-64bit-options)
19620 (syscall-list-64bit-condition): Define.
19621 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19623 (syscall-list-variants, syscall-list-32bit-options)
19624 (syscall-list-32bit-condition, syscall-list-64bit-options)
19625 (syscall-list-64bit-condition): Define.
19626 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19628 (syscall-list-variants, syscall-list-32bit-options)
19629 (syscall-list-32bit-condition, syscall-list-64bit-options)
19630 (syscall-list-64bit-condition): Define.
19632 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19634 * locale/iso-639.def: Add brx entry.
19637 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19638 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19640 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19641 __feraiseexcept_renamed.
19643 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19646 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19647 EPOLLET with unsigned values.
19648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19649 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19651 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19652 to large cancellation.
19653 * math/s_cacoshf.c: Likewise.
19654 * math/s_cacoshl.c: Likewise.
19656 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19660 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19661 * math/s_cacoshf.c: Likewise.
19662 * math/s_cacoshl.c: Likewise.
19664 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19667 * iconv/gconv.h: Define __GCONV_SWAP.
19668 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19669 * iconvdata/utf-16.c: Likewise.
19670 * iconvdata/utf-32.c: Likewise.
19672 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19676 numerator after shifting it by one limb.
19678 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19680 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19681 under [__USE_EXTERN_INLINES].
19683 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19686 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19688 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19690 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19691 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19693 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19694 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19695 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19696 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19697 for strncasecmp/strncasecmp_l compilation.
19698 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19699 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19701 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19704 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19707 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19710 * time/tzfile.c (__tzfile_read): Check values from file header.
19712 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19714 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19715 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19716 * powerpc/powerpc32/dl-start.S: Likewise.
19717 * powerpc/powerpc32/elf/start.S: Likewise.
19718 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19719 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19720 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19721 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19722 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19723 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19724 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19725 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19726 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19727 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19728 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19729 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19730 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19731 * powerpc/powerpc32/memset.S: Likewise.
19732 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19733 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19734 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19735 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19736 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19737 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19738 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19739 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19740 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19741 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19742 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19743 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19744 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19746 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19748 * math/libm-test.inc: Added more nearbyint tests.
19749 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19750 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19754 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19756 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19759 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19761 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19762 Add wcscpy-ssse3 wcscpy-c.
19763 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19764 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19765 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19766 * sysdeps/x86_64/wcschr.S: New file.
19767 * sysdeps/x86_64/wcsrchr.S: New file.
19768 * string/test-strcmp.c: Remove checking of wcscmp function for
19770 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19771 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19772 wcsrchr-sse2 wcsrchr-c.
19773 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19774 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19775 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19776 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19777 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19778 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19779 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19780 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19781 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19782 * wcsmbc/wcschr.c (WCSCHR): New macro.
19784 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19786 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19787 * wcsmbs/test-wcsrchr.c: New file.
19788 * string/test-strrchr.c: Add wcsrchr support.
19790 * wcsmbs/test-wcscpy.c: New file.
19791 * string/test-strcpy.c: Add wcscpy support.
19794 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19799 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19802 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19804 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19806 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19807 Minor optimizations.
19809 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19810 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19811 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19813 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19815 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19816 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19817 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19818 for gcc to avoid warnings.
19819 * inet/Makefile (tests): Add tst-checks.
19820 * inet/tst-checks.c: New file.
19822 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19825 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19828 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19829 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19831 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19833 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19835 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19838 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19840 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19842 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19843 conditional on GCC version.
19844 (__arch_compare_and_exchange_val_8_acq)
19845 (__arch_compare_and_exchange_val_16_acq)
19846 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19847 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19848 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19850 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19852 * sysdeps/sh/backtrace.c: New file.
19854 2011-12-02 Andreas Schwab <schwab@redhat.com>
19856 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19859 2011-12-01 Andreas Schwab <schwab@redhat.com>
19861 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19862 falling back to utime.
19864 2011-11-30 Andreas Schwab <schwab@redhat.com>
19866 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19867 expectations for float.
19869 2011-11-29 Andreas Schwab <schwab@redhat.com>
19871 * locale/weight.h (findidx): Add parameter len.
19872 * locale/weightwc.h (findidx): Likewise.
19873 * posix/fnmatch_loop.c (FCT): Adjust caller.
19874 * posix/regcomp.c (build_equiv_class): Likewise.
19875 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19876 * posix/regexec.c (check_node_accept_bytes): Likewise.
19877 * string/strcoll_l.c (STRCOLL): Likewise.
19878 * string/strxfrm_l.c (STRXFRM): Likewise.
19880 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19882 * Makefile.in: Remove CVSOPT handling.
19883 * configure.in: Remove use of AC_REVISION.
19884 * iconvdata/Makefile (distribute): No need to filter out CVS.
19885 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19888 2011-11-16 Andreas Schwab <schwab@redhat.com>
19890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19891 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19892 [USE_AS_STRNCASECMP_L]: Likewise.
19893 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19894 NO_TLS_DIRECT_SEG_REFS.
19895 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19896 Fix argument offsets for non-PIC.
19897 [USE_AS_STRNCASECMP_L]: Likewise.
19898 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19899 NO_TLS_DIRECT_SEG_REFS.
19901 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19903 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19905 * locale/loadlocale.c (_nl_load_locale): Likewise.
19907 2011-11-15 Andreas Schwab <schwab@redhat.com>
19909 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19910 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19911 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19912 (SYSCALL_GETTIME): Set errno on error.
19914 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19915 count references to noai6ai_cached.
19917 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19919 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19921 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19922 FD_CLOEXEC for /proc/self/maps.
19924 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19925 FD_CLOEXEC for /proc/meminfo.
19927 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19930 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19931 FD_CLOEXEC for given file.
19933 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19935 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19936 FD_CLOEXEC for /etc/hosts.
19937 (_gethtent): Likewise.
19939 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19941 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19942 cancellation and set FD_CLOEXEC for /etc/netgroup.
19944 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19945 reading /etc/publickey.
19947 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19948 allow cancellation when reading /etc/group.
19950 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19952 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19954 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19955 when using data file.
19957 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19959 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19960 (write_nis_obj): Use "c" and "e" in fopen.
19962 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19964 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19966 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19968 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19970 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19973 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19975 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19977 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19979 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19980 file parsing and set FD_CLOEXEC.
19982 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19984 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19986 2011-11-14 Andreas Schwab <schwab@redhat.com>
19988 * malloc/arena.c (arena_get2): Don't call reused_arena when
19989 _int_new_arena failed.
19991 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19993 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19994 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19996 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19997 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19998 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19999 to compile strcasecmp and strncasecmp.
20000 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20001 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20005 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20007 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20008 locale-defines.sym to gen-as-const-headers.
20009 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20010 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20012 to compile strcasecmp and strncasecmp.
20013 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20014 strcasecmp_l and strncasecmp_l.
20015 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20016 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20017 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20018 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20019 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20020 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20021 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20022 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20023 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20024 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20025 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20027 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20029 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20030 result of SYSDEP_GETTIME_CPU to retval.
20031 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20032 parameter list to macro. Remove trailing semicolon. Adjust users.
20034 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20037 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20039 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20041 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20042 from unused variable.
20044 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20046 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20049 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20052 * sunrpc/rpc_prot.c (rejected): Fix case value.
20054 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20055 unsigned long long int to avoid warnings in shift.
20057 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20059 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20062 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20063 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20064 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20066 * nis/nis_table.c (nis_list): Use variable of correct type for
20067 result of __follow_path call.
20069 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20071 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20072 of math functions ceil, trunc, floor, round, and sqrt, when
20073 avaliable on the platform.
20074 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20076 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20077 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20078 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20080 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20082 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20083 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20085 2011-11-11 Roland McGrath <roland@hack.frob.com>
20087 * include/unistd.h: Fix __readlink return type.
20088 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20090 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20092 * stdlib/ucontext.h: Undo last change for makecontext.
20094 2011-11-11 Andreas Schwab <schwab@redhat.com>
20096 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20098 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20099 * setjmp/setjmp.h: Mark functions as non-leaf.
20100 * setjmp/bits/setjmp2.h: Likewise.
20101 * stdlib/ucontext.h: Likewise.
20103 2011-11-10 Andreas Schwab <schwab@redhat.com>
20105 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20106 (reused_arena): Don't check arena limit.
20107 (arena_get2): Atomically check arena limit.
20109 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20111 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20112 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20117 2011-11-07 Andreas Schwab <schwab@redhat.com>
20119 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20120 handler when locking.
20122 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20123 Fix size of allocated buffer.
20125 2011-11-04 Andreas Schwab <schwab@redhat.com>
20128 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20129 declarations for long double functions.
20130 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20132 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20134 2011-11-03 Andreas Schwab <schwab@redhat.com>
20136 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20139 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20142 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20144 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20146 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20148 * include/alloca.h (stackinfo_alloca_round): Define.
20149 (extend_alloca): Use it.
20150 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20151 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20154 * scripts/check-local-headers.sh: Ignore libaudit.h.
20156 * nscd/Makefile (extra-objs): Make recursively expanded.
20158 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20160 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20161 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20163 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20164 * posix/tst-rfc3484-2.c: Likewise.
20165 * posix/tst-rfc3484-3.c: Likewise.
20167 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20169 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20171 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20172 process_vm_writev from libc using GLIBC_2.15 version.
20174 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20176 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20178 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20181 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20184 * nss/getent.c (initgroups_keys): Show error message in case no group
20187 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20188 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20189 __bump_nl_timestamp.
20190 * nscd/connections (nscd_init): When host database is served open
20191 netlink socket and request notification about configuration changes.
20192 (main_loop_poll): Track netlink file descriptor and bump timestamp
20193 in case data becomes available.
20194 (main_loop_epoll): Likewise.
20195 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20196 (database_pers_head): Add extra_data fileds.
20197 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20198 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20199 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20202 in6ai data, call __free_in6ai.
20203 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20204 Add -DHAVE_NETLINK.
20205 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20206 interface information. Reuse previous data if netlink timestamp
20208 (__bump_nl_timestamp): New function.
20209 (__free_in6ai): New function.
20211 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20214 close_not_cancel_no_status here.
20215 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20217 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20220 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20223 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20224 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20225 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20227 2011-07-03 Andreas Jaeger <aj@suse.de>
20230 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20231 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20232 * math/libm-test.inc (sin_test): Add test case.
20234 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20237 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20238 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20240 * elf/chroot_canon.c (chroot_canon): Cleanups.
20242 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20245 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20246 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20248 * string/test-strchr.c: Make usable for strchrnul testing.
20249 * string/test-strchrnul.c: New file.
20250 * string/Makefile (strop-tests): Add strchrnul.
20252 * po/it.po: Update from translation team.
20253 * po/es.po: Likewise.
20255 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20257 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20258 the three constants needed as parameters. Drop the others.
20259 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20260 __m128i_strloadu_tolower.
20261 Create and initialize variable zero and use it in all the places
20262 where _mm_setzero_si128 was used.
20264 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20265 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20266 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20267 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20269 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20270 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20271 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20272 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20273 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20274 __mpranred, __mptan.
20275 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20276 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20277 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20278 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20279 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20280 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20282 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20283 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20285 2011-10-28 Andreas Schwab <schwab@redhat.com>
20287 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20288 redefine if SHARED.
20289 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20292 wide char related routines to wcsmbs subdir.
20294 2011-10-27 Andreas Schwab <schwab@redhat.com>
20297 * misc/sys/cdefs.h (__THROWNL): Define.
20298 * posix/unistd.h: Use __THREADNL instead of __THREAD
20299 for memory synchronization functions.
20301 2011-10-26 Roland McGrath <roland@hack.frob.com>
20304 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20306 * manual/stdio.texi (Obstack Streams): Node removed.
20308 2011-10-26 Andreas Schwab <schwab@redhat.com>
20310 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20314 * math/math_private.h (math_force_eval): Allow non-addressable
20316 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20318 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20320 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20321 file is not needed.
20323 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20325 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20326 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20327 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20328 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20329 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20330 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20332 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20333 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20334 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20335 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20336 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20337 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20338 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20339 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20340 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20341 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20342 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20343 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20344 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20345 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20346 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20347 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20348 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20349 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20350 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20352 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20353 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20355 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20356 place. Use VEX encoding when compiling for AVX.
20358 2011-10-25 Andreas Schwab <schwab@redhat.com>
20360 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20361 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20363 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20365 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20367 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20368 useless if() expression.
20369 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20370 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20371 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20372 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20373 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20374 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20375 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20377 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20378 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20379 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20380 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20381 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20382 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20383 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20384 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20385 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20387 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20389 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20391 2011-10-25 Andreas Schwab <schwab@redhat.com>
20393 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20395 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20397 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20399 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20400 .text section. Avoid duplicate constants.
20401 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20403 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20405 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20409 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20410 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20411 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20413 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20414 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20418 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20424 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20425 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20426 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20427 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20428 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20429 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20430 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20431 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20432 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20433 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20434 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20435 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20436 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20437 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20438 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20439 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20440 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20441 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20442 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20443 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20444 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20445 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20447 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20449 * sysdeps/x86_64/dla.h: Move to ...
20450 * sysdeps/x86_64/fpu/dla.h: ...here.
20451 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20452 situations. Use __builtin_fma only for gcc 4.6 and up.
20454 * config.make.in: Add have-mfma4 entry.
20455 * configure.in: Substitute libc_cv_cc_fma4.
20456 * math/Makefile (dbl-only-routines): Add sincostab.
20457 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20458 Use __sincostab not sincos.
20459 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20461 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20466 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20467 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20468 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20469 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20471 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20472 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20474 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20475 define aliases when function name is a macro.
20476 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20477 sysdeps/ieee754/dbl-64/sincos.tbl.
20478 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20479 fma4-enabled routines.
20480 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20481 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20482 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20483 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20485 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20486 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20487 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20488 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20489 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20490 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20492 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20493 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20494 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20495 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20496 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20497 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20498 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20499 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20500 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20502 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20503 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20505 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20506 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20507 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20508 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20509 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20511 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20513 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20522 2011-10-24 Andreas Schwab <schwab@redhat.com>
20524 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20526 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20528 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20530 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20532 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20534 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20535 Remove unused variable magic_bits.
20536 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20538 * string/strnlen.c: Define and use STRNLEN macro.
20539 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20540 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20542 * wcsmbs/wcslen.c: Define and use WCSLEN.
20543 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20544 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20545 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20546 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20547 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20548 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20549 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20551 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20554 strnlen-sse2-no-bsf.
20555 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20557 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20558 Add strnlen support.
20559 (USE_AS_STRNLEN): New macro.
20560 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20561 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20562 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20563 * sysdeps/x86_64/wcslen.S: New file.
20565 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20567 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20568 XMM-moves are used for copying on small sizes.
20570 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20572 * wcsmbs/Makefile (strop-tests): Add wcschr.
20573 * wcsmbs/test-wcschr.c: New file.
20574 * string/test-strchr.c: Update.
20575 Add wcschr support.
20578 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20580 * wcsmbs/Makefile (strop-tests): Add wcslen.
20581 * wcsmbs/test-wcslen.c: New file.
20582 * string/test-strlen.c: Update.
20583 Add wcslen support.
20586 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20588 * po/it.po: Update from translation team.
20590 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20592 * sysdeps/x86_64/wcscmp.S: Update.
20593 Fix wrong comparison semantics.
20594 wcscmp shall use signed comparison not unsigned.
20595 Don't use substraction to avoid overflow bug.
20596 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20597 * wcsmbc/wcscmp.c: Likewise.
20598 * string/test-strcmp.c: Likewise.
20599 Add new tests to check cases with negative values.
20601 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20603 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20604 * sysdeps/x86_64/dla.h: ...here. New file.
20605 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20610 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20613 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20615 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20618 __ynl_finite aliases.
20620 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20624 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20626 [DLA_FMA] (EMULV): Use DLA_FMA.
20627 [DLA_FMA] (MUL12): Use EMULV.
20628 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20629 that are not needed.
20630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20635 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20638 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20640 * math/s_nan.c: Undef __nan.
20641 * math/s_nanf.c: Undef __nanf.
20642 * math/s_nanl.c: Undef __nanl.
20643 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20646 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20648 * math/s_catan.c: Add branch predictions.
20649 * math/s_catanf.c: Likewise.
20650 * math/s_catanh.c: Likewise.
20651 * math/s_catanhf.c: Likewise.
20652 * math/s_catanhl.c: Likewise.
20653 * math/s_catanl.c: Likewise.
20654 * math/s_cexp.c: Likewise.
20655 * math/s_cexpf.c: Likewise.
20656 * math/s_cexpl.c: Likewise.
20657 * math/s_clog.c: Likewise.
20658 * math/s_clog10.c: Likewise.
20659 * math/s_clog10f.c: Likewise.
20660 * math/s_clog10l.c: Likewise.
20661 * math/s_clogf.c: Likewise.
20662 * math/s_clogl.c: Likewise.
20663 * math/s_csqrt.c: Likewise.
20664 * math/s_csqrtf.c: Likewise.
20665 * math/s_csqrtl.c: Likewise.
20666 * math/s_ctanf.c: Likewise.
20667 * math/s_ctanh.c: Likewise.
20668 * math/s_ctanhf.c: Likewise.
20669 * math/s_ctanhl.c: Likewise.
20670 * math/s_ctanl.c: Likewise.
20672 * math/math_private.h: Define __nan, __nanf, __nanl.
20673 * math/s_cacosh.c: Include <math_private.h>.
20674 * math/s_cacoshl.c: Likewise.
20675 * math/s_casinh.c: Likewise.
20676 * math/s_casinhf.c: Likewise.
20677 * math/s_casinhl.c: Likewise.
20678 * math/s_ccos.c: Rely entire on ccosh.
20679 * math/s_ccosf.c: Rely entire on ccoshf.
20680 * math/s_ccosl.c: Rely entirely on ccoshl.
20681 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20682 Remove tests for FE_INVALID.
20683 * math/s_ccoshf.c: Likewise.
20684 * math/s_ccoshl.c: Likewise.
20685 * math/s_csin.c: Likewise.
20686 * math/s_csinf.c: Likewise.
20687 * math/s_csinh.c Likewise.
20688 * math/s_csinhf.c: Likewise.
20689 * math/s_csinhl.c: Likewise.
20690 * math/s_csinl.c: Likewise.
20691 * math/s_ctan.c: Likewise.
20692 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20693 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20694 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20696 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20699 compilation problems.
20701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20704 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20706 * sysdeps/i386/configure.in: Test for -mfma4 option.
20707 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20708 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20709 COMMON_CPUID_INDEX_80000001.
20710 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20711 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20712 use it if FMA3 is not supported.
20713 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20715 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20716 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20718 2011-10-20 Andreas Schwab <schwab@redhat.com>
20721 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20722 it would create a cycle with a link time dependency.
20724 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20726 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20728 * string/Makefile (strop-tests): Add rawmemchr.
20729 * string/test-rawmemchr.c: New file.
20731 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20733 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20734 when compiling str{,n}casecmp and when AVX is available. Hook up
20735 new optimized code in initializers.
20737 2011-10-19 Andreas Schwab <schwab@redhat.com>
20739 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20740 __feraiseexcept instead of feraiseexcept.
20742 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20744 * math/math_private.h: Define defaults for libc_fetestexcept and
20746 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20747 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20748 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20749 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20750 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20751 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20752 libc_fetestexcept and libc_feupdateenv.
20754 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20755 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20756 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20757 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20758 libc_feholdexcept_setround.
20760 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20761 Add s_nearbyint-c and s_nearbyintf-c.
20762 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20763 nearbyintf inlines.
20764 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20765 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20766 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20767 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20769 * math/math_private.h: Define defaults for libc_fegetround,
20770 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20771 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20772 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20773 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20774 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20775 standard functions.
20776 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20777 Remove comments and hacks for old compiler versions.
20778 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20779 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20780 libc_feholdexceptl.
20782 2011-10-18 Andreas Schwab <schwab@redhat.com>
20784 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20785 (__feraiseexcept_renamed): Add __NTH.
20786 (feraiseexcept): Add __NTH. Rename local variables to fix
20787 namespace violations.
20789 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20791 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20793 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20795 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20796 recently added interfaces.
20797 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20799 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20800 about macro parameter expansion.
20802 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20803 __NO_MATH_INLINES is defined. Cleanups.
20805 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20806 and __floorf is target has SSE4.1.
20807 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20808 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20809 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20810 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20812 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20814 (floorf): Likewise.
20816 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20818 2011-10-17 Andreas Schwab <schwab@redhat.com>
20820 * misc/sys/cdefs.h: Fix last change.
20822 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20825 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20827 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20829 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20830 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20835 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20836 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20837 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20838 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20839 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20840 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20841 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20842 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20843 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20844 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20845 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20846 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20847 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20848 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20849 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20850 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20852 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20853 ceil, ceilf, floor, floorf.
20855 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20856 Perform IRELATIVE relocations last.
20858 * elf/do-rel.h: Add another parameter nrelative, replacing the
20859 local variable with the same name. Change name of the function
20860 to end in Rel or Rela (uppercase).
20861 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20862 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20863 elf_dynamic_do_##reloc function.
20865 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20867 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20868 is sufficient, at least on modern CPUs.
20870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20872 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20873 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20875 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20877 * math/bits/math-finite.h: Add entries for exp.
20878 * math/e_expl.c: Add __*_finite alias.
20879 * sysdeps/i386/fpu/e_exp.S: Likewise.
20880 * sysdeps/i386/fpu/e_expf.S: Likewise.
20881 * sysdeps/i386/fpu/e_expl.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20883 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20884 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20886 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20887 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20888 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20890 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20891 is sufficient, at least on modern CPUs.
20893 * ctype/ctype-info.c (__ctype_init): Define.
20894 * include/ctype.h (__ctype_init): Declare.
20895 (__ctype_b_loc): The variable is always initialized.
20896 (__ctype_toupper_loc): Likewise.
20897 (__ctype_tolower_loc): Likewise.
20898 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20899 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20901 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20903 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20905 * configure.in: Also look in $cxxmachine/include for C++ system
20908 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20910 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20911 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20912 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20913 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20915 (USE_AS_WMEMCMP): New macro.
20917 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20918 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20919 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20920 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20922 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20923 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20924 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20925 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20926 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20927 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20928 (USE_AS_WMEMCMP): New macro.
20929 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20930 * sysdeps/string/test-memcmp.c: Update.
20931 Fix simple_wmemcmp.
20933 * wcsmbs/wmemcmp.c: Update.
20934 (WMEMCMP): New macro.
20937 2011-10-12 Andreas Jaeger <aj@suse.de>
20940 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20942 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20944 * libio/iofwide.c (do_length): Avoid warning.
20946 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20948 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20950 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20952 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20953 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20954 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20955 * sysdeps/i386/i686/fpu/e_log.S: New file.
20956 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20957 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20959 * ctype/ctype.h: Add support for inlined isXXX functions when
20960 compiling C++ code.
20962 2011-10-14 Andreas Schwab <schwab@redhat.com>
20964 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20966 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20968 2011-10-13 Roland McGrath <roland@hack.frob.com>
20971 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20973 2011-10-13 Andreas Schwab <schwab@redhat.com>
20975 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20976 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20979 * sysdeps/x86_64/memrchr.S: Check for zero size.
20981 * string/stratcliff.c: Add memrchr tests.
20983 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20986 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20987 rawmemchr-sse2 rawmemchr-sse2-bsf.
20988 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20989 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20990 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20991 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20992 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20993 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20994 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20995 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20996 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20997 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20998 * string/memrchr.c (MEMRCHR): New macro.
21000 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21002 Add integration with gcc's -ffinite-math-only and optimize wrapper
21004 * Versions.def: Define GLIBC_2.15 version for libm.
21005 * math/Makefile (headers): Add bits/math-finite.h.
21006 * math/bits/math-finite.h: New file.
21007 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21008 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21009 * math/e_acoshl.c: Add __*_finite alias.
21010 * math/e_acosl.c: Likewise.
21011 * math/e_asinl.c: Likewise.
21012 * math/e_atan2l.c: Likewise.
21013 * math/e_atanhl.c: Likewise.
21014 * math/e_coshl.c: Likewise.
21015 * math/e_exp10.c: Likewise.
21016 * math/e_exp10f.c: Likewise.
21017 * math/e_exp10l.c: Likewise.
21018 * math/e_exp2l.c: Likewise.
21019 * math/e_fmodl.c: Likewise.
21020 * math/e_gammal_r.c: Likewise.
21021 * math/e_hypotl.c: Likewise.
21022 * math/e_j0l.c: Likewise.
21023 * math/e_j1l.c: Likewise.
21024 * math/e_jnl.c: Likewise.
21025 * math/e_lgammal_r.c: Likewise.
21026 * math/e_log10l.c: Likewise.
21027 * math/e_log2l.c: Likewise.
21028 * math/e_logl.c: Likewise.
21029 * math/e_powl.c: Likewise.
21030 * math/e_sinhl.c: Likewise.
21031 * math/e_sqrtl.c: Likewise.
21032 * math/e_scalb.c: Completely rewritten and optimized.
21033 * math/e_scalbf.c: Likewise.
21034 * math/e_scalbl.c: Likewise.
21035 * math/w_acos.c: Likewise.
21036 * math/w_acosf.c: Likewise.
21037 * math/w_acosl.c: Likewise.
21038 * math/w_acosh.c: Likewise.
21039 * math/w_acoshf.c: Likewise.
21040 * math/w_acoshl.c: Likewise.
21041 * math/w_asin.c: Likewise.
21042 * math/w_asinf.c: Likewise.
21043 * math/w_asinl.c: Likewise.
21044 * math/w_atan2.c: Likewise.
21045 * math/w_atan2f.c: Likewise.
21046 * math/w_atan2l.c: Likewise.
21047 * math/w_atanh.c: Likewise.
21048 * math/w_atanhf.c: Likewise.
21049 * math/w_atanhl.c: Likewise.
21050 * math/w_exp10.c: Likewise.
21051 * math/w_exp10f.c: Likewise.
21052 * math/w_exp10l.c: Likewise.
21053 * math/w_fmod.c: Likewise.
21054 * math/w_fmodf.c: Likewise.
21055 * math/w_fmodl.c: Likewise.
21056 * math/w_j0.c: Likewise.
21057 * math/w_j0f.c: Likewise.
21058 * math/w_j0l.c: Likewise.
21059 * math/w_j1.c: Likewise.
21060 * math/w_j1f.c: Likewise.
21061 * math/w_j1l.c: Likewise.
21062 * math/w_jn.c: Likewise.
21063 * math/w_jnf.c: Likewise.
21064 * math/w_log.c: Likewise.
21065 * math/w_logf.c: Likewise.
21066 * math/w_logl.c: Likewise.
21067 * math/w_log10.c: Likewise.
21068 * math/w_log10f.c: Likewise.
21069 * math/w_log10l.c: Likewise.
21070 * math/w_log2.c: Likewise.
21071 * math/w_log2f.c: Likewise.
21072 * math/w_log2l.c: Likewise.
21073 * math/w_pow.c: Likewise.
21074 * math/w_powf.c: Likewise.
21075 * math/w_powl.c: Likewise.
21076 * math/w_remainder.c: Likewise.
21077 * math/w_remainderf.c: Likewise.
21078 * math/w_remainderl.c: Likewise.
21079 * math/w_scalb.c: Likewise.
21080 * math/w_scalbf.c: Likewise.
21081 * math/w_scalbl.c: Likewise.
21082 * math/w_sqrt.c: Likewise.
21083 * math/w_sqrtf.c: Likewise.
21084 * math/w_sqrtl.c: Likewise.
21085 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21086 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21088 * math/math_private.h: Declare __kernel_standard_f.
21089 * math/w_cosh.c: Remove cruft and optimize a bit.
21090 * math/w_coshf.c: Likewise.
21091 * math/w_coshl.c: Likewise.
21092 * math/w_exp2.c: Likewise.
21093 * math/w_exp2f.c: Likewise.
21094 * math/w_exp2l.c: Likewise.
21095 * math/w_hypot.c: Likewise.
21096 * math/w_hypotf.c: Likewise.
21097 * math/w_hypotl.c: Likewise.
21098 * math/w_lgamma.c: Likewise.
21099 * math/w_lgamma_r.c: Likewise.
21100 * math/w_lgammaf.c: Likewise.
21101 * math/w_lgammaf_r.c: Likewise.
21102 * math/w_lgammal.c: Likewise.
21103 * math/w_lgammal_r.c: Likewise.
21104 * math/w_sinh.c: Likewise.
21105 * math/w_sinhf.c: Likewise.
21106 * math/w_sinhl.c: Likewise.
21107 * math/w_tgamma.c: Likewise.
21108 * math/w_tgammaf.c: Likewise.
21109 * math/w_tgammal.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21111 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21112 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21113 Minor optimizations. Pretty printing. Remove cruft.
21114 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21115 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21116 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21117 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21118 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21119 * sysdeps/i386/fpu/e_asin.S: Likewise.
21120 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21121 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21122 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21123 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21124 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21125 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21126 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21127 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21128 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21129 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21130 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21131 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21132 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21133 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21134 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21135 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21136 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21137 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21138 * sysdeps/i386/fpu/e_log.S: Likewise.
21139 * sysdeps/i386/fpu/e_log10.S: Likewise.
21140 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21141 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21142 * sysdeps/i386/fpu/e_log2.S: Likewise.
21143 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21144 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21145 * sysdeps/i386/fpu/e_logf.S: Likewise.
21146 * sysdeps/i386/fpu/e_logl.S: Likewise.
21147 * sysdeps/i386/fpu/e_pow.S: Likewise.
21148 * sysdeps/i386/fpu/e_powf.S: Likewise.
21149 * sysdeps/i386/fpu/e_powl.S: Likewise.
21150 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21151 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21152 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21153 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21154 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21155 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21156 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21157 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21158 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21163 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21180 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21181 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21182 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21183 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21184 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21185 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21186 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21187 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21188 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21189 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21190 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21191 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21192 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21193 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21194 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21195 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21196 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21197 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21198 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21199 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21200 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21242 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21244 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21248 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21250 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21251 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21252 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21253 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21254 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21255 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21256 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21257 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21258 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21259 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21260 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21261 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21262 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21264 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21266 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21267 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21268 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21269 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21270 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21271 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21272 (__isnanf): Likewise.
21273 (__isinf_ns): Likewise.
21274 (__isinf_nsf): Likewise.
21275 (__finite): Likewise.
21276 (__finitef): Likewise.
21277 (__ieee754_sqrt): Define as macro.
21278 (__ieee754_sqrtf): Define as macro.
21279 (__ieee754_sqrtl): Define as macro.
21280 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21282 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21283 __FINITE_MATH_ONLY__ consistent.
21284 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21286 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21288 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21291 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21293 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21295 * po/ja.po: Update from translation team.
21297 2011-10-08 Roland McGrath <roland@hack.frob.com>
21299 * locale/programs/locarchive.c (prepare_address_space): New function.
21300 (create_archive, enlarge_archive, open_archive): Use it.
21302 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21303 inside [SHARED], where it is used.
21305 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21307 * nss/getent.c (netgroup_keys): Remove unused variable.
21308 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21310 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21312 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21313 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21315 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21316 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21317 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21318 * math/Makefile (libm-calls): Add s_isinf_ns.
21319 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21320 * math/multc3.c: Likewise.
21321 * math/s_casin.c: Likewise.
21322 * math/s_casinf.c: Likewise.
21323 * math/s_casinl.c: Likewise.
21324 * math/s_ccos.c: Likewise.
21325 * math/s_ccosf.c: Likewise.
21326 * math/s_ccosl.c: Likewise.
21327 * math/s_ctan.c: Likewise.
21328 * math/s_ctanf.c: Likewise.
21329 * math/s_ctanh.c: Likewise.
21330 * math/s_ctanhf.c: Likewise.
21331 * math/s_ctanhl.c: Likewise.
21332 * math/s_ctanl.c: Likewise.
21333 * math/w_fmod.c: Likewise.
21334 * math/w_fmodf.c: Likewise.
21335 * math/w_fmodl.c: Likewise.
21336 * math/w_remainder.c: Likewise.
21337 * math/w_remainderf.c: Likewise.
21338 * math/w_remainderl.c: Likewise.
21339 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21340 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21341 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21342 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21343 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21344 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21345 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21346 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21348 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21350 * stdio-common/printf_fphex.c: Likewise.
21351 * stdio-common/printf_size.c: Likewise.
21353 * math/e_exp10.c: Include math_private.h using <...> not "...".
21354 * math/e_exp10f.c: Likewise.
21355 * math/e_exp10l.c: Likewise.
21356 * math/e_exp2l.c: Likewise.
21357 * math/e_j0l.c: Likewise.
21358 * math/e_j1l.c: Likewise.
21359 * math/e_jnl.c: Likewise.
21360 * math/e_lgammal_r.c: Likewise.
21361 * math/e_rem_pio2l.c: Likewise.
21362 * math/e_scalb.c: Likewise.
21363 * math/e_scalbf.c: Likewise.
21364 * math/e_scalbl.c: Likewise.
21365 * math/k_cosl.c: Likewise.
21366 * math/k_sinl.c: Likewise.
21367 * math/k_tanl.c: Likewise.
21368 * math/s_cacoshf.c: Likewise.
21369 * math/s_catan.c: Likewise.
21370 * math/s_catanf.c: Likewise.
21371 * math/s_catanh.c: Likewise.
21372 * math/s_catanhf.c: Likewise.
21373 * math/s_catanhl.c: Likewise.
21374 * math/s_catanl.c: Likewise.
21375 * math/s_ccosh.c: Likewise.
21376 * math/s_ccoshf.c: Likewise.
21377 * math/s_ccoshl.c: Likewise.
21378 * math/s_cexp.c: Likewise.
21379 * math/s_cexpf.c: Likewise.
21380 * math/s_cexpl.c: Likewise.
21381 * math/s_clog.c: Likewise.
21382 * math/s_clog10.c: Likewise.
21383 * math/s_clog10f.c: Likewise.
21384 * math/s_clog10l.c: Likewise.
21385 * math/s_clogf.c: Likewise.
21386 * math/s_clogl.c: Likewise.
21387 * math/s_csin.c: Likewise.
21388 * math/s_csinf.c: Likewise.
21389 * math/s_csinh.c: Likewise.
21390 * math/s_csinhf.c: Likewise.
21391 * math/s_csinhl.c: Likewise.
21392 * math/s_csinl.c: Likewise.
21393 * math/s_csqrt.c: Likewise.
21394 * math/s_csqrtf.c: Likewise.
21395 * math/s_csqrtl.c: Likewise.
21396 * math/s_ctan.c: Likewise.
21397 * math/s_ctanf.c: Likewise.
21398 * math/s_ctanh.c: Likewise.
21399 * math/s_ctanhf.c: Likewise.
21400 * math/s_ctanhl.c: Likewise.
21401 * math/s_ctanl.c: Likewise.
21402 * math/s_ldexp.c: Likewise.
21403 * math/s_ldexpf.c: Likewise.
21404 * math/s_ldexpl.c: Likewise.
21405 * math/s_significand.c: Likewise.
21406 * math/s_significandf.c: Likewise.
21407 * math/s_significandl.c: Likewise.
21408 * math/w_acos.c: Likewise.
21409 * math/w_acosf.c: Likewise.
21410 * math/w_acosh.c: Likewise.
21411 * math/w_acoshf.c: Likewise.
21412 * math/w_acoshl.c: Likewise.
21413 * math/w_acosl.c: Likewise.
21414 * math/w_asin.c: Likewise.
21415 * math/w_asinf.c: Likewise.
21416 * math/w_asinl.c: Likewise.
21417 * math/w_atan2.c: Likewise.
21418 * math/w_atan2f.c: Likewise.
21419 * math/w_atan2l.c: Likewise.
21420 * math/w_atanh.c: Likewise.
21421 * math/w_atanhf.c: Likewise.
21422 * math/w_atanhl.c: Likewise.
21423 * math/w_cosh.c: Likewise.
21424 * math/w_coshf.c: Likewise.
21425 * math/w_coshl.c: Likewise.
21426 * math/w_dremf.c: Likewise.
21427 * math/w_exp10.c: Likewise.
21428 * math/w_exp10f.c: Likewise.
21429 * math/w_exp10l.c: Likewise.
21430 * math/w_exp2.c: Likewise.
21431 * math/w_exp2f.c: Likewise.
21432 * math/w_fmod.c: Likewise.
21433 * math/w_fmodf.c: Likewise.
21434 * math/w_fmodl.c: Likewise.
21435 * math/w_hypot.c: Likewise.
21436 * math/w_hypotf.c: Likewise.
21437 * math/w_hypotl.c: Likewise.
21438 * math/w_j0.c: Likewise.
21439 * math/w_j0f.c: Likewise.
21440 * math/w_j0l.c: Likewise.
21441 * math/w_j1.c: Likewise.
21442 * math/w_j1f.c: Likewise.
21443 * math/w_j1l.c: Likewise.
21444 * math/w_jn.c: Likewise.
21445 * math/w_jnf.c: Likewise.
21446 * math/w_jnl.c: Likewise.
21447 * math/w_lgamma.c: Likewise.
21448 * math/w_lgamma_r.c: Likewise.
21449 * math/w_lgammaf.c: Likewise.
21450 * math/w_lgammaf_r.c: Likewise.
21451 * math/w_lgammal.c: Likewise.
21452 * math/w_lgammal_r.c: Likewise.
21453 * math/w_log.c: Likewise.
21454 * math/w_log10.c: Likewise.
21455 * math/w_log10f.c: Likewise.
21456 * math/w_log10l.c: Likewise.
21457 * math/w_log2.c: Likewise.
21458 * math/w_log2f.c: Likewise.
21459 * math/w_log2l.c: Likewise.
21460 * math/w_logf.c: Likewise.
21461 * math/w_logl.c: Likewise.
21462 * math/w_pow.c: Likewise.
21463 * math/w_powf.c: Likewise.
21464 * math/w_powl.c: Likewise.
21465 * math/w_remainder.c: Likewise.
21466 * math/w_remainderf.c: Likewise.
21467 * math/w_remainderl.c: Likewise.
21468 * math/w_scalb.c: Likewise.
21469 * math/w_scalbf.c: Likewise.
21470 * math/w_scalbl.c: Likewise.
21471 * math/w_sinh.c: Likewise.
21472 * math/w_sinhf.c: Likewise.
21473 * math/w_sinhl.c: Likewise.
21474 * math/w_sqrt.c: Likewise.
21475 * math/w_sqrtf.c: Likewise.
21476 * math/w_sqrtl.c: Likewise.
21477 * math/w_tgamma.c: Likewise.
21478 * math/w_tgammaf.c: Likewise.
21479 * math/w_tgammal.c: Likewise.
21481 * po/ja.po: Update from translation team.
21483 2011-09-29 Andreas Jaeger <aj@suse.de>
21486 * sunrpc/netname.c (netname2host): Fix logic.
21490 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21492 * math/w_remainder.c (__remainder): Likewise.
21493 * math/w_remainderf.c (__remainderf): Likewise.
21494 * math/libm-test.inc (remainder_test): Add test cases.
21496 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21498 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21501 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21503 * string/test-memcmp.c: Avoid unncessary #defines.
21504 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21506 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21508 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21509 Use new sse2 version for core i3 - i7 as it's faster
21510 than sse42 version.
21511 (bit_Prefer_PMINUB_for_stringop): New.
21512 * sysdeps/x86_64/rawmemchr.S: Update.
21513 Replace with faster SSE2 version.
21514 * sysdeps/x86_64/memrchr.S: New file.
21515 * sysdeps/x86_64/memchr.S: Update.
21516 Replace with faster SSE2 version.
21518 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21520 * elf/dl-load.c (lose): Add cast to avoid warning.
21522 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21524 * po/ca.po: Update from translation team.
21526 * inet/getnetgrent_r.c: Hook up nscd.
21527 * nscd/Makefile (routines): Add nscd_netgroup.
21528 (nscd-modules): Add netgroupcache.
21529 (CFLAGS-netgroupcache.c): Define.
21530 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21531 (cache_search): Add const to second parameter.
21532 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21534 (dbs): Add netgrdb entry.
21535 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21536 (verify_persistent_db): Handle netgrdb.
21537 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21538 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21540 (netgroup_response_header): Define.
21541 (innetgroup_response_header): Define.
21542 (datahead): Add netgroup_response_header and innetgroup_response_header
21544 * nscd/nscd.conf: Add entries for netgroup cache.
21545 * nscd/nscd.h (dbtype): Add netgrdb.
21546 (_PATH_NSCD_NETGROUP_DB): Define.
21547 (netgroup_iov_disabled): Declare.
21548 (xmalloc, xcalloc, xrealloc): Move declarations here.
21549 (cache_search): Adjust prototype.
21550 Add netgroup-related prototypes.
21551 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21552 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21553 (__nscd_innetgr): Declare.
21554 * nscd/selinux.c (perms): Use access_vector_t as element type and
21555 add netgroup-related initializers.
21556 * nscd/netgroupcache.c: New file.
21557 * nscd/nscd_netgroup.c: New file.
21558 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21559 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21560 For four parameters use innetgr.
21561 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21562 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21563 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21564 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21566 * nscd/connections.c (register_traced_file): Don't register file
21567 for disabled databases.
21569 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21571 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21573 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21574 from tree and freeing node.
21576 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21578 * nss/nsswitch.c (__nss_database_lookup): Handle
21579 nss_parse_service_list out of memory case.
21581 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21583 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21584 out of memory case.
21586 2011-10-04 Andreas Schwab <schwab@redhat.com>
21588 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21589 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21591 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21592 elf_machine_rela, elf_machine_lazy_rel.
21593 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21594 (ELF_DYNAMIC_DO_REL): Likewise.
21595 (ELF_DYNAMIC_DO_RELA): Likewise.
21596 (ELF_DYNAMIC_RELOCATE): Likewise.
21597 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21598 to ELF_DYNAMIC_DO_REL.
21599 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21600 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21601 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21603 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21604 skip_ifunc, don't call ifunc function if non-zero.
21605 (elf_machine_rela): Likewise.
21606 (elf_machine_lazy_rel): Likewise.
21607 (elf_machine_lazy_rela): Likewise.
21608 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21609 (elf_machine_lazy_rel): Likewise.
21610 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21612 (elf_machine_lazy_rel): Likewise.
21613 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21615 (elf_machine_lazy_rel): Likewise.
21616 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21617 (elf_machine_lazy_rel): Likewise.
21618 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21619 (elf_machine_lazy_rel): Likewise.
21620 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21621 (elf_machine_lazy_rel): Likewise.
21622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21623 (elf_machine_lazy_rel): Likewise.
21624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21625 (elf_machine_lazy_rel): Likewise.
21626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21627 (elf_machine_lazy_rel): Likewise.
21629 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21631 * nss/nss_files/files-init.c (_nss_files_init): Use static
21632 initialization for all the *_traced_file variables.
21634 2011-09-28 Andreas Schwab <schwab@redhat.com>
21636 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21638 2011-09-27 Roland McGrath <roland@hack.frob.com>
21641 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21643 2011-09-27 Andreas Schwab <schwab@redhat.com>
21645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21646 Reread the line before reparsing it.
21648 2011-09-26 Andreas Schwab <schwab@redhat.com>
21650 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21652 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21653 Maxim Kuvyrkov <maxim@codesourcery.com>
21654 Joseph Myers <joseph@codesourcery.com>
21656 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21657 if needed for __stack_chk_guard.
21659 2011-09-19 Roland McGrath <roland@hack.frob.com>
21661 * sysdeps/posix/spawni.c (script_execute): Always define it.
21662 It will be optimized away if unused.
21663 (maybe_script_execute): New function.
21664 (__spawni): Call it.
21666 * Makerules: Don't include tls.make.
21667 (config-tls): Always set to thread.
21668 * tls.make.c: File removed.
21670 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21672 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21673 * config.make.in (CPPFLAGS-config): New substituted variable.
21675 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21677 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21680 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21681 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21683 2011-09-15 Roland McGrath <roland@hack.frob.com>
21685 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21686 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21688 (CALL_FAIL): Likewise.
21689 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21690 (CALL_FAIL): Macro removed.
21691 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21693 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21695 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21696 for __FINITE_MATH_ONLY__ == 1.
21698 2011-09-15 Andreas Schwab <schwab@redhat.com>
21700 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21701 __ieee754_sqrt instead of sqrt.
21702 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21703 __ieee754_sqrtf instead of sqrtf.
21704 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21705 __floorf instead of floorf.
21706 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21707 __floorf, __truncf instead of floorf, truncf.
21709 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21711 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21713 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21714 __extern_always_inline.
21715 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21718 2011-09-14 Andreas Schwab <schwab@redhat.com>
21720 * elf/rtld.c (dl_main): Also relocate in dependency order when
21721 doing symbol dependency testing.
21723 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21726 Always define `refsym'.
21728 2011-09-13 Andreas Schwab <schwab@redhat.com>
21730 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21731 (__FD_ELT): Renamed from __FDELT.
21732 * misc/bits/select2.h (__FD_ELT): Likewise.
21733 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21734 __FD_MASK instead of __FDELT, __FDMASK.
21735 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21737 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21740 * elf/Makefile (gen-ldd): Fix pattern.
21742 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21743 (init_tls): Likewise.
21745 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21749 2011-09-12 Andreas Schwab <schwab@redhat.com>
21751 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21752 `struct cmsghdr *' instead of `void *'.
21753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21756 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21758 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21760 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21761 ldd_rewrite_script.
21763 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21765 * configure.in: Remove --with-tls option.
21766 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21767 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21768 out in case it is missing.
21769 * sysdeps/ia64/elf/configure.in: Likewise.
21770 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21771 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21772 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21773 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21774 * sysdeps/sh/elf/configure.in: Likewise.
21775 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21776 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21777 * sysdeps/x86_64/elf/configure.in: Likewise.
21778 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21779 * sysdeps/mach/hurd/tls.h: Likewise.
21782 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21785 * configure.in: Fix use of AC_INIT.
21787 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21789 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21791 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21793 * malloc/hooks.c: Likewise.
21796 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21797 variables statically.
21798 (narenas): Initialize.
21799 (list_lock): Initialize.
21800 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21801 initializtion of main_arena and list_lock. Small cleanups.
21802 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21803 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21804 Add initializers to main_arena and mp_.
21805 (malloc_state): Remove pagesize member. Change all users to use
21808 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21809 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21810 is always initialized.
21812 * malloc/malloc.c: Removed unused configurations and dead code.
21813 * malloc/arena.c: Likewise.
21814 * malloc/hooks.c: Likewise.
21815 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21817 * include/tls.h: Removed. USE___THREAD must always be defined.
21818 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21819 * elf/dl-libc.c: Likewise.
21820 * elf/dl-tsd.c: Likewise.
21821 * include/errno.h: Likewise.
21822 * include/netdb.h: Likewise.
21823 * include/resolv.h: Likewise.
21824 * inet/herrno-loc.c: Likewise.
21825 * inet/herrno.c: Likewise.
21826 * malloc/arena.c: Likewise.
21827 * malloc/hooks.c: Likewise.
21828 * malloc/malloc.c: Likewise.
21829 * resolv/res-state.c: Likewise.
21830 * resolv/res_libc.c: Likewise.
21831 * sysdeps/i386/dl-machine.h: Likewise.
21832 * sysdeps/ia64/dl-machine.h: Likewise.
21833 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21834 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21835 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21836 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21837 * sysdeps/sh/dl-machine.h: Likewise.
21838 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21839 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21840 * sysdeps/unix/i386/sysdep.S: Likewise.
21841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21842 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21843 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21847 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21848 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21851 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21852 * sysdeps/x86_64/dl-machine.h: Likewise.
21853 * tls.make.c: Likewise.
21855 * configure.in: Remove --with-__thread option. Make tests for
21856 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21857 tls_model attribute fail if no support is available. Remove
21859 * Makeconfig: Adjust for dropped configure option. All features are
21861 * Makerules: Likewise.
21862 * Versions.def: Likewise.
21863 * argp/argp-fmtstream.c: Likewise.
21864 * argp/argp-fmtstream.h: Likewise.
21865 * argp/argp-help.c: Likewise.
21866 * assert/assert.c: Likewise.
21867 * config.h.in: Likewise.
21868 * config.make.in: Likewise.
21869 * configure: Likewise.
21870 * configure.in: Likewise.
21871 * csu/Versions: Likewise.
21872 * csu/init.c: Likewise.
21873 * elf/tst-audit2.c: Likewise.
21874 * elf/tst-tls10.c: Likewise.
21875 * elf/tst-tls10.h: Likewise.
21876 * elf/tst-tls11.c: Likewise.
21877 * elf/tst-tls12.c: Likewise.
21878 * elf/tst-tls14.c: Likewise.
21879 * elf/tst-tlsmod11.c: Likewise.
21880 * elf/tst-tlsmod12.c: Likewise.
21881 * elf/tst-tlsmod13.c: Likewise.
21882 * elf/tst-tlsmod13a.c: Likewise.
21883 * elf/tst-tlsmod14a.c: Likewise.
21884 * elf/tst-tlsmod15b.c: Likewise.
21885 * elf/tst-tlsmod16a.c: Likewise.
21886 * elf/tst-tlsmod16b.c: Likewise.
21887 * elf/tst-tlsmod7.c: Likewise.
21888 * elf/tst-tlsmod8.c: Likewise.
21889 * elf/tst-tlsmod9.c: Likewise.
21890 * gmon/gmon.c: Likewise.
21891 * grp/fgetgrent_r.c: Likewise.
21892 * grp/putgrent.c: Likewise.
21893 * hurd/fopenport.c: Likewise.
21894 * include/libc-symbols.h: Likewise.
21895 * include/tls.h: Likewise.
21896 * intl/gettextP.h: Likewise.
21897 * intl/loadinfo.h: Likewise.
21898 * locale/global-locale.c: Likewise.
21899 * locale/localeinfo.h: Likewise.
21900 * mach/devstream.c: Likewise.
21901 * malloc/arena.c: Likewise.
21902 * malloc/set-freeres.c: Likewise.
21903 * misc/err.c: Likewise.
21904 * misc/getttyent.c: Likewise.
21905 * misc/mntent_r.c: Likewise.
21906 * posix/getopt.c: Likewise.
21907 * posix/wordexp.c: Likewise.
21908 * pwd/fgetpwent_r.c: Likewise.
21909 * resolv/Versions: Likewise.
21910 * resolv/res_hconf.c: Likewise.
21911 * shadow/fgetspent_r.c: Likewise.
21912 * shadow/putspent.c: Likewise.
21913 * stdio-common/printf_fphex.c: Likewise.
21914 * stdio-common/tmpfile.c: Likewise.
21915 * stdlib/abort.c: Likewise.
21916 * stdlib/fmtmsg.c: Likewise.
21917 * sunrpc/auth_unix.c: Likewise.
21918 * sunrpc/clnt_perr.c: Likewise.
21919 * sunrpc/clnt_tcp.c: Likewise.
21920 * sunrpc/clnt_udp.c: Likewise.
21921 * sunrpc/clnt_unix.c: Likewise.
21922 * sunrpc/openchild.c: Likewise.
21923 * sunrpc/svc_simple.c: Likewise.
21924 * sunrpc/svc_tcp.c: Likewise.
21925 * sunrpc/svc_udp.c: Likewise.
21926 * sunrpc/svc_unix.c: Likewise.
21927 * sunrpc/xdr.c: Likewise.
21928 * sunrpc/xdr_array.c: Likewise.
21929 * sunrpc/xdr_rec.c: Likewise.
21930 * sunrpc/xdr_ref.c: Likewise.
21931 * sunrpc/xdr_stdio.c: Likewise.
21933 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21935 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21937 2011-07-03 Andreas Jaeger <aj@suse.de>
21939 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21940 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21941 regenerate with gen-libm-tests.pl.
21943 2010-05-12 Petr Baudis <pasky@suse.cz>
21946 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21947 around j0() zero points by switching to j1().
21948 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21949 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21950 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21951 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21953 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21955 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21957 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21960 Patch in part by Pavel Roskin <proski@gnu.org>.
21963 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21965 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21966 Free memory block if necessary.
21969 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21970 be NULL. Don't lock in this case.
21972 2011-09-09 Roland McGrath <roland@hack.frob.com>
21974 * elf/elf.h (ELFOSABI_GNU): New macro.
21975 (ELFOSABI_LINUX): Define to that.
21977 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21979 * string/strncat.c (strncat): Undef the symbol in case it has been
21980 defined in bits/string.h.
21982 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21984 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21986 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21989 2011-08-17 Andreas Jaeger <aj@suse.de>
21991 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21993 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21994 Ian Lance Taylor <iant@google.com>
21996 * math/libm-test.inc (lround_test): New testcase.
21997 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21999 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22001 * Makefile: Remove support for automatic cvs check-ins.
22002 * Makerules: Likewise.
22003 * config.make.in: Likewise.
22004 * configure.in: Likewise.
22005 * intl/Makefile: Likewise.
22006 * locale/Makefile: Likewise.
22007 * po/Makefile: Likewise.
22008 * posix/Makefile: Likewise.
22009 * sysdeps/gnu/Makefile: Likewise.
22010 * sysdeps/mach/hurd/Makefile: Likewise.
22011 * sysdeps/sparc/sparc32/Makefile: Likewise.
22014 * posix/Makefile (bug-regex32-ENV): Define.
22015 Patch by John Stanley <jpsinthemix@verizon.net>.
22017 * misc/Makefile (headers): Add bits/select2.h.
22018 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22019 * misc/bits/select2.h: New file.
22020 * include/bits/select2.h: New file.
22021 * debug/Makefile (routines): Add fdelt_chk.
22022 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22023 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22025 * debug/fdelt_chk.c: New file.
22027 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22028 * wcsmbs/test-wmemcmp.c: Likewise.
22029 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22030 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22032 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22034 * string/Makefile (strop-tests): Add memcmp.
22035 * string/test-wmemcmp.c: New file.
22036 * string/test-memcmp.c: Add wmemcmp support.
22038 2011-09-08 Roland McGrath <roland@hack.frob.com>
22041 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22044 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22045 garbage value in a __mach_port_mod_refs call in the cases of the
22046 task-self and thread-self ports.
22048 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22050 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22052 2011-09-08 Andreas Schwab <schwab@redhat.com>
22054 * elf/dl-load.c (lose): Check for non-null L.
22056 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22058 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22060 * elf/dl-libc.c (dlerror_run): Pass back error code from
22064 * elf/dl-load.c (lose): Free l_origin if it is valid.
22066 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22068 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22069 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22071 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22072 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22073 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22075 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22077 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22078 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22079 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22080 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22081 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22082 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22083 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22084 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22085 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22086 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22088 2011-08-15 Alan Modra <amodra@gmail.com>
22091 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22092 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22093 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22094 ppc_mcount to static-only-routines.
22095 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22097 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22098 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22100 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22102 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22103 for finite and infinity parameters.
22105 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22108 and add nop instructions for throughput optimization.
22109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22111 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22113 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22114 aligned copy for power7 with vector-scalar instructions.
22115 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22117 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22122 2011-09-07 Andreas Schwab <schwab@redhat.com>
22125 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22128 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22130 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22131 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22132 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22133 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22136 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22139 Forgot to demangle the pointer.
22141 * sysdeps/i386/sysdep.h: Define atom_text_section.
22142 * sysdeps/x86_64/sysdep.h: Likewise.
22143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22144 section with atom_text_section.
22145 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22146 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22147 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22148 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22149 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22151 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22152 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22153 already be defined. Change to take two parameters and don't assign
22154 result to variable. Adjust all users.
22155 Define INTERNAL_GETTIME if not already defined.
22156 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22159 HAVE_CLOCK_GETTIME_VSYSCALL.
22160 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22163 gettimeofday vsyscall, just use time.
22165 2011-09-06 Andreas Schwab <schwab@redhat.com>
22167 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22170 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22172 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22176 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22177 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22178 syscall if possible.
22180 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22182 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22183 e_ident. Don't pass to find_mapsXX.
22184 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22186 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22189 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22190 * sysdeps/x86_64/multiarch/strchr.S: Update.
22191 Check bit_slow_BSF bit.
22192 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22193 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22194 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22196 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22199 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22201 (tryshell): Define.
22202 (__spawni): Change last parameter to be flag. Test
22203 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22204 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22205 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22206 * posix/spawni.c: Likewise.
22207 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22208 * posix/spawnp.c: Likewise. Change normal version to use
22209 SPAWN_XFLAGS_USE_PATH.
22210 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22211 SPAWN_XFLAGS_TRY_SHELL.
22214 * posix/glob.h: Remove gcc 1.x support.
22217 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22219 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22222 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22224 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22225 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22226 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22227 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22228 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22229 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22231 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22233 * sysdeps/x86_64/wcscmp.S: New file.
22235 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22236 wcscmp-c wcscmp-sse2
22237 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22238 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22239 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22240 * wcsmbs/wcscmp.c: Allow renaming.
22242 2011-09-05 David S. Miller <davem@davemloft.net>
22244 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22245 stack slot, rather than the struct return pointer slot.
22246 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22247 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22249 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22251 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22253 * po/ja.po: Update from translation team.
22256 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22257 kernel in 64-bit binaries.
22259 2011-09-01 David S. Miller <davem@davemloft.net>
22261 * elf/elf.h (HWCAP_SPARC_*): Move to..
22262 * sysdeps/sparc/sysdep.h: this new file and add new values.
22263 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22264 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22265 _DL_HWCAP_COUNT to 24.
22266 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22268 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22269 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22270 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22272 instead of magic constants.
22273 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22275 2011-08-31 David S. Miller <davem@davemloft.net>
22277 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22279 Reimplement to do errno handling inline.
22280 (SYSCALL_ERROR_HANDLER): New macro.
22281 (__SYSCALL_STRING): Do not do errno handling in asm.
22282 (__CLONE_SYSCALL_STRING): Delete.
22283 (__INTERNAL_SYSCALL_STRING): Delete.
22284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22285 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22286 (PSEUDO): Reimplement to do errno handling inline.
22287 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22288 (SYSCALL_ERROR_HANDLER): New macro.
22289 (__SYSCALL_STRING): Do not do errno handling in asm.
22290 (__CLONE_SYSCALL_STRING): Delete.
22291 (__INTERNAL_SYSCALL_STRING): Delete.
22292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22293 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22295 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22296 (inline_syscall*): Add 'err' argument.
22297 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22298 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22299 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22300 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22302 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22303 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22305 2011-08-30 Andreas Schwab <schwab@redhat.com>
22307 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22309 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22311 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22314 2011-08-24 David S. Miller <davem@davemloft.net>
22316 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22318 2011-08-24 Andreas Schwab <schwab@redhat.com>
22320 * elf/Makefile: Add rules to build and run unload8 test.
22321 * elf/unload8.c: New file.
22322 * elf/unload8mod1.c: New file.
22323 * elf/unload8mod1x.c: New file.
22324 * elf/unload8mod2.c: New file.
22325 * elf/unload8mod3.c: New file.
22327 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22330 2011-08-23 David S. Miller <davem@davemloft.net>
22332 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22333 subtract stack bias.
22334 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22335 %sp not %fp in calculations.
22336 (_JMPBUF_UNWINDS_ADJ): Likewise.
22338 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22339 (aio_suspend): Call it to force an exception region around the
22340 AIO_MISC_WAIT() invocation.
22342 2011-08-23 Andreas Schwab <schwab@redhat.com>
22344 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22347 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22349 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22351 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22352 and <dl-machine.h>.
22353 (Elf64_FuncDesc): Remove.
22355 2011-08-22 David S. Miller <davem@davemloft.net>
22357 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22358 sigaltstack check, add missing cfi directives.
22359 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22360 missing cfi directives, and sigaltstack handling.
22362 2011-08-16 Andreas Schwab <schwab@redhat.com>
22365 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22366 object is seen twice.
22367 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22369 * elf/Makefile (distribute): Add tst-initorder2.c.
22370 (tests): Add tst-initorder2.
22371 (modules-names): Add tst-initorder2a tst-initorder2b
22372 tst-initorder2c tst-initorder2d. Add rules to build them.
22373 ($(objpfx)tst-initorder2.out): New rule.
22374 * elf/tst-initorder2.c: New file.
22375 * elf/tst-initorder2.exp: New file.
22377 2011-08-22 Andreas Schwab <schwab@redhat.com>
22379 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22381 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22382 dependencies back to end of function.
22384 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22385 $(elfobjdir)/ld.so.
22387 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22390 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22392 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22393 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22394 of __vdso_gettimeofday.
22395 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22396 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22398 (_libc_vdso_platform_setup): Remove initialization of
22399 __vdso_gettimeofday and __vdso_time.
22401 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22403 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22404 and fgetc_unlocked.
22405 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22408 * elf/dl-open.c (add_to_global): Report additions to the global scope
22409 for LD_DEBUG=scopes.
22410 (dl_open_worker): Also print scope of newly loaded dependencies.
22411 (_dl_show_scope): Indicate if there is no scope.
22414 * stdio-common/Makefile (tests): Add bug24.
22415 * stdio-common/bug24.c: New file.
22417 2011-08-19 Andreas Jaeger <aj@suse.de>
22420 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22421 non-existant file when using close-on-exec mode.
22423 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22426 the very first instruction.
22428 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22429 the CFI state in the end.
22430 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22431 inclusion of dl-trampoline.h.
22432 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22434 2011-08-19 Andreas Schwab <schwab@redhat.com>
22436 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22437 expectations for long double.
22439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22440 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22442 2011-08-14 David S. Miller <davem@davemloft.net>
22444 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22445 artificual limit depends upon the system page size.
22447 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22449 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22450 * resolv/Makefile: Define CFLAGS-libresolv.
22452 2011-08-17 Andreas Schwab <schwab@redhat.com>
22454 * nss/makedb.c (compute_tables): Make variables used in nested
22457 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22459 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22460 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22461 if buffer was too small.
22463 * elf/pldd.c (main): Attach to all threads in the process.
22464 Rewrite /proc handling to use *at functions.
22466 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22468 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22469 specifies first scope to show.
22470 (dl_open_worker): Update callers. Move printing scope of new
22471 object to before the relocation.
22472 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22473 * sysdeps/generic/ldsodefs.h: Update declaration.
22475 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22476 string for the scope number.
22478 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22480 * nscd/servicescache.c (cache_addserv): Make sure written is always
22483 2011-08-14 Roland McGrath <roland@hack.frob.com>
22485 * sysdeps/i386/i486/bits/atomic.h
22486 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22487 statement expression, so as to suppress "set but not used" warning.
22488 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22490 * string/strncat.c (STRNCAT): Use prototype definition.
22492 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22493 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22495 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22496 (localedef-modules): Add localedef.
22497 (locale-modules): Add locale.
22499 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22500 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22501 to avoid a warning.
22503 2011-08-14 David S. Miller <davem@davemloft.net>
22505 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22506 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22508 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22510 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22511 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22512 * elf/rtld.c (dl_main): Set l_name of vDSO.
22513 Call _dl_show_scope when DL_DEBUG_SCOPES.
22514 (process_dl_debug): Recognize scopes flag and also set it for all.
22515 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22516 Declare _dl_show_scope.
22518 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22519 (do_dlopen): Pass caller_dlopen to dl_open.
22520 (__libc_dlopen_mode): Initialize caller_dlopen.
22522 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22523 of libc. Make tolower call locale-independent. Optimize a bit by
22524 using isdigit instead of isalnum.
22525 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22527 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22529 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22530 was a dependency or dynamically loaded.
22532 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22534 * intl/l10nflist.c: Allow architecture-specific pop function.
22535 * sysdeps/x86_64/l10nflist.c: New file.
22537 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22540 2011-08-10 Andreas Schwab <schwab@redhat.com>
22542 * include/dirent.h: Add libc_hidden_proto for scandirat and
22543 scandirat64. Don't declare __scandirat64.
22544 * dirent/scandirat.c: Add libc_hidden_def.
22545 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22546 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22548 2011-08-10 David S. Miller <davem@davemloft.net>
22550 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22552 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22554 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22556 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22558 * Versions.def [libc]: Add GLIBC_2.15.
22559 * dirent/Makefile (routines): Add scandirat and scandirat64.
22560 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22562 * dirent/dirent.h: Declare scandirat and scandirat64.
22563 * dirent/scandirat.c: New file.
22564 * dirent/scandirat64.c: New file.
22565 * sysdeps/wordsize-64/scandirat.c: New file.
22566 * sysdeps/wordsize-64/scandirat64.c: New file.
22567 * dirent/opendir.c: Define opendirat.
22568 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22570 * dirent/scandir64.c: Adjust for scandir.c change.
22571 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22572 __scandirat64, and __scandir_cancel_handler.
22573 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22574 additional parameter and use openat instead of open (outside of ld.so).
22575 Add new __opendir as wrapper around __opendirat.
22576 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22577 here without requiring old scandirat implementation.
22579 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22581 * dirent/scandir.c (cancel_handler): Renamed to
22582 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22583 defined. Adjust users.
22584 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22585 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22587 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22589 * string/test-string.h (IMPL): Use __STRING to expand name and then
22592 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22595 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22597 * string/Makefile: Update.
22598 (strop-tests): Append strncat.
22599 * string/test-wcscmp.c: New file.
22600 New comprehensive test for wcscmp.
22601 * string/test-strcmp.c: Update.
22602 (WIDE): New define.
22604 2011-07-22 Andreas Schwab <schwab@redhat.com>
22606 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22609 2011-07-26 Andreas Schwab <schwab@redhat.com>
22611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22612 encoding to ACE if AI_IDN.
22614 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22616 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22617 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22619 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22621 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22622 Fix overflow bug in strncat.
22623 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22625 * string/test-strncat.c: Update.
22626 Add new tests for checking overflow bugs.
22628 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22631 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22632 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22633 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22634 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22635 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22636 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22637 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22638 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22641 (USE_AS_STRCAT): Define.
22642 Add strcat and strncat support.
22643 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22645 2011-07-25 Andreas Schwab <schwab@redhat.com>
22647 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22648 __n bigger than INT_MAX+1.
22649 (__strncmp_g): Likewise.
22651 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22653 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22654 * libio/stido.h: Likewise.
22656 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22661 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22662 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22663 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22668 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22671 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22673 (_dl_x86_64_save_sse): Likewise.
22675 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22679 (_dl_x86_64_save_sse): Likewise.
22681 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22683 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22685 2011-07-21 Andreas Schwab <schwab@redhat.com>
22687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22689 (_dl_x86_64_save_sse): Use correct AVX check.
22691 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22693 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22694 bug in strncpy/strncat.
22695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22697 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22699 * string/tester.c (test_strcat): Add tests for different alignments
22700 of source and destination.
22701 (test_strncat): Likewise.
22703 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22706 * posix/glob.c (glob): Check passed in values before using them in
22707 expressions to avoid some overflows.
22708 (glob_in_dir): Likewise.
22711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22712 check for AVX enablement so that we don't crash with old kernels and
22714 * elf/tst-audit4.c: Add same checks here.
22715 * elf/tst-audit6.c: Likewise.
22717 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22719 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22721 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22723 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22725 * po/cs.po: Update from translation team.
22726 * po/bg.po: Likewise.
22728 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22730 * misc/sys/cdefs.h: Add support for const attribute.
22731 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22732 to gnu_dev_{major,minor,makedev} functions.
22734 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22736 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22738 2011-07-20 Andreas Schwab <schwab@redhat.com>
22740 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22743 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22746 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22747 register in order to avoid conflicts with the soft frame pointer
22748 being held in r11 when necessary.
22749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22750 (INTERNAL_VSYSCALL_NCS): Likewise.
22752 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22754 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22755 * elf/dl-fini.c (_dl_fini): Adjust caller.
22756 * elf/dl-close.c (_dl_close_worker): Likewise.
22757 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22759 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22761 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22762 "aux_cache->nlibs < 0".
22764 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22765 in the reload-count case.
22767 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22770 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22771 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22772 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22773 * sysdeps/x86_64/multiarch/strcat.S: New file.
22774 * sysdeps/x86_64/multiarch/strncat.S: New file.
22775 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22776 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22777 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22778 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22780 (USE_AS_STRCAT): Define.
22781 Add strcat and strncat support.
22782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22783 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22784 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22785 * string/strncat.c: Update.
22786 (USE_AS_STRNCAT): Define.
22787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22788 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22790 * sysdeps/x86_64/multiarch/init-arch.h
22791 (bit_Prefer_PMINUB_for_stringop): New.
22792 (index_Prefer_PMINUB_for_stringop): Likewise.
22793 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22794 bit_Prefer_PMINUB_for_stringop.
22796 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22798 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22800 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22801 of casting of buffer.
22802 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22803 buffer32 and buffer64.
22804 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22805 writes instead of casting of buffer.
22806 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22808 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22811 2011-07-19 Andreas Schwab <schwab@redhat.com>
22813 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22815 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22817 * nscd/nscd.c (termination_handler): Don't do anything for a database
22818 if it has not yet been initialized.
22820 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22822 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22824 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22826 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22828 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22830 * po/nl.po: Update from translation team.
22831 * po/sv.po: Likewise.
22833 2011-07-16 Roland McGrath <roland@hack.frob.com>
22835 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22836 now disallowed by GCC.
22838 * configure.in (use-default-link): Default to yes if a test -shared
22839 link meets our qualifications.
22840 * configure: Regenerated.
22842 * config.make.in (output-format): New variable.
22843 * configure.in: Check for ld --print-output-format support.
22844 * configure: Regenerated.
22845 * Makerules ($(common-objpfx)format.lds)
22846 [$(output-format) != unknown]: Just use $(output-format),
22847 instead of the linker-script munging.
22849 2011-07-14 Roland McGrath <roland@hack.frob.com>
22851 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22852 of $(common-objpfx)shlib.lds.
22853 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22855 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22856 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22858 * configure.in (-z relro check): Adjust test code to add a large
22859 writable data section after it.
22860 * configure: Regenerated.
22862 2011-07-11 Roland McGrath <roland@hack.frob.com>
22864 * configure.in (-z relro check): Fix test code to make the variable
22866 * configure: Regenerated.
22868 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22870 * nscd/nscd.h (struct traced_file): Define.
22871 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22872 elements. Add traced_files.
22873 (inotify_fd): Declare.
22874 (register_traced_file): Declare.
22875 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22876 (inotify_fd): Export.
22877 (resolv_conf_descr): Remove.
22878 (nscd_init): Move inotify descriptor creation to main.
22879 Don't register files for notification here.
22880 (register_traced_file): New function.
22881 (invalidate_cache): Don't use reset_res to determine whether to call
22882 res_init, go through the list of registered files.
22883 (main_loop_poll): The inotify descriptors are now stored in the
22884 structures for the traced files.
22885 (main_loop_epoll): Likewise
22886 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22887 to __nss_disable_nscd.
22888 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22889 for a database anymore. Check the records for all the registered
22891 * nss/Makefile (libnss_files-routines): Add files-init.
22892 (libnss_db-routines): Add db-init.
22893 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22894 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22895 * nss/nss_db/db-init.c: New file.
22896 * nss/nss_files/files-init.c: New file.
22897 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22898 __nss_lookup_function.
22899 (__nss_lookup_function): Call nss_load_library.
22900 (nss_load_all_libraries): New function.
22901 (__nss_disable_nscd): Take parameter with callback function for files
22902 to register. Set is_nscd. Load all the DSOs for the NSS modules
22903 used for the cached services.
22904 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22905 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22906 options for features to all the files in nscd.
22908 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22910 2011-07-10 Roland McGrath <roland@hack.frob.com>
22912 * csu/elf-init.c (__libc_csu_init): Comment typo.
22914 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22916 * po/pl.po: Update from translation team.
22917 * po/ja.po: Likewise.
22918 * po/ru.po: Likewise.
22919 * po/ko.po: Likewise.
22920 * po/fr.po: Likewise.
22922 2011-07-09 Roland McGrath <roland@hack.frob.com>
22924 * configure.in (.ctors/.dtors header and trailer check):
22925 Use an empirical test on a built program.
22926 * configure: Regenerated.
22928 * configure.in (-z relro check): Use an empirical test on a built DSO.
22929 Detect, but do not require, on ia64.
22930 * configure: Regenerated.
22932 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22933 Update tests that use readelf to use $READELF instead.
22934 * configure: Regenerated.
22936 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22938 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22939 if the result is not used.
22941 2011-07-05 Andreas Jaeger <aj@suse.de>
22944 * stdlib/tst-strtod.c: Add testcase.
22946 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22948 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22949 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22950 The latter has a higher limit. Take additional parameter to pass to
22952 (__pathconf): Pass file to __statfs_link_max.
22953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22955 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22959 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22960 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22962 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22963 (__statfs_filesize_max): Likewise.
22964 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22966 2011-07-05 Andreas Jaeger <aj@suse.de>
22968 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22970 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22972 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22974 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22977 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22979 * Makefile (strop-tests): Add strncat.
22980 * string/test-strncat.c: New file.
22982 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22984 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22986 2011-06-21 Andreas Jaeger <aj@suse.de>
22988 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22989 Copy rule from iconvdata/Makefile.
22991 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22994 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22995 but no long options are defined, just return 'W'.
22997 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23000 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23002 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23004 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23006 (innetgr): Likewise.
23008 2011-07-05 Roland McGrath <roland@hack.frob.com>
23010 * config.make.in (install_root): Default to $(DESTDIR).
23012 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23014 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23016 2011-07-02 Roland McGrath <roland@hack.frob.com>
23018 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23020 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23021 containing directory rather than embedding absolute directory names.
23023 * scripts/check-local-headers.sh: Rewritten using awk.
23024 Match by word, not by line. Print error messages for matches.
23025 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23027 * Makerules [shlib-lds-flags empty]:
23028 ($(common-objpfx)libc_pic.opts): New target.
23029 ($(common-objpfx)libc_pic.os.clean): New target.
23030 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23032 * config.make.in (OBJCOPY): New variable.
23033 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23034 * configure: Regenerated.
23036 * config.make.in (use-default-link): New variable.
23037 * configure.in (use_default_link): Grok --with-default-link to set it.
23038 * configure: Regenerated.
23039 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23040 (shlib-lds, shlib-lds-flags): Define to empty.
23042 * Makerules (shlib-lds): New variable.
23043 (shlib-lds-flags): New variable.
23044 (build-shlib, build-moduile, build-module-asneeded): Use it.
23045 ($(common-objpfx)libc.so): Use $(shlib-lds).
23046 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23047 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23049 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23050 DT_FLAGS/DT_FLAGS_1 with zero flags.
23052 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23053 linker script munging.
23055 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23057 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23059 * crypt/sha512.c (sha512_process_block): Perform total addition using
23060 128-bit if possible.
23061 (__sha512_finish_ctx): Likewise.
23062 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23064 * crypt/sha256.c (SWAP64): Define.
23065 (sha256_process_block): Perform total addition using 64-bit if
23067 (__sha256_finish_ctx): Likewise.
23069 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23071 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23072 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23073 * nscd/hstcache.c (cache_addhst): Likewise.
23074 * nscd/grpcache.c (cache_addgr): Likewise.
23075 * nscd/aicache.c (addhstaiX): Likewise
23076 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23078 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23080 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23082 * nscd/hstcache.c (cache_addhst): Likewise.
23083 * nscd/grpcache.c (cache_addgr): Likewise.
23084 * nscd/aicache.c (addhstaiX): Likewise
23086 2011-07-01 Andreas Schwab <schwab@redhat.com>
23088 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23089 domain only when needed.
23091 2011-06-30 Andreas Schwab <schwab@redhat.com>
23093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23094 is always restored.
23096 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23098 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23099 are re-adding the entry.
23100 * nscd/servicescache.c (cache_addserv): Likewise.
23102 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23104 * sysdeps/generic/dl-irel.h: fix protection against multiple
23106 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23108 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23111 * malloc/memusage.sh: Fix quoting in message.
23112 * debug/xtrace.sh: Likewise.
23114 * configure.in: Remove support for --experimental-malloc option, make
23116 * config.make.in: Likewise.
23117 * malloc/Makefile: Likewise.
23119 2011-06-27 Andreas Schwab <schwab@redhat.com>
23121 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23122 two-byte characters.
23124 2011-06-27 Roland McGrath <roland@hack.frob.com>
23126 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23127 AC_CACHE_CHECK invocation.
23128 * configure: Regenerated.
23130 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23132 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23135 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23136 bit from old_res_options.
23138 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23140 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23141 value type for setfct.
23143 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23145 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23146 __gettimeofday instead of gettimeofday.
23148 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23150 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23152 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23159 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23162 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23163 strcpy-sse2-unaligned strncpy-sse2-unaligned
23164 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23165 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23166 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23167 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23168 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23169 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23170 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23171 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23172 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23173 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23174 (STRCPY): Support SSE2 and SSSE3 versions.
23176 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23179 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23180 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23181 kernels which artificially limit size of requests.
23183 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23186 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23187 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23188 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23189 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23190 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23191 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23192 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23193 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23195 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23196 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23197 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23198 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23199 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23201 Enable unaligned load optimization for Intel Core i3, i5 and i7
23203 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23205 (index_Fast_Unaligned_Load): Define.
23206 (HAS_FAST_UNALIGNED_LOAD): Define.
23208 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23210 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23212 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23215 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23216 until it is clear that the information is realy needed.
23217 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23219 2011-06-22 Andreas Schwab <schwab@redhat.com>
23221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23223 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23226 /sys/devices/system/cpu/online if it is usable.
23228 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23229 reading the information from the /proc filesystem to once a second.
23231 2011-06-21 Andreas Jaeger <aj@suse.de>
23233 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23234 NULL after inclusion of kernel headers.
23236 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23238 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23239 calls to internal_setent.
23242 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23243 addresses using gethostbyname4_r ignore IPv4 addresses.
23245 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23246 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23248 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23250 2011-06-20 David S. Miller <davem@davemloft.net>
23252 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23254 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23256 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23257 (elf_irel): Use it.
23258 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23259 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23260 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23261 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23262 * sysdeps/x86_64/dl-irel.h: Likewise.
23264 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23265 * elf/dl-sym.c: Likewise.
23267 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23269 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23270 need to dereference resplen2.
23272 2011-06-14 Andreas Schwab <schwab@redhat.com>
23274 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23276 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23278 * Makeconfig: Define vardbdir and inst_vardbdir.
23279 * nss/Makefile: Add rules to install db-Makefile.
23281 * nss/nss_db/db-XXX.c: Cleanup.
23283 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23284 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23286 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23287 * nss/makedb.c: Implement -g option to specify that value strings
23288 are generated and should not be added to table iterated over for
23290 * nss/nss_db/db-initgroups.c: New file.
23292 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23295 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23296 (internal_getgrouplist): Adjust to name change.
23297 Update use_initgroups_entry if this is not the first call.
23298 * nss/databases.def: Add initgroups entry.
23300 * nss/makedb.c (compute_tables): Check result of multiple hash table
23301 sizes to minimize maximum chain length.
23303 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23305 * Versions.def: Add entry for libnss_db.
23306 * shlib-versions: Likewise.
23307 * nss/Makefile: Add rules to build libnss_db.
23308 * nss/Versions: Add libnss_db information. Organize libnss_files
23310 * nss/db-Makefile: Add gshadow support. Change rules for the new
23311 makedb progra. Some minor improvements to generate smaller files.
23312 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23314 * nss/makedb.c: ...here.
23315 Improve database format to be smaller and require less memory at
23317 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23319 * nss/nss_db/db-netgrp.c: Likewise.
23320 * nss/nss_db/db-open.c: Likewise.
23321 * nss/nss_files/flies-XXX.x: Adjust comments.
23322 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23323 * nss/nss_files/files-grp.c: Likewise.
23324 * nss/nss_files/files-hosts.c: Likewise.
23325 * nss/nss_files/files-network.c: Likewise.
23326 * nss/nss_files/files-proto.c: Likewise.
23327 * nss/nss_files/files-pwd.c: Likewise.
23328 * nss/nss_files/files-rpc.c: Likewise.
23329 * nss/nss_files/files-service.c: Likewise.
23330 * nss/nss_files/files-sgrp.c: Likewise.
23331 * nss/nss_files/files-spwd.c: Likewise.
23332 * nss/nss_db/db-alias.c: Removed.
23333 * nss/nss_db/dummy-db.h: Removed.
23335 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23337 * nss/makedb.c: Rewritten to not use database library.
23338 * nss/Makefile: Update to build new makedb program.
23340 2011-06-14 Andreas Jaeger <aj@suse.de>
23342 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23343 memset declaration.
23345 2011-06-10 Andreas Schwab <schwab@redhat.com>
23347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23350 2011-06-10 Roland McGrath <roland@hack.frob.com>
23352 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23353 * elf/Makefile ($(objpfx)ld.so): Likewise.
23355 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23356 Don't list ld.so twice in dependencies.
23358 * posix/bug-regex31.c: Include <stdlib.h>.
23360 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23362 * nis/nss_compat/compat-spwd.c
23363 (getspent_next_nss_netgr): Remove unused variable.
23364 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23366 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23367 nonmembers" output to use the right array.
23369 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23371 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23373 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23374 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23375 * catgets/gencat.c (read_input_file): Likewise.
23376 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23378 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23379 variable definition inside #if's controlling its use.
23381 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23383 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23385 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23387 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23390 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23392 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23393 * configure: Regenerated.
23395 * Makerules: Revert last change.
23396 * elf/Makefile: Likewise.
23398 2011-06-09 Roland McGrath <roland@hack.frob.com>
23400 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23401 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23402 (reloc-link): Likewise.
23404 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23406 * elf/Makefile: Add rules to build pldd.
23407 * elf/pldd.c: New file.
23408 * elf/pldd-xx.c: New file.
23410 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23412 * version.h: Update for 2.15 development version.
23414 2011-06-07 David S. Miller <davem@davemloft.net>
23416 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23419 elf_machine_lazy_rel): Likewise.
23420 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23422 elf_machine_lazy_rel): Likewise.
23423 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23424 dl_hwcap via passed in argument.
23425 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23428 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23430 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23432 2011-06-06 Roland McGrath <roland@hack.frob.com>
23435 * manual/fdl-1.1.texi: New file, verbatim from:
23436 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23437 * manual/lgpl-2.1.texi: New file, verbatim from:
23438 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23439 * manual/Makefile (licenses): New variable, list those new file names.
23441 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23443 * manual/fdl.texi: File removed.
23444 * manual/lesser.texi: File removed.
23445 * manual/libc.texinfo (Copying, Documentation License):
23446 Use new @include file names, put @appendix directive before @include.
23448 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23451 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23452 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23453 (mq_open): Add __NTH.
23455 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23458 Assume Intel Core i3/i5/i7 processor if AVX is available.
23460 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23465 2011-05-31 Andreas Schwab <schwab@redhat.com>
23467 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23468 memory. Use alloca_account. Fix memory leak when retrying.
23470 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23472 * version.h (RELEASE): Bump for 2.14 release.
23473 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23475 * config.make.in (RANLIB): Remove entry.
23477 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23479 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23480 (libc.pot): Work around missing support for .ksh extension in xgettext.
23483 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23484 if both request failed.
23485 (send_dg): In case of server errors clear resplen or *resplen2.
23488 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23489 when there are multiple maps.
23490 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23491 (_dl_fini): Remove test here.
23493 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23495 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23498 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23499 bit from old_res_options.
23500 (gaih_inet): Likewise.
23503 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23506 * resolv/res_init.c (res_setoptions): Make the code more compact.
23509 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23513 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23515 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23518 * malloc/malloc.h: Declare malloc hook variables as volatile.
23520 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23524 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23525 raise in the comment.
23526 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23528 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23530 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23533 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23534 grow the buffers more if it already has to be sufficient.
23535 (build_wcs_upper_buffer): Likewise.
23536 * posix/regexec.c (check_matching): Likewise.
23537 (clean_state_log_if_needed): Likewise.
23538 (extend_buffers): Don't enlarge buffers beyond size of the input
23540 Patches mostly by Emil Wojak <emil@wojak.eu>.
23541 * posix/bug-regex32.c: New file.
23542 * posix/Makefile (tests): Add bug-regex32.
23544 * locale/findlocale.c (_nl_find_locale): Return right away if
23545 _nl_explode_name failed.
23546 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23548 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23550 * debug/xtrace.sh: Unify messages.
23551 * malloc/memusage.sh: Likewise.
23554 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23555 time symbol from vDSO. Substitute with vsyscall if not available.
23556 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23559 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23560 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23561 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23562 Add sendmmsg and internal_sendmmsg.
23563 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23564 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23565 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23567 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23568 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23569 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23571 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23574 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23575 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23581 * iconvdata/Makefile (tests): Add bug-iconv9.
23582 * iconvdata/bug-iconv9.c: New file.
23584 2011-05-27 Andreas Schwab <schwab@redhat.com>
23587 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23589 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23591 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23592 (struct user_regs_struct): Change intcs field back to cs.
23594 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23596 * po/ja.po: Update from translation team.
23598 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23601 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23602 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23604 2011-05-20 Andreas Schwab <schwab@redhat.com>
23606 * stdlib/longlong.h: Update from GCC.
23608 2011-05-23 Andreas Schwab <schwab@redhat.com>
23610 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23612 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23613 Add parameter name.
23614 (__sysconf): Pass it down.
23616 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23619 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23621 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23622 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23623 add in in __libc_use_alloca calls. Adjust callers.
23624 (glob): Use malloc in some situations.
23626 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23627 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23630 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23632 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23633 and CLOCK_BOOTTIME_ALARM.
23636 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23639 * string/_strerror.c (__strerror_r): Print negative errors as signed
23643 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23644 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23645 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23647 * configure.in: Fix typo in redirection and correct removal of test
23648 files in two cases.
23651 * locale/setlocale.c (new_composite_name): Fix test to check for
23652 identical name of all categories.
23655 * libio/filedoalloc.c (local_isatty): New function.
23656 (_IO_file_doallocate): Use local_isatty.
23657 * stdio-common/perror.c (perror): In case a new stream is used
23658 forward the stream error.
23659 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23662 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23667 * include/alloca.h (extend_alloca_account): Define.
23670 * posix/regex.h: Fix comments with documentation of user-accessible
23671 fields after compilation and describe correct free'ing of pattern
23672 after re_compile_pattern.
23673 Patch by Reuben Thomas <rrt@sc3d.org>.
23675 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23677 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23678 and -mno-altivec to prevent the compiler from using Altivec and/or
23679 VSX instructions when the corresponding registers are not available.
23681 2011-05-19 Andreas Schwab <schwab@redhat.com>
23683 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23685 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23687 * libio/freopen.c (freopen): Use __dup2, not dup2.
23688 * libio/freopen64.c (freopen64): Likewise.
23690 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23693 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23694 * math/Makefile (tests): Add test-powl.
23695 (CFLAGS-test-powl.c): Define.
23696 * math/test-powl.c: New file.
23698 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23700 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23702 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23705 * iconvdata/gb18030.c: Update to GB18020-2005.
23707 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23709 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23710 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23711 Patch by Aharon Robbins <arnold@skeeve.com>.
23714 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23718 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23719 through underflows.
23722 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23723 point to strings before performing equality test for error_one_per_line
23727 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23730 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23731 (struct user_fpregs_struct): Avoid __uint*_t types.
23734 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23735 symbol info. Use it instead of calling _dl_addr locally.
23736 (lock_and_info): New function.
23737 (tr_freehook): Call lock_and_info and pass symbol info as additional
23738 parameter to tr_where.
23739 (tr_mallochook): Likewise.
23740 (tr_reallochook): Likewise.
23741 (tr_memalignhook): Likewise.
23743 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23744 used and couldn't be at all thread-safe.
23746 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23748 * libio/freopen.c (freopen): Don't close old file descriptor
23749 before the new one is opened. Instead dup the new file descriptor
23750 to the old one after the new stream is created.
23751 * libio/freopen64.c (freopen64): Likewise.
23752 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23753 * libio/fileops.c (_IO_new_file_close_it): Handle new
23754 _IO_FLAGS2_NOCLOSE flag.
23755 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23756 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23757 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23758 _IO_FLAGS2_NOCLOSE flag.
23759 * include/unistd.h: Add hidden_proto for dup3.
23760 Define __have_dup3.
23761 * io/dup3.c: Define hidden symbol.
23762 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23765 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23766 when an incomplete long option is used.
23767 * posix/tst-getopt_long1.c: New file.
23768 * posix/Makefile (tests): Add tst-getopt_long1.
23771 * scripts/config.guess: Update from autoconf-2.68.
23772 * scripts/config.sub: Likewise.
23775 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23777 (has_cpuclock): ...this. New function.
23778 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23779 macro here based on has_cpuclock code.
23782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23783 First byte (not low byte) is now always NUL.
23784 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23787 Use non-cancelable interfaces.
23790 * locale/iso-639.def: Add entry for Sorani.
23793 * include/stdlib.h: Move include protection to the right place.
23794 Define abort_msg_s. Declare __abort_msg with it.
23795 * stdlib/abort.c (__abort_msg): Adjust type.
23796 * assert/assert.c (__assert_fail_base): New function. Majority
23797 of code from __assert_fail. Allocate memory for __abort_msg with
23799 (__assert_fail): Now call __assert_fail_base.
23800 * assert/assert-perr.c: Remove bulk of implementation. Use
23801 __assert_fail_base.
23802 * include/assert.hL Declare __assert_fail_base.
23803 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23805 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23807 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23811 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23812 until all modules are registered in the DTV.
23813 * elf/Makefile: Add rules to build and run tst-tls19.
23814 * elf/tst-tls19.c: New file.
23815 * elf/tst-tls19mod1.c: New file.
23816 * elf/tst-tls19mod2.c: New file.
23817 * elf/tst-tls19mod3.c: New file.
23818 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23821 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23825 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23826 two-byte sequence errors.
23827 * iconvdata/Makefile (tests): Add bug-iconv8.
23828 * iconvdata/bug-iconv8.c: New file.
23831 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23834 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23837 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23838 (dummy_getcfa): New function.
23839 (init): Get _Unwind_GetCFA address, use dummy if not found.
23840 (backtrace_helper): In recursion check, also check whether CFA changes.
23841 (__backtrace): Completely initialize arg.
23843 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23844 storing incomplete byte sequence in state object. Avoid testing for
23845 guaranteed too small input if we know there is enough data available.
23847 2011-05-11 Andreas Schwab <schwab@redhat.com>
23849 * Makeconfig (+link-pie): Indent.
23850 * Rules (binaries-pie): Define if $(have-fpie) and
23852 (binaries-shared): Also filter out $(binaries-pie).
23853 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23854 * nscd/Makefile (others-pie): Add nscd.
23855 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23856 ($(objpfx)nscd): Remove command override.
23857 * login/Makefile (others-pie): Add pt_chown.
23858 ($(objpfx)pt_chown): Remove command override.
23859 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23860 remove command overrides.
23862 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23864 * libio/tst_putwc.c: Fix error messages.
23867 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23868 currently writing and seek to current position when not.
23869 * libio/Makefile (tests): Add bug-fclose1.
23870 * libio/bug-fclose1.c: New file.
23872 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23875 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23876 don't set DF_1_NODELETE here.
23877 (do_lookup_x): When entering new entry test for copy relocation
23878 and if necessary set DF_1_NODELETE flag.
23879 * elf/tst-unique4.cc: New file.
23880 * elf/tst-unique4.h: New file.
23881 * elf/tst-unique4lib.cc: New file.
23882 * elf/Makefile: Add rules to build and run tst-unique4.
23883 Patch by Piotr Bury <pbury@goahead.com>.
23885 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23888 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23891 * misc/mntent_r.c (addmntent): Flush the stream after the output
23894 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23895 (is_trusted_path_normalize): Skip initial colon. Append slash
23896 to empty buffer. Duplicate is_trusted_path code but allow
23897 constructed patch to be prefix.
23898 (is_dst): Allow $ORIGIN followed by /.
23899 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23900 Correct testing of result of is_trusted_path_normalize
23901 (decompose_rpath): Fix warning.
23903 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23906 * grp/initgroups.c (internal_getgrouplist): When we found the service
23907 list through the initgroups entry in nsswitch.conf do not always
23908 continue on a successful lookup. Don't always use the
23909 __nss_group_database value if it is set.
23910 * nss/nsswitch.conf (initgroups): Change action for successful db
23911 lookup to continue for compatibility.
23913 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23916 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23918 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23920 * iconvdata/tst-tables.sh: Likewise.
23921 * iconvdata/cp770.c: New file.
23922 * iconvdata/cp771.c: New file.
23923 * iconvdata/cp772.c: New file.
23924 * iconvdata/cp773.c: New file.
23925 * iconvdata/cp774.c: New file.
23926 * iconvdata/testdata/CP770: New file.
23927 * iconvdata/testdata/CP770..UTF8: New file.
23928 * iconvdata/testdata/CP771: New file.
23929 * iconvdata/testdata/CP771..UTF8: New file.
23930 * iconvdata/testdata/CP772: New file.
23931 * iconvdata/testdata/CP772..UTF8: New file.
23932 * iconvdata/testdata/CP773: New file.
23933 * iconvdata/testdata/CP773..UTF8: New file.
23934 * iconvdata/testdata/CP774: New file.
23935 * iconvdata/testdata/CP774..UTF8: New file.
23937 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23939 * iconvdata/gen-8bit-gap.sh: Likewise.
23940 * iconvdata/gen-8bit.sh: Likewise.
23942 * locale/iso-639.def: Add ary entry.
23945 * locale/C-translit.h.in: Add U20A1 transliteration.
23948 * locale/iso-639.def: Add wae entry.
23949 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23952 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23956 * locale/C-translit.h.in: Add entry for U20B9.
23957 Patch by pravin.d.s@gmail.com.
23959 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23962 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23963 ENAMETOOLONG use generic getcwd.
23964 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23965 in rtld. Use *stat64.
23966 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23967 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23968 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23969 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23970 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23971 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23972 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23973 __fstatat64 macros.
23974 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23975 * dirent/rewinddir.c: Add libc_hidden_def.
23976 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23977 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23979 * include/dirent.h (__alloc_dir): Add flags parameter.
23980 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23981 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23983 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23984 from fdopendir if O_CLOEXEC is already set.
23986 2011-03-15 Alan Modra <amodra@gmail.com>
23988 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23989 l_tls_firstbyte_offset non-zero. Save padding offset in
23990 l_tls_firstbyte_offset for later use.
23991 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23992 freeing static tls block.
23994 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23996 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23997 where #ifdef was intended. The intent is to prevent ARG_MAX from
23998 being defined by the kernel headers.
24000 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24003 * resolv/resolv.h: Define RES_NOTLDQUERY.
24004 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24005 no-tld-query and set RES_NOTLDQUERY.
24006 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24007 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24008 modern BIND to search name as TLD unless forbidden.
24010 2011-05-07 Petr Baudis <pasky@suse.cz>
24011 Ulrich Drepper <drepper@gmail.com>
24014 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24015 (is_trusted_path): ...to here.
24016 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24017 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24018 using is_trusted_path_normalize() in setuid scripts.
24020 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24022 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24023 __BEGIN/__END_DECLS.
24025 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24028 NSS_STATUS_NOTFOUND if no record was found.
24030 2011-05-05 Andreas Schwab <schwab@redhat.com>
24032 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24033 (headers-not-in-tirpc): Remove rpc/netdb.h
24034 * resolv/netdb.h: Revert last change.
24036 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24038 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24039 circular dependency between libgcc.a and libc.a.
24041 2011-05-05 Andreas Schwab <schwab@redhat.com>
24043 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24044 * nis/Makefile: Don't install rpcsvc/*.
24045 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24046 instead of <rpc/types.h>.
24047 (MAXHOSTNAMELEN): Define.
24049 2011-05-03 Andreas Schwab <schwab@redhat.com>
24051 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24053 2011-04-28 Maciej Babinski <mbabinski@google.com>
24056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24057 gethostbyname4_r when IPv6 results are possible.
24059 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24062 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24063 _PC_PIPE_BUF handling.
24065 2011-04-30 Bruno Haible <bruno@clisp.org>
24068 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24069 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24071 * inet/getnameinfo.c (getnameinfo): Likewise.
24073 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24075 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24076 to groups setting in database lookup.
24077 * nss/nsswitch.conf: Add initgroups entry.
24079 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24082 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24084 Patch by Eric Blake <eblake@redhat.com>.
24086 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24088 * sunrpc/Makefile (need-export-routines): Add svc_run.
24089 (routines): Remove svc_run.
24090 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24091 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24092 * sunrpc/svc_run.c (svc_run): Likewise.
24093 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24095 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24097 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24098 problem in reallocation in last patch.
24100 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24102 * sunrpc/Makefile: Move inclusion of Rules.
24104 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24106 * nss/nss_files/files-initgroups.c: New file.
24107 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24108 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24109 _nss_files_initgroups_dyn.
24111 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24113 * elf/elf.h (R_ARM_IRELATIVE): Define.
24115 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24117 * po/ru.po: Update from translation team.
24119 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24121 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24124 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24127 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24128 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24129 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24130 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24131 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24133 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24135 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24137 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24141 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24144 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24146 * stdlib/bug-getcontext.c: New file.
24147 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24149 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24151 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24152 instructions into .machine "z9-109".
24153 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24154 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24156 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24158 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24159 between environment variables and auxiliary vector.
24161 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24163 * Makefile: Add rules to build linkobj/libc.so.
24164 * include/libc-symbols.h: Define libc_hidden_nolink.
24165 * include/rpc/auth.h: Mark functions which are to be hidden.
24166 * include/rpc/auth_des.h: Likewise.
24167 * include/rpc/auth_unix.h: Likewise.
24168 * include/rpc/clnt.h: Likewise.
24169 * include/rpc/des_crypt.h: Likewise.
24170 * include/rpc/key_prot.h: Likewise.
24171 * include/rpc/pmap_clnt.h: Likewise.
24172 * include/rpc/pmap_prot.h: Likewise.
24173 * include/rpc/pmap_rmt.h: Likewise.
24174 * include/rpc/rpc_msg.h: Likewise.
24175 * include/rpc/svc.h: Likewise.
24176 * include/rpc/svc_auth.h: Likewise.
24177 * include/rpc/xdr.h: Likewise.
24178 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24179 * nss/Makefile: Likewise.
24180 * sunrpc/Makefile: Don't install headers. Build library with normal
24181 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24182 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24183 for the compat linking library. Remove use of INTDEF/INTUSE.
24184 * sunrpc/auth_none.c: Likewise.
24185 * sunrpc/auth_unix.c: Likewise.
24186 * sunrpc/authdes_prot.c: Likewise.
24187 * sunrpc/authuxprot.c: Likewise.
24188 * sunrpc/clnt_gen.c: Likewise.
24189 * sunrpc/clnt_perr.c: Likewise.
24190 * sunrpc/clnt_raw.c: Likewise.
24191 * sunrpc/clnt_simp.c: Likewise.
24192 * sunrpc/clnt_tcp.c: Likewise.
24193 * sunrpc/clnt_udp.c: Likewise.
24194 * sunrpc/clnt_unix.c: Likewise.
24195 * sunrpc/des_crypt.c: Likewise.
24196 * sunrpc/des_soft.c: Likewise.
24197 * sunrpc/get_myaddr.c: Likewise.
24198 * sunrpc/key_call.c: Likewise.
24199 * sunrpc/key_prot.c: Likewise.
24200 * sunrpc/netname.c: Likewise.
24201 * sunrpc/pm_getmaps.c: Likewise.
24202 * sunrpc/pm_getport.c: Likewise.
24203 * sunrpc/pmap_clnt.c: Likewise.
24204 * sunrpc/pmap_prot.c: Likewise.
24205 * sunrpc/pmap_prot2.c: Likewise.
24206 * sunrpc/pmap_rmt.c: Likewise.
24207 * sunrpc/publickey.c: Likewise.
24208 * sunrpc/rpc_cmsg.c: Likewise.
24209 * sunrpc/rpc_common.c: Likewise.
24210 * sunrpc/rpc_dtable.c: Likewise.
24211 * sunrpc/rpc_prot.c: Likewise.
24212 * sunrpc/rpc_thread.c: Likewise.
24213 * sunrpc/rtime.c: Likewise.
24214 * sunrpc/svc.c: Likewise.
24215 * sunrpc/svc_auth.c: Likewise.
24216 * sunrpc/svc_authux.c: Likewise.
24217 * sunrpc/svc_raw.c: Likewise.
24218 * sunrpc/svc_run.c: Likewise.
24219 * sunrpc/svc_simple.c: Likewise.
24220 * sunrpc/svc_tcp.c: Likewise.
24221 * sunrpc/svc_udp.c: Likewise.
24222 * sunrpc/svc_unix.c: Likewise.
24223 * sunrpc/svcauth_des.c: Likewise.
24224 * sunrpc/xcrypt.c: Likewise.
24225 * sunrpc/xdr.c: Likewise.
24226 * sunrpc/xdr_array.c: Likewise.
24227 * sunrpc/xdr_float.c: Likewise.
24228 * sunrpc/xdr_intXX_t.c: Likewise.
24229 * sunrpc/xdr_mem.c: Likewise.
24230 * sunrpc/xdr_rec.c: Likewise.
24231 * sunrpc/xdr_ref.c: Likewise.
24232 * sunrpc/xdr_sizeof.c: Likewise.
24233 * sunrpc/xdr_stdio.c: Likewise.
24235 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24238 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24239 * sysdeps/ia64/dl-tls.h: Likewise.
24240 * sysdeps/powerpc/dl-tls.h: Likewise.
24241 * sysdeps/s390/dl-tls.h: Likewise.
24242 * sysdeps/sh/dl-tls.h: Likewise.
24243 * sysdeps/sparc/dl-tls.h: Likewise.
24244 * sysdeps/x86_64/dl-tls.h: Likewise.
24245 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24247 2011-03-14 Andreas Schwab <schwab@redhat.com>
24249 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24250 rpath element also skip the following colon.
24251 (expand_dynamic_string_token): Add is_path parameter and pass
24252 down to DL_DST_REQUIRED and _dl_dst_substitute.
24253 (decompose_rpath): Call expand_dynamic_string_token with
24254 non-zero is_path. Ignore empty rpaths.
24255 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24258 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24263 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24266 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24267 Patch by Filipe David Manana <fdmanana@apache.org>.
24269 2011-04-07 Andreas Schwab <schwab@redhat.com>
24271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24272 Maintain aligned stack.
24273 (CHECK_RSP): Remove unused macro.
24275 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24277 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24278 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24280 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24282 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24284 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24286 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24289 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24290 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24291 * sysdeps/x86_64/memmove.c: New file.
24292 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24293 (memcpy): Renamed to ...
24294 (__new_memcpy): This.
24295 (memcpy): Provide GLIBC_2_14 memcpy.
24296 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24297 (memcpy): Provide GLIBC_2_2_5 memcpy.
24299 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24302 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24304 2011-03-30 Andreas Schwab <schwab@redhat.com>
24306 * misc/syncfs.c: New file.
24307 * misc/Makefile (routines): Add syncfs.
24308 * posix/unistd.h: Declare syncfs.
24309 * sysdeps/unix/syscalls.list: Add syncfs.
24311 2011-04-01 Andreas Schwab <schwab@redhat.com>
24313 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24315 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24316 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24320 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24323 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24325 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24326 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24327 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24329 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24333 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24334 sync_file_range.c with -fexceptions.
24335 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24336 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24337 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24338 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24339 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24340 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24341 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24342 sync_file_range as cancellation point
24343 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24344 now a wrapper around __call_sync_file_range with cancellation handling.
24345 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24346 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24347 function name to __call_sync_file_range.
24348 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24349 Add call_sync_file_range.
24351 2011-04-01 Andreas Schwab <schwab@redhat.com>
24353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24356 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24358 * iconv/iconv.h: Fix typo in comment.
24359 * io/fcntl.h: Likewise.
24360 * libio/stdio.h: Likewise.
24361 * posix/spawn.h: Likewise.
24362 * posix/unistd.h: Likewise.
24363 * stdlib/stdlib.h: Likewise.
24364 * time/time.h: Likewise.
24365 * wcsmbs/wchar.h: Likewise.
24367 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24368 open_by_handle): Add.
24369 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24370 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24371 Augment a few comments.
24372 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24374 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24377 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24380 * io/fcntl.h (AT_EMPTY_PATH): Define.
24382 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24384 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24385 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24386 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24388 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24389 * Versions.def: Add GLIBC_2.14.
24390 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24393 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24395 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24397 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24399 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24402 * string/test-strncmp.c (do_page_test): New function.
24403 (check2): Likewise.
24404 (test_main): Call check2.
24405 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24407 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24411 Handle cache information in CPU leaf 4.
24412 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24414 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24417 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24418 character representation.
24419 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24421 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24423 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24424 END(__isnan) to END(__isnanf) to match function entry point/label
24425 EALIGN(__isnanf,...).
24427 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24429 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24431 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24434 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24435 copy from the symbol referenced in the relocation to initialize the
24437 Patch by Piotr Bury <pbury@goahead.com>.
24438 * elf/Makefile: Add rules to build and tst-unique3.
24439 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24440 * elf/tst-unique3.cc: New file.
24441 * elf/tst-unique3.h: New file.
24442 * elf/tst-unique3lib.cc: New file.
24443 * elf/tst-unique3lib2.cc: New file.
24445 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24447 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24449 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24450 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24453 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24455 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24456 to-be-loaded object along a path to loader is ld.so.
24458 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24459 Ulrich Drepper <drepper@gmail.com>
24461 * sysdeps/x86_64/memset.S: After aligning destination, code
24462 branches to different locations depending on the value of
24463 misalignment, when multiarch is enabled. Fix this.
24465 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24467 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24468 Set _x86_64_preferred_memory_instruction for AMD processsors.
24469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24470 Set bit_Prefer_SSE_for_memop for AMD processors.
24472 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24474 * libio/fmemopen.c (fmemopen): Optimize a bit.
24476 2011-03-03 Andreas Schwab <schwab@redhat.com>
24478 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24480 2011-03-03 Roland McGrath <roland@redhat.com>
24482 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24484 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24486 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24487 __bzero_ultra1 instead of __memset_ultra1.
24489 2011-02-23 Andreas Schwab <schwab@redhat.com>
24490 Ulrich Drepper <drepper@gmail.com>
24493 * include/link.h (struct link_map): Add l_orig_initfini.
24494 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24495 returning unsuccessfully.
24496 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24497 close of a file loaded at startup, restore the original l_initfini
24499 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24500 list, store the pointer.
24501 * elf/Makefile ($(objpfx)noload-mem): New rule.
24502 (noload-ENV): Define.
24503 (tests): Add $(objpfx)noload-mem.
24504 * elf/noload.c: Include <memcheck.h>.
24505 (main): Call mtrace. Close all opened handles.
24507 2011-02-17 Andreas Schwab <schwab@redhat.com>
24510 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24511 dependencies are missing.
24513 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24515 Fix __if_freereq crash: Unlike the generic version which uses free,
24517 * sysdeps/mach/hurd/ifreq.h: New file.
24519 2011-01-27 Petr Baudis <pasky@suse.cz>
24520 Ulrich Drepper <drepper@gmail.com>
24523 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24524 to extend_alloca().
24525 * stdio-common/bug23.c: New file.
24526 * stdio-common/Makefile (tests): Add bug23.
24528 2010-09-28 Andreas Schwab <schwab@redhat.com>
24529 Ulrich Drepper <drepper@gmail.com>
24532 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24533 before performing relro protection. At old place add assertion
24534 to make sure nothing changed.
24536 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24537 Glauber de Oliveira Costa <glommer@gmail.com>
24539 * elf/elf.h: Add new ARM TLS relocs.
24541 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24544 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24546 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24548 * sysdeps/wordsize-64/tst-writev.c: New file.
24550 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24552 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24553 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24554 insns in _dl_start to prevent a TOC reference before relocs are
24557 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24560 * Makeconfig: Remove RANLIB definition.
24561 * Makerules: Don't use RANLIB.
24562 * aclocal.m4: Remove ranlib test.
24563 * configure.in: No need to check for ranlib.
24564 * elf/rtld-Rules: Don't use RANLIB.
24566 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24568 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24570 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24571 inclusion protection macro.
24573 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24574 SIGRTMIN and SIGRTMAX and print information in that case only when
24575 SIGRTMIN is defined.
24577 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24579 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24580 arginfo fn returning -1.
24582 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24583 and thousands string is zero terminated.
24585 2011-02-03 Andreas Schwab <schwab@redhat.com>
24587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24588 sysdeps/unix/sysv/linux/bits/socket.h.
24590 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24592 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24593 (__CPU_COUNT): Remove old macros.
24594 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24595 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24596 (__CPU_ALLOC, __CPU_FREE): Add macros.
24597 (__sched_cpualloc, __sched_cpufree): Add declarations.
24599 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24601 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24602 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24603 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24604 (readdhstai): Return value of addhstaiX call.
24605 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24606 (addgrbyX): Return value returned by cache_addgr.
24607 (readdgrbyname): Return value returned by addgrbyX.
24608 (readdgrbygid): Likewise.
24609 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24610 (addpwbyX): Return value returned by cache_addpw.
24611 (readdpwbyname): Return value returned by addhstbyX.
24612 (readdpwbyuid): Likewise.
24613 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24614 (addservbyX): Return value returned by cache_addserv.
24615 (readdservbyname): Return value returned by addservbyX:
24616 (readdservbyport): Likewise.
24617 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24618 (addhstbyX): Return value returned by cache_addhst.
24619 (readdhstbyname): Return value returned by addhstbyX.
24620 (readdhstbyaddr): Likewise.
24621 (readdhstbynamev6): Likewise.
24622 (readdhstbyaddrv6): Likewise.
24623 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24624 (readdinitgroups): Return value returned by addinitgroupsX.
24625 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24626 (prune_cache): Keep track of timeout value of re-added entries.
24627 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24628 * nscd/nscd.h: Adjust prototypes of readd* functions.
24630 2011-02-04 Roland McGrath <roland@redhat.com>
24632 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24633 (nis_stats): Likewise.
24634 * nis/nis_modify.c (nis_modify): Likewise.
24635 * nis/nis_remove.c (nis_remove): Likewise.
24636 * nis/nis_add.c (nis_add): Likewise.
24638 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24640 * posix/fnmatch_loop.c: Add some consts.
24642 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24644 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24647 * config.make.in (config-cflags-novzeroupper): Define.
24648 * configure.in: Substitute libc_cv_cc_novzeroupper.
24649 * elf/Makefile (AVX-CFLAGS): Define.
24650 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24651 (CFLAGS-tst-auditmod4a.c): Likewise.
24652 (CFLAGS-tst-auditmod4b.c): Likewise.
24653 (CFLAGS-tst-auditmod6b.c): Likewise.
24654 (CFLAGS-tst-auditmod6c.c): Likewise.
24655 (CFLAGS-tst-auditmod7b.c): Likewise.
24656 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24658 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24660 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24661 function to the callback.
24662 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24664 2011-02-02 Andreas Schwab <schwab@redhat.com>
24666 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24669 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24672 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24674 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24676 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24679 * elf/Makefile: Add rules to build and run new test.
24680 * elf/tst-initorder.c: New file.
24681 * elf/tst-initorder.exp: New file.
24682 * elf/tst-initordera1.c: New file.
24683 * elf/tst-initordera2.c: New file.
24684 * elf/tst-initordera3.c: New file.
24685 * elf/tst-initordera4.c: New file.
24686 * elf/tst-initorderb1.c: New file.
24687 * elf/tst-initorderb2.c: New file.
24688 * elf/tst-order-a1.c: New file.
24689 * elf/tst-order-a2.c: New file.
24690 * elf/tst-order-a3.c: New file.
24691 * elf/tst-order-a4.c: New file.
24692 * elf/tst-order-b1.c: New file.
24693 * elf/tst-order-b2.c: New file.
24694 * elf/tst-order-main.c: New file.
24695 New test case by George Gensure <werkt0@gmail.com>.
24697 2010-10-01 Andreas Schwab <schwab@redhat.com>
24699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24700 decoding ACE if AI_CANONIDN.
24702 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24704 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24706 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24708 * version.h (RELEASE): Bump for 2.13 release.
24709 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24711 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24713 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24715 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24716 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24720 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24722 * posix/getconf.c: Update copyright year.
24723 * catgets/gencat.c: Likewise.
24724 * csu/version.c: Likewise.
24725 * debug/catchsegv.sh: Likewise.
24726 * debug/xtrace.sh: Likewise.
24727 * elf/ldconfig.c: Likewise.
24728 * elf/ldd.bash.in: Likewise.
24729 * elf/sprof.c (print_version): Likewise.
24730 * iconv/iconv_prog.c: Likewise.
24731 * iconv/iconvconfig.c: Likewise.
24732 * locale/programs/locale.c: Likewise.
24733 * locale/programs/localedef.c: Likewise.
24734 * malloc/memusage.sh: Likewise.
24735 * malloc/mtrace.pl: Likewise.
24736 * nscd/nscd.c (print_version): Likewise.
24737 * nss/getent.c: Likewise.
24739 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24740 PF_CAIF, and PF_ALG.
24741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24743 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24745 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24746 (modules-names): Use them.
24747 (ifunc-test-modules, ifunc-pie-tests): Define.
24748 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24749 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24750 (test-extras): Likewise.
24751 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24752 $(compile-command.c).
24753 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24754 (all-built-dso): Define.
24755 (check-textrel.out, check-execstack.out): Depend on it.
24757 * configure.in: Don't override --enable-multi-arch.
24759 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24762 * nscd/hstcache.c (tryagain): Define.
24763 (cache_addhst): Return tryagain not notfound for temporary errors.
24764 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24767 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24770 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24771 to make the syscall.
24772 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24775 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24776 and fall back to matching as normal character if the string ends before
24777 the matching ']' is found. This is what POSIX requires.
24778 * posix/testfnm.c: Adjust test result.
24779 * posix/globtest.sh: Adjust test result. Add new test.
24780 * posix/tst-fnmatch.input: Likewise.
24781 * posix/tst-fnmatch2.c: Add new test.
24783 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24785 * elf/Makefile (check-execstack): Revert last change. Depend on
24787 (check-execstack.h): New target.
24788 (generated): Add check-execstack.h.
24789 * elf/check-execstack.c: Include "check-execstack.h".
24790 (main): Revert last change.
24791 (handle_file): Return zero if GNU_STACK is absent and
24792 DEFAULT_STACK_PERMS doesn't include PF_X.
24794 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24796 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24797 in child fails because the descriptor is already closed.
24798 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24799 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24800 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24803 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24807 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24808 temporary buffer used to handle multi lookups locally.
24809 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24811 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24813 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24816 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24818 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24819 alignment for SSE2.
24821 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24824 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24825 characters. When rounding increased number of integer digits recompute
24827 * stdio-common/tst-grouping.c: New file.
24828 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24830 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24832 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24833 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24835 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24837 * bits/select.h: Likewise.
24839 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24841 * po/ja.po: Update from translation team.
24843 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24846 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24847 implementation just like for lxstat, fxstatat, et al.
24849 2010-12-27 Jim Meyering <meyering@redhat.com>
24852 * posix/regexec.c (build_trtable): Return failure indication upon
24853 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24855 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24858 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24859 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24860 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24861 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24864 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24867 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24868 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24870 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24872 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24873 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24874 script has SORT_BY_INIT_PRIORITY.
24875 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24876 NO_CTORS_DTORS_SECTIONS is defined.
24877 * elf/soinit.c: Likewise.
24878 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24879 NO_CTORS_DTORS_SECTIONS is defined.
24880 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24881 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24882 * sysdeps/sh/init-first.c: Likewise.
24883 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24885 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24887 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24888 always use the slow path.
24890 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24892 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24893 similar rule which adds the sysdep directories to the header search in
24894 order to pick up the correct platform stackinfo.h.
24895 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24896 perform test if it is, otherwise return successfully without testing.
24897 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24898 DEFAULT_STACK_PERMS define in stackinfo.h.
24899 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24900 defined in stackinfo.h.
24901 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24902 DEFAULT_STACK_PERMS defined in stackinfo.h.
24903 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24904 * sysdeps/ia64/stackinfo.h: Likewise.
24905 * sysdeps/s390/stackinfo.h: Likewise.
24906 * sysdeps/sh/stackinfo.h: Likewise.
24907 * sysdeps/sparc/stackinfo.h: Likewise.
24908 * sysdeps/x86_64/stackinfo.h: Likewise.
24909 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24910 PF_X for powerpc64. Retain PF_X for powerpc32.
24912 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24914 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24916 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24917 GETDENTS_64BIT_ALIGNED.
24919 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24921 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24923 2010-12-10 Andreas Schwab <schwab@redhat.com>
24925 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24928 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24929 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24931 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24932 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24934 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24937 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24940 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24942 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24944 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24946 * po/it.po: Update from translation team.
24948 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24953 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24955 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24957 2010-11-24 Andreas Schwab <schwab@redhat.com>
24959 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24961 (gaih_getanswer_slice): Likewise.
24963 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24967 2010-05-31 Petr Baudis <pasky@suse.cz>
24970 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24971 silently even in the chroot mode.
24973 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24975 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24976 last patch a bit. Pretty printing
24978 2010-05-31 Petr Baudis <pasky@suse.cz>
24981 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24982 initialization of skip_initgroups_dyn.
24984 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24986 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24987 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24989 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24991 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24993 2010-11-11 Andreas Schwab <schwab@redhat.com>
24995 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24996 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24997 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24998 ($(objpfx)tst-fnmatch-mem): New rule.
24999 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25000 * posix/tst-fnmatch.c (main): Call mtrace.
25002 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25005 Support Intel processor model 6 and model 0x2c.
25007 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25009 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25012 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25015 * string/test-strncasecmp.c (check_result): New function.
25016 (do_one_test): Use it.
25017 (check1): New function.
25018 (test_main): Use it.
25019 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25020 Support strcasecmp and strncasecmp.
25022 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25025 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25026 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25028 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25030 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25034 * sysdeps/x86_64/multiarch/bzero.S: New file.
25035 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25036 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25037 * sysdeps/x86_64/multiarch/memset.S: New file.
25038 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25040 Set bit_Prefer_SSE_for_memop for Intel processors.
25041 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25043 (index_Prefer_SSE_for_memop): Define.
25044 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25046 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25048 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25049 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25051 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25054 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25055 (__x86_64_raw_data_cache_size_half): Likewise.
25056 (__x86_64_raw_shared_cache_size): Likewise.
25057 (__x86_64_raw_shared_cache_size_half): Likewise.
25059 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25060 (__x86_64_raw_data_cache_size_half): Likewise.
25061 (__x86_64_raw_shared_cache_size): Likewise.
25062 (__x86_64_raw_shared_cache_size_half): Likewise.
25063 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25064 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25065 and __x86_64_raw_shared_cache_size_half. Round
25066 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25067 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25068 to multiple of 256 bytes.
25070 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25073 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25074 of inacessible symlinks. Verify result of symlink before returning it.
25075 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25076 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25078 2010-10-28 Erich Ritz <erichritz@gmail.com>
25080 * math/math.h (isinf): Fix typo in comment.
25082 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25084 * po/da.po: Update from translation team.
25086 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25088 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25089 is added to the list.
25091 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25092 Ulrich Drepper <drepper@gmail.com>
25094 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25095 the global list here. Move code to...
25096 (_dl_add_to_namespace_list): ...here. New function.
25097 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25098 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25099 * elf/dl-load.c (lose): Don't remove the element from the list.
25100 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25101 (_dl_map_object): Likewise.
25103 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25106 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25107 into all bytes of SSE register.
25108 Patch by Richard Li <richardpku@gmail.com>.
25110 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25113 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25116 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25118 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25119 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25120 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25121 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25126 2010-10-22 Andreas Schwab <schwab@redhat.com>
25128 * include/dlfcn.h (__RTLD_SECURE): Define.
25129 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25130 mode & __RTLD_SECURE instead.
25131 (open_path): Rename preloaded parameter to secure.
25132 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25133 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25134 * elf/dl-deps.c (openaux): Likewise.
25135 * elf/rtld.c (struct map_args): Remove is_preloaded.
25136 (map_doit): Don't use it.
25137 (dl_main): Likewise.
25138 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25139 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25141 2010-09-09 Andreas Schwab <schwab@redhat.com>
25143 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25144 (sysd-rules-targets): Remove duplicates.
25145 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25146 rtld-%.$o dependency.
25148 2010-10-18 Andreas Schwab <schwab@redhat.com>
25150 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25151 _dl_map_object do it.
25153 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25155 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25156 fast fma builtins, define the macros in the C99 standard.
25157 (FP_FAST_FMAF): Likewise.
25158 (FP_FAST_FMAL): Likewise.
25159 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25161 * bits/mathdef.h: Update copyright year.
25162 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25164 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25166 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25167 builtins, define the macros in the C99 standard.
25168 (FP_FAST_FMAF): Likewise.
25169 (FP_FAST_FMAL): Likewise.
25170 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25172 (FP_FAST_FMAF): Likewise.
25174 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25177 * math/libm-test.inc (fma_test): Some new testcases.
25178 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25179 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25180 y and infinite z. Do multiplication by C already in long double.
25181 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25183 y and infinite z. Do bitwise or of inexact bit into u.d.
25184 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25185 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25186 * sysdeps/i386/fpu/s_fma.S: Removed.
25187 * sysdeps/i386/fpu/s_fmal.S: Removed.
25189 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25192 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25194 computation is not scheduled after fetestexcept. Fix value
25195 of minimum denormal long double.
25197 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25200 * math/libm-test.inc (fma_test): Add some more tests.
25201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25204 2010-10-15 Andreas Schwab <schwab@redhat.com>
25206 * scripts/data/localplt-s390-linux-gnu.data: New file.
25207 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25209 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25212 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25213 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25215 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25217 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25219 if one of x and y is very large and the other is subnormal.
25220 * sysdeps/s390/fpu/s_fmaf.c: New file.
25221 * sysdeps/s390/fpu/s_fma.c: New file.
25222 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25223 * sysdeps/powerpc/fpu/s_fma.S: New file.
25224 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25225 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25226 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25228 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25231 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25233 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25234 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25235 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25236 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25237 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25238 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25239 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25241 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25244 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25245 * posix/bug-regex31.input: Add test case.
25247 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25249 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25250 * posix/bug-regex31.input: New file.
25253 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25254 (parse_sub_exp): Fix last change, use postorder.
25256 * posix/bug-regex31.c: New file.
25257 * posix/Makefile: Add rules to build and run bug-regex31.
25259 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25262 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25265 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25266 to have entries in sys_siglist.
25269 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25272 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25275 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25276 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25277 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25278 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25279 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25280 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25281 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25282 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25283 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25284 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25285 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25286 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25287 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25288 * math/ftestexcept.c (fetestexcept): Likewise.
25289 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25290 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25291 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25292 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25293 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25294 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25295 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25297 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25300 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25303 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25305 * string/bug-strstr1.c: New file.
25306 * string/Makefile: Add rules to build and run bug-strstr1.
25308 2010-10-05 Eric Blake <eblake@redhat.com>
25311 * string/str-two-way.h (two_way_long_needle): Always clear memory
25312 when skipping input due to the shift table.
25314 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25317 * malloc/mcheck.c: Handle large requests.
25320 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25321 for strncmp and strncasecmp.
25322 * string/stratcliff.c: Add tests for strcmp and strncmp.
25323 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25325 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25327 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25330 2010-09-30 Andreas Jaeger <aj@suse.de>
25332 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25333 (CGROUP_SUPER_MAGIC): Define.
25334 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25335 Handle btrfs and cgroup file systems.
25336 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25339 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25341 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25342 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25344 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25347 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25348 trying to locate the ELF header.
25350 2010-09-27 Andreas Schwab <schwab@redhat.com>
25353 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25354 Mask out sign-bit copies when constructing f_fsid.
25356 2010-09-24 Petr Baudis <pasky@suse.cz>
25358 * debug/stack_chk_fail_local.c: Add missing licence exception.
25359 * debug/warning-nop.c: Likewise.
25361 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25363 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25364 implementing getdents64 using getdents syscall, set d_type if
25365 __ASSUME_GETDENTS32_D_TYPE.
25367 2010-09-16 Andreas Schwab <schwab@redhat.com>
25369 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25370 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25372 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25375 * posix/unistd.h: Undo change of feature selection for ftruncate from
25378 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25380 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25383 2010-09-20 Andreas Schwab <schwab@redhat.com>
25385 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25387 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25389 2010-09-14 Andreas Schwab <schwab@redhat.com>
25391 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25392 variables after CHECK_SP call.
25393 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25395 2010-09-13 Andreas Schwab <schwab@redhat.com>
25396 Ulrich Drepper <drepper@redhat.com>
25398 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25399 re-relocationg ld.so.
25400 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25401 _dl_init_paths call.
25402 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25405 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25407 * resolv/res_init.c (__res_vinit): Count the default server we added.
25409 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25410 Ulrich Drepper <drepper@redhat.com>
25413 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25414 (____longjmp_chk): Use %ebx for saving value across system call.
25417 2010-09-06 Andreas Schwab <schwab@redhat.com>
25419 * manual/Makefile: Don't mix pattern rules with normal rules.
25421 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25423 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25425 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25426 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25427 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25428 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25432 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25435 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25436 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25438 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25440 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25441 * sysdeps/x86_64/addmul_1.S: Likewise.
25442 * sysdeps/x86_64/lshift.S: Likewise.
25443 * sysdeps/x86_64/mul_1.S: Likewise.
25444 * sysdeps/x86_64/rshift.S: Likewise.
25445 * sysdeps/x86_64/sub_n.S: Likewise.
25446 * sysdeps/x86_64/submul_1.S: Likewise.
25448 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25450 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25451 Define __sched_param instead of SCHED_* and sched_param when
25452 <bits/sched.h> is included with __need_schedparam defined.
25453 * bits/sched.h [__need_schedparam]
25454 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25455 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25456 (__defined_schedparam): Define to 1.
25457 (__sched_param): New structure, identical to sched_param.
25458 (__need_schedparam): Undefine.
25460 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25462 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25463 (epoll_create1): Declare.
25465 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25467 2010-08-31 Andreas Schwab <schwab@redhat.com>
25470 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25471 shifting retval into place.
25473 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25475 * nis/rpcsvc/nis.h: Update copyright notice.
25476 * nis/rpcsvc/nis.x: Likewise.
25477 * nis/rpcsvc/nis_callback.h: Likewise.
25478 * nis/rpcsvc/nis_callback.x: Likewise.
25479 * nis/rpcsvc/nis_object.x: Likewise.
25480 * nis/rpcsvc/nis_tags.h: Likewise.
25481 * nis/rpcsvc/yp.h: Likewise.
25482 * nis/rpcsvc/yp.x: Likewise.
25483 * nis/rpcsvc/ypupd.h: Likewise.
25484 * nis/yp_xdr.c: Likewise.
25485 * nis/ypupdate_xdr.c: Likewise.
25487 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25488 mainly the body of pmap_getport. Add parameters to specify timeouts.
25489 (pmap_getport): Use __libc_rpc_getport.
25490 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25491 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25492 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25494 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25499 2010-08-27 Roland McGrath <roland@redhat.com>
25501 * sysdeps/i386/i686/multiarch/Makefile
25502 (CFLAGS-varshift.c): New variable.
25504 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25506 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25507 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25509 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25511 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25513 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25515 * sysdeps/x86_64/strlen.S: Unroll the loop.
25516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25517 strlen-sse2 strlen-sse2-bsf.
25518 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25519 __strlen_no_bsf if bit_Slow_BSF is set.
25520 (__strlen_sse42): Removed.
25521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25522 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25524 2010-08-25 Roland McGrath <roland@redhat.com>
25526 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25527 * sysdeps/x86_64/multiarch/varshift.c: New file.
25528 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25529 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25530 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25531 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25533 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25536 strlen-sse2 strlen-sse2-bsf.
25537 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25538 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25539 (__strlen_sse2): Removed.
25540 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25543 bit_Slow_BSF for Atom.
25544 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25545 (index_Slow_BSF): Define.
25546 (HAS_SLOW_BSF): Define.
25548 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25551 * resolv/res_init.c (__res_vinit): When no server address at all
25552 is given default to loopback.
25554 2010-08-24 Roland McGrath <roland@redhat.com>
25556 * configure.in: Remove config-name.h generation.
25557 * configure: Regenerated.
25558 * config-name.in: File removed.
25559 * scripts/config-uname.sh: New file.
25560 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25561 ($(objdir)config-name.h): New target.
25563 * sunrpc/rpc_parse.h: Avoid nested comment.
25565 2010-08-24 Richard Henderson <rth@redhat.com>
25566 Ulrich Drepper <drepper@redhat.com>
25567 H.J. Lu <hongjiu.lu@intel.com>
25569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25571 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25572 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25573 _mm_alignr_epi8 with _mm_loadu_si128.
25574 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25575 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25576 (__m128i_shift_right): Removed.
25577 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25578 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25579 * sysdeps/x86_64/multiarch/varshift.h: New file.
25580 * sysdeps/x86_64/multiarch/varshift.S: New file.
25582 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25584 * configure.in: Move assembler checks to before sysdep dir checking.
25586 2010-08-20 Petr Baudis <pasky@suse.cz>
25588 * LICENSES: Sync the sunrpc license.
25590 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25592 * sunrpc/auth_des.c: Update copyright notice once again.
25593 * sunrpc/auth_none.c: Likewise.
25594 * sunrpc/auth_unix.c: Likewise.
25595 * sunrpc/authdes_prot.c: Likewise.
25596 * sunrpc/authuxprot.c: Likewise.
25597 * sunrpc/bindrsvprt.c: Likewise.
25598 * sunrpc/clnt_gen.c: Likewise.
25599 * sunrpc/clnt_perr.c: Likewise.
25600 * sunrpc/clnt_raw.c: Likewise.
25601 * sunrpc/clnt_simp.c: Likewise.
25602 * sunrpc/clnt_tcp.c: Likewise.
25603 * sunrpc/clnt_udp.c: Likewise.
25604 * sunrpc/clnt_unix.c: Likewise.
25605 * sunrpc/des_crypt.c: Likewise.
25606 * sunrpc/des_soft.c: Likewise.
25607 * sunrpc/get_myaddr.c: Likewise.
25608 * sunrpc/getrpcport.c: Likewise.
25609 * sunrpc/key_call.c: Likewise.
25610 * sunrpc/key_prot.c: Likewise.
25611 * sunrpc/openchild.c: Likewise.
25612 * sunrpc/pm_getmaps.c: Likewise.
25613 * sunrpc/pm_getport.c: Likewise.
25614 * sunrpc/pmap_clnt.c: Likewise.
25615 * sunrpc/pmap_prot.c: Likewise.
25616 * sunrpc/pmap_prot2.c: Likewise.
25617 * sunrpc/pmap_rmt.c: Likewise.
25618 * sunrpc/rpc/auth.h: Likewise.
25619 * sunrpc/rpc/auth_unix.h: Likewise.
25620 * sunrpc/rpc/clnt.h: Likewise.
25621 * sunrpc/rpc/des_crypt.h: Likewise.
25622 * sunrpc/rpc/key_prot.h: Likewise.
25623 * sunrpc/rpc/netdb.h: Likewise.
25624 * sunrpc/rpc/pmap_clnt.h: Likewise.
25625 * sunrpc/rpc/pmap_prot.h: Likewise.
25626 * sunrpc/rpc/pmap_rmt.h: Likewise.
25627 * sunrpc/rpc/rpc.h: Likewise.
25628 * sunrpc/rpc/rpc_des.h: Likewise.
25629 * sunrpc/rpc/rpc_msg.h: Likewise.
25630 * sunrpc/rpc/svc.h: Likewise.
25631 * sunrpc/rpc/svc_auth.h: Likewise.
25632 * sunrpc/rpc/types.h: Likewise.
25633 * sunrpc/rpc/xdr.h: Likewise.
25634 * sunrpc/rpc_clntout.c: Likewise.
25635 * sunrpc/rpc_cmsg.c: Likewise.
25636 * sunrpc/rpc_common.c: Likewise.
25637 * sunrpc/rpc_cout.c: Likewise.
25638 * sunrpc/rpc_dtable.c: Likewise.
25639 * sunrpc/rpc_hout.c: Likewise.
25640 * sunrpc/rpc_main.c: Likewise.
25641 * sunrpc/rpc_parse.c: Likewise.
25642 * sunrpc/rpc_parse.h: Likewise.
25643 * sunrpc/rpc_prot.c: Likewise.
25644 * sunrpc/rpc_sample.c: Likewise.
25645 * sunrpc/rpc_scan.c: Likewise.
25646 * sunrpc/rpc_scan.h: Likewise.
25647 * sunrpc/rpc_svcout.c: Likewise.
25648 * sunrpc/rpc_tblout.c: Likewise.
25649 * sunrpc/rpc_util.c: Likewise.
25650 * sunrpc/rpc_util.h: Likewise.
25651 * sunrpc/rpcinfo.c: Likewise.
25652 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25653 * sunrpc/rpcsvc/key_prot.x: Likewise.
25654 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25655 * sunrpc/rpcsvc/mount.x: Likewise.
25656 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25657 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25658 * sunrpc/rpcsvc/rex.x: Likewise.
25659 * sunrpc/rpcsvc/rstat.x: Likewise.
25660 * sunrpc/rpcsvc/rusers.x: Likewise.
25661 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25662 * sunrpc/rpcsvc/spray.x: Likewise.
25663 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25664 * sunrpc/rtime.c: Likewise.
25665 * sunrpc/svc.c: Likewise.
25666 * sunrpc/svc_auth.c: Likewise.
25667 * sunrpc/svc_authux.c: Likewise.
25668 * sunrpc/svc_raw.c: Likewise.
25669 * sunrpc/svc_run.c: Likewise.
25670 * sunrpc/svc_simple.c: Likewise.
25671 * sunrpc/svc_tcp.c: Likewise.
25672 * sunrpc/svc_udp.c: Likewise.
25673 * sunrpc/svc_unix.c: Likewise.
25674 * sunrpc/svcauth_des.c: Likewise.
25675 * sunrpc/xcrypt.c: Likewise.
25676 * sunrpc/xdr.c: Likewise.
25677 * sunrpc/xdr_array.c: Likewise.
25678 * sunrpc/xdr_float.c: Likewise.
25679 * sunrpc/xdr_mem.c: Likewise.
25680 * sunrpc/xdr_rec.c: Likewise.
25681 * sunrpc/xdr_ref.c: Likewise.
25682 * sunrpc/xdr_sizeof.c: Likewise.
25683 * sunrpc/xdr_stdio.c: Likewise.
25685 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25688 2010-08-19 Andreas Schwab <schwab@redhat.com>
25690 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25692 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25694 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25695 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25696 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25697 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25698 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25699 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25700 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25701 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25703 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25704 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25705 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25706 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25707 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25709 2010-07-26 Anton Blanchard <anton@samba.org>
25711 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25712 * malloc/arena.c (heap_trim): Likewise.
25714 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25716 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25719 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25721 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25723 * sysdeps/i386/elf/Makefile: New file.
25725 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25727 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25728 from fanotify_init.
25729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25732 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25734 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25736 * sysdeps/multiarch/strcmp.S: Likewise.
25738 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25740 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25741 strncase_l-nonascii.
25742 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25743 Add strncase_l-ssse3.
25744 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25745 * sysdeps/x86_64/strcmp.S: Likewise.
25746 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25747 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25748 * sysdeps/x86_64/strncase.S: New file.
25749 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25750 * sysdeps/x86_64/strncase_l.S: New file.
25751 * string/Makefile (strop-tests): Add strncasecmp.
25752 * string/test-strncasecmp.c: New file.
25754 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25757 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25758 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25760 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25762 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25764 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25766 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25767 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25770 2010-05-01 Alan Modra <amodra@gmail.com>
25772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25773 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25774 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25775 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25776 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25777 tidying. Don't tail-call __sigjmp_save for static lib.
25778 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25780 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25781 (CALL_MCOUNT): Add eh info, and nop after bl.
25782 (TAIL_CALL_SYSCALL_ERROR): New macro.
25783 (PSEUDO_RET): Use it.
25784 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25785 Correct save location of integer regs and cr.
25786 (_dl_profile_resolve): Correct cr save location. Delete nops
25787 after bl when SHARED. Reduce cfi size a little by better
25788 placement of cfi directives.
25789 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25790 make a stack frame. Instead use parm save area as a temp.
25791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25792 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25794 Don't make a stack frame for parent, use parm save area.
25795 Increase child stack frame to 112 bytes. Don't save unused reg,
25796 and adjust reg usage. Set up cfi on error recovery and
25797 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25799 (__makecontext): Add dummy nop after jump to exit.
25800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25801 Use correct parm save area and cr save, reduce stack frame.
25802 Correct cfi for possible PSEUDO_RET frame setup.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25804 Branch to local label emitted by PSEUDO_RET rather than
25807 2010-08-12 Andreas Schwab <schwab@redhat.com>
25810 * locale/programs/locale.c (print_assignment): New function.
25811 (show_locale_vars): Use it.
25813 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25815 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25817 (struct statfs64): Likewise.
25818 (_STATFS_F_FLAGS): Define.
25819 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25820 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25821 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25822 (ST_VALID): Define locally.
25823 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25824 __statvfs_getflags, use the provided value.
25825 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25826 __ASSUME_STATFS_F_FLAGS.
25828 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25830 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25831 Add sys/fanotify.h.
25832 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25833 fanotify_mask for GLIBC_2.13.
25834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25835 fanotify_init and fanotify_mark.
25836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25837 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25839 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25841 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25842 prlimit64 for GLIBC_2.13.
25843 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25845 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25848 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25849 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25850 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25853 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25856 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25857 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25859 * nss/Makefile: Add rules to build and run tst-nss-test1.
25860 * shlib-versions: Add entry for libnss_test1.
25861 * nss/nss_test1.c: New file.
25862 * nss/tst-nss-test1.c: New file.
25864 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25865 (__nss_configure_lookup): Set appropriate entry in
25866 __nss_configure_lookup to true.
25867 * nss/nsswitch.h: Define enum with indeces of databases in
25868 databases and __nss_database_custom arrays. Declare
25869 __nss_database_custom.
25870 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25871 to avoid using nscd when custom rules are installed.
25872 * nss/getXXbyYY_r.c: Likewise.
25873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25875 * nss/nss_files/files-parse.c: Whitespace fixes.
25877 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25880 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25881 * posix/fnmatch_loop.c: Likewise.
25883 2010-07-17 Andi Kleen <ak@linux.intel.com>
25885 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25886 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25887 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25888 * Versions.def [GLIBC_2.13]: Add.
25890 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25892 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25893 Also fail if tpwd after pwuid call is NULL.
25895 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25897 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25898 when converting to ms.
25900 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25902 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25903 EOPNOTSUPP errors with ENOTTY.
25904 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25905 EOPNOTSUPP errors with ENOTTY.
25907 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25909 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25910 Add strcasecmp_l-ssse3.
25911 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25913 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25914 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25915 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25917 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25919 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25921 * string/Makefile (strop-tests): Add strcasecmp.
25922 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25923 strcasecmp_l-nonascii.
25924 (gen-as-const-headers): Add locale-defines.sym.
25925 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25926 * sysdeps/x86_64/strcasecmp.S: New file.
25927 * sysdeps/x86_64/strcasecmp_l.S: New file.
25928 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25929 * sysdeps/x86_64/locale-defines.sym: New file.
25930 * string/test-strcasecmp.c: New file.
25932 * string/test-strcasestr.c: Test both ends of the range of characters.
25933 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25935 2010-07-29 Roland McGrath <roland@redhat.com>
25938 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25940 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25942 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25945 2010-07-27 Andreas Schwab <schwab@redhat.com>
25947 * manual/memory.texi (Malloc Tunable Parameters): Document
25950 2010-07-26 Roland McGrath <roland@redhat.com>
25953 * configure.in (-fgnu89-inline check): Set and substitute
25954 gnu89_inline, not libc_cv_gnu89_inline.
25955 * configure: Regenerated.
25956 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25958 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25960 * string/test-strnlen.c: New file.
25961 * string/Makefile (strop-tests): Add strnlen.
25962 * string/tester.c (test_strnlen): Add a few more test cases.
25963 * string/tst-strlen.c: Better error reporting.
25965 * sysdeps/x86_64/strnlen.S: New file.
25967 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25969 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25970 lower-latency instructions.
25972 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25974 * string/test-strcasestr.c: New file.
25975 * string/test-strstr.c: New file.
25976 * string/Makefile (strop-tests): Add strstr and strcasestr.
25977 * string/str-two-way.h: Don't undefine MAX.
25978 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25980 2010-07-21 Andreas Schwab <schwab@redhat.com>
25982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25983 strcasestr-nonascii.
25984 (CFLAGS-strcasestr-nonascii.c): Define.
25985 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25986 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25987 Remove unused attribute.
25989 2010-07-20 Roland McGrath <roland@redhat.com>
25991 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25992 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25993 ld.so.cache was broken. With it, there is no way to disable dsocaps
25994 like LD_HWCAP_MASK can disable hwcaps.
25996 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25998 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26000 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26002 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26003 call in strcasestr.
26004 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26005 __strcasestr_sse42_nonascii.
26006 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26007 strcasestr-nonascii.c.
26008 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26010 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26012 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26013 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26014 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26015 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26017 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26019 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26022 2010-07-06 Andreas Schwab <schwab@redhat.com>
26025 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26028 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26030 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26031 _PC_PIPE_BUF using F_GETPIPE_SZ.
26033 2010-07-05 Roland McGrath <roland@redhat.com>
26035 * manual/arith.texi (Rounding Functions): Fix rint description
26036 implicit in round description.
26038 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26040 * elf/Makefile: Fix linking for a few tests to make recent linker
26043 2010-06-30 Andreas Schwab <schwab@redhat.com>
26045 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26046 $(common-objpfx)libc_nonshared.a.
26048 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26050 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26051 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26052 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26053 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26054 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26055 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26056 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26057 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26072 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26073 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26074 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26075 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26076 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26077 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26078 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26079 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26080 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26081 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26082 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26083 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26099 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26101 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26102 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26103 * string/memmove.c (memmove): Renamed to ...
26104 (MEMMOVE): ...this. Default to memmove.
26105 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26106 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26109 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26110 mempcpy-ssse3-back memmove-ssse3-back.
26111 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26112 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26113 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26114 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26115 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26116 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26117 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26118 * sysdeps/x86_64/multiarch/memmove.c: New file.
26119 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26120 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26121 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26122 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26123 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26126 (index_Fast_Copy_Backward): Define.
26127 (HAS_ARCH_FEATURE): Define.
26128 (HAS_FAST_REP_STRING): Define.
26129 (HAS_FAST_COPY_BACKWARD): Define.
26131 2010-06-21 Andreas Schwab <schwab@redhat.com>
26133 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26134 Restore proper fallback handling.
26136 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26139 * posix/group_member.c (__group_member): Correct checking loop.
26141 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26142 OOM in getpwuid_r correctly. Return error number when the caller
26143 should return, otherwise -1.
26144 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26145 call returning > 0 value.
26146 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26148 2010-06-07 Andreas Schwab <schwab@redhat.com>
26150 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26151 libc_nonshared.a from targets in modules-names.
26153 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26155 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26158 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26161 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26162 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26165 2010-06-02 Andreas Schwab <schwab@redhat.com>
26167 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26169 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26171 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26173 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26177 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26178 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26180 2010-06-14 Roland McGrath <roland@redhat.com>
26182 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26184 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26186 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26187 __REDIRECT followed by __THROW.
26188 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26189 * posix/getopt.h (getopt): Likewise.
26191 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26193 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26194 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26195 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26197 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26198 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26200 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26202 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26204 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26208 Properly check family and model.
26210 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26212 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26214 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26216 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26218 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26220 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26223 2010-05-19 Andreas Schwab <schwab@redhat.com>
26225 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26228 2010-05-21 Andreas Schwab <schwab@redhat.com>
26230 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26231 and internal_recvmmsg.
26232 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26233 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26234 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26235 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26237 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26238 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26239 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26241 2010-05-20 Andreas Schwab <schwab@redhat.com>
26243 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26245 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26247 POWER7 optimizations.
26248 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26249 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26251 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26253 * version.h: Update for 2.13 development version.
26255 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26257 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26258 exceptions. Return 0.
26260 2010-05-07 Roland McGrath <roland@redhat.com>
26262 * elf/ldconfig.c (main): Add a const.
26264 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26266 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26267 (args_options): Add no-idn option.
26268 (ahosts_keys_int): Add idn_flags to ai_flags.
26269 (parse_option): Handle 'i' option to clear idn_flags.
26271 * malloc/malloc.c (_int_free): Possible race in the most recently
26272 added check. Only act on the data if no current modification
26275 See ChangeLog.17 for earlier changes.