1 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5 * posix/regex_internal.h (__attribute): Remove.
6 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7 (re_string_context_at): Likewise.
8 (bitset_not): Use __attribute__ and mark function as possibly
10 (bitset_merge): Likewise.
11 (bitset_mask): Likewise.
12 (re_string_char_size_at): Likewise.
13 (re_string_wchar_at): Likewise.
14 (re_string_elem_size_at): Likewise.
16 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28 (add_magnitudes): Likewise.
29 (sub_magnitudes): Likewise.
33 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
43 up changes with default code.
44 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47 2013-02-24 Allan McRae <allan@archlinux.org>
49 * manual/socket.texi (The Internet Namespace): Order menu items
50 to match that in the file.
52 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53 node listing of the info page menu.
55 2013-02-21 Joseph Myers <joseph@codesourcery.com>
58 * sysdeps/i386/bp-asm.h: Remove file.
59 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60 (PARMS): Do not use macros from bp-asm.h.
64 (__mpn_add_n): Do not use BP_SYM
65 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
67 (PARMS): Do not use macros from bp-asm.h.
70 (__mpn_addmul_1): Do not use BP_SYM
71 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
73 (PARMS): Do not use macros from bp-asm.h.
75 (_setjmp): Likewise. Do not use BP_SYM.
76 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
78 (PARMS): Do not use macros from bp-asm.h.
80 (setjmp): Likewise. Do not use BP_SYM.
81 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
83 (PARMS): Do not use macros from bp-asm.h.
84 (__frexp): Do not use BP_SYM.
86 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
88 (PARMS): Do not use macros from bp-asm.h.
89 (__frexpf): Do not use BP_SYM.
91 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
93 (PARMS): Do not use macros from bp-asm.h.
94 (__frexpl): Do not use BP_SYM.
96 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
98 (PARMS): Do not use macros from bp-asm.h.
99 (__remquo): Do not use BP_SYM.
101 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
103 (PARMS): Do not use macros from bp-asm.h.
104 (__remquof): Do not use BP_SYM.
106 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
108 (PARMS): Do not use macros from bp-asm.h.
109 (__remquol): Do not use BP_SYM.
111 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
113 (PARMS): Do not use macros from bp-asm.h.
116 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
117 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
119 (PARMS): Do not use macros from bp-asm.h.
120 (strlen): Do not use BP_SYM.
121 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
123 (PARMS): Do not use macros from bp-asm.h.
127 (__mpn_add_n): Do not use BP_SYM.
128 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
130 (PARMS): Do not use macros from bp-asm.h.
133 (__mpn_addmul_1): Do not use BP_SYM.
134 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
137 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
139 (PARMS): Do not use macros from bp-asm.h.
142 (__mpn_lshift): Do not use BP_SYM.
143 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
145 (PARMS): Do not use macros from bp-asm.h.
149 (memcpy): Likewise. Do not use BP_SYM.
150 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
151 libc_hidden_def and weak_alias.
152 (mempcpy): Do not use BP_SYM in weak_alias.
153 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
155 (PARMS): Do not use macros from bp-asm.h.
158 [!BZERO_P] (CHR): Likewise.
159 (memset): Likewise. Do not use BP_SYM.
160 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
162 (PARMS): Do not use macros from bp-asm.h.
165 (__mpn_mul_1): Do not use BP_SYM.
166 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
168 (PARMS): Do not use macros from bp-asm.h.
171 (__mpn_rshift): Do not use BP_SYM.
172 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
174 (PARMS): Do not use macros from bp-asm.h.
177 (strchr): Likewise. Do not use BP_SYM.
178 (index): Do not use BP_SYM in weak_alias.
179 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
181 (PARMS): Do not use macros from bp-asm.h.
184 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
185 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
187 (PARMS): Do not use macros from bp-asm.h.
188 (strlen): Do not use BP_SYM.
189 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
191 (PARMS): Do not use macros from bp-asm.h.
195 (__mpn_sub_n): Do not use BP_SYM.
196 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
198 (PARMS): Do not use macros from bp-asm.h.
201 (__mpn_submul_1): Do not use BP_SYM.
202 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
204 (PARMS): Do not use macros from bp-asm.h.
208 (__mpn_add_n): Do not use BP_SYM.
209 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
212 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
214 (PARMS): Do not use macros from bp-asm.h.
217 (memcmp): Do not use BP_SYM.
218 (bcmp): Do not use BP_SYM in weak_alias.
219 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
221 (PARMS): Do not use macros from bp-asm.h.
225 (memcpy): Likewise. Do not use BP_SYM.
226 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
228 (PARMS): Do not use macros from bp-asm.h.
232 (memmove): Likewise. Do not use BP_SYM.
233 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
235 (PARMS): Do not use macros from bp-asm.h.
239 (__mempcpy): Likewise. Do not use BP_SYM.
240 (mempcpy): Do not use BP_SYM in weak_alias.
241 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
243 (PARMS): Do not use macros from bp-asm.h.
246 [!BZERO_P] (CHR): Likewise.
247 (memset): Likewise. Do not use BP_SYM.
248 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
250 (PARMS): Do not use macros from bp-asm.h.
252 (strcmp): Do not use BP_SYM.
253 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
255 (PARMS): Do not use macros from bp-asm.h.
258 [USE_AS_STRTOK_R] (SAVE): Likewise.
259 (FUNCTION): Likewise. Do not use BP_SYM.
260 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
262 (strtok_r): Likewise.
263 (__GI___strtok_r): Likewise.
264 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
265 (PARMS): Do not use macros from bp-asm.h.
268 (__mpn_lshift): Do not use BP_SYM.
269 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
270 (PARMS): Do not use macros from bp-asm.h.
273 (__memchr): Do not use BP_SYM.
274 (memchr): Do not use BP_SYM in weak_alias.
275 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
276 (PARMS): Do not use macros from bp-asm.h.
279 (memcmp): Do not use BP_SYM.
280 (bcmp): Do not use BP_SYM in weak_alias.
281 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
282 (PARMS): Do not use macros from bp-asm.h.
285 (__mpn_mul_1): Do not use BP_SYM.
286 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
288 (PARMS): Do not use macros from bp-asm.h.
291 (__rawmemchr): Do not use BP_SYM.
292 (rawmemchr): Do not use BP_SYM in weak_alias.
293 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
294 (PARMS): Do not use macros from bp-asm.h.
297 (__mpn_rshift): Do not use BP_SYM.
298 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
299 (PARMS): Do not use macros from bp-asm.h.
301 (__sigsetjmp): Likewise. Do not use BP_SYM.
302 * sysdeps/i386/start.S: Do not include "bp-sym.h".
303 (_start): Do not use BP_SYM.
304 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
305 (PARMS): Do not use macros from bp-asm.h.
308 (__stpcpy): Likewise. Do not use BP_SYM.
309 (stpcpy): Do not use BP_SYM in weak_alias.
310 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
312 (PARMS): Do not use macros from bp-asm.h.
316 (__stpncpy): Likewise. Do not use BP_SYM.
317 (stpncpy): Do not use BP_SYM in weak_alias.
318 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
319 (PARMS): Do not use macros from bp-asm.h.
322 (strchr): Likewise. Do not use BP_SYM.
323 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
325 (PARMS): Do not use macros from bp-asm.h.
328 (__strchrnul): Likewise. Do not use BP_SYM.
329 (strchrnul): Do not use BP_SYM in weak_alias.
330 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
332 (PARMS): Do not use macros from bp-asm.h.
334 (strcspn): Do not use BP_SYM.
335 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
337 (PARMS): Do not use macros from bp-asm.h.
340 (strpbrk): Likewise. Do not use BP_SYM.
341 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
343 (PARMS): Do not use macros from bp-asm.h.
346 (strrchr): Likewise. Do not use BP_SYM.
347 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
348 (PARMS): Do not use macros from bp-asm.h.
350 (strspn): Do not use BP_SYM.
351 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
352 (PARMS): Do not use macros from bp-asm.h.
356 (FUNCTION): Likewise. Do not use BP_SYM.
357 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
359 (strtok_r): Likewise.
360 (__GI___strtok_r): Likewise.
361 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
362 (PARMS): Do not use macros from bp-asm.h.
366 (__mpn_sub_n): Do not use BP_SYM.
367 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
369 (PARMS): Do not use macros from bp-asm.h.
372 (__mpn_submul_1): Do not use BP_SYM.
373 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
375 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
377 (PARMS): Do not use macros from bp-asm.h.
382 (__clone): Do not use BP_SYM.
383 (clone): Do not use BP_SYM in weak_alias.
384 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
386 (PARMS): Do not use macros from bp-asm.h.
388 (__mmap64): Do not use BP_SYM.
389 (mmap64): Do not use BP_SYM in weak_alias.
390 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
391 <bp-sym.h> and <bp-asm.h>.
392 (PARMS): Do not use macros from bp-asm.h.
393 (__posix_fadvise64_l64): Do not use BP_SYM.
394 * sysdeps/unix/sysv/linux/i386/semtimedop.S
395 (PARMS): Do not use macros from bp-asm.h.
397 (semtimedop): Do not use BP_SYM.
398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
401 2013-02-21 Allan McRae <allan@archlinux.org>
403 * manual/message.texi (Charset conversion in gettext):
404 Move @end statement to beginning of line.
406 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
413 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
418 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
420 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
421 tail-call to the resolved function if pltexit isn't needed.
423 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
426 or Y being zero as being unlikely.
427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
430 2013-02-20 Carlos O'Donell <carlos@redhat.com>
432 * manual/nss.texi (System Databases and Name Service Switch):
433 Remove frobnicate @pxref.
435 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
437 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
438 __attribute__ ((unused)) to __attribute__ ((__unused__)).
440 2013-02-20 Petr Machata <pmachata@redhat.com>
442 * elf/elf.h (R_ARM_TARGET1): New macro.
443 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
444 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
445 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
446 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
447 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
448 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
449 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
450 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
451 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
452 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
453 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
454 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
455 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
456 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
457 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
458 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
459 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
460 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
461 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
462 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
463 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
464 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
465 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
466 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
467 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
468 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
469 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
470 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
471 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
472 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
473 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
474 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
475 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
476 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
477 (R_ARM_THM_GOT_BREL12): Likewise.
478 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
479 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
480 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
481 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
482 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
483 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
484 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
485 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
486 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
488 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
490 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
491 __attribute_used__ to __attribute__ ((unused)).
493 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
495 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
501 2013-02-19 Joseph Myers <joseph@codesourcery.com>
504 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
506 (ENTER): Remove both macro definitions.
508 (CHECK_BOUNDS_LOW): Likewise.
509 (CHECK_BOUNDS_HIGH): Likewise.
510 (CHECK_BOUNDS_BOTH): Likewise.
511 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
512 (RETURN_BOUNDED_POINTER): Likewise.
513 (RETURN_NULL_BOUNDED_POINTER): Likewise.
514 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
515 (POP_ERRNO_LOCATION_RETURN): Likewise.
516 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
517 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
518 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
520 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
521 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
522 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
523 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
524 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
525 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
526 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
527 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
528 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
529 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
530 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
531 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
532 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
533 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
535 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
536 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
538 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
539 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
540 * sysdeps/i386/i586/memset.S (memset): Likewise.
541 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
542 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
543 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
545 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
546 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
547 Change uses of L(2) to L(out).
548 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
549 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
550 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
551 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
552 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
554 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
555 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
557 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
558 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
559 (RETURN): Do not use macro LEAVE.
560 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
561 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
562 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
563 * sysdeps/i386/i686/memset.S (memset): Likewise.
564 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
565 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
566 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
567 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
569 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
570 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
571 L(1_2) and L(1_3) into L(1).
572 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
573 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
574 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
575 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
576 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
577 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
578 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
579 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
580 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
582 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
583 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
584 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
585 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
586 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
587 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
588 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
589 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
590 * sysdeps/i386/strcspn.S (strcspn): Likewise.
591 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
592 * sysdeps/i386/strrchr.S (strrchr): Likewise.
593 * sysdeps/i386/strspn.S (strspn): Likewise.
594 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
596 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
597 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
598 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
599 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
601 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
602 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
603 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
605 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
607 2013-02-19 Jakub Jelinek <jakub@redhat.com>
609 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
612 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
614 * math/atest-exp.c (exp_mpn): Remove ROUND.
615 * math/atest-exp2.c (exp_mpn): Likewise.
616 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
618 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
619 * stdlib/tst-tls-atexit-lib.c: Likewise.
620 * stdlib/tst-tls-atexit.c: Likewise.
622 2013-02-18 Mike Frysinger <vapier@gentoo.org>
624 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
625 and __attribute_alloc_size__.
627 2013-02-18 Mike Frysinger <vapier@gentoo.org>
629 * include/programs/xmalloc.h: Change __attribute_alloc_size to
630 __attribute_alloc_size__.
631 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
632 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
634 2013-02-18 Mike Frysinger <vapier@gentoo.org>
636 * include/programs/xmalloc.h: New file.
637 * catgets/gencat.c: Include it.
638 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
639 * elf/pldd.c: Likewise.
640 * iconv/iconv_charmap.c: Likewise.
641 * iconv/iconvconfig.c: Likewise.
642 * iconv/strtab.c: Likewise.
643 * locale/programs/locale.c: Likewise.
644 * locale/programs/localedef.h: Likewise.
645 * locale/programs/simple-hash.c: Likewise.
646 * nscd/nscd.h: Likewise.
647 * nss/makedb.c: Likewise.
648 * sysdeps/generic/ldconfig.h: Likewise.
650 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
652 * Versions.def: Add GLIBC_2.18.
653 * include/link.h (struct link_map): New member l_tls_dtor_count.
654 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
655 (__call_tls_dtors): Likewise.
656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
657 __cxa_thread_atexit_impl.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
674 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
675 (tests): Add test case tst-tls-atexit.
676 (modules-names): Add shared library for tst-tls-atexit.
677 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
678 (GLIBC_PRIVATE): Add __call_tls_dtors.
679 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
681 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
682 * stdlib/tst-tls-atexit.c: New test case.
683 * stdlib/tst-tls-atexit-lib.c: New test case.
685 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
687 * elf/Versions (ld): Add _dl_find_dso_for_object.
688 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
689 * elf/dl-open.c (_dl_find_dso_for_object): New function.
690 (dl_open_worker): Use _dl_find_dso_for_object.
691 * elf/dl-sym.c (do_sym): Likewise.
692 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
694 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
696 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
697 Syntactic changes only.
698 (_dl_runtime_profile): Do a tail-call to the resolved function.
700 2013-02-17 Joseph Myers <joseph@codesourcery.com>
703 * sysdeps/x86_64/bp-asm.h: Remove file.
704 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
705 <bp-sym.h> and <bp-asm.h>.
706 (__clone): Do not use BP_SYM.
707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
708 <bp-sym.h> and <bp-asm.h>.
709 * sysdeps/unix/x86_64/sysdep.S: Likewise.
710 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
712 (_setjmp): Do not use BP_SYM.
713 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
715 (setjmp): Do not use BP_SYM.
716 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
718 (mempcpy): Do not use BP_SYM in weak_alias.
719 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
721 (strchr): Do not use BP_SYM.
722 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
724 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
725 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
726 (_start): Do not use BP_SYM.
727 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
729 (strcat): Do not use BP_SYM.
730 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
732 (STRCMP): Do not use BP_SYM.
733 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
735 (STRCPY): Do not use BP_SYM.
736 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
738 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
740 (FUNCTION): Do not use BP_SYM.
741 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
743 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
745 2013-02-17 Andreas Jaeger <aj@suse.de>
747 * time/Versions: Sort entries.
748 * string/Versions: Likewise.
749 * resolv/Versions: Likewise.
750 * posix/Versions: Likewise.
751 * iconv/Versions: Likewise.
752 * elf/Versions: Likewise.
753 * wcsmbs/Versions: Likewise.
755 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
757 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
758 loop termination condition.
760 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
761 variable to calculate EZ.
764 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
765 the lower precision input.
767 2013-02-15 Joseph Myers <joseph@codesourcery.com>
770 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
771 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
772 (run-via-rtld-prefix): Do not handle %-bp tests.
773 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
774 (all-object-suffixes): Remove .ob.
775 (bppfx): Remove variable.
776 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
777 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
778 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
779 [$(build-bounded) = yes] (libtype.ob): Likewise.
780 * Makerules (elide-routines.ob): Remove variable.
781 (do-tests-clean): Do not handle *-bp.out.
782 (common-mostlyclean): Do not handle *-bp and *-bp.out.
783 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
784 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
785 (tests): Do not include $(tests-bp.out).
786 (xtests): Do not include $(xtests-bp.out).
787 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
788 [$(build-bounded) = yes] ($(addprefix
789 $(objpfx),$(binaries-bounded))): Remove rule.
790 ($(objpfx)%-bp.out): Remove rule.
791 * config.make.in (build-bounded): Remove variable.
792 * crypt/Makefile [$(build-bounded) = yes]
793 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
794 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
796 [$(build-bounded) = yes] (install-lib): Likewise.
797 [$(build-bounded) = yes] (generated): Likewise.
798 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
800 * intl/Makefile [$(build-bounded) = yes]
801 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
802 * math/Makefile [$(build-bounded) = yes]
803 ($(tests:%=$(objpfx)%-bp): Likewise.
804 * misc/Makefile [$(build-bounded) = yes]
805 ($(objpfx)tst-tsearch-bp): Likewise.
806 * nptl/Makeconfig (bounded-thread-library): Remove variable.
807 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
809 * string/Makefile (o-objects.ob): Remove variable.
810 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
811 (CFLAGS-.ob): Remove variable.
812 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
813 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
814 both definitions of variable.
815 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
816 (ASFLAGS-.ob): Remove variable.
818 2013-02-14 Joseph Myers <joseph@codesourcery.com>
821 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
822 Remove __BOUNDED_POINTERS__ from condition.
823 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
824 * string/bits/string2.h [!__NO_STRING_INLINES &&
825 !__BOUNDED_POINTERS__]: Likewise.
826 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
828 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
829 Remove conditional code.
830 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
831 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
832 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
836 * csu/libc-start.c: Do not include <bp-sym.h>.
837 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
838 * elf/dl-open.c: Do not include <bp-sym.h>.
839 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
840 * math/fegetenv.c: Do not include <bp-sym.h>.
841 (fegetenv): Do not use BP_SYM in versioned symbols.
842 * nptl/sysdeps/pthread/bits/libc-lockP.h
843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
846 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
848 (__pthread_mutex_destroy): Likewise.
849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
850 (__pthread_mutex_lock): Likewise.
851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
852 (__pthread_mutex_trylock): Likewise.
853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
854 (__pthread_mutex_unlock): Likewise.
855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
856 (__pthread_mutexattr_init): Likewise.
857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
858 (__pthread_mutexattr_destroy): Likewise.
859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
860 (__pthread_mutexattr_settype): Likewise.
861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
862 (__pthread_rwlock_init): Likewise.
863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
864 (__pthread_rwlock_destroy): Likewise.
865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
866 (__pthread_rwlock_rdlock): Likewise.
867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
868 (__pthread_rwlock_tryrdlock): Likewise.
869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
870 (__pthread_rwlock_wrlock): Likewise.
871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
872 (__pthread_rwlock_trywrlock): Likewise.
873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
874 (__pthread_rwlock_unlock): Likewise.
875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
876 (__pthread_key_create): Likewise.
877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
878 (__pthread_setspecific): Likewise.
879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
880 (__pthread_getspecific): Likewise.
881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
884 (_pthread_cleanup_push_defer): Likewise.
885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
886 (_pthread_cleanup_pop_restore): Likewise.
887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
888 (pthread_setcancelstate): Likewise.
889 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
891 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
892 (memchr): Do not use BP_SYM in weak_alias.
893 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
894 (fegetenv): Do not use BP_SYM in versioned symbols.
895 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
896 (fesetenv): Do not use BP_SYM in versioned symbols.
897 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
898 (feupdateenv): Do not use BP_SYM in versioned symbols.
899 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
900 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
901 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
902 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
903 (open64): Do not use BP_SYM in weak_alias.
904 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
905 (fegetenv): Do not use BP_SYM in versioned symbols.
906 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
907 (fesetenv): Do not use BP_SYM in versioned symbols.
908 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
909 (feupdateenv): Do not use BP_SYM in versioned symbols.
910 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
911 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
912 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
913 (feraiseexcept): Do not use BP_SYM in versioned symbols.
914 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
915 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
916 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
918 (__libc_start_main): Do not use BP_SYM.
920 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
923 redundant return line.
927 (sub_magnitudes): Likewise.
933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
937 (sub_magnitudes): Likewise.
944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
946 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
947 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
950 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
951 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
953 of __mul for squares.
954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
958 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
959 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
961 2013-02-13 Joseph Myers <joseph@codesourcery.com>
964 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
966 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
967 prototype or function definition. Rename ubp_* variables and
968 parameters. Remove argv definitions conditional on
969 [__BOUNDED_POINTERS__].
970 * debug/backtrace.c (__backtrace): Do not use __unbounded.
971 * elf/dl-runtime.c (_dl_fixup): Likewise.
972 * include/set-hooks.h (RUN_HOOK): Likewise.
973 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
975 * string/strcpy.c (strcpy): Do not use __unbounded.
976 * sysdeps/generic/frame.h (struct layout): Likewise.
977 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
978 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
979 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
980 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
981 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
982 (__backtrace): Likewise.
983 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
985 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
986 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
987 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
989 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
990 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
991 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
992 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
993 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
994 Do not use __unbounded.
995 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
996 Rename __unboundedrlimits parameter to rlimits in prototype.
997 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
998 Do not use __unbounded.
999 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1001 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1002 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1003 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1004 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1005 __ptrvalue or __unbounded.
1006 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1007 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1009 (__new_msgctl): Do not use __ptrvalue.
1010 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1012 (__libc_msgrcv): Do not use __ptrvalue.
1013 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1014 startup_info): Do not use __unbounded.
1015 (__libc_start_main): Likewise. Rename ubp_* variables and
1016 parameters. Remove argv definitions conditional on
1017 [__BOUNDED_POINTERS__].
1018 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1020 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1022 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1024 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1026 (__new_shmctl): Do not use __ptrvalue.
1027 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1028 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1030 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1032 (__libc_sigaction): Likewise.
1033 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1034 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1036 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1038 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1040 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1042 * string/mempcpy.c: Implement by calling memcpy.
1044 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1051 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1052 values in the mantissa.
1054 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1055 minimize writes to Z.
1056 (sub_magnitudes): Simplify code a bit.
1058 2013-02-12 Roland McGrath <roland@hack.frob.com>
1060 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1061 from the message. The linker prefixes all warnings with that already.
1063 2013-02-12 Andreas Schwab <schwab@suse.de>
1066 * posix/regexec.c (extend_buffers): Add parameter min_len.
1067 (check_matching): Pass minimum needed length.
1068 (clean_state_log_if_needed): Likewise.
1069 (get_subexp): Likewise.
1070 * posix/Makefile (tests): Add bug-regex34.
1071 (bug-regex34-ENV): Define.
1072 * posix/bug-regex34.c: New file.
1075 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1076 elements compare against the byte sequence of it, not its name.
1077 * posix/Makefile (tests): Add bug-regex35.
1078 (bug-regex35-ENV): Define.
1079 * posix/bug-regex35.c: New file.
1081 2013-02-11 Tom de Vries <tom@codesourcery.com>
1083 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1085 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1086 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1087 (CHECK_EOL): Add undef.
1089 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1091 * bits/stdlib-bsearch.h: New file.
1092 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1093 * stdlib/stdlib.h: Likewise.
1095 2013-02-11 Roland McGrath <roland@hack.frob.com>
1097 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1098 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1100 * manual/search.texi (Array Search Function): Add missing const in
1102 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1103 declaration to use rlim_t.
1104 (Basic Scheduling Functions): Remove erroneous const from
1105 sched_getparam prototype. Remove erroneous * from
1106 sched_get_priority_max and sched_get_priority_min prototypes.
1107 (Resource Usage): Fix summary @comment on vtimes to refer to
1108 sys/vtimes.h rather than vtimes.h.
1109 Add missing *s in vtimes prototype.
1110 (Limits on Resources): Fix ulimit prototype to return long int.
1111 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1112 prototypes to use long int rather than double.
1113 (BSD Random): Fix initstate and setstate to use char *, not void *.
1114 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1115 prototype to make second argument 'struct aiocb64 *const[]'.
1116 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1117 (Status of AIO Operations): Remove erroneous const in aio_return and
1118 aio_return64 prototypes.
1119 (Synchronizing I/O): Fix sync prototype to return void.
1120 * manual/startup.texi (Suboptions): Remove an erroneous const in
1121 getsubopt prototype.
1122 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1123 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1124 use size_t rather than int.
1125 (Scanning All Users): Likewise for getpwent_r.
1126 (Setting Groups): Add missing const to setgroups prototype.
1127 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1128 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1129 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1130 'const void *' rather than 'const char *'.
1131 (Host Address Functions): Likewise for inet_ntop.
1132 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1133 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1134 ssize_t for return value.
1135 (Sending Data): Likewise for send, sendto, sendmsg.
1136 (Socket Option Functions): Add a missing const in setsockopt prototype.
1137 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1138 use wchar_t for the argument.
1139 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1140 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1142 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1143 double/float/long double for second argument.
1144 Fix return types of significand, significandf, significandl.
1145 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1146 argument in fchmod prototype.
1147 (File Owner): Use uid_t and gid_t in fchown prototype.
1148 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1149 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1150 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1151 use 'const struct dirent **' as argument types to CMP function pointer
1153 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1154 (File Times): Fix summary magic @comment for struct utimbuf and utime
1155 to refer to utime.h, not time.h.
1156 * manual/string.texi (Argz Functions): Add missing const in
1157 argz_extract and argz_next prototypes.
1158 (Finding Tokens in a String): Likewise for basename.
1159 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1160 (Copying and Concatenation): Fix typo in wmemmove prototype.
1161 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1162 (Signal Stack): Remove erroneous const in sigstack prototype.
1163 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1165 (Simple Calendar Time): Likewise for stime.
1166 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1168 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1169 say sys/sysctl.h instead.
1170 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1171 and vsyslog prototypes.
1173 2013-02-11 Tom de Vries <tom@codesourcery.com>
1175 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1178 2013-02-11 Roland McGrath <roland@hack.frob.com>
1180 * misc/sys/mman.h: Fix typo in mremap comment.
1182 2013-02-08 Roland McGrath <roland@hack.frob.com>
1184 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1185 the '\0' terminator.
1187 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1190 * debug/segfault.c: Don't include <bp-checks.h>.
1191 * sysdeps/generic/bp-checks.h: Remove file.
1192 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1193 (__GETDENTS): Don't use CHECK_N.
1194 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1195 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1196 (__getgroups): Don't use CHECK_N.
1197 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1198 (setgroups): Don't use CHECK_N.
1199 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1200 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1201 (__libc_msgrcv): Don't use CHECK_N.
1202 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1203 (__libc_msgsnd): Don't use CHECK_N.
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1206 (__libc_pread): Don't use CHECK_N.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1208 include <bp-checks.h>.
1209 (__libc_pread64): Don't use CHECK_N.
1210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1211 include <bp-checks.h>.
1212 (__libc_pwrite): Don't use CHECK_N.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1214 include <bp-checks.h>.
1215 (__libc_pwrite64): Don't use CHECK_N.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1218 (__libc_pread): Don't use CHECK_N.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1220 include <bp-checks.h>.
1221 (__libc_pread64): Don't use CHECK_N.
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1223 include <bp-checks.h>.
1224 (__libc_pwrite): Don't use CHECK_N.
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1226 include <bp-checks.h>.
1227 (__libc_pwrite64): Don't use CHECK_N.
1228 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1229 (do_pread): Don't use CHECK_N.
1230 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1231 (do_pread64): Don't use CHECK_N.
1232 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1233 (do_pwrite): Don't use CHECK_N.
1234 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1235 (do_pwrite64): Don't use CHECK_N.
1236 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1237 (__libc_readv): Don't use CHECK_N.
1238 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1239 (semop): Don't use CHECK_N.
1240 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1242 (semtimedop): Don't use CHECK_N.
1243 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1244 (__libc_pread): Don't use CHECK_N.
1245 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1247 (__libc_pread64): Don't use CHECK_N.
1248 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1250 (__libc_pwrite): Don't use CHECK_N.
1251 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1253 (__libc_pwrite64): Don't use CHECK_N.
1254 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1256 (__libc_msgrcv): Don't use CHECK_N.
1257 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1258 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1259 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1260 (__libc_writev): Don't use CHECK_N.
1262 2013-02-08 Roland McGrath <roland@hack.frob.com>
1264 * string/strcpy.c: Removed unused variable.
1266 * Makeconfig (+sysdep-includes): Define with := rather than =.
1267 Use an existing include/ subdir of each sysdeps dir before it.
1269 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1271 * nscd/connection.c (register_traced_file): Comment function.
1272 [HAVE_INOTIFY] (union __inev): Define.
1273 [HAVE_INOTIFY] (inotify_check_files): New function.
1274 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1275 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1277 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1279 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1281 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1282 loaded if not already and that a failure is permanent.
1284 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1287 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1288 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1290 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1293 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1294 (CHECK_1_NULL_OK): Likewise.
1295 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1296 (__fxstat): Do not use CHECK_1.
1297 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1299 (___fxstat64): Do not use CHECK_1.
1300 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1302 (__fxstatat): Do not use CHECK_1.
1303 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1305 (__fxstatat64): Do not use CHECK_1.
1306 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1308 (__fxstat): Do not use CHECK_1.
1309 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1311 (__fxstatat): Do not use CHECK_1.
1312 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1314 (__getresgid): Do not use CHECK_1.
1315 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1317 (__getresuid): Do not use CHECK_1.
1318 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1320 (__lxstat): Do not use CHECK_1.
1321 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1323 (__old_msgctl): Do not use CHECK_1.
1324 (__new_msgctl): Likewise.
1325 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1327 (__new_setrlimit): Do not use CHECK_1.
1328 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1330 (__old_shmctl): Do not use CHECK_1.
1331 (__new_shmctl): Likewise.
1332 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1334 (__xstat): Do not use CHECK_1.
1335 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1336 (__lxstat): Do not use CHECK_1.
1337 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1339 (___lxstat64): Do not use CHECK_1.
1340 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1341 (__old_msgctl): Do not use CHECK_1.
1342 (__new_msgctl): Likewise.
1343 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1345 (__gettimeofday): Do not use CHECK_1.
1346 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1347 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1348 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1350 (__gettimeofday): Do not use CHECK_1.
1351 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1352 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1353 (__new_shmctl): Do not use CHECK_1.
1354 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1356 (do_sigtimedwait): Do not use CHECK_1.
1357 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1359 (do_sigwaitinfo): Do not use CHECK_1.
1360 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1362 (msgctl): Do not use CHECK_1.
1363 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1365 (shmctl): Do not use CHECK_1.
1366 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1367 (ustat): Do not use CHECK_1.
1368 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1370 (__fxstat): Do not use CHECK_1.
1371 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1373 (__fxstatat): Do not use CHECK_1.
1374 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1376 (__lxstat): Do not use CHECK_1.
1377 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1379 (__xstat): Do not use CHECK_1.
1380 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1381 (__xstat): Do not use CHECK_1.
1382 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1383 (___xstat64): Do not use CHECK_1.
1386 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1388 (CHECK_BOUNDS_HIGH): Likewise.
1389 * string/strcpy.c: Do not include <bp-checks.h>.
1390 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1392 2013-02-07 Roland McGrath <roland@hack.frob.com>
1394 * nscd/nscd-client.h (__nscd_drop_map_ref):
1395 Add __attribute__ ((unused)).
1396 * nis/nss-nisplus.h (niserr2nss): Likewise.
1398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1399 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1401 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1402 Remove inline keyword.
1403 * include/rounding-mode.h (round_away): Likewise.
1404 * libio/wfileops.c (adjust_wide_data): Likewise.
1405 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1406 (__m128i_strloadu_tolower): Likewise.
1407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1408 (__m128i_strloadu_tolower): Likewise.
1409 * time/mktime.c (ydhms_diff): Likewise.
1410 * locale/elem-hash.h (elem_hash): Likewise.
1411 * locale/setlocale.c (setdata): Likewise.
1412 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1413 (re_string_wchar_at): Likewise.
1414 (bitset_not, bitset_merge, bitset_mask): Likewise.
1415 [!(__GNUC__ > 3)] (inline): Remove macro.
1416 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1417 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1418 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1419 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1420 * string/memcmp.c (memcmp_bytes): Likewise.
1421 * locale/programs/locarchive.c (compute_hashval): Likewise.
1422 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1423 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1424 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1425 * nss/getent.c (print_rpc, print_protocols): Likewise.
1426 (print_passwd, print_group, print_aliases): Likewise.
1427 * nis/nss-nisplus.h (niserr2nss): Likewise.
1428 * nscd/connections.c (restart_p): Likewise.
1429 Change return type to bool.
1431 2013-02-05 Roland McGrath <roland@hack.frob.com>
1433 * Makeconfig (all-Depend-files): Add existing
1434 $(sorted-subdirs:=/Depend) files.
1435 (all-subdirs): Remove nss.
1436 * sysdeps/unix/inet/Subdirs: Add it here instead.
1437 * hesiod/Depend: New file.
1439 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1440 instead of calling alloca.
1442 * io/lseek.c (__lseek): Rename to __libc_lseek.
1443 Define __lseek as an alias.
1445 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1447 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1449 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1450 else clause and remove check for non-standard endianness.
1452 2013-02-04 David S. Miller <davem@davemloft.net>
1454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1456 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1459 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1460 (__ubp_memchr): Remove prototype.
1461 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1462 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1463 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1464 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1465 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1467 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1468 (__ubp_memchr): Likewise.
1469 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1470 (__ubp_memchr): Likewise.
1471 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1472 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1473 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1474 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1476 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1477 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1478 (__getcwd): Do not use CHECK_STRING.
1479 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1481 (__real_chown): Do not use CHECK_STRING.
1482 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1484 (fchownat): Do not use CHECK_STRING.
1485 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1487 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1489 (__lchown): Do not use CHECK_STRING.
1490 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1491 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1492 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1493 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1495 include <bp-checks.h>.
1496 (truncate64): Do not use CHECK_STRING.
1497 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1499 (__real_chown): Do not use CHECK_STRING.
1500 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1502 (__lchown): Do not use CHECK_STRING.
1503 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1505 (__chown): Do not use CHECK_STRING.
1506 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1508 (truncate64): Do not use CHECK_STRING.
1509 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1511 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1512 (__xmknod): Do not use CHECK_STRING.
1513 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1515 (__xmknodat): Do not use CHECK_STRING.
1516 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1517 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1519 2013-02-04 Andreas Schwab <schwab@suse.de>
1522 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1523 * include/netdb.h: Likewise for h_errno.
1524 * elf/tst-stackguard1.c: Include <tls.h>.
1526 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1528 * elf/link.h (struct link_map): Extend the l_addr comment.
1529 * include/link.h (struct link_map): Likewise.
1531 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1534 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1535 (BOUNDED_1): Remove macro.
1536 * debug/backtrace.c: Don't include <bp-checks.h>.
1537 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1538 (__backtrace): Likewise.
1539 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1541 (__backtrace): Don't use BOUNDED_1.
1542 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1544 (__backtrace): Don't use BOUNDED_1.
1545 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1546 (__backtrace): Don't use BOUNDED_1.
1547 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1548 (shmat): Don't use BOUNDED_N.
1550 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1553 * sysdeps/generic/bp-start.h: Remove file.
1554 * csu/libc-start.c: Don't include <bp-start.h>.
1555 (LIBC_START_MAIN): Set up __environ directly instead of using
1556 INIT_ARGV_and_ENVIRON.
1557 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1561 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1563 (CHECK_FCNTL): Likewise.
1564 (CHECK_N_PAGES): Likewise.
1567 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1569 (CHECK_SIGSET_NULL_OK): Likewise.
1570 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1572 (sigpending): Don't use CHECK_SIGSET.
1573 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1575 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1576 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1578 (do_sigsuspend): Don't use CHECK_SIGSET.
1579 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1581 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1582 (do_sigwait): Don't use CHECK_SIGSET.
1583 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1585 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1586 include <bp-checks.h>.
1587 (sigpending): Don't use CHECK_SIGSET.
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1589 include <bp-checks.h>.
1590 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1591 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1593 (sigpending): Don't use CHECK_SIGSET.
1594 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1596 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1599 * sysdeps/generic/bp-semctl.h: Remove file.
1600 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1601 <bp-checks.h> and <bp-semctl.h>.
1602 (__old_semctl): Don't use CHECK_SEMCTL.
1603 (__new_semctl): Likewise.
1604 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1606 (__old_semctl): Don't use CHECK_SEMCTL.
1607 (__new_semctl): Likewise.
1608 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1609 <bp-checks.h> and <bp-semctl.h>.
1610 (__old_semctl): Don't use CHECK_SEMCTL.
1611 (__new_semctl): Likewise.
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1613 <bp-checks.h> and <bp-semctl.h>.
1614 (semctl): Don't use CHECK_SEMCTL.
1617 * Makerules (elide-bp-thunks): Remove variable.
1618 (elide-routines.oS): Don't use $(elide-bp-thunks).
1619 (elide-routines.os): Likewise.
1620 (elide-routines.o): Likewise.
1621 (elide-routines.op): Likewise.
1622 (elide-routines.og): Likewise.
1623 (objects): Don't use $(bp-thunks).
1624 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1626 (common-generated): Do not add s-proto-bp.d.
1627 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1630 Do not generate makefile rules for bounded-pointer thunks.
1631 * sysdeps/generic/bp-thunks.h: Remove file.
1632 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1633 * sysdeps/unix/s-proto-bp.S: Likewise.
1636 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1637 parts of result separately when argument is not close to line from
1638 -i to i and one part of argument is small.
1639 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1640 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1641 * math/libm-test.inc (cacos_test): Add more tests.
1642 (casin_test): Likewise.
1643 (casinh_test): Likewise.
1644 * sysdeps/i386/fpu/libm-test-ulps: Update.
1645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1647 2013-01-31 David S. Miller <davem@davemloft.net>
1649 * po/de.po: Update from translation team.
1651 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1653 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1655 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1657 * configure.in (_AC_PROG_CC_C89): New definition.
1658 * configure: Regenerate.
1660 * configure.in (AC_PROG_CPP): New definition.
1661 * configure: Regenerate.
1663 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1665 * debug/tst-backtrace.h: New file.
1666 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1667 (ret): Remove variable.
1669 (FAIL): Remove macro.
1670 (NO_INLINE): Likewise.
1671 (fn1): Use match function instead of strstr.
1672 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1673 (ret): Remove variable.
1675 (FAIL): Remove macro.
1676 (NO_INLINE): Likewise.
1677 (fn): Use match function instead of strstr.
1678 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1679 (ret): Remove variable.
1681 (FAIL): Remove macro.
1682 (NO_INLINE): Likewise.
1683 (handle_signal): Use match function instead of strstr.
1684 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1685 (ret): Remove variable.
1687 (FAIL): Remove macro.
1688 (NO_INLINE): Likewise.
1689 (handle_signal): Use match function instead of strstr.
1691 2013-01-23 Roland McGrath <roland@hack.frob.com>
1693 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1695 2013-01-23 David S. Miller <davem@davemloft.net>
1697 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1698 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1699 argument of CAS if possible.
1700 * sysdeps/sparc/sparc64/bits/atomic.h
1701 (__arch_compare_and_exchange_val_32_acq): Likewise.
1702 (__arch_compare_and_exchange_val_64_acq): Likewise.
1704 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1706 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1707 * sysdeps/posix/ulimit.c: ... this.
1709 * sysdeps/unix/bsd/ulimit.c: Remove file.
1711 2013-01-23 Adam Conrad <adconrad@0c3.net>
1713 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1714 (LDFLAGS-tst-array5): Likewise.
1716 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1719 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1720 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1721 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1722 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1724 2013-01-21 David S. Miller <davem@davemloft.net>
1726 * sysdeps/sparc/backtrace.c: New file.
1727 * sysdeps/sparc/sparc32/backtrace.h: New file.
1728 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1729 * sysdeps/sparc/sparc64/backtrace.h: New file.
1730 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1731 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1734 2013-01-21 Andreas Schwab <schwab@suse.de>
1737 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1740 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1746 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1747 Mark Mitchell <mark@codesourcery.com>
1748 Tom de Vries <tom@codesourcery.com>
1749 Paul Pluzhnikov <ppluzhnikov@google.com>
1751 * debug/tst-backtrace2.c: New file.
1752 * debug/tst-backtrace3.c: Likewise.
1753 * debug/tst-backtrace4.c: Likewise.
1754 * debug/tst-backtrace5.c: Likewise.
1755 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1756 (CFLAGS-tst-backtrace3.c): Likewise.
1757 (CFLAGS-tst-backtrace4.c): Likewise.
1758 (CFLAGS-tst-backtrace5.c): Likewise.
1759 (LDFLAGS-tst-backtrace2): Likewise.
1760 (LDFLAGS-tst-backtrace3): Likewise.
1761 (LDFLAGS-tst-backtrace4): Likewise.
1762 (LDFLAGS-tst-backtrace5): Likewise.
1763 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1764 tst-backtrace4 and tst-backtrace5.
1766 2013-01-18 Anton Blanchard <anton@samba.org>
1767 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1769 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1770 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1771 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1772 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1774 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1775 "+r" and remove output regs list as redundant. Add explicit inline
1776 asm to specify register of return val to work around compiler codegen
1777 bug. Remove (int) cast on return value. Add return type parameter to
1778 use in macro so that this macro does not truncate return value for
1780 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1781 pass to INTERNAL_VSYSCALL_NCS.
1782 (INLINE_VSYSCALL): Add 'long int' as return type to
1783 INTERNAL_VSYSCALL_NCS macro invocation.
1784 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1785 INTERNAL_VSYSCALL_NCS macro invocation.
1786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1788 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1791 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1792 Fix application of SIMD FP exception mask.
1794 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1795 mp_no from a power of two.
1796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1797 __mpexp_twomm1. Use __pow_mp.
1799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1802 2013-01-17 David S. Miller <davem@davemloft.net>
1804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1806 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1809 * include/complex.h: Condition contents on [!_COMPLEX_H].
1810 (__kernel_casinhf): New prototype.
1811 (__kernel_casinh): Likewise.
1812 (__kernel_casinhl): Likewise.
1813 * math/Makefile (libm_calls): Add k_casinh.
1814 * math/k_casinh.c: New file.
1815 * math/k_casinhf.c: Likewise.
1816 * math/k_casinhl.c: Likewise.
1817 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1818 finite nonzero arguments.
1819 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1820 finite nonzero arguments.
1821 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1822 finite nonzero arguments.
1823 * math/s_casinh.c: Do not include <float.h>.
1824 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1825 * math/s_casinhf.c: Do not include <float.h>.
1826 (__casinhf): Move code for finite nonzero arguments to
1828 * math/s_casinhl.c: Do not include <float.h>.
1829 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1831 (__casinhl): Move code for finite nonzero arguments to
1833 * math/libm-test.inc (cacos_test): Add more tests.
1834 * sysdeps/i386/fpu/libm-test-ulps: Update.
1835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1837 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1839 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1840 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1841 [!HAVE_MREMAP]: Remove [defined linux] case.
1842 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1844 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1846 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1848 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1850 * elf/elf.h (R_386_SIZE32): New relocation.
1851 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1853 (elf_machine_rela): Likewise.
1854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1855 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1857 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1859 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1860 (FP_FAST_FMA): Do not define.
1861 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1862 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1863 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1864 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1865 !_SOFT_FLOAT]: Likewise.
1866 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1867 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1869 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1870 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1872 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1873 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1874 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1877 2013-01-16 Andreas Schwab <schwab@suse.de>
1880 * include/stdlib.h (__mktemp): Add declaration.
1881 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1882 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1884 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1886 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1888 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1889 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1890 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1892 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1893 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1895 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1897 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1898 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1899 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1901 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1902 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1904 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1906 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1908 2013-01-15 David S. Miller <davem@davemloft.net>
1910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1911 trunc{,f} to libm-sysdep_routes.
1912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1922 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1923 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1924 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1925 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1926 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1927 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1930 nearbyint{,f} to libm-sysdep_routes.
1931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1942 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1948 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1949 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1951 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1952 libc_feholdexcept and libc_fesetenv.
1954 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1956 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1958 2013-01-14 David S. Miller <davem@davemloft.net>
1960 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1961 (SPARC_ASM_VIS2_IFUNC): Likewise.
1962 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1964 use of 'siam' instruction.
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1998 routines to libm-sysdep_routines.
1999 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2002 fdim/fdimf to libm-sysdep_routines.
2003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2011 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2012 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2013 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2014 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2016 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2021 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2026 local variable MPTWO.
2027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2030 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2032 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2035 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2037 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2039 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2041 * manual/pattern.texi (glob_t): Document gl_flags.
2042 (glob64_t): Likewise.
2044 2013-01-11 David S. Miller <davem@davemloft.net>
2046 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2047 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2048 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2049 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2050 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2051 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2052 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2053 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2054 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2055 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2056 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2057 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2058 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2060 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2061 sparc V9 rather than using V8 code.
2062 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2063 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2065 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2067 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2070 2013-01-11 Roland McGrath <roland@hack.frob.com>
2072 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2073 not in the main loop.
2074 * configure: Regenerated.
2076 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2078 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2079 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2081 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2082 [!__GLIBC_HAVE_LONG_LONG] case.
2083 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2084 condition to just #else.
2085 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2086 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2087 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2088 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2090 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2091 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2092 #elif condition to just #else.
2093 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2094 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2095 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2096 #elif condition to just #else.
2098 2013-01-11 Steve Ellcey <sellcey@mips.com>
2100 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2101 (EF_MIPS_ARCH_64): Fix value.
2102 (EF_MIPS_ARCH_32R2): New.
2103 (EF_MIPS_ARCH_64R2): New.
2105 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2107 * Makeconfig (+link-pie-before-libc): New.
2108 (+link-pie-after-libc): Likewise.
2109 (+link-pie-tests): Likewise.
2110 (+link-pie): Rewritten.
2111 (link-before-libc): Remove $(config-LDFLAGS).
2112 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2113 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2114 (config-LDFLAGS): Renamed to ...
2115 (rtld-LDFLAGS): This.
2116 (rtld-tests-LDFLAGS): New macro.
2117 (link-libc-rpath-link): Likewise.
2118 (link-libc-tests-rpath-link): Likewise.
2119 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2120 (link-libc): Prepand $(link-libc-rpath-link).
2121 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2122 (test-program-prefix): New macro.
2123 (test-via-rtld-prefix): Likewise.
2124 (test-program-cmd): Likewise.
2125 (host-test-program-cmd): Likewise.
2126 * Makefile ($(common-objpfx)testrun.sh): Replace
2127 $(run-program-prefix) with $(test-program-prefix).
2128 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2130 ($(common-objpfx)shlib.lds): Likewise.
2131 (build-module-helper): Likewise.
2132 ($(common-objpfx)format.lds): Likewise.
2133 * Rules (binaries-pie-tests): New.
2134 (binaries-pie-notests): Likewise.
2135 (binaries-pie): Rewritten.
2136 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2137 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2138 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2139 (make-test-out): Replace $(host-built-program-cmd) with
2140 $(host-test-program-cmd).
2141 * config.make.in (build-hardcoded-path-in-tests): New variable.
2142 * configure.in (--enable-hardcoded-path-in-tests): New configure
2144 (hardcoded_path_in_tests): New AC_SUBST.
2145 * configure: Regenerated.
2146 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2147 $(built-program-cmd) with $(test-program-cmd).
2148 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2149 (test_program_cmd): This.
2150 * elf/Makefile ($(objpfx)order.out): Run test with
2151 $(test-program-prefix).
2152 ($(objpfx)order2.out): Likewise.
2153 ($(objpfx)tst-initorder.out): Likewise.
2154 ($(objpfx)tst-initorder2.out): Likewise.
2155 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2156 $(test-program-cmd).
2157 ($(objpfx)tst-array1-static.out): Likewise.
2158 ($(objpfx)tst-array2.out): Likewise.
2159 ($(objpfx)tst-array3.out): Likewise.
2160 ($(objpfx)tst-array4.out): Likewise.
2161 ($(objpfx)tst-array5.out): Likewise.
2162 ($(objpfx)tst-array5-static.out): Likewise.
2163 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2164 $(test-program-cmd).
2165 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2166 $(run-program-prefix) with $(test-program-prefix).
2167 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2168 (test_program_prefix): This.
2169 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2170 $(run-program-prefix) with $(test-program-prefix).
2171 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2172 (test_program_prefix): This.
2173 * iconvdata/tst-tables.sh: Likewise.
2174 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2175 $(run-program-prefix) with $(test-program-prefix).
2176 ($(objpfx)tst-translit.out): Likewise.
2177 ($(objpfx)tst-gettext2.out): Likewise.
2178 ($(objpfx)tst-gettext4.out): Likewise.
2179 ($(objpfx)tst-gettext6.out): Likewise.
2180 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2181 (test_program_prefix): This.
2182 * intl/tst-gettext2.sh: Likewise.
2183 * intl/tst-gettext4.sh Likewise.
2184 * intl/tst-gettext6.sh: Likewise.
2185 * intl/tst-translit.sh: Likewise.
2186 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2187 with $(test-program-cmd).
2188 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2189 $(run-program-prefix) with $(test-program-prefix).
2190 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2191 (test_program_prefix): This.
2192 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2193 $(run-program-prefix) with $(test-program-prefix).
2194 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2195 (test_program_prefix): This.
2196 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2197 * posix/Makefile ($(objpfx)globtest.out): Replace
2198 $(run-via-rtld-prefix) and $(test-wrapper) with
2199 $(test-program-prefix) and $(test-via-rtld-prefix).
2200 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2201 $(test-program-prefix).
2202 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2203 $(host-test-program-cmd).
2204 (tst-spawn-ARGS): Likewise.
2205 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2206 $(test-program-prefix).
2207 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2208 (test_via_rtld_prefix): This.
2209 (test_wrapper): Renamed to ...
2210 (test_program_prefix): This.
2211 (run_program_prefix): Replaced by test_program_prefix.
2212 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2213 (test_program_prefix): This.
2214 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2215 with $(host-test-program-cmd).
2216 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2217 $(run-program-prefix) with $(test-program-prefix).
2218 ($(objpfx)tst-printf.out): Likewise.
2219 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2220 $(test-program-cmd).
2221 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2222 (test_program_prefix): This.
2223 * stdio-common/tst-unbputc.sh: Likewise.
2224 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2225 $(run-program-prefix) with $(test-program-prefix).
2226 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2227 (test_program_prefix): This.
2228 * string/Makefile ($(objpfx)tst-svc.out): Replace
2229 $(built-program-cmd) with $(test-program-cmd).
2231 2013-01-11 Andreas Jaeger <aj@suse.de>
2234 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2235 value. Sync with Linux 3.7.
2237 2013-01-10 David S. Miller <davem@davemloft.net>
2239 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2240 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2241 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2243 2013-01-10 Roland McGrath <roland@hack.frob.com>
2245 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2247 * configure: Regenerated.
2249 2013-01-10 David S. Miller <davem@davemloft.net>
2251 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2252 sparc V9 rather than using V8 code.
2253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2256 2013-01-10 Roland McGrath <roland@hack.frob.com>
2258 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2259 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2260 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2261 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2262 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2263 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2264 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2265 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2266 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2267 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2268 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2269 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2270 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2271 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2272 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2273 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2274 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2275 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2276 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2277 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2278 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2279 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2280 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2281 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2282 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2283 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2284 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2286 2013-01-10 David S. Miller <davem@davemloft.net>
2288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2290 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2292 * posix/Makefile (tests-static): New variable.
2293 (tests): Add $(tests-static).
2294 (tst-exec-static-ARGS): New variable.
2295 (tst-spawn-static-ARGS): Likewise.
2296 * posix/tst-exec-static.c: New file.
2297 * posix/tst-spawn-static.c: Likewise.
2298 * posix/tst-exec.c: Support run directly.
2299 * posix/tst-spawn.c: Likewise.
2301 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2303 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2305 * math/bits/mathcalls.h (llrint): Likewise.
2306 (llround): Likewise.
2307 * stdlib/stdlib.h (struct drand48_data): Likewise.
2308 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2309 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2310 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2312 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2314 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2315 (elf_greg_t): Likewise.
2316 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2317 (__jmp_buf): Likewise.
2318 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2320 (llrint): Likewise, for all definitions.
2321 (llrintl): Likewise.
2323 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2324 Remove [__GNUC__] condition.
2325 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2326 condition to just [__USE_ISOC99].
2327 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2329 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2332 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2333 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2335 (_POSIX_V6_ILP32_OFF32): Likewise.
2336 (_XBS5_ILP32_OFF32): Likewise.
2337 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2338 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2340 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2342 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2345 doubles __mpexp_twomm1. Adjust usage.
2346 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2349 2013-01-10 Andreas Schwab <schwab@suse.de>
2352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2353 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2355 2013-01-09 David S. Miller <davem@davemloft.net>
2358 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2359 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2360 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2361 TCP_FASTOPEN): Define.
2362 (tcp_repair_opt): New structure.
2363 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2365 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2366 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2367 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2368 (tcp_cookie_transactions): New structure.
2370 2013-01-09 Anton Blanchard <anton@samba.org>
2372 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2373 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2375 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2377 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2379 * include/features.h (__USE_ANSI): Remove.
2381 2013-01-09 Roland McGrath <roland@hack.frob.com>
2383 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2385 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2387 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2389 * sysdeps/s390/fpu/libm-test-ulps: Update.
2391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2393 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2398 (__mp_dbl): Likewise.
2399 (__dbl_mp): Likewise.
2400 (add_magnitudes): Likewise.
2401 (sub_magnitudes): Likewise.
2407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2412 (__mp_dbl): Likewise.
2413 (__dbl_mp): Likewise.
2414 (add_magnitudes): Likewise.
2415 (sub_magnitudes): Likewise.
2421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2426 (__mp_dbl): Likewise.
2427 (__dbl_mp): Likewise.
2428 (add_magnitudes): Likewise.
2429 (sub_magnitudes): Likewise.
2436 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2438 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2439 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2440 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2441 2 && __USE_EXTERN_INLINES]: Likewise.
2443 2013-01-08 Andreas Jaeger <aj@suse.de>
2446 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2448 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2449 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2451 2013-01-07 Anton Blanchard <anton@samba.org>
2453 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2454 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2455 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2456 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2457 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2458 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2459 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2460 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2462 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2463 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2464 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2465 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2466 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2467 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2469 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2471 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2473 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2474 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2475 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2477 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2478 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2479 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2480 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2482 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2483 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2485 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2486 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2487 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2488 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2489 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2490 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2492 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2493 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2495 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2497 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2499 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2500 (__MALLOC_PMT): Likewise.
2501 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2502 [__GNUC__], only on [_LIBC].
2503 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2504 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2505 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2506 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2507 forward declaration.
2508 (realloc_hook_ini): Likewise.
2509 (memalign_hook_ini): Likewise.
2510 (__libc_memalign): Do not use __MALLOC_PMT in variable
2512 (__libc_valloc): Likewise.
2513 (__libc_pvalloc): Likewise.
2514 (__libc_calloc): Likewise.
2515 (__posix_memalign): Likewise.
2518 * math/s_casinh.c: Include <float.h>.
2519 (__casinh): Do not do computation with squaring and square root
2520 for large arguments.
2521 * math/s_casinhf.c: Include <float.h>.
2522 (__casinhf): Do not do computation with squaring and square root
2523 for large arguments.
2524 * math/s_casinhl.c: Include <float.h>.
2525 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2526 (__casinhl): Do not do computation with squaring and square root
2527 for large arguments.
2528 * math/libm-test.inc (casin_test): Add more tests.
2529 (casinh_test): Likewise.
2530 * sysdeps/i386/fpu/libm-test-ulps: Update.
2531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2533 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2535 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2536 (__x86_64_raw_data_cache_size): Likewise.
2537 (__x86_64_data_cache_size_half): Likewise.
2538 (__x86_64_raw_data_cache_size_half): Likewise.
2539 (__x86_64_shared_cache_size): Likewise.
2540 (__x86_64_raw_shared_cache_size): Likewise.
2541 (__x86_64_shared_cache_size_half): Likewise.
2542 (__x86_64_raw_shared_cache_size_half): Likewise.
2543 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2545 (__x86_data_cache_size): This.
2546 (__x86_64_raw_data_cache_size): Renamed to ...
2547 (__x86_raw_data_cache_size): This.
2548 (__x86_64_data_cache_size_half): Renamed to ...
2549 (__x86_data_cache_size_half): This.
2550 (__x86_64_raw_data_cache_size_half): Renamed to ...
2551 (__x86_raw_data_cache_size_half): This.
2552 (__x86_64_shared_cache_size): Renamed to ...
2553 (__x86_shared_cache_size): This.
2554 (__x86_64_raw_shared_cache_size): Renamed to ...
2555 (__x86_raw_shared_cache_size): This.
2556 (__x86_64_shared_cache_size_half): Renamed to ...
2557 (__x86_shared_cache_size_half): This.
2558 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2559 (__x86_raw_shared_cache_size_half): This.
2560 * sysdeps/x86_64/memcpy.S: Updated.
2561 * sysdeps/x86_64/memset.S: Likewise.
2562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2564 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2566 2013-01-04 David S. Miller <davem@davemloft.net>
2568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2570 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2572 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2573 1 to avoid redefinition warning.
2574 (__USE_GNU): Don't define.
2575 (init_signaling_nan): Protoize.
2577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2579 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2581 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2583 (__cpymn): Likewise.
2584 (norm): Remove commented code.
2586 (__mp_dbl): Likewise.
2588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2589 (__cpymn): Likewise.
2590 (norm): Remove commented code.
2592 (__mp_dbl): Likewise.
2595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2596 mp_no value for 1.0 and 2.0.
2597 (norm): Use RADIXI instead of radixi.d.
2599 (__mul): Use 0.0 instead of zero.d.
2600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2601 mp_no value for 1.0 and 2.0.
2602 (norm): Use RADIXI instead of radixi.d.
2604 (__mul): Use 0.0 instead of zero.d.
2606 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2609 * math/s_casinh.c (__casinh): Reduce finite argument to first
2610 quadrant then set signs of results at the end.
2611 * math/s_casinhf.c (__casinhf): Likewise.
2612 * math/s_casinhl.c (__casinhl): Likewise.
2613 * math/libm-test.inc (casin_test): Add more tests.
2614 (casinh_test): Likewise.
2615 * sysdeps/i386/fpu/libm-test-ulps: Update.
2616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2618 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2620 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2622 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2624 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2627 (__mp_dbl): Likewise.
2630 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2631 and adjust the header comment.
2633 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2634 variable name from declaration.
2636 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2639 Initialize COMMON_CPUID_INDEX_7 element.
2640 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2641 (CPUID_RTM): Likewise.
2642 (HAS_RTM): Likewise.
2643 (COMMON_CPUID_INDEX_7): New enum.
2645 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2648 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2649 size is zero, record memory as freed.
2651 2013-01-03 Andreas Jaeger <aj@suse.de>
2653 * po/ia.po: Add new Interlingua translation.
2655 2012-01-03 Allan McRae <allan@archlinux.org>
2657 * locale/programs/localedef.c: Fix description of '--posix' flag.
2659 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2661 * NEWS: Update dates in second copyright notice.
2662 * README: Update copyright dates in example.
2663 * manual/libc.texinfo: Update copyright dates.
2664 * scripts/test-installation.pl: Update copyright date in --version
2667 * hurd/ctty-input.c: Fix copyright notice formatting.
2668 * hurd/ctty-output.c: Likewise.
2669 * hurd/dtable.c: Likewise.
2670 * hurd/hurd-raise.c: Likewise.
2671 * hurd/hurdprio.c: Likewise.
2672 * hurd/msgportdemux.c: Likewise.
2673 * misc/sys/file.h: Likewise.
2674 * misc/sys/ioctl.h: Likewise.
2675 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2676 * sysdeps/mach/hurd/chdir.c: Likewise.
2677 * sysdeps/mach/hurd/fchdir.c: Likewise.
2678 * sysdeps/mach/hurd/rename.c: Likewise.
2679 * sysdeps/mach/hurd/rmdir.c: Likewise.
2680 * sysdeps/mach/hurd/seekdir.c: Likewise.
2681 * sysdeps/mach/hurd/setsid.c: Likewise.
2682 * sysdeps/posix/wait3.c: Likewise.
2684 * All files with FSF copyright notices: Update copyright dates
2685 using scripts/update-copyrights.
2686 * intl/plural.c: Regenerated.
2687 * locale/programs/charmap-kw.h: Likewise.
2688 * locale/programs/locfile-kw.h: Likewise.
2690 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2692 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2695 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2696 calculation loop and add branch prediction.
2698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2699 check access beyond bounds of m1np.
2701 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2703 (__inv): Remove local variable MPTWO to use the global
2705 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2708 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2709 MP3HALFS static const.
2711 2013-01-01 David S. Miller <davem@davemloft.net>
2713 * po/ca.po: Update from translation team.
2715 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2717 * scripts/update-copyrights: New file.
2718 * Makeconfig: Reformat copyright notice.
2719 * ctype/ctype.h: Likewise.
2720 * debug/swprintf_chk.c: Likewise.
2721 * elf/dl-cache.c: Likewise.
2722 * elf/dl-debug.c: Likewise.
2723 * elf/dl-object.c: Likewise.
2724 * grp/initgroups.c: Likewise.
2725 * hurd/Makefile: Likewise.
2726 * hurd/hurd/signal.h: Likewise.
2727 * hurd/hurdfault.c: Likewise.
2728 * hurd/hurdioctl.c: Likewise.
2729 * hurd/hurdlookup.c: Likewise.
2730 * hurd/intr-msg.c: Likewise.
2731 * iconv/gconv_open.c: Likewise.
2732 * libio/swprintf.c: Likewise.
2733 * locale/lc-ctype.c: Likewise.
2734 * locale/nl_langinfo.c: Likewise.
2735 * mach/Machrules: Likewise.
2736 * mach/Makefile: Likewise.
2737 * malloc/obstack.h: Likewise.
2738 * manual/Makefile: Likewise.
2739 * manual/tsort.awk: Likewise.
2740 * misc/bits/stab.def: Likewise.
2741 * nis/nis_print_group_entry.c: Likewise.
2742 * nis/nis_table.c: Likewise.
2743 * nis/nss_compat/compat-pwd.c: Likewise.
2744 * nis/nss_compat/compat-spwd.c: Likewise.
2745 * po/Makefile: Likewise.
2746 * posix/fnmatch.c: Likewise.
2747 * posix/regex.h: Likewise.
2748 * resolv/Makefile: Likewise.
2749 * resolv/nss_dns/dns-network.c: Likewise.
2750 * resolv/res_hconf.c: Likewise.
2751 * scripts/gen-sorted.awk: Likewise.
2752 * soft-fp/soft-fp.h: Likewise.
2753 * stdio-common/printf.h: Likewise.
2754 * stdlib/monetary.h: Likewise.
2755 * stdlib/random.c: Likewise.
2756 * stdlib/random_r.c: Likewise.
2757 * sysdeps/generic/Makefile: Likewise.
2758 * sysdeps/gnu/Makefile: Likewise.
2759 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2766 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2769 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2770 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2771 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2772 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2773 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2774 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2775 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2777 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2780 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2782 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2783 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2784 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2785 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2786 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2787 * sysdeps/mach/hurd/errnos.awk: Likewise.
2788 * sysdeps/mach/hurd/fork.c: Likewise.
2789 * sysdeps/mach/hurd/getcwd.c: Likewise.
2790 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2791 * sysdeps/mach/hurd/mmap.c: Likewise.
2792 * sysdeps/mach/hurd/utimes.c: Likewise.
2793 * sysdeps/mach/hurd/xmknod.c: Likewise.
2794 * sysdeps/posix/profil.c: Likewise.
2795 * sysdeps/posix/readdir_r.c: Likewise.
2796 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2797 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2798 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2799 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2801 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2802 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2803 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2807 * sysdeps/pthread/lio_listio.c: Likewise.
2808 * sysdeps/sparc/dl-procinfo.h: Likewise.
2809 * sysdeps/unix/i386/sysdep.S: Likewise.
2810 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2811 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2812 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2813 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2815 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2816 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2817 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2818 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2819 * sysdeps/wordsize-32/divdi3.c: Likewise.
2820 * time/sys/time.h: Likewise.
2821 * wcsmbs/Makefile: Likewise.
2823 2013-01-01 David S. Miller <davem@davemloft.net>
2825 * po/fr.po: Update from translation team.
2827 * catgets/gencat.c: Update copyright year.
2828 * csu/version.c: Likewise.
2829 * debug/catchsegv.sh: Likewise.
2830 * debug/pcprofiledump.c: Likewise.
2831 * debug/xtrace.sh: Likewise.
2832 * elf/ldconfig.c: Likewise.
2833 * elf/ldd.bash.in: Likewise.
2834 * elf/pldd.c: Likewise.
2835 * elf/sotruss.ksh: Likewise.
2836 * elf/sprof.c: Likewise.
2837 * iconv/iconv_prog.c: Likewise.
2838 * iconv/iconvconfig.c: Likewise.
2839 * locale/programs/locale.c: Likewise.
2840 * locale/programs/localedef.c: Likewise.
2841 * login/programs/pt_chown.c: Likewise.
2842 * malloc/memusage.sh: Likewise.
2843 * malloc/memusagestat.c: Likewise.
2844 * malloc/mtrace.pl: Likewise.
2845 * nscd/nscd.c: Likewise.
2846 * nss/getent.c: Likewise.
2847 * nss/makedb.c: Likewise.
2848 * posix/getconf.c: Likewise.
2850 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2852 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2855 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2857 * math/bits/mathcalls.h (modf): Use __nonnull.
2859 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2861 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2862 (split): Use macro CN instead of the bare value.
2863 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2866 instead of the bare value.
2869 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2873 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2875 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2877 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2879 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2880 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2882 2012-12-28 Andreas Jaeger <aj@suse.de>
2884 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2885 values are from Linux 3.7.
2887 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2888 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2890 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2892 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2895 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2897 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2898 variables with preprocessor constants.
2899 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2900 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2901 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2903 2012-12-27 Bruno Haible <bruno@clisp.org>
2906 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2909 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2912 and use variable directly.
2913 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2915 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2917 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2918 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2920 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2922 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2923 include directive. Remove local variable MPONE.
2924 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2925 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2928 2012-12-25 David S. Miller <davem@davemloft.net>
2930 * version.h (RELEASE): Set to "development".
2931 (VERSION): Set to "2.17.90".
2932 * NEWS: Add 2.18 section.
2934 2012-12-21 David S. Miller <davem@davemloft.net>
2936 * po/hr.po: Update from translation team.
2938 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2940 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2942 2012-12-19 Steve Ellcey <sellcey@mips.com>
2944 * NEWS: Mention new memcpy for MIPS.
2946 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2948 * manual/contrib.texi (Contributors): Spelling correction.
2950 2012-12-15 David S. Miller <davem@davemloft.net>
2952 * po/ru.po: Update from translation team.
2954 2012-12-13 David S. Miller <davem@davemloft.net>
2956 * NEWS: Mention IFUNC testsuite enhancements.
2958 * po/pl.po: Update from translation team.
2959 * po/bg.po: Likewise.
2961 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2962 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2964 2012-12-11 David S. Miller <davem@davemloft.net>
2966 * po/sv.po: Update from translation team.
2968 * po/vi.po: Update from translation team.
2970 * po/cs.po: Update from translation team.
2972 * po/de.po: Update from translation team.
2973 * po/eo.po: Likewise.
2974 * po/nl.po: Likewise.
2976 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2979 * manual/argp.texi (Argp Helper Functions): Move node to follow
2983 * manual/conf.texi (Limits on File System Capacity): Mention if
2984 terminating null is included in the max size.
2986 2012-12-10 Andreas Jaeger <aj@suse.de>
2988 * po/cs.po: Update from translation team.
2990 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2992 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2993 void pointer and cast to uintptr_t.
2994 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2996 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2997 * sysdeps/s390/s390-64/memset.S: Likewise.
2999 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3002 * menual/message.texi (Message Translation): Fix typos.
3003 (Helper programs for gettext): Likewise.
3005 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3008 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3011 2012-12-07 David S. Miller <davem@davemloft.net>
3013 * po/libc.pot: Update.
3015 2012-12-07 Richard Henderson <rth@redhat.com>
3018 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3019 normal/normal case to before the switch.
3020 (_FP_DIV): Likewise.
3022 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3023 Mike Frysinger <vapier@gentoo.org>
3025 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3026 check for __NR_fadvise64_64.
3028 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3030 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3031 0, not just to plain "0" as a statement.
3032 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3035 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3037 * NEWS: Use sourceware.org in Bugzilla URL.
3039 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3042 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3044 * stdio-common/tst-put-error.c (do_test): Add newline to the
3045 padded test to ensure flush.
3047 2012-12-05 Jeff Law <law@redhat.com>
3049 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3051 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3053 * README: Don't refer to ports add-on as distributed separately.
3054 Mention AArch64 in list of systems supported in the ports add-on.
3056 * LICENSES: Add more non-FSF copyright and license notices.
3058 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3061 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3063 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3064 10000 as width of padded output.
3066 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3068 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3070 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3071 variable LX with __attribute__ ((unused)).
3072 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3074 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3077 with __attribute__ ((unused)).
3079 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3081 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3083 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3085 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3086 (CFLAGS-nldbl-acos.c): New variable.
3087 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3088 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3089 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3090 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3091 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3092 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3093 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3094 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3095 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3096 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3097 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3098 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3099 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3100 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3101 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3102 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3103 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3104 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3105 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3106 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3107 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3108 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3109 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3110 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3111 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3112 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3113 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3114 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3115 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3116 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3117 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3118 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3186 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3189 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3190 whole low double instead of just low 47 bits when splitting values
3193 2012-12-03 Allan McRae <allan@archlinux.org>
3195 * manual/stdio.texi (Predefined Printf Handlers): Remove
3196 @hsep and @vsep usage.
3198 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3200 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3201 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3203 2012-12-03 Jeff Law <law@redhat.com>
3205 * time/sys/time.h (settimeofday): Do not mark TV argument
3208 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3210 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3211 when currently writing and seek to current position when not.
3212 * libio/Makefile (tests): Remove bug-fclose1.
3213 * libio/bug-fclose1.c: Delete.
3215 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3217 * manual/arith.texi (feenableexcept): Fix typo.
3218 (fedisableexcept): Likewise.
3220 2012-11-30 Roland McGrath <roland@hack.frob.com>
3222 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3223 second, differently-typed declaration, rather than a cast.
3225 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3227 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3228 * include/rpc/svc.h: ... here.
3230 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3233 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3234 depending n and resplen2 to catch cases where answer
3237 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3239 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3240 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3242 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3246 2012-11-29 Roland McGrath <roland@hack.frob.com>
3248 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3250 2012-11-28 Jeff Law <law@redhat.com>
3253 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3254 dataset_temporary. Track alloca usage into alloca_used.
3255 If dataset is large allocate and release it via malloc/free.
3257 2012-06-04 Florian Weimer <fweimer@redhat.com>
3260 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3262 2012-11-28 David S. Miller <davem@davemloft.net>
3264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3266 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3269 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3270 of pi/2 rounded to nearest to 64 bits.
3271 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3273 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3276 2012-11-28 Jeff Law <law@redhat.com>
3277 Martin Osvald <mosvald@redhat.com>
3280 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3281 * sunrpc/svc.c: Include time.h.
3282 (__svc_accept_failed): New function.
3283 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3284 any reason other than EINTR, call __svc_accept_failed.
3285 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3286 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3288 2012-11-28 Andreas Schwab <schwab@suse.de>
3290 * scripts/abilist.awk: Also handle indirect functions in .opd
3293 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3296 * sysdeps/x86/fpu/powl_helper.c: New file.
3297 * sysdeps/x86/fpu/Makefile: Likewise.
3298 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3300 (__ieee754_powl): Use __powl_helper for finite arguments except
3301 integer exponents below 8.
3302 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3304 (__ieee754_powl): Use __powl_helper for finite arguments except
3305 integer exponents below 8.
3306 * math/libm-test.inc (pow_test): Add more tests and enable some
3307 previously disabled tests.
3308 * sysdeps/i386/fpu/libm-test-ulps: Update.
3309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3311 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3312 Carlos O'Donell <carlos_odonell@mentor.com>
3314 * nss/makedb.c (is_prime): Assert that input is odd and greater
3315 than 4. Note that fact in a comment too.
3316 (next_prime): Add 4 to input.
3318 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3321 * libio/Makefile (tests): Add test case tst-fwrite-error.
3322 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3323 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3324 * libio/tst-fwrite-error.c: New test case.
3326 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3328 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3329 before casting to void *.
3330 * include/libc-internal.h (__pointer_type): New macro.
3331 (__integer_if_pointer_type_sub): Likewise.
3332 (__integer_if_pointer_type): Likewise.
3333 (cast_to_integer): Likewise.
3334 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3335 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3336 before casting to atomic64_t.
3337 (atomic_exchange_acq): Likewise.
3338 (__arch_exchange_and_add_body): Likewise.
3339 (__arch_add_body): Likewise.
3340 (atomic_add_negative): Likewise.
3341 (atomic_add_zero): Likewise.
3343 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3345 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3346 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3347 (add_fdes): Likewise.
3348 (linear_search_fdes): Likewise.
3349 (binary_search_unencoded_fdes): Likewise.
3351 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3353 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3355 2012-11-24 Adam Conrad <adconrad@0c3.net>
3357 * configure.in: Autodetect C++ header directories.
3358 * configure: Regenerated.
3360 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3362 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3364 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3368 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3370 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3371 LDBL_MANT_DIG == 106]: Disable some tests.
3372 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3374 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3379 input for small inputs. Return +/- pi/2 for large inputs.
3380 * math/libm-test.inc (atan_test): Add more tests.
3382 * sysdeps/generic/unwind-dw2-fde-glibc.c
3383 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3384 __attribute__ ((unused)).
3387 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3388 x * y if x and y are nonzero and z is zero.
3391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3392 nonzero exponents with absolute value below 0x1p-117 to +/-
3396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3397 up arguments below 2**-450, not just those below 2**-500.
3398 * math/libm-test.inc (hypot_test): Add another test.
3401 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3402 Return a+b for ratio over 2**120, not 2**60.
3403 * math/libm-test.inc (hypot_test): Add another test.
3405 * math/libm-test.inc (clog_test): Use
3406 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3407 (clog10_test): Likewise.
3410 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3412 2012-11-22 Andreas Schwab <schwab@suse.de>
3414 * sysdeps/i386/fpu/libm-test-ulps: Update.
3416 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3418 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3419 printf output with newline.
3421 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3424 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3425 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3426 -z nodlopen, -z initfirst and -z execstack support.
3427 * configure: Regenerated.
3429 * elf/elf.h (DF_1_NODIRECT): New macro.
3430 (DF_1_IGNMULDEF): Likewise.
3431 (DF_1_NOKSYMS): Likewise.
3432 (DF_1_NOHDR): Likewise.
3433 (DF_1_EDITED): Likewise.
3434 (DF_1_NORELOC): Likewise.
3435 (DF_1_SYMINTPOSE): Likewise.
3436 (DF_1_GLOBAUDIT): Likewise.
3437 (DF_1_SINGLETON): Likewise.
3438 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3439 DT_1_SUPPORTED_MASK bits.
3440 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3442 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3444 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3446 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3448 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3451 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3452 (sendmmsg): Move declarations...
3453 * socket/sys/socket.h: ... here.
3454 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3455 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3457 * socket/recvmmsg.c: ... this new file.
3458 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3459 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3460 definition of __sendmmsg hidden.
3461 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3462 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3463 Move ENOSYS stub into and include it from...
3464 * socket/sendmmsg.c: ... this new file.
3465 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3466 (sysdep_routines): Move recvmmsg and sendmmsg...
3467 * socket/Makefile (routines): ... here.
3468 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3469 (GLIBC_PRIVATE): Add __sendmmsg.
3470 * include/sys/socket.h (__sendmmsg): Add declarations.
3471 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3474 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3477 variable I1 with __attribute__ ((unused)).
3478 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3480 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3482 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3483 DUMMY variables with __attribute__ ((unused)).
3485 * bits/byteswap.h: Include <bits/types.h>.
3486 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3488 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3490 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3491 string_t. Do not manually set errno.
3492 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3493 length with __strnlen. Make sure to both set errno and return it on
3496 2012-11-19 David S. Miller <davem@davemloft.net>
3498 With help from Joseph Myers.
3499 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3500 very large arguments properly.
3501 * math/libm-test.inc (atan_test): New tests.
3502 (atan2_test): New tests.
3503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3506 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3509 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3512 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3513 [POSIX] (EADDRNOTAVAIL): Likewise.
3514 [POSIX] (EAFNOSUPPORT): Likewise.
3515 [POSIX] (EALREADY): Likewise.
3516 [POSIX] (ECONNABORTED): Likewise.
3517 [POSIX] (ECONNREFUSED): Likewise.
3518 [POSIX] (ECONNRESET): Likewise.
3519 [POSIX] (EDESTADDRREQ): Likewise.
3520 [POSIX] (EDQUOT): Likewise.
3521 [POSIX] (EHOSTUNREACH): Likewise.
3522 [POSIX] (EIDRM): Likewise.
3523 [POSIX] (EISCONN): Likewise.
3524 [POSIX] (ELOOP): Likewise.
3525 [POSIX] (EMULTIHOP): Likewise.
3526 [POSIX] (ENETDOWN): Likewise.
3527 [POSIX] (ENETUNREACH): Likewise.
3528 [POSIX] (ENOBUFS): Likewise.
3529 [POSIX] (ENODATA): Likewise.
3530 [POSIX] (ENOLINK): Likewise.
3531 [POSIX] (ENOMSG): Likewise.
3532 [POSIX] (ENOPROTOOPT): Likewise.
3533 [POSIX] (ENOSR): Likewise.
3534 [POSIX] (ENOSTR): Likewise.
3535 [POSIX] (ENOTCONN): Likewise.
3536 [POSIX] (ENOTSOCK): Likewise.
3537 [POSIX] (EOPNOTSUPP): Likewise.
3538 [POSIX] (EOVERFLOW): Likewise.
3539 [POSIX] (EPROTO): Likewise.
3540 [POSIX] (EPROTONOSUPPORT): Likewise.
3541 [POSIX] (EPROTOTYPE): Likewise.
3542 [POSIX] (ESTALE): Likewise.
3543 [POSIX] (ETIME): Likewise.
3544 [POSIX] (ETXTBSY): Likewise.
3545 [POSIX] (EWOULDBLOCK): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3547 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3548 [POSIX] (SEEK_CUR): Likewise.
3549 [POSIX] (SEEK_END): Likewise.
3550 [POSIX || UNIX98] (mode_t): Do not require.
3551 [POSIX] (off_t): Likewise.
3552 [POSIX] (pid_t): Likewise.
3553 [POSIX] (sys/stat.h): Do not allow header.
3554 [POSIX] (unistd.h): Likewise.
3555 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3556 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3558 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3560 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3561 sigevent): Specify elements.
3562 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3564 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3565 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3567 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3568 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3569 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3570 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3571 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3572 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3573 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3574 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3576 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3577 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3578 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3579 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3580 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3582 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3588 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3589 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3590 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3591 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3593 Specify lower bound on value.
3594 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3595 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3596 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3597 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3600 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3601 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3603 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3605 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3611 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3612 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3617 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3618 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3622 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3624 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3631 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3636 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3637 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3639 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3643 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3644 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3645 specify as optional.
3646 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3649 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3650 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3651 [XPG3] (NL_LANGMAX): Likewise.
3652 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3653 [POSIX || XPG3] (NL_NMAX): Likewise.
3654 [POSIX || XPG3] (NL_SETMAX): Likewise.
3655 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3656 [XPG3] (NZERO): Likewise.
3657 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3658 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3659 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3660 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3661 (REG_ERANGE): Expect.
3662 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3664 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3665 Use (void) in prototype.
3666 [POSIX] (*_t): Allow.
3667 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3668 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3669 (WRDE_BADVAL): Expect.
3671 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3673 [XPG3 || XPG4] (O_RSYNC): Likewise.
3674 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3676 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3677 [XPG3 || XPG4] (sigqueue): Likewise.
3678 [XPG3 || XPG4] (sigtimedwait): Likewise.
3679 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3680 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3681 [XPG3 || XPG4] (vsnprintf): Likewise.
3682 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3684 [XPG3 || XPG4] (blksize_t): Likewise.
3685 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3687 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3688 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3689 [XPG3 || XPG4] (struct itimerspec): Likewise.
3690 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3691 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3692 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3693 [XPG3 || XPG4] (clockid_t): Likewise.
3694 [XPG3 || XPG4] (timer_t): Likewise.
3695 [XPG3 || XPG4] (clock_getres): Likewise.
3696 [XPG3 || XPG4] (clock_gettime): Likewise.
3697 [XPG3 || XPG4] (clock_settime): Likewise.
3698 [XPG3 || XPG4] (nanosleep): Likewise.
3699 [XPG3 || XPG4] (timer_create): Likewise.
3700 [XPG3 || XPG4] (timer_delete): Likewise.
3701 [XPG3 || XPG4] (timer_gettime): Likewise.
3702 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3703 [XPG3 || XPG4] (timer_settime): Likewise.
3704 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3705 [XPG3 || XPG4] (getlogin_r): Likewise.
3706 [XPG3 || XPG4] (pread): Likewise.
3707 [XPG3 || XPG4] (pthread_atfork): Likewise.
3708 [XPG3 || XPG4] (pwrite): Likewise.
3711 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3714 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3716 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3717 finalizing MALLSTREAM.
3719 * sysdeps/mach/hurd/syncfs.c: New file.
3721 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3724 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3725 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3726 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3727 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3728 (_nss_dns_gethostbyname4_r): Likewise.
3729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3730 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3732 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3735 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3737 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3739 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3740 * elf/cache.c (print_entry): Print ",AArch64" for
3743 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3744 * elf/cache.c (print_entry): Print ",hard-float" for
3747 2012-11-18 David S. Miller <davem@davemloft.net>
3749 With help from Joseph Myers.
3750 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3752 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3754 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3755 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3757 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3758 * math/libm-test.inc (y0_test): New tests.
3759 (y1_test): New tests.
3760 * sysdeps/i386/fpu/libm-test-ulps: Update.
3761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3764 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3766 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3768 * configure: Regenerated.
3770 2012-11-17 David S. Miller <davem@davemloft.net>
3773 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3774 nonzero exponents with absolute value below 0x1p-128 to +/-
3777 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3779 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3781 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3783 * posix/getconf-speclist.c: New file.
3784 * posix/posix-envs.def: Likewise.
3785 * posix/confstr.c (START_ENV_GROUP): New macro.
3786 (END_ENV_GROUP): Likewise.
3787 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3788 (KNOWN_PRESENT_ENV_STRING): Likewise.
3789 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3790 (UNKNOWN_ENVIRONMENT): Likewise.
3791 (confstr): Include posix-envs.def instead of handling
3792 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3793 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3794 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3795 (END_ENV_GROUP): Likewise.
3796 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3797 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3798 (UNKNOWN_ENVIRONMENT): Likewise.
3799 (__sysconf): Include posix-envs.def instead of handling associated
3800 cases directly here.
3801 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3802 preprocessing getconf-speclist.c rather than running getconf or
3803 generating empty file.
3805 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3807 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3809 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3812 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3814 2012-11-16 David S. Miller <davem@davemloft.net>
3816 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3817 smaller than LDBL_EPSILON/2.0L, just return xm1.
3819 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3821 * elf/tst-array1.c (init): Set constructor priority to 1000.
3822 (fini): Set destructor priority to 1000.
3823 * elf/tst-array2dep.c: Likewise.
3825 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3828 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3829 (_IO_new_file_xsputn): Also return EOF if none of the input
3830 data was written when overflow failed.
3831 * libio/iopadn.c (_IO_padn): Likewise.
3832 * libio/iowpadn.c (_IO_wpadn): Likewise.
3833 * stdio-common/tst-put-error.c: Add copyright notice.
3834 (do_test): Add case for printing padded string.
3835 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3836 _IO_padn returned error.
3837 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3838 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3841 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3843 * libio/libioP.h: Add comment note that the references to C++
3844 bits are now obsolete.
3846 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3848 * math/libm-test.inc (check_complex): Use asprintf.
3850 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3852 * debug/pcprofiledump.c (print_version): Update copyright year.
3853 * malloc/memusagestat.c (print_version): Likewise.
3855 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3858 * elf/Makefile (tests): Add tst-audit8.
3859 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3860 ($(objpfx)tst-audit8.out): New target.
3861 (tst-audit8-ENV): New variable.
3862 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3863 audit if l_reloc_result is NULL.
3864 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3865 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3866 * elf/tst-audit8.c: New file.
3868 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3870 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3871 * misc/Makefile (CFLAGS-select.c): Define.
3872 * posix/Makefile (CFLAGS-pause.c): Define.
3874 2012-11-13 David S. Miller <davem@davemloft.net>
3876 * crypt/Makefile: Move test targets after toplevel Rules
3877 inclusion. Grab any necessary sysdep routines when linking.
3878 * crypt/md5.c (md5_process_block): Remove define, we will always
3879 name it __md5_process_block.
3880 (md5_finish_ctx): Update md5_process_block call.
3881 (md5_stream): Likewise.
3882 (md5_process_bytes): Likewise.
3883 (md5_process_block): Rename to __md5_process_block and move to ...
3884 * crypt/md5-block.c: ... here.
3885 * crypt/sha256.c (sha256_process_block): Move to ...
3886 * crypt/sha256-block.c: ... here.
3887 * crypt/sha512.c (sha512_process_block): Move to ...
3888 * crypt/sha512-block.c: ... here.
3889 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3891 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3892 * sysdeps/sparc/sparc64/multiarch/Makefile
3893 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3895 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3896 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3898 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3899 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3900 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3901 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3902 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3903 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3904 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3905 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3906 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3908 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3909 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3913 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3915 * timezone/tzselect.ksh: Update from tzcode git revision
3916 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3917 * timezone/zdump.c: Likewise.
3918 * timezone/zic.c: Likewise.
3919 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3920 in TZVERSION setting, not $(PKGVERSION).
3921 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3922 REPORT_BUGS_TO settings.
3925 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3928 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3930 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3931 detection to immediately after _FP_ROUND().
3932 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3935 2012-11-11 David S. Miller <davem@davemloft.net>
3937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3939 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3940 __close rather than their public counterparts.
3942 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3944 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3946 [UNIX98] (sem_timedwait): Do not expect.
3947 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3948 [XPG4 || UNIX98] (sockatmark): Do not expect.
3949 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3950 (clock_getcpuclockid): Do not expect.
3951 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3952 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3954 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3955 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3956 [UNIX98] (vwscanf): Likewise.
3957 [UNIX98] (vswscanf): Likewise.
3959 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3961 * timezone/version.h: Remove file.
3962 * timezone/README: Do not refer to version.h.
3963 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3965 ($(objpfx)zdump.o): Likewise.
3966 ($(objpfx)version.h): New target.
3968 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3970 * timezone/README: Don't mention modification to tzselect.ksh.
3971 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3972 work on unmodified tzselect.ksh. Substitute version numbers in
3975 * Makefile (format-me): Remove.
3976 (INSTALL): Adjust indentation. Use commands directly instead of
3979 * aclocal.m4 (ACX_PKGVERSION): New macro.
3980 (ACX_BUGURL): Likewise.
3981 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3982 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3983 (REPORT_BUGS_TO): Likewise.
3984 * configure: Regenerated.
3985 * config.h.in (PKGVERSION): New macro.
3986 (REPORT_BUGS_TO): Likewise.
3987 * config.make.in (PKGVERSION): New variable.
3988 (PKGVERSION_TEXI): Likewise.
3989 (REPORT_BUGS_TO): Likewise.
3990 (REPORT_BUGS_TEXI): Likewise.
3991 * Makefile (format-me): Use -I$(common-objpfx)manual.
3992 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3993 ($(common-objpfx)manual/%): New target.
3994 (manual/%): Remove target.
3995 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3996 (print_version): Use PKGVERSION.
3997 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3998 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4000 ($(objpfx)xtrace): Likewise.
4001 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4002 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4003 (print_version): Use PKGVERSION.
4004 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4005 (do_version): Use PKGVERSION.
4006 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4008 (common-ldd-rewrite): Likewise.
4009 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4010 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4011 (print_version): Use PKGVERSION.
4012 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4013 * elf/pldd.c (argp_program_bug_address): Remove variable.
4014 (more_help): New function.
4015 (argp): Use more_help.
4016 (print_version): Use PKGVERSION.
4017 * elf/sln.c (main): Use PKGVERSION.
4018 (usage): Use REPORT_BUGS_TO.
4019 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4020 (top level): Use PKGVERSION.
4021 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4022 (print_version): Use PKGVERSION.
4023 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4024 (print_version): Use PKGVERSION.
4025 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4026 (print_version): Use PKGVERSION.
4027 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4028 (print_version): Use PKGVERSION.
4029 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4030 (print_version): Use PKGVERSION.
4031 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4032 (print_version): Use PKGVERSION.
4033 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4035 ($(objpfx)memusage): Likewise.
4036 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4037 (do_version): Use PKGVERSION.
4038 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4039 (print_version): Use PKGVERSION.
4040 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4041 ($PKGVERSION): New variable.
4042 ($REPORT_BUGS_TO): Likewise.
4043 (usage): Use $REPORT_BUGS_TO.
4044 (top level): Use $PKGVERSION.
4045 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4046 ($(objpfx)pkgvers.texi): New rule.
4047 ($(objpfx)stamp-pkgvers): Likewise.
4048 * manual/install.texi: Include pkgvers.texi.
4049 (--with-pkgversion): Document new configure option.
4050 (--with-bugurl): Likewise.
4051 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4052 than necessarily for this particular distribution. Use
4053 REPORT_BUGS_TO for where to report bugs.
4054 * INSTALL: Regenerated.
4055 * manual/libc.texinfo: Include pkgvers.texi.
4056 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4057 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4058 (print_version): Use PKGVERSION.
4059 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4060 (print_version): Use PKGVERSION.
4061 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4062 (print_version): Use PKGVERSION.
4063 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4064 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4066 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4067 (print_version): Use PKGVERSION.
4068 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4069 (print_version): Use PKGVERSION.
4070 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4073 * timezone/checktab.awk: Update from tzcode 2012i.
4074 * timezone/ialloc.c: Likewise.
4075 * timezone/private.h: Likewise.
4076 * timezone/scheck.c: Likewise.
4077 * timezone/tzfile.h: Likewise.
4078 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4079 (TZVERSION): Hardcode tzcode version number.
4080 * timezone/zdump.c: Update from tzcode 2012i.
4081 * timezone/zic.c: Likewise.
4082 * timezone/version.h: New file.
4083 * timezone/README: Describe version.h. Update upstream location.
4086 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4087 (mktemp): Enable declaration.
4088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4089 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4105 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4106 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4107 for copies of such integer values.
4108 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4109 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4111 2012-11-09 Andreas Jaeger <aj@suse.de>
4113 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4114 definitions and declarations that are provided by
4115 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4117 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4119 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4120 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4121 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4124 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4126 * elf/elf.h: Update comment before AArch64 relocations.
4128 2012-11-07 David S. Miller <davem@davemloft.net>
4130 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4131 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4132 (__start_context): Declare.
4133 (__makecontext_ret): Delete.
4134 (__makecontext): Hook up __start_context instead of
4136 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4137 (sysdep_routines): Add __start_context when in stdlib.
4139 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4141 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4142 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4143 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4145 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4146 (READELF): New variable. Use it instead of hardcoded "readelf".
4148 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4150 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4151 * sysdeps/x86/Makefile: Here.
4152 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4153 * sysdeps/x86/tst-xmmymm.sh: This.
4155 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4157 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4159 [UNIX98] (pthread_barrier_t): Do not expect.
4160 [UNIX98] (pthread_barrierattr_t): Likewise.
4161 [UNIX98] (pthread_spinlock_t): Likewise.
4162 [UNIX98] (pthread_barrier_destroy): Likewise.
4163 [UNIX98] (pthread_barrier_init): Likewise.
4164 [UNIX98] (pthread_barrier_wait): Likewise.
4165 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4166 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4167 [UNIX98] (pthread_barrierattr_init): Likewise.
4168 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4169 [UNIX98] (pthread_getcpuclockid): Likewise.
4170 [UNIX98] (pthread_mutex_timedlock): Likewise.
4171 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4172 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4173 [UNIX98] (pthread_sigmask): Likewise.
4174 [UNIX98] (pthread_spin_destroy): Likewise.
4175 [UNIX98] (pthread_spin_init): Likewise.
4176 [UNIX98] (pthread_spin_lock): Likewise.
4177 [UNIX98] (pthread_spin_trylock): Likewise.
4178 [UNIX98] (pthread_spin_unlock): Likewise.
4179 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4181 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4183 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4184 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4185 [XPG3 || XPG4] (pthread_key_t): Likewise.
4186 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4187 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4188 [XPG3 || XPG4] (pthread_once_t): Likewise.
4189 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4190 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4192 [XPG3 || XPG4] (pthread_t): Likewise.
4194 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4196 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4198 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4199 Change function return type to int.
4201 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4202 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4203 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4204 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4205 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4206 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4207 [!POSIX] (posix_madvise): Likewise.
4208 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4210 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4211 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4213 (posix_mem_offset): Likewise.
4214 (posix_typed_mem_get_info): Likewise.
4215 (posix_typed_mem_open): Likewise.
4217 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4218 Change condition to [XOPEN2K8].
4220 * conform/conformtest.pl: Preprocess allow-header data with -x c
4221 instead of from stdin.
4222 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4223 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4224 [C99-based standards] (cerfc): Likewise.
4225 [C99-based standards] (cexp2): Likewise.
4226 [C99-based standards] (cexpm1): Likewise.
4227 [C99-based standards] (clog10): Likewise.
4228 [C99-based standards] (clog1p): Likewise.
4229 [C99-based standards] (clog2): Likewise.
4230 [C99-based standards] (clgamma): Likewise.
4231 [C99-based standards] (ctgamma): Likewise.
4232 [C99-based standards] (cerff): Likewise.
4233 [C99-based standards] (cerfcf): Likewise.
4234 [C99-based standards] (cexp2f): Likewise.
4235 [C99-based standards] (cexpm1f): Likewise.
4236 [C99-based standards] (clog10f): Likewise.
4237 [C99-based standards] (clog1pf): Likewise.
4238 [C99-based standards] (clog2f): Likewise.
4239 [C99-based standards] (clgammaf): Likewise.
4240 [C99-based standards] (ctgammaf): Likewise.
4241 [C99-based standards] (cerfl): Likewise.
4242 [C99-based standards] (cerfcl): Likewise.
4243 [C99-based standards] (cexp2l): Likewise.
4244 [C99-based standards] (cexpm1l): Likewise.
4245 [C99-based standards] (clog10l): Likewise.
4246 [C99-based standards] (clog1pl): Likewise.
4247 [C99-based standards] (clog2l): Likewise.
4248 [C99-based standards] (clgammal): Likewise.
4249 [C99-based standards] (ctgammal): Likewise.
4250 * conform/data/inttypes.h-data [C99-based standards]: Include
4251 stdint.h-data. Remove all expectations for stdint.h contents.
4252 [C99-based standards] (PRI*): Do not allow.
4253 [C99-based standards] (SCN*): Likewise.
4254 [C99-based standards] (*_t): Likewise.
4255 [C99-based-standards] (PRId8): Expect macro.
4256 [C99-based-standards] (PRIi8): Likewise.
4257 [C99-based-standards] (PRIo8): Likewise.
4258 [C99-based-standards] (PRIu8): Likewise.
4259 [C99-based-standards] (PRIx8): Likewise.
4260 [C99-based-standards] (PRIX8): Likewise.
4261 [C99-based-standards] (SCNd8): Likewise.
4262 [C99-based-standards] (SCNi8): Likewise.
4263 [C99-based-standards] (SCNo8): Likewise.
4264 [C99-based-standards] (SCNu8): Likewise.
4265 [C99-based-standards] (SCNx8): Likewise.
4266 [C99-based-standards] (PRIdLEAST8): Likewise.
4267 [C99-based-standards] (PRIiLEAST8): Likewise.
4268 [C99-based-standards] (PRIoLEAST8): Likewise.
4269 [C99-based-standards] (PRIuLEAST8): Likewise.
4270 [C99-based-standards] (PRIxLEAST8): Likewise.
4271 [C99-based-standards] (PRIXLEAST8): Likewise.
4272 [C99-based-standards] (SCNdLEAST8): Likewise.
4273 [C99-based-standards] (SCNiLEAST8): Likewise.
4274 [C99-based-standards] (SCNoLEAST8): Likewise.
4275 [C99-based-standards] (SCNuLEAST8): Likewise.
4276 [C99-based-standards] (SCNxLEAST8): Likewise.
4277 [C99-based-standards] (PRIdFAST8): Likewise.
4278 [C99-based-standards] (PRIiFAST8): Likewise.
4279 [C99-based-standards] (PRIoFAST8): Likewise.
4280 [C99-based-standards] (PRIuFAST8): Likewise.
4281 [C99-based-standards] (PRIxFAST8): Likewise.
4282 [C99-based-standards] (PRIXFAST8): Likewise.
4283 [C99-based-standards] (SCNdFAST8): Likewise.
4284 [C99-based-standards] (SCNiFAST8): Likewise.
4285 [C99-based-standards] (SCNoFAST8): Likewise.
4286 [C99-based-standards] (SCNuFAST8): Likewise.
4287 [C99-based-standards] (SCNxFAST8): Likewise.
4288 [C99-based-standards] (PRId16): Likewise.
4289 [C99-based-standards] (PRIi16): Likewise.
4290 [C99-based-standards] (PRIo16): Likewise.
4291 [C99-based-standards] (PRIu16): Likewise.
4292 [C99-based-standards] (PRIx16): Likewise.
4293 [C99-based-standards] (PRIX16): Likewise.
4294 [C99-based-standards] (SCNd16): Likewise.
4295 [C99-based-standards] (SCNi16): Likewise.
4296 [C99-based-standards] (SCNo16): Likewise.
4297 [C99-based-standards] (SCNu16): Likewise.
4298 [C99-based-standards] (SCNx16): Likewise.
4299 [C99-based-standards] (PRIdLEAST16): Likewise.
4300 [C99-based-standards] (PRIiLEAST16): Likewise.
4301 [C99-based-standards] (PRIoLEAST16): Likewise.
4302 [C99-based-standards] (PRIuLEAST16): Likewise.
4303 [C99-based-standards] (PRIxLEAST16): Likewise.
4304 [C99-based-standards] (PRIXLEAST16): Likewise.
4305 [C99-based-standards] (SCNdLEAST16): Likewise.
4306 [C99-based-standards] (SCNiLEAST16): Likewise.
4307 [C99-based-standards] (SCNoLEAST16): Likewise.
4308 [C99-based-standards] (SCNuLEAST16): Likewise.
4309 [C99-based-standards] (SCNxLEAST16): Likewise.
4310 [C99-based-standards] (PRIdFAST16): Likewise.
4311 [C99-based-standards] (PRIiFAST16): Likewise.
4312 [C99-based-standards] (PRIoFAST16): Likewise.
4313 [C99-based-standards] (PRIuFAST16): Likewise.
4314 [C99-based-standards] (PRIxFAST16): Likewise.
4315 [C99-based-standards] (PRIXFAST16): Likewise.
4316 [C99-based-standards] (SCNdFAST16): Likewise.
4317 [C99-based-standards] (SCNiFAST16): Likewise.
4318 [C99-based-standards] (SCNoFAST16): Likewise.
4319 [C99-based-standards] (SCNuFAST16): Likewise.
4320 [C99-based-standards] (SCNxFAST16): Likewise.
4321 [C99-based-standards] (PRId32): Likewise.
4322 [C99-based-standards] (PRIi32): Likewise.
4323 [C99-based-standards] (PRIo32): Likewise.
4324 [C99-based-standards] (PRIu32): Likewise.
4325 [C99-based-standards] (PRIx32): Likewise.
4326 [C99-based-standards] (PRIX32): Likewise.
4327 [C99-based-standards] (SCNd32): Likewise.
4328 [C99-based-standards] (SCNi32): Likewise.
4329 [C99-based-standards] (SCNo32): Likewise.
4330 [C99-based-standards] (SCNu32): Likewise.
4331 [C99-based-standards] (SCNx32): Likewise.
4332 [C99-based-standards] (PRIdLEAST32): Likewise.
4333 [C99-based-standards] (PRIiLEAST32): Likewise.
4334 [C99-based-standards] (PRIoLEAST32): Likewise.
4335 [C99-based-standards] (PRIuLEAST32): Likewise.
4336 [C99-based-standards] (PRIxLEAST32): Likewise.
4337 [C99-based-standards] (PRIXLEAST32): Likewise.
4338 [C99-based-standards] (SCNdLEAST32): Likewise.
4339 [C99-based-standards] (SCNiLEAST32): Likewise.
4340 [C99-based-standards] (SCNoLEAST32): Likewise.
4341 [C99-based-standards] (SCNuLEAST32): Likewise.
4342 [C99-based-standards] (SCNxLEAST32): Likewise.
4343 [C99-based-standards] (PRIdFAST32): Likewise.
4344 [C99-based-standards] (PRIiFAST32): Likewise.
4345 [C99-based-standards] (PRIoFAST32): Likewise.
4346 [C99-based-standards] (PRIuFAST32): Likewise.
4347 [C99-based-standards] (PRIxFAST32): Likewise.
4348 [C99-based-standards] (PRIXFAST32): Likewise.
4349 [C99-based-standards] (SCNdFAST32): Likewise.
4350 [C99-based-standards] (SCNiFAST32): Likewise.
4351 [C99-based-standards] (SCNoFAST32): Likewise.
4352 [C99-based-standards] (SCNuFAST32): Likewise.
4353 [C99-based-standards] (SCNxFAST32): Likewise.
4354 [C99-based-standards] (PRId64): Likewise.
4355 [C99-based-standards] (PRIi64): Likewise.
4356 [C99-based-standards] (PRIo64): Likewise.
4357 [C99-based-standards] (PRIu64): Likewise.
4358 [C99-based-standards] (PRIx64): Likewise.
4359 [C99-based-standards] (PRIX64): Likewise.
4360 [C99-based-standards] (SCNd64): Likewise.
4361 [C99-based-standards] (SCNi64): Likewise.
4362 [C99-based-standards] (SCNo64): Likewise.
4363 [C99-based-standards] (SCNu64): Likewise.
4364 [C99-based-standards] (SCNx64): Likewise.
4365 [C99-based-standards] (PRIdLEAST64): Likewise.
4366 [C99-based-standards] (PRIiLEAST64): Likewise.
4367 [C99-based-standards] (PRIoLEAST64): Likewise.
4368 [C99-based-standards] (PRIuLEAST64): Likewise.
4369 [C99-based-standards] (PRIxLEAST64): Likewise.
4370 [C99-based-standards] (PRIXLEAST64): Likewise.
4371 [C99-based-standards] (SCNdLEAST64): Likewise.
4372 [C99-based-standards] (SCNiLEAST64): Likewise.
4373 [C99-based-standards] (SCNoLEAST64): Likewise.
4374 [C99-based-standards] (SCNuLEAST64): Likewise.
4375 [C99-based-standards] (SCNxLEAST64): Likewise.
4376 [C99-based-standards] (PRIdFAST64): Likewise.
4377 [C99-based-standards] (PRIiFAST64): Likewise.
4378 [C99-based-standards] (PRIoFAST64): Likewise.
4379 [C99-based-standards] (PRIuFAST64): Likewise.
4380 [C99-based-standards] (PRIxFAST64): Likewise.
4381 [C99-based-standards] (PRIXFAST64): Likewise.
4382 [C99-based-standards] (SCNdFAST64): Likewise.
4383 [C99-based-standards] (SCNiFAST64): Likewise.
4384 [C99-based-standards] (SCNoFAST64): Likewise.
4385 [C99-based-standards] (SCNuFAST64): Likewise.
4386 [C99-based-standards] (SCNxFAST64): Likewise.
4387 [C99-based-standards] (PRIdMAX): Likewise.
4388 [C99-based-standards] (PRIiMAX): Likewise.
4389 [C99-based-standards] (PRIoMAX): Likewise.
4390 [C99-based-standards] (PRIuMAX): Likewise.
4391 [C99-based-standards] (PRIxMAX): Likewise.
4392 [C99-based-standards] (PRIXMAX): Likewise.
4393 [C99-based-standards] (SCNdMAX): Likewise.
4394 [C99-based-standards] (SCNiMAX): Likewise.
4395 [C99-based-standards] (SCNoMAX): Likewise.
4396 [C99-based-standards] (SCNuMAX): Likewise.
4397 [C99-based-standards] (SCNxMAX): Likewise.
4398 [C99-based-standards] (PRIdPTR): Likewise.
4399 [C99-based-standards] (PRIiPTR): Likewise.
4400 [C99-based-standards] (PRIoPTR): Likewise.
4401 [C99-based-standards] (PRIuPTR): Likewise.
4402 [C99-based-standards] (PRIxPTR): Likewise.
4403 [C99-based-standards] (PRIXPTR): Likewise.
4404 [C99-based-standards] (SCNdPTR): Likewise.
4405 [C99-based-standards] (SCNiPTR): Likewise.
4406 [C99-based-standards] (SCNoPTR): Likewise.
4407 [C99-based-standards] (SCNuPTR): Likewise.
4408 [C99-based-standards] (SCNxPTR): Likewise.
4409 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4411 * conform/data/stdint.h-data: Update comments to clarify
4413 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4415 [C99-based standards] (INT8_MAX): Likewise.
4416 [C99-based standards] (INT16_MIN): Likewise.
4417 [C99-based standards] (INT16_MAX): Likewise.
4418 [C99-based standards] (INT32_MIN): Likewise.
4419 [C99-based standards] (INT32_MAX): Likewise.
4420 [C99-based standards] (INT64_MIN): Likewise.
4421 [C99-based standards] (INT64_MAX): Likewise.
4422 [C99-based standards] (UINT8_MAX): Likewise.
4423 [C99-based standards] (UINT16_MAX): Likewise.
4424 [C99-based standards] (UINT32_MAX): Likewise.
4425 [C99-based standards] (UINT64_MAX): Likewise.
4426 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4427 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4428 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4429 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4430 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4431 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4432 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4433 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4434 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4435 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4436 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4437 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4438 [C99-based standards] (INT_FAST8_MIN): Likewise.
4439 [C99-based standards] (INT_FAST8_MAX): Likewise.
4440 [C99-based standards] (INT_FAST16_MIN): Likewise.
4441 [C99-based standards] (INT_FAST16_MAX): Likewise.
4442 [C99-based standards] (INT_FAST32_MIN): Likewise.
4443 [C99-based standards] (INT_FAST32_MAX): Likewise.
4444 [C99-based standards] (INT_FAST64_MIN): Likewise.
4445 [C99-based standards] (INT_FAST64_MAX): Likewise.
4446 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4447 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4448 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4449 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4450 [C99-based standards] (INTPTR_MIN): Likewise.
4451 [C99-based standards] (INTPTR_MAX): Likewise.
4452 [C99-based standards] (UINTPTR_MAX): Likewise.
4453 [C99-based standards] (INTMAX_MIN): Likewise.
4454 [C99-based standards] (INTMAX_MAX): Likewise.
4455 [C99-based standards] (UINTMAX_MAX): Likewise.
4456 [C99-based standards] (PTRDIFF_MIN): Likewise.
4457 [C99-based standards] (PTRDIFF_MAX): Likewise.
4458 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4459 [C99-based standards] (SIZE_MAX): Likewise.
4460 [C99-based standards] (WCHAR_MAX): Likewise.
4461 [C99-based standards] (WINT_MAX): Likewise.
4462 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4463 constraint on value.
4464 [C99-based standards] (WCHAR_MIN): Likewise.
4465 [C99-based standards] (WINT_MIN): Likewise.
4466 [C99-based standards] (*_t): Allow.
4467 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4468 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4469 Include math.h-data and complex.h-data. Remove all expectations
4470 of math.h and complex.h contents.
4471 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4473 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4474 (struct tm): Expect tag.
4475 [C99-based-standards] (wcstof): Expect function.
4476 [C99-based-standards] (wcstold): Likewise.
4477 [C99-based-standards] (wcstoll): Likewise.
4478 [C99-based-standards] (wcstoull): Likewise.
4479 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4480 macro-int-constant. Specify type.
4481 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4482 constraint on value.
4483 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4485 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4487 [ISO C standards]: Do not allow headers.
4488 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4489 wcs[abcdefghijklmnopqrstuvwxyz]*.
4490 [ISO C standards] (*_t): Do not allow.
4491 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4493 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4494 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4496 [ISO C standards]: Do not allow headers.
4497 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4498 is[abcdefghijklmnopqrstuvwxyz]*.
4499 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4500 to[abcdefghijklmnopqrstuvwxyz]*.
4501 [ISO C standards] (*_t): Do not allow.
4502 * conform/data/stdalign.h-data: New file.
4503 * conform/data/stdbool.h-data: Likewise.
4504 * conform/data/stdnoreturn.h-data: Likewise.
4506 2012-11-07 Roland McGrath <roland@hack.frob.com>
4509 * manual/filesys.texi (Directory Entries): Typo fix.
4510 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4512 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4514 * elf/elf.h (EM_AARCH64): New macro.
4515 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4516 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4517 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4518 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4519 (R_AARCH64_TLSDESC): Likewise.
4520 (NT_ARM_TLS): Likewise.
4521 (NT_ARM_HW_BREAK): Likewise.
4522 (NT_ARM_HW_WATCH): Likewise.
4524 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4527 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4528 (__ieee754_powl): Saturate nonzero exponents with absolute value
4529 below 0x1p-79 to +/- 0x1p-79.
4530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4531 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4532 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4533 nonzero exponents with absolute value below 0x1p-32 to +/-
4535 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4536 (__ieee754_powl): Saturate nonzero exponents with absolute value
4537 below 0x1p-79 to +/- 0x1p-79.
4538 * math/libm-test.inc (pow_test): Add more tests.
4540 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4542 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4543 _dl_s390_cap_flags with kernel. Increase string length.
4544 (_dl_s390_platforms): Add z196 and zEC12.
4546 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4548 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4549 Change XOPEN21K to XOPEN2K.
4551 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4553 * string/memmove.c: Use memcpy when possible.
4555 2012-11-06 Andreas Jaeger <aj@suse.de>
4557 * po/eo.po: Update from translation team.
4559 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4563 exponent and small x and y exponents, scale x or y up. Increase
4564 by 2 the exponent used in scaling up.
4565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4567 * math/libm-test.inc (fma_test): Add more tests.
4568 (fma_test_towardzero): Likewise.
4569 (fma_test_downward): Likewise.
4570 (fma_test_upward): Likewise.
4572 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4575 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4579 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4580 namespace for names of struct fields.
4581 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4583 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4584 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4586 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4589 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4591 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4593 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4597 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4600 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4604 definitely overflow as x * y not x * y + z.
4605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4607 * math/libm-test.inc (fma_test): Add more tests.
4608 (fma_test_towardzero): Likewise.
4609 (fma_test_downward): Likewise.
4610 (fma_test_upward): Likewise.
4612 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4616 * include/stub-tag.h: Remove file.
4617 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4619 * manual/maint.texi (Porting): Don't reference it.
4620 * Makerules ($(objpfx)stubs): Likewise.
4621 * dirent/closedir.c: Don't include <stub-tag.h>.
4622 * dirent/dirfd.c: Likewise.
4623 * dirent/fdopendir.c: Likewise.
4624 * dirent/getdents.c: Likewise.
4625 * dirent/getdents64.c: Likewise.
4626 * dirent/opendir.c: Likewise.
4627 * dirent/readdir.c: Likewise.
4628 * dirent/readdir64.c: Likewise.
4629 * dirent/readdir64_r.c: Likewise.
4630 * dirent/readdir_r.c: Likewise.
4631 * dirent/rewinddir.c: Likewise.
4632 * dirent/seekdir.c: Likewise.
4633 * dirent/telldir.c: Likewise.
4634 * gmon/profil.c: Likewise.
4635 * grp/setgroups.c: Likewise.
4636 * inet/if_index.c: Likewise.
4637 * io/access.c: Likewise.
4638 * io/chdir.c: Likewise.
4639 * io/chmod.c: Likewise.
4640 * io/chown.c: Likewise.
4641 * io/close.c: Likewise.
4642 * io/dup.c: Likewise.
4643 * io/dup2.c: Likewise.
4644 * io/dup3.c: Likewise.
4645 * io/euidaccess.c: Likewise.
4646 * io/faccessat.c: Likewise.
4647 * io/fchdir.c: Likewise.
4648 * io/fchmod.c: Likewise.
4649 * io/fchmodat.c: Likewise.
4650 * io/fchown.c: Likewise.
4651 * io/fchownat.c: Likewise.
4652 * io/fcntl.c: Likewise.
4653 * io/flock.c: Likewise.
4654 * io/fstatfs.c: Likewise.
4655 * io/fstatfs64.c: Likewise.
4656 * io/fstatvfs.c: Likewise.
4657 * io/fstatvfs64.c: Likewise.
4658 * io/futimens.c: Likewise.
4659 * io/fxstat.c: Likewise.
4660 * io/fxstat64.c: Likewise.
4661 * io/fxstatat.c: Likewise.
4662 * io/fxstatat64.c: Likewise.
4663 * io/getcwd.c: Likewise.
4664 * io/isatty.c: Likewise.
4665 * io/lchmod.c: Likewise.
4666 * io/lchown.c: Likewise.
4667 * io/link.c: Likewise.
4668 * io/linkat.c: Likewise.
4669 * io/lseek.c: Likewise.
4670 * io/lseek64.c: Likewise.
4671 * io/lxstat64.c: Likewise.
4672 * io/mkdir.c: Likewise.
4673 * io/mkdirat.c: Likewise.
4674 * io/mkfifo.c: Likewise.
4675 * io/mkfifoat.c: Likewise.
4676 * io/open.c: Likewise.
4677 * io/open64.c: Likewise.
4678 * io/openat.c: Likewise.
4679 * io/openat64.c: Likewise.
4680 * io/pipe.c: Likewise.
4681 * io/pipe2.c: Likewise.
4682 * io/poll.c: Likewise.
4683 * io/posix_fadvise.c: Likewise.
4684 * io/posix_fadvise64.c: Likewise.
4685 * io/posix_fallocate.c: Likewise.
4686 * io/posix_fallocate64.c: Likewise.
4687 * io/read.c: Likewise.
4688 * io/readlink.c: Likewise.
4689 * io/readlinkat.c: Likewise.
4690 * io/rmdir.c: Likewise.
4691 * io/sendfile.c: Likewise.
4692 * io/sendfile64.c: Likewise.
4693 * io/statfs.c: Likewise.
4694 * io/statfs64.c: Likewise.
4695 * io/statvfs.c: Likewise.
4696 * io/statvfs64.c: Likewise.
4697 * io/symlink.c: Likewise.
4698 * io/symlinkat.c: Likewise.
4699 * io/ttyname.c: Likewise.
4700 * io/ttyname_r.c: Likewise.
4701 * io/umask.c: Likewise.
4702 * io/unlink.c: Likewise.
4703 * io/unlinkat.c: Likewise.
4704 * io/utime.c: Likewise.
4705 * io/utimensat.c: Likewise.
4706 * io/write.c: Likewise.
4707 * io/xmknod.c: Likewise.
4708 * io/xmknodat.c: Likewise.
4709 * io/xstat.c: Likewise.
4710 * io/xstat64.c: Likewise.
4711 * login/getpt.c: Likewise.
4712 * login/grantpt.c: Likewise.
4713 * login/unlockpt.c: Likewise.
4714 * math/e_acoshl.c: Likewise.
4715 * math/e_acosl.c: Likewise.
4716 * math/e_asinl.c: Likewise.
4717 * math/e_atan2l.c: Likewise.
4718 * math/e_atanhl.c: Likewise.
4719 * math/e_coshl.c: Likewise.
4720 * math/e_expl.c: Likewise.
4721 * math/e_fmodl.c: Likewise.
4722 * math/e_gammal_r.c: Likewise.
4723 * math/e_hypotl.c: Likewise.
4724 * math/e_j0l.c: Likewise.
4725 * math/e_j1l.c: Likewise.
4726 * math/e_jnl.c: Likewise.
4727 * math/e_lgammal_r.c: Likewise.
4728 * math/e_log10l.c: Likewise.
4729 * math/e_log2l.c: Likewise.
4730 * math/e_logl.c: Likewise.
4731 * math/e_powl.c: Likewise.
4732 * math/e_rem_pio2l.c: Likewise.
4733 * math/e_sinhl.c: Likewise.
4734 * math/e_sqrtl.c: Likewise.
4735 * math/fclrexcpt.c: Likewise.
4736 * math/fedisblxcpt.c: Likewise.
4737 * math/feenablxcpt.c: Likewise.
4738 * math/fegetenv.c: Likewise.
4739 * math/fegetexcept.c: Likewise.
4740 * math/fegetround.c: Likewise.
4741 * math/feholdexcpt.c: Likewise.
4742 * math/fesetenv.c: Likewise.
4743 * math/fesetround.c: Likewise.
4744 * math/feupdateenv.c: Likewise.
4745 * math/fgetexcptflg.c: Likewise.
4746 * math/fraiseexcpt.c: Likewise.
4747 * math/fsetexcptflg.c: Likewise.
4748 * math/ftestexcept.c: Likewise.
4749 * math/k_cosl.c: Likewise.
4750 * math/k_rem_pio2l.c: Likewise.
4751 * math/k_sinl.c: Likewise.
4752 * math/k_tanl.c: Likewise.
4753 * math/s_asinhl.c: Likewise.
4754 * math/s_atanl.c: Likewise.
4755 * math/s_cbrtl.c: Likewise.
4756 * math/s_erfl.c: Likewise.
4757 * math/s_expm1l.c: Likewise.
4758 * math/s_log1pl.c: Likewise.
4759 * math/s_tanhl.c: Likewise.
4760 * misc/acct.c: Likewise.
4761 * misc/brk.c: Likewise.
4762 * misc/chflags.c: Likewise.
4763 * misc/chroot.c: Likewise.
4764 * misc/fchflags.c: Likewise.
4765 * misc/fgetxattr.c: Likewise.
4766 * misc/flistxattr.c: Likewise.
4767 * misc/fremovexattr.c: Likewise.
4768 * misc/fsetxattr.c: Likewise.
4769 * misc/fsync.c: Likewise.
4770 * misc/ftruncate.c: Likewise.
4771 * misc/futimes.c: Likewise.
4772 * misc/futimesat.c: Likewise.
4773 * misc/getdomain.c: Likewise.
4774 * misc/getdtsz.c: Likewise.
4775 * misc/gethostid.c: Likewise.
4776 * misc/gethostname.c: Likewise.
4777 * misc/getloadavg.c: Likewise.
4778 * misc/getpagesize.c: Likewise.
4779 * misc/getsysstats.c: Likewise.
4780 * misc/getxattr.c: Likewise.
4781 * misc/gtty.c: Likewise.
4782 * misc/ioctl.c: Likewise.
4783 * misc/lgetxattr.c: Likewise.
4784 * misc/listxattr.c: Likewise.
4785 * misc/llistxattr.c: Likewise.
4786 * misc/lremovexattr.c: Likewise.
4787 * misc/lsetxattr.c: Likewise.
4788 * misc/lutimes.c: Likewise.
4789 * misc/madvise.c: Likewise.
4790 * misc/mincore.c: Likewise.
4791 * misc/mlock.c: Likewise.
4792 * misc/mlockall.c: Likewise.
4793 * misc/mmap.c: Likewise.
4794 * misc/mprotect.c: Likewise.
4795 * misc/msync.c: Likewise.
4796 * misc/munlock.c: Likewise.
4797 * misc/munlockall.c: Likewise.
4798 * misc/munmap.c: Likewise.
4799 * misc/preadv.c: Likewise.
4800 * misc/preadv64.c: Likewise.
4801 * misc/ptrace.c: Likewise.
4802 * misc/pwritev.c: Likewise.
4803 * misc/pwritev64.c: Likewise.
4804 * misc/readv.c: Likewise.
4805 * misc/reboot.c: Likewise.
4806 * misc/remap_file_pages.c: Likewise.
4807 * misc/removexattr.c: Likewise.
4808 * misc/revoke.c: Likewise.
4809 * misc/select.c: Likewise.
4810 * misc/setdomain.c: Likewise.
4811 * misc/setegid.c: Likewise.
4812 * misc/seteuid.c: Likewise.
4813 * misc/sethostid.c: Likewise.
4814 * misc/sethostname.c: Likewise.
4815 * misc/setregid.c: Likewise.
4816 * misc/setreuid.c: Likewise.
4817 * misc/setxattr.c: Likewise.
4818 * misc/sstk.c: Likewise.
4819 * misc/stty.c: Likewise.
4820 * misc/swapoff.c: Likewise.
4821 * misc/swapon.c: Likewise.
4822 * misc/sync.c: Likewise.
4823 * misc/syncfs.c: Likewise.
4824 * misc/syscall.c: Likewise.
4825 * misc/truncate.c: Likewise.
4826 * misc/ualarm.c: Likewise.
4827 * misc/usleep.c: Likewise.
4828 * misc/ustat.c: Likewise.
4829 * misc/utimes.c: Likewise.
4830 * misc/vhangup.c: Likewise.
4831 * misc/writev.c: Likewise.
4832 * posix/_exit.c: Likewise.
4833 * posix/alarm.c: Likewise.
4834 * posix/execve.c: Likewise.
4835 * posix/fexecve.c: Likewise.
4836 * posix/fork.c: Likewise.
4837 * posix/fpathconf.c: Likewise.
4838 * posix/getaddrinfo.c: Likewise.
4839 * posix/getegid.c: Likewise.
4840 * posix/geteuid.c: Likewise.
4841 * posix/getgid.c: Likewise.
4842 * posix/getgroups.c: Likewise.
4843 * posix/getlogin.c: Likewise.
4844 * posix/getlogin_r.c: Likewise.
4845 * posix/getpgid.c: Likewise.
4846 * posix/getpid.c: Likewise.
4847 * posix/getppid.c: Likewise.
4848 * posix/getresgid.c: Likewise.
4849 * posix/getresuid.c: Likewise.
4850 * posix/getsid.c: Likewise.
4851 * posix/getuid.c: Likewise.
4852 * posix/glob64.c: Likewise.
4853 * posix/nanosleep.c: Likewise.
4854 * posix/pathconf.c: Likewise.
4855 * posix/pause.c: Likewise.
4856 * posix/posix_madvise.c: Likewise.
4857 * posix/pread.c: Likewise.
4858 * posix/pread64.c: Likewise.
4859 * posix/pwrite.c: Likewise.
4860 * posix/pwrite64.c: Likewise.
4861 * posix/sched_getaffinity.c: Likewise.
4862 * posix/sched_getp.c: Likewise.
4863 * posix/sched_gets.c: Likewise.
4864 * posix/sched_primax.c: Likewise.
4865 * posix/sched_primin.c: Likewise.
4866 * posix/sched_rr_gi.c: Likewise.
4867 * posix/sched_setaffinity.c: Likewise.
4868 * posix/sched_setp.c: Likewise.
4869 * posix/sched_sets.c: Likewise.
4870 * posix/sched_yield.c: Likewise.
4871 * posix/setgid.c: Likewise.
4872 * posix/setlogin.c: Likewise.
4873 * posix/setpgid.c: Likewise.
4874 * posix/setresgid.c: Likewise.
4875 * posix/setresuid.c: Likewise.
4876 * posix/setsid.c: Likewise.
4877 * posix/setuid.c: Likewise.
4878 * posix/sleep.c: Likewise.
4879 * posix/spawni.c: Likewise.
4880 * posix/sysconf.c: Likewise.
4881 * posix/times.c: Likewise.
4882 * posix/wait.c: Likewise.
4883 * posix/wait3.c: Likewise.
4884 * posix/wait4.c: Likewise.
4885 * posix/waitpid.c: Likewise.
4886 * resolv/gai_sigqueue.c: Likewise.
4887 * resource/getpriority.c: Likewise.
4888 * resource/getrlimit.c: Likewise.
4889 * resource/getrusage.c: Likewise.
4890 * resource/nice.c: Likewise.
4891 * resource/setpriority.c: Likewise.
4892 * resource/setrlimit.c: Likewise.
4893 * resource/ulimit.c: Likewise.
4894 * rt/aio_cancel.c: Likewise.
4895 * rt/aio_fsync.c: Likewise.
4896 * rt/aio_read.c: Likewise.
4897 * rt/aio_sigqueue.c: Likewise.
4898 * rt/aio_suspend.c: Likewise.
4899 * rt/aio_write.c: Likewise.
4900 * rt/clock_getres.c: Likewise.
4901 * rt/clock_gettime.c: Likewise.
4902 * rt/clock_nanosleep.c: Likewise.
4903 * rt/clock_settime.c: Likewise.
4904 * rt/lio_listio.c: Likewise.
4905 * rt/mq_close.c: Likewise.
4906 * rt/mq_getattr.c: Likewise.
4907 * rt/mq_notify.c: Likewise.
4908 * rt/mq_open.c: Likewise.
4909 * rt/mq_receive.c: Likewise.
4910 * rt/mq_send.c: Likewise.
4911 * rt/mq_setattr.c: Likewise.
4912 * rt/mq_timedreceive.c: Likewise.
4913 * rt/mq_timedsend.c: Likewise.
4914 * rt/mq_unlink.c: Likewise.
4915 * rt/shm_open.c: Likewise.
4916 * rt/shm_unlink.c: Likewise.
4917 * rt/timer_create.c: Likewise.
4918 * rt/timer_delete.c: Likewise.
4919 * rt/timer_getoverr.c: Likewise.
4920 * rt/timer_gettime.c: Likewise.
4921 * rt/timer_settime.c: Likewise.
4922 * setjmp/__longjmp.c: Likewise.
4923 * setjmp/setjmp.c: Likewise.
4924 * signal/kill.c: Likewise.
4925 * signal/killpg.c: Likewise.
4926 * signal/raise.c: Likewise.
4927 * signal/sigaction.c: Likewise.
4928 * signal/sigaltstack.c: Likewise.
4929 * signal/sigblock.c: Likewise.
4930 * signal/sigignore.c: Likewise.
4931 * signal/sigintr.c: Likewise.
4932 * signal/signal.c: Likewise.
4933 * signal/sigpause.c: Likewise.
4934 * signal/sigpending.c: Likewise.
4935 * signal/sigqueue.c: Likewise.
4936 * signal/sigreturn.c: Likewise.
4937 * signal/sigset.c: Likewise.
4938 * signal/sigsetmask.c: Likewise.
4939 * signal/sigstack.c: Likewise.
4940 * signal/sigsuspend.c: Likewise.
4941 * signal/sigtimedwait.c: Likewise.
4942 * signal/sigvec.c: Likewise.
4943 * signal/sigwait.c: Likewise.
4944 * signal/sigwaitinfo.c: Likewise.
4945 * signal/sysv_signal.c: Likewise.
4946 * socket/accept.c: Likewise.
4947 * socket/accept4.c: Likewise.
4948 * socket/bind.c: Likewise.
4949 * socket/connect.c: Likewise.
4950 * socket/getpeername.c: Likewise.
4951 * socket/getsockname.c: Likewise.
4952 * socket/getsockopt.c: Likewise.
4953 * socket/isfdtype.c: Likewise.
4954 * socket/listen.c: Likewise.
4955 * socket/recv.c: Likewise.
4956 * socket/recvfrom.c: Likewise.
4957 * socket/recvmsg.c: Likewise.
4958 * socket/send.c: Likewise.
4959 * socket/sendmsg.c: Likewise.
4960 * socket/sendto.c: Likewise.
4961 * socket/setsockopt.c: Likewise.
4962 * socket/shutdown.c: Likewise.
4963 * socket/sockatmark.c: Likewise.
4964 * socket/socket.c: Likewise.
4965 * socket/socketpair.c: Likewise.
4966 * stdio-common/ctermid.c: Likewise.
4967 * stdio-common/cuserid.c: Likewise.
4968 * stdio-common/remove.c: Likewise.
4969 * stdio-common/rename.c: Likewise.
4970 * stdio-common/renameat.c: Likewise.
4971 * stdio-common/tempname.c: Likewise.
4972 * stdlib/getcontext.c: Likewise.
4973 * stdlib/makecontext.c: Likewise.
4974 * stdlib/setcontext.c: Likewise.
4975 * stdlib/swapcontext.c: Likewise.
4976 * stdlib/system.c: Likewise.
4977 * streams/fattach.c: Likewise.
4978 * streams/fdetach.c: Likewise.
4979 * streams/getmsg.c: Likewise.
4980 * streams/getpmsg.c: Likewise.
4981 * streams/putmsg.c: Likewise.
4982 * streams/putpmsg.c: Likewise.
4983 * sysdeps/unix/bsd/getpt.c: Likewise.
4984 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4985 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4986 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4989 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4990 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4991 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4992 * sysvipc/msgctl.c: Likewise.
4993 * sysvipc/msgget.c: Likewise.
4994 * sysvipc/msgrcv.c: Likewise.
4995 * sysvipc/msgsnd.c: Likewise.
4996 * sysvipc/semctl.c: Likewise.
4997 * sysvipc/semget.c: Likewise.
4998 * sysvipc/semop.c: Likewise.
4999 * sysvipc/semtimedop.c: Likewise.
5000 * sysvipc/shmat.c: Likewise.
5001 * sysvipc/shmctl.c: Likewise.
5002 * sysvipc/shmdt.c: Likewise.
5003 * sysvipc/shmget.c: Likewise.
5004 * termios/tcdrain.c: Likewise.
5005 * termios/tcflow.c: Likewise.
5006 * termios/tcflush.c: Likewise.
5007 * termios/tcgetattr.c: Likewise.
5008 * termios/tcgetpgrp.c: Likewise.
5009 * termios/tcsendbrk.c: Likewise.
5010 * termios/tcsetattr.c: Likewise.
5011 * termios/tcsetpgrp.c: Likewise.
5012 * time/adjtime.c: Likewise.
5013 * time/clock.c: Likewise.
5014 * time/getitimer.c: Likewise.
5015 * time/gettimeofday.c: Likewise.
5016 * time/setitimer.c: Likewise.
5017 * time/settimeofday.c: Likewise.
5018 * time/stime.c: Likewise.
5019 * time/time.c: Likewise.
5021 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5023 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5026 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5028 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5030 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5034 FE_TONEAREST before applying Dekker multiplication and Knuth
5035 addition. Clear inexact exceptions and check for exact zero
5037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5040 * math/libm-test.inc (fma_test): Add more tests.
5041 (fma_test_towardzero): Likewise.
5042 (fma_test_downward): Likewise.
5043 (fma_test_upward): Likewise.
5044 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5046 (libc_fesetround): New macro.
5047 (libc_fesetroundf): Likewise.
5048 (libc_fesetroundl): Likewise.
5049 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5051 (libc_fesetround_387): Likewise.
5052 (libc_fesetroundf): New macro.
5053 (libc_fesetround): Likewise.
5054 (libc_fesetroundl): Likewise.
5055 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5057 (libc_fesetroundf): New macro.
5058 (libc_fesetround): Likewise.
5059 (libc_fesetroundl): Likewise.
5060 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5061 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5062 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5064 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5065 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5067 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5068 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5070 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5074 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5075 integer constant usable in #if and use that to give value to enum
5077 (FE_DIVBYZERO): Likewise.
5078 (FE_UNDERFLOW): Likewise.
5079 (FE_OVERFLOW): Likewise.
5080 (FE_INVALID): Likewise.
5081 (FE_INVALID_SNAN): Likewise.
5082 (FE_INVALID_ISI): Likewise.
5083 (FE_INVALID_IDI): Likewise.
5084 (FE_INVALID_ZDZ): Likewise.
5085 (FE_INVALID_IMZ): Likewise.
5086 (FE_INVALID_COMPARE): Likewise.
5087 (FE_INVALID_SOFTWARE): Likewise.
5088 (FE_INVALID_SQRT): Likewise.
5089 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5090 (FE_TONEAREST): Likewise.
5091 (FE_TOWARDZERO): Likewise.
5092 (FE_UPWARD): Likewise.
5093 (FE_DOWNWARD): Likewise.
5094 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5095 (FE_DIVBYZERO): Likewise.
5096 (FE_OVERFLOW): Likewise.
5097 (FE_UNDERFLOW): Likewise.
5098 (FE_INEXACT): Likewise.
5099 (FE_TONEAREST): Likewise.
5100 (FE_DOWNWARD): Likewise.
5101 (FE_UPWARD): Likewise.
5102 (FE_TOWARDZERO): Likewise.
5103 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5104 (FE_UNDERFLOW): Likewise.
5105 (FE_OVERFLOW): Likewise.
5106 (FE_DIVBYZERO): Likewise.
5107 (FE_INVALID): Likewise.
5108 (FE_TONEAREST): Likewise.
5109 (FE_TOWARDZERO): Likewise.
5110 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5111 (FE_OVERFLOW): Likewise.
5112 (FE_UNDERFLOW): Likewise.
5113 (FE_DIVBYZERO): Likewise.
5114 (FE_INEXACT): Likewise.
5115 (FE_TONEAREST): Likewise.
5116 (FE_TOWARDZERO): Likewise.
5117 (FE_UPWARD): Likewise.
5118 (FE_DOWNWARD): Likewise.
5119 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5120 (FE_DIVBYZERO): Likewise.
5121 (FE_OVERFLOW): Likewise.
5122 (FE_UNDERFLOW): Likewise.
5123 (FE_INEXACT): Likewise.
5124 (FE_TONEAREST): Likewise.
5125 (FE_DOWNWARD): Likewise.
5126 (FE_UPWARD): Likewise.
5127 (FE_TOWARDZERO): Likewise.
5129 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5131 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5133 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5135 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5136 commands. Quote $PWD.
5137 (blacklist_exports): Don't use remove_newlines. Replace "declare
5139 (remove_newlines): Remove.
5141 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5143 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5144 * stdlib/stdlib.h (atof): Moved to ...
5145 * include/bits/stdlib-float.h: Here. New file.
5146 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5147 * stdlib/bits/stdlib-float.h: New file.
5148 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5153 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5155 * conform/conformtest.pl (@headers): Add fenv.h.
5156 * conform/data/fenv.h-data: New file.
5157 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5158 include of <math/fenv.h>.
5160 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5161 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5162 && !UNIX98]. Enables tests for XOPEN2K8.
5163 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5164 POSIX2008]: Likewise.
5166 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5167 (struct rusage): Do not expect type or its members.
5170 * math/math.h (FP_NAN): Define macro to integer constant usable in
5171 #if and use that to give value to enum constant.
5172 (FP_INFINITE): Likewise.
5173 (FP_ZERO): Likewise.
5174 (FP_SUBNORMAL): Likewise.
5175 (FP_NORMAL): Likewise.
5177 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5179 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5180 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5183 2012-11-02 Roland McGrath <roland@hack.frob.com>
5185 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5186 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5187 autoconf-time if not.
5188 * configure.in: Remove AC_PREREQ.
5190 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5192 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5193 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5194 of the internal implementation.
5196 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5198 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5199 except include of <misc/sys/syslog.h>.
5201 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5204 function returns with a NULL context exit with zero.
5206 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5208 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5210 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5212 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5213 (run_program_cmd): This.
5214 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5215 (tst_langinfo): New variable. Use it.
5217 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5219 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5220 floating point opcodes.
5222 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5224 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5227 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5229 * sysdeps/mach/hurd/powerpc: Remove directory.
5230 * sysdeps/mach/powerpc: Likewise.
5232 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5234 * scripts/check-local-headers.sh: Ignore c++ headers.
5236 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5238 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5239 __libc_cleanup_region_start argument.
5241 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5246 x * y using scaling, not as x * y + z.
5247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5248 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5249 * math/libm-test.inc (fma_test): Add more tests.
5250 (fma_test_towardzero): Likewise.
5251 (fma_test_downward): Likewise.
5252 (fma_test_upward): Likewise.
5254 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5256 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5258 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5260 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5263 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5265 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5267 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5274 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5277 Fix the order of the list for glibc 2.17.
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5281 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5285 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5288 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5289 for low part of x being zero before using __atanl (y).
5290 * math/libm-test.inc (atan2_test): Add another test.
5292 * manual/install.texi (Configuring and compiling): Document
5293 general use of test-wrapper and test-wrapper-env.
5294 * INSTALL: Regenerated.
5296 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5297 (__fma): Do not extract and scale down low bits on after-rounding
5298 systems when result rounded to normal precision would have normal
5300 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5301 (__fmal): Do not extract and scale down low bits on after-rounding
5302 systems when result rounded to normal precision would have normal
5304 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5305 (__fmal): Do not extract and scale down low bits on after-rounding
5306 systems when result rounded to normal precision would have normal
5308 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5310 (fma_test): Add more tests.
5311 (fma_test_towardzero): Likewise.
5312 (fma_test_downward): Likewise.
5313 (fma_test_upward): Likewise.
5315 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5317 * sysdeps/i386/tininess.h: Renamed to ...
5318 * sysdeps/x86/tininess.h: This.
5319 * sysdeps/x86_64/tininess.h: Removed.
5321 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5323 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5324 input. Use $(build-program-cmd).
5325 ($(objpfx)tst-array1-static.out): Likewise.
5326 ($(objpfx)tst-array2.out): Likewise.
5327 ($(objpfx)tst-array3.out): Likewise.
5328 ($(objpfx)tst-array4.out): Likewise.
5329 ($(objpfx)tst-array5.out): Likewise.
5330 ($(objpfx)tst-array5-static.out): Likewise.
5332 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5334 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5337 * nss/nsswitch.h (nss_interface_function): Provide new
5338 macro for use with NSS functions.
5339 * grp/initgroups.c: Use new macro.
5340 * nss/getXXbyYY.c: Likewise.
5341 * nss/getXXbyYY_r.c: Likewise.
5342 * nss/getXXent.c: Likewise.
5343 * nss/getXXent_r.c: Likewise.
5344 * sysdeps/posix/getaddrinfo.c: Likewise.
5346 2012-10-30 Andreas Jaeger <aj@suse.de>
5348 * po/ru.po: Update Russion translation from translation project.
5350 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5355 result and shift together with sticky bit instead of replicating
5356 round-to-nearest rounding.
5357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5359 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5360 missing underflow exceptions.
5361 (fma_test_towardzero): Add more tests.
5362 (fma_test_downward): Likewise.
5363 (fma_test_upward): Likewise.
5366 * sysdeps/generic/tininess.h: New file.
5367 * sysdeps/i386/tininess.h: Likewise.
5368 * sysdeps/sh/tininess.h: Likewise.
5369 * sysdeps/x86_64/tininess.h: Likewise.
5370 * stdlib/tst-strtod-underflow.c: Likewise.
5371 * stdlib/tst-tininess.c: Likewise.
5372 * stdlib/strtod_l.c: Include <tininess.h>.
5373 (round_and_return): Do not set errno for exact underflow cases.
5374 Force an underflow exception when setting errno for underflow.
5375 Determine underflow based on rounding to normal precision if
5376 TININESS_AFTER_ROUNDING.
5377 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5378 ERANGE for exact underflow cases.
5379 * stdlib/Makefile (tests): Add tst-tininess and
5380 tst-strtod-underflow.
5381 ($(objpfx)tst-tininess): Use $(link-libm).
5382 ($(objpfx)tst-strtod-underflow): Likewise.
5384 2012-10-30 Andreas Jaeger <aj@suse.de>
5387 * elf/Makefile (tests): Remove conditional for have-initfini-array
5388 since this is now always required and the variable does not exist
5390 (tests-static): Likewise.
5391 (modules-names): Likewise.
5393 * po/eo.po: Add Esperanto translation from translation project.
5395 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5396 merged with constructor/destructor.
5397 (init_array): Likewise.
5398 * elf/tst-array2dep.c (fini_array): Likewise.
5399 (init_array): Likewise.
5401 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5403 * manual/message.texi: Delete @cartouche tags.
5405 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5407 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5409 * sysdeps/mach/hurd/fsync.c: Likewise.
5411 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5412 [_POSIX_REALTIME_SIGNALS]: Change condition to
5413 [_POSIX_REALTIME_SIGNALS > 0].
5415 2012-10-27 Andreas Jaeger <aj@suse.de>
5417 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5418 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5420 [__WORDSIZE != 64]: Likewise.
5422 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5424 * iconvdata/tst-table.sh: Remove ${SHELL}.
5425 * iconvdata/tst-tables.sh: Likewise.
5427 2012-10-25 David S. Miller <davem@davemloft.net>
5429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5430 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5435 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5436 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5437 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5440 2012-10-25 Roland McGrath <roland@hack.frob.com>
5442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5443 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5446 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5447 Jim Blandy <jimb@codesourcery.com>
5449 * scripts/cross-test-ssh.sh: New file.
5450 * manual/install.texi (Configuring and compiling): Document use of
5452 * INSTALL: Regenerated.
5454 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5456 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5459 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5461 * Makeconfig (run-program-prefix): Fix comment.
5463 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5464 Jim Blandy <jimb@codesourcery.com>
5466 * Makeconfig (test-wrapper): New variable,
5467 (test-wrapper-env): Likewise.
5468 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5469 (run-built-tests): Define to yes.
5470 (run-program-prefix): Use $(test-wrapper).
5471 (built-program-cmd): Likewise.
5472 * Rules (make-test-out): Use $(test-wrapper-env) and
5473 $(host-built-program-cmd).
5474 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5475 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5477 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5478 $(test-wrapper-env) to tst-rtld-load-self.sh.
5479 ($(objpfx)order2.out): Use $(test-wrapper).
5480 ($(objpfx)tst-initorder.out): Likewise.
5481 ($(objpfx)tst-initorder2.out): Likewise.
5482 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5483 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5484 (test_wrapper_env): New variable. Use it to run ld.so.
5485 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5486 Use it to run ld.so.
5487 (test_wrapper_env): Likewise.
5488 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5489 $(test-wrapper) to run-iconv-test.sh.
5490 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5491 (ICONV): Use $test_wrapper.
5492 * posix/Makefile ($(objpfx)globtest.out): Pass
5493 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5494 globtest.sh, not $(run-program-prefix).
5495 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5496 (test_wrapper): Likewise.
5497 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5498 set together with run_via_rtld_prefix.
5499 (run_program_prefix): Define in terms of test_wrapper and
5500 run_via_rtld_prefix.
5502 2012-10-24 Roland McGrath <roland@hack.frob.com>
5504 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5505 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5509 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5510 Declare __clock_getres, __clock_gettime, __clock_settime,
5511 __clock_nanosleep, and __clock_getcpuclockid.
5512 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5513 Remove librt_hidden_def (clock_gettime).
5514 * sysdeps/unix/clock_gettime.c: Likewise.
5515 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5516 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5517 * rt/clock_getres.c: Define __clock_getres as an alias.
5518 * sysdeps/posix/clock_getres.c: Likewise.
5519 * rt/clock_settime.c: Define __clock_settime as an alias.
5520 * sysdeps/unix/clock_settime.c: Likewise.
5521 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5522 * sysdeps/unix/clock_nanosleep.c: Likewise.
5523 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5524 * rt/clock-compat.c: New file.
5525 * rt/Makefile (librt-routines): Add clock-compat and move
5526 $(clock-routines) to ...
5527 (routines): ... here, new variable.
5528 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5529 Don't add get_clockfreq here.
5530 * rt/Versions (libc: GLIBC_2.17): New version set.
5531 Add clock_* symbols here.
5532 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5533 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5534 (GLIBC_2.17): Add clock_* symbols.
5535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5546 * NEWS: Mention the move.
5548 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5549 Use __open, __read, __close rather than their public counterparts.
5550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5551 (__get_clockfreq_via_cpuinfo): Likewise.
5552 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5553 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5555 * config.h.in (HAVE_IFUNC): New #undef.
5556 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5558 * configure: Regenerated.
5560 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5562 * configure.in: Move READELF check to start of file.
5563 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5564 libc_cv_asm_gnu_indirect_function in the process.
5565 * configure: Regenerated.
5567 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5569 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5570 send the output to /dev/null.
5571 (libc_cv_cc_with_libunwind): Likewise.
5572 (libc_cv_as_noexecstack): Likewise.
5573 * configure: Regenerate.
5575 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5577 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5579 * posix/globtest.sh (TMPDIR): Do not set.
5580 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5581 (testout): Likewise.
5583 2012-10-24 Andreas Jaeger <aj@suse.de>
5585 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5586 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5587 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5588 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5589 posix_fadvise64, posix_fallocate64.
5591 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5592 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5593 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5595 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5597 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5600 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5601 <bits/fcntl-linux.h>.
5602 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5605 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5606 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5607 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5608 [__WORDSIZE != 64]: Likewise.
5610 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5612 * Makeconfig (run-built-tests): New variable.
5613 * Rules [$(cross-compiling) = yes]: Change condition to
5614 [$(run-built-tests) = no].
5615 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5616 to [$(run-built-tests) = yes].
5617 * elf/Makefile [$(cross-compiling) = no]: Likewise
5618 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5619 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5620 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5621 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5622 * io/Makefile [$(cross-compiling) = no]: Likewise.
5623 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5624 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5625 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5626 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5627 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5628 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5629 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5630 * string/Makefile [$(cross-compiling) = no]: Likewise.
5632 * posix/Makefile ($(objpfx)globtest.out): Pass
5633 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5634 $(rtld-installed-name).
5635 * posix/globtest.sh (elf_objpfx): Remove variable.
5636 (rtld_installed_name): Likewise.
5637 (library_path): Likewise.
5638 (run_program_prefix): New variable. Use for running globtest
5641 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5642 Joseph Myers <joseph@codesourcery.com>
5644 * Makeconfig (host-built-program-cmd): New variable.
5645 * elf/Makefile (tst-stackguard1-ARGS): Use
5646 $(host-built-program-cmd).
5647 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5648 (tst-spawn-ARGS): Likewise.
5649 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5651 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5652 Jim Blandy <jimb@codesourcery.com>
5654 * Makeconfig (run-via-rtld-prefix): New variable.
5655 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5656 (built-program-cmd): Likewise.
5658 2012-10-22 Andreas Jaeger <aj@suse.de>
5660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5661 __O_RSYNC if it exists, otherwise to O_SYNC.
5663 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5664 Joseph Myers <joseph@codesourcery.com>
5666 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5668 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5670 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5673 2012-10-22 Andreas Jaeger <aj@suse.de>
5675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5683 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5690 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5691 Joseph Myers <joseph@codesourcery.com>
5693 * config.make.in (NM): New variable.
5695 2012-10-21 Andreas Jaeger <aj@suse.de>
5697 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5698 definitions and declarations that are provided by
5699 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5701 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5704 * elf/Makefile (tests-static): Add tst-leaks1-static.
5705 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5706 ($(objpfx)tst-leaks1-static): New rule.
5707 ($(objpfx)tst-leaks1-static-mem): Likewise.
5708 (tst-leaks1-static-ENV): New macro.
5709 * elf/dl-open.c (dl_open_worker): Check the main application
5710 only if SHARED is defined.
5711 * elf/tst-leaks1-static.c: New file.
5713 2012-10-20 Andreas Jaeger <aj@suse.de>
5715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5716 generic values for Linux.
5717 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5718 and declarations that are provided by <bits/fcntl-linux.h> and
5719 include <bits/fcntl-linux.h>.
5720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5723 2012-10-20 Roland McGrath <roland@hack.frob.com>
5725 * io/fcntl.h: Move include of <bits/types.h> to the top and
5726 include it unconditionally.
5728 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5730 * wcsmbs/Makefile (tests-ifunc): New variable.
5731 (tests): Add $(tests-ifunc).
5732 * wcsmbs/test-wcschr-ifunc.c: New file.
5733 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5734 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5735 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5736 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5737 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5739 * string/Makefile (tests-ifunc): New variable.
5740 (tests): Add $(tests-ifunc).
5741 * string/test-memccpy.c (TEST_NAME): New macro.
5742 * string/test-memchr.c (TEST_NAME): Likewise.
5743 * string/test-memcmp.c (TEST_NAME): Likewise.
5744 * string/test-memcpy.c (TEST_NAME): Likewise.
5745 * string/test-memmem.c (TEST_NAME): Likewise.
5746 * string/test-memmove.c (TEST_NAME): Likewise.
5747 * string/test-memset.c (TEST_NAME): Likewise.
5748 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5749 * string/test-stpcpy.c (TEST_NAME): Likewise.
5750 * string/test-stpncpy.c (TEST_NAME): Likewise.
5751 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5752 * string/test-strcasestr.c (TEST_NAME): Likewise.
5753 * string/test-strcat.c (TEST_NAME): Likewise.
5754 * string/test-strchr.c (TEST_NAME): Likewise.
5755 * string/test-strcmp.c(TEST_NAME): Likewise.
5756 * string/test-strcpy.c (TEST_NAME): Likewise.
5757 * string/test-strcspn.c (TEST_NAME): Likewise.
5758 * string/test-strlen.c (TEST_NAME): Likewise.
5759 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5760 * string/test-strncmp.c (TEST_NAME): Likewise.
5761 * string/test-strncpy.c (TEST_NAME): Likewise.
5762 * string/test-strnlen.c (TEST_NAME): Likewise.
5763 * string/test-strpbrk.c (TEST_NAME): Likewise.
5764 * string/test-strrchr.c (TEST_NAME): Likewise.
5765 * string/test-strspn.c (TEST_NAME): Likewise.
5766 * string/test-strstr.c (TEST_NAME): Likewise.
5767 * string/test-bcopy-ifunc.c: New file.
5768 * string/test-bzero-ifunc.c: Likewise.
5769 * string/test-memccpy-ifunc.c: Likewise.
5770 * string/test-memchr-ifunc.c: Likewise.
5771 * string/test-memcmp-ifunc.c: Likewise.
5772 * string/test-memcpy-ifunc.c: Likewise.
5773 * string/test-memmem-ifunc.c: Likewise.
5774 * string/test-memmove-ifunc.c: Likewise.
5775 * string/test-mempcpy-ifunc.c: Likewise.
5776 * string/test-memset-ifunc.c: Likewise.
5777 * string/test-rawmemchr-ifunc.c: Likewise.
5778 * string/test-stpcpy-ifunc.c: Likewise.
5779 * string/test-stpncpy-ifunc.c: Likewise.
5780 * string/test-strcasecmp-ifunc.c: Likewise.
5781 * string/test-strcasestr-ifunc.c: Likewise.
5782 * string/test-strcat-ifunc.c: Likewise.
5783 * string/test-strchr-ifunc.c: Likewise.
5784 * string/test-strchrnul-ifunc.c: Likewise.
5785 * string/test-strcmp-ifunc.c: Likewise.
5786 * string/test-strcpy-ifunc.c: Likewise.
5787 * string/test-strcspn-ifunc.c: Likewise.
5788 * string/test-strlen-ifunc.c: Likewise.
5789 * string/test-strncasecmp-ifunc.c: Likewise.
5790 * string/test-strncat-ifunc.c: Likewise.
5791 * string/test-strncmp-ifunc.c: Likewise.
5792 * string/test-strncpy-ifunc.c: Likewise.
5793 * string/test-strnlen-ifunc.c: Likewise.
5794 * string/test-strpbrk-ifunc.c: Likewise.
5795 * string/test-strrchr-ifunc.c: Likewise.
5796 * string/test-strspn-ifunc.c: Likewise.
5797 * string/test-strstr-ifunc.c: Likewise.
5799 * debug/Makefile (tests-ifunc): New variable.
5800 (tests): Add $(tests-ifunc).
5801 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5802 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5803 * debug/test-stpcpy_chk-ifunc.c: New file.
5804 * debug/test-strcpy_chk-ifunc.c: Likewise.
5806 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5809 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5810 header is not read in.
5812 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5814 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5815 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5816 directly. Pass built executable to script as
5817 $(built-program-cmd).
5818 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5819 $testprogram without using LD_LIBRARY_PATH and $ldso.
5821 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5822 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5823 $(rtld-installed-name).
5824 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5825 (rtld_installed_name): Likewise.
5826 (library_path): Likewise.
5827 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5828 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5829 $(run-program-prefix) to tst-tables.sh.
5830 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5831 it to run tst-table-from and tst-table-to.
5832 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5833 Pass it to tst-table.sh.
5834 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5835 $(run-program-prefix) to tst-gettext.sh.
5836 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5838 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5840 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5842 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5843 to run tst-gettext2.
5844 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5845 to run tst-translit.
5846 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5847 $(run-program-prefix) to tst-mtrace.sh.
5848 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5850 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5851 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5852 $(rtld-installed-name).
5853 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5854 (rtld_installed_name): Likewise.
5855 (run_program_prefix): New variable. Use it to run wordexp-test.
5857 * Makeconfig (ARCH): Remove all definitions.
5858 (machine): Likewise.
5859 [ARCH]: Remove conditional code.
5860 [!objdir]: Give error.
5861 [!objdir] (objpfx): Remove.
5862 [!objdir] (common-objpfx): Likewise.
5863 [!objdir] (common-objdir): Likewise.
5864 * configure.in (config_makefile): Remove. Hardcode Makefile in
5865 AC_CONFIG_FILES call.
5866 * configure: Regenerated.
5869 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5871 (testout): Likewise.
5873 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5874 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5875 $(rtld-installed-name).
5876 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5877 (rtld_installed_name): Likwise.
5878 (runit): Remove function.
5879 (run_getconf): New variable, Use it for running getconf binary.
5881 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5884 * string/test-memmem.c (check_result): New function.
5885 (do_one_test): Use it.
5886 (check1): New function.
5887 (test_main): Use it.
5889 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5891 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5893 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5895 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5896 (_G_LSEEK64): Likewise.
5897 (_G_MMAP64): Likewise.
5898 (_G_FSTAT64): Likewise.
5899 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5900 (_G_LSEEK64): Likewise.
5901 (_G_MMAP64): Likewise.
5902 (_G_FSTAT64): Likewise.
5903 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5904 unconditional. Call __mmap64 directly.
5905 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5906 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5908 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5909 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5911 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5912 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5914 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5915 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5917 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5918 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5920 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5921 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5922 __fxstat64 directly.
5923 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5924 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5926 (freopen64) [!_G_OPEN64]: Remove conditional code.
5927 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5929 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5930 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5932 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5933 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5935 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5936 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5938 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5939 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5941 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5942 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5944 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5945 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5947 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5949 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5952 * manual/memory.texi (Malloc Tunable Parameters): Add note
5953 about free list pointers overwriting some perturb bytes.
5954 Wording suggested by Roland McGrath.
5956 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5958 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5959 (lgamma_test): Likewise.
5960 (tgamma_test): Likewise.
5962 2012-10-16 Florian Weimer <fweimer@redhat.com>
5965 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5966 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5968 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5970 * NEWS: Mention BZ #14716.
5971 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5972 when removing AVAILABLE1_USES_J macro.
5974 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5976 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5977 (__bswap_64): __uint64_t for unsigned 64-bit int.
5979 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5981 * include/string.h (memmem): Declare libc hidden alias.
5982 * string/memmem.c (memmem): Define libc hidden alias.
5983 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5984 __read, __close instead of open, read, close.
5986 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5989 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5991 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5992 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5993 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5995 (__rawmemchr_sse2): Likewise.
5996 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5997 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5998 (__strchr_sse2): Likewise.
5999 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6000 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6001 (__strcasecmp_sse2): Likewise.
6002 (__strncasecmp_sse2): Likewise.
6003 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6004 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6005 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6006 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6007 (__strrchr_sse2): Likewise.
6008 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6010 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6011 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6012 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6013 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6014 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6015 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6016 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6017 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6018 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6019 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6020 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6021 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6022 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6023 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6024 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6025 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6026 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6027 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6028 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6029 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6030 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6031 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6032 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6033 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6034 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6035 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6036 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6037 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6038 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6039 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6041 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6043 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6044 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6045 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6046 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6048 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6050 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6051 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6052 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6053 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6055 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6056 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6057 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6058 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6059 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6060 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6061 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6062 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6063 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6064 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6065 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6066 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6067 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6068 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6069 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6070 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6071 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6072 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6073 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6074 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6075 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6076 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6077 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6078 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6079 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6080 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6081 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6082 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6083 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6084 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6086 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6089 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6097 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6098 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6099 * include/ifunc-impl-list.h: New file.
6100 * misc/ifunc-impl-list.c: Likewise.
6101 * misc/Makefile (routines): Add ifunc-impl-list.
6102 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6103 * string/test-string.h: Include <ifunc-impl-list.h>.
6104 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6105 impl_array): New variables.
6106 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6108 (test_init): Call __libc_ifunc_impl_list to initialize
6109 func_list if TEST_IFUNC and TEST_NAME are defined.
6111 * string/Makefile (strop-tests): Add bcopy and bzero.
6112 * string/test-bcopy.c: New file.
6113 * string/test-bzero.c: Likewise.
6114 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6116 * string/test-memset.c: Support bzero test if TEST_BZERO is
6118 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6120 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6122 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6125 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6127 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6128 * configure: Regenerated.
6130 * Makeconfig (+link-static-before-libc): Don't include
6131 $(link-static-libc).
6133 * libio/libio.h (_IO_pos_t): Remove.
6135 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6137 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6140 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6142 * crypt/crypt-entry.c: Include fips-private.h.
6143 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6144 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6145 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6146 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6148 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6150 * crypt/crypt-private.h: Include stdbool.h.
6151 (_ufc_setup_salt_r): Return bool.
6152 * crypt/crypt-entry.c: Include errno.h.
6153 (__crypt_r): Return NULL with EINVAL for bad salt.
6154 * crypt/crypt_util.c (bad_for_salt): New.
6155 (_ufc_setup_salt_r): Check that salt is long enough and within
6156 the specified alphabet.
6157 * crypt/badsalttest.c: New file.
6158 * crypt/Makefile (tests): Add it.
6159 ($(objpfx)badsalttest): New.
6161 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6163 * NEWS: Add entry for BZ #14602.
6165 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6167 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6169 * math/libm-test.inc: Update comment listing what functions and
6171 (isgreater_test): New function.
6172 (isgreaterequal_test): Likewise.
6173 (isless_test): Likewise.
6174 (islessequal_test): Likewise.
6175 (islessgreater_test): Likewise.
6176 (isunordered_test): Likewise.
6177 (main): Call the new functions.
6179 2012-10-09 Roland McGrath <roland@hack.frob.com>
6181 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6182 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6183 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6184 * sysdeps/i386/configure: Regenerated.
6185 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6186 * sysdeps/mach/configure: Regenerated.
6187 * sysdeps/mach/hurd/configure: Regenerated.
6188 * sysdeps/powerpc/configure: Regenerated.
6189 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6190 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6191 * sysdeps/s390/s390-32/configure: Regenerated.
6192 * sysdeps/s390/s390-64/configure: Regenerated.
6193 * sysdeps/sh/configure: Regenerated.
6194 * sysdeps/sparc/configure: Regenerated.
6195 * sysdeps/unix/sysv/linux/configure: Regenerated.
6196 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6197 * sysdeps/x86_64/configure: Regenerated.
6199 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6200 defined. Don't check if MAP is NULL.
6202 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6204 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6205 (_G_stat64): Likewise.
6206 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6207 (_G_stat64): Likewise.
6208 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6209 instead of struct _G_stat64.
6210 * libio/fileops.c (mmap_remap_check): Likewise.
6211 (decide_maybe_mmap): Likewise.
6212 (_IO_new_file_seekoff): Likewise.
6213 (_IO_file_stat): Likewise.
6214 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6216 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6217 instead of struct _G_stat64.
6218 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6220 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6223 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6225 (CHECK_EOL): New macro.
6226 (two_way_short_needle): Check beginning of haystack for EOL. Use
6228 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6229 Replace with CHECK_EOL.
6230 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6231 Replace with CHECK_EOL.
6233 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6235 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6237 * math/libm-test.inc: Update comment listing what functions and
6239 (finite_test): New function.
6240 (isinf_test): Likewise.
6241 (isnan_test): Likewise.
6242 (fpclassify_test): Test subnormal input.
6243 (isfinite_test): Likewise.
6244 (isnormal_test): Likewise.
6245 (main): Call the new functions.
6247 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6250 * Makerules (%.dynsym): Force C locale when running
6251 $(OBJDUMP) --dynamic-syms.
6253 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6255 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6258 2012-10-06 David S. Miller <davem@davemloft.net>
6260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6261 upper 32-bits of the length value in %o2 since we use branch-on-register
6262 tests which consider the entire 64-bit register.
6264 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6266 * string/test-strstr.c (check2): Add a test for page boundary.
6268 2012-10-05 David S. Miller <davem@davemloft.net>
6270 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6271 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6273 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6275 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6276 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6277 and bzero when HWCAP_SPARC_CRYPTO is present.
6279 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6282 * string/test-strstr.c (check2): New function.
6283 (test_main): Call check2.
6285 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6287 * string/bug-strcasestr1.c (do_test): Moved to ...
6288 * string/test-strcasestr.c (check1): Here. New function.
6289 (do_one_test): Break out result checking code into ...
6290 (check_result): This. New function.
6291 (do_one_test): Call check_result.
6292 (test_main): Call check1.
6293 * string/bug-strchr1.c (do_test): Moved to ...
6294 * string/test-strchr.c (check1): Here. New function.
6295 (do_one_test): Break out result checking code into ...
6296 (check_result): This. New function.
6297 (do_one_test): Call check_result.
6298 (test_main): Call check1.
6299 * string/bug-strstr1.c (main): Moved to ...
6300 * string/test-strstr.c (check1): Here. New function.
6301 (do_one_test): Break out result checking code into ...
6302 (check_result): This. New function.
6303 (do_one_test): Call check_result.
6304 (test_main): Call check1.
6305 * string/bug-strcasestr1.c: Removed.
6306 * string/bug-strchr1.c: Likewise.
6307 * string/bug-strstr1.c: Likewise.
6309 * elf/Makefile (dl-routines): Add hwcaps.
6310 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6311 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6312 (_dl_important_hwcaps): Moved to ...
6313 * elf/dl-hwcaps.c: Here. New file.
6314 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6317 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6318 if IS_IN_rtld isn't defined.
6320 * elf/dl-support.c (_dl_sysinfo_map): New.
6321 Include "get-dynamic-info.h" and "setup-vdso.h".
6322 (_dl_non_dynamic_init): Call setup_vdso.
6323 * elf/dynamic-link.h: Don't include <assert.h>.
6324 (elf_get_dynamic_info): Moved to ...
6325 * elf/get-dynamic-info.h: Here. New file.
6326 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6327 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6328 * elf/setup-vdso.h: Here. New file.
6329 * elf/rtld.c: Include "setup-vdso.h".
6330 (dl_main): Call setup_vdso.
6332 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6334 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6335 creal in comment listing functions tested. List finite, isinf,
6336 isnan, isless, islessequal, isgreater, isgreaterequal,
6337 islessgreater, isunordered, lgamma_r and pow10 as functions and
6338 macros not tested. Mention which functions not tested are aliases
6339 for other functions. Fix typo. Note that signs of NaNs are not
6342 * scripts/config.guess: Update from config.git.
6343 * scripts/config.sub: Likewise.
6345 2012-10-04 Roland McGrath <roland@hack.frob.com>
6347 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6348 * misc/madvise.c (madvise): Renamed to __madvise.
6349 Make madvise a weak alias.
6350 * include/sys/mman.h: Declare __madvise.
6351 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6352 * sysdeps/unix/syscalls.list
6353 (madvise): Make __madvise the strong name, and madvise a weak alias.
6354 * sysdeps/unix/sysv/linux/syscalls.list
6355 (madvise, mmap): Remove redundant entries.
6356 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6357 * malloc/malloc.c (mtrim): Likewise.
6358 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6360 2012-10-03 Roland McGrath <roland@hack.frob.com>
6362 * sysdeps/mach/hurd/dl-cache.c: File removed.
6363 * config.h.in (USE_LDCONFIG): New #undef.
6364 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6365 * configure: Regenerated.
6366 * elf/Makefile (dl-routines): Add dl-cache only under
6367 [$(use-ldconfig) = yes].
6368 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6369 cache on [USE_LDCONFIG].
6370 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6372 * elf/rtld.c (dl_main): Likewise.
6374 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6376 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6377 _SC_LEVEL4_CACHE_LINESIZE.
6379 2012-10-03 Roland McGrath <roland@hack.frob.com>
6381 * sysdeps/unix/bsd/confstr.h: File removed.
6383 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6385 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6388 2012-10-02 Roland McGrath <roland@hack.frob.com>
6390 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6391 Make 'mapoff' field ElfW(Off) rather than off_t.
6393 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6395 * nscd/Makefile: Remove nscd-cflags and all its users.
6396 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6397 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6400 * malloc.c (malloc_printerr): Clarify error message.
6402 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6406 Set bit_FMA_Usable if FMA is supported.
6407 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6409 (bit_FMA4_Usable): Updated.
6410 (index_FMA_Usable): New macro.
6411 (CPUID_FMA): Likewise
6412 (HAS_FMA): Defined with bit_FMA_Usable.
6414 2012-10-01 Roland McGrath <roland@hack.frob.com>
6416 * bits/types.h (__swblk_t): Type removed.
6417 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6418 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6419 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6420 (__SWBLK_T_TYPE): Likewise.
6421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6422 (__SWBLK_T_TYPE): Likewise.
6423 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6424 (__SWBLK_T_TYPE): Likewise.
6425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6426 (__SWBLK_T_TYPE): Likewise.
6428 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6429 Honza Horak <hhorak@redhat.com>
6431 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6432 (xdr_mapname): Use YPMAXMAP as maxsize.
6433 (xdr_peername): Use YPMAXPEER as maxsize.
6434 (xdr_keydat): Use YPAXRECORD as maxsize.
6435 (xdr_valdat): Use YPMAXRECORD as maxsize.
6437 2012-10-01 Roland McGrath <roland@hack.frob.com>
6439 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6441 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6442 * csu/init-first.c: ... here.
6443 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6444 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6446 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6447 * sysdeps/i386/init-first.c: File removed.
6448 * sysdeps/sh/init-first.c: File removed.
6450 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6454 if x * y might underflow to zero and z is zero.
6455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6457 * math/libm-test.inc (min_subnorm_value): New variable.
6458 (fma_test): Add more tests.
6459 (fma_test_towardzero): Likewise.
6460 (fma_test_downward): Likewise
6461 (fma_test_upward): Likewise.
6462 (initialize): Set min_subnorm_value.
6464 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6470 mode for addition resulting in exact zero.
6471 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6474 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6475 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6476 * math/libm-test.inc (fma_test): Add more tests.
6477 (fma_test_towardzero): New function.
6478 (fma_test_downward): Likewise.
6479 (fma_test_upward): Likewise.
6480 (main): Call the new functions.
6482 2012-09-28 David S. Miller <davem@davemloft.net>
6484 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6486 2012-09-28 Roland McGrath <roland@hack.frob.com>
6488 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6491 * sysdeps/gnu/_G_config.h: Moved to ...
6492 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6493 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6494 * sysdeps/generic/_G_config.h: ... here.
6496 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6498 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6500 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6501 Conditionalize target on [libnss_test1.so-version].
6503 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6505 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6506 (elfobjdir): Move out of conditionals.
6508 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6509 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6510 (__nss_lookup_function): Conditionalize label remove_from_tree on
6511 [!DO_STATIC_NSS || SHARED], matching its only use.
6513 2012-09-28 David S. Miller <davem@davemloft.net>
6515 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6516 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6518 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6520 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6522 when HWCAP_SPARC_CRYPTO is present.
6524 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6526 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6528 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6531 * stdio-common/vfprintf.c (process_string_arg): Revert
6534 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6536 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6538 * stdio-common/tst-sprintf.c: Include <locale.h>
6539 (main): Test sprintf's handling of incomplete multibyte
6542 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6544 * elf/dl-runtime.c (VERSYMIDX): Removed.
6545 * elf/dl-version.c (VERSYMIDX): Likewise.
6546 * elf/do-rel.h (VERSYMIDX): Likewise.
6548 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6549 * elf/rtld.c (VALIDX): Likewise.
6550 (ADDRIDX): Likewise.
6551 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6552 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6553 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6554 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6556 (ADDRIDX): Likewise.
6558 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6560 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6562 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6565 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6567 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6568 addresses are in the same scope as 192.0.2/24.
6569 * posix/gai.conf: Document new scope table defaults.
6571 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6574 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6575 for ftell. Compute offsets from write pointers instead.
6576 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6578 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6581 * libio/Makefile (tests): New test case tst-fseek.
6582 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6583 combination works in wide mode.
6584 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6585 state when the external buffer state changes.
6587 2012-09-27 David S. Miller <davem@davemloft.net>
6590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6591 pass reloc->r_addend in as the 'high' argument to
6592 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6596 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6598 * rt/tst-aio2.c: Include <pthread.h>.
6599 * rt/tst-aio3.c: Likewise.
6601 2012-09-27 Steve Ellcey <sellcey@mips.com>
6603 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6605 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6607 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6608 contents on [SHARED].
6610 2012-09-26 Marek Polacek <polacek@redhat.com>
6614 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6615 for C++ and GCC <4.3 as well as for non GCC compilers.
6617 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6621 2012-09-25 Roland McGrath <roland@hack.frob.com>
6623 * Makefile.in (all, install): Declare with .PHONY.
6624 Reported by Michael Hope <michael.hope@linaro.org>.
6626 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6628 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6629 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6631 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6633 (sydep_routines): Add the new and the internal functions.
6634 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6635 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6637 (GLIBC_2.17): Add the new function.
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6639 (GLIBC_2.17): Likewise.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6641 (GLIBC_2.17): Likewise.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6643 (GLIBC_2.17): Likewise.
6644 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6646 2012-09-25 Alan Modra <amodra@gmail.com>
6648 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6649 Add release barrier before setting once_control to say
6650 initialisation is done. Add hints on lwarx. Use macro in
6652 (clear_once_control): Add release barrier.
6654 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6657 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6659 * math/s_clog10.c (__clog10): Likewise.
6660 * math/s_clog10f.c (__clog10f): Likewise.
6661 * math/s_clog10l.c (__clog10l): Likewise.
6662 * math/s_clogf.c (__clogf): Likewise.
6663 * math/s_clogl.c (__clogl): Likewise.
6664 * math/Makefile (libm-calls): Add x2y2m1.
6665 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6666 (__x2y2m1): Likewise.
6667 (__x2y2m1l): Likewise.
6668 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6669 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6672 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6673 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6674 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6675 * sysdeps/i386/fpu/libm-test-ulps: Update.
6676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6679 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6680 int as type of variable DEPTH.
6681 (glob): Use size_t instead of int as type of variables NEWCOUNT
6684 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6686 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6688 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6689 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6690 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6691 macros for using routine as __sincosf_ia32.
6692 Use macro for function declaration and weak_alias.
6693 * sysdeps/i386/fpu/libm-test-ulps: Update.
6695 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6698 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6700 * math/s_cexpf.c (__cexpf): Likewise.
6701 * math/s_csinf.c (__csinf): Likewise.
6702 * math/s_csinhf.c (__csinhf): Likewise.
6703 * math/s_ctanf.c (__ctanf): Likewise.
6704 * math/s_ctanhf.c (__ctanhf): Likewise.
6705 * math/s_ccosh.c (__ccoshf): Likewise.
6706 * math/s_cexp.c (__cexpl): Likewise.
6707 * math/s_csin.c (__csin): Likewise.
6708 * math/s_csinh.c (__csinh): Likewise.
6709 * math/s_ctan.c (__ctan): Likewise.
6710 * math/s_ctanh.c (ctanh): Likewise.
6711 * math/s_ccoshl.c (__ccoshl): Likewise.
6712 * math/s_cexpl.c (__cexpl): Likewise.
6713 * math/s_csinl.c (__csinl): Likewise.
6714 * math/s_csinhl.c (__csinhl): Likewise.
6715 * math/s_ctanl.c (__ctanl): Likewise.
6716 * math/s_ctanhl.c (__ctanhl): Likewise.
6718 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6720 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6721 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6722 (_IO_off_t): Define to __off_t, not _G_off_t.
6723 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6724 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6725 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6726 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6727 type of __dummy and __dummy2 fields.
6728 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6729 (_G_ssize_t): Likewise.
6730 (_G_off_t): Likewise.
6731 (_G_pid_t): Likewise.
6732 (_G_uid_t): Likewise.
6733 (_G_wchar_t): Likewise.
6734 (_G_wint_t): Likewise.
6735 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6736 (_G_ssize_t): Likewise.
6737 (_G_off_t): Likewise.
6738 (_G_pid_t): Likewise.
6739 (_G_uid_t): Likewise.
6740 (_G_wchar_t): Likewise.
6741 (_G_wint_t): Likewise.
6742 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6743 (_G_ssize_t): Likewise.
6744 (_G_off_t): Likewise.
6745 (_G_pid_t): Likewise.
6746 (_G_uid_t): Likewise.
6747 (_G_wchar_t): Likewise.
6748 (_G_wint_t): Likewise.
6750 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6752 * malloc/arena.c: Include malloc-sysdep.h.
6753 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6754 is sufficient to shrink the heap or an unmap is needed.
6755 * sysdeps/generic/malloc-sysdep.h: New file. Define
6756 new function check_may_shrink_heap.
6757 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6758 new function check_may_shrink_heap.
6760 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6762 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6765 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6767 * catgets/test-gencat.sh: Add "set -e".
6768 * elf/tst-pathopt.sh: Likewise.
6769 * grp/tst_fgetgrent.sh: Likewise.
6770 * iconvdata/run-iconv-test.sh: Likewise.
6771 * intl/tst-gettext.sh: Likewise.
6772 * intl/tst-gettext2.sh: Likewise.
6773 * intl/tst-gettext4.sh: Likewise.
6774 * intl/tst-gettext6.sh: Likewise.
6775 * intl/tst-translit.sh: Likewise.
6776 * io/ftwtest-sh: Likewise.
6777 * libio/test-freopen.sh: Likewise.
6778 * malloc/tst-mtrace.sh: Likewise.
6779 * posix/globtest.sh: Likewise.
6780 * posix/tst-getconf.sh: Likewise.
6781 * posix/wordexp-tst.sh: Likewise.
6782 * stdio-common/tst-printf.sh: Likewise.
6783 * stdio-common/tst-unbputc.sh: Likewise.
6784 * stdlib/tst-fmtmsg.sh: Likewise.
6785 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6786 * catgets/Makefile: Do not specify -e option when running
6787 testsuite shell scripts.
6788 * elf/Makefile: Likewise.
6789 * grp/Makefile: Likewise.
6790 * iconvdata/Makefile: Likewise.
6791 * intl/Makefile: Likewise.
6792 * io/Makefile: Likewise.
6793 * libio/Makefile: Likewise.
6794 * malloc/Makefile: Likewise.
6795 * posix/Makefile: Likewise.
6796 * stdio-common/Makefile: Likewise.
6797 * stdlib/Makefile: Likewise.
6798 * sysdeps/x86_64/Makefile: Likewise.
6800 * io/ftwtest-sh: Add copyright header.
6801 * posix/globtest.sh: Likewise.
6802 * posix/tst-getconf.sh: Likewise.
6803 * posix/wordexp-tst.sh: Likewise.
6804 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6806 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6809 * Makeconfig (+link): Defined as $(+link-static) if
6810 $(build-shared) isn't yes.
6811 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6813 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6815 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6818 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6819 new chunk size with MALLOC_ALIGN_MASK.
6821 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6824 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6826 (__printf_fphex): Determine rounding using get_rounding_mode and
6828 * stdio-common/tst-printf-round.c (struct hex_test): New
6830 (hex_tests): New variable.
6831 (test_hex_in_one_mode): New function.
6832 (do_test): Also run tests for hex float output.
6834 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6836 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6837 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6838 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6839 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6840 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6841 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6842 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6843 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6845 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6847 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6848 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6849 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6850 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6852 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6855 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6857 * elf/tst-rtld-load-self.sh: New test.
6858 * elf/Makefile: Run it.
6860 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6862 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6863 (tst-writev-ENV): Remove.
6864 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6866 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6868 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6870 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6872 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6874 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6876 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6877 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6878 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6881 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6884 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6885 * config.make.in (have-cpp-asm-debuginfo): Removed.
6886 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6887 * configure: Regenerated.
6889 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6892 * stdio-common/printf_fp.c: Include <stdbool.h> and
6894 (___printf_fp): Determine rounding using get_rounding_mode and
6896 * stdio-common/tst-printf-round.c: New file.
6897 * stdio-common/Makefile (tests): Add tst-printf-round.
6898 (link-libm): New variable.
6899 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6901 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6904 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6905 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6907 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6910 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6912 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6913 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6914 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6915 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6917 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6920 * include/rounding-mode.h: New file.
6921 * sysdeps/generic/get-rounding-mode.h: Likewise.
6922 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6923 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6924 (MAX_VALUE): New macro.
6925 (MIN_VALUE): Likewise.
6926 (overflow_value): New function.
6927 (underflow_value): Likewise.
6928 (round_and_return): Use overflow_value and underflow_value to
6929 determine return values in overflow and underflow cases. Use
6930 round_away to determine rounding depending on rounding mode.
6931 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6932 determine return values in overflow and underflow cases.
6933 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6934 (struct test_results): New structure.
6935 (struct test): Use struct test_results to store expected results
6936 for all rounding modes.
6937 (TEST): Include expected results for all rounding modes.
6938 (test_in_one_mode): New function.
6939 (do_test): Use test_in_one_mode to compute and check results.
6940 Check results for all rounding modes.
6941 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6944 2012-12-09 Allan McRae <allan@archlinux.org>
6946 * sysdeps/i386/fpu/libm-test-ulps: Update
6948 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6950 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6951 (_G_int32_t): Likewise.
6952 (_G_uint16_t): Likewise.
6953 (_G_uint32_t): Likewise.
6954 (_G_HAVE_BOOL): Likewise.
6955 (_G_HAVE_ATEXIT): Likewise.
6956 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6957 (_G_HAVE_IO_FILE_OPEN): Likewise.
6958 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6959 (_G_int32_t): Likewise.
6960 (_G_uint16_t): Likewise.
6961 (_G_uint32_t): Likewise.
6962 (_G_HAVE_BOOL): Likewise.
6963 (_G_HAVE_ATEXIT): Likewise.
6964 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6965 (_G_HAVE_IO_FILE_OPEN): Likewise.
6966 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6967 (_G_int32_t): Likewise.
6968 (_G_uint16_t): Likewise.
6969 (_G_uint32_t): Likewise.
6970 (_G_HAVE_BOOL): Likewise.
6971 (_G_HAVE_ATEXIT): Likewise.
6972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6973 (_G_HAVE_IO_FILE_OPEN): Likewise.
6975 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6977 * csu/libc-tls.c: Update copyright years.
6979 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6981 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6982 [!_G_USING_THUNKS]: Remove conditional code.
6983 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6984 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6986 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6987 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6988 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6989 (_G_VTABLE_LABEL_PREFIX): Likewise.
6990 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6991 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6992 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6993 (_G_VTABLE_LABEL_PREFIX): Likewise.
6994 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6995 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6996 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6997 (_G_VTABLE_LABEL_PREFIX): Likewise.
6998 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7000 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7002 * libio/Makefile: Include ../Makeconfig before tests.
7003 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7004 only if $(build-shared) is yes.
7006 * iconv/gconv_db.c: Update copyright years.
7008 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7010 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7011 unwind info if defined PIC. Fix special cases description.
7012 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7014 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7016 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7018 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7020 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7022 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7025 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7026 (LDLIBS-tst-chk4): This.
7027 (LDFLAGS-tst-chk5): Renamed to ...
7028 (LDLIBS-tst-chk5): This.
7029 (LDFLAGS-tst-chk6): Renamed to ...
7030 (LDLIBS-tst-chk6): This.
7031 (LDFLAGS-tst-lfschk4): Renamed to ...
7032 (LDLIBS-tst-lfschk4): This.
7033 (LDFLAGS-tst-lfschk5): Renamed to ...
7034 (LDLIBS-tst-lfschk5): This.
7035 (LDFLAGS-tst-lfschk6): Renamed to ...
7036 (LDLIBS-tst-lfschk6): This.
7038 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7039 on $(common-objpfx)soversions.mk.
7041 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7044 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7047 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7049 * malloc/arena.c (arena_get_retry): New function that gets
7050 another arena for the caller to try its request on.
7051 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7052 current arena cannot fulfill the request.
7053 (__libc_memalign): Likewise.
7054 (__libc_memalign): Likewise.
7055 (__libc_pvalloc): Likewise.
7056 (__libc_calloc): Likewise.
7058 2012-09-05 John Tobey <john.tobey@gmail.com>
7061 * manual/arith.texi (Operations on Complex): Fix description
7064 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7067 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7071 * manual/memory.texi (Memory): Make order of menu items match
7074 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7076 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7077 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7078 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7080 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7082 * csu/libc-tls.c (static_dtv): Renamed to ...
7083 (_dl_static_dtv): This. Make it global.
7084 (_dl_initial_dtv): Removed.
7085 (__libc_setup_tls): Updated.
7086 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7087 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7090 2012-09-06 Petr Machata <pmachata@redhat.com>
7092 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7093 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7094 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7095 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7097 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7100 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7101 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7104 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7107 * Makeconfig (link-static-before-libc): Replace $(+prector)
7109 (link-static-after-libc): Replace $(+postctor) with
7111 (link-bounded): Replace $(+prector)/$(+postctor) with
7112 $(+prectorT)/$(+postctorT).
7113 (+prectorT): New macro.
7114 (+postctorT): Likewise.
7116 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7118 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7119 (round_str): Handle values above the maximum for IBM long double
7121 * stdlib/tst-strtod-round.c (tests): Regenerated.
7123 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7125 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7127 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7128 zarch_nohighgprs around the zarch optimized routines.
7129 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7130 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7134 2012-09-05 David S. Miller <davem@davemloft.net>
7136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7138 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7139 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7140 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7141 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7144 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7146 * malloc/arena.c: Fold copyright years.
7147 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7149 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7151 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7153 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7155 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7157 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7159 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7160 change internal state upon failure.
7162 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7164 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7165 * malloc/memusage.c (mmap): Likewise.
7166 (mmap64, mremap): Likewise. Adjust name in comment.
7168 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7170 * libio/fileops.c: Fix typos in comments.
7171 * libio/oldfileops.c: Likewise.
7172 * libio/wfileops.c: Likewise.
7174 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7177 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7178 (tst-malloc-usable-ENV): Set environment for test case.
7179 * malloc/hooks.c (malloc_check_get_size): New function to get
7181 * malloc/malloc.c (musable): Use malloc_check_get_size.
7182 * malloc/tst-malloc-usable.c: New test case.
7184 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7186 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7188 2012-09-05 Allan McRae <allan@archlinux.org>
7191 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7192 determine header location.
7193 * configure: Regenerated.
7195 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7197 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7199 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7200 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7204 2012-09-04 David S. Miller <davem@davemloft.net>
7206 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7207 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7208 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7210 2012-09-04 Florian Weimer <fweimer@redhat.com>
7212 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7215 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7217 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7220 * libio/iogetdelim.c: Include <limits.h>.
7221 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7222 + len + 1 would overflow.
7224 2012-09-03 Andreas Jaeger <aj@suse.de>
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7227 * sysdeps/i386/fpu/libm-test-ulps: Update.
7229 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7231 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7232 Add s_sinf-sse2, s_conf-sse2.
7234 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7235 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7236 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7237 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7239 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7240 for using routine as __sinf_ia32.
7241 Use macro for function declaration and weak_alias.
7242 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7243 for using routine as __cosf_ia32.
7244 Use macro for function declaration and weak_alias.
7246 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7247 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7249 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7250 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7253 * math/libm-test.inc (cos_test): Add more test cases.
7254 (sin_test): Likewise.
7255 (sincos_test): Likewise.
7257 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7259 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7260 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7262 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7264 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7267 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7268 first element of the GOT.
7269 (elf_machine_load_address): Return the difference between
7270 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7272 2012-09-01 Allan McRae <allan@archlinux.org>
7275 * configure.in (AWK): Require gawk version 3.0 or later.
7276 * configure: Regenerated.
7278 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7280 * sysdeps/unix/sysv/linux/kernel-features.h
7281 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7282 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7283 [__NR_clock_getres]: Make code unconditional.
7284 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7285 (clock_getcpuclockid): Remove code left unreachable by removal of
7287 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7289 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7290 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7291 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7292 Make code unconditional.
7293 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7294 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7295 * sysdeps/unix/sysv/linux/clock_settime.c
7296 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7298 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7299 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7301 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7304 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7305 scripts/test-installation.pl.
7307 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7308 and $ld_so_version if it is set.
7310 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7313 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7314 failure if reading from procfs failed.
7315 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7317 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7319 * sysdeps/unix/sysv/linux/kernel-features.h
7320 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7321 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7322 Remove conditional code.
7323 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7324 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7325 Remove conditional code.
7326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7327 * sysdeps/unix/sysv/linux/i386/fxstat.c
7328 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7330 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7331 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7333 * sysdeps/unix/sysv/linux/i386/lxstat.c
7334 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7336 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7337 Remove conditional code.
7338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7339 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7340 Remove conditional code.
7341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7342 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7343 <kernel-features.h>.
7344 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7346 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7347 Remove conditional code.
7348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7349 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7352 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7355 * NEWS: Add fixed bug number.
7357 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7360 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7361 underflowing exponent in case of negative sign.
7362 * stdlib/tst-strtod-round-data: Add more tests.
7363 * stdlib/tst-strtod-round.c (tests): Regenerated.
7366 * stdlib/strtod_l.c (NDIG): Remove.
7367 (HEXNDIG): Likewise.
7368 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7369 smallest representable value.
7370 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7371 lie within an exact representation of 1/2 ulp of the result.
7372 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7374 (TENS_P9_IDX): Define unconditionally.
7375 (TENS_P9_SIZE): Likewise.
7376 (TENS_P10_IDX): Likewise.
7377 (TENS_P10_SIZE): Likewise.
7378 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7379 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7380 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7381 entries for 10^2^13 and 10^2^14.
7382 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7383 (TENS_P13_IDX): Define.
7384 (TENS_P13_SIZE): Likewise.
7385 (TENS_P14_IDX): Likewise.
7386 (TENS_P14_SIZE): Likewise.
7387 (_fpioconst_pow10): Change array size to
7388 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7390 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7391 1024]: Add entries for 10^2^13 and 10^2^14.
7392 [LAST_POW10 > _LAST_POW10]: Remove #error.
7393 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7394 (_fpioconst_pow10): Change array size to
7395 FPIOCONST_POW10_ARRAY_SIZE.
7396 * stdlib/gen-fpioconst.c: New file.
7397 * stdlib/gen-tst-strtod-round.c: Likewise.
7398 * stdlib/tst-strtod-round-data: Likewise.
7399 * stdlib/tst-strtod-round.c: Likewise.
7400 * stdlib/Makefile (tests): Add tst-strtod-round.
7403 * stdlib/strtod_l.c: Include <stdint.h>.
7404 (NDEBUG): Do not define.
7405 (round_and_return): Change EXPONENT parameter to type intmax_t.
7406 Rearrange calculations to avoid internal overflow possibilities.
7407 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7408 Rearrange calculations to avoid internal overflow possibilities.
7409 Assert that number fits inside MPNSIZE limbs.
7410 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7411 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7412 calculations and add assertions to avoid internal overflow
7413 possibilities. Add casts to avoid signed/unsigned operations.
7414 * stdlib/tst-strtod-overflow.c: New file.
7415 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7417 2012-08-25 Marek Polacek <polacek@redhat.com>
7419 * time/time.h: Fix some typos in comments.
7421 2012-08-23 Roland McGrath <roland@hack.frob.com>
7423 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7424 * posix/tst-rfc3484-2.c: Likewise.
7425 * posix/tst-rfc3484-3.c: Likewise.
7427 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7429 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7430 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7432 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7435 #include of fxstatat64.c.
7437 2012-08-22 Roland McGrath <roland@hack.frob.com>
7439 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7440 * shadow/getspent_r.c: Likewise.
7441 * shadow/getspnam.c: Likewise.
7442 * shadow/getspnam_r.c: Likewise.
7443 * gshadow/getsgent.c: Likewise.
7444 * gshadow/getsgent_r.c: Likewise.
7445 * gshadow/getsgnam.c: Likewise.
7446 * gshadow/getsgnam_r.c: Likewise.
7447 * inet/getnetbyad.c: Likewise.
7448 * inet/getnetbyad_r.c: Likewise.
7449 * inet/getnetbynm.c: Likewise.
7450 * inet/getnetbynm_r.c: Likewise.
7451 * inet/getnetent.c: Likewise.
7452 * inet/getnetent_r.c: Likewise.
7453 * inet/getproto.c: Likewise.
7454 * inet/getproto_r.c: Likewise.
7455 * inet/getprtent.c: Likewise.
7456 * inet/getprtent_r.c: Likewise.
7457 * inet/getprtname.c: Likewise.
7458 * inet/getprtname_r.c: Likewise.
7459 * inet/getrpcbyname.c: Likewise.
7460 * inet/getrpcbyname_r.c: Likewise.
7461 * inet/getrpcbynumber.c: Likewise.
7462 * inet/getrpcbynumber_r.c: Likewise.
7463 * inet/getrpcent.c: Likewise.
7464 * inet/getrpcent_r.c: Likewise.
7465 * inet/getaliasent.c: Likewise.
7466 * inet/getaliasent_r.c: Likewise.
7467 * inet/getaliasname.c: Likewise.
7468 * inet/getaliasname_r.c: Likewise.
7469 * nscd/getgrgid_r.c: Likewise.
7470 * nscd/getgrnam_r.c: Likewise.
7471 * nscd/gethstbyad_r.c: Likewise.
7472 * nscd/gethstbynm3_r.c: Likewise.
7473 * nscd/getpwnam_r.c: Likewise.
7474 * nscd/getpwuid_r.c: Likewise.
7475 * nscd/getsrvbynm_r.c: Likewise.
7476 * nscd/getsrvbypt_r.c: Likewise.
7477 * nscd/gai.c: Likewise.
7479 * configure.in (build_nscd): New substituted variable, set
7480 by --disable-build-nscd and defaults to $use_nscd.
7481 * configure: Regenerated.
7482 * config.make.in (build-nscd): New substituted variable.
7483 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7484 Change conditional to require [$(build-nscd) = yes] as well.
7485 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7488 * configure.in (use_nscd): New substituted variable, set by
7489 --disable-nscd. If enabled, define USE_NSCD.
7490 * configure: Regenerated.
7491 * config.h.in: Add USE_NSCD.
7492 * config.make.in (use-nscd): New substituted variable.
7493 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7494 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7495 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7496 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7497 (CFLAGS-getgrnam_r.c): Likewise.
7498 (CFLAGS-initgroups.c): Likewise.
7499 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7500 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7502 * inet/getnetgrent_r.c
7503 (nscd_setnetgrent): New function, broken out of ...
7504 (setnetgrent): ... here. Call it.
7505 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7506 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7507 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7508 * nscd/Makefile (routines, aux): Move definitions after include of
7509 Makeconfig. Conditionalize on [$(use-nscd) != no].
7510 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7511 Conditionalize on [USE_NSCD].
7512 (is_nscd, nscd_init_cb): Likewise.
7513 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7514 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7515 * nss/nss_db/db-init.c: Likewise.
7516 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7518 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7519 (make_request): Use it.
7520 (cache_valid_p): New function.
7521 (__check_pf): Use it.
7522 * NEWS: Add item for --disable-nscd.
7524 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7526 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7527 to support sed >= 4.2.1-20-ga9bf076.
7528 * configure: Regenerated.
7530 2012-08-22 Roland McGrath <roland@hack.frob.com>
7532 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7533 Conditionalize whole body on [IREL].
7535 2012-08-22 Jeff Law <law@redhat.com>
7538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7539 if the family is PF_UNSPEC.
7541 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7543 * Makerules (lib-version): Rename from V.
7544 (install-lib-nosubdir): Change V to lib-version.
7546 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7549 * powerpc32/power6/wcschr.c: New file.
7550 * powerpc32/power6/wcscpy.c: New file.
7551 * powerpc32/power6/wcsrchr.c: New file.
7552 * powerpc64/power6/wcschr.c: New file.
7553 * powerpc64/power6/wcscpy.c: New file.
7554 * powerpc64/power6/wcsrchr.c: New file.
7556 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7558 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7559 (two_way_short_needle): Use it.
7560 * string/strstr.c (AVAILABLE1_USES_J): Define.
7561 * string/strcasestr.c: Likewise.
7563 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7565 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7568 * NEWS: Add an entry.
7569 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7570 define their defaults.
7571 (two_way_short_needle): Detect end-of-string on-the-fly.
7572 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7573 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7574 * string/bug-strcasestr1.c: New test.
7575 * string/Makefile: Run it.
7577 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7580 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7581 the first character.
7583 2012-08-21 Roland McGrath <roland@hack.frob.com>
7585 * csu/elf-init.c (__libc_csu_irel): Function removed.
7586 * csu/libc-start.c (apply_irel): New function.
7587 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7589 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7591 * sysdeps/unix/sysv/linux/kernel-features.h
7592 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7593 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7594 <kernel-features.h>.
7595 [__NR_fadvise64_64]: Make code unconditional.
7596 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7597 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7598 !__NR_fadvise64_64)]: Likewise.
7599 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7600 !__NR_fadvise64_64))]: Likewise.
7601 [__NR_fadvise64]: Make code unconditional.
7602 [!__NR_fadvise64]: Remove conditional code.
7603 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7604 <kernel-features.h>.
7605 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7607 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7610 not include <kernel-features.h>.
7611 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7613 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7615 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7616 include <kernel-features.h>.
7617 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7619 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7622 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7624 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7625 slight instruction rearrangements per scrollpipe analysis.
7626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7628 2012-08-20 Roland McGrath <roland@hack.frob.com>
7630 * manual/syslog.texi (syslog; vsyslog, closelog):
7631 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7632 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7634 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7635 DSOCAPS to match condition on defining it.
7637 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7639 * sysdeps/unix/sysv/linux/kernel-features.h
7640 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7642 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7643 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7645 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7646 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7648 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7649 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7651 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7652 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7654 * sysdeps/unix/sysv/linux/kernel-features.h
7655 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7656 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7658 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7659 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7660 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7661 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7662 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7663 Make code unconditional.
7664 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7665 (__mmap64) [!__NR_mmap2]: Likewise.
7666 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7667 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7668 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7669 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7670 [__NR_mmap2]: Make code unconditional.
7671 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7672 (__mmap64) [!__NR_mmap2]: Likewise.
7674 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7676 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7678 2012-08-18 Andreas Jaeger <aj@suse.de>
7680 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7682 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7684 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7685 * include/unistd.h (__have_sock_cloexec): Likewise.
7686 (__have_pipe2): Likewise.
7687 (__have_dup3): Likewise.
7689 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7692 * include/unistd.h (__have_pipe2): Change define into an extern int.
7693 (__have_dup3): Likewise.
7694 * socket/have_sock_cloexec.c: Include fcntl.h.
7695 (__have_pipe2): New variable.
7696 (__have_dup3): Likewise.
7698 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7700 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7702 2012-08-17 Marek Polacek <polacek@redhat.com>
7704 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7705 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7707 2012-08-17 Roland McGrath <roland@hack.frob.com>
7709 * configure.in: Add AC_SUBST for sysheaders.
7710 * configure: Regenerated.
7711 * config.make.in (sysheaders): New substituted variable.
7713 * sysdeps/unix/mkfifo.c: Moved ...
7714 * sysdeps/posix/mkfifo.c: ... here.
7715 * sysdeps/unix/mkfifoat.c: Moved ...
7716 * sysdeps/posix/mkfifoat.c: ... here.
7718 * sysdeps/unix/utime.c: Moved ...
7719 * sysdeps/posix/utime.c: ... here.
7721 * sysdeps/unix/time.c: Moved ...
7722 * sysdeps/posix/time.c: ... here.
7723 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7724 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7726 * sysdeps/unix/nice.c: Moved ...
7727 * sysdeps/posix/nice.c: ... here.
7729 * sysdeps/unix/alarm.c: Moved ...
7730 * sysdeps/posix/alarm.c: ... here.
7732 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7734 2012-08-17 Jeff Law <law@redhat.com>
7736 * intl/Makefile (codeset_mo): New variable.
7737 ($(codeset_mo)): New target.
7738 (tst-codeset.out): Depend on that. Remove explicit rule.
7739 (tst-gettext3.out, tst-gettext5.out): Likewise.
7740 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7741 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7742 * intl/tst-codeset.sh: Remove.
7743 * intl/tst-gettext3.sh: Likewise.
7744 * intl/tst-gettext5.sh: Likewise.
7746 2012-08-17 Roland McGrath <roland@hack.frob.com>
7748 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7749 * sysdeps/unix/syscalls.list: ... here.
7751 * sysdeps/posix/getaddrinfo.c
7752 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7753 (gaiconf_init, gaiconf_reload): Use them.
7755 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7756 Define using time_t rather than struct timespec.
7758 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7759 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7761 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7763 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7764 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7767 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7768 __libc_cleanup_push argument.
7770 * bits/param.h: New file.
7771 * misc/sys/param.h: New file.
7772 * include/sys/param.h: New file.
7773 * misc/Makefile (headers): Add bits/param.h.
7774 * sysdeps/generic/sys/param.h: File removed.
7775 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7776 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7777 * sysdeps/mach/hurd/bits/param.h: New file.
7778 * sysdeps/mach/hurd/sys/param.h: File removed.
7780 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7783 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7785 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7786 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7789 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7790 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7791 rather than -D_IO_MTSAFE_IO conditionally.
7792 * stdio-common/Makefile (CPPFLAGS): Likewise.
7793 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7794 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7795 Use $(libio-mtsafe).
7796 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7798 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7799 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7800 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7801 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7802 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7803 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7804 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7805 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7806 (CFLAGS-fread_u_chk.c): Likewise.
7807 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7808 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7809 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7810 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7811 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7812 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7813 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7814 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7815 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7817 * libio/Makefile: Test [$(libc-reentrant) = yes]
7818 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7821 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7822 * sysdeps/pthread/configure: File removed.
7823 * sysdeps/pthread/Makeconfig: New file.
7824 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7825 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7827 2012-08-16 Gary Benson <gbenson@redhat.com>
7829 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7830 unmapping the first object in a namespace.
7832 2012-08-16 Roland McGrath <roland@hack.frob.com>
7834 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7835 (__internal_setnetgrent): ... this. Add internal_function to
7836 definition. Add libc_hidden_def.
7837 (setnetgrent): Update caller.
7838 (internal_endnetgrent): Renamed to ...
7839 (__internal_endnetgrent): ... this. Add internal_function to
7840 definition. Add libc_hidden_def.
7841 (endnetgrent): Update caller.
7842 (internal_getnetgrent_r): Renamed to ...
7843 (__internal_getnetgrent_r): ... this. Add internal_function to
7844 definition. Add libc_hidden_def.
7845 (__getnetgrent_r): Update caller.
7846 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7848 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7850 * stdlib/longlong.h: Update from GCC.
7852 2012-08-16 Roland McGrath <roland@hack.frob.com>
7854 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7855 on _QL, which is set by umul_ppmm but never used.
7856 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7857 variables, which are set by GMP macros but never used.
7858 * stdio-common/_itowa.c (_itowa): Likewise.
7859 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7860 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7862 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7864 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7865 struct La_sh_regs is not constant.
7866 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7867 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7868 and struct La_sparc64_regs are not constant.
7870 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7872 * sysdeps/unix/sysv/linux/kernel-features.h
7873 (__ASSUME_POSIX_TIMERS): Remove.
7874 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7875 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7876 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7877 Make code unconditional.
7878 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7879 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7880 Make code unconditional.
7881 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7882 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7883 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7884 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7885 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7886 Make code unconditional.
7887 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7888 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7889 (__libc_missing_posix_timers): Remove.
7891 2012-08-15 Roland McGrath <roland@hack.frob.com>
7893 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7894 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7896 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7898 * elf/dl-sym.c: Include <stdlib.h>.
7900 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7901 constants, which avoids warnings in 32-bit builds.
7903 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7904 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7906 * misc/lseek.c: File moved to ...
7907 * io/lseek.c: ... here.
7909 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7911 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7912 shifting LEN more than 31 bits at once.
7914 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7917 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7918 segmentation fault for a case of two empty input strings.
7919 * string/test-strncasecmp.c (check1): Renamed to...
7921 (bz14195): Add new testcase for two empty input strings and N > 0.
7922 (test_main): Call new testcase, adapt for renamed function.
7924 2012-08-15 Andreas Jaeger <aj@suse.de>
7927 * crypt/md5test2.c: New test, based on test supplied by Serge
7928 Belyshev <belyshev@depni.sinp.msu.ru>.
7929 * crypt/Makefile (xtests): Add md5test-giant..
7930 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7932 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7935 * crypt/md5.c (md5_process_block): Don't assume the buffer
7936 length is less than 2**32.
7937 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7938 length is less than 2**64.
7940 2012-08-15 Roland McGrath <roland@hack.frob.com>
7942 * string/str-two-way.h: Include <sys/param.h>.
7943 (MAX): Macro removed.
7945 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7946 Move #define and #undef of memmove to just before and after
7947 including <string.h>.
7949 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7950 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7951 and after including <string.h>. Move declarations of
7952 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7953 to before #include "string/memmove.c".
7955 * include/dirent.h: Declare __getdirentries.
7957 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7958 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7960 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7962 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7963 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7964 * sysdeps/i386/configure: Regenerated.
7965 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7966 STABS_CURRENT_FILE, and STABS_FUN.
7967 (END): Remove call to STABS_FUN_END.
7968 (STABS_CURRENT_FILE1): Delete.
7969 (STABS_CURRENT_FILE): Likewise.
7970 (STABS_FUN): Likewise.
7971 (STABS_FUN_END): Likewise.
7972 (STABS_FUN2): Likewise.
7973 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7974 * sysdeps/x86_64/configure: Regenerated.
7976 2012-08-14 Roland McGrath <roland@hack.frob.com>
7978 * elf/dl-open.c: Include <atomic.h>.
7979 * elf/dl-lookup.c: Likewise.
7981 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7983 * sysdeps/unix/sysv/linux/kernel-features.h
7984 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7985 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7987 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7989 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7990 condition on __ASSUME_CLONE_THREAD_FLAGS.
7992 2012-08-14 Andreas Jaeger <aj@suse.de>
7994 * sysdeps/i386/fpu/libm-test-ulps: Update.
7996 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7998 * include/atomic.h (atomic_exchange_and_add): Split into ...
7999 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8002 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8006 2012-08-13 Jeff Law <law@redhat.com>
8008 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8009 null byte in the output string.
8011 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8013 * sysdeps/unix/sysv/linux/kernel-features.h
8014 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8015 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8016 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8017 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8018 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8019 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8020 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8022 2012-08-09 Jeff Law <law@redhat.com>
8025 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8026 When avoid_arena is set, don't retry in the that arena. Pick the
8027 next one, whatever it might be.
8028 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8029 (arena_lock): Pass in new parameter to arena_get2.
8030 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8032 (__libc_malloc): Unify retrying after main arena failure with
8033 __libc_memalign version.
8034 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8036 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8039 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8040 to __redirect_strstr.
8041 (__strstr_sse42): Use typeof __redirect_strstr.
8042 (__strstr_ia32): Likewise.
8043 (__libc_strstr): New prototype.
8044 (strstr): Renamed to ...
8045 (__libc_strstr): This.
8046 (strstr): New strong alias of __libc_strstr.
8047 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8048 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8051 (__libc_time): New prototype.
8052 (time_ifunc): Replace time with __libc_time.
8053 (time): New strong alias and hidden definition of __libc_time.
8054 (__GI_time): Remove strong alias.
8055 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8057 (memmove): Redefined to __redirect_memmove.
8058 (__memmove_sse2): Use typeof __redirect_memmove.
8059 (__memmove_ssse3): Likewise.
8060 (__memmove_ssse3_back): Likewise.
8061 (__libc_memmove): New prototype.
8062 (memmove): Renamed to ...
8063 (__libc_memmove): This.
8064 (memmove): New strong alias of __libc_memmove.
8066 2012-08-08 Mark Salter <msalter@redhat.com>
8069 (R_MN10300_TLS_GD): Define.
8070 (R_MN10300_TLS_LD): Likewise.
8071 (R_MN10300_TLS_LDO): Likewise.
8072 (R_MN10300_TLS_GOTIE): Likewise.
8073 (R_MN10300_TLS_IE): Likewise.
8074 (R_MN10300_TLS_LE): Likewise.
8075 (R_MN10300_TLS_DTPMOD): Likewise.
8076 (R_MN10300_TLS_DTPOFF): Likewise.
8077 (R_MN10300_TLS_TPOFF): Likewise.
8078 (R_MN10300_SYM_DIFF): Likewise.
8079 (R_MN10300_ALIGN): Likewise.
8080 (R_MN10300_NUM): Update.
8082 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8087 2012-08-08 Roland McGrath <roland@hack.frob.com>
8089 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8091 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8092 sysdeps/unix -> sysdeps/posix move.
8093 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8095 2012-08-07 Allan McRae <allan@archlinux.org>
8098 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8099 (SUNOS_CPP): Likewise.
8100 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8102 (open_input): Call CPP using execvp.
8104 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8106 * sysdeps/unix/sysv/linux/kernel-features.h
8107 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8108 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8109 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8110 (__ASSUME_WAITID_SYSCALL): Likewise.
8111 * sysdeps/unix/sysv/linux/dl-execstack.c
8112 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8114 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8116 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8117 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8118 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8120 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8122 [__ASSUME_WAITID_SYSCALL]: Likewise.
8123 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8125 2012-08-07 Roland McGrath <roland@hack.frob.com>
8127 * sysdeps/unix/closedir.c: Renamed to ...
8128 * sysdeps/posix/closedir.c: ... here.
8129 * sysdeps/unix/dirfd.c: Renamed to ...
8130 * sysdeps/posix/dirfd.c: ... here.
8131 * sysdeps/unix/dirstream.h: Renamed to ...
8132 * sysdeps/posix/dirstream.h: ... here.
8133 * sysdeps/unix/fdopendir.c: Renamed to ...
8134 * sysdeps/posix/fdopendir.c: ... here.
8135 * sysdeps/unix/opendir.c: Renamed to ...
8136 * sysdeps/posix/opendir.c: ... here.
8137 * sysdeps/unix/readdir.c: Renamed to ...
8138 * sysdeps/posix/readdir.c: ... here.
8139 * sysdeps/unix/readdir_r.c: Renamed to ...
8140 * sysdeps/posix/readdir_r.c: ... here.
8141 * sysdeps/unix/rewinddir.c: Renamed to ...
8142 * sysdeps/posix/rewinddir.c: ... here.
8143 * sysdeps/unix/seekdir.c: Renamed to ...
8144 * sysdeps/posix/seekdir.c: ... here.
8145 * sysdeps/unix/telldir.c: Renamed to ...
8146 * sysdeps/posix/telldir.c: ... here.
8147 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8148 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8149 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8150 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8152 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8153 * bits/fcntl.h: ... here.
8155 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8157 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8158 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8159 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8160 (struct flock): Move l_start, l_len to the beginning.
8161 Use __pid_t for l_pid.
8162 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8163 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8164 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8165 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8166 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8167 [__USE_LARGEFILE64] (struct flock64): New type.
8168 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8170 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8171 * bits/dirent.h: ... here.
8173 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8174 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8176 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8179 Change from 2.6.0 to 2.6.16.
8180 * sysdeps/unix/sysv/linux/configure: Regenerated.
8181 * sysdeps/unix/sysv/linux/kernel-features.h
8182 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8183 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8185 (__ASSUME_UTIMES): Likewise.
8186 (__ASSUME_CLONE_STOPPED): Remove.
8187 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8188 architectures, not kernel version.
8189 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8190 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8191 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8192 (__ASSUME_WAITID_SYSCALL): Likewise.
8193 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8194 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8195 * README: State 2.6.16 as minimum Linux kernel version. Do not
8196 refer to older versions.
8198 2012-08-06 Roland McGrath <roland@hack.frob.com>
8200 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8201 Define alphasort64 as an alias.
8202 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8203 Define versionsort64 as an alias.
8204 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8205 Define scandir64 as an alias.
8206 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8207 Define scandirat64 as an alias.
8208 * dirent/alphasort64.c (alphasort64):
8209 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8210 * dirent/versionsort64.c: Likewise.
8211 * dirent/scandir64.c: Likewise.
8212 * dirent/scandirat64.c: Likewise.
8213 * sysdeps/wordsize-64/alphasort.c: File removed.
8214 * sysdeps/wordsize-64/alphasort64.c: File removed.
8215 * sysdeps/wordsize-64/scandir.c: File removed.
8216 * sysdeps/wordsize-64/scandir64.c: File removed.
8217 * sysdeps/wordsize-64/scandirat.c: File removed.
8218 * sysdeps/wordsize-64/scandirat64.c: File removed.
8219 * sysdeps/wordsize-64/versionsort.c: File removed.
8220 * sysdeps/wordsize-64/versionsort64.c: File removed.
8221 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8223 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8224 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8225 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8226 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8230 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8232 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8234 [defined __arch64__ || defined __sparcv9]
8235 (__INO_T_MATCHES_INO64_T): New macro.
8236 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8237 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8238 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8239 * sysdeps/unix/sysv/linux/bits/dirent.h
8240 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8241 (_DIRENT_MATCHES_DIRENT64): New macro.
8243 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8244 Define lockf64 as an alias.
8245 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8246 Define fseeko64 as an alias.
8247 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8248 Define ftello64 as an alias.
8249 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8250 Define _IO_fgetpos64 and fgetpos64 as aliases.
8251 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8252 Define _IO_fsetpos64 and fsetpos64 as aliases.
8253 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8254 Conditionalize body on this.
8255 * libio/fseeko64.c: Likewise.
8256 * libio/ftello64.c: Likewise.
8257 * libio/iofgetpos64.c: Likewise.
8258 * libio/iofsetpos64.c: Likewise.
8259 * sysdeps/wordsize-64/lockf.c: File removed.
8260 * sysdeps/wordsize-64/lockf64.c: File removed.
8261 * sysdeps/wordsize-64/fseeko.c: File removed.
8262 * sysdeps/wordsize-64/fseeko64.c: File removed.
8263 * sysdeps/wordsize-64/ftello.c: File removed.
8264 * sysdeps/wordsize-64/ftello64.c: File removed.
8265 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8266 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8267 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8268 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8271 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8273 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8280 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8282 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8284 [defined __arch64__ || defined __sparcv9]
8285 (__OFF_T_MATCHES_OFF64_T): New macro.
8286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8287 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8289 (__OFF_T_MATCHES_OFF64_T): New macro.
8291 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8293 * stdlib/secure-getenv.c (__secure_getenv): Replace
8294 GLIBC_2_16 with GLIBC_2_17.
8296 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8301 2012-08-03 David S. Miller <davem@davemloft.net>
8303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8305 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8309 (__ASSUME_CORRECT_SI_PID): Likewise.
8310 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8311 (__ASSUME_TMPFS_NAME): Likewise.
8312 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8313 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8314 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8315 (HAVE_AUX_SECURE): Make definition unconditional.
8316 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8317 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8319 2012-08-03 Roland McGrath <roland@hack.frob.com>
8321 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8322 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8323 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8324 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8325 __eloop_threshold instead of SYMLOOP_MAX.
8327 * sysdeps/generic/eloop-threshold.h: New file.
8328 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8330 * elf/chroot_canon.c (chroot_canon): Likewise.
8332 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8336 Change to 2.6.0 everywhere.
8337 * sysdeps/unix/sysv/linux/configure: Regenerated.
8338 * sysdeps/unix/sysv/linux/kernel-features.h
8339 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8340 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8342 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8343 (__ASSUME_FUTEX_REQUEUE): Remove.
8344 (__ASSUME_STATFS64): Define unconditionally.
8345 (__ASSUME_AT_SECURE): Likewise.
8346 (__ASSUME_CORRECT_SI_PID): Likewise.
8347 (__ASSUME_TGKILL): Define without depending on kernel version for
8349 (__ASSUME_UTIMES): Likewise.
8350 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8352 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8353 (__ASSUME_TMPFS_NAME): Likewise.
8354 * README: Update reference to Linux kernel versions.
8356 2012-08-02 Marek Polacek <polacek@redhat.com>
8359 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8360 libc_cv_asm_type_prefix with %.
8361 * configure: Regenerated.
8362 * include/libc-symbols.h: Remove comment about
8363 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8364 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8365 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8366 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8367 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8368 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8369 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8370 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8371 * elf/tst-unique2mod1.c: Likewise.
8372 * elf/tst-unique1mod2.c: Likewise.
8373 * elf/tst-unique1mod1.c: Likewise.
8374 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8375 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8376 Replace ASM_TYPE_DIRECTIVE with .type.
8377 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8378 * sysdeps/i386/sysdep.h: Likewise.
8379 * sysdeps/x86_64/sysdep.h: Likewise.
8380 * sysdeps/sh/sysdep.h: Likewise.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8382 Do not define ASM_TYPE_DIRECTIVE.
8383 * sysdeps/powerpc/sysdep.h: Likewise.
8384 * sysdeps/powerpc/powerpc32/sysdep.h:
8385 Replace ASM_TYPE_DIRECTIVE with .type.
8386 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8387 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8388 * sysdeps/i386/fpu/e_powf.S: Likewise.
8389 * sysdeps/i386/fpu/e_expl.S: Likewise.
8390 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8391 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8392 * sysdeps/i386/fpu/e_pow.S: Likewise.
8393 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8394 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8395 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8396 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8397 * sysdeps/i386/fpu/e_log2.S: Likewise.
8398 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8399 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8400 * sysdeps/i386/fpu/e_powl.S: Likewise.
8401 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8402 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8403 * sysdeps/i386/fpu/e_logl.S: Likewise.
8404 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8405 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8406 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8407 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8408 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8409 * sysdeps/i386/fpu/e_log.S: Likewise.
8410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8411 * sysdeps/i386/fpu/e_logf.S: Likewise.
8412 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8413 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8414 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8415 * sysdeps/i386/fpu/e_log10.S: Likewise.
8416 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8417 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8418 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8419 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8420 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8421 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8422 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8423 * sysdeps/i386/i686/strtok.S: Likewise.
8424 * sysdeps/i386/i386-mcount.S: Likewise.
8425 * sysdeps/i386/strtok.S: Likewise.
8426 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8427 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8428 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8429 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8430 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8432 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8433 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8434 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8435 * sysdeps/x86_64/_mcount.S: Likewise.
8436 * sysdeps/x86_64/strtok.S: Likewise.
8437 * sysdeps/sh/_mcount.S: Likewise.
8439 2012-08-01 Roland McGrath <roland@hack.frob.com>
8441 * libio/iofopen.c: Include <fcntl.h>.
8442 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8443 (_IO_fopen64, fopen64): Define as aliases.
8444 * libio/iofopen64.c: Include <fcntl.h>.
8445 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8446 Conditionalize body on this.
8447 * sysdeps/wordsize-64/iofopen.c: File removed.
8448 * sysdeps/wordsize-64/iofopen64.c: File removed.
8450 2012-08-01 Marek Polacek <polacek@redhat.com>
8452 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8453 Use dlfcn directly instead of a variable.
8454 (binfmt-subdir): Do not define.
8457 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8459 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8460 Remove all definitions.
8461 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8462 <kernel-features.h>.
8463 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8464 (miss_F_GETOWN_EX): Remove all definitions.
8465 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8467 [!__ASSUME_FCNTL64]: Remove conditional code.
8468 [__ASSUME_FCNTL64]: Make code unconditional.
8469 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8470 <kernel-features.h>.
8471 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8472 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8473 (lockf64) [__NR_fcntl64]: Make code unconditional.
8474 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8476 * sysdeps/unix/sysv/linux/kernel-features.h
8477 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8478 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8479 Make code unconditional.
8480 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8481 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8483 [__NR_vfork]: Make code unconditional.
8484 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8485 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8487 [__NR_vfork]: Make code unconditional.
8488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8491 2012-08-01 Roland McGrath <roland@hack.frob.com>
8493 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8494 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8496 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8497 Define mkstemp64 as an alias.
8498 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8499 Define mkstemps64 as an alias.
8500 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8501 Define mkostemp64 as an alias.
8502 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8503 Define mkostemps64 as an alias.
8504 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8505 Conditionalize body on this.
8506 * misc/mkostemp64.c: Likewise.
8507 * misc/mkostemps64.c: Likewise.
8508 * misc/mkstemps64.c: Likewise.
8509 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8510 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8511 * sysdeps/wordsize-64/mkostemp.c: File removed.
8512 * sysdeps/wordsize-64/mkstemp.c: File removed.
8513 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8519 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8520 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8521 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8522 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8524 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8525 compat_symbol macros from <shlib-compat.h> rather than the underlying
8526 default_symbol_version and symbol_version macros, so that DEFAULT
8527 lines in shlib-versions are respected.
8528 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8530 2012-08-01 Florian Weimer <fweimer@redhat.com>
8532 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8533 Declare with warn_unused_result.
8534 (setgid, setregid, setegid, setresgid): Likewise.
8535 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8537 * WUR-REPORT: Remove set*id functions.
8539 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8541 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8543 2012-07-31 Roland McGrath <roland@hack.frob.com>
8545 * include/sys/socket.h (__libc_accept, __libc_accept4):
8546 Add attribute_hidden.
8547 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8549 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8551 * inet/getnetgrent_r.c (setup): Likewise.
8553 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8555 2012-07-31 David S. Miller <davem@davemloft.net>
8557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8559 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8562 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8563 value between 1.0 and 2.0 and smaller part has absolute value less
8565 * math/s_clog10.c (__clog10): Likewise.
8566 * math/s_clog10f.c (__clog10f): Likewise.
8567 * math/s_clog10l.c (__clog10l): Likewise.
8568 * math/s_clogf.c (__clogf): Likewise.
8569 * math/s_clogl.c (__clogl): Likewise.
8570 * math/libm-test.inc (clog_test): Add more tests.
8571 (clog10_test): Likewise.
8572 * sysdeps/i386/fpu/libm-test-ulps: Update.
8573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8575 2012-07-31 Florian Weimer <fweimer@redhat.com>
8577 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8578 Exit with zero in case no suitable GID is found, and write a
8579 message to standard error.
8581 2012-07-30 Roland McGrath <roland@hack.frob.com>
8583 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8585 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8586 (MAXPATHLEN): Removed.
8587 (NOGROUP, NODEV): New macros.
8588 (setbit, clrbit, isset, isclr): New macros.
8589 (howmany, roundup, powerof2): New macros.
8590 (DEV_BSIZE): New macro.
8592 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8593 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8595 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8596 definition on [!__NO_LONG_DOUBLE_MATH].
8598 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8599 PTR_MANGLE and PTR_DEMANGLE.
8601 * socket/accept4.c (accept4): Rename to __libc_accept4.
8602 Define accept4 as a weak alias.
8604 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8605 on [_DIRENT_HAVE_D_TYPE].
8606 * io/ftw.c (ftw_dir): Likewise.
8608 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8610 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8612 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8613 Use the BSD numbers rather than the arbitrary ones we had.
8614 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8615 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8616 (SIGXCPU, SIGXFSZ): New macros.
8619 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8620 initializer on [_LIBC_REENTRANT].
8622 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8623 definitions inside [_POSIX_MAPPED_FILES].
8625 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8627 * dirent/opendir.c: Include <fcntl.h>.
8629 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8630 (__libc_getspecific): Likewise.
8631 (__libc_key_create): Likewise.
8633 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8634 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8635 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8636 (tmpfile64): Define as alias.
8637 * sysdeps/wordsize-64/tmpfile.c: File removed.
8638 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8639 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8642 * stdio-common/vfscanf.c: Include <stdbool.h>.
8643 * nss/makedb.c: Likewise.
8644 * stdio-common/_i18n_number.h: Likewise.
8645 * argp/argp-help.c: Likewise.
8646 * posix/wordexp.c: Likewise.
8647 * sysdeps/posix/spawni.c: Likewise.
8648 * nss/nss_files/files-initgroups.c: Likewise.
8649 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8650 * nss/nss_files/files-initgroups.c: Likewise.
8651 * nss/nss_db/db-netgrp.c: Likewise.
8652 * nss/nss_db/db-initgroups.c: Likewise.
8653 * io/fchmodat.c: Include <sys/stat.h>.
8655 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8656 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8658 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8661 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8662 Add multiple inclusion protection.
8664 2012-07-27 David S. Miller <davem@davemloft.net>
8666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8668 2012-07-27 Gary Benson <gbenson@redhat.com>
8671 * elf/rtld.c: Include <stap-probe.h>.
8672 (dl_main): Added static probes "init_start" and "init_complete".
8673 * elf/dl-load.c: Include <stap-probe.h>.
8674 (lose): Take new parameter "nsid".
8675 Added static probe "map_failed".
8676 (_dl_map_object_from_fd): Pass namespace id to lose.
8677 Added static probe "map_start".
8678 (open_verify): Pass namespace id to lose.
8679 * elf/dl-open.c: Include <stap-probe.h>.
8680 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8681 and "reloc_complete".
8682 * elf/dl-close.c: Include <stap-probe.h>.
8683 (_dl_close_worker): Added static probes "unmap_start" and
8685 * elf/rtld-debugger-interface.txt: New file documenting the above.
8687 2012-07-26 Roland McGrath <roland@hack.frob.com>
8689 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8690 rather than a string variable.
8691 * sunrpc/rpc_main.c (h_output): Likewise.
8692 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8694 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8696 * inet/check_native.c: New file.
8698 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8701 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8702 if larger part has absolute value 1.0.
8703 * math/s_clog10.c (__clog10): Likewise.
8704 * math/s_clog10f.c (__clog10f): Likewise.
8705 * math/s_clog10l.c (__clog10l): Likewise.
8706 * math/s_clogf.c (__clogf): Likewise.
8707 * math/s_clogl.c (__clogl): Likewise.
8708 * math/libm-test.inc (clog_test): Add more tests.
8709 (clog10_test): Likewise.
8710 * sysdeps/i386/fpu/libm-test-ulps: Update.
8711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8713 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8714 (pltexit): Likewise.
8715 (La_regs): Likewise.
8716 (La_retval): Likewise.
8717 (int_retval): Likewise.
8718 Update #error for removed macros to refer only to definitions in
8720 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8722 (pltexit): Likewise.
8723 (La_regs): Likewise.
8724 (La_retval): Likewise.
8725 (int_retval): Likewise.
8726 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8728 (pltexit): Likewise.
8729 (La_regs): Likewise.
8730 (La_retval): Likewise.
8731 (int_retval): Likewise.
8732 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8734 (pltexit): Likewise.
8735 (La_regs): Likewise.
8736 (La_retval): Likewise.
8737 (int_retval): Likewise.
8738 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8740 (pltexit): Likewise.
8741 (La_regs): Likewise.
8742 (La_retval): Likewise.
8743 (int_retval): Likewise.
8744 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8746 (pltexit): Likewise.
8747 (La_regs): Likewise.
8748 (La_retval): Likewise.
8749 (int_retval): Likewise.
8750 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8752 (pltexit): Likewise.
8753 (La_regs): Likewise.
8754 (La_retval): Likewise.
8755 (int_retval): Likewise.
8756 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8757 macro definitions in tst-audit.h.
8758 * sysdeps/i386/tst-audit.h: New file.
8759 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8760 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8761 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8762 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8763 * sysdeps/sh/tst-audit.h: Likewise.
8764 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8765 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8766 * sysdeps/x86_64/tst-audit.h: Likewise.
8768 2012-07-26 Andreas Jaeger <aj@suse.de>
8770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8773 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8774 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8775 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8777 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8778 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8779 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8781 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8784 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8786 (si_call_addr, si_syscall, si_arch): Define new macro.
8787 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8789 (si_call_addr, si_syscall, si_arch): Define new marcro.
8790 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8792 (si_call_addr, si_syscall, si_arch): Define new macro.
8793 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8795 (si_call_addr, si_syscall, si_arch): Define new macro.
8797 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8801 Change to 2.4.21 where previously 2.4.1.
8802 * sysdeps/unix/sysv/linux/configure: Regenerated.
8803 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8804 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8805 Linux kernel version.
8806 (__ASSUME_STD_AUXV): Remove.
8807 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8809 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8810 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8811 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8812 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8813 (__ASSUME_NETLINK_SUPPORT): Likewise.
8814 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8815 (__no_netlink_support): Remove conditional definition.
8816 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8818 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8819 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8820 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8821 (if_nameindex_ioctl): Remove.
8822 (if_nameindex_netlink): Do not handle __no_netlink_support.
8823 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8825 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8826 Remove conditional code.
8827 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8829 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8831 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8832 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8833 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8835 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8836 [!__ASSUME_STD_AUXV]: Remove conditional code.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8838 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8839 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8841 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8842 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8844 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8846 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8847 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8849 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8851 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8854 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8857 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8859 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8861 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8863 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8866 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8868 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8871 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8873 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8875 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8877 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8880 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8882 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8884 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8886 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8889 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8891 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8892 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8893 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8894 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8895 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8896 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8897 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8898 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8899 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8900 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8901 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8902 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8903 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8904 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8905 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8906 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8907 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8908 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8909 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8911 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8912 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8913 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8915 2012-07-25 Florian Weimer <fweimer@redhat.com>
8917 * Versions.def: Add GLIBC_2.17.
8918 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8919 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8920 Introduce __libc_secure_getenv.
8921 * stdlib/Versions (2.17): Add secure_getenv
8922 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8923 * stdlib/secure-getenv.c: Rename __secure_getenv to
8924 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8925 symbol __secure_getenv for GLIBC_2.0.
8926 * stdlib/tst-secure-getenv.c: New.
8927 * stdlib/Makefile (tests): Add testcase.
8928 * manual/startup.texi (Environment Access): Document
8930 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8931 __libc_secure_getenv.
8932 * inet/ruserpass.c (ruserpass): Likewise.
8933 * malloc/mtrace.c (mtrace): Likewise.
8934 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8935 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8936 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8937 * sysdeps/posix/tempname.c: Likewise. Evaluate
8939 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8940 __secure_getenv to __libc_secure_getenv.
8941 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8954 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8956 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8957 (struct La_i86_retval): Likewise.
8958 (struct La_x86_64_regs): Likewise.
8959 (struct La_x86_64_retval): Likewise.
8960 (struct La_x32_regs): Likewise.
8961 (struct La_x32_retval): Likewise.
8962 (struct La_ppc32_regs): Likewise.
8963 (struct La_ppc32_retval): Likewise.
8964 (struct La_ppc64_regs): Likewise.
8965 (struct La_ppc64_retval): Likewise.
8966 (struct La_sh_regs): Likewise.
8967 (struct La_sh_retval): Likewise.
8968 (struct La_s390_32_regs): Likewise.
8969 (struct La_s390_32_retval): Likewise.
8970 (struct La_s390_64_regs): Likewise.
8971 (struct La_s390_64_retval): Likewise.
8972 (struct La_sparc32_regs): Likewise.
8973 (struct La_sparc32_retval): Likewise.
8974 (struct La_sparc64_regs): Likewise.
8975 (struct La_sparc64_retval): Likewise.
8976 (struct audit_ifaces): Remove architecture-specific pltenter and
8978 * sysdeps/i386/ldsodefs.h: New file.
8979 * sysdeps/powerpc/ldsodefs.h: Likewise.
8980 * sysdeps/s390/ldsodefs.h: Likewise.
8981 * sysdeps/sh/ldsodefs.h: Likewise.
8982 * sysdeps/sparc/ldsodefs.h: Likewise.
8983 * sysdeps/x86_64/ldsodefs.h: Likewise.
8985 2012-07-25 Marek Polacek <polacek@redhat.com>
8988 * math/libm-test.inc (yn_test): Add another test.
8989 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8990 to ERANGE when the result is +-Inf.
8991 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8992 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8993 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8994 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8996 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8998 * conform/data/time.h-data (NULL): Use macro-constant. Require
9000 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9002 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9004 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9006 * configure.in <sysdeps resolving>: Correct printing
9008 * configure: Regenerate.
9010 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9012 * math/w_ilogb.c: Include <limits.h>.
9013 * math/w_ilogbl.c: Likewise.
9015 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9017 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9018 va_copy. Document allowing for unavailable va_copy only as
9019 pre-C99 compatibility.
9020 * manual/string.texi (Copying and Concatenation): Use va_copy
9021 instead of __va_copy in concat example.
9023 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9025 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9026 (__sendto): Use create_address_port. Initialize APORT and deallocate
9029 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9030 with O_NOLINK passed to __file_name_lookup.
9032 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9033 with O_NOLINK passed to __file_name_lookup.
9035 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9036 negative N or less than NGIDS.
9038 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9039 type to string_t. Set ERANGE as errno and return it if NAME is not big
9040 enough. Use memcpy instead of strncpy.
9042 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9044 * elf/Makefile (check-data): Remove.
9045 (localplt.data): New vpath directive.
9046 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9047 instead of $(check-data).
9048 * scripts/data/localplt-generic.data: Move to ...
9049 * sysdeps/generic/localplt.data: ... here.
9050 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9051 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9052 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9055 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9058 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9061 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9064 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9067 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9071 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9073 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9074 PPC32 and PPC64 files.
9075 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9076 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9078 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9080 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9081 __makecontext_ret to ...
9082 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9083 ... here and call exit if uc_link is NULL. New file.
9084 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9085 __makecontext_ret.S.
9086 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9087 __makecontext_ret to ...
9088 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9089 ... here and call exit if uc_link is NULL. New file.
9090 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9091 __makecontext_ret.S.
9093 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9095 * elf/elf.h (R_390_IRELATIVE): New definition.
9096 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9097 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9098 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9100 (elf_machine_lazy_rel): Likewise.
9101 * sysdeps/s390/dl-irel.h: New file.
9102 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9103 * sysdeps/s390/s390-64/memset.S: New asm code.
9104 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9105 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9106 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9107 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9108 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9109 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9110 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9111 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9112 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9113 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9114 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9115 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9116 * sysdeps/s390/s390-32/memset.S: New asm code.
9117 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9119 2012-07-17 Marek Polacek <polacek@redhat.com>
9122 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9123 * sysdeps/s390/s390-64/configure.in: Likewise.
9124 * sysdeps/sparc/configure.in: Likewise.
9125 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9126 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9127 * sysdeps/i386/configure.in: Likewise.
9128 * sysdeps/x86_64/configure.in: Likewise.
9129 * sysdeps/sh/configure.in: Likewise.
9130 * sysdeps/s390/s390-32/configure: Regenerated.
9131 * sysdeps/s390/s390-64/configure: Likewise.
9132 * sysdeps/x86_64/configure: Likewise.
9133 * sysdeps/sh/configure: Likewise.
9134 * sysdeps/powerpc/powerpc64/configure: Likewise.
9135 * sysdeps/powerpc/powerpc32/configure: Likewise.
9136 * sysdeps/sparc/configure: Likwise.
9137 * sysdeps/i386/configure: Likewise.
9139 * elf/dl-open.c: Comment fixes.
9141 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9143 * Makefile [CXX] (check-data): Remove.
9144 [CXX] (c++-types.data): New vpath directive.
9145 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9146 vpath. Do not allow for C++ type data being missing.
9147 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9148 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9149 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9150 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9151 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9152 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9153 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9156 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9159 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9162 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9165 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9168 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9171 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9174 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9177 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9178 definitions to architecture-specific files.
9182 * sysdeps/i386/tls-macros.h: New file.
9183 * sysdeps/powerpc/tls-macros.h: Likewise.
9184 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9185 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9186 * sysdeps/sh/tls-macros.h: Likewise.
9187 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9188 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9189 * sysdeps/x86_64/tls-macros.h: Likewise.
9191 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9193 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9194 zero value for regular exit case.
9196 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9197 (__start_context): Preserve zero value for regular exit case.
9199 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9200 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9202 * manual/setjmp.texi (setcontext): Clarify normal process
9203 termination when uc_link is the null pointer.
9204 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9207 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9209 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9210 preprocessor. Test for each exception mask separately.
9212 2012-07-16 Andreas Jaeger <aj@suse.de>
9214 * po/ru.po: Update from translation team.
9216 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9218 * conform/data/string.h-data (NULL): Use macro-constant. Require
9220 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9221 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9222 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9223 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9226 2012-07-13 Andreas Jaeger <aj@suse.de>
9228 * po/fr.po: Update from translation team.
9230 2012-07-12 Marek Polacek <polacek@redhat.com>
9233 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9234 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9237 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9240 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9241 Change to 2.4.1 where previously 2.4.0.
9242 * sysdeps/unix/sysv/linux/configure: Regenerated.
9243 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9244 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9246 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9247 (__ASSUME_AT_CLKTCK): Remove.
9248 (__ASSUME_AT_PAGESIZE): Likewise.
9249 (__ASSUME_AT_XID): Likewise.
9250 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9251 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9252 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9254 (HAVE_AUX_PAGESIZE): Likewise.
9255 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9256 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9257 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9259 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9263 the temporary buffer used to invoke __gethostbyname2_r,
9264 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9265 host_data / struct gaih_addrtuple.
9266 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9267 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9268 header file nss/nsswitch.h.
9269 * nss/nsswitch.h (global scope): Add definition of implementation
9270 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9271 resolv/nss_dns/dns-host.c).
9273 2012-07-11 Andreas Jaeger <aj@suse.de>
9275 * po/fr.po: Update from translation team.
9277 * po/sv.po: Update from translation team
9278 * po/fr.po: Another update from translation team.
9280 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9282 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9283 for subnormals or multiply small sinh result by itself.
9284 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9287 2012-07-11 David S. Miller <davem@davemloft.net>
9289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9291 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9294 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9295 (INTERNAL_MARK): Shift it here.
9297 2012-07-10 Marek Polacek <polacek@redhat.com>
9300 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9301 libc_cv_asm_global_directive with .globl.
9302 * configure: Regenerated.
9303 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9305 * sysdeps/i386/configure: Regenerated.
9306 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9308 * sysdeps/x86_64/configure: Regenerated.
9309 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9310 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9311 * elf/tst-unique2mod2.c: Likewise.
9312 * elf/tst-unique2mod1.c: Likewise.
9313 * elf/tst-unique1mod2.c: Likewise.
9314 * elf/tst-unique1mod1.c: Likewise.
9315 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9316 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9317 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9318 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9319 * sysdeps/mach/sysdep.h: Likewise.
9320 * sysdeps/i386/sysdep.h: Likewise.
9321 * sysdeps/i386/i386-mcount.S: Likewise.
9322 * sysdeps/x86_64/_mcount.S: Likewise.
9323 * sysdeps/x86_64/sysdep.h: Likewise.
9324 * sysdeps/sh/_mcount.S: Likewise.
9325 * sysdeps/sh/sysdep.h: Likewise.
9326 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9327 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9328 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9329 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9330 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9331 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9332 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9333 * locale/localeinfo.h: Likewise.
9334 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9335 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9337 2012-07-09 Roland McGrath <roland@hack.frob.com>
9340 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9342 * manual/message.texi (The Uniforum approach): Likewise.
9343 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9344 (glibc iconv Implementation): Likewise.
9346 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9349 * math/s_clog.c (__clog): Avoid scaling a value down where that
9350 could result in underflow.
9351 * math/s_clog10.c (__clog10): Likewise.
9352 * math/s_clog10f.c (__clog10f): Likewise.
9353 * math/s_clog10l.c (__clog10l): Likewise.
9354 * math/s_clogf.c (__clogf): Likewise.
9355 * math/s_clogl.c (__clogl): Likewise.
9356 * math/libm-test.inc (clog_test): Add more tests.
9357 (clog10_test): Likewise.
9358 * sysdeps/i386/fpu/libm-test-ulps: Update.
9359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9361 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9364 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9365 by 7 not 8 to examine high bit of fractional part.
9368 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9369 for call to __mcount_internal.
9370 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9371 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9372 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9374 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9377 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9378 approximation for values within 0x1p-13f of an odd multiple of
9380 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9381 exception. Add more tests.
9382 * sysdeps/i386/fpu/libm-test-ulps: Update.
9385 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9386 inputs and return -1 for them. Do not check for +Inf in case not
9388 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9389 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9390 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9391 and return -1 for them. Do not check for +Inf in case not
9393 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9396 and return -1 for them. Do not check for +Inf in case not
9398 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9400 * sysdeps/i386/fpu/libm-test-ulps: Update.
9401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9403 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9405 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9407 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9411 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9412 could result in spurious underflow. Scale down values above
9413 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9414 * math/s_csqrtf.c (__csqrtf): Likewise.
9415 * math/s_csqrtl.c (__csqrtl): Likewise.
9416 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9418 * sysdeps/i386/fpu/libm-test-ulps: Update.
9419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9421 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9423 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9425 * catgets/xopen-msg.awk: New file.
9426 * catgets/xopen-msg.sed: Removed.
9428 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9430 * intl/po2test.awk: New file.
9431 * intl/po2test.sed: Removed.
9433 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9436 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9437 or multiply small sinh result by itself.
9438 * math/s_ctanf.c (__ctanf): Likewise.
9439 * math/s_ctanh.c (__ctanh): Likewise.
9440 * math/s_ctanhf.c (__ctanhf): Likewise.
9441 * math/s_ctanhl.c (__ctanhl): Likewise.
9442 * math/s_ctanl.c (__ctanl): Likewise.
9443 * math/libm-test.inc (ctan_test_tonearest): New function.
9444 (ctan_test_towardzero): Likewise.
9445 (ctan_test_downward): Likewise.
9446 (ctan_test_upward): Likewise.
9447 (ctanh_test_tonearest): Likewise.
9448 (ctanh_test_towardzero): Likewise.
9449 (ctanh_test_downward): Likewise.
9450 (ctanh_test_upward): Likewise.
9451 (main): Call these new functions.
9452 * sysdeps/i386/fpu/libm-test-ulps: Update.
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9455 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9457 * .gitignore: Delete /ports entry.
9459 2012-07-03 Andreas Jaeger <aj@suse.de>
9461 * po/bg.po: Update from translation team.
9462 * po/cs.po: Likewise.
9463 * po/de.po: Likewise.
9464 * po/hr.po: Likewise.
9465 * po/nl.pl: Likewise.
9466 * po/pl.po: Likewise.
9467 * po/vi.po: Likewise.
9469 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9471 * Makeconfig [!+link] (+link-before-libc): New variable.
9472 [!+link] (+link-after-libc): Likewise.
9473 [!+link] (+link-tests): Likewise.
9474 [!+link] (+link): Define in terms of $(+link-before-libc) and
9475 $(+link-after-libc).
9476 [!+link-static] (+link-static-before-libc): New variable.
9477 [!+link-static] (+link-static-after-libc): Likewise.
9478 [!+link-static] (+link-static-tests): Likewise.
9479 [!+link-static] (+link-static): Define in terms of
9480 $(+link-static-before-libc) and $(+link-static-after-libc).
9481 [build-shared] (link-libc-before-gnulib): New variable.
9482 [build-shared] (link-libc-tests): Likewise.
9483 [build-shared] (link-libc): Define in terms of
9484 $(link-libc-before-gnulib).
9485 [!build-shared] (link-libc-tests): New variable.
9486 (link-libc-static-tests): New variable.
9487 [!gnulib] (gnulib-arch): New variable.
9488 [!gnulib] (gnulib-tests): Likewise.
9489 [!gnulib] (static-gnulib-arch): Likewise.
9490 [!gnulib] (static-gnulib-tests): Likewise.
9491 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9492 Define with "=" instead of ":=".
9493 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9494 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9495 * Rules (binaries-all-notests): New variable.
9496 (binaries-all-tests): Likewise.
9497 (binaries-static-notests): Likewise.
9498 (binaries-static-tests): Likewise.
9499 (binaries-all): Define using $(binaries-all-notests) and
9500 $(binaries-all-tests).
9501 (binaries-static): Define using $(binaries-static-notests) and
9502 $(binaries-static-tests).
9503 (binaries-shared-tests): New variable.
9504 (binaries-shared-notests): Likewise.
9505 (binaries-shared): Remove variable.
9506 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9507 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9508 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9509 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9510 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9511 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9512 * elf/Makefile (sln-modules): New variable.
9513 (extra-objs): Add $(sln-modules:=.o).
9514 (ldconfig-modules): Add static-stubs.
9515 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9516 * elf/static-stubs.c: New file.
9519 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9520 by 7 not 8 to examine high bit of fractional part. Use volatile
9521 variables when splitting into final array of floats if
9522 __FLT_EVAL_METHOD__ != 0.
9523 * math/libm-test.inc (cos_test): Add another test.
9524 (sin_test): Likewise.
9525 * sysdeps/i386/fpu/libm-test-ulps: Update.
9528 * math/libm-test.inc (cosh_test): Add more tests.
9530 * version.h (RELEASE): Set to "development".
9531 (VERSION): Set to "2.16.90".
9533 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9535 * NEWS: Update copyright. Remove last-updated date.
9536 Mention math library bug fixes and timezone data changes.
9537 * README: Mention GNU/Hurd, x32, and HPPA support status.
9539 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9541 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9543 2012-06-27 Andreas Jaeger <aj@suse.de>
9545 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9547 2012-06-25 Andreas Jaeger <aj@suse.de>
9549 * sysdeps/s390/fpu/libm-test-ulps: Update.
9551 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9552 Thomas Schwinge <thomas@codesourcery.com>
9554 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9555 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9556 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9559 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9561 * sysdeps/mach/start.c: Remove file.
9562 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9563 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9564 * sysdeps/sh/init-first.c: Likewise.
9566 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9567 registers for frame unwinding purposes, add CFI directives.
9568 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9569 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9570 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9573 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9574 __fortify_fail returning.
9575 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9577 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9578 sysdeps/sh/____longjmp_chk.S.
9579 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9580 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9581 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9582 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9584 * sysdeps/sh/abort-instr.h: New file.
9585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9586 process in case exit returns.
9588 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9589 initialize the GOT register before use.
9591 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9592 calculation of ARGC > 4.
9594 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9595 meaningful names to some local labels.
9597 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9598 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9600 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9601 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9602 (__arch_compare_and_exchange_val_16_acq): Likewise.
9603 (__arch_compare_and_exchange_val_32_acq): Likewise.
9604 (atomic_exchange_and_add): Fix gUSA sequence.
9605 (atomic_add): Likewise.
9606 (atomic_add_negative): Likewise.
9607 (atomic_add_zero): Likewise.
9608 (atomic_bit_test_set): Likewise.
9610 2012-06-22 Andreas Schwab <schwab@redhat.com>
9613 * include/link.h (struct link_map): Add l_free_initfini.
9614 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9616 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9617 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9618 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9621 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9623 * configure.in: Use AC_LANG_SOURCE.
9624 * configure: Regenerate.
9626 2012-06-22 Roland McGrath <roland@hack.frob.com>
9628 * configure.in (libc_cv_localstatedir): New substituted variable.
9629 * configure: Regenerated.
9630 * config.make.in (localstatedir): New variable, substituted from
9631 libc_cv_localstatedir.
9632 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9633 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9634 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9635 * sysdeps/gnu/configure: Regenerated.
9637 2012-06-21 Jeff Law <law@redhat.com>
9640 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9641 free. Simplify list management for _LIBC case.
9643 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9646 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9647 Clear sign bit of 64-bit integer value before comparing against
9650 * sysdeps/mach/configure: Regenerated.
9652 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9655 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9657 2012-06-21 Jeff Law <law@redhat.com>
9660 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9661 uint16_t for elements in the "seen" array to avoid char overflows.
9662 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9663 * elf/dl-open.c (dl_open_worker): Likewise.
9665 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9667 * scripts/list-sources.sh: Scan PORTS for translations.
9668 * po/libc.pot: Regenerated.
9670 2012-06-21 Andreas Jaeger <aj@suse.de>
9673 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9675 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9676 * bits/byteswap-16.h (__bswap_16): Likewise.
9677 * bits/byteswap.h (__bswap_constant_16): Likewise.
9679 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9682 * sysdeps/i386/fpu_control.h: Removed.
9683 * sysdeps/x86_64/fpu_control.h: Moved to ...
9684 * sysdeps/x86/fpu_control.h: Here.
9686 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9687 (_FPU_SETCW): Likewise.
9689 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9692 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9693 * sysdeps/x86/fpu/bits/mathinline.h: This.
9694 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9698 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9699 functions if __x86_64__ is defined.
9701 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9703 * string/endian.h: Add !__ASSEMBLER__ condition for including
9704 conversion interfaces.
9706 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9710 of ABS(x) in calculating zero to negative powers other than odd
9712 * math/libm-test.inc (pow_test): Add more tests.
9714 2012-06-15 Andreas Jaeger <aj@suse.de>
9716 * manual/contrib.texi (Contributors): Update entry of Liubov
9717 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9720 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9722 * string/string.h: Add __wur to GNU version of strerror_r.
9724 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9727 * string/Makefile (tests): Add tst-strtok_r.
9728 * string/tst-strtok_r.c: New file.
9729 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9730 RAX_LP/RDX_LP on SAVE_PTR.
9732 2012-06-14 Roland McGrath <roland@hack.frob.com>
9734 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9736 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9738 * libm_test.inc (csqrt_test): Allow more spurious underflow
9740 (j0_test): Likewise.
9741 (j1_test): Likewise.
9742 (y0_test): Likewise.
9743 (y1_test): Likewise.
9745 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9747 * po/Makefile (libc.pot): Use UTF-8 charset.
9749 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9752 Suppress sign-conversion warning from FD_SET.
9753 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9754 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9755 not unsigned long int.
9756 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9758 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9762 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9763 __extern_always_inline instead of __extern_inline.
9764 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9765 (__signbit): Likewise.
9766 (__signbitl): Support C++ namespace.
9767 (lrintf): New inline function.
9769 (llrintf): Likewise.
9781 (nearbyint): Likewise.
9782 (nearbyintf): Likewise.
9784 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9786 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9787 non-default versions.
9789 2012-06-11 Roland McGrath <roland@hack.frob.com>
9792 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9794 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9796 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9797 (FE_UPWARD, FE_DOWNWARD): Don't define.
9798 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9799 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9801 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9803 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9804 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9806 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9808 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9810 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9811 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9813 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9816 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9817 * sysdeps/i386/fpu/Implies: New file.
9818 * sysdeps/x86_64/fpu/Implies: Likewise.
9819 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9820 * sysdeps/x86/fpu/bits/fenv.h: This.
9822 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9825 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9828 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9829 character 0xffff that matches the last element of the
9832 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9837 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9839 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9840 values higher than 25.6283.
9842 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9844 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9845 subnormal exponent extraction and add some __builtin_expect.
9846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9847 Fix for subnormal mantissa calculation.
9849 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9851 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9852 cpu2 is -1 and errno is not ENOSYS.
9854 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9857 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9858 * sysdeps/x86/bits/string.h: This.
9859 * sysdeps/x86_64/bits/string.h: Removed.
9861 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9862 if not compiling for x86-64, but compiling for >= i486.
9864 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9865 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9867 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9868 New macro from Linux kernel 3.4.0.
9869 (FP_XSTATE_MAGIC2): Likewise.
9870 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9871 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9872 (struct _fpx_sw_bytes): New struct.
9873 (struct _xsave_hdr): Likewise.
9874 (struct _ymmh_state): Likewise.
9875 (struct _xstate): Likewise.
9877 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9878 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9879 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9880 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9881 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9882 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9884 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9885 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9886 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9887 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9888 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9889 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9891 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9894 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9895 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9896 (sysdep_headers): Include sys/platform/ppc.h.
9897 * sysdeps/powerpc/test-gettimebase.c: Test for
9898 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9899 * manual/Makefile (appendices): Include platform.texi.
9900 * manual/contrib.texi (Contributors): Update @node pointers.
9901 * manual/maint.texi (Maintenance): Likewise.
9902 (Platform): New node.
9903 * manual/platform.texi: New file. Document the new features.
9905 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9906 Jakub Jelinek <jakub@redhat.com>
9909 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9910 where __builtin_expect is unavailable.
9912 2012-06-03 David S. Miller <davem@davemloft.net>
9914 * stdlib/longlong.h: Updated from GCC.
9916 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9919 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9920 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9923 (GLIBC_2.16): Likewise.
9925 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9927 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9929 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9932 (default-abi): New variable.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9934 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9936 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9938 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9940 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9943 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9944 definition. Document in comment.
9946 2012-06-01 David S. Miller <davem@davemloft.net>
9948 * stdlib/longlong.h: Updated from GCC.
9950 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9953 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9954 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9955 sys/debugreg.h sys/io.h here.
9956 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9957 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9959 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9960 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9961 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9962 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9963 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9964 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9966 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9967 Define only if __x86_64__ is defined.
9969 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9972 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9973 Use int64_t for variable i.
9974 * math/libm-test.inc (fmod_test): Add more tests.
9976 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9977 z computation is not scheduled after fetestexcept.
9978 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9979 Use math_force_eval instead of asm to ensure calculation scheduled
9980 before exception test.
9981 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9982 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9984 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9987 computation is not scheduled after fetestexcept.
9989 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9992 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9993 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9995 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9997 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9998 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10000 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10003 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10005 (__WCHAR_MIN): Support __WORDSIZE == 64.
10006 (__WCHAR_MAX): Likewise.
10008 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10009 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10013 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10016 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10017 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10019 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10020 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10022 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10023 Defined to 1 if __x86_64__ isn't defined.
10024 (_STAT_VER_LINUX_OLD): New.
10025 (st_atime): Remove duplicate.
10026 (st_mtime): Likewise.
10027 (st_ctime): Likewise.
10029 2012-05-31 David S. Miller <davem@davemloft.net>
10031 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10034 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10036 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10040 * elf/dl-reloc.c: Include <_itoa.h>.
10041 (_dl_reloc_bad_type): Remove use of INTUSE.
10042 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10043 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10044 * stdio-common/psiginfo.c (psiginfo): Likewise.
10045 * stdio-common/psignal.c (psignal): Likewise.
10046 * string/strsignal.c (strsignal): Likewise.
10047 * include/signal.h (_sys_siglist): Declare hidden proto.
10048 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10049 INTVARDEF with libc_hidden_data_def.
10050 * stdio-common/itoa-udigits.c: Likewise.
10051 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10052 (_itoa_lower_digits_internal): Remove declaration.
10053 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10054 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10055 (_sys_sigabbrev_internal): Remove aliases.
10056 (_sys_siglist): Define hidden alias.
10058 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10063 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10066 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10067 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10069 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10070 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10071 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10072 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10074 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10076 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10077 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10078 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10080 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10088 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10089 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10090 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10092 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10093 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10094 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10095 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10096 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10097 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10099 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10100 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10102 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10103 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10107 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10109 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10110 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10112 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10114 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10115 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10116 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10118 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10120 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10122 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10124 * math/math.h (M_El): Use two more decimal places.
10125 (M_LOG2El): Likewise.
10126 (M_LOG10El): Likewise.
10127 (M_LN2l): Likewise.
10128 (M_LN10l): Likewise.
10130 (M_PI_2l): Likewise.
10131 (M_PI_4l): Likewise.
10132 (M_1_PIl): Likewise.
10133 (M_2_PIl): Likewise.
10134 (M_2_SQRTPIl): Likewise.
10135 (M_SQRT2l): Likewise.
10136 (M_SQRT1_2l): Likewise.
10138 2012-05-31 David S. Miller <davem@davemloft.net>
10140 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10141 values between float registers.
10142 * sysdeps/sparc/sparc64/memset.S: Likewise.
10143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10145 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10147 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10148 -D_FORTIFY_SOURCE=1.
10149 (CPPFLAGS-tst-longjmp_chk.c): Define.
10150 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10151 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10152 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10153 CFLAGS-tst-wchar-h.c.
10155 2012-05-31 Marek Polacek <polacek@redhat.com>
10158 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10159 __endmntent_internal): Remove declaration.
10160 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10161 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10162 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10164 2012-05-30 David S. Miller <davem@davemloft.net>
10166 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10167 (___Q_simulate_exceptions): Use real FP ops rather than writing
10169 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10172 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10175 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10176 * sysdeps/x86/bits/xtitypes.h: This.
10178 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10179 * sysdeps/x86/bits/wordsize.h: This.
10181 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10182 * sysdeps/x86/bits/huge_vall.h: This.
10184 * sysdeps/i386/bits/select.h: Removed.
10185 * sysdeps/x86_64/bits/select.h: Renamed to ...
10186 * sysdeps/x86/bits/select.h: This.
10188 * sysdeps/i386/bits/setjmp.h: Removed.
10189 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10190 * sysdeps/x86/bits/setjmp.h: This.
10192 * sysdeps/i386/bits/mathdef.h: Removed.
10193 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10194 * sysdeps/x86/bits/mathdef.h: This.
10196 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10199 * include/sys/socket.h (__connect_internal)
10200 (__libc_sa_len_internal): Remove declaration.
10201 (__connect, __libc_sa_len): Declare hidden_proto.
10202 (SA_LEN): Remove use of INTUSE.
10203 * socket/connect.c: Add libc_hidden_def.
10204 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10205 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10206 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10208 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10209 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10210 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10211 of adding _internal alias.
10213 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10216 * sysdeps/i386/bits/link.h: Removed.
10217 * sysdeps/i386/bits/linkmap.h: Likewise.
10218 * sysdeps/x86_64/bits/link.h: Renamed to ...
10219 * sysdeps/x86/bits/link.h: This.
10220 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10221 * sysdeps/x86/bits/linkmap.h: This.
10223 * sysdeps/i386/bits/endian.h: Removed.
10224 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10225 * sysdeps/x86/bits/endian.h: This.
10227 * sysdeps/i386/bits/byteswap.h: Removed.
10228 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10229 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10230 * sysdeps/x86/bits/byteswap.h: This.
10231 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10232 * sysdeps/x86/bits/byteswap-16.h: This.
10233 * sysdeps/i386/Implies: Add x86.
10234 * sysdeps/x86_64/Implies: Likewise.
10236 2012-05-30 David S. Miller <davem@davemloft.net>
10238 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10239 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10240 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10241 (FP_TRAPPING_EXCEPTIONS): Define.
10242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10243 (FP_TRAPPING_EXCEPTIONS): Define.
10244 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10245 subnormals only when inexact has been signalled or underflow
10246 exceptions are enabled.
10247 (_FP_PACK_CANONICAL): Likewise.
10249 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10252 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10253 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10255 2012-05-30 Richard Henderson <rth@twiddle.net>
10257 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10258 with #ifndef NOT_IN_libc.
10260 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10261 marked to avoid plt entry.
10263 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10266 * Makeconfig (default-abi): New macro.
10267 (abi-includes): Likewise.
10268 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10269 $(abi-$(default-abi)-lib-soname) for soname if defined.
10270 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10272 * Makefile (installed-stubs): Likewise.
10273 * include/stubs-biarch.h: Removed.
10274 * scripts/lib-names.awk: Only handle one library at a time.
10275 * scripts/soversions.awk: Remove WORDSIZE support.
10276 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10278 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10280 (syscall-list-default-condition): Likewise.
10281 (syscall-list-default-condition): Likewise.
10282 (syscall-list-includes): Likewise.
10283 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10284 syscall-list-* with abi-*. Handle undefined abi-variants.
10285 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10286 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10287 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10288 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10289 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10290 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10292 (syscall-list-32-options): Likewise.
10293 (syscall-list-32-condition): Likewise.
10294 (syscall-list-64-options): Likewise.
10295 (syscall-list-64-condition): Likewise.
10296 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10298 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10301 (abi-64-ld-soname): New macro.
10302 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10303 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10306 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10307 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10309 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10311 * sysdeps/unix/sysv/linux/kernel-features.h
10312 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10313 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10314 include <kernel-features.h>.
10315 [!__NR_ftruncate64]: Remove conditional code.
10316 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10317 [__NR_ftruncate64]: Make code unconditional.
10318 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10319 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10320 include <kernel-features.h>.
10321 [!__NR_ftruncate64]: Remove conditional code.
10322 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10323 [__NR_ftruncate64]: Make code unconditional.
10324 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10326 include <kernel-features.h>.
10327 [!__NR_ftruncate64]: Remove conditional code.
10328 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10329 [__NR_ftruncate64]: Make code unconditional.
10330 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10332 include <kernel-features.h>.
10333 [!__NR_ftruncate64]: Remove conditional code.
10334 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10335 [__NR_ftruncate64]: Make code unconditional.
10336 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10338 * configure.in (libc_cv_fpie): Weaken to a compile test using
10339 LIBC_TRY_CC_OPTION.
10340 * configure: Regenerated.
10342 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10357 2012-05-27 David S. Miller <davem@davemloft.net>
10359 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10361 (__Q_simulate_exceptions): Return void. Change to simulate
10362 exceptions by writing into the %fsr.
10363 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10364 (__Qp_handle_exceptions): Likewise.
10366 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10367 __Qp_handle_exceptions.
10368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10369 __Qp_handle_exceptions.
10370 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10371 as unused and give dummy FP_RND_NEAREST initializer.
10372 (FP_INHIBIT_RESULTS): Define.
10373 (___Q_simulate_exceptions): Update declaration.
10374 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10376 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10377 as unused and give dummy FP_RND_NEAREST initializer.
10378 (__Qp_handle_exceptions): Update declaration.
10379 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10382 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10384 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10385 the temporary FPU control word.
10386 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10387 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10388 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10389 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10390 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10391 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10392 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10393 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10394 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10395 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10396 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10398 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10400 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10403 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10405 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10406 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10407 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10408 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10410 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10411 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10414 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10416 * po/h.po: Update from translation team.
10418 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10420 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10422 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10423 handling of denormals.
10424 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10425 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10426 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10427 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10433 2012-05-26 Marek Polacek <polacek@redhat.com>
10436 * math/libm-test.inc (fma_test): Don't always expect underflow
10439 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10442 * elf/tst-execstack.c: Include stackinfo.h.
10443 (do_test): Adjust test case to ensure that pthread_getattr_np
10444 behaviour remains the same after marking stack executable.
10446 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10448 * sysdeps/unix/sysv/linux/kernel-features.h
10449 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10450 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10452 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10453 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10454 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10456 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10457 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10459 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10461 * configure.in: Define the default includes to being none.
10462 * configure: Regenerated.
10464 2012-05-25 Roland McGrath <roland@hack.frob.com>
10466 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10467 * sysdeps/x86_64/setjmp.S: Likewise.
10468 * sysdeps/i386/bsd-setjmp.S: Likewise.
10469 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10470 * sysdeps/i386/setjmp.S: Likewise.
10471 * sysdeps/i386/__longjmp.S: Likewise.
10472 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10473 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10475 * include/stap-probe.h: New file.
10476 * configure.in: Handle --enable-systemtap.
10477 * configure: Regenerated.
10478 * config.h.in (USE_STAP_PROBE): New #undef.
10479 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10480 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10481 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10483 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10487 to 2.4.0 where earlier.
10488 * sysdeps/unix/sysv/linux/configure: Regenerated.
10489 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10490 <kernel-features.h>.
10491 [__ASSUME_32BITUIDS]: Make code unconditional.
10492 [!__ASSUME_32BITUIDS]: Remove conditional code.
10493 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10494 <kernel-features.h>.
10495 [__ASSUME_32BITUIDS]: Make code unconditional.
10496 [!__ASSUME_32BITUIDS]: Remove conditional code.
10497 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10498 [__ASSUME_32BITUIDS]: Make code unconditional.
10499 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10500 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10501 <kernel-features.h>.
10502 [__ASSUME_32BITUIDS]: Make code unconditional.
10503 [!__ASSUME_32BITUIDS]: Remove conditional code.
10504 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10505 <kernel-features.h>.
10506 [__ASSUME_32BITUIDS]: Make code unconditional.
10507 [!__ASSUME_32BITUIDS]: Remove conditional code.
10508 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10509 <kernel-features.h>.
10510 [__ASSUME_32BITUIDS]: Make code unconditional.
10511 [!__ASSUME_32BITUIDS]: Remove conditional code.
10512 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10513 <kernel-features.h>.
10514 [__ASSUME_32BITUIDS]: Make code unconditional.
10515 [!__ASSUME_32BITUIDS]: Remove conditional code.
10516 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10517 <kernel-features.h>.
10518 [__ASSUME_32BITUIDS]: Make code unconditional.
10519 [!__ASSUME_32BITUIDS]: Remove conditional code.
10520 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10521 <kernel-features.h>.
10522 [__ASSUME_32BITUIDS]: Make code unconditional.
10523 [!__ASSUME_32BITUIDS]: Remove conditional code.
10524 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.c: Do not include
10533 <kernel-features.h>.
10534 [__ASSUME_32BITUIDS]: Make code unconditional.
10535 [!__ASSUME_32BITUIDS]: Remove conditional code.
10536 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10537 <kernel-features.h>.
10538 [__ASSUME_32BITUIDS]: Make code unconditional.
10539 [!__ASSUME_32BITUIDS]: Remove conditional code.
10540 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10541 <kernel-features.h>.
10542 [__NR_setresgid] (__setresgid): Do not declare.
10543 [__ASSUME_32BITUIDS]: Make code unconditional.
10544 [!__ASSUME_32BITUIDS]: Remove conditional code.
10545 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10546 <kernel-features.h>.
10547 [__NR_setresuid] (__setresuid): Do not declare.
10548 [__ASSUME_32BITUIDS]: Make code unconditional.
10549 [!__ASSUME_32BITUIDS]: Remove conditional code.
10550 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10551 <kernel-features.h>.
10552 [__ASSUME_32BITUIDS]: Make code unconditional.
10553 [!__ASSUME_32BITUIDS]: Remove conditional code.
10554 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10555 <kernel-features.h>.
10556 [__ASSUME_32BITUIDS]: Make code unconditional.
10557 [!__ASSUME_32BITUIDS]: Remove conditional code.
10558 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10559 <kernel-features.h>.
10560 [__ASSUME_32BITUIDS]: Make code unconditional.
10561 [!__ASSUME_32BITUIDS]: Remove conditional code.
10562 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10563 <kernel-features.h>.
10564 [__ASSUME_32BITUIDS]: Make code unconditional.
10565 [!__ASSUME_32BITUIDS]: Remove conditional code.
10566 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10567 <kernel-features.h>.
10568 [__ASSUME_32BITUIDS]: Make code unconditional.
10569 [!__ASSUME_32BITUIDS]: Remove conditional code.
10570 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10571 <kernel-features.h>.
10572 [__ASSUME_32BITUIDS]: Make code unconditional.
10573 [!__ASSUME_32BITUIDS]: Remove conditional code.
10574 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10575 <kernel-features.h>.
10576 [__ASSUME_32BITUIDS]: Make code unconditional.
10577 [!__ASSUME_32BITUIDS]: Remove conditional code.
10578 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10579 <kernel-features.h>.
10580 [__ASSUME_32BITUIDS]: Make code unconditional.
10581 [!__ASSUME_32BITUIDS]: Remove conditional code.
10582 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10583 <kernel-features.h>.
10584 [__ASSUME_32BITUIDS]: Make code unconditional.
10585 [!__ASSUME_32BITUIDS]: Remove conditional code.
10586 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10587 <kernel-features.h>.
10588 [__ASSUME_32BITUIDS]: Make code unconditional.
10589 [!__ASSUME_32BITUIDS]: Remove conditional code.
10590 * sysdeps/unix/sysv/linux/kernel-features.h
10591 (__ASSUME_SETRESUID_SYSCALL): Remove.
10592 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10593 (__ASSUME_32BITUIDS): Likewise.
10594 (__ASSUME_LDT_WORKS): Likewise.
10595 (__ASSUME_O_DIRECTORY): Likewise.
10596 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10597 architecture but not kernel version.
10598 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10599 (__ASSUME_MMAP2_SYSCALL): Likewise.
10600 (__ASSUME_STAT64_SYSCALL): Likewise.
10601 (__ASSUME_IPC64): Likewise.
10602 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10603 <kernel-features.h>.
10604 [__ASSUME_32BITUIDS]: Make code unconditional.
10605 [!__ASSUME_32BITUIDS]: Remove conditional code.
10606 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10607 <kernel-features.h>.
10608 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10609 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10610 132096]: Remove conditional code.
10611 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10612 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10613 <kernel-features.h>.
10614 [__ASSUME_32BITUIDS]: Make code unconditional.
10615 [!__ASSUME_32BITUIDS]: Remove conditional code.
10616 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10617 <kernel-features.h>.
10618 [__ASSUME_32BITUIDS]: Make code unconditional.
10619 [!__ASSUME_32BITUIDS]: Remove conditional code.
10620 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10621 <kernel-features.h>.
10622 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10624 (__setresgid): Do not declare.
10625 [__ASSUME_32BITUIDS]: Make code unconditional.
10626 [!__ASSUME_32BITUIDS]: Remove conditional code.
10627 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10628 <kernel-features.h>.
10629 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10631 (__setresuid): Do not declare.
10632 [__ASSUME_32BITUIDS]: Make code unconditional.
10633 [!__ASSUME_32BITUIDS]: Remove conditional code.
10634 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10635 <kernel-features.h>.
10636 [__ASSUME_32BITUIDS]: Make code unconditional.
10637 [!__ASSUME_32BITUIDS]: Remove conditional code.
10638 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10639 <kernel-features.h>.
10640 [__ASSUME_32BITUIDS]: Make code unconditional.
10641 [!__ASSUME_32BITUIDS]: Remove conditional code.
10643 2012-05-25 Richard Henderson <rth@twiddle.net>
10645 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10646 dl_hwcap to ifunc resolver.
10647 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10649 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10650 dl_hwcap to ifunc resolver.
10651 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10653 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10656 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10657 for |x| <= 2**-26, not 2**-57.
10658 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10661 2012-05-24 Jeff Law <law@redhat.com>
10663 * stdio-common/Makefile (tests): Add bug25.
10664 * stdio-common/bug25.c: New test.
10666 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10669 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10670 multiple of MALLOC_ALIGNMENT in size.
10671 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10673 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10675 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10677 (FILENAME_MAX): Use macro-int-constant.
10678 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10679 (_IOFBF): Use macro-int-constant.
10680 (_IOLBF): Likewise.
10681 (_IONBF): Likewise.
10682 (SEEK_CUR): Likewise.
10683 (SEEK_END): Likewise.
10684 (SEEK_SET): Likewise.
10685 (TMP_MAX): Likewise.
10686 (EOF): Use macro-int-constant. Require < 0.
10687 (NULL): Use macro-constant. Require == 0.
10688 (stdin): Require type to be FILE *.
10689 (stdout): Likewise.
10690 (stderr): Likewise.
10691 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10692 macro-int-constant.
10693 (EXIT_SUCCESS): Likewise.
10694 (NULL): Use macro-constant. Require == 0.
10695 (RAND_MAX): Use macro-int-constant.
10696 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10697 [C99-based standards] (strtof): Require function.
10698 [C99-based standards] (strtold): Likewise.
10699 [C99-based standards] (strtoll): Likewise.
10700 [C99-based standards] (strtoull): Likewise.
10701 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10702 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10703 [ISO || ISO99 || ISO11] (math.h): Likewise.
10704 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10705 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10708 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10711 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10712 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10713 * intl/dgettext.c (DCGETTEXT): Likewise.
10714 * intl/gettext.c (DCGETTEXT): Likewise.
10715 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10716 * posix/regex_internal.h (gettext): Likewise.
10717 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10718 Remove declaration.
10719 * include/argz.h (__argz_count_internal)
10720 (__argz_stringify_internal): Remove declaration.
10721 (__argz_count, __argz_stringify): Declare hidden proto.
10722 * intl/dcgettext.c: Remove use of INTDEF.
10723 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10724 * string/argz-stringify.c: Likewise.
10725 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10726 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10727 Declare hidden proto.
10728 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10729 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10730 Declare hidden proto.
10731 * include/stdio.h (__asprintf_internal): Don't declare.
10732 (__asprintf): Don't define as macro. Declare hidden proto.
10733 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10734 (__fsetlocking): Declare hidden proto.
10735 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10736 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10738 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10739 (_IO_setlinebuf): Remove use of INTUSE.
10740 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10741 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10742 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10743 Remove declaration.
10744 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10745 (_IO_do_flush): Remove use of INTUSE.
10746 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10747 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10748 (_IO_adjust_column, _IO_least_wmarker)
10749 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10750 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10751 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10752 (_IO_default_doallocate, _IO_wdefault_doallocate)
10753 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10754 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10755 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10756 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10757 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10758 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10759 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10760 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10761 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10762 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10763 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10764 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10765 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10767 (_IO_flush_all_internal, _IO_adjust_column_internal)
10768 (_IO_default_uflow_internal, _IO_default_finish_internal)
10769 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10770 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10771 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10772 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10773 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10774 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10775 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10776 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10777 (_IO_file_close_internal, _IO_file_close_it_internal)
10778 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10779 (_IO_file_init_internal, _IO_file_attach_internal)
10780 (_IO_file_fopen_internal, _IO_file_read_internal)
10781 (_IO_file_sync_internal, _IO_file_seek_internal)
10782 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10783 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10784 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10785 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10786 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10787 (_IO_list_all_internal, _IO_link_in_internal)
10788 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10789 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10790 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10791 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10792 (_IO_do_write_internal, _IO_padn_internal)
10793 (_IO_getline_info_internal, _IO_getline_internal)
10794 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10795 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10796 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10797 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10798 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10799 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10800 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10801 with libc_hidden_ver, remove use of INTUSE.
10802 * libio/genops.c: Likewise.
10803 * libio/freopen.c: Likewise.
10804 * libio/freopen64.c: Likewise.
10805 * libio/iofclose.c: Likewise.
10806 * libio/iofdopen.c: Likewise.
10807 * libio/iofflush.c: Likewise.
10808 * libio/iofflush_u.c: Likewise.
10809 * libio/iofgets.c: Likewise.
10810 * libio/iofgets_u.c: Likewise.
10811 * libio/iofopen.c: Likewise.
10812 * libio/iofopncook.c: Likewise.
10813 * libio/iofread.c: Likewise.
10814 * libio/iofread_u.c: Likewise.
10815 * libio/ioftell.c: Likewise.
10816 * libio/iofwrite.c: Likewise.
10817 * libio/iogetline.c: Likewise.
10818 * libio/iogets.c: Likewise.
10819 * libio/iogetwline.c: Likewise.
10820 * libio/iopadn.c: Likewise.
10821 * libio/iopopen.c: Likewise.
10822 * libio/ioseekoff.c: Likewise.
10823 * libio/ioseekpos.c: Likewise.
10824 * libio/iosetbuffer.c: Likewise.
10825 * libio/iosetvbuf.c: Likewise.
10826 * libio/ioungetc.c: Likewise.
10827 * libio/ioungetwc.c: Likewise.
10828 * libio/iovdprintf.c: Likewise.
10829 * libio/iovsprintf.c: Likewise.
10830 * libio/iovsscanf.c: Likewise.
10831 * libio/memstream.c: Likewise.
10832 * libio/obprintf.c: Likewise.
10833 * libio/oldfileops.c: Likewise.
10834 * libio/oldiofclose.c: Likewise.
10835 * libio/oldiofdopen.c: Likewise.
10836 * libio/oldiofopen.c: Likewise.
10837 * libio/oldiopopen.c: Likewise.
10838 * libio/oldstdfiles.c: Likewise.
10839 * libio/putc.c: Likewise.
10840 * libio/setbuf.c: Likewise.
10841 * libio/setlinebuf.c: Likewise.
10842 * libio/stdfiles.c: Likewise.
10843 * libio/strops.c: Likewise.
10844 * libio/vasprintf.c: Likewise.
10845 * libio/vscanf.c: Likewise.
10846 * libio/vsnprintf.c: Likewise.
10847 * libio/vswprintf.c: Likewise.
10848 * libio/wfiledoalloc.c: Likewise.
10849 * libio/wfileops.c: Likewise.
10850 * libio/wgenops.c: Likewise.
10851 * libio/wmemstream.c: Likewise.
10852 * libio/wstrops.c: Likewise.
10853 * libio/__fpurge.c: Likewise.
10854 * libio/__fsetlocking.c: Likewise.
10855 * assert/assert.c: Likewise.
10856 * debug/fgets_chk.c: Likewise.
10857 * debug/fgets_u_chk.c: Likewise.
10858 * debug/fread_chk.c: Likewise.
10859 * debug/fread_u_chk.c: Likewise.
10860 * debug/gets_chk.c: Likewise.
10861 * debug/obprintf_chk.c: Likewise.
10862 * debug/vasprintf_chk.c: Likewise.
10863 * debug/vdprintf_chk.c: Likewise.
10864 * debug/vsnprintf_chk.c: Likewise.
10865 * debug/vsprintf_chk.c: Likewise.
10866 * malloc/mtrace.c: Likewise.
10867 * misc/error.c: Likewise.
10868 * misc/syslog.c: Likewise.
10869 * stdio-common/asprintf.c: Likewise.
10870 * stdio-common/fxprintf.c: Likewise.
10871 * stdio-common/getw.c: Likewise.
10872 * stdio-common/isoc99_fscanf.c: Likewise.
10873 * stdio-common/isoc99_scanf.c: Likewise.
10874 * stdio-common/isoc99_vfscanf.c: Likewise.
10875 * stdio-common/isoc99_vscanf.c: Likewise.
10876 * stdio-common/isoc99_vsscanf.c: Likewise.
10877 * stdio-common/printf-prs.c: Likewise.
10878 * stdio-common/printf_fp.c: Likewise.
10879 * stdio-common/printf_fphex.c: Likewise.
10880 * stdio-common/printf_size.c: Likewise.
10881 * stdio-common/putw.c: Likewise.
10882 * stdio-common/scanf.c: Likewise.
10883 * stdio-common/sprintf.c: Likewise.
10884 * stdio-common/tmpfile.c: Likewise.
10885 * stdio-common/vfprintf.c: Likewise.
10886 * stdio-common/vfscanf.c: Likewise.
10887 * stdlib/strfmon_l.c: Likewise.
10888 * sunrpc/openchild.c: Likewise.
10889 * sunrpc/xdr_stdio.c: Likewise.
10890 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10891 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10893 2012-05-24 Roland McGrath <roland@hack.frob.com>
10895 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10897 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10898 in the third column, to generate for the shared library an IFUNC
10899 that uses _dl_vdso_vsym.
10900 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10901 * Makeconfig (object-suffixes-noshared): New variable.
10903 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10904 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10905 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10906 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10909 * include/sys/time.h (__gettimeofday): Remove macro.
10910 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10911 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10913 (__gettimeofday): Add libc_hidden_def.
10914 (gettimeofday): Add libc_hidden_weak.
10915 * sysdeps/mach/gettimeofday.c: Likewise.
10916 * sysdeps/posix/gettimeofday.c: Likewise.
10917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10918 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10920 (__gettimeofday_internal): Remove strong_alias.
10921 (__gettimeofday): Add libc_hidden_def.
10922 (gettimeofday): Add libc_hidden_weak.
10923 * sysdeps/unix/syscalls.list (gettimeofday):
10924 Remove __gettimeofday_internal alias.
10926 2012-05-24 Daniel Jacobowitz <drow@false.org>
10927 H.J. Lu <hongjiu.lu@intel.com>
10930 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10931 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10932 (largebin_index_32_big): New.
10933 (largebin_index): Use it for 16-byte alignment.
10934 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10935 correction with front_misalign.
10937 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10965 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10966 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10968 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10972 * math/libm-test.inc (exp_test): Add test from bug 14036.
10973 (pow_test): Add test from bug 10846.
10975 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10977 (special_function): Do not include flags in test name.
10978 (parse_args): Likewise.
10979 * sysdeps/i386/fpu/libm-test-ulps: Update.
10980 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10981 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10982 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10987 * math/libm-test.inc ("Philosophy"): Update comment about
10989 (UNDERFLOW_EXCEPTION): New macro.
10990 (UNDERFLOW_EXCEPTION_OK): Likewise.
10991 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10992 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10993 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10994 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10995 (INVALID_EXCEPTION_OK): Update value.
10996 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10997 (OVERFLOW_EXCEPTION_OK): Likewise.
10998 (IGNORE_ZERO_INF_SIGN): Likewise.
10999 (test_exceptions): Handle underflow exceptions.
11000 (acos_test): Update for underflow exception expectations.
11001 (cexp_test): Likewise.
11002 (clog_test): Likewise.
11003 (clog10_test): Likewise.
11004 (csqrt_test): Likewise.
11005 (ctan_test): Likewise.
11006 (ctanh_test): Likewise.
11007 (exp_test): Likewise.
11008 (exp10_test): Likewise.
11009 (exp2_test): Likewise.
11010 (expm1_test): Likewise.
11011 (fma_test): Likewise.
11012 (j0_test): Likewise.
11013 (jn_test): Likewise.
11014 (nexttoward_test): Likewise.
11015 (pow_test): Likewise.
11016 (scalbn_test): Likewise.
11017 (scalbln_test): Likewise.
11018 (tan_test): Likewise.
11019 (y1_test): Likewise.
11020 * sysdeps/i386/fpu/libm-test-ulps: Update.
11021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11023 2012-05-23 David S. Miller <davem@davemloft.net>
11025 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11026 (__libc_sigaction): Remove unused local variables.
11028 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11030 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11032 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11034 mktime: avoid signed integer overflow
11035 * time/mktime.c (__mktime_internal): Do not mishandle the case
11036 where diff == INT_MIN.
11038 mktime: simplify computation of average
11039 * time/mktime.c (ranged_convert): Use new time_t_avg function
11040 instead of rolling our own (probably-slower) code.
11042 mktime: do not assume signed right shift propagates sign bit
11043 * time/mktime.c (isdst_differ): New static function.
11044 (__mktime_internal): No need to normalize tm_isdst now.
11045 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11048 mktime: merge another wrapv change from gnulib
11049 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11050 from some compilers.
11052 mktime: remove incorrect attempt at unusual arithmetics
11053 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11054 The code didn't really work on such machines anyway.
11055 (TYPE_MINIMUM): Assume two's complement.
11056 (twos_complement_arithmetic): Verify that long_int and time_t
11057 are two's complement (or unsigned, in the latter case).
11059 mktime: check signed shifts on long_int and time_t, too
11060 * time/mktime.c (SHR): Check that shifts work as desired
11061 on the types long_int and time_t too, as SHR is used on
11064 mktime: do not assume 'long' is wide enough
11065 * time/mktime.c (verify): Move decl up.
11066 (long_int): New type.
11067 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11068 to remove assumption in the code that 'long' is wide enough to
11069 store year values. This assumption is not true on x32 and on
11070 some non-glibc platforms.
11072 mktime: merge wrapv change from gnulib
11073 * time/mktime.c (WRAPV): New macro.
11074 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11075 (guess_time_tm, __mktime_internal): Do not assume that signed
11076 integer overflow wraps around; modern compilers generate code
11077 where this assumption is no longer valid.
11079 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11081 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11082 Replace "jmp L(pseudo_end)" with "ret".
11083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11086 2012-05-23 Andreas Jaeger <aj@suse.de>
11088 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11089 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11091 2012-05-23 Andreas Jaeger <aj@suse.de>
11092 Maximilian Attems <max@stro.at>
11094 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11097 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11099 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11100 code so that pseudo_end is just ret and the stack pointer is
11101 correct also for static library in error case.
11103 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11105 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11106 move to syscalls.list.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11112 * manual/install.texi (Running make install): Do not mention Linux
11113 kernel version for which pt_chown is not needed.
11114 (Linux): Do not mention problems with nscd with 2.0 kernels.
11115 * INSTALL: Regenerated.
11117 2012-05-23 Andreas Jaeger <aj@suse.de>
11119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11120 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11122 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11123 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11124 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11125 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11126 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11127 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11129 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11130 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11131 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11132 * sysdeps/unix/sysv/linux/bits/in.h
11133 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11135 2012-05-22 Roland McGrath <roland@hack.frob.com>
11137 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11138 (PREPARE_VERSION): Just use assert instead, it will be elided
11139 under [NDEBUG] anyway.
11141 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11143 * sysdeps/unix/sysv/linux/Makefile: Include
11144 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11145 (sysdep_routines): Remove sysctl.
11146 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11147 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11148 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11149 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11150 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11152 2012-05-22 Andreas Jaeger <aj@suse.de>
11154 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11155 that pseudo_end is just ret and the stack pointer is correct also
11156 for static library in error case.
11158 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11161 * nss/nsswitch.c (defconfig_entries): New variable.
11162 (__nss_database_lookup): Don't leak defconfig entries.
11163 (nss_parse_service_list): Don't leak on error paths.
11164 (free_database_entries): New function.
11165 (free_defconfig): New function.
11166 (free_mem): Move common code to free_database_entries.
11168 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11170 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11172 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11174 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11175 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11178 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11179 (INTERNAL_SYSCALL_TYPES): Likewise.
11180 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11181 (LOAD_REGS_TYPES_[1-6]): Likewise.
11182 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11183 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11185 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11187 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11188 copysignl for GLIBC_2_0.
11189 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11190 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11191 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11192 logbl for GLIBC_2_0.
11193 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11194 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11196 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11199 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11201 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11204 * time/mktime.c: Update copyright years.
11206 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11208 mktime: merge comment-quoting-style change from gnulib
11209 * time/mktime.c: Quote 'like this' in comments.
11210 The GNU coding standards suggest that we no longer quote `like this',
11211 as "`" and "'" are typically rendered asymmetrically nowadays.
11212 The typical gnulib style is to quote 'like this' when quoting
11213 code, and "like this" when quoting English.
11215 * time/mktime.c (compile-command): Add "-I.".
11217 mktime: merge mktime-internal.h change from gnulib
11218 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11220 mktime: merge time_r change from gnulib
11221 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11223 mktime: merge DEBUG change from gnulib
11224 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11225 case system <time.h> has a #define.
11227 mktime: merge <sys/types.h> change from gnulib
11228 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11229 since <time.t> is now guaranteed to define time_t.
11231 mktime: merge HAVE_CONFIG_H change from gnulib
11232 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11234 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11239 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11241 (struct rusage): Use anonymous union to pad each field to
11244 2012-05-21 David S. Miller <davem@davemloft.net>
11246 * Makefules (o-iterator): Remove .s cases.
11247 (compile-command.s): Delete.
11248 (COMPILE.s): Delete.
11249 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11251 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11253 * configure.in (libc_cv_predef_stack_protector): Only consider
11254 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11255 * configure: Regenerated.
11257 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11260 New macro. Use R*LP on int and pointer.
11261 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11262 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11263 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11264 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11266 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11267 [__WORDSIZE_TIME64_COMPAT32] instead of
11268 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11269 (struct utmp): Likewise.
11270 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11271 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11273 (__WORDSIZE_TIME64_COMPAT32): This.
11274 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11275 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11276 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11277 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11278 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11279 (__WORDSIZE_TIME64_COMPAT32): New macro.
11281 2012-05-21 Andreas Jaeger <aj@suse.de>
11283 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11284 only if [SHARED]. Add prototype for __wcschr_ia32.
11286 2012-05-21 Roland McGrath <roland@hack.frob.com>
11288 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11289 of %rbp unmolested in the jmp_buf while mangling the low bits.
11290 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11291 unmolested high bits of %rbp while demangling the low bits.
11292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11294 2012-05-21 Andreas Jaeger <aj@suse.de>
11296 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11297 * sunrpc/svc_simple.c: Use it for registerrpc.
11298 * sunrpc/xcrypt.c: Use it for passwd2des.
11300 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11302 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11304 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11305 Don't define if [__SYSCALL_WORDSIZE != 32].
11306 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11309 2012-05-21 Bruno Haible <bruno@clisp.org>
11310 Andreas Jaeger <aj@suse.de>
11312 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11313 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11314 inptr and inend for must_buffer_ch.
11315 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11316 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11317 * stdio-common/Makefile (tests): Remove bug15.
11318 (bug15-ENV): Remove macro.
11319 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11322 2012-05-19 Andreas Jaeger <aj@suse.de>
11323 Roland McGrath <roland@hack.frob.com>
11325 * manual/contrib.texi: Completely rewritten. It contains now an
11326 alphabetical list of contributors and their contributions.
11328 2012-05-21 Richard Henderson <rth@twiddle.net>
11330 * misc/getauxval.c (__getauxval): Use unsigned long int.
11331 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11332 (getauxval): Use unsigned long int.
11334 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11336 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11338 2012-05-21 Roland McGrath <roland@hack.frob.com>
11340 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11341 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11342 __alignof__ (long double).
11344 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11348 2012-05-20 Richard Henderson <rth@twiddle.net>
11350 * misc/getauxval.c: New file.
11351 * misc/sys/auxv.h: New file.
11352 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11353 (routines): Add getauxval.
11354 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11355 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11356 * elf/dl-sysdep.c (_dl_auxv): Remove.
11357 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11358 * elf/dl-support.c (_dl_auxv): New variable.
11359 (_dl_aux_init): Initialize it.
11360 * manual/startup.texi (Auxiliary Vector): New node.
11361 * sysdeps/generic/bits/hwcap.h: New file.
11362 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11363 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11364 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11365 * sysdeps/sparc/sysdep.h: ... here. Include it.
11366 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11367 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11379 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11383 2012-05-19 David S. Miller <davem@davemloft.net>
11385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11387 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11390 * math/s_ccosh.c: Include <float.h>
11391 (__ccosh): Avoid internal overflow calculating sinh and cosh
11392 values before multiplying by sin and cos values.
11393 * math/s_ccoshf.c: Likewise.
11394 * math/s_ccoshl.c: Likewise.
11395 * math/s_csin.c: Likewise.
11396 * math/s_csinf.c: Likewise.
11397 * math/s_csinl.c: Likewise.
11398 * math/s_csinh.c: Likewise.
11399 * math/s_csinhf.c: Likewise.
11400 * math/s_csinhl.c: Likewise.
11401 * math/libm-test.inc (ccos_test): Add more tests.
11402 (ccosh_test): Likewise.
11403 (csin_test): Likewise.
11404 (csinh_test): Likewise.
11405 * sysdeps/i386/fpu/libm-test-ulps: Update.
11406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11408 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11410 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11411 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11413 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11415 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11417 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11418 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11419 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11420 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11421 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11422 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11423 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11424 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11425 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11426 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11427 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11428 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11429 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11430 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11431 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11432 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11433 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11434 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11435 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11436 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11437 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11438 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11439 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11440 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11441 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11442 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11443 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11444 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11445 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11446 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11447 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11449 2012-05-18 Andreas Jaeger <aj@suse.de>
11451 * csu/.gitignore: Delete.
11453 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11455 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11456 (timex): Use __syscall_slong_t.
11458 2012-05-18 Andreas Jaeger <aj@suse.de>
11459 Carlos O'Donell <carlos_odonell@mentor.com>
11461 * manual/install.texi (Configuring and compiling): Update
11462 description about files modified in the source directory.
11463 * INSTALL: Regenerated.
11465 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11467 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11468 value. Use "or" to set return value to -1.
11469 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11470 negate return value.
11472 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11474 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11475 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11476 failure if the compiler has Graphite support disabled.
11477 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11479 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11480 CFLAGS-memmove.c): Likewise.
11481 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11484 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11486 * sysdeps/x86_64/x32/_itoa.h: New file.
11488 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11489 getdents system call only if kernel and user dirents have the
11490 same d_ino and d_off.
11492 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11493 LLONG_MAX != LONG_MAX.
11494 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11495 (_fitoa_word): Likewise.
11497 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11499 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11500 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11501 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11503 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11504 include <bits/wordsize.h>. Check __x86_64__ instead of
11506 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11507 if __x86_64__ is defined. Use anonymous union on fpstate.
11509 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11512 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11514 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11515 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11516 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11517 Refer to _rtld_local_ro instead of _rtld_global_ro.
11518 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11520 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11522 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11524 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11525 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11526 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11528 * sysdeps/powerpc/powerpc32/dl-machine.c
11529 (__elf_machine_runtime_setup) [PROF]: Don't reference
11532 2012-05-18 Andreas Jaeger <aj@suse.de>
11534 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11535 function only available for GCCs before 3.4 since GCC 3.4
11536 introduced a builtin.
11538 (llrintf): Likewise.
11539 (llrint): Likewise.
11546 (nearbyint): Likewise.
11547 (nearbyintf): Likewise.
11551 (floorf): Likewise.
11553 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11555 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11556 on both fields and cast pointer to __syscall_ulong_t.
11558 * bits/types.h (__fsword_t): New type.
11559 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11560 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11562 (__FSWORD_T_TYPE): Likewise.
11563 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11564 (__FSWORD_T_TYPE): Likewise.
11565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11566 (__FSWORD_T_TYPE): Likewise.
11567 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11568 (__FSWORD_T_TYPE): Likewise.
11569 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11570 __SWORD_TYPE with __fsword_t.
11571 (statfs64): Likewise.
11573 2012-05-17 David S. Miller <davem@davemloft.net>
11575 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11577 2012-05-17 Andreas Jaeger <aj@suse.de>
11579 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11582 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11584 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11586 2012-05-17 Andreas Jaeger <aj@suse.de>
11588 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11591 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11593 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11595 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11597 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11598 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11600 2012-05-17 Andreas Jaeger <aj@suse.de>
11601 Carlos O'Donell <carlos_odonell@mentor.com>
11604 * sysdeps/x86_64/multiarch/init-arch.h
11605 (bit_YMM_Usable): Rename to...
11606 (bit_AVX_Usable): ... this.
11607 (bit_FMA4_Usable): New macro.
11608 (bit_XMM_state): New macro.
11609 (bit_YMM_state): New macro.
11610 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11611 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11612 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11613 (CPUID_OSXSAVE): New macro.
11614 (CPUID_AVX): New macro.
11615 (CPUID_FMA4): New macro.
11616 (index_YMM_Usable): Rename to...
11617 (index_AVX_Usable): ... this.
11618 (HAS_AVX): Use HAS_ARCH_FEATURE.
11619 (HAS_FMA4): Likewise.
11620 (HAS_YMM_USABLE): Remove.
11621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11622 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11624 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11625 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11626 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11627 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11628 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11630 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11632 * math/libm-test.c: Support platforms without multiple rounding modes.
11633 * math/bug-nextafter.c: Support platforms without FP exceptions.
11634 * math/bug-nexttoward.c: Likewise.
11635 * math/test-fenv.c: Likewise.
11636 * math/test-misc.c: Likewise.
11637 * stdlib/bug-getcontext.c: Likewise.
11639 2012-05-17 Andreas Jaeger <aj@suse.de>
11641 * manual/examples/search.c (critter_cmp): Change signature to
11643 * manual/string.texi (Collation Functions): Likewise.
11645 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11647 * bits/types.h: Fold copyright years.
11648 * bits/typesizes.h: Likewise.
11649 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11652 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11653 * time/time.h: Likewise.
11655 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11658 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11659 in instead of returning them. Return void.
11660 (__libc_mallinfo): Accumulate over all arenas.
11661 (__malloc_stats): Adjust for change in int_mallinfo interface.
11663 2012-05-16 Roland McGrath <roland@hack.frob.com>
11666 * configure.in (NM): Add AC_CHECK_TOOL for it.
11667 (libc_extra_cflags): New substituted variable.
11668 Check for -fstack-protector being used implicitly.
11669 * configure: Regenerated.
11670 * config.make.in (config-extra-cflags): New variable,
11671 gets @libc_extra_cflags@.
11672 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11675 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11676 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11677 * configure: Regenerated.
11678 * config.make.in (CPPUNDEFS): New substituted variable.
11679 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11680 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11681 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11683 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11685 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11686 (mq_attr): Use __syscall_slong_t.
11688 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11690 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11691 Check __x86_64__ instead of __WORDSIZE.
11692 (_STAT_VER_LINUX): Likewise.
11693 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11694 __syscall_ulong_t and __syscall_slong_t.
11695 (stat64): Likewise.
11697 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11699 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11701 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11703 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11705 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11707 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11710 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11711 include <bits/wordsize.h>. Check __x86_64__ instead of
11713 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11715 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11717 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11718 include <bits/wordsize.h>. Check __x86_64__ instead of
11720 (user_regs_struct): Use "__extension__ unsigned long long"
11721 instead of "unsigned long" if __x86_64__ is defined.
11722 (user): Likewise. Pad after pointer field if __ILP32__ is
11725 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11727 * configure.in (makeinfo): Require version 4.5 or later. Allow
11729 * configure: Regenerated.
11730 * manual/install.texi (texinfo): Increase version requirement to
11732 * INSTALL: Regenerated.
11734 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11738 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11740 * sysdeps/x86_64/x32/ffs.c: New file.
11742 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11744 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11745 defined. Use __syscall_ulong_t.
11746 (shminfo): Use __syscall_ulong_t.
11747 (shm_info): Likewise.
11749 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11752 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11754 (msgqnum_t): Use __syscall_ulong_t.
11755 (msglen_t): Likewise.
11756 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11759 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11760 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11762 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11764 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11765 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11767 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11770 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11771 include <bits/wordsize.h>. Check __x86_64__ instead of
11774 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11775 "unsigned long long int" if __x86_64__ is defined.
11776 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11778 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11779 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11780 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11782 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11784 (GET_PC): Cast to uintptr_t first.
11785 (GET_FRAME): Likewise.
11786 (GET_STACK): Likewise.
11788 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11790 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11792 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11794 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11795 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11796 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11797 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11798 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11799 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11801 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11803 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11805 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11807 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11809 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11810 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11811 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11812 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11813 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11814 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11815 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11818 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11820 * Makerules (+depfiles): Also collect depfiles from .oS in
11822 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11823 .oS, $(libnldbl-routines)).
11825 * Makerules (native-compile-mkdep-flags): Define.
11826 * sunrpc/Makefile (extra-objs): Add $(addprefix
11827 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11828 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11829 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11830 calling $(make-target-directory).
11832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11834 * bits/types.h (__snseconds_t): Removed.
11835 * time/time.h (struct timespec): Replace __snseconds_t with
11837 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11838 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11841 (__SNSECONDS_T_TYPE): Likewise.
11842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11843 (__SNSECONDS_T_TYPE): Likewise.
11844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11845 (__SNSECONDS_T_TYPE): Likewise.
11847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11849 * sysdeps/mach/hurd/bits/typesizes.h
11850 (__SYSCALL_SLONG_TYPE): New macro.
11851 (__SYSCALL_ULONG_TYPE): Likewise.
11853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11855 * bits/types.h (__syscall_slong_t): New type.
11856 (__syscall_ulong_t): Likewise.
11858 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11859 (__SYSCALL_ULONG_TYPE): Likewise.
11860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11861 (__SYSCALL_SLONG_TYPE): Likewise.
11862 (__SYSCALL_ULONG_TYPE): Likewise.
11863 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11864 (__SYSCALL_SLONG_TYPE): Likewise.
11865 (__SYSCALL_ULONG_TYPE): Likewise.
11866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11867 (__SYSCALL_SLONG_TYPE): Likewise.
11868 (__SYSCALL_ULONG_TYPE): Likewise.
11870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11872 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11873 Add sigaltstack-offsets.sym.
11874 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11875 <sigaltstack-offsets.h>.
11876 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11877 longjmp_msg pointer.
11878 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11879 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11881 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11883 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11885 * elf/stackguard-macros.h: Remove file.
11886 * sysdeps/generic/stackguard-macros.h: New file.
11887 * sysdeps/i386/stackguard-macros.h: Likewise.
11888 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11889 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11890 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11891 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11892 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11893 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11894 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11895 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11896 <elf/stackguard-macros.h>.
11899 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11900 __aligned__ in attribute.
11901 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11902 (gregset_t): Likewise.
11904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11906 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11907 * sysdeps/x86_64/64/Implies-after: Here. New file.
11908 * sysdeps/x86_64/x32/Implies-after: New file.
11910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11912 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11913 and access return value for _dl_profile_fixup. Use R10_LP to
11916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11918 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11922 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11923 * sysdeps/x86_64/x32/sysdep.h: New file.
11925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11927 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11928 * sysdeps/x86_64/setjmp.S: Likewise.
11930 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11932 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11934 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11935 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11936 remove unused global constant.
11938 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11940 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11941 include of <not-cancel.h>.
11943 2012-05-15 Roland McGrath <roland@hack.frob.com>
11945 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11947 2012-05-15 Jeff Law <law@redhat.com>
11948 Andreas Jaeger <aj@suse.de>
11951 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11953 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11954 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11955 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11956 code changing __hst_map_handle.map.
11958 2012-05-15 Roland McGrath <roland@hack.frob.com>
11960 * configure.in (sysnames): Look for Implies-before and Implies-after
11962 * configure: Regenerated.
11964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11966 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11967 8-byte data alignment with LP_SIZE alignment.
11969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11971 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11976 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11981 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11982 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11984 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11988 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11989 (stackinfo_sub_sp): Likewise.
11991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11993 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12008 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12012 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12013 into R11_LP and load __x86_64_shared_cache_size_half into
12016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12018 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12021 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12029 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12030 powerpc32/power7/fpu/s_logb.c via #include.
12031 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12032 powerpc32/power7/fpu/s_logbf.c via #include.
12033 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12034 powerpc32/power7/fpu/s_logbl.c via #include.
12036 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12038 * README.libm: Remove file.
12040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12042 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12043 count for x32. Use R*_LP and omit operand-size suffix.
12045 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12047 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12048 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12049 * sysdeps/x86_64/x32/shlib-versions: New file.
12051 2012-05-14 Roland McGrath <roland@hack.frob.com>
12053 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12054 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12055 Use _dl_fatal_printf instead.
12057 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12059 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12060 set if not set by the user. Do not allow for being unset.
12061 * sysdeps/unix/sysv/linux/configure: Regenerated.
12063 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12065 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12066 the `q' suffix from lea and replace .quad with ASM_ADDR.
12068 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12070 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12071 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12073 (PTR_DEMANGLE): Likewise.
12075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12077 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12079 (ASM_ADDR): Likewise.
12080 (RAX_LP): Likewise.
12081 (RBP_LP): Likewise.
12082 (RBX_LP): Likewise.
12083 (RCX_LP): Likewise.
12084 (RDI_LP): Likewise.
12085 (RSI_LP): Likewise.
12086 (RSP_LP): Likewise.
12089 (R10_LP): Likewise.
12090 (R10_LP): Likewise.
12091 (R11_LP): Likewise.
12092 (R12_LP): Likewise.
12093 (R13_LP): Likewise.
12094 (R14_LP): Likewise.
12095 (R15_LP): Likewise.
12097 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12099 * sysdeps/x86_64/x32/dl-machine.h: New file.
12101 2012-05-14 Andreas Jaeger <aj@suse.de>
12103 * manual/Makefile (subdir): Remove export of subdir.
12104 (all): Remove target.
12105 (.PHONY): Remove all from list.
12106 (mkinstalldirs): Remove.
12107 (.PHONY): Remove installdirs from list.
12108 ($(inst_infodir)/libc.info): Use make-target-directory.
12109 (installdirs): Remove.
12110 (subdir_%): Remove.
12111 (glibc-targets): Remove.
12114 ($(objpfx)stubs ../po/manual.pot): Remove.
12115 ($(objpfx)stamp%): Remove.
12116 (make-target-directory): Remove.
12117 (subdir_install): Remove.
12118 (routines): Remove.
12125 * manual/.gitignore: Remove, it's not needed anymore.
12126 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12128 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12130 (texis): Renamed to $(objpfx)texis.
12131 (texis-path): New, contains path to generated files.
12132 (chapters.%): Use texis-path for complete path, add extra argument
12134 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12135 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12136 (summary,texi, stamp-summary): Use complete path of
12137 files. Generate files in build dir.
12138 (dir-add.texi): Build in build dir.
12139 (libm-err.texi,stamp-libm-err): Likewise.
12140 (version.texi, stamp-version): Likewise.
12141 (.%c.texi): Likewise.
12142 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12143 (mostlyclean): Remove target.
12144 (realclean): Remove target.
12145 (generated): Add new variable with contents from mostlyclean and
12146 realclean, remove entries duplicated in common-mostlyclean, add
12147 stamp-libm-err and stamp-version.
12148 (generated-dirs): Add libc directory.
12149 ($(inst_infodir)/libc.info): Install files from build dir.
12151 * manual/install.texi (Configuring and compiling): Adjust since
12152 the info files are not part of the tar ball anymore.
12154 2012-05-14 Andreas Jaeger <aj@suse.de>
12156 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12159 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12162 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12163 to 2.2.0 where earlier.
12164 * sysdeps/unix/sysv/linux/configure: Regenerated.
12165 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12166 Remove conditional code.
12167 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12168 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12169 Remove conditional code.
12170 [!__NR_lchown]: Likewise.
12171 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12172 [__NR_lchown]: Likewise.
12173 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12174 comment referencing __ASSUME_LCHOWN_SYSCALL.
12175 * sysdeps/unix/sysv/linux/i386/sigaction.c
12176 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12177 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12178 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12179 Remove conditional code.
12180 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12181 (__protocol_available): Remove #if 0 code.
12182 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12184 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12185 * sysdeps/unix/sysv/linux/kernel-features.h
12186 (__ASSUME_GETCWD_SYSCALL): Don't define.
12187 (__ASSUME_REALTIME_SIGNALS): Likewise.
12188 (__ASSUME_PREAD_SYSCALL): Likewise.
12189 (__ASSUME_PWRITE_SYSCALL): Likewise.
12190 (__ASSUME_POLL_SYSCALL): Likewise.
12191 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12192 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12194 (__ASSUME_SIOCGIFNAME): Don't define.
12195 (__ASSUME_MSG_NOSIGNAL): Likewise.
12196 (__ASSUME_SENDFILE): Define unconditionally.
12197 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12198 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12200 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12201 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12202 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12203 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12204 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12205 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12206 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12211 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12223 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12231 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12232 Remove conditional code.
12233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12234 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12235 Remove conditional code.
12236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12237 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12238 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12239 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12240 Remove conditional code.
12241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12242 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12243 Remove conditional code.
12244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12245 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12246 Remove conditional code.
12247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12248 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12249 Remove conditional code.
12250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12251 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12252 Remove conditional code.
12253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12254 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12255 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12257 * sysdeps/unix/sysv/linux/sigaction.c
12258 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12259 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12260 * sysdeps/unix/sysv/linux/sigpending.c
12261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12263 * sysdeps/unix/sysv/linux/sigprocmask.c
12264 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12265 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/sigsuspend.c
12267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12269 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12270 (__libc_missing_rt_sigs): Remove.
12271 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12272 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12273 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12274 Remove conditional code.
12275 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12276 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12278 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12279 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12280 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12281 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12283 2012-05-14 Andreas Jaeger <aj@suse.de>
12285 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12286 it's not used in glibc.
12287 (__coshm1): Likewise.
12288 (__acosh1p): Likewise.
12291 * manual/string.texi (Copying and Concatenation): Add missing
12292 variable in concat example.
12293 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12295 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12298 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12299 __builtin_clzl with __builtin_clzll.
12301 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12304 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12307 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12309 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12310 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12311 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12312 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12314 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12316 * NEWS: Update ia64 info.
12318 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12320 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12323 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12325 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12326 * sysdeps/unix/syscalls.list (dup3): Likewise.
12327 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12328 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12330 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12332 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12333 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12335 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12337 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12339 (TLS_IE): Use mov/add instead of movq/addq to load thread
12341 (TLS_GD_PREFIX): New.
12344 2012-05-11 David S. Miller <davem@davemloft.net>
12346 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12347 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12348 (_FPU_SETCW): Likewise.
12350 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12352 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12353 is 32-byte aligned.
12355 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12358 * iconvdata/gb18030.c: Update tables.
12359 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12360 characters specially.
12361 (BODY for TO_LOOP): Add encoding of missing ranges.
12363 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12366 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12367 * sysdeps/mach/hurd/dup3.c: Likewise.
12368 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12369 * sysdeps/powerpc/memmove.c:: Likewise.
12371 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12374 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12376 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12378 * elf/elf.h (R_X86_64_RELATIVE64): New.
12379 (R_X86_64_NUM): Updated.
12380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12381 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12382 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12383 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12384 tst-quad1pie tst-quad2pie
12385 (modules-names): Add tst-quadmod1 tst-quadmod2.
12386 ($(objpfx)tst-quad1): New dependency.
12387 ($(objpfx)tst-quad2): Likewise.
12388 ($(objpfx)tst-quad1pie): Likewise.
12389 ($(objpfx)tst-quad2pie): Likewise.
12390 * sysdeps/x86_64/tst-quad1.c: New file.
12391 * sysdeps/x86_64/tst-quad1pie.c: New file.
12392 * sysdeps/x86_64/tst-quad2.c: Likewise.
12393 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12394 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12395 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12396 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12397 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12399 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12401 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12402 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12403 * streams/stropts.h (t_scalar_t): Define type.
12405 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12406 (_PATH_PRESERVE): Set to "/var/lib".
12407 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12409 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12412 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12413 if __dir_mkfile succeeded.
12415 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12416 checking for _hurd_dtablesize. Unlock it right after having
12417 finished _hurd_dtable allocation.
12419 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12421 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12422 * sysdeps/mach/hurd/configure: Regenerated.
12423 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12424 special-casing to...
12425 * sysdeps/gnu/configure.in: ... this new file.
12426 * sysdeps/unix/sysv/linux/configure: Regenerated.
12427 * sysdeps/gnu/configure: New generated file.
12429 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12430 for Linux: use nsec instead of usec, as well as:
12431 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12432 members of type struct timespec.
12433 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12435 (struct stat64): Likewise.
12436 (_STATBUF_ST_NSEC): New macro.
12437 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12439 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12440 __strtoul_internal rather than strtoul.
12442 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12444 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12447 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12449 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12450 which preserves existing values.
12451 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12453 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12455 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12456 TIMEOUT values. Return EINVAL for NFDS values either negative or
12457 greater than FD_SETSIZE.
12459 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12461 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12462 allocated, call __vm_protect to finish enabling the existing space, and
12463 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12464 allocate the remainder.
12466 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12468 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12469 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12473 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12474 sysdeps/mach/hurd/readlink.c.
12476 * posix/tst-sysconf.c (posix_options): Only use
12477 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12478 _POSIX_SYNCHRONIZED_IO when they are defined
12479 * sysdeps/mach/hurd/bits/posix_opt.h:
12480 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12481 (_XOPEN_REALTIME): Undefine macro.
12482 (_XOPEN_REALTIME_THREADS): Undefine macro.
12483 (_XOPEN_SHM): Undefine macro.
12484 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12486 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12488 (_POSIX_ASYNC_IO): Undefine macro.
12489 (_POSIX_PRIORITIZED_IO): Undefine macro.
12490 (_POSIX_SPIN_LOCKS): Define macro to -1.
12492 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12493 SA_NODEFER, SA_RESETHAND.
12494 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12495 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12498 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12500 * elf/Makefile (pldd-modules): Define unconditionally.
12502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12504 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12508 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12509 Return ENOENT when name is empty.
12510 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12514 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12516 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12520 Fix mlock in all cases except non-readable pages.
12521 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12522 instead of VM_PROT_ALL as parameter to __vm_wire function.
12524 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12525 (__mkdir): When path is `/', just fail with EEXIST.
12526 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12530 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12531 <sys/uio.h> (for writev).
12532 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12533 and <sys/param.h> (for MIN).
12535 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12537 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12538 REQUESTED_TIME. Properly set the remaining time and return EINTR
12541 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12543 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12544 Depend on against $(link-rpcuserlibs).
12546 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12548 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12549 (__libc_stack_end): Do not use attribute_relro.
12550 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12551 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12552 to libthread-provided value.
12553 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12556 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12559 * bits/libc-lock.h (__libc_once_get): New macro.
12560 * sysdeps/mach/bits/libc-lock.h: Likewise.
12561 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12562 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12563 instead of using implementation details.
12565 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12566 * libio/freopen.c: Likewise.
12567 * libio/freopen64.c: Likewise.
12568 * misc/syslog.c: Likewise.
12569 * nscd/connections.c: Likewise.
12570 * nscd/netgroupcache.c: Likewise.
12571 * sysdeps/posix/getcwd.c: Likewise.
12573 2012-05-10 Roland McGrath <roland@hack.frob.com>
12575 * math/w_ilogbf.c: Add #include <limits.h>.
12577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12579 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12580 path instead of returning without unlocking.
12582 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12583 immediate-write ioctls.
12584 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12588 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12589 __builtin_frame_address instead of making assumptions about the
12590 location of the return address relative to DATA. Force early load of
12591 the return address.
12592 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12593 __builtin_frame_address.
12596 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12597 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12598 implement dup3 and do some further code clean-ups.
12599 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12600 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12604 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12606 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12607 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12608 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12609 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12610 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12613 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12614 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12615 when handler == SIG_ERR, not when handler != SIG_ERR.
12617 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12619 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12620 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12623 accept4 for GNU Hurd.
12624 * include/sys/socket.h (__libc_accept4): New prototype.
12625 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12626 to implement __libc_accept4.
12627 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12629 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12631 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12632 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12633 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12634 signal-defines.sym.
12636 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12638 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12640 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12642 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12643 assertion on O_CLOEXEC flag.
12644 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12645 * hurd/intern-fd.c: Likewise.
12646 * hurd/port2fd.c: Likewise.
12648 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12651 * bits/in.h (IPV6_PKTINFO): Define new macro.
12652 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12654 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12659 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12660 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12661 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12662 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12663 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12664 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12665 * math/libm-test.inc (logb_test) : Additional logb tests.
12667 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12668 Andreas Jaeger <aj@suse.de>
12670 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12671 * configure: Regenerated.
12672 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12673 * config.make.in (link-obsolete-rpc): New substituted variable.
12674 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12675 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12676 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12677 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12678 so that libc.a contains the symbols.
12679 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12680 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12681 * sunrpc/auth_none.c: Likewise.
12682 * sunrpc/auth_unix.c: Likewise.
12683 * sunrpc/authdes_prot.c: Likewise.
12684 * sunrpc/authuxprot.c: Likewise.
12685 * sunrpc/clnt_gen.c: Likewise.
12686 * sunrpc/clnt_perr.c: Likewise.
12687 * sunrpc/clnt_raw.c: Likewise.
12688 * sunrpc/clnt_simp.c: Likewise.
12689 * sunrpc/clnt_tcp.c: Likewise.
12690 * sunrpc/clnt_udp.c: Likewise.
12691 * sunrpc/clnt_unix.c: Likewise.
12692 * sunrpc/des_crypt.c: Likewise.
12693 * sunrpc/des_soft.c: Likewise.
12694 * sunrpc/get_myaddr.c: Likewise.
12695 * sunrpc/key_call.c: Likewise.
12696 * sunrpc/key_prot.c: Likewise.
12697 * sunrpc/netname.c: Likewise.
12698 * sunrpc/pm_getmaps.c: Likewise.
12699 * sunrpc/pm_getport.c: Likewise.
12700 * sunrpc/pmap_clnt.c: Likewise.
12701 * sunrpc/pmap_prot.c: Likewise.
12702 * sunrpc/pmap_prot2.c: Likewise.
12703 * sunrpc/pmap_rmt.c: Likewise.
12704 * sunrpc/publickey.c: Likewise.
12705 * sunrpc/rpc_cmsg.c: Likewise.
12706 * sunrpc/rpc_common.c: Likewise.
12707 * sunrpc/rpc_dtable.c: Likewise.
12708 * sunrpc/rpc_prot.c: Likewise.
12709 * sunrpc/rpc_thread.c: Likewise.
12710 * sunrpc/rtime.c: Likewise.
12711 * sunrpc/svc.c: Likewise.
12712 * sunrpc/svc_auth.c: Likewise.
12713 * sunrpc/svc_raw.c: Likewise.
12714 * sunrpc/svc_run.c: Likewise.
12715 * sunrpc/svc_tcp.c: Likewise.
12716 * sunrpc/svc_udp.c: Likewise.
12717 * sunrpc/svc_unix.c: Likewise.
12718 * sunrpc/svcauth_des.c: Likewise.
12719 * sunrpc/xcrypt.c: Likewise.
12720 * sunrpc/xdr.c: Likewise.
12721 * sunrpc/xdr_array.c: Likewise.
12722 * sunrpc/xdr_float.c: Likewise.
12723 * sunrpc/xdr_intXX_t.c: Likewise.
12724 * sunrpc/xdr_mem.c: Likewise.
12725 * sunrpc/xdr_rec.c: Likewise.
12726 * sunrpc/xdr_ref.c: Likewise.
12727 * sunrpc/xdr_sizeof.c: Likewise.
12728 * sunrpc/xdr_stdio.c: Likewise.
12730 2012-05-10 Roland McGrath <roland@hack.frob.com>
12732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12733 change. Update copyright years.
12735 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12737 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12739 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12740 Joseph Myers <joseph@codesourcery.com>
12741 Paul Pluzhnikov <ppluzhnikov@google.com>
12744 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12746 [cross-compiling] (extra-libs): Likewise.
12747 [cross-compiling] (extra-libs-others): Likewise.
12748 [cross-compiling] (librpcsvc-routines): Likewise.
12749 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12750 [cross-compiling] (omit-deps): Likewise.
12751 (sunrpc-CPPFLAGS): New variable.
12752 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12753 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12754 (cross-rpcgen-objs): New variable.
12755 (extra-objs): Append $(cross-rpcgen-objs).
12756 ($(cross-rpcgen-objs)): New rule.
12757 ($(objpfx)cross-rpcgen): Likewise.
12758 (rpcgen-cmd): Define to use $(built-program-file). Expand
12760 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12761 ($(objpfx)x%.stmp): Likewise.
12762 * sunrpc/proto.h [IS_IN_build] (_): Define.
12763 [IS_IN_build] (_libc_intl_domainname): Likewise.
12765 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12768 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12769 and R_X86_64_TPOFF64.
12771 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12773 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12774 sysdeps/unix/sysv/syscalls.list.
12777 * sysdeps/unix/sysv/syscalls.list: Remove file.
12779 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12782 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12783 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12784 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12785 (__LC_IDENTIFICATION): Make these macros useful in #if
12786 expressions, as required by C99.
12788 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12790 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12791 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12794 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12796 * stdlib/longlong.h: Updated from GCC.
12798 2012-05-09 Andreas Jaeger <aj@suse.de>
12800 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12801 default is first entry.
12802 (run_mode): Set type.
12803 (main): Remove informal message about syslog.
12804 (options): Fix typo.
12807 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12810 (llrintf): Likewise.
12811 (llrint): Likewise.
12814 (nearbyint): Likewise.
12815 (nearbyintf): Likewise.
12817 2012-05-09 Andreas Jaeger <aj@suse.de>
12818 Pedro Alves <palves@redhat.com>
12820 * nscd/nscd.c (run_mode): Use enum.
12821 (main): Cleanup coding style issue.
12823 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12824 Andreas Jaeger <aj@suse.de>
12826 * nscd/nscd.c (go_background): Replaced with...
12827 (run_mode): ... this.
12828 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12829 (options): Add -F --foreground.
12830 (main): Implement it.
12831 (parse_opt): Parse it.
12833 2012-05-09 Andreas Jaeger <aj@suse.de>
12836 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12837 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12838 -Wconversion warning.
12839 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12842 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12844 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12846 (LC_ALL): Use macro-int-constant.
12847 (LC_COLLATE): Likewise.
12848 (LC_CTYPE): Likewise.
12849 (LC_MESSAGES): Likewise.
12850 (LC_MONETARY): Likewise.
12851 (LC_NUMERIC): Likewise.
12852 (LC_TIME): Likewise.
12853 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12854 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12856 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12858 [C99-based standards] (float_t): Expect type.
12859 [C99-based standards] (double_t): Expect type.
12860 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12862 [C99-based standards] (HUGE_VALL): Likewise.
12863 [C99-based standards] (INFINITY): Likewise.
12864 [C99-based standards] (NAN): Likewise.
12865 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12866 [C99-based standards] (FP_NAN): Likewise.
12867 [C99-based standards] (FP_NORMAL): Likewise.
12868 [C99-based standards] (FP_SUBNORMAL): Likewise.
12869 [C99-based standards] (FP_ZERO): Likewise.
12870 [C99-based standards] (FP_FAST_FMA): Use
12871 optional-macro-int-constant. Specify type. Require == 1.
12872 [C99-based standards] (FP_FAST_FMAF): Likewise.
12873 [C99-based standards] (FP_FAST_FMAL): Likewise.
12874 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12875 [C99-based standards] (FP_ILOGBNAN): Likewise.
12876 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12878 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12879 [C99-based standards] (math_errhandling): Specify type.
12880 [ISO99 || ISO11] (signgam): Do not allow.
12881 [non-C99-based standards] (copysignf): Do not allow.
12882 [non-C99-based standards] (exp2f): Likewise.
12883 [non-C99-based standards] (log2f): Likewise.
12884 [non-C99-based standards] (modff): Allow.
12885 [non-C99-based standards] (erff): Do not allow.
12886 [non-C99-based standards] (erfcf): Likewise.
12887 [non-C99-based standards] (gammaf): Likewise.
12888 [non-C99-based standards] (hypotf): Likewise.
12889 [non-C99-based standards] (j0f): Likewise.
12890 [non-C99-based standards] (j1f): Likewise.
12891 [non-C99-based standards] (jnf): Likewise.
12892 [non-C99-based standards] (lgammaf): Likewise.
12893 [non-C99-based standards] (tgammaf): Likewise.
12894 [non-C99-based standards] (y0f): Likewise.
12895 [non-C99-based standards] (y1f): Likewise.
12896 [non-C99-based standards] (ynf): Likewise.
12897 [non-C99-based standards] (isnanf): Likewise.
12898 [non-C99-based standards] (acoshf): Likewise.
12899 [non-C99-based standards] (asinhf): Likewise.
12900 [non-C99-based standards] (atanhf): Likewise.
12901 [non-C99-based standards] (cbrtf): Likewise.
12902 [non-C99-based standards] (expm1f): Likewise.
12903 [non-C99-based standards] (ilogbf): Likewise.
12904 [non-C99-based standards] (log1pf): Likewise.
12905 [non-C99-based standards] (logbf): Likewise.
12906 [non-C99-based standards] (nextafterf): Likewise.
12907 [non-C99-based standards] (remainderf): Likewise.
12908 [non-C99-based standards] (rintf): Likewise.
12909 [non-C99-based standards] (scalbf): Likewise.
12910 [non-C99-based standards] (copysignl): Likewise.
12911 [non-C99-based standards] (exp2l): Likewise.
12912 [non-C99-based standards] (log2l): Likewise.
12913 [non-C99-based standards] (modfl): Allow.
12914 [non-C99-based standards] (erfl): Do not allow.
12915 [non-C99-based standards] (erfcl): Likewise.
12916 [non-C99-based standards] (gammal): Likewise.
12917 [non-C99-based standards] (hypotl): Likewise.
12918 [non-C99-based standards] (j0l): Likewise.
12919 [non-C99-based standards] (j1l): Likewise.
12920 [non-C99-based standards] (jnl): Likewise.
12921 [non-C99-based standards] (lgammal): Likewise.
12922 [non-C99-based standards] (tgammal): Likewise.
12923 [non-C99-based standards] (y0l): Likewise.
12924 [non-C99-based standards] (y1l): Likewise.
12925 [non-C99-based standards] (ynl): Likewise.
12926 [non-C99-based standards] (isnanl): Likewise.
12927 [non-C99-based standards] (acoshl): Likewise.
12928 [non-C99-based standards] (asinhl): Likewise.
12929 [non-C99-based standards] (atanhl): Likewise.
12930 [non-C99-based standards] (cbrtl): Likewise.
12931 [non-C99-based standards] (expm1l): Likewise.
12932 [non-C99-based standards] (ilogbl): Likewise.
12933 [non-C99-based standards] (log1pl): Likewise.
12934 [non-C99-based standards] (logbl): Likewise.
12935 [non-C99-based standards] (nextafterl): Likewise.
12936 [non-C99-based standards] (remainderl): Likewise.
12937 [non-C99-based standards] (rintl): Likewise.
12938 [non-C99-based standards] (scalbl): Likewise.
12939 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12940 [non-C99-based standards] (FP_*): Do not allow.
12941 [C99-based standards] (FP_*): Change to
12942 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12943 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12945 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12946 (SIG_ERR): Likewise.
12947 [X/Open-based standards] (SIG_HOLD): Likewise.
12948 (SIG_IGN): Likewise.
12949 (SIGABRT): Use macro-int-constant. Specify type. Require
12951 (SIGFPE): Likewise.
12952 (SIGILL): Likewise.
12953 (SIGINT): Likewise.
12954 (SIGSEGV): Likewise.
12955 (SIGTER): Likewise.
12956 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12957 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12958 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12959 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12960 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12961 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12962 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12963 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12964 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12965 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12966 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12967 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12968 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12969 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12970 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12971 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12972 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12973 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12974 [X/Open-based standards] (SIGTRAP): Likewise.
12975 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12976 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12977 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12978 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12979 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12982 2012-05-08 Ian Wienand <ianw@vmware.com>
12985 * time/tzset.c (__tzset_parse_tz): Update default rules for
12986 daylight time changes in the Energy Policy Act of 2005.
12988 2012-05-09 Andreas Jaeger <aj@suse.de>
12991 * elf/ldconfig.c (parse_conf): Change string to make clear that
12992 ldconfig only issued a warning if ld.so.conf does not exist.
12994 2012-05-08 David S. Miller <davem@davemloft.net>
12996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12997 movxtod instead of popping the value on the stack.
12999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13001 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13003 * config.h.in: Add HAVE_ARM_PCS_VFP.
13005 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13008 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13009 checking but the checks are disabled for any reason.
13011 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13013 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13014 and ELF64_R_TYPE with ELFW(R_TYPE).
13016 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13018 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13019 (ulimit): Likewise.
13021 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13022 (settimeofday): Likewise.
13024 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13026 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13027 a struct th_u2 inside the union, and move tu_block/tu_code into
13028 a new th_u3 union of tu_block/tu_code inside of that. Move
13029 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13030 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13031 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13032 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13033 (th_stuff): Change to th_u1.tu_stuff.
13035 (th_msg): Change to th_u1.th_u2.tu_data.
13037 2012-05-07 David S. Miller <davem@davemloft.net>
13039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13042 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13043 (SETUP_PIC_REG): Use it.
13044 (SETUP_PIC_REG_LEAF): Use it.
13046 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13050 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13052 (EXPL_FINITE): Likewise.
13053 (FLDLOG): Likewise.
13054 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13055 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13059 (EXPL_FINITE): Likewise.
13060 (FLDLOG): Likewise.
13061 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13062 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13064 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13065 test of -max_value argument for long double.
13066 * sysdeps/i386/fpu/libm-test-ulps: Update.
13067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13069 2012-05-06 David S. Miller <davem@davemloft.net>
13071 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13072 quad soft-float symbols whose references which are compiler
13074 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13076 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13082 (EXPL_FINITE): Likewise.
13083 (FLDLOG): Likewise.
13086 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13087 Adjust comments for base varying.
13088 (__expl_finite): Change alias to EXPL_FINITE.
13089 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13091 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13092 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13094 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13095 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13097 (EXPL_FINITE): Likewise.
13098 (FLDLOG): Likewise.
13101 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13102 Adjust comments for base varying.
13103 (__expl_finite): Change alias to EXPL_FINITE.
13104 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13109 * math/libm-test.inc (check_float_internal): Correct ulp
13110 calculation for subnormal expected results.
13112 2012-05-06 Andreas Jaeger <aj@suse.de>
13114 * Makeconfig (+math-flags): New, set to -frounding-math.
13115 (+cflags): Add +math-flags so that all of glibc gets compiled with
13118 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13120 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13122 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13128 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13129 (__ieee754_expl): Allow for and saturate large arguments.
13130 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13131 (u_threshold): Likewise.
13132 (__exp): Call __ieee754_exp before checking for overflow and
13134 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13135 (u_threshold): Likewise.
13136 (__expf): Call __ieee754_expf before checking for overflow and
13138 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13139 (u_threshold): Likewise.
13140 (__expl): Call __ieee754_expl before checking for overflow and
13142 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13143 (__ieee754_expl): Allow for and saturate large arguments.
13144 * math/libm-test.inc (exp_test): Add another test. Do not allow
13145 missing overflow exception on overflow.
13146 (expm1_test): Do not allow missing overflow exception on overflow.
13148 * sysdeps/i386/fpu/e_expl.c: Move to ...
13149 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13150 rather than using inline asm.
13151 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13152 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13153 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13155 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13158 (signal): Likewise.
13162 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13164 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13165 sysdeps/unix/common/syscalls.list.
13166 (fchmod): Likewise.
13167 (fchown): Likewise.
13168 (ftruncate): Likewise.
13169 (getrusage): Likewise.
13170 (gettimeofday): Likewise.
13171 (setpgid): Likewise.
13172 (setregid): Likewise.
13173 (setreuid): Likewise.
13174 (sigaction): Likewise.
13175 (truncate): Likewise.
13176 (vhangup): Likewise.
13177 * sysdeps/unix/common/syscalls.list: Remove file.
13178 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13179 * sysdeps/unix/sysv/linux/Implies: Likewise.
13181 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13183 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13185 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13189 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13192 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13195 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13198 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13201 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13204 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13207 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13211 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13215 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13218 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13222 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13226 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13228 * sysdeps/unix/common/bits/dirent.h: Remove file.
13229 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13231 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13232 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13233 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13234 * sysdeps/unix/bsd/isatty.c: Likewise.
13235 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13236 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13237 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13239 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13243 long double comparison inaccuracies.
13244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13247 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13249 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13252 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13256 nonzero digits before rounding a hex value.
13257 * stdlib/tst-strtod.c (tests): Add another test.
13259 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13261 * sysdeps/s390/fpu/libm-test-ulps: Update.
13263 2012-05-03 Andreas Jaeger <aj@suse.de>
13265 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13266 does not get optimized out.
13267 (malloc_opt_barrier): New.
13269 2012-05-03 Andreas Jaeger <aj@suse.de>
13270 Roland McGrath <roland@hack.frob.com>
13272 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13273 intermediate file deletion.
13274 (generated): Add .symlist files.
13276 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13279 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13280 Redirect under this condition.
13281 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13282 [__USE_GNU] (__dprintf_chk): Not under this condition.
13283 [__USE_GNU] (__vdprintf_chk): Likewise.
13284 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13285 under this condition.
13286 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13287 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13288 [__USE_XOPEN2K8] (vdprintf): Likewise.
13289 [__USE_GNU] (__dprintf_chk): Not under this condition.
13290 [__USE_GNU] (__vdprintf_chk): Likewise.
13291 [__USE_GNU] (dprintf): Likewise.
13292 [__USE_GNU] (vdprintf): Likewise.
13294 2012-05-03 Roland McGrath <roland@hack.frob.com>
13296 * elf/Makefile (common-generated): Set this instead of generated for
13297 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13298 $(all-built-dso)-derived lists.
13300 2012-05-03 Andreas Jaeger <aj@suse.de>
13302 * sysdeps/i386/fpu/libm-test-ulps: Update.
13305 * FAQ.in: Likewise.
13306 * scripts/gen-FAQ.pl: Likewise.
13307 * manual/install.texi (Installation): Point to online location of
13309 * Makefile (files-for-dist): Remove FAQ.
13312 2012-05-02 Allan McRae <allan@archlinux.org>
13314 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13315 (LDFLAGS-reldepmod5.so): Likewise.
13316 (LDFLAGS-reldep6mod1.so): Likewise.
13317 (LDFLAGS-reldep6mod4.so): Likewise.
13318 (LDFLAGS-reldep8mod3.so): Likewise.
13319 (LDFLAGS-unload4mod1.so): Likewise.
13320 (LDFLAGS-unload4mod2.so): Likewise.
13321 (LDFLAGS-tst-initorder): Likewise.
13322 (LDFLAGS-tst-initordera2.so): Likewise.
13323 (LDFLAGS-tst-initordera3.so): Likewise.
13324 (LDFLAGS-tst-initordera4.so): Likewise.
13325 (LDFLAGS-tst-initorderb2.so): Likewise.
13326 (LDFLAGS-noload): Likewise.
13327 (LDFLAGS-next): Likewise.
13328 (LDFLAGS-order2mod1.so): Likewise.
13329 (LDFLAGS-order2mod2.so): Likewise.
13330 (LDFLAGS-tst-initorder2): Likewise.
13331 (LDFLAGS-tst-initorder2a.so): Likewise.
13332 (LDFLAGS-tst-initorder2b.so): Likewise.
13333 (LDFLAGS-tst-initorder2c.so): Likewise.
13334 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13336 2012-05-02 David S. Miller <davem@davemloft.net>
13338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13340 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13343 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13345 2012-05-02 Andreas Jaeger <aj@suse.de>
13347 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13348 since we manipulate rounding mode.
13349 (CPPFLAGS-test-idouble.c): Likewise.
13350 (CPPFLAGS-test-ifloat.c): Likewise.
13351 (CFLAGS-test-ldouble.c): Likewise.
13352 (CFLAGS-test-double.c): Likewise.
13353 (CFLAGS-test-float.c): Likewise.
13354 (CFLAGS-test-misc.c): Likewise.
13355 (CFLAGS-test-test-fenv.c): Likewise.
13357 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13362 comparisons to determine direction to adjust input.
13364 2012-05-01 Roland McGrath <roland@hack.frob.com>
13366 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13367 output to the target.
13369 * scripts/localplt.awk: New file.
13370 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13371 (check-localplt-CFLAGS): Variable removed.
13372 ($(all-built-dso:=.jmprel)): New static pattern rule.
13373 (generated): Add those targets.
13374 (localplt-built-dso): New variable.
13375 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13377 * elf/check-localplt.c: File removed.
13379 * scripts/check-execstack.awk: New file.
13380 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13381 (check-execstack-CFLAGS): Variable removed.
13382 ($(objpfx)check-execstack.h): Target removed.
13383 ($(objpfx)execstack-default): New target.
13384 (generated): Add that instead of check-execstack.h.
13385 ($(all-built-dso:=.phdr)): New static pattern rule.
13386 (generated): Add those targets.
13387 * elf/check-execstack.c: File removed.
13389 * scripts/check-textrel.awk: New file.
13390 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13391 (check-textrel-CFLAGS): Variable removed.
13392 (all-built-dso): Use := to define.o
13393 ($(all-built-dso:=.dyn)): New static pattern rule.
13394 (generated): Add those targets.
13395 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13396 * config.make.in (READELF): New substituted variable.
13397 * elf/check-textrel.c: File removed.
13399 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13401 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13403 * conform/data/ctype.h-data [C99-based standards] (isblank):
13405 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13406 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13407 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13408 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13409 Specify type. Require positive value.
13410 (EILSEQ): Likewise.
13411 (ERANGE): Likewise.
13412 [ISO || POSIX] (EILSEQ): Do not expect.
13413 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13414 Specify type. Require positive value.
13415 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13416 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13417 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13418 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13419 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13420 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13421 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13422 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13423 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13424 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13425 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13426 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13427 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13428 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13429 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13430 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13431 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13432 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13433 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13434 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13435 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13436 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13437 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13438 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13439 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13440 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13449 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13489 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13490 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13491 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13493 (FLT_ROUNDS): Expect as macro, not constant.
13494 (FLT_MANT_DIG): Use macro-int-constant.
13495 (DBL_MANT_DIG): Likewise.
13496 (LDBL_MANT_DIG): Likewise.
13497 (FLT_DIG): Likewise.
13498 (DBL_DIG): Likewise.
13499 (LDBL_DIG): Likewise.
13500 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13501 (DBL_MIN_EXP): Likewise.
13502 (LDBL_MIN_EXP): Likewise.
13503 (FLT_MAX_EXP): Use macro-int-constant.
13504 (DBL_MAX_EXP): Likewise.
13505 (LDBL_MAX_EXP): Likewise.
13506 (FLT_MAX_10_EXP): Likewise.
13507 (DBL_MAX_10_EXP): Likewise.
13508 (LDBL_MAX_10_EXP): Likewise.
13509 (FLT_MAX): Use macro-constant.
13510 (DBL_MAX): Likewise.
13511 (LDBL_MAX): Likewise.
13512 (FLT_EPSILON): Use macro-constant. Give upper bound.
13513 (DBL_EPSILON): Likewise.
13514 (LDBL_EPSILON): Likewise.
13515 (FLT_MIN): Likewise.
13516 (DBL_MIN): Likewise.
13517 (LDBL_MIN): Likewise.
13518 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13519 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13520 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13521 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13522 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13523 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13524 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13525 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13526 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13527 [ISO11] (FLT_TRUE_MIN): Likewise.
13528 [ISO11] (LDBL_TRUE_MIN): Likewise.
13529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13530 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13531 (SCHAR_MIN): Use macro-int-constant. Specify type.
13532 (SCHAR_MAX): Likewise.
13533 (UCHAR_MAX): Likewise.
13534 (CHAR_MIN): Likewise.
13535 (CHAR_MAX): Likewise.
13536 (MB_LEN_MAX): Use macro-int-constant.
13537 (SHRT_MIN): Use macro-int-constant. Specify type.
13538 (SHRT_MAX): Likewise.
13539 (USHRT_MAX): Likewise.
13540 (INT_MAX): Likewise.
13541 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13543 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13545 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13547 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13548 bound negative. Suffix upper bound with "L".
13549 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13551 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13553 [C99-based standards] (LLONG_MAX): Likewise.
13554 [C99-based standards] (ULLONG_MAX): Likewise.
13555 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13557 [ISO11] (max_align_t): Require type.
13558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13560 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13561 from $CFLAGS, without defining away __attribute__ calls.
13562 (checknamespace): Use $CFLAGS_namespace.
13564 * conform/conformtest.pl (@keywords): Only include C99 keywords
13565 for standards based on C99 or C11.
13567 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13569 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13572 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13573 usability of symbols in #if.
13575 * conform/conformtest.pl: If macro or constant types start
13576 "promoted:", expect the symbol to be of the following type
13577 promoted by the integer promotions.
13579 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13580 in one place. Also handle "macro-constant".
13582 * conform/conformtest.pl: Only accept expected macro values with
13583 "==". Parse all "macro" lines in one place.
13584 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13586 * conform/conformtest.pl: Handle braced types on "constant" lines
13587 instead of handling "typed-constant".
13588 * conform/data/signal.h-data: Use "constant" instead of
13591 * conform/conformtest.pl: Handle "optional-" at start of lines in
13592 one place rather than duplicating several cases. Handle each
13593 format of "macro" line with initial "optional-".
13595 * conform/conformtest.pl: Only accept expected constant or
13596 optional-constant values with "==". Parse all "constant" lines in
13597 one place. Parse all "optional-constant" lines in one place.
13598 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13599 * conform/data/fmtmsg.h-data: Likewise.
13600 * conform/data/netinet/in.h-data: Likewise.
13601 * conform/data/tar.h-data: Likewise.
13602 * conform/data/limits.h-data: Use "==" form on "constant" and
13603 "optional-constant" lines.
13605 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13606 Use -std=c99 for XOPEN2K.
13607 (@knownproblems): Remove.
13608 (newtoken): Don't check %isknown.
13610 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13611 Do not expect macro.
13612 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13613 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13614 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13615 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13616 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13617 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13618 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13619 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13620 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13621 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13622 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13623 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13624 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13625 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13626 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13627 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13628 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13629 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13630 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13631 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13632 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13633 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13634 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13636 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13637 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13638 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13639 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13640 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13641 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13642 [XPG3] (acosh): Likewise.
13643 [XPG3] (asinh): Likewise.
13644 [XPG3] (atanh): Likewise.
13645 [XPG3] (cbrt): Likewise.
13646 [XPG3] (expm1): Likewise.
13647 [XPG3] (ilogb): Likewise.
13648 [XPG3] (log1p): Likewise.
13649 [XPG3] (logb): Likewise.
13650 [XPG3] (nextafter): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13653 [XPG3] (remainder): Likewise.
13654 [XPG3] (rint): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13662 [UNIX98 || XOPEN2K] (scalb): Expect.
13663 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13664 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13801 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13802 _XOPEN_SOURCE_EXTENDED for XPG4.
13804 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13806 * Makeconfig (localtime): Remove variable.
13807 (inst_localtime-file): Likewise.
13809 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13830 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13834 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13835 comparisons to determine direction to adjust input.
13836 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13837 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13838 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13840 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13844 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13845 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13847 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13849 * math/libm-test.inc (nexttoward_test): Add more tests.
13851 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13854 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13855 in version GLIBC_2.1, not GLIBC_2.0.
13856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13859 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13862 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13864 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13865 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13866 * math/libm-test.inc (acos_test): Add more tests.
13867 (asin_test): Likewise.
13868 * sysdeps/i386/fpu/libm-test-ulps: Update.
13869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13872 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13874 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13875 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13876 * math/libm-test.inc (acos_test_tonearest): New function.
13877 (acos_test_towardzero): Likewise.
13878 (acos_test_downward): Likewise.
13879 (acos_test_upward): Likewise.
13880 (asin_test_tonearest): Likewise.
13881 (asin_test_towardzero): Likewise.
13882 (asin_test_downward): Likewise.
13883 (asin_test_upward): Likewise.
13884 (main): Call the new functions.
13885 * sysdeps/i386/fpu/libm-test-ulps: Update.
13886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13890 * math/e_exp10.c: Include <float.h>.
13891 (__ieee754_exp10): Handle underflow here rather than multiplying
13892 large negative argument by M_LN10.
13893 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13895 * math/e_exp10l.c: Include <float.h>.
13896 (__ieee754_exp10l): Handle underflow here rather than multiplying
13897 large negative argument by M_LN10l.
13898 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13899 spurious overflow exception on underflow.
13901 2012-04-29 Marek Polacek <polacek@redhat.com>
13903 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13904 (__fortify_function): New macro.
13905 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13906 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13907 __extern_always_inline.
13908 * libio/bits/stdio2.h: Likewise.
13909 * libio/bits/stdio.h: Likewise.
13910 * string/string.h: Likewise.
13911 * string/bits/string3.h: Likewise.
13912 * include/stdio.h: Likewise.
13913 * stdlib/bits/stdlib.h: Likewise.
13914 * stdlib/stdlib.h: Likewise.
13915 * rt/bits/mqueue2.h: Likewise.
13916 * rt/mqueue.h: Likewise.
13917 * posix/bits/unistd.h: Likewise.
13918 * posix/unistd.h: Likewise.
13919 * io/bits/poll2.h: Likewise.
13920 * io/bits/fcntl2.h: Likewise.
13921 * io/fcntl.h: Likewise.
13922 * io/sys/poll.h: Likewise.
13923 * misc/bits/syslog.h: Likewise.
13924 * misc/bits/syslog-ldbl.h: Likewise.
13925 * misc/sys/syslog.h: Likewise.
13926 * socket/bits/socket2.h: Likewise.
13927 * socket/sys/socket.h: Likewise.
13928 * debug/tst-chk1.c: Likewise.
13929 * wcsmbs/bits/wchar2.h: Likewise.
13930 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13931 * wcsmbs/wchar.h: Likewise.
13933 2012-04-29 Andreas Jaeger <aj@suse.de>
13935 * Makerules (tests): Remove enable-check-abi protection.
13936 (check-abi-warn): Remove.
13937 (check-abi-%): Remove check-abi-warn usage.
13939 * configure.in: Remove check-abi configure option.
13940 * configure: Regenerated.
13941 * config.make.in (enable-check-abi): Remove.
13943 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13946 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13947 double functions to double *_finite functions.
13950 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13951 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13953 * stdio-common/Makefile (tests): Add tst-sprintf3.
13954 * stdio-common/tst-sprintf3.c: New file.
13956 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13957 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13959 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13961 * conform/conformtest.pl: Remove duplicate typed-constant
13964 2012-04-28 David S. Miller <davem@davemloft.net>
13966 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13967 (check-abi-%): Remove AWK script prerequisite and explicit
13969 (check-abi): Rewrite to just diff the symlist with the abilist.
13970 (config-tls, config-abi-config): Delete, no longer used.
13971 (update-abi-%): Remove AWK script and explicit abilist directory.
13972 (update-abi): Rewrite to simply compare and conditionally copy the
13973 symlist and the sysdep abilist file. Remove update-abi-config
13975 * abilist/ld.abilist: Remove.
13976 * abilist/libBrokenLocale.abilist: Remove.
13977 * abilist/libanl.abilist: Remove.
13978 * abilist/libcrypt.abilist: Remove.
13979 * abilist/libdl.abilist: Remove.
13980 * abilist/librt.abilist: Remove.
13981 * abilist/libthread_db.abilist: Remove.
13982 * abilist/libutil.abilist: Remove.
13983 * scripts/extract-abilist.awk: Remove.
13984 * scripts/merge-abilist.awk: Remove.
13985 * sysdeps/generic/libcidn.abilist: New file.
13986 * sysdeps/generic/libnss_compat.abilist: New file.
13987 * sysdeps/generic/libnss_db.abilist: New file.
13988 * sysdeps/generic/libnss_dns.abilist: New file.
13989 * sysdeps/generic/libnss_files.abilist: New file.
13990 * sysdeps/generic/libnss_hesiod.abilist: New file.
13991 * sysdeps/generic/libnss_nis.abilist: New file.
13992 * sysdeps/generic/libnss_nisplus.abilist: New file.
13993 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13994 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13995 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13998 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13999 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14000 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14001 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14002 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14003 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14004 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14005 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14007 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14008 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14009 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14010 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14012 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14013 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14014 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14015 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14016 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14017 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14019 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14020 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14021 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14023 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14126 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14127 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14128 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14131 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14132 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14133 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14134 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14135 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14136 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14137 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14138 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14139 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14191 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14193 * conform/conformtest.pl: Fix typo in handling typed-constant from
14196 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14198 * README: Cut down references to pre-2.6 Linux kernels and
14199 Linuxthreads. Update lists of configurations in libc and ports
14200 and sort alphabetically. Say "or newer" with Linux kernel version
14203 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14205 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14208 * math/libm-test.inc (logb_test_downward): New test to expose
14209 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14212 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14215 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14217 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14218 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14220 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14222 * sysdeps/unix/i386/brk.S: Remove file.
14223 * sysdeps/unix/i386/dl-brk.S: Likewise.
14224 * sysdeps/unix/i386/pipe.S: Likewise.
14225 * sysdeps/unix/i386/sigreturn.S: Likewise.
14226 * sysdeps/unix/i386/syscall.S: Likewise.
14227 * sysdeps/unix/i386/vfork.S: Likewise.
14228 * sysdeps/unix/i386/wait.S: Likewise.
14230 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14231 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14233 * configure.in (arm*-none*): Do not allow without
14234 --enable-hacker-mode.
14235 (netbsd*): Remove case setting base_os.
14236 (386bsd*): Likewise.
14237 (freebsd*): Likewise.
14240 (sunos*): Likewise.
14241 (ultrix*): Likewise.
14242 (newsos*): Likewise.
14243 (dynix*): Likewise.
14249 (minix*): Likewise.
14250 (irix4*): Likewise.
14251 (irix6*): Likewise.
14252 (solaris[2-9]*): Likewise.
14254 * configure: Regenerated.
14256 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14259 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14260 overflow or cancellation in calculating denominator.
14261 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14263 down expression to avoid unexpected rounding in newer GCCs.
14264 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14266 2012-04-26 David S. Miller <davem@davemloft.net>
14268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14269 long-double compat symbols.
14270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14284 2012-04-25 David S. Miller <davem@davemloft.net>
14286 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14287 HWCAP_* values only after the memory barriers have been defined.
14288 (atomic_full_barrier): Define.
14289 (atomic_read_barrier): Define.
14290 (atomic_write_barrier): Define.
14292 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14294 * shlib-versions: Add libgcc_s version information.
14295 * sysdeps/generic/libgcc_s.h: Remove.
14296 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14298 * sysdeps/gnu/unwind-resume.c: Likewise.
14299 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14301 2012-04-25 David S. Miller <davem@davemloft.net>
14303 * sysdeps/unix/sparc/brk.S: Delete.
14304 * sysdeps/unix/sparc/dl-brk.S: Delete.
14305 * sysdeps/unix/sparc/pipe.S: Delete.
14306 * sysdeps/unix/sparc/sysdep.S: Delete.
14307 * sysdeps/unix/sparc/sysdep.h: Delete.
14308 * sysdeps/unix/sparc/vfork.S: Delete.
14309 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14310 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14311 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14312 ret_ERRVAL, r0, r1, MOVE): Define.
14313 (JUMPTARGET): Remove.
14314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14315 sysdeps/unix/sparc/sysdep.h
14316 (ENTRY, END): Remove.
14317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14319 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14321 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14322 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14325 * timezone/README: Update upstream location and email address for
14327 * timezone/zdump.c: Update from tzcode 2012b.
14328 * timezone/zic.c: Likewise.
14330 * configure.in (libc_cv_as_needed): Remove test.
14331 * configure: Regenerated.
14332 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14333 conditional definition.
14334 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14335 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14336 * config.make.in (have-as-needed): Remove variable.
14338 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14339 Paul Pluzhnikov <ppluzhnikov@google.com>
14341 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14344 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14346 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14347 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14348 * sysdeps/sh/strlen.S: Likewise.
14350 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14352 * sysdeps/unix/fork.S: Remove file.
14353 * sysdeps/unix/i386/fork.S: Likewise.
14354 * sysdeps/unix/sparc/fork.S: Likewise.
14356 * sysdeps/unix/system.c: Remove file.
14357 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14359 * sysdeps/unix/getegid.S: Remove file.
14360 * sysdeps/unix/geteuid.S: Likewise.
14362 2012-04-24 Roland McGrath <roland@hack.frob.com>
14364 * scripts/check-localplt.awk: New file.
14365 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14367 * scripts/data/localplt-generic.data: Add a comment.
14369 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14370 NODE when __dir_mkfile failed.
14371 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14372 Reported by Ludovic Courtès <ludo@gnu.org>.
14374 2012-04-24 Andreas Jaeger <aj@suse.de>
14376 * Makerules (common-clean): Also remove gen-as-const-headers
14379 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14381 * Makerules (native-compile): Do not change working directory for
14382 build. Use $(OUTPUT_OPTION) in command.
14383 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14385 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14388 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14389 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14390 * math/libm-test.inc (floor_test): Add more tests.
14391 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14393 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14395 * sysdeps/unix/getdents.c: Remove file.
14396 * sysdeps/unix/sysv/getdents.c: Likewise.
14397 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14399 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14400 sysdeps/unix/mman/syscalls.list.
14402 (mprotect): Likewise.
14404 (munmap): Likewise.
14405 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14406 * sysdeps/unix/mman/syscalls.list: Remove.
14407 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14409 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14410 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14411 * configure: Regenerated.
14412 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14413 $(libgcc_s_suffix).
14414 * config.make.in (libgcc_s_suffix): Remove variable.
14416 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14418 * sysdeps/unix/sysv/gethostname.c: Move to ...
14419 * sysdeps/posix/gethostname.c: ... here.
14421 * sysdeps/unix/execve.S: Remove file.
14423 * sysdeps/unix/_exit.S: Remove file.
14425 2012-04-23 Andreas Jaeger <aj@suse.de>
14428 * manual/Makefile: Remove make dist support, there's no
14429 need for a stand-alone documentation tar ball.
14430 (TEXI2DVI): Define always, it's not in Makeconfig.
14433 (edition): Removed.
14434 (glibc-doc-$(edition).tar): Removed
14438 (ETAGS): Remove, it's in Makeconfig.
14439 (move-if-change): Remove, it's in Makeconfig.
14441 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14444 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14445 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14446 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14447 (strtod_l, strtof_l, strtold_l): Remove __wur.
14448 It is not necessarily an error to ignore strtol's return value.
14449 One can reliably look at the stored endptr to decide whether
14450 the number had valid syntax.
14452 2012-04-21 Andreas Jaeger <aj@suse.de>
14455 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14457 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14459 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14460 * sysdeps/unix/sysv/Versions: Remove file.
14462 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14467 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14471 version from __vm86.
14473 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14475 * sysdeps/unix/common/lxstat.c: Remove file.
14476 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14478 * sysdeps/unix/sysv/Makefile: Remove file.
14480 * sysdeps/unix/sysv/direct.h: Remove file.
14482 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14483 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14484 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14485 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14486 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14487 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14488 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14490 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14492 * sysdeps/unix/xmknod.c: Remove file.
14493 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14495 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14497 * sysdeps/unix/sysv/i386/time.S: Remove file.
14499 * sysdeps/unix/fxstat.c: Remove file.
14500 * sysdeps/unix/xstat.c: Likewise.
14501 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14503 * sysdeps/unix/sysv/sigaction.c: Remove file.
14505 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14506 (sysdep_headers): Remove variable.
14507 [termio.h not in sysdep_headers] (generated): Likewise.
14508 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14509 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14510 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14511 * sysdeps/unix/sysv/tcflow.c: Likewise.
14512 * sysdeps/unix/sysv/tcflush.c: Likewise.
14513 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14514 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14515 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14516 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14517 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14519 * sysdeps/unix/siglist.c: Remove file.
14521 * sysdeps/unix/getppid.S: Remove file.
14523 * sysdeps/unix/mkdir.c: Remove file.
14524 * sysdeps/unix/rmdir.c: Likewise.
14526 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14528 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14530 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14531 errlist-compat value.
14533 2012-04-18 David S. Miller <davem@davemloft.net>
14535 * sysdeps/generic/memcopy.h (reg_char): Delete.
14536 * debug/strcat_chk.c: Use char, not reg_char.
14537 * debug/strcpy_chk.c: Likewise.
14538 * debug/strncat_chk.c: Likewise.
14539 * debug/strncpy_chk.c: Likewise.
14540 * string/memchr.c: Likewise.
14541 * string/memrchr.c: Likewise.
14542 * string/rawmemchr.c: Likewise.
14543 * string/strcat.c: Likewise.
14544 * string/strchr.c: Likewise.
14545 * string/strchrnul.c: Likewise.
14546 * string/strcmp.c: Likewise.
14547 * string/strcpy.c: Likewise.
14548 * string/strncat.c: Likewise.
14549 * string/strncmp.c: Likewise.
14550 * string/strncpy.c: Likewise.
14552 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14554 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14555 __builtin_memcopy is called when src and dest ranges are known to not
14558 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14560 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14561 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14562 fwd_align_merge macro call.
14563 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14564 bwd_align_merge macro call.
14565 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14567 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14570 bwd_align_merge macros.
14571 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14572 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14573 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14575 2012-04-18 David S. Miller <davem@davemloft.net>
14577 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14579 2012-04-18 Andreas Jaeger <aj@suse.de>
14582 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14583 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14584 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14586 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14587 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14590 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14591 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14592 Adjust for changed ldbl-128 files.
14594 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14595 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14596 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14598 2012-04-17 David S. Miller <davem@davemloft.net>
14600 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14602 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14604 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14605 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14606 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14607 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14608 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14609 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14611 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14614 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14615 * math/libm-test.inc: Add ilogb errno and exception tests.
14616 * math/w_ilogb.c: New file: ilogb wrapper.
14617 * math/w_ilogbf.c: New file: ilogbf wrapper.
14618 * math/w_ilogbl.c: New file: ilogbl wrapper.
14619 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14620 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14621 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14622 exception being thrown with 0.0 as argument.
14623 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14624 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14625 exception being thrown with 0.0 as argument.
14626 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14627 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14628 exception being thrown with 0.0 as argument.
14629 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14630 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14631 exception being thrown with 0.0 as argument.
14632 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14633 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14634 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14635 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14636 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14637 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14638 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14639 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14640 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14642 2012-04-17 Petr Baudis <pasky@ucw.cz>
14644 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14647 2012-04-16 Marek Polacek <polacek@redhat.com>
14649 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14651 2012-04-16 Marek Polacek <polacek@redhat.com>
14653 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14654 operands of fdivp instruction.
14656 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14658 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14659 * elf/tst-auditmod3b.c: Likewise.
14660 * elf/tst-auditmod4b.c: Likewise.
14661 * elf/tst-auditmod5b.c: Likewise.
14662 * elf/tst-auditmod6b.c: Likewise.
14663 * elf/tst-auditmod6c.c: Likewise.
14664 * elf/tst-auditmod7b.c: Likewise.
14665 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14666 * sysdeps/x86_64/preconfigure.in: Likewise.
14667 * sysdeps/x86_64/preconfigure: Regenerated.
14669 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14671 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14674 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14676 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14677 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14679 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14682 * locale/iso-639.def: Fix gl language name. Spotted by
14685 2012-04-12 Roland McGrath <roland@hack.frob.com>
14688 * libio/libio.h (__io_write_fn): Update comment.
14690 2012-04-12 Petr Baudis <pasky@ucw.cz>
14693 * stdio.texi (Hook Functions): The user provided writer function
14694 is not allowed to return -1.
14696 2012-04-11 David S. Miller <davem@davemloft.net>
14698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14700 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14702 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14703 Add a leading slash to rtkaio.
14705 2012-04-11 Jim Meyering <meyering@redhat.com>
14708 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14709 It is not necessarily an error to ignore fwrite's return
14710 value. One can reliably use ferror to test for errors after
14713 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14715 * bits/types.h (__snseconds_t): New type.
14716 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14718 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14720 (__SNSECONDS_T_TYPE): Likewise.
14721 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14722 (__SNSECONDS_T_TYPE): Likewise.
14723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14724 (__SNSECONDS_T_TYPE): Likewise.
14726 2012-04-10 Andreas Jaeger <aj@suse.de>
14729 * manual/time.texi (Processor Time): Return type of times is
14730 elapsed real time since an arbitrary point in the past.
14731 (CPU Time): Move CLK_TCK from here...
14732 (Processor Time): ...to here. Correct description.
14733 * manual/conf.texi (Constants for Sysconf): Correct description of
14736 2012-04-10 David S. Miller <davem@davemloft.net>
14739 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14740 where the is a gap between DT_REL(A) and DT_JMPREL.
14742 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14744 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14745 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14746 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14748 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14750 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14751 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14752 (dl_main): Handle --inhibit-cache.
14753 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14755 * elf/dl-load.c (_dl_map_object): Use it.
14756 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14758 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14761 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14762 (__ieee754_powl): Saturate large exponents rather than testing for
14763 overflow of y*log2(x).
14764 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14765 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14769 * math/s_ctan.c: Include <float.h>.
14770 (__ctan): Avoid internal overflow or cancellation in calculating
14772 * math/s_ctanf.c: Likewise.
14773 * math/s_ctanl.c: Likewise.
14774 * math/s_ctanh.c: Likewise.
14775 * math/s_ctanhf.c: Likewise.
14776 * math/s_ctanhl.c: Likewise.
14777 * math/libm-test.inc (ctan_test): Add more tests.
14778 (ctanh_test): Likewise.
14779 * sysdeps/i386/fpu/libm-test-ulps: Update.
14780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14782 2012-04-09 Andreas Jaeger <aj@suse.de>
14785 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14786 is an optional BSD extension.
14789 * manual/stdio.texi (Opening Streams): Document additional fopen
14792 2012-04-09 Roland McGrath <roland@hack.frob.com>
14794 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14795 %eax without telling the compiler.
14797 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14800 * manual/install.texi: Use sourceware.org.
14802 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14805 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14806 (__ieee754_pow): Generate overflow and underflow using huge*huge
14807 and tiny*tiny rather than just returning constant infinity or zero
14808 for large exponents.
14809 * math/libm-test.inc (pow_test): Require overflow exceptions for
14810 applicable cases of large exponents.
14813 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14814 (__ieee754_pow): Use iterative multiplication algorithm only for
14815 integer exponents with absolute value below 1024. Check for odd
14816 integer exponents when using algorithm for real exponents.
14817 * math/libm-test.inc (pow_test): Add more tests.
14818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14820 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14823 * math/libm-test.inc (exp_test): Do not allow overflow exception
14826 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14829 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14830 instead of __kernel_standard_f.
14832 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14834 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14835 * sysdeps/x86_64/memset_chk.S: Likewise.
14837 2012-04-08 Andreas Jaeger <aj@suse.de>
14840 * manual/startup.texi (Environment Access): Describe return value
14841 for putenv and setenv.
14844 * manual/filesys.texi (Directory Entries): Add description for
14848 * manual/filesys.texi (Directory Entries): Clarify that it's file
14849 system not operating system in the description of DT_UNKNOWN.
14852 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14854 2012-04-08 Stephen Compall <s11@member.fsf.org>
14857 * manual/llio.texi (Opening and Closing Files): Add cross
14858 reference to explain mode argument.
14860 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14862 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14863 * sysdeps/x86_64/memset_chk.S: Likewise.
14865 2012-04-07 David S. Miller <davem@davemloft.net>
14867 * elf/elf.h (R_SPARC_WDISP10): Define.
14868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14871 R_SPARC_SIZE64 and R_SPARC_H34.
14873 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14875 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14876 conditions and remove no longer applicable assertion.
14878 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14880 * bits/byteswap.h: Include <features.h>.
14881 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14882 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14884 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14886 * bits/byteswap.h (__bswap_16): Removed.
14887 Include <bits/byteswap-16.h> to get __bswap_16.
14888 * sysdeps/i386/bits/byteswap.h: Likewise.
14889 * sysdeps/s390/bits/byteswap.h: Likewise.
14890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14891 * bits/byteswap-16.h: New file.
14892 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14893 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14894 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14895 * string/Makefile (headers): Add bits/byteswap-16.h.
14897 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14900 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14902 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14903 * nss/tst-nss-static.c: New.
14905 2012-04-06 Robert Millan <rmh@gnu.org>
14908 * manual/llio.texi (File Position Primitive): lseek
14909 refers to WHENCE when it really means OFFSET.
14911 2012-04-06 Andreas Jaeger <aj@suse.de>
14913 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14914 strncmp declarations.
14916 * abilist/libc.abilist: Add __poll and __ppoll.
14918 2012-04-05 David S. Miller <davem@davemloft.net>
14920 * scripts/check-local-headers.sh: Accept a host triplet in the
14921 path matched by the exclude regexp.
14923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14925 * sysdeps/powerpc/powerpc32/dl-machine.h
14926 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14927 * sysdeps/s390/s390-32/dl-machine.h
14928 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14929 * sysdeps/sparc/sparc32/dl-machine.h
14930 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14931 * sysdeps/sparc/sparc64/dl-machine.h
14932 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14934 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14936 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14937 undefined symbol errors.
14939 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14942 2012-04-05 Michael Matz <matz@suse.de>
14945 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14947 2012-04-05 Andreas Jaeger <aj@suse.de>
14950 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14953 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14956 which ROUND is no valid rounding mode.
14958 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14960 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14962 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14964 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14966 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14967 an exception using FPU order intentionally.
14969 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14971 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14972 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14973 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14974 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14976 2012-04-05 Simon Josefsson <simon@josefsson.org>
14979 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14980 EINVAL when BUFLEN is too smal.
14982 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14985 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14986 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14988 2012-04-03 Andreas Jaeger <aj@suse.de>
14991 * manual/setjmp.texi (System V contexts): Fix sentence.
14994 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14995 New macro for this case.
14996 [!__GNUC__] (__bswap_64): New inline function for this case.
14997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14998 * bits/byteswap.h: Likewise.
14999 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15000 ull, guard with __GLIBC_HAVE_LONG_LONG.
15002 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15003 __GLIBC_HAVE_LONG_LONG.
15005 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15006 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15008 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15011 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15012 inptr and inend, rather than using last_ch.
15014 2012-04-02 David S. Miller <davem@davemloft.net>
15016 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15017 * stdio-common/printf-parse.h (read_int): Change return type to
15018 'int', return -1 on INT_MAX overflow.
15019 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15020 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15021 overflows INT_MAX. Check for overflow of in-format-string precision
15022 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15023 SIZE_MAX not INT_MAX for integer overflow test.
15024 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15025 skip the construct in the format string but do not record anything.
15026 * stdio-common/bug22.c: Adjust to test both width/prevision
15027 INT_MAX overflow as well as total length INT_MAX overflow. Check
15028 explicitly for proper errno values.
15030 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15032 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15034 * string/test-strcmp.c [! WIDE]: Likewise.
15035 * time/tst-mktime2.c: Likewise for INT_MAX.
15036 * string/test-string.h: #include <sys/param.h> for MIN.
15038 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15039 * sysdeps/i386/init-first.c (init): Likewise.
15040 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15041 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15042 * sysdeps/sh/init-first.c (init): Likewise.
15044 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15046 * po/ru.po: Update from translation team.
15047 * po/vi.po: Likewise.
15049 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15051 * resolv/nss_dns/dns-host.c: Merge copyright years.
15053 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15056 Optimize memcpy with prefetch if
15057 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15058 src, dst pointers have unequal 16 byte alignments.
15060 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15063 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15064 from a CNAME entry and return the minimum ttl for the query.
15065 (gaih_getanswer_slice): Likewise.
15067 2012-03-30 Jeff Law <law@redhat.com>
15069 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15071 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15072 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15074 * resolv/nss_dns/dns-host.c: Update copyright year.
15076 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15078 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15079 requests to save a system call. Fix check that all bytes are sent.
15081 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15082 comments for sendmmsg.
15084 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15087 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15088 with only 1 character between 0x0041 and 0x01b0.
15089 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15090 * wcsmbs/tst-mbsnrtowcs.c: New file.
15092 2012-03-29 David S. Miller <davem@davemloft.net>
15094 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15095 small copies by hand.
15097 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15100 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15101 _nss_compat_initgroups_dyn): Fall back to malloc/free
15102 for large group memberships.
15104 2012-03-28 David S. Miller <davem@davemloft.net>
15106 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15107 that branches into memcpy.
15108 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15109 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15111 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15114 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15115 implementation too.
15116 * sysdeps/sparc/mempcpy.S: New file.
15118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15119 the IFUNC routine in the libc case.
15120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15122 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15123 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15124 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15125 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15126 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15127 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15128 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15129 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15131 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15132 loop to 256 bytes instead of 64 bytes and fix test signedness.
15134 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15135 * sysdeps/sparc/sparc32/Makefile: rather than here...
15136 * sysdeps/sparc/sparc64/Makefile: and here.
15138 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15140 * malloc/mallocbug.c: Avoid warnings about unused variables.
15142 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15145 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15146 in the right place. Discard and retry query if response is
15147 larger than input buffer size.
15149 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15155 x for large integer exponent.
15156 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15157 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15158 sign of result as needed afterwards.
15159 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15160 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15161 result for underflowing pow the same as for overflow.
15162 (__kernel_standard_l): Handle powl overflow and underflow here
15163 rather than calling __kernel_standard.
15164 * math/libm-test.inc (pow_test): Add more tests.
15179 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15180 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15181 (__kernel_standard_l): New function.
15182 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15184 * math/w_acosl.c (__acosl): Likewise.
15185 * math/w_asinl.c (__asinl): Likewise.
15186 * math/w_atan2l.c (__atan2l): Likewise.
15187 * math/w_atanhl.c (__atanhl): Likewise.
15188 * math/w_coshl.c (__coshl): Likewise.
15189 * math/w_exp10l.c (__exp10l): Likewise.
15190 * math/w_exp2l.c (__exp2l): Likewise.
15191 * math/w_fmodl.c (__fmodl): Likewise.
15192 * math/w_hypotl.c (__hypotl): Likewise.
15193 * math/w_j0l.c (__j0l, __y0l): Likewise.
15194 * math/w_j1l.c (__j1l, __y1l): Likewise.
15195 * math/w_jnl.c (__jnl, __ynl): Likewise.
15196 * math/w_lgammal.c (__lgammal): Likewise.
15197 * math/w_log10l.c (__log10l): Likewise.
15198 * math/w_log2l.c (__log2l): Likewise.
15199 * math/w_logl.c (__logl): Likewise.
15200 * math/w_powl.c (__powl): Likewise.
15201 * math/w_remainderl.c (__remainderl): Likewise.
15202 * math/w_scalbl.c (sysv_scalbl): Likewise.
15203 * math/w_sinhl.c (__sinhl): Likewise.
15204 * math/w_sqrtl.c (__sqrtl): Likewise.
15205 * math/w_tgammal.c (__tgammal): Likewise.
15206 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15207 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15208 * math/libm-test.inc (acos_test): Add more tests.
15209 (acosh_test): Likewise.
15210 (asin_test): Likewise.
15211 (atanh_test): Likewise.
15212 (exp_test): Likewise.
15213 (exp10_test): Likewise.
15214 (exp2_test): Likewise.
15215 (expm1_test): Likewise.
15216 (lgamma_test): Likewise.
15217 (log_test): Likewise.
15218 (log10_test): Likewise.
15219 (log1p_test): Likewise.
15220 (log2_test): Likewise.
15221 (pow_test): Do not allow some spurious overflow exceptions.
15222 (sqrt_test): Add more tests.
15223 (tgamma_test): Likewise.
15224 (y0_test): Likewise.
15225 (y1_test): Likewise.
15226 (yn_test): Likewise.
15228 2012-03-27 Anton Blanchard <anton@samba.org>
15230 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15233 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15236 2012-03-27 David S. Miller <davem@davemloft.net>
15238 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15240 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15241 have-as-vis3 check.
15243 2012-03-27 Andreas Jaeger <aj@suse.de>
15245 * sysdeps/x86_64/elf/configure.in: Moved to ...
15246 * sysdeps/x86_64/configure.in: ... here.
15247 * sysdeps/x86_64/elf/start.S: Moved to ...
15248 * sysdeps/x86_64/start.S: ... here.
15249 * sysdeps/x86_64/elf/configure: Delete.
15251 * sysdeps/x86_64/configure.in: Merge contents from
15252 sysdeps/i386/configure.in (without i686 check).
15254 * sysdeps/i386/elf/Versions: Merge into ...
15255 * sysdeps/i386/Versions: ... this.
15256 * sysdeps/i386/elf/Versions: Delete file.
15257 * sysdeps/i386/elf/start.S: Moved to ...
15258 * sysdeps/i386/start.S: ...here.
15259 * sysdeps/i386/elf/configure.in: Merge into...
15260 * sysdeps/i386/configure.in: ...here.
15261 * sysdeps/i386/elf/configure.in: Delete file.
15262 * sysdeps/i386/elf/configure: Delete file.
15264 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15265 * debug/backtracesyms.c: ... here.
15266 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15267 * debug/backtracesymsfd.c: ... here.
15268 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15269 * sysdeps/generic/ifunc-sel.h: ... here.
15271 * sysdeps/unix/i386/start.c: Delete file.
15272 * sysdeps/unix/sparc/start.c: Delete file.
15273 * sysdeps/unix/start.c: Delete file.
15275 * sysdeps/sh/elf/configure.in: Moved to ...
15276 * sysdeps/sh/configure.in: ... here.
15277 * sysdeps/sh/elf/start.S: Moved to ...
15278 * sysdeps/sh/start.S: ... here.
15279 * sysdeps/sh/elf/configure: Delete file.
15281 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15282 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15283 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15284 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15285 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15286 * sysdeps/powerpc/powerpc64/start.S: here.
15287 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15288 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15289 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15290 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15291 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15293 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15294 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15295 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15296 * sysdeps/powerpc/powerpc32/start.S: ... here.
15297 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15298 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15299 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15301 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15302 * sysdeps/powerpc/ifunc-sel.h: ... here.
15303 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15304 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15306 * sysdeps/sparc/elf/configure.in: Moved to ...
15307 * sysdeps/sparc/configure.in: ... here.
15308 * sysdeps/sparc/elf/configure: Delete file.
15309 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15310 * sysdeps/sparc/sparc32/start.S: ... here.
15311 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15312 * sysdeps/sparc/sparc64/start.S: ... here.
15313 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15314 * sysdeps/sparc/sparc32/Makefile: ... this.
15315 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15316 * sysdeps/sparc/sparc64/Makefile: ... this.
15318 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15319 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15320 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15321 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15322 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15323 * sysdeps/s390/s390-32/setjmp.S: ... here.
15324 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15325 * sysdeps/s390/s390-32/configure.in: ... here.
15326 * sysdeps/s390/s390-32/elf/configure: Delete file.
15327 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15328 * sysdeps/s390/s390-32/start.S: ... here.
15330 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15331 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15332 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15333 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15334 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15335 * sysdeps/s390/s390-64/setjmp.S: ... here.
15336 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15337 * sysdeps/s390/s390-64/configure.in: ... here
15338 * sysdeps/s390/s390-64/elf/configure: Delete file.
15339 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15340 * sysdeps/s390/s390-64/start.S: ... here.
15341 * sysdeps/s390/s390-64/elf/configure: Delete.
15343 * configure.in: Remove support for elf directories in sysdeps.
15345 * configure: Regenerated.
15346 * sysdeps/i386/configure: Regenerated.
15347 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15348 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15349 * sysdeps/s390/s390-32/configure: Regenerated.
15350 * sysdeps/s390/s390-64/configure: Regenerated.
15351 * sysdeps/sh/configure: Regenerated.
15352 * sysdeps/sparc/configure: Regenerated.
15353 * sysdeps/x86_64/configure: Regenerated.
15355 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15360 denormal result into account.
15362 2012-03-25 Roland McGrath <roland@hack.frob.com>
15364 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15365 Reported by Allan McRae <allan@archlinux.org>.
15367 2012-03-23 Jeff Law <law@redhat.com>
15369 * nss/getnssent.c (__nss_getent): Fix typo.
15371 2012-03-23 David S. Miller <davem@davemloft.net>
15373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15375 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15377 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15378 to pad to uint64_t for each field.
15379 (dl_tls_index): Replace unsigned long with uint64_t.
15381 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15382 Paul Pluzhnikov <ppluzhnikov@google.com>
15385 * grp/Makefile (otherlibs): Don't set it.
15386 * inet/Makefile (otherlibs): Likewise.
15387 * login/Makefile (otherlibs): Likewise.
15388 * nscd/Makefile (otherlibs): Likewise.
15389 * posix/Makefile (otherlibs): Likewise.
15390 * pwd/Makefile (otherlibs): Likewise.
15391 * rt/Makefile (otherlibs): Likewise.
15392 * sunrpc/Makefile (otherlibs): Likewise.
15393 * nss/Makefile (otherlibs): Likewise.
15394 Add libnss_files to routines and static-only-routines.
15395 ($(objpfx)getent): Remove rule.
15396 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15397 static-only-routines.
15399 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15402 * math/s_cexp.c: Include <float.h>.
15403 (__cexp): Handle exp result overflowing not necessarily
15404 overflowing both real and imaginary parts of result.
15405 * math/s_cexpf.c: Likewise.
15406 * math/s_cexpl.c: Likewise.
15407 * math/libm-test.inc (cexp_test): Add more tests.
15408 * sysdeps/i386/fpu/libm-test-ulps: Update.
15409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15411 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15413 * include/link.h (ELFW): New macro.
15414 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15415 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15417 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15419 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15422 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15424 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15426 (struct La_x32_retval): Likewise.
15428 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15430 * sysdeps/x86_64/preconfigure.in: New file.
15431 * sysdeps/x86_64/preconfigure: New generated file.
15433 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15436 * math/e_exp2l.c: Include <float.h>.
15437 (__ieee754_exp2l): Handle overflow and underflow cases
15438 separately. Only pass fractional part of argument to
15440 * math/libm-test.inc (exp2_test): Add more tests.
15442 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15443 negating x to take absolute value.
15444 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15446 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15447 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15449 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15450 computing low part if x was negated.
15451 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15453 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15455 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15456 la_x32_gnu_pltexit.
15457 (pltexit): Cast int_retval to ptrdiff_t.
15458 * elf/tst-auditmod3b.c: Likewise.
15459 * elf/tst-auditmod4b.c: Likewise.
15460 * elf/tst-auditmod5b.c: Likewise.
15461 * elf/tst-auditmod6b.c: Likewise.
15462 * elf/tst-auditmod6c.c: Likewise.
15463 * elf/tst-auditmod7b.c: Likewise.
15465 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15466 and x32_gnu_pltexit.
15468 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15469 __ELF_NATIVE_CLASS.
15470 (La_x32_regs): New macro.
15471 (La_x32_retval): Likewise.
15472 (la_x32_gnu_pltenter): New function prototype.
15473 (la_x32_gnu_pltexit): Likewise.
15475 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15482 * configure.in (libc_cv_cc_nofma): Check for option to disable
15483 generation of FMA instructions.
15484 * configure: Regenerate.
15485 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15486 * sysdeps/ieee754/dbl-64/Makefile: New file.
15487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15488 Remove brandred-fma4.
15489 (CFLAGS-brandred-fma4.c): Remove.
15490 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15493 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15496 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15498 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15499 LLONG_MAX != LONG_MAX.
15500 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15501 (_fitoa_word): Likewise.
15502 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15503 LLONG_MAX != LONG_MAX.
15504 * stdio-common/_itowa.h: Include <_itoa.h>.
15505 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15506 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15507 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15508 only if not defined.
15509 (_ITOA_WORD_TYPE): Likewise.
15510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15511 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15513 2012-03-21 David S. Miller <davem@davemloft.net>
15515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15517 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15519 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15520 of x86_64 when setting libc_cv_slibdir, libdir and
15522 * sysdeps/unix/sysv/linux/configure: Regenerated.
15524 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15526 * manual/lang.texi (Old Varargs): Remove section.
15527 (How Variadic): Update menu.
15528 (va_start): Do not mention varargs.h.
15530 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15531 Joseph Myers <joseph@codesourcery.com>
15533 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15535 * configure: Regenerated.
15537 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15539 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15540 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15543 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15546 * Makefile (files-for-dist): Remove NOTES.
15547 (NOTES): Remove rule.
15548 * README: Don't refer to NOTES.
15549 * manual/creature.texi: Don't include macros.texi.
15550 * manual/intro.texi (creature.texi): Remove comment referring to
15553 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15554 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15555 * configure: Regenerated.
15556 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15557 LIBC_TRY_CC_OPTION.
15558 (libc_cv_as_i686): Likewise.
15559 (libc_cv_cc_avx): Likewise.
15560 (libc_cv_cc_sse2avx): Likewise.
15561 (libc_cv_cc_fma4): Likewise.
15562 (libc_cv_cc_novzeroupper): Likewise.
15563 * sysdeps/i386/configure: Regenerated.
15566 * sysdeps/i386/fpu/s_cexp.S: Remove.
15567 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15568 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15569 * math/libm-test.inc (cexp_test): Add more tests.
15570 * sysdeps/i386/fpu/libm-test-ulps: Update.
15571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15573 2012-03-21 Allan McRae <allan@archlinux.org>
15575 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15577 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15580 * math/w_exp2.c: Do not include <float.h>.
15581 (o_threshold, u_threshold): Remove.
15582 (__exp2): Calculate result before checking finiteness and calling
15584 * math/w_exp2f.c: Likewise.
15585 * math/w_exp2l.c: Likewise.
15586 * math/libm-test.inc (exp2_test): Require overflow exception for
15590 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15591 range of signed 64-bit integers before using fistpll. Remove
15592 checks for whether integers fit in mantissa bits.
15593 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15594 the range of signed 32-bit integers before using fistpl. Remove
15595 checks for whether integers fit in mantissa bits.
15596 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15597 (__ieee754_powl): Test for y outside the range of signed 64-bit
15598 integers before using fistpll. Reduce 64-bit values to 63-bit
15600 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15601 divide-by-zero is raised for zero to large negative powers.
15602 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15603 (__ieee754_powl): Test for y outside the range of signed 64-bit
15604 integers before using fistpll. Reduce 64-bit values to 63-bit
15606 * math/libm-test.inc (pow_test): Add more tests.
15608 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15610 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15611 <stdio-common/_itoa.h>.
15612 * debug/segfault.c: Likewise.
15613 * elf/dl-cache.c: Likewise.
15614 * elf/dl-minimal.c: Likewise.
15615 * elf/dl-misc.c: Likewise.
15616 * elf/dl-sysdep.c: Likewise.
15617 * elf/dl-version.c: Likewise.
15618 * elf/rtld.c: Likewise.
15619 * hurd/hurdsock.c: Likewise.
15620 * hurd/lookup-retry.c: Likewise.
15621 * malloc/malloc.c: Likewise.
15622 * malloc/mtrace.c: Likewise.
15623 * nscd/nscd_getgr_r.c: Likewise.
15624 * nscd/nscd_getpw_r.c: Likewise.
15625 * nscd/nscd_getserv_r.c: Likewise.
15626 * posix/getopt_init.c: Likewise.
15627 * posix/wordexp.c: Likewise.
15628 * stdio-common/_itoa.c: Likewise.
15629 * stdio-common/printf_fphex.c: Likewise.
15630 * stdio-common/vfprintf.c: Likewise.
15631 * string/_strerror.c: Likewise.
15632 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15633 * sysdeps/i386/i686/hp-timing.h: Likewise.
15634 * sysdeps/mach/_strerror.c: Likewise.
15635 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15636 * sysdeps/mach/hurd/sethostid.c: Likewise.
15637 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15638 * sysdeps/mach/xpg-strerror.c: Likewise.
15639 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15640 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15641 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15642 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15643 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15644 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15645 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15646 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15647 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15648 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15649 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15650 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15651 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15652 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15653 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15654 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15655 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15656 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15657 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15658 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15659 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15661 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15663 * stdio-common/_itoa.h: Moved to ...
15664 * sysdeps/generic/_itoa.h: Here.
15666 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15668 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15669 instead of "_itoa.h" and "_itowa.h".
15670 * stdio-common/vfprintf.: Likewise.
15672 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15674 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15676 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15677 (__signbit): Likwise.
15678 (llrintf): Likwise.
15681 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15683 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15686 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15688 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15689 OVERFLOW_EXCEPTION_OK.
15690 * math/libm-test.inc ("Philosophy"): Update comment about
15692 (OVERFLOW_EXCEPTION): Define.
15693 (OVERFLOW_EXCEPTION_OK): Likewise.
15694 (INVALID_EXCEPTION_OK): Renumber.
15695 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15696 (IGNORE_ZERO_INF_SIGN): Likewise.
15697 (test_exceptions): Handle FE_OVERFLOW.
15698 (exp10_test): Expect overflow exceptions.
15699 (exp2_test): Likewise.
15700 (expm1_test): Likewise.
15701 (nextafter_test): Likewise.
15702 (pow_test): Likewise.
15703 (scalbn_test): Likewise.
15704 (scalbln_test): Likewise.
15706 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15708 * sysdeps/x86_64/bits/atomic.h
15709 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15711 (atomic_exchange_acq): Likewise.
15712 (__arch_exchange_and_add_body): Likewise.
15713 (__arch_add_body): Likewise.
15714 (atomic_add_negative): Likewise.
15715 (atomic_add_zero): Likewise.
15717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15719 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15720 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15722 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15724 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15725 Check __x86_64__ instead of __WORDSIZE.
15727 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15729 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15731 2012-03-19 David S. Miller <davem@davemloft.net>
15733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15735 * sysdeps/sparc/fpu/fenv_private.h: New file.
15736 * sysdeps/sparc/fpu/math_private.h: Use it.
15737 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15739 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15740 (libc_feholdexcept_setroundl): Remove.
15741 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15743 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15744 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15746 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15748 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15749 int64_t instead of long int.
15750 (INSERT_WORDS64): Likwise.
15752 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15754 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15755 _Unwind_GetCFA return to _Unwind_Ptr first.
15757 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15760 * math/s_clog.c: Include <float.h>.
15761 (__clog): Scale large or subnormal inputs.
15762 * math/s_clogf.c: Likewise.
15763 * math/s_clogl.c: Likewise.
15764 * math/s_clog10.c: Include <float.h>.
15765 (M_LOG10_2): Define.
15766 (__clog10): Scale large or subnormal inputs.
15767 * math/s_clog10f.c: Likewise.
15768 * math/s_clog10l.c: Likewise.
15769 * math/libm-test.inc (clog_test): Add more tests.
15770 (clog10_test): Likewise.
15771 * sysdeps/i386/fpu/libm-test-ulps: Update.
15772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15775 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15777 * math/libm-test.inc (atan2_test): Add another test.
15779 * Makerules (common-objdir-compile): Remove.
15780 * sysdeps/unix/Makefile (config-generated): Do not add
15781 $(unix-generated) to variable.
15782 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15783 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15785 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15787 [generic bits/local_lim.h] (before-compile): Do not append to
15789 [generic bits/local_lim.h] (common-generated): Likewise.
15790 [generic sys/param.h] (before-compile): Do not append to variable.
15791 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15792 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15793 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15794 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15796 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15797 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15798 [generic sys/param.h] ($(addprefix
15799 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15800 [generic sys/param.h] (common-generated): Do not append to
15802 [generic sys/param.h] (sysdep_headers): Likewise.
15803 [generic bits/errno.h] (before-compile): Do not append to
15805 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15807 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15808 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15809 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15810 [generic bits/errno.h] (common-generated): Do not append to
15812 [generic bits/ioctls.h] (before-compile): Do not append to
15814 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15816 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15817 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15818 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15820 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15821 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15822 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15823 [generic bits/ioctls.h] (common-generated): Do not append to
15825 [generic sys/syscall.h] (syscall.h): Remove variable.
15826 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15828 [generic sys/syscall.h] (before-compile): Do not append to
15830 [generic sys/syscall.h] (common-generated): Likewise.
15831 * sysdeps/unix/errnos-tmpl.c: Remove file.
15832 * sysdeps/unix/errnos.awk: Likewise.
15833 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15834 * sysdeps/unix/ioctls.awk: Likewise.
15835 * sysdeps/unix/mk-local_lim.c: Likewise.
15836 * sysdeps/unix/snarf-ioctls: Likewise.
15838 2012-03-19 Richard Henderson <rth@twiddle.net>
15840 * sysdeps/i386/fpu/fenv_private.h: New file.
15841 * sysdeps/i386/fpu/math_private.h: Use it.
15842 (math_opt_barrier, math_force_eval): Remove.
15843 (libc_feholdexcept_setround_53bit): Remove.
15844 (libc_feupdateenv_53bit): Remove.
15845 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15846 (math_opt_barrier, math_force_eval): Remove.
15847 (libc_feholdexcept): Remove.
15848 (libc_feholdexcept_setround): Remove.
15849 (libc_fetestexcept, libc_fesetenv): Remove.
15850 (libc_feupdateenv_test): Remove.
15851 (libc_feupdateenv, libc_feholdsetround): Remove.
15852 (libc_feresetround): Remove.
15854 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15855 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15857 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15858 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15859 (libc_feupdateenv_testl): New.
15860 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15861 (libc_feupdateenv_testf): New.
15862 (libc_feupdateenv): Use libc_feupdateenv_test.
15863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15864 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15866 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15867 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15868 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15869 (libc_feresetround_noex): New.
15870 (libc_feresetround_noexf): New.
15871 (libc_feresetround_noexl): New.
15872 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15873 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15874 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15875 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15880 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15881 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15882 SET_RESTORE_ROUND_NOEX.
15883 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15884 SET_RESTORE_ROUND_NOEXF.
15885 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15886 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15887 (libc_feholdsetroundf): New.
15888 (libc_feresetround, libc_feresetroundf): New.
15890 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15891 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15892 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15894 * sysdeps/generic/math_private.h: Include <fenv.h>.
15895 (default_libc_feholdexcept): New.
15896 (default_libc_feholdexcept_setround): New.
15897 (default_libc_fesetenv, default_libc_feupdateenv): New.
15898 (libc_feholdexcept): Only define if undefined.
15899 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15900 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15901 (libc_feholdexcept_setroundl): Likewise.
15902 (libc_feholdexcept_setround_53bit): Likewise.
15903 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15904 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15905 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15906 (libc_feupdateenv_53bit): Likewise.
15907 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15908 (libc_feholdexcept): Convert from macro to inline function.
15909 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15910 (libc_fesetenv, libc_feupdateenv): Likewise.
15912 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15913 not previously defined.
15914 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15915 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15916 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15917 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15918 * sysdeps/ieee754/flt-32/math_private.h: New file.
15919 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15920 math_private.h below SET_FLOAT_WORD.
15921 (__isnan, __isinf_ns, __finite): Remove.
15922 (__isnanf, __isinf_nsf, __finitef): Remove.
15924 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15928 2012-03-17 David S. Miller <davem@davemloft.net>
15931 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15934 2012-03-16 David S. Miller <davem@davemloft.net>
15936 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15940 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15942 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15943 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15944 sysdep_routines when subdir is sysvipc.
15945 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15946 __getshmlba helper.
15948 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15950 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15952 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15955 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15957 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15958 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15959 (__lround): Renamed to ...
15960 (__llround): This. Replace long int with long long int.
15961 Define lround functions as aliases of llround functions.
15962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15964 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15966 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15967 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15968 adresses to uintptr_t. Replace "long int" and "unsigned long
15969 int" with "greg_t" on va_arg.
15971 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15973 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15974 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15976 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15977 Move e_machine check before EI_CLASS check. Handle x32
15978 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15979 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15980 SKIP_EM_IA_64 and include
15981 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15983 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15984 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15985 (add_system_dir): New macro.
15987 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15988 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15990 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16001 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16003 * math/w_j0f.c (j0f): Likewise.
16005 * math/w_j0l.c (__j0l): Likewise.
16007 * math/w_j1.c (j1): Likewise.
16009 * math/w_j1f.c (j1f): Likewise.
16011 * math/w_j1l.c (__j1l): Likewise.
16013 * math/w_jn.c (jn): Likewise.
16015 * math/w_jnf.c (jnf): Likewise.
16017 * math/w_jnl.c (__jnl): Likewise.
16019 * math/libm-test.inc (j0_test): Add more tests.
16020 (j1_test): Likewise.
16021 (jn_test): Likewise. Add trailing semicolon to existing test.
16022 (y0_test): Likewise.
16023 (y1_test): Likewise.
16024 * sysdeps/i386/fpu/libm-test-ulps: Update.
16025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16029 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16030 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16031 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16032 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16033 (__tanl): Set errno for infinite argument.
16034 * sysdeps/i386/fpu/mptan.c: Remove.
16035 * sysdeps/i386/fpu/s_tan.S: Likewise.
16036 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16037 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16038 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16039 * math/libm-test.inc (tan_test): Add more tests and enable more
16040 tests for double and long double.
16041 * sysdeps/i386/fpu/libm-test-ulps: Update.
16042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16044 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16046 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16047 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16049 2012-03-16 Roland McGrath <roland@hack.frob.com>
16051 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16052 * configure.in: Use it for both main tree and add-ons.
16053 * configure: Regenerated.
16055 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16057 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16059 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16061 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16065 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16066 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16071 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16072 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16073 != 0 for prec == 2.
16074 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16075 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16076 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16077 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16078 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16079 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16080 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16081 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16082 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16083 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16084 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16085 * math/libm-test.inc (cos_test): Add more tests and enable more
16086 tests for long double.
16087 (sin_test): Likewise.
16088 (sincos_test): Likewise.
16089 * sysdeps/i386/fpu/libm-test-ulps: Update.
16090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16092 2012-03-16 David S. Miller <davem@davemloft.net>
16094 * sysdeps/sparc/fpu/math_private.h: New file.
16096 2012-03-15 David S. Miller <davem@davemloft.net>
16098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16112 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16113 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16115 * sysdeps/sparc/sparc-ifunc.h: New file.
16116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16161 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16163 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16167 2012-03-15 Andreas Jaeger <aj@suse.de>
16170 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16171 ieee754/flt-32 implementation for sin, cos and sincos.
16172 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16173 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16174 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16175 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16176 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16177 ieee754/flt-32 implementation for tan.
16179 * math/libm-test.inc (cos_test): Enable some large input tests for
16181 (sin_test): Likewise.
16182 (sincos_test): Likewise.
16183 (tan_test): Add tests for large input.
16185 * sysdeps/i386/fpu/libm-test-ulps: Update.
16187 2012-03-15 Andreas Jaeger <aj@suse.de>
16190 * math/libm-test.inc (cos_test): Add more test cases.
16191 (sin_test): Likewise.
16192 (sincos_test): Likewise.
16194 2012-03-15 Andreas Jaeger <aj@suse.de>
16197 * math/libm-test.inc (cos_test): Add a test case for large input
16199 (sin_test): Likewise.
16200 (sincos_test): Likewise.
16202 2012-03-15 Andreas Jaeger <aj@suse.de>,
16203 Joseph Myers <joseph@codesourcery.com>
16206 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16207 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16208 * sysdeps/i386/fpu/branred.c: Likewise.
16209 * sysdeps/i386/fpu/dosincos.c: Likewise.
16210 * sysdeps/i386/fpu/mpa.c: Likewise.
16211 * sysdeps/i386/fpu/s_cos.S: Likewise.
16212 * sysdeps/i386/fpu/s_sin.S: Likewise.
16213 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16214 * sysdeps/i386/fpu/sincos32.c: Likewise.
16216 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16218 (libc_feupdateenv_53bit): Define.
16219 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16221 (libc_feupdateenv_53bit): Define.
16223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16224 53 bit (without extend i386 double precision).
16226 * math/libm-test.inc (sincos_test): Add tests for large input.
16230 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16232 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16236 2012-03-15 David S. Miller <davem@davemloft.net>
16238 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16239 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16240 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16241 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16266 fmin/fmax sysdep routines.
16267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16269 2012-03-14 David S. Miller <davem@davemloft.net>
16271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16275 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16343 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16348 * sysdeps/sparc/configure.in: New file.
16349 * sysdeps/sparc/configure: Generate.
16350 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16351 * configure: Regenerate.
16352 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16353 * config.make.in (have-as-vis3): New.
16354 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16355 available use -Av9d instead of -Av9a.
16356 * sysdeps/sparc/sparc64/Makefile: Likewise.
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16367 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16372 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16373 fzeros/fnegs to load 0x80000000 into a float register instead of
16375 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16377 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16381 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16382 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16383 ($(inst_includedir)/bits/syscall.h): Remove rule.
16384 ($(objpfx)bits/syscall.d): Include instead of
16385 $(objpfx)syscall-list.d.
16386 (generated): Change syscall-list.h and syscall-list.d to
16387 bits/syscall.h and bits/syscall.d.
16389 2012-03-14 Roland McGrath <roland@hack.frob.com>
16392 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16394 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16397 * math/s_csqrt.c: Include <float.h>.
16398 (__csqrt): Scale large or subnormal inputs.
16399 * math/s_csqrtf.c: Likewise.
16400 * math/s_csqrtl.c: Likewise.
16401 * math/libm-test.inc (csqrt_test): Add more tests.
16402 * sysdeps/i386/fpu/libm-test-ulps: Update.
16403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16406 * math/libm-test.inc (hypot_test): Add more tests.
16408 2012-03-13 David S. Miller <davem@davemloft.net>
16411 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16412 double-precision for the calculation instead of scaling.
16414 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16416 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16417 manipulate bits before adding and subtracting TWO52[sx].
16418 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16419 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16421 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16423 2012-03-13 David S. Miller <davem@davemloft.net>
16425 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16426 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16428 rtld-global-offsets.h
16429 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16431 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16434 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16436 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16437 'err' in the ifdef scope in which it is actually used.
16439 * nss/nss_db/db-init.c: Include string.h
16441 2012-03-12 David S. Miller <davem@davemloft.net>
16443 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16444 masking out of the most significant byte of random value used.
16445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16446 Fix coding style in previous change.
16448 * sysdeps/unix/sysv/linux/kernel-features.h
16449 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16450 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16452 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16455 2012-03-11 David S. Miller <davem@davemloft.net>
16457 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16458 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16460 for 'resultvar' otherwise things get truncated on 64-bit.
16462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16463 Fix masking out of the most significant byte of random value used.
16465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16467 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16471 2012-03-09 David S. Miller <davem@davemloft.net>
16473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16474 variables with appropriate CPP guards.
16475 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16476 frame pointer, not the stack pointer. Correct layout comments. Fix test
16477 on resulting framesize and the management of the outregs buffer for pltexit.
16478 Preserve floating point return values across _dl_call_pltexit call.
16479 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16480 framesize and the management of the outregs buffer for pltexit.
16481 Preserve floating point return values across _dl_call_pltexit
16483 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16484 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16485 (print_exit): Fix format string for return register value.
16487 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16489 * sunrpc/Makefile (others): Add rpcgen.
16490 ($(objpfx)rpcgen): Remove special build rule and dependency on
16492 * sunrpc/rpcgen.c: New file.
16494 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16497 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16498 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16499 * sysdeps/i386/crti.S: Likewise.
16500 * sysdeps/i386/crtn.S: Likewise.
16501 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16502 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16503 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16504 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16505 * sysdeps/sh/crti.S: Likewise.
16506 * sysdeps/sh/crtn.S: Likewise.
16507 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16510 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16512 * locale/programs/locfile-kw.gperf: Likewise.
16513 * locale/programs/charmap-kw.h: Regenerated.
16514 * locale/programs/locfile-kw.h: Likewise.
16517 * intl/plural.y: Replace FSF snail mail address with URL.
16518 * intl/plural.c: Regenerated.
16520 2012-03-09 Richard Henderson <rth@twiddle.net>
16522 * include/math_private.h: Remove file.
16523 * math/math_private.h: Move file ...
16524 * sysdeps/generic/math_private.h: ... here.
16526 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16527 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16528 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16530 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16531 and <math_private.h>.
16532 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16533 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16534 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16535 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16536 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16537 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16538 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16540 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16620 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16621 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16622 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16623 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16624 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16625 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16626 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16627 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16628 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16629 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16631 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16632 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16633 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16634 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16635 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16636 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16637 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16638 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16639 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16640 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16642 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16643 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16644 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16645 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16646 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16647 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16648 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16649 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16650 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16651 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16652 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16653 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16655 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16658 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16659 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16660 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16661 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16663 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16664 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16665 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16668 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16669 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16671 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16672 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16673 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16677 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16681 * sysdeps/ieee754/k_standard.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16692 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16696 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16697 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16797 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16801 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16802 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16804 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16831 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16842 * sysdeps/ieee754/s_lib_version.c: Likewise.
16843 * sysdeps/ieee754/s_matherr.c: Likewise.
16844 * sysdeps/ieee754/s_signgam.c: Likewise.
16845 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16846 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16847 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16848 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16850 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16851 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16852 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16853 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16854 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16855 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16856 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16857 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16858 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16859 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16860 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16861 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16862 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16863 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16867 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16869 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16870 * sunrpc/rpc_main.c: Likewise.
16871 * sunrpc/rpc_svcout.c: Likewise.
16873 2012-03-09 David S. Miller <davem@davemloft.net>
16875 * include/math_private.h: New file.
16877 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16879 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16880 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16881 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16882 from <bits/socket_type.h>.
16883 (enum __socket_type): Don't define here.
16884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16886 bits/socket_type.h.
16889 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16890 checking __USE_GNU.
16892 * Makerules ($(inst_includedir)/%.h): New rule.
16893 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16894 (install-others): Remove variable setting.
16895 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16897 2012-03-08 Richard Henderson <rth@twiddle.net>
16899 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16900 from macro to inline function; merge with the
16901 !__LIBC_INTERNAL_MATH_INLINES version.
16902 (__ieee754_sqrtf): Likewise.
16904 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16905 to inline function.
16906 (__rintf, __floor, __floorf): Likewise.
16908 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16909 macro to inline function.
16910 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16912 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16913 not <math/math_private.h>.
16915 2012-03-08 David S. Miller <davem@davemloft.net>
16917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16919 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16921 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16923 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16925 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16926 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16928 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16930 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16931 be defined individually, they must be defined as a block. Define
16932 S for printing a string instead of hidint the different by using a
16933 macro for adding the 'l'.
16934 * stdio-common/tst-fphex-wide.c: Adjust.
16936 2012-03-07 Marek Polacek <polacek@redhat.com>
16938 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16940 2012-03-08 Marek Polacek <polacek@redhat.com>
16943 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16944 * stdio-common/tst-fphex.c: Define a few macros to make the
16945 test reusable. Use them.
16946 * stdio-common/tst-fphex-wide.c: New file.
16948 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16951 * manual/macros.texi (gnusystems): New macro.
16952 (nongnusystems): Likewise.
16953 (gnulinuxhurdsystems): Likewise.
16954 (gnuhurdsystems): Likewise..
16955 (gnulinuxsystems): Likewise.
16956 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16957 variants of the GNU system, not "GNU system".
16958 * manual/conf.texi: Likewise.
16959 * manual/errno.texi: Likewise. Update example of errno macro
16961 * manual/filesys.texi: Likewise.
16962 (getumask): Document as specific to GNU/Hurd.
16963 * manual/install.texi: Likewise. Reword some references to
16965 * manual/intro.texi: Likewise.
16966 * manual/io.texi: Likewise.
16967 (File Name Portability): Detail which constraints are inapplicable
16968 to all GNU systems and which are only inapplicable to GNU/Hurd.
16969 * manual/job.texi: Likewise.
16970 * manual/llio.texi: Likewise.
16971 (O_NOCTTY): Document as present on GNU/Linux.
16972 * manual/maint.texi: Likewise.
16973 * manual/memory.texi: Likewise.
16974 * manual/pattern.texi: Likewise.
16975 * manual/pipe.texi: Likewise.
16976 * manual/process.texi: Likewise.
16977 * manual/resource.texi: Likewise.
16978 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16980 * manual/setjmp.texi: Likewise.
16981 * manual/signal.texi: Likewise.
16982 * manual/startup.texi: Likewise.
16983 * manual/stdio.texi: Likewise.
16984 * manual/terminal.texi: Likewise.
16985 (ONLCR): Document as POSIX.
16986 (OXTABS): Document availability on GNU/Linux as XTABS.
16987 (ONOEOT): Document availability separately from other bits.
16988 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16989 * manual/time.texi: Likewise.
16990 * manual/users.texi: Likewise.
16991 * INSTALL: Regenerated.
16992 * sysdeps/gnu/errlist.c: Regenerated.
16994 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16995 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16996 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16998 * configure: Regenerated.
17000 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17002 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17003 default includes instead of AC_HEADER_CHECK.
17004 * sysdeps/i386/configure: Regenerated.
17007 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17008 * math/s_cacoshf.c (__cacoshf): Likewise.
17009 * math/s_cacoshl.c (__cacoshl): Likewise.
17010 * math/s_casinh.c (__casinh): Set signs of result from argument.
17011 * math/s_casinhf.c (__casinhf): Likewise.
17012 * math/s_casinhl.c (__casinhl): Likewise.
17013 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17014 (casinh_test): Add more tests.
17015 * sysdeps/i386/fpu/libm-test-ulps: Update.
17016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17018 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17020 * po/zh_TW.po: Update from translation team.
17022 * login/Makefile (distribute): Remove variable.
17023 * catgets/Makefile: Likewise.
17024 * mach/Makefile: Likewise.
17025 * malloc/Makefile: Likewise.
17026 * misc/Makefile: Likewise.
17027 * iconv/Makefile: Likewise.
17028 * nscd/Makefile: Likewise.
17029 * hurd/Makefile: Likewise.
17030 * manual/Makefile: Likewise.
17031 * locale/Makefile: Likewise.
17032 * intl/Makefile: Likewise.
17033 * conform/Makefile: Likewise.
17034 * nss/Makefile: Likewise.
17035 * time/Makefile: Likewise.
17036 * soft-fp/Makefile: Likewise.
17037 * dirent/Makefile: Likewise.
17038 * gmon/Makefile: Likewise.
17039 * po/Makefile: Likewise.
17040 * rt/Makefile: Likewise.
17041 * socket/Makefile: Likewise.
17042 * math/Makefile: Likewise.
17043 * signal/Makefile: Likewise.
17044 * debug/Makefile: Likewise.
17045 * elf/Makefile: Likewise.
17046 * timezone/Makefile: Likewise.
17047 * stdlib/Makefile: Likewise.
17048 * iconvdata/Makefile: Likewise.
17049 * sunrpc/Makefile: Likewise.
17050 * io/Makefile: Likewise.
17051 * argp/Makefile: Likewise.
17052 * inet/Makefile: Likewise.
17053 * hesiod/Makefile: Likewise.
17054 * grp/Makefile: Likewise.
17055 * csu/Makefile: Likewise.
17056 * wctype/Makefile: Likewise.
17057 * crypt/Makefile: Likewise.
17058 * libio/Makefile: Likewise.
17059 * string/Makefile: Likewise.
17060 * nis/Makefile: Likewise.
17061 * resolv/Makefile: Likewise.
17062 * stdio-common/Makefile: Likewise.
17063 * wcsmbs/Makefile: Likewise.
17064 * dlfcn/Makefile: Likewise.
17065 * posix/Makefile: Likewise.
17068 * timezone/Makefile: Don't install timezone files, just the programs
17071 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17073 * nss/databases.def: Add missing gshadow entry.
17075 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17077 2012-03-06 Marek Polacek <polacek@redhat.com>
17080 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17081 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17082 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17083 * stdio-common/tst-long-dbl-fphex.c: New file.
17085 2012-03-06 David S. Miller <davem@davemloft.net>
17087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17088 (set_obp_int): New function.
17089 (get_obp_int): New function.
17090 (__get_clockfreq_via_dev_openprom): Likewise.
17091 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17092 Avoid unused variable warnings on 'val' and use builtin_expect.
17093 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17095 (INLINE_CLONE_SYSCALL): Likewise.
17097 2012-03-05 David S. Miller <davem@davemloft.net>
17099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17101 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17105 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17106 only for |x| >= 40.
17107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17109 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17112 Replace gettimeofday with __vdso_gettimeofday.
17114 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17115 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17116 __vdso_clock_gettime and __vdso_getcpu.
17118 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17119 time with __vdso_time.
17121 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17123 * manual/lang.texi (size_t): Note types to which size_t may be
17124 equivalent with the GNU C Library, but do not describe when
17125 differences between them are significant.
17127 2012-03-05 Andreas Jaeger <aj@suse.de>
17129 * sysdeps/i386/fpu/libm-test-ulps: Update.
17131 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17134 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17135 (__ieee754_pow): Save and restore rounding mode and use
17136 round-to-nearest for main computations.
17137 * math/libm-test.inc (pow_test_tonearest): New function.
17138 (pow_test_towardzero): Likewise.
17139 (pow_test_downward): Likewise.
17140 (pow_test_upward): Likewise.
17141 (main): Call the new functions.
17142 * sysdeps/i386/fpu/libm-test-ulps: Update.
17143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17146 * math/libm-test.inc (cosh_test_tonearest): New function.
17147 (cosh_test_towardzero): Likewise.
17148 (cosh_test_downward): Likewise.
17149 (cosh_test_upward): Likewise.
17150 (sinh_test_tonearest): Likewise.
17151 (sinh_test_towardzero): Likewise.
17152 (sinh_test_downward): Likewise.
17153 (sinh_test_upward): Likewise.
17154 (main): Call the new functions.
17155 * sysdeps/i386/fpu/libm-test-ulps: Update.
17156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17158 2012-03-05 Tom de Vries <tom@codesourcery.com>
17160 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17161 default stack guard is set in last bytes.
17162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17164 2012-03-05 Kees Cook <keescook@chromium.org>
17166 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17169 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17170 possibly allocate from heap instead of stack.
17171 * stdio-common/bug-vfprintf-nargs.c: New file.
17172 * stdio-common/Makefile (tests): Add nargs overflow test.
17174 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17178 2012-03-03 Marek Polacek <polacek@redhat.com>
17180 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17181 * math/math_private.h: Likewise.
17182 * stdlib/tst-strtod.c: Likewise.
17183 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17184 * sysdeps/x86_64/bits/atomic.h: Likewise.
17186 2012-03-02 David S. Miller <davem@davemloft.net>
17188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17192 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17193 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17194 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17195 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17197 2012-03-02 Roland McGrath <roland@hack.frob.com>
17200 * manual/examples/README: New file, says the example source files
17201 can be used under GPL>=2.
17202 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17203 line containing just "*/".
17204 * manual/examples/add.c: Add copyright header (GPL>=2).
17205 * manual/examples/argp-ex1.c: Likewise.
17206 * manual/examples/argp-ex2.c: Likewise.
17207 * manual/examples/argp-ex3.c: Likewise.
17208 * manual/examples/argp-ex4.c: Likewise.
17209 * manual/examples/atexit.c: Likewise.
17210 * manual/examples/db.c: Likewise.
17211 * manual/examples/dir.c: Likewise.
17212 * manual/examples/dir2.c: Likewise.
17213 * manual/examples/execinfo.c: Likewise.
17214 * manual/examples/filecli.c: Likewise.
17215 * manual/examples/filesrv.c: Likewise.
17216 * manual/examples/fmtmsgexpl.c: Likewise.
17217 * manual/examples/genpass.c: Likewise.
17218 * manual/examples/inetcli.c: Likewise.
17219 * manual/examples/inetsrv.c: Likewise.
17220 * manual/examples/isockad.c: Likewise.
17221 * manual/examples/longopt.c: Likewise.
17222 * manual/examples/memopen.c: Likewise.
17223 * manual/examples/memstrm.c: Likewise.
17224 * manual/examples/mkfsock.c: Likewise.
17225 * manual/examples/mkisock.c: Likewise.
17226 * manual/examples/mygetpass.c: Likewise.
17227 * manual/examples/pipe.c: Likewise.
17228 * manual/examples/popen.c: Likewise.
17229 * manual/examples/rprintf.c: Likewise.
17230 * manual/examples/search.c: Likewise.
17231 * manual/examples/select.c: Likewise.
17232 * manual/examples/setjmp.c: Likewise.
17233 * manual/examples/sigh1.c: Likewise.
17234 * manual/examples/sigusr.c: Likewise.
17235 * manual/examples/stpcpy.c: Likewise.
17236 * manual/examples/strdupa.c: Likewise.
17237 * manual/examples/strftim.c: Likewise.
17238 * manual/examples/strncat.c: Likewise.
17239 * manual/examples/subopt.c: Likewise.
17240 * manual/examples/swapcontext.c: Likewise.
17241 * manual/examples/termios.c: Likewise.
17242 * manual/examples/testopt.c: Likewise.
17243 * manual/examples/testpass.c: Likewise.
17244 * manual/examples/timeval_subtract.c: Likewise.
17247 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17249 * manual/timeval_subtract.c.texi: ... here, new file.
17251 2012-03-02 David S. Miller <davem@davemloft.net>
17253 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17255 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17258 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17259 (__sin): Save and restore rounding mode and use round-to-nearest
17260 for all computations.
17261 (__cos): Save and restore rounding mode and use round-to-nearest
17262 for all computations.
17263 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17265 (tan): Save and restore rounding mode and use round-to-nearest for
17267 * math/libm-test.inc (cos_test_tonearest): New function.
17268 (cos_test_towardzero): Likewise.
17269 (cos_test_downward): Likewise.
17270 (cos_test_upward): Likewise.
17271 (sin_test_tonearest): Likewise.
17272 (sin_test_towardzero): Likewise.
17273 (sin_test_downward): Likewise.
17274 (sin_test_upward): Likewise.
17275 (tan_test_tonearest): Likewise.
17276 (tan_test_towardzero): Likewise.
17277 (tan_test_downward): Likewise.
17278 (tan_test_upward): Likewise.
17279 (main): Call the new functions.
17280 * sysdeps/i386/fpu/libm-test-ulps: Update.
17281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17284 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17285 small n, then large n, before computing and testing k+n.
17286 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17291 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17292 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17297 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17298 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17299 * math/libm-test.inc (scalbn_test): Add more tests.
17300 (scalbln_test): Likewise.
17302 * manual/filesys.texi (mode_t): Describe constraints on size and
17303 signedness, not exact equivalence to a particular type.
17305 (ino64_t): Likewise.
17307 (nlink_t): Likewise.
17308 (blkcnt_t): Likewise.
17309 (blkcnt64_t): Likewise.
17310 * manual/llio.texi (off_t): Likewise.
17313 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17314 (__ieee754_exp): Save and restore rounding mode and use
17315 round-to-nearest for all computations.
17316 * math/libm-test.inc (exp_test_tonearest): New function.
17317 (exp_test_towardzero): Likewise.
17318 (exp_test_downward): Likewise.
17319 (exp_test_upward): Likewise.
17320 (main): Call the new functions.
17321 * sysdeps/i386/fpu/libm-test-ulps: Update.
17322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17324 2012-03-01 Chris Demetriou <cgd@google.com>
17326 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17327 have predictable order.
17329 2012-03-01 David S. Miller <davem@davemloft.net>
17331 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17333 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17334 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17335 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17336 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17338 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17339 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17340 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17342 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17343 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17344 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17345 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17346 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17350 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17351 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17352 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17354 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17355 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17356 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17357 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17358 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17361 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17362 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17363 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17364 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17365 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17367 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17368 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17370 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17371 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17372 * sysdeps/sparc/elf/configure: Regenerated.
17374 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17376 * configure.in (AS, LD): Require binutils 2.20 or later.
17377 * configure: Regenerated.
17378 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17379 as required minimum version.
17380 * INSTALL: Regenerated.
17384 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17385 before squaring exponent.
17386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17387 bottom long double and 27 bits of top long double before squaring
17389 * math/libm-test.inc (erfc_test): Add more tests.
17390 * sysdeps/i386/fpu/libm-test-ulps: Update.
17391 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17394 2012-03-01 Kai Tietz <ktietz@redhat.com>
17396 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17397 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17398 containing bit-fields.
17399 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17400 * soft-fp/single.h (_FP_UNION_S): Likewise.
17401 * soft-fp/double.h (_FP_UNION_D): Likewise.
17403 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17406 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17407 not include ../strcmp.S.
17408 [USE_AS_STRNCASECMP_L]: Likewise.
17409 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17410 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17411 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17412 (__strncasecmp_l_ia32): Define as alias to
17413 __strncasecmp_l_nonascii.
17416 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17417 * sysdeps/i386/fpu/libm-test-ulps: Update.
17418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17420 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17423 2012-02-29 Jeff Law <law@redhat.com>
17425 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17426 out of bounds read.
17428 2012-02-29 Marek Polacek <polacek@redhat.com>
17431 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17432 * elf/Makefile: Add rules to run tst-unused-dep.out.
17434 2012-02-28 David S. Miller <davem@davemloft.net>
17436 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17437 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17438 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17439 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17440 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17441 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17443 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17445 * math/libm-test.inc (llround_test): Move one test from
17446 lround_test. Use TEST_f_L in moved test.
17447 (lround_test): Move misplaced test to llround_test. Add testcase
17450 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17452 * sysdeps/x86_64/fpu/e_expf.S: New file.
17453 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17455 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17458 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17459 of remain_len that may cause incomplete multi-byte character and
17461 * posix/bug-regex33.c: New file.
17462 * posix/Makefile (tests): Add bug-regex33.
17464 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17466 * manual/macros.texi: New file.
17467 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17468 * manual/libc.texinfo: Include macros.texi.
17469 * manual/creatute.texi: Likewise.
17470 * manual/install.texi: Likewise.
17471 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17472 @glibcadj{} in references to the GNU C Library.
17473 * manual/charset.texi: Likewise.
17474 * manual/conf.texi: Likewise.
17475 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17476 when not using those macros.
17477 * manual/creature.texi: Likewise.
17478 * manual/crypt.texi: Likewise.
17479 * manual/errno.texi: Likewise.
17480 * manual/filesys.texi: Likewise.
17481 * manual/header.texi: Likewise.
17482 * manual/install.texi: Likewise.
17483 * manual/intro.texi: Likewise.
17484 * manual/io.texi: Likewise.
17485 * manual/job.texi: Likewise.
17486 * manual/lang.texi: Likewise.
17487 * manual/libc.texiinfo: Likewise.
17488 * manual/llio.texi: Likewise.
17489 * manual/locale.texi: Likewise.
17490 * manual/maint.texi: Likewise.
17491 * manual/math.texi: Likewise.
17492 * manual/memory.texi: Likewise.
17493 * manual/message.texi: Likewise.
17494 * manual/nss.texi: Likewise.
17495 * manual/pattern.texi: Likewise.
17496 * manual/process.texi: Likewise.
17497 * manual/resource.texi: Likewise.
17498 * manual/search.texi: Likewise.
17499 * manual/setjmp.texi: Likewise.
17500 * manual/signal.texi: Likewise.
17501 * manual/socket.texi: Likewise.
17502 * manual/startup.texi: Likewise.
17503 * manual/stdio.texi: Likewise.
17504 * manual/string.texi: Likewise.
17505 * manual/sysinfo.texi: Likewise.
17506 * manual/syslog.texi: Likewise.
17507 * manual/terminal.texi: Likewise.
17508 * manual/time.texi: Likewise.
17509 * manual/users.texi: Likewise.
17510 * INSTALL: Regenerated.
17511 * NOTES: Regenerated.
17512 * sysdeps/gnu/errlist.c: Regenerated.
17514 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17516 * include/dirent.h: Include <dirstream.h> before
17519 2012-02-28 David S. Miller <davem@davemloft.net>
17521 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17522 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17523 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17524 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17526 2012-02-27 David S. Miller <davem@davemloft.net>
17528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17530 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17531 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17534 frame pointer instead of stack pointer relative arg slot.
17535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17539 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17542 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17544 2012-02-27 David S. Miller <davem@davemloft.net>
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17550 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17551 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17552 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17553 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17555 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17557 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17558 later. Allow versions 5-9.
17559 * configure: Regenerated.
17560 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17561 required minimum version and 4.6 as recommended version. Do not
17562 mention bugs in GCC 2.7 and 2.8.
17563 * INSTALL: Regenerated.
17565 2012-02-27 David S. Miller <davem@davemloft.net>
17567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17573 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17574 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17577 manipulate bits before adding and subtracting TWO112[sx].
17578 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17580 2012-02-27 Roland McGrath <roland@hack.frob.com>
17583 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17584 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17585 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17586 being in POSIX, because they are in 1003.1-2008.
17588 * rt/tst-aio.c: Include <fcntl.h>.
17589 * rt/tst-aio7.c: Likewise.
17590 * rt/tst-aio64.c: Likewise.
17592 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17594 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17596 * manual/install.texi (--with-headers): Describe headers as
17597 interface headers, not private headers.
17598 (Specific advice for GNU/Linux systems): Describe use of headers
17599 from "make headers_install", not private headers from older
17601 * INSTALL: Regenerated.
17602 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17604 * sysdeps/unix/sysv/linux/configure: Regenerated.
17606 * manual/llio.texi (fclean): Remove documentation.
17608 * manual/Makefile (libc-texi-generated): New variable. Include
17610 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17611 $(libc-texi-generated), not duplicated list of files.
17612 (version.texi, stamp-version): New rules.
17613 (realclean): Remove $(libc-texi-generated), not individual files
17614 from that list. Do not remove dir-add.texinfo.
17615 * manual/libc.texinfo: Comment out uses of edition numbers and
17616 references to printed manual. Remove last-updated dates.
17617 (EDITION): Comment out.
17619 (VERSION, UPDATED): Remove.
17620 (version.texi): Include.
17622 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17624 * sysdeps/posix/spawni.c: Include <signal.h>.
17625 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17626 * sysdeps/pthread/aio_fsync.c: Likewise.
17628 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17630 * conform/Makefile (tests): Run only when not cross-compiling and
17631 when fast-check is not defined.
17633 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17634 * conform/data/limits.h-data: Fixes for POSIX2008.
17635 * conform/run-conformtest.sh: Run all tests.
17636 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17638 * include/bits/dlfcn.h: Likewise.
17639 * include/langinfo.h: Likewise.
17640 * include/monetary.h: Likewise.
17641 * include/sys/poll.h: Likewise.
17643 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17645 * posix/spawn.h: Define __need_sigset_t.
17646 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17647 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17648 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17649 to get sigevent_t only.
17650 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17651 only for __USE_GNU.
17652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17653 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17654 process_vm_writev only for __USE_GNU.
17655 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17657 * conform/Makefile: For now ignore errors from run-conformtest.
17658 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17659 POSIX to avoid namespace pollution. Don't prepend headers.
17660 * conform/data/aio.h-data: Fixes for POSIX testing.
17661 * conform/data/fcntl.h-data: Likewise.
17662 * conform/data/glob.h-data: Likewise.
17663 * conform/data/grp.h-data: Likewise.
17664 * conform/data/pthread.h-data: Likewise.
17665 * conform/data/pwd.h-data: Likewise.
17666 * conform/data/signal.h-data: Likewise.
17667 * conform/data/spawn.h-data: Likewise.
17668 * conform/data/stdio.h-data: Likewise.
17669 * conform/data/stdlib.h-data: Likewise.
17670 * conform/data/stropts.h-data: Likewise.
17671 * conform/data/sys/mman.h-data: Likewise.
17672 * conform/data/sys/stat.h-data: Likewise.
17673 * conform/data/sys/types.h-data: Likewise.
17674 * conform/data/sys/wait.h-data: Likewise.
17675 * conform/data/time.h-data: Likewise.
17676 * conform/data/unistd.h-data: Likewise.
17677 * conform/data/utime.h-data: Likewise.
17679 * io/sys/stat.h: fchmod was always in POSIX.
17680 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17681 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17682 * rt/aio.h: Define __need_timespec before including <time.h>.
17683 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17684 struct. Add forward declaration of pthread_attr_t and use it in
17686 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17688 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17689 always remove CLK_TCK definition.
17691 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17693 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17695 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17697 * conform/run-conformtest.sh: New file.
17698 * conform/Makefile: Run run-conformtest for tests.
17699 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17702 * conform/data/uchar.h-data: New file.
17703 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17704 * conform/data/arpa/inet.h-data: Likewise.
17705 * conform/data/assert.h-data: Likewise.
17706 * conform/data/complex.h-data: Likewise.
17707 * conform/data/cpio.h-data: Likewise.
17708 * conform/data/ctype.h-data: Likewise.
17709 * conform/data/dirent.h-data: Likewise.
17710 * conform/data/dlfcn.h-data: Likewise.
17711 * conform/data/errno.h-data: Likewise.
17712 * conform/data/fcntl.h-data: Likewise.
17713 * conform/data/float.h-data: Likewise.
17714 * conform/data/fmtmsg.h-data: Likewise.
17715 * conform/data/fnmatch.h-data: Likewise.
17716 * conform/data/ftw.h-data: Likewise.
17717 * conform/data/glob.h-data: Likewise.
17718 * conform/data/grp.h-data: Likewise.
17719 * conform/data/iconv.h-data: Likewise.
17720 * conform/data/inttypes.h-data: Likewise.
17721 * conform/data/langinfo.h-data: Likewise.
17722 * conform/data/libgen.h-data: Likewise.
17723 * conform/data/limits.h-data: Likewise.
17724 * conform/data/locale.h-data: Likewise.
17725 * conform/data/math.h-data: Likewise.
17726 * conform/data/monetary.h-data: Likewise.
17727 * conform/data/mqueue.h-data: Likewise.
17728 * conform/data/ndbm.h-data: Likewise.
17729 * conform/data/net/if.h-data: Likewise.
17730 * conform/data/netdb.h-data: Likewise.
17731 * conform/data/netinet/in.h-data: Likewise.
17732 * conform/data/nl_types.h-data: Likewise.
17733 * conform/data/poll.h-data: Likewise.
17734 * conform/data/pthread.h-data: Likewise.
17735 * conform/data/pwd.h-data: Likewise.
17736 * conform/data/regex.h-data: Likewise.
17737 * conform/data/sched.h-data: Likewise.
17738 * conform/data/search.h-data: Likewise.
17739 * conform/data/semaphore.h-data: Likewise.
17740 * conform/data/setjmp.h-data: Likewise.
17741 * conform/data/signal.h-data: Likewise.
17742 * conform/data/spawn.h-data: Likewise.
17743 * conform/data/stdarg.h-data: Likewise.
17744 * conform/data/stdio.h-data: Likewise.
17745 * conform/data/stdlib.h-data: Likewise.
17746 * conform/data/string.h-data: Likewise.
17747 * conform/data/strings.h-data: Likewise.
17748 * conform/data/stropts.h-data: Likewise.
17749 * conform/data/sys/ipc.h-data: Likewise.
17750 * conform/data/sys/mman.h-data: Likewise.
17751 * conform/data/sys/msg.h-data: Likewise.
17752 * conform/data/sys/resource.h-data: Likewise.
17753 * conform/data/sys/select.h-data: Likewise.
17754 * conform/data/sys/sem.h-data: Likewise.
17755 * conform/data/sys/shm.h-data: Likewise.
17756 * conform/data/sys/socket.h-data: Likewise.
17757 * conform/data/sys/stat.h-data: Likewise.
17758 * conform/data/sys/statvfs.h-data: Likewise.
17759 * conform/data/sys/time.h-data: Likewise.
17760 * conform/data/sys/timeb.h-data: Likewise.
17761 * conform/data/sys/times.h-data: Likewise.
17762 * conform/data/sys/types.h-data: Likewise.
17763 * conform/data/sys/uio.h-data: Likewise.
17764 * conform/data/sys/un.h-data: Likewise.
17765 * conform/data/sys/utsname.h-data: Likewise.
17766 * conform/data/sys/wait.h-data: Likewise.
17767 * conform/data/syslog.h-data: Likewise.
17768 * conform/data/tar.h-data: Likewise.
17769 * conform/data/termios.h-data: Likewise.
17770 * conform/data/utime.h-data: Likewise.
17771 * conform/data/utmpx.h-data: Likewise.
17772 * conform/data/varargs.h-data: Likewise.
17773 * conform/data/wchar.h-data: Likewise.
17774 * conform/data/wctype.h-data: Likewise.
17775 * conform/data/wordexp.h-data: Likewise.
17777 * include/stropts.h: New file.
17778 * include/uchar.h: New file.
17779 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17780 * include/assert.h: Likewise.
17781 * include/ctype.h: Likewise.
17782 * include/dirent.h: Likewise.
17783 * include/dlfcn.h: Likewise.
17784 * include/fcntl.h: Likewise.
17785 * include/fnmatch.h: Likewise.
17786 * include/glob.h: Likewise.
17787 * include/grp.h: Likewise.
17788 * include/libio.h: Likewise.
17789 * include/locale.h: Likewise.
17790 * include/math.h: Likewise.
17791 * include/net/if.h: Likewise.
17792 * include/netdb.h: Likewise.
17793 * include/netinet/in.h: Likewise.
17794 * include/pthread.h: Likewise.
17795 * include/pwd.h: Likewise.
17796 * include/regex.h: Likewise.
17797 * include/sched.h: Likewise.
17798 * include/search.h: Likewise.
17799 * include/setjmp.h: Likewise.
17800 * include/signal.h: Likewise.
17801 * include/stdio.h: Likewise.
17802 * include/stdlib.h: Likewise.
17803 * include/string.h: Likewise.
17804 * include/sys/cdefs.h: Likewise.
17805 * include/sys/mman.h: Likewise.
17806 * include/sys/msg.h: Likewise.
17807 * include/sys/resource.h: Likewise.
17808 * include/sys/select.h: Likewise.
17809 * include/sys/socket.h: Likewise.
17810 * include/sys/stat.h: Likewise.
17811 * include/sys/statvfs.h: Likewise.
17812 * include/sys/time.h: Likewise.
17813 * include/sys/times.h: Likewise.
17814 * include/sys/uio.h: Likewise.
17815 * include/sys/utsname.h: Likewise.
17816 * include/sys/wait.h: Likewise.
17817 * include/termios.h: Likewise.
17818 * include/time.h: Likewise.
17819 * include/ulimit.h: Likewise.
17820 * include/unistd.h: Likewise.
17821 * include/utime.h: Likewise.
17822 * include/wchar.h: Likewise.
17823 * include/wctype.h: Likewise.
17824 * include/wordexp.h: Likewise.
17826 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17828 * time/time.h: TIME_UTC must be a macro.
17829 Make timespec_get available for ISO C11 only as well.
17831 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17833 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17834 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17836 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17838 * configure.in: Use -o not -a in test for unsupported multi-arch.
17840 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17842 * manual/texinfo.tex: Update to version 2012-01-19.16.
17844 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17846 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17848 2012-02-24 Roland McGrath <roland@hack.frob.com>
17851 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17852 * manual/fdl-1.3.texi: New file.
17853 * manual/fdl-1.1.texi: File removed.
17856 * manual/libc.texinfo (FDL_VERSION): New @set.
17857 Use it for mention of FDL in cover text.
17858 (Documentation License): Use it in @include file name.
17860 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17861 Roland McGrath <roland@hack.frob.com>
17864 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17865 not LONG_LONG_MAX and LONG_LONG_MIN.
17866 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17867 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17869 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17871 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17875 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17876 manipulate bits before adding and subtracting TWO23[sx].
17877 * math/libm-test.inc (nearbyint_test): Add more tests.
17879 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17882 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17883 bits before adding and subtracting TWO23[sx].
17884 * math/libm-test.inc (rint_test): Add more tests.
17885 (rint_test_tonearest): Likewise.
17886 (rint_test_towardzero): Likewise.
17887 (rint_test_downward): Likewise.
17888 (rint_test_upward: Likewise.
17890 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17893 * include/stdc-predef.h: New file. Extracted from features.h.
17894 * include/features.h: Include stdc-predef.h.
17895 * Makefile (headers): Add stdc-predef.h.
17896 * CONFORMANCE (Compiler limitations): Update.
17898 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17900 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17902 2012-02-21 David S. Miller <davem@davemloft.net>
17904 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17905 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17907 2012-02-20 David S. Miller <davem@davemloft.net>
17909 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17910 using a normal save/restore sequence, rather than allocating a
17911 dummy stack frame just to store a frame pointer and restore.
17912 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17914 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17916 * manual/install.texi: Fix stray word in line-wrapped comment.
17918 2012-02-20 David S. Miller <davem@davemloft.net>
17920 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17921 both binutils and gcc support GOTDATA.
17923 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17924 "rd %pc" in the PIC register setup sequences.
17926 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17927 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17928 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17929 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17930 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17932 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17935 (SYSCALL_ERROR_HANDLER): Likewise.
17936 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17937 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17939 (SYSCALL_ERROR_HANDLER): Likewise.
17941 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17942 (HAVE_GCC_GOTDATA): New.
17943 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17944 relocation support in both binutils and gcc.
17945 * sysdeps/sparc/elf/configure: Regenerate.
17947 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17948 * sysdeps/sparc/sparc32/elf/configure: Delete.
17949 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17950 * sysdeps/sparc/sparc64/elf/configure: Delete.
17951 * sysdeps/sparc/elf/configure.in: New file.
17952 * sysdeps/sparc/elf/configure: Generate.
17954 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17955 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17956 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17957 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17958 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17960 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17962 * manual/install.texi: Do not mention specific glibc version
17964 * manual/libc.texinfo (VERSION, UPDATED): Update.
17965 (@copying): Use @copyright{} and range of years.
17967 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17970 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17971 [crti.S not in sysdirs] (generated): Do not append.
17972 [crti.S not in sysdirs] (omit-deps): Likewise.
17973 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17974 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17975 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17976 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17977 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17979 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17980 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17981 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17982 * csu/defs.awk: Remove file.
17983 * sysdeps/generic/initfini.c: Likewise.
17984 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17986 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17989 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17991 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17992 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17993 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17995 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17996 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17998 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17999 (__EPOLL_PACKED): Define to empty if not defined by
18001 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18005 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18007 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18008 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18009 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18010 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18012 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18016 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18018 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18021 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18025 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18027 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18028 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18030 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18032 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18033 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18035 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18037 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18040 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18042 * math/w_acos.c: Use non-signaling floating-point comparisons.
18043 * math/w_acosf.c: Likewise.
18044 * math/w_acosh.c: Likewise.
18045 * math/w_acoshf.c: Likewise.
18046 * math/w_acoshl.c: Likewise.
18047 * math/w_acosl.c: Likewise.
18048 * math/w_asin.c: Likewise.
18049 * math/w_asinf.c: Likewise.
18050 * math/w_asinl.c: Likewise.
18051 * math/w_atanh.c: Likewise.
18052 * math/w_atanhf.c: Likewise.
18053 * math/w_atanhl.c: Likewise.
18054 * math/w_exp2.c: Likewise.
18055 * math/w_exp2f.c: Likewise.
18056 * math/w_exp2l.c: Likewise.
18057 * math/w_j0.c: Likewise.
18058 * math/w_j0f.c: Likewise.
18059 * math/w_j0l.c: Likewise.
18060 * math/w_j1.c: Likewise.
18061 * math/w_j1f.c: Likewise.
18062 * math/w_j1l.c: Likewise.
18063 * math/w_jn.c: Likewise.
18064 * math/w_jnf.c: Likewise.
18065 * math/w_log.c: Likewise.
18066 * math/w_log10.c: Likewise.
18067 * math/w_log10f.c: Likewise.
18068 * math/w_log10l.c: Likewise.
18069 * math/w_log2.c: Likewise.
18070 * math/w_log2f.c: Likewise.
18071 * math/w_log2l.c: Likewise.
18072 * math/w_logf.c: Likewise.
18073 * math/w_logl.c: Likewise.
18074 * math/w_sqrt.c: Likewise.
18075 * math/w_sqrtf.c: Likewise.
18076 * math/w_sqrtl.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18079 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18081 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18083 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18086 * manual/string.texi (strnlen): Use correct parameter name in
18087 equivalent expression.
18089 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18092 * manual/users.texi (seteuid): Consistently use neweuid for
18095 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18098 * manual/nss.texi (Services in the NSS configuration): Correct
18099 list of services in example configuration file.
18101 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18104 * manual/arith.texi: Remove statements about negative zero
18105 behaving identically to zero.
18107 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18110 * manual/install.texi: Do not document upgrading from libc5.
18112 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18115 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18117 2012-02-18 David S. Miller <davem@davemloft.net>
18119 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18120 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18121 %o7 across the call.
18122 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18125 SETUP_PIC_REG_LEAF.
18126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18127 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18128 * sysdeps/sparc/crtn.S: Likewise.
18130 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18132 * aout/Makefile: Remove.
18134 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18137 * manual/examples/argp-ex1.c (main): Format definition in GNU
18139 * manual/examples/argp-ex2.c (main): Likewise.
18140 * manual/examples/argp-ex3.c (main): Likewise.
18141 * manual/examples/argp-ex4.c (main): Likewise.
18142 * manual/examples/longopt.c (main): Use new-style prototype
18144 * manual/examples/strncat.c (main): Specify return type and use
18145 (void) for arguments.
18146 * manual/examples/subopt.c (main): Use char **argv argument.
18148 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18151 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18154 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18157 * manual/string.texi (strchr): Change when strchrnul is
18160 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18163 * manual/locale.texi (setlocale): Document LOCPATH.
18165 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18168 * manual/process.texi (execle): Move @dots{} before last argument.
18170 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18173 * manual/charset.texi (Generic Charset Conversion): Fix typo
18174 (LC_TYPE -> LC_CTYPE).
18176 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18179 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18180 (scalbnf): Likewise.
18181 (scalbnl): Likewise.
18182 (scalbln): Likewise.
18183 (scalblnf): Likewise.
18184 (scalblnl): Likewise.
18185 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18186 (vwarnx): Likewise.
18189 * manual/filesys.texi (telldir): Use braces around return type.
18190 * manual/llio.texi (mmap): Add space after comma.
18191 (mmap64): Likewise.
18192 * manual/math.texi (jn): Use @var{} on parameter names.
18198 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18200 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18202 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18203 (sched_get_priority_max): Likewise.
18204 * manual/signal.texi (sigvec): Add space after comma.
18205 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18207 (if_indextoname): Likewise.
18208 (if_freenameindex): Likewise.
18209 (sendto): Use ',' instead of '.' in prototype.
18210 * manual/startup.texi (syscall): Use @dots{} instead of literal
18212 * manual/stdio.texi (__fpending): Separate initial words of
18213 paragraph from @deftypefun line.
18214 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18216 (vsyslog): Use @var{} on parameter names.
18217 * manual/terminal.texi (stty): Use @var{} on parameter names.
18218 * manual/users.texi (getutmp): Use @var{} on parameter names.
18219 (getutmpx): Likewise.
18221 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18224 * manual/stdio.texi (fopen): Fix typos in description of
18227 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18230 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18231 get clock_id definition.
18233 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18236 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18237 (madvise): Cast every argument to void on its own.
18239 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18242 * manual/startup.texi (Exit Status): Fix typo.
18244 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18247 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18248 * manual/examples/argp-ex2.c: Likewise.
18249 * manual/examples/argp-ex3.c: Likewise.
18251 2012-02-16 Richard Henderson <rth@redhat.com>
18253 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18254 * sysdeps/s390/s390-32/initfini.c: Remove.
18255 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18256 * sysdeps/s390/s390-64/initfini.c: Remove.
18258 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18260 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18261 compiler output for sysdeps/generic/initfini.c.
18262 * sysdeps/sh/elf/initfini.c: Remove file.
18264 2012-02-16 David S. Miller <davem@davemloft.net>
18267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18269 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18270 * sysdeps/sparc/crti.S: New file.
18271 * sysdeps/sparc/crtn.S: New file.
18272 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18273 * sysdeps/sparc/sparc64/Makefile: Likewise.
18275 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18278 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18280 2012-02-15 Roland McGrath <roland@hack.frob.com>
18283 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18285 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18286 (write, read, close): Likewise.
18287 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18289 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18291 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18292 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18293 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18294 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18296 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18300 2012-02-14 Marek Polacek <polacek@redhat.com>
18302 * sysdeps/x86_64/crti.S: New file.
18303 * sysdeps/x86_64/crtn.S: New file.
18304 * sysdeps/x86_64/elf/initfini.c: Remove file.
18306 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18308 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18309 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18310 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18311 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18313 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18317 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18319 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18320 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18321 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18322 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18324 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18328 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18330 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18331 __feraiseexcept instead of feraiseexcept.
18333 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18334 nanosleep invocations.
18335 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18336 strings, and add error checking for a nanosleep invocations.
18338 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18340 Replace FSF snail mail address with URLs, as per GNU coding standards.
18341 Most of the snail mail addresses were wrong anyway, and omitting
18342 them makes the source code easier to maintain. Almost all of the
18343 changes are to license notices and to locale LC_IDENTIFICATION
18344 addresses, except for this one:
18345 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18346 not its snail mail address.
18348 2012-02-09 Richard Henderson <rth@twiddle.net>
18350 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18351 of kernel-features.h.
18353 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18355 2012-02-08 Marek Polacek <polacek@redhat.com>
18357 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18358 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18359 * sysdeps/gnu/_G_config.h: Likewise.
18360 * sysdeps/generic/_G_config.h: Likewise.
18362 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18364 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18368 * sysdeps/powerpc/powerpc32/crti.S: New file.
18369 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18370 * sysdeps/powerpc/powerpc64/crti.S: New file.
18371 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18373 * Makeconfig (have-initfini): Don't set.
18374 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18375 * configure.in (nopic_initfini): Don't substitute.
18376 * config.h.in (HAVE_INITFINI): Don't #undef.
18377 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18378 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18380 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18382 Support crti.S and crtn.S provided directly by architectures.
18383 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18384 [crti.S in sysdirs] (omit-deps): Likewise.
18385 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18386 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18387 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18388 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18389 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18390 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18391 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18392 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18393 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18394 compiler output for sysdeps/generic/initfini.c.
18395 * sysdeps/i386/elf/Makefile: Remove file.
18396 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18398 2012-02-07 Marek Polacek <polacek@redhat.com>
18400 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18401 * sysdeps/gnu/_G_config.h: Likewise.
18402 * sysdeps/mach/hurd/_G_config.h: Likewise.
18404 2012-02-07 Marek Polacek <polacek@redhat.com>
18406 * math/Makefile (tests): Add tst-CMPLX2.
18407 * math/tst-CMPLX2.c: New file.
18409 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18411 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18413 * math/libm-test.inc (jn_test): Add missing L suffix.
18415 2012-02-06 Marek Polacek <polacek@redhat.com>
18417 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18418 * sysdeps/i386/fpu/e_powf.S: Likewise.
18419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18420 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18421 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18422 * sysdeps/i386/fpu/e_pow.S: Likewise.
18423 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18424 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18425 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18426 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18427 * sysdeps/i386/fpu/e_log2.S: Likewise.
18428 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18429 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18430 * sysdeps/i386/fpu/e_powl.S: Likewise.
18431 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18432 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18433 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18434 * sysdeps/i386/fpu/e_logl.S: Likewise.
18435 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18436 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18437 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18438 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18439 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18440 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18441 * sysdeps/i386/fpu/e_log.S: Likewise.
18442 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18443 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18444 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18445 * sysdeps/i386/fpu/e_logf.S: Likewise.
18446 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18447 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18448 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18449 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18450 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18451 * sysdeps/i386/fpu/e_log10.S: Likewise.
18452 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18453 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18454 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18455 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18456 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18457 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18458 * sysdeps/i386/asm-syntax.h: Likewise.
18459 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18460 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18461 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18462 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18463 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18464 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18465 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18466 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18467 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18468 * sysdeps/powerpc/sysdep.h: Likewise.
18469 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18470 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18472 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18475 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18477 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18479 * sysdeps/i386/sysdep.h: Include <features.h>.
18480 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18483 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18485 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18487 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18490 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18492 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18493 (SETUP_PIC_REG): Use GET_PC_THUNK.
18494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18497 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18499 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18500 for non-PIC compilation.
18501 (SETUP_PIC_REG): Add .p2align directive.
18502 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18503 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18504 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18505 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18506 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18507 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18508 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18510 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18511 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18512 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18513 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18514 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18515 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18516 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18517 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18518 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18519 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18520 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18521 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18523 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18524 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18525 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18529 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18530 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18531 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18532 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18537 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18538 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18544 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18546 * math/tst-CMPLX.c: Include <stdio.h>.
18548 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18550 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18552 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18553 * sysdeps/sparc/bits/mathdef.h: Likewise.
18555 2012-01-31 Marek Polacek <polacek@redhat.com>
18557 * libio/libio.h: Don't define _PARAMS.
18558 * locale/programs/config.h: Don't define PARAMS.
18559 * stdlib/strtol_l.c: Likewise.
18560 (__strtol_l): Remove PARAMS from the prototype.
18562 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18564 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18565 names. Just use the correct names. Remove unnecessary wrapper
18567 * malloc/arena.c: Likewise.
18568 * malloc/hooks.c: Likewise.
18570 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18571 ARENA_TEST says not to. Simplify test for creation of a new arena.
18572 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18574 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18576 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18578 (update_get_addr): New function.
18579 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18580 GET_ADDR_MODULE parameter.
18582 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18584 * crypt/cert.c: Remove __STDC__ conditionals.
18585 * crypt/crypt-entry.c: Likewise.
18586 * crypt/crypt_util.c: Likewise.
18587 * libio/filedoalloc.c: Likewise.
18588 * libio/fileops.c: Likewise.
18589 * libio/genops.c: Likewise.
18590 * libio/iofclose.c: Likewise.
18591 * libio/iofdopen.c: Likewise.
18592 * libio/iofopen.c: Likewise.
18593 * libio/iofopen64.c: Likewise.
18594 * libio/iogetdelim.c: Likewise.
18595 * libio/iopopen.c: Likewise.
18596 * libio/obprintf.c: Likewise.
18597 * libio/oldfileops.c: Likewise.
18598 * libio/oldiofclose.c: Likewise.
18599 * libio/oldiofdopen.c: Likewise.
18600 * libio/oldiofopen.c: Likewise.
18601 * libio/oldiopopen.c: Likewise.
18602 * libio/wfiledoalloc.c: Likewise.
18603 * libio/wgenops.c: Likewise.
18604 * locale/programs/xmalloc.c: Likewise.
18605 * misc/syslog.c: Likewise.
18606 * stdio-common/xbug.c: Likewise.
18607 * string/memchr.c: Likewise.
18608 * string/memcmp.c: Likewise.
18609 * string/memrchr.c: Likewise.
18610 * string/rawmemchr.c: Likewise.
18611 * sysdeps/posix/getcwd.c: Likewise.
18612 * time/strftime_l.c: Likewise.
18614 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18616 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18617 * config.make.in (config-cflags-sse2avx): Define.
18618 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18621 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18623 * scripts/config.guess: Update from upstream config git repository.
18624 * scripts/config.sub: Likewise.
18626 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18628 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18630 (R_TILEPRO_*, R_TILEGX_*): New macros.
18632 * scripts/firstversions.awk: Fix bug in version range handling.
18634 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18636 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18638 * include/sys/epoll.h: New file.
18639 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18642 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18644 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18645 Avoid unnecessary __WORDSIZE == 64 test.
18646 (fmaxf): Use VEX format if possible.
18651 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18652 * math/math_private.h: Remove libc_fegetround* and
18654 * sysdeps/i386/configure.in: Check for -msse2avx.
18655 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18656 also if SSE2AVX is defined.
18657 Remove libc_fegetround* and libc_fesetround*.
18658 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18659 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18662 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18663 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18664 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18665 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18668 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18670 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18672 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18674 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18676 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18679 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18681 * Makeconfig (libm): Define.
18682 * elf/Makefile: Add rules to build and run tst-relsort1.
18683 * elf/tst-relsort1.c: New file.
18684 * elf/tst-relsort1mod1.c: New file.
18685 * elf/tst-relsort1mod2.c: New file.
18687 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18689 * math/s_ldexp.c: Remove __STDC__ conditionals.
18690 * math/s_ldexpf.c: Likewise.
18691 * math/s_ldexpl.c: Likewise.
18692 * math/s_nextafter.c: Likewise.
18693 * math/s_nexttowardf.c: Likewise.
18694 * math/s_significand.c: Likewise.
18695 * math/s_significandf.c: Likewise.
18696 * math/s_significandl.c: Likewise.
18697 * math/w_jnl.c: Likewise.
18698 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18699 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18700 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18701 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18702 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18704 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18705 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18706 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18707 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18708 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18710 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18711 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18712 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18713 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18715 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18719 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18720 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18721 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18722 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18723 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18724 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18725 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18726 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18727 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18728 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18729 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18730 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18731 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18732 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18733 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18734 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18735 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18736 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18737 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18738 * sysdeps/ieee754/k_standard.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18800 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18805 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18813 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18814 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18818 * sysdeps/ieee754/s_matherr.c: Likewise.
18819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18824 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18826 * crypt/md5.h: Remove __STDC__ conditionals.
18827 * libio/libioP.h: Likewise.
18828 * locale/programs/config.h: Likewise.
18829 * sysdeps/generic/sysdep.h: Likewise.
18830 * sysdeps/i386/asm-syntax.h: Likewise.
18831 * sysdeps/s390/asm-syntax.h: Likewise.
18832 * sysdeps/unix/sysdep.h: Likewise.
18833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18836 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18838 * libio/libio.h: Remove __STDC__ conditionals.
18839 * malloc/obstack.h: Likewise.
18840 * math/complex.h: Likewise.
18841 * math/math.h: Likewise.
18842 * sysdeps/generic/_G_config.h: Likewise.
18843 * sysdeps/gnu/_G_config.h: Likewise.
18844 * sysdeps/mach/hurd/_G_config.h: Likewise.
18845 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18846 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18847 * sysdeps/sparc/bits/mathdef.h: Likewise.
18849 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18852 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18853 Clean up HAS_* macros.
18854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18855 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18857 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18859 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18860 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18863 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18865 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18867 * elf/tst-unique3.cc (gets): Remove declaration.
18868 * elf/tst-unique3lib.cc (gets): Likewise.
18869 * elf/tst-unique3lib2.cc (gets): Likewise.
18870 * elf/tst-unique4.cc (gets): Likewise.
18872 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18874 * include/stdio.h: Add C++ protection. Add gets declarations and
18876 * debug/tst-chk1.c: Don't declare gets here.
18877 * stdio-common/tst-gets.c: Likewise.
18879 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18881 * posix/glob: Remove directory.
18883 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18885 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18887 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18889 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18890 of the non-standard EPFNOSUPPORT.
18892 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18894 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18895 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18896 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18898 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18900 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18902 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18904 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18906 * nscd/grpcache.c (cache_addgr): Likewise.
18907 * nscd/hstcache.c (cache_addhst): Likewise.
18908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18909 * nscd/pwdcache.c (cache_addpw): Likewise.
18910 * nscd/servicescache.c (cache_addserv): Likewise.
18912 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18914 * malloc/malloc.c: Various cleanups.
18915 * malloc/hooks.c: Likewise.
18917 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18918 * stdlib/bug-fmtmsg1.c: New file.
18920 * stdlib/fmtmsg.c (init): Add missing unlock.
18921 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18923 2012-01-12 Marek Polacek <polacek@redhat.com>
18925 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18928 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18930 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18931 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18932 macro to ensure uniqueness of label name.
18933 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18934 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18936 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18938 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18940 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18941 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18942 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18945 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18947 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18949 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18950 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18951 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18953 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18955 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18956 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18957 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18960 * math/bits/math-finite.h: Add ldexp support.
18962 2012-01-10 Marek Polacek <polacek@redhat.com>
18964 * locale/programs/localedef.h (show_archive_content): Add noreturn
18967 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18969 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18971 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18973 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18975 * io/Makefile (headers): Add bits/poll2.h.
18977 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18980 typo #include statement.
18982 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18984 * include/sys/cdefs.h: Define __attribute_alloc_size.
18985 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18986 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18987 * elf/pldd.c: Likewise.
18988 * iconv/iconv_charmap.c: Likewise.
18989 * iconv/iconvconfig.c: Likewise.
18990 * iconv/strtab.c: Likewise.
18991 * locale/programs/locale.c: Likewise.
18992 * locale/programs/localedef.h: Likewise.
18993 * locale/programs/simple-hash.c: Likewise.
18994 * nscd/nscd.h: Likewise.
18995 * nss/makedb.c: Likewise.
18996 * sysdeps/generic/ldconfig.h: Likewise.
18997 * locale/programs/localedef.c: Remove xmalloc prototype.
18998 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19000 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19002 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19005 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19007 * math/Makefile (tests): Add tst-CMPLX.
19008 * math/tst-CMPLX.c: New file.
19010 * math/complex.h (CMPLXL): Fix typo.
19012 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19013 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19015 * debug/tst-chk1.c: Add poll and ppoll tests.
19016 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19017 * include/sys/poll.h: Add hidden proto for ppoll.
19018 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19019 * sysdeps/mach/hurd/ppoll.c: Likewise.
19020 * io/ppoll.c: Likewise.
19021 * debug/poll_chk.c: New file.
19022 * debug/ppoll_chk.c: New file.
19023 * include/bits/poll2.h: New file.
19024 * io/bits/poll2.h: New file.
19027 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19029 * configure.in: static is always set to yes. Remove.
19030 * config.make.in: Don't set build-static.
19031 * Makeconfig: Remove use of build-static.
19032 * dlfcn/Makefile: Likewise.
19033 * elf/Makefile: Likewise.
19034 * math/Makefile: Likewise.
19035 * misc/Makefile: Likewise.
19036 * nptl/Makefile: Likewise.
19037 * sysdeps/mach/hurd/Makefile: Likewise.
19039 * configure.in: PWD_P is not used anymore.
19040 * config.make.in: Remove PWD_P entry.
19042 * configure.in: Remove last remnants of RANLIB.
19043 No need to check for signed size_t anymore.
19044 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19046 Remove __builtin_expect test because we require at least gcc 3.4.
19047 * aclocal.m4: Likewise.
19049 * wcsmbs/mbrtoc16.c: Implement using towc function.
19050 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19051 * wcsmbs/wcsmbsload.c: Likewise.
19052 * iconv/gconv_simple.c: Likewise.
19053 * iconv/gconv_int.h: Likewise.
19054 * iconv/gconv_builtin.h: Likewise.
19055 * iconv/iconv_prog.c: Remove CHAR16 handling.
19057 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19059 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19061 * configure.in: Remove --with-elf and --enable-bounded options.
19062 Dont set base_machine for ia64. More non-ELF conditions removed.
19063 Remove testing and setting of leading underscore information.
19064 * config.make.in (build-bounded): Set to no.
19065 * config.h.in: Remove NO_UNDERSCORES entry.
19066 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19068 * csu/start.c: Remove !NO_UNDERSCORE code.
19069 * locale/localeinfo.h: Likewise.
19070 * sysdeps/generic/machine-gmon.h: Likewise.
19071 * sysdeps/generic/sysdep.h: Likewise.
19072 * sysdeps/i386/sysdep.h: Likewise.
19073 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19074 * sysdeps/mach/sysdep.h: Likewise.
19075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19076 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19077 * sysdeps/sh/sysdep.h: Likewise.
19078 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19079 * sysdeps/unix/i386/sysdep.S: Likewise.
19080 * sysdeps/unix/sparc/start.c: Likewise.
19081 * sysdeps/unix/sparc/sysdep.S: Likewise.
19082 * sysdeps/unix/sparc/sysdep.h: Likewise.
19083 * sysdeps/unix/start.c: Likewise.
19084 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19085 * sysdeps/x86_64/sysdep.h: Likewise.
19087 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19090 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19092 * argp/argp-fmtstream.h: Use const instead __const.
19093 * argp/argp.h: Likewise.
19094 * assert/assert.h: Likewise.
19095 * bits/fenv.h: Likewise.
19096 * bits/sched.h: Likewise.
19097 * bits/sigset.h: Likewise.
19098 * bits/sigthread.h: Likewise.
19099 * catgets/nl_types.h: Likewise.
19100 * conform/data/pthread.h-data: Likewise.
19101 * crypt/crypt-private.h: Likewise.
19102 * crypt/crypt.h: Likewise.
19103 * crypt/crypt_util.c: Likewise.
19104 * ctype/ctype.h: Likewise.
19105 * debug/execinfo.h: Likewise.
19106 * debug/mbsnrtowcs_chk.c: Likewise.
19107 * debug/mbsrtowcs_chk.c: Likewise.
19108 * debug/wcsnrtombs_chk.c: Likewise.
19109 * debug/wcsrtombs_chk.c: Likewise.
19110 * debug/wcstombs_chk.c: Likewise.
19111 * dirent/dirent.h: Likewise.
19112 * dlfcn/dlfcn.h: Likewise.
19113 * elf/neededtest4.c: Likewise.
19114 * grp/grp.h: Likewise.
19115 * gshadow/gshadow.h: Likewise.
19116 * iconv/gconv.h: Likewise.
19117 * iconv/gconv_int.h: Likewise.
19118 * iconv/gconv_simple.c: Likewise.
19119 * iconv/iconv.h: Likewise.
19120 * iconv/loop.c: Likewise.
19121 * iconv/skeleton.c: Likewise.
19122 * include/aio.h: Likewise.
19123 * include/aliases.h: Likewise.
19124 * include/argz.h: Likewise.
19125 * include/arpa/inet.h: Likewise.
19126 * include/assert.h: Likewise.
19127 * include/dirent.h: Likewise.
19128 * include/dlfcn.h: Likewise.
19129 * include/execinfo.h: Likewise.
19130 * include/fcntl.h: Likewise.
19131 * include/fenv.h: Likewise.
19132 * include/glob.h: Likewise.
19133 * include/grp.h: Likewise.
19134 * include/libintl.h: Likewise.
19135 * include/mntent.h: Likewise.
19136 * include/netdb.h: Likewise.
19137 * include/pwd.h: Likewise.
19138 * include/rpc/netdb.h: Likewise.
19139 * include/sched.h: Likewise.
19140 * include/search.h: Likewise.
19141 * include/shadow.h: Likewise.
19142 * include/signal.h: Likewise.
19143 * include/stdio.h: Likewise.
19144 * include/stdlib.h: Likewise.
19145 * include/string.h: Likewise.
19146 * include/sys/socket.h: Likewise.
19147 * include/sys/stat.h: Likewise.
19148 * include/sys/statfs.h: Likewise.
19149 * include/sys/statvfs.h: Likewise.
19150 * include/sys/syslog.h: Likewise.
19151 * include/sys/time.h: Likewise.
19152 * include/sys/uio.h: Likewise.
19153 * include/time.h: Likewise.
19154 * include/unistd.h: Likewise.
19155 * include/utmp.h: Likewise.
19156 * include/wchar.h: Likewise.
19157 * include/wctype.h: Likewise.
19158 * inet/aliases.h: Likewise.
19159 * inet/arpa/inet.h: Likewise.
19160 * inet/netinet/ether.h: Likewise.
19161 * inet/netinet/in.h: Likewise.
19162 * intl/libintl.h: Likewise.
19163 * io/bits/fcntl2.h: Likewise.
19164 * io/fcntl.h: Likewise.
19165 * io/ftw.h: Likewise.
19166 * io/sys/poll.h: Likewise.
19167 * io/sys/stat.h: Likewise.
19168 * io/sys/statfs.h: Likewise.
19169 * io/sys/statvfs.h: Likewise.
19170 * io/utime.h: Likewise.
19171 * libio/bits/stdio.h: Likewise.
19172 * libio/bits/stdio2.h: Likewise.
19173 * libio/libio.h: Likewise.
19174 * libio/libioP.h: Likewise.
19175 * libio/stdio.h: Likewise.
19176 * locale/lc-ctype.c: Likewise.
19177 * locale/locale.h: Likewise.
19178 * login/utmp.h: Likewise.
19179 * malloc/arena.c: Likewise.
19180 * malloc/malloc.c: Likewise.
19181 * malloc/malloc.h: Likewise.
19182 * malloc/mcheck.c: Likewise.
19183 * malloc/mtrace.c: Likewise.
19184 * math/bits/mathcalls.h: Likewise.
19185 * math/fenv.h: Likewise.
19186 * math/math_private.h: Likewise.
19187 * misc/bits/error.h: Likewise.
19188 * misc/bits/syslog.h: Likewise.
19189 * misc/err.h: Likewise.
19190 * misc/error.h: Likewise.
19191 * misc/fstab.h: Likewise.
19192 * misc/mntent.h: Likewise.
19193 * misc/regexp.h: Likewise.
19194 * misc/search.h: Likewise.
19195 * misc/sgtty.h: Likewise.
19196 * misc/sys/mman.h: Likewise.
19197 * misc/sys/syslog.h: Likewise.
19198 * misc/sys/uio.h: Likewise.
19199 * misc/sys/xattr.h: Likewise.
19200 * misc/ttyent.h: Likewise.
19201 * nis/rpcsvc/ypclnt.h: Likewise.
19202 * nss/nss.h: Likewise.
19203 * posix/bits/unistd.h: Likewise.
19204 * posix/fnmatch.h: Likewise.
19205 * posix/glob.h: Likewise.
19206 * posix/sched.h: Likewise.
19207 * posix/spawn.h: Likewise.
19208 * posix/sys/wait.h: Likewise.
19209 * posix/unistd.h: Likewise.
19210 * posix/wordexp.h: Likewise.
19211 * pwd/pwd.h: Likewise.
19212 * resolv/netdb.h: Likewise.
19213 * resource/sys/resource.h: Likewise.
19214 * rt/aio.h: Likewise.
19215 * rt/bits/mqueue2.h: Likewise.
19216 * rt/mqueue.h: Likewise.
19217 * shadow/shadow.h: Likewise.
19218 * signal/signal.h: Likewise.
19219 * socket/send.c: Likewise.
19220 * socket/sendto.c: Likewise.
19221 * socket/sys/socket.h: Likewise.
19222 * stdio-common/printf.h: Likewise.
19223 * stdlib/bits/stdlib.h: Likewise.
19224 * stdlib/fmtmsg.h: Likewise.
19225 * stdlib/monetary.h: Likewise.
19226 * stdlib/stdlib.h: Likewise.
19227 * stdlib/ucontext.h: Likewise.
19228 * streams/stropts.h: Likewise.
19229 * string/argz.h: Likewise.
19230 * string/bits/string2.h: Likewise.
19231 * string/string.h: Likewise.
19232 * string/strings.h: Likewise.
19233 * sunrpc/rpc/auth.h: Likewise.
19234 * sunrpc/rpc/auth_des.h: Likewise.
19235 * sunrpc/rpc/clnt.h: Likewise.
19236 * sunrpc/rpc/netdb.h: Likewise.
19237 * sunrpc/rpc/pmap_clnt.h: Likewise.
19238 * sunrpc/rpc/xdr.h: Likewise.
19239 * sysdeps/generic/inttypes.h: Likewise.
19240 * sysdeps/generic/net/if.h: Likewise.
19241 * sysdeps/generic/sys/swap.h: Likewise.
19242 * sysdeps/gnu/net/if.h: Likewise.
19243 * sysdeps/gnu/utmpx.h: Likewise.
19244 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19245 * sysdeps/i386/i486/bits/string.h: Likewise.
19246 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19247 * sysdeps/s390/bits/string.h: Likewise.
19248 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19249 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19250 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19251 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19252 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19253 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19254 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19255 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19256 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19257 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19258 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19259 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19260 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19261 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19262 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19263 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19264 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19266 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19267 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19268 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19269 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19270 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19271 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19272 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19273 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19274 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19275 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19276 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19277 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19278 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19279 * sysvipc/sys/ipc.h: Likewise.
19280 * sysvipc/sys/msg.h: Likewise.
19281 * sysvipc/sys/sem.h: Likewise.
19282 * sysvipc/sys/shm.h: Likewise.
19283 * termios/termios.h: Likewise.
19284 * time/sys/time.h: Likewise.
19285 * time/time.h: Likewise.
19286 * wcsmbs/bits/wchar2.h: Likewise.
19287 * wcsmbs/uchar.h: Likewise.
19288 * wcsmbs/wchar.h: Likewise.
19289 * wctype/wctype.h: Likewise.
19292 * Makeconfig: Remove all but ELF support including AIX support.
19293 * Makerules: Likewise.
19294 * config.h.in: Likewise.
19295 * config.make.in: Likewise.
19296 * configure: Likewise.
19297 * configure.in: Likewise.
19298 * csu/Makefile: Likewise.
19299 * csu/version.c: Likewise.
19300 * debug/Makefile: Likewise.
19301 * dlfcn/Makefile: Likewise.
19302 * elf/Makefile: Likewise.
19303 * extra-lib.mk: Likewise.
19304 * iconv/Makefile: Likewise.
19305 * include/libc-symbols.h: Likewise.
19306 * include/shlib-compat.h: Likewise.
19307 * resolv/Makefile: Likewise.
19308 * resolv/res_libc.c: Likewise.
19309 * rt/Makefile: Likewise.
19310 * sysdeps/i386/asm-syntax.h: Likewise.
19311 * sysdeps/i386/sysdep.h: Likewise.
19312 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19313 * sysdeps/mach/sysdep.h: Likewise.
19314 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19315 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19316 * sysdeps/s390/asm-syntax.h: Likewise.
19317 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19319 * sysdeps/sh/sysdep.h: Likewise.
19320 * sysdeps/unix/sparc/sysdep.h: Likewise.
19321 * sysdeps/wordsize-32/divdi3.c: Likewise.
19322 * sysdeps/x86_64/sysdep.h: Likewise.
19324 * argp/Versions: Remove _argp_unlock_xxx.
19327 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19328 * abilist/libBrokenLocale.abilist: Likewise.
19329 * abilist/libanl.abilist: Likewise.
19330 * abilist/libc.abilist: Likewise.
19331 * abilist/libcrypt.abilist: Likewise.
19332 * abilist/libdl.abilist: Likewise.
19333 * abilist/libm.abilist: Likewise.
19334 * abilist/libnsl.abilist: Likewise.
19335 * abilist/libpthread.abilist: Likewise.
19336 * abilist/libresolv.abilist: Likewise.
19337 * abilist/librt.abilist: Likewise.
19338 * abilist/libthread_db.abilist: Likewise.
19339 * abilist/libutil.abilist: Likewise.
19340 * abilist/libnss_db.abilist: New file.
19342 * scripts/abilist.awk: Add support for indirect functions.
19344 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19346 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19348 * shlib-versions: Remove entries for ports architectures.
19350 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19352 * elf/stackguard-macros.h: Remove support for IA-64.
19353 * elf/tst-auditmod1.c: Likewise.
19354 * sysdeps/generic/ldsodefs.h: Likewise.
19356 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19357 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19361 * configure.in: Remove --enable-omitfp support.
19363 * config.make.in: Likewise.
19364 * Makeconfig: Likewise.
19365 * manual/install.texi: Likewise.
19367 In case anyone cares, the IA-64 architecture could move to ports.
19368 * sysdeps/ia64/*: Removed.
19369 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19370 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19373 * configure.in: Remove entries for unsupported architectures.
19376 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19377 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19379 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19380 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19381 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19382 fall back to using wcrtomb.
19383 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19384 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19386 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19387 * wcsmbs/tst-c16c32-1.c: New file.
19389 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19392 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19394 * elf/tst-unique3.cc: Add explicit declaration of gets.
19395 * elf/tst-unique3lib.cc: Likewise.
19396 * elf/tst-unique3lib2.cc: Likewise.
19397 * elf/tst-unique4.cc: Likewise.
19399 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19401 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19404 * assert/assert.h (static_assert): Don't define for C++.
19405 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19406 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19408 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19410 * iconv/loop.c (single loop): Fix assertion in storing of
19413 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19415 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19417 * posix/getconf.c: Update copyright year.
19418 * nss/getent.c: Likewise.
19419 * nss/makedb.c: Likewise.
19420 * iconv/iconvconfig.c: Likewise.
19421 * iconv/iconv_prog.c: Likewise.
19422 * elf/ldconfig.c: Likewise.
19423 * elf/pldd.c: Likewise.
19424 * elf/sotruss.ksh: Likewise.
19425 * catgets/gencat.c: Likewise.
19426 * csu/version.c: Likewise.
19427 * elf/ldd.bash.in: Likewise.
19428 * elf/sprof.c (print_version): Likewise.
19429 * locale/programs/locale.c: Likewise.
19430 * locale/programs/localedef.c: Likewise.
19431 * login/programs/pt_chown.c: Likewise.
19432 * nscd/nscd.c (print_version): Likewise.
19433 * debug/xtrace.sh: Likewise.
19434 * malloc/memusage.sh: Likewise.
19435 * malloc/mtrace.pl: Likewise.
19436 * debug/catchsegv.sh: Likewise.
19438 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19440 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19443 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19446 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19447 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19449 * iconv/gconv_int.h: Likewise.
19450 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19451 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19452 from libc for GLIBC_2.16.
19453 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19454 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19455 * wcsmbs/uchar.h: Really define mbstate_t.
19456 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19457 * wcsmbs/c16rtomb.c: New file.
19458 * wcsmbs/mbrtoc16.c: New file.
19459 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19460 for C/POSIX locale.
19461 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19462 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19464 * wcsmbs/wchar.h: Add missing __restrict.
19466 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19469 * time/Makefile (routines): Add timespec_get.
19470 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19471 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19472 timespec for ISO C11.
19473 * time/timespec_get.c: New file.
19474 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19475 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19478 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19479 * stdlib/stdlib.h: Declare aligned_alloc.
19480 * Versions.def: Add GLIBC_2.16 for libc.
19481 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19484 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19487 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19491 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19494 * assert/assert.h (static_assert): Define.
19496 * version.h: Update for 2.16 development version.
19499 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19502 * version.h (RELEASE): Bump for 2.15 release.
19503 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19505 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19506 Patch by Marek Polacek <mpolacek@redhat.com>.
19508 * bits/byteswap.h: Protect long long constants with __extension__.
19509 * sysdeps/i386/bits/byteswap.h: Likewise.
19510 * sysdeps/ia64/bits/byteswap.h: Likewise.
19511 * sysdeps/s390/bits/byteswap.h: Likewise.
19512 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19514 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19517 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19518 destination buffer.
19519 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19521 2011-12-23 Marek Polacek <polacek@redhat.com>
19523 * elf/dl-addr.c (determine_info): Add inline keyword.
19524 * elf/tst-auditmod4b.c (check_avx): Likewise.
19525 * elf/tst-auditmod6b.c (check_avx): Likewise.
19526 * elf/tst-auditmod6c.c (check_avx): Likewise.
19527 * elf/tst-auditmod7b.c (check_avx): Likewise.
19529 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19531 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19534 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19537 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19538 processing for last bytes.
19540 2011-08-06 Bruno Haible <bruno@clisp.org>
19543 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19544 U+0385, not to U+1FEE.
19547 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19548 entry for U+00A5 U+0301.
19550 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19553 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19554 buffer for the output is too small.
19556 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19560 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19561 SSE flags if possible.
19563 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19567 processing for last bytes.
19569 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19571 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19572 (syscall-list-default-options, syscall-list-default-condition)
19573 (syscall-list-includes): Define.
19574 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19575 list of ABIs and options and #if conditions for each ABI. Do not
19576 handle common syscalls between ABIs specially.
19577 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19579 (syscall-list-variants, syscall-list-32bit-options)
19580 (syscall-list-32bit-condition, syscall-list-64bit-options)
19581 (syscall-list-64bit-condition): Define.
19582 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19583 (syscall-list-variants, syscall-list-32bit-options)
19584 (syscall-list-32bit-condition, syscall-list-64bit-options)
19585 (syscall-list-64bit-condition): Define.
19586 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19588 (syscall-list-variants, syscall-list-32bit-options)
19589 (syscall-list-32bit-condition, syscall-list-64bit-options)
19590 (syscall-list-64bit-condition): Define.
19591 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19593 (syscall-list-variants, syscall-list-32bit-options)
19594 (syscall-list-32bit-condition, syscall-list-64bit-options)
19595 (syscall-list-64bit-condition): Define.
19597 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19599 * locale/iso-639.def: Add brx entry.
19602 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19603 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19605 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19606 __feraiseexcept_renamed.
19608 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19611 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19612 EPOLLET with unsigned values.
19613 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19614 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19616 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19617 to large cancellation.
19618 * math/s_cacoshf.c: Likewise.
19619 * math/s_cacoshl.c: Likewise.
19621 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19625 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19626 * math/s_cacoshf.c: Likewise.
19627 * math/s_cacoshl.c: Likewise.
19629 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19632 * iconv/gconv.h: Define __GCONV_SWAP.
19633 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19634 * iconvdata/utf-16.c: Likewise.
19635 * iconvdata/utf-32.c: Likewise.
19637 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19640 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19641 numerator after shifting it by one limb.
19643 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19645 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19646 under [__USE_EXTERN_INLINES].
19648 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19651 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19653 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19655 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19656 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19658 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19659 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19660 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19661 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19662 for strncasecmp/strncasecmp_l compilation.
19663 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19664 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19666 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19669 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19672 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19675 * time/tzfile.c (__tzfile_read): Check values from file header.
19677 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19679 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19680 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19681 * powerpc/powerpc32/dl-start.S: Likewise.
19682 * powerpc/powerpc32/elf/start.S: Likewise.
19683 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19684 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19685 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19686 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19687 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19688 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19689 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19690 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19691 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19692 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19693 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19694 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19695 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19696 * powerpc/powerpc32/memset.S: Likewise.
19697 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19698 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19699 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19700 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19701 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19702 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19703 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19704 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19705 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19706 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19707 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19708 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19709 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19711 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19713 * math/libm-test.inc: Added more nearbyint tests.
19714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19719 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19721 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19724 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19726 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19727 Add wcscpy-ssse3 wcscpy-c.
19728 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19729 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19730 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19731 * sysdeps/x86_64/wcschr.S: New file.
19732 * sysdeps/x86_64/wcsrchr.S: New file.
19733 * string/test-strcmp.c: Remove checking of wcscmp function for
19735 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19736 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19737 wcsrchr-sse2 wcsrchr-c.
19738 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19739 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19740 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19741 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19742 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19743 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19744 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19745 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19746 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19747 * wcsmbc/wcschr.c (WCSCHR): New macro.
19749 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19751 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19752 * wcsmbs/test-wcsrchr.c: New file.
19753 * string/test-strrchr.c: Add wcsrchr support.
19755 * wcsmbs/test-wcscpy.c: New file.
19756 * string/test-strcpy.c: Add wcscpy support.
19759 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19764 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19767 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19769 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19771 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19772 Minor optimizations.
19774 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19775 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19776 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19778 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19780 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19781 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19782 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19783 for gcc to avoid warnings.
19784 * inet/Makefile (tests): Add tst-checks.
19785 * inet/tst-checks.c: New file.
19787 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19790 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19793 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19794 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19796 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19798 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19800 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19803 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19805 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19807 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19808 conditional on GCC version.
19809 (__arch_compare_and_exchange_val_8_acq)
19810 (__arch_compare_and_exchange_val_16_acq)
19811 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19812 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19813 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19815 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19817 * sysdeps/sh/backtrace.c: New file.
19819 2011-12-02 Andreas Schwab <schwab@redhat.com>
19821 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19824 2011-12-01 Andreas Schwab <schwab@redhat.com>
19826 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19827 falling back to utime.
19829 2011-11-30 Andreas Schwab <schwab@redhat.com>
19831 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19832 expectations for float.
19834 2011-11-29 Andreas Schwab <schwab@redhat.com>
19836 * locale/weight.h (findidx): Add parameter len.
19837 * locale/weightwc.h (findidx): Likewise.
19838 * posix/fnmatch_loop.c (FCT): Adjust caller.
19839 * posix/regcomp.c (build_equiv_class): Likewise.
19840 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19841 * posix/regexec.c (check_node_accept_bytes): Likewise.
19842 * string/strcoll_l.c (STRCOLL): Likewise.
19843 * string/strxfrm_l.c (STRXFRM): Likewise.
19845 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19847 * Makefile.in: Remove CVSOPT handling.
19848 * configure.in: Remove use of AC_REVISION.
19849 * iconvdata/Makefile (distribute): No need to filter out CVS.
19850 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19853 2011-11-16 Andreas Schwab <schwab@redhat.com>
19855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19856 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19857 [USE_AS_STRNCASECMP_L]: Likewise.
19858 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19859 NO_TLS_DIRECT_SEG_REFS.
19860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19861 Fix argument offsets for non-PIC.
19862 [USE_AS_STRNCASECMP_L]: Likewise.
19863 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19864 NO_TLS_DIRECT_SEG_REFS.
19866 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19868 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19870 * locale/loadlocale.c (_nl_load_locale): Likewise.
19872 2011-11-15 Andreas Schwab <schwab@redhat.com>
19874 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19875 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19876 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19877 (SYSCALL_GETTIME): Set errno on error.
19879 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19880 count references to noai6ai_cached.
19882 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19884 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19886 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19887 FD_CLOEXEC for /proc/self/maps.
19889 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19890 FD_CLOEXEC for /proc/meminfo.
19892 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19895 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19896 FD_CLOEXEC for given file.
19898 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19900 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19901 FD_CLOEXEC for /etc/hosts.
19902 (_gethtent): Likewise.
19904 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19906 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19907 cancellation and set FD_CLOEXEC for /etc/netgroup.
19909 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19910 reading /etc/publickey.
19912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19913 allow cancellation when reading /etc/group.
19915 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19917 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19919 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19920 when using data file.
19922 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19924 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19925 (write_nis_obj): Use "c" and "e" in fopen.
19927 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19929 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19931 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19933 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19935 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19938 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19940 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19942 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19944 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19945 file parsing and set FD_CLOEXEC.
19947 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19949 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19951 2011-11-14 Andreas Schwab <schwab@redhat.com>
19953 * malloc/arena.c (arena_get2): Don't call reused_arena when
19954 _int_new_arena failed.
19956 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19958 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19959 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19961 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19963 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19964 to compile strcasecmp and strncasecmp.
19965 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19966 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19970 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19972 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19973 locale-defines.sym to gen-as-const-headers.
19974 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19975 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19977 to compile strcasecmp and strncasecmp.
19978 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19979 strcasecmp_l and strncasecmp_l.
19980 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19981 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19982 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19983 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19984 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19985 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19986 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19987 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19988 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19989 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19990 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19992 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19994 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19995 result of SYSDEP_GETTIME_CPU to retval.
19996 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19997 parameter list to macro. Remove trailing semicolon. Adjust users.
19999 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20002 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20004 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20006 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20007 from unused variable.
20009 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20011 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20014 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20017 * sunrpc/rpc_prot.c (rejected): Fix case value.
20019 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20020 unsigned long long int to avoid warnings in shift.
20022 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20024 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20027 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20028 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20029 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20031 * nis/nis_table.c (nis_list): Use variable of correct type for
20032 result of __follow_path call.
20034 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20036 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20037 of math functions ceil, trunc, floor, round, and sqrt, when
20038 avaliable on the platform.
20039 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20041 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20042 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20043 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20045 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20047 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20048 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20050 2011-11-11 Roland McGrath <roland@hack.frob.com>
20052 * include/unistd.h: Fix __readlink return type.
20053 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20055 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20057 * stdlib/ucontext.h: Undo last change for makecontext.
20059 2011-11-11 Andreas Schwab <schwab@redhat.com>
20061 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20063 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20064 * setjmp/setjmp.h: Mark functions as non-leaf.
20065 * setjmp/bits/setjmp2.h: Likewise.
20066 * stdlib/ucontext.h: Likewise.
20068 2011-11-10 Andreas Schwab <schwab@redhat.com>
20070 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20071 (reused_arena): Don't check arena limit.
20072 (arena_get2): Atomically check arena limit.
20074 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20076 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20077 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20082 2011-11-07 Andreas Schwab <schwab@redhat.com>
20084 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20085 handler when locking.
20087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20088 Fix size of allocated buffer.
20090 2011-11-04 Andreas Schwab <schwab@redhat.com>
20093 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20094 declarations for long double functions.
20095 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20097 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20099 2011-11-03 Andreas Schwab <schwab@redhat.com>
20101 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20104 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20107 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20109 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20111 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20113 * include/alloca.h (stackinfo_alloca_round): Define.
20114 (extend_alloca): Use it.
20115 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20116 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20119 * scripts/check-local-headers.sh: Ignore libaudit.h.
20121 * nscd/Makefile (extra-objs): Make recursively expanded.
20123 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20125 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20126 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20128 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20129 * posix/tst-rfc3484-2.c: Likewise.
20130 * posix/tst-rfc3484-3.c: Likewise.
20132 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20134 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20136 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20137 process_vm_writev from libc using GLIBC_2.15 version.
20139 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20141 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20143 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20146 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20149 * nss/getent.c (initgroups_keys): Show error message in case no group
20152 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20153 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20154 __bump_nl_timestamp.
20155 * nscd/connections (nscd_init): When host database is served open
20156 netlink socket and request notification about configuration changes.
20157 (main_loop_poll): Track netlink file descriptor and bump timestamp
20158 in case data becomes available.
20159 (main_loop_epoll): Likewise.
20160 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20161 (database_pers_head): Add extra_data fileds.
20162 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20163 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20164 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20166 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20167 in6ai data, call __free_in6ai.
20168 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20169 Add -DHAVE_NETLINK.
20170 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20171 interface information. Reuse previous data if netlink timestamp
20173 (__bump_nl_timestamp): New function.
20174 (__free_in6ai): New function.
20176 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20178 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20179 close_not_cancel_no_status here.
20180 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20182 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20185 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20188 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20189 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20190 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20192 2011-07-03 Andreas Jaeger <aj@suse.de>
20195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20196 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20197 * math/libm-test.inc (sin_test): Add test case.
20199 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20202 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20203 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20205 * elf/chroot_canon.c (chroot_canon): Cleanups.
20207 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20210 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20211 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20213 * string/test-strchr.c: Make usable for strchrnul testing.
20214 * string/test-strchrnul.c: New file.
20215 * string/Makefile (strop-tests): Add strchrnul.
20217 * po/it.po: Update from translation team.
20218 * po/es.po: Likewise.
20220 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20222 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20223 the three constants needed as parameters. Drop the others.
20224 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20225 __m128i_strloadu_tolower.
20226 Create and initialize variable zero and use it in all the places
20227 where _mm_setzero_si128 was used.
20229 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20230 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20231 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20234 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20235 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20236 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20237 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20238 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20239 __mpranred, __mptan.
20240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20244 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20245 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20246 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20247 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20248 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20250 2011-10-28 Andreas Schwab <schwab@redhat.com>
20252 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20253 redefine if SHARED.
20254 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20257 wide char related routines to wcsmbs subdir.
20259 2011-10-27 Andreas Schwab <schwab@redhat.com>
20262 * misc/sys/cdefs.h (__THROWNL): Define.
20263 * posix/unistd.h: Use __THREADNL instead of __THREAD
20264 for memory synchronization functions.
20266 2011-10-26 Roland McGrath <roland@hack.frob.com>
20269 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20271 * manual/stdio.texi (Obstack Streams): Node removed.
20273 2011-10-26 Andreas Schwab <schwab@redhat.com>
20275 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20276 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20277 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20279 * math/math_private.h (math_force_eval): Allow non-addressable
20281 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20283 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20285 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20286 file is not needed.
20288 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20289 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20291 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20292 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20295 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20297 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20298 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20299 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20300 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20301 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20302 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20303 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20304 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20305 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20306 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20307 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20308 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20310 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20311 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20312 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20313 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20314 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20315 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20317 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20318 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20320 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20321 place. Use VEX encoding when compiling for AVX.
20323 2011-10-25 Andreas Schwab <schwab@redhat.com>
20325 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20326 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20328 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20330 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20332 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20333 useless if() expression.
20334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20335 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20336 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20338 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20339 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20340 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20341 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20342 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20344 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20346 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20347 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20348 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20349 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20350 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20351 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20352 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20354 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20356 2011-10-25 Andreas Schwab <schwab@redhat.com>
20358 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20360 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20362 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20364 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20365 .text section. Avoid duplicate constants.
20366 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20370 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20372 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20373 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20374 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20375 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20376 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20377 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20378 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20379 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20381 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20383 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20384 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20387 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20389 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20390 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20391 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20392 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20394 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20395 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20396 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20397 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20398 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20399 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20400 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20401 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20402 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20403 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20404 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20405 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20406 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20407 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20408 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20409 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20410 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20412 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20414 * sysdeps/x86_64/dla.h: Move to ...
20415 * sysdeps/x86_64/fpu/dla.h: ...here.
20416 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20417 situations. Use __builtin_fma only for gcc 4.6 and up.
20419 * config.make.in: Add have-mfma4 entry.
20420 * configure.in: Substitute libc_cv_cc_fma4.
20421 * math/Makefile (dbl-only-routines): Add sincostab.
20422 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20423 Use __sincostab not sincos.
20424 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20431 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20432 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20433 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20434 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20436 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20437 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20439 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20440 define aliases when function name is a macro.
20441 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20442 sysdeps/ieee754/dbl-64/sincos.tbl.
20443 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20444 fma4-enabled routines.
20445 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20446 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20447 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20448 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20449 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20450 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20452 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20453 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20454 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20455 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20456 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20457 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20458 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20459 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20460 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20461 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20462 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20463 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20465 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20466 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20467 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20468 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20470 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20471 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20472 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20473 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20474 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20476 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20478 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20487 2011-10-24 Andreas Schwab <schwab@redhat.com>
20489 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20491 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20493 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20495 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20497 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20499 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20500 Remove unused variable magic_bits.
20501 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20503 * string/strnlen.c: Define and use STRNLEN macro.
20504 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20505 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20507 * wcsmbs/wcslen.c: Define and use WCSLEN.
20508 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20509 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20510 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20511 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20512 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20513 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20514 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20516 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20519 strnlen-sse2-no-bsf.
20520 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20522 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20523 Add strnlen support.
20524 (USE_AS_STRNLEN): New macro.
20525 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20527 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20528 * sysdeps/x86_64/wcslen.S: New file.
20530 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20533 XMM-moves are used for copying on small sizes.
20535 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20537 * wcsmbs/Makefile (strop-tests): Add wcschr.
20538 * wcsmbs/test-wcschr.c: New file.
20539 * string/test-strchr.c: Update.
20540 Add wcschr support.
20543 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20545 * wcsmbs/Makefile (strop-tests): Add wcslen.
20546 * wcsmbs/test-wcslen.c: New file.
20547 * string/test-strlen.c: Update.
20548 Add wcslen support.
20551 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20553 * po/it.po: Update from translation team.
20555 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20557 * sysdeps/x86_64/wcscmp.S: Update.
20558 Fix wrong comparison semantics.
20559 wcscmp shall use signed comparison not unsigned.
20560 Don't use substraction to avoid overflow bug.
20561 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20562 * wcsmbc/wcscmp.c: Likewise.
20563 * string/test-strcmp.c: Likewise.
20564 Add new tests to check cases with negative values.
20566 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20568 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20569 * sysdeps/x86_64/dla.h: ...here. New file.
20570 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20580 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20582 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20583 __ynl_finite aliases.
20585 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20589 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20591 [DLA_FMA] (EMULV): Use DLA_FMA.
20592 [DLA_FMA] (MUL12): Use EMULV.
20593 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20594 that are not needed.
20595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20603 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20605 * math/s_nan.c: Undef __nan.
20606 * math/s_nanf.c: Undef __nanf.
20607 * math/s_nanl.c: Undef __nanl.
20608 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20611 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20613 * math/s_catan.c: Add branch predictions.
20614 * math/s_catanf.c: Likewise.
20615 * math/s_catanh.c: Likewise.
20616 * math/s_catanhf.c: Likewise.
20617 * math/s_catanhl.c: Likewise.
20618 * math/s_catanl.c: Likewise.
20619 * math/s_cexp.c: Likewise.
20620 * math/s_cexpf.c: Likewise.
20621 * math/s_cexpl.c: Likewise.
20622 * math/s_clog.c: Likewise.
20623 * math/s_clog10.c: Likewise.
20624 * math/s_clog10f.c: Likewise.
20625 * math/s_clog10l.c: Likewise.
20626 * math/s_clogf.c: Likewise.
20627 * math/s_clogl.c: Likewise.
20628 * math/s_csqrt.c: Likewise.
20629 * math/s_csqrtf.c: Likewise.
20630 * math/s_csqrtl.c: Likewise.
20631 * math/s_ctanf.c: Likewise.
20632 * math/s_ctanh.c: Likewise.
20633 * math/s_ctanhf.c: Likewise.
20634 * math/s_ctanhl.c: Likewise.
20635 * math/s_ctanl.c: Likewise.
20637 * math/math_private.h: Define __nan, __nanf, __nanl.
20638 * math/s_cacosh.c: Include <math_private.h>.
20639 * math/s_cacoshl.c: Likewise.
20640 * math/s_casinh.c: Likewise.
20641 * math/s_casinhf.c: Likewise.
20642 * math/s_casinhl.c: Likewise.
20643 * math/s_ccos.c: Rely entire on ccosh.
20644 * math/s_ccosf.c: Rely entire on ccoshf.
20645 * math/s_ccosl.c: Rely entirely on ccoshl.
20646 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20647 Remove tests for FE_INVALID.
20648 * math/s_ccoshf.c: Likewise.
20649 * math/s_ccoshl.c: Likewise.
20650 * math/s_csin.c: Likewise.
20651 * math/s_csinf.c: Likewise.
20652 * math/s_csinh.c Likewise.
20653 * math/s_csinhf.c: Likewise.
20654 * math/s_csinhl.c: Likewise.
20655 * math/s_csinl.c: Likewise.
20656 * math/s_ctan.c: Likewise.
20657 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20658 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20659 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20661 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20664 compilation problems.
20666 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20669 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20671 * sysdeps/i386/configure.in: Test for -mfma4 option.
20672 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20673 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20674 COMMON_CPUID_INDEX_80000001.
20675 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20676 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20677 use it if FMA3 is not supported.
20678 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20680 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20681 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20683 2011-10-20 Andreas Schwab <schwab@redhat.com>
20686 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20687 it would create a cycle with a link time dependency.
20689 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20691 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20693 * string/Makefile (strop-tests): Add rawmemchr.
20694 * string/test-rawmemchr.c: New file.
20696 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20698 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20699 when compiling str{,n}casecmp and when AVX is available. Hook up
20700 new optimized code in initializers.
20702 2011-10-19 Andreas Schwab <schwab@redhat.com>
20704 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20705 __feraiseexcept instead of feraiseexcept.
20707 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20709 * math/math_private.h: Define defaults for libc_fetestexcept and
20711 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20712 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20713 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20714 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20715 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20716 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20717 libc_fetestexcept and libc_feupdateenv.
20719 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20720 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20721 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20722 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20723 libc_feholdexcept_setround.
20725 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20726 Add s_nearbyint-c and s_nearbyintf-c.
20727 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20728 nearbyintf inlines.
20729 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20730 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20731 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20732 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20734 * math/math_private.h: Define defaults for libc_fegetround,
20735 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20736 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20737 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20738 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20739 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20740 standard functions.
20741 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20742 Remove comments and hacks for old compiler versions.
20743 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20744 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20745 libc_feholdexceptl.
20747 2011-10-18 Andreas Schwab <schwab@redhat.com>
20749 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20750 (__feraiseexcept_renamed): Add __NTH.
20751 (feraiseexcept): Add __NTH. Rename local variables to fix
20752 namespace violations.
20754 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20756 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20758 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20760 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20761 recently added interfaces.
20762 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20764 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20765 about macro parameter expansion.
20767 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20768 __NO_MATH_INLINES is defined. Cleanups.
20770 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20771 and __floorf is target has SSE4.1.
20772 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20773 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20775 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20777 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20779 (floorf): Likewise.
20781 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20783 2011-10-17 Andreas Schwab <schwab@redhat.com>
20785 * misc/sys/cdefs.h: Fix last change.
20787 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20790 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20792 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20794 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20801 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20802 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20803 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20804 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20805 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20806 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20807 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20808 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20809 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20810 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20811 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20812 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20813 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20814 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20815 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20817 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20818 ceil, ceilf, floor, floorf.
20820 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20821 Perform IRELATIVE relocations last.
20823 * elf/do-rel.h: Add another parameter nrelative, replacing the
20824 local variable with the same name. Change name of the function
20825 to end in Rel or Rela (uppercase).
20826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20827 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20828 elf_dynamic_do_##reloc function.
20830 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20832 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20833 is sufficient, at least on modern CPUs.
20835 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20837 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20838 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20840 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20842 * math/bits/math-finite.h: Add entries for exp.
20843 * math/e_expl.c: Add __*_finite alias.
20844 * sysdeps/i386/fpu/e_exp.S: Likewise.
20845 * sysdeps/i386/fpu/e_expf.S: Likewise.
20846 * sysdeps/i386/fpu/e_expl.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20848 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20849 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20850 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20852 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20853 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20855 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20856 is sufficient, at least on modern CPUs.
20858 * ctype/ctype-info.c (__ctype_init): Define.
20859 * include/ctype.h (__ctype_init): Declare.
20860 (__ctype_b_loc): The variable is always initialized.
20861 (__ctype_toupper_loc): Likewise.
20862 (__ctype_tolower_loc): Likewise.
20863 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20864 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20866 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20868 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20870 * configure.in: Also look in $cxxmachine/include for C++ system
20873 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20875 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20876 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20877 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20878 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20880 (USE_AS_WMEMCMP): New macro.
20882 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20883 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20884 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20885 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20887 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20888 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20889 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20890 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20891 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20892 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20893 (USE_AS_WMEMCMP): New macro.
20894 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20895 * sysdeps/string/test-memcmp.c: Update.
20896 Fix simple_wmemcmp.
20898 * wcsmbs/wmemcmp.c: Update.
20899 (WMEMCMP): New macro.
20902 2011-10-12 Andreas Jaeger <aj@suse.de>
20905 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20907 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20909 * libio/iofwide.c (do_length): Avoid warning.
20911 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20913 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20915 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20917 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20918 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20919 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20920 * sysdeps/i386/i686/fpu/e_log.S: New file.
20921 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20922 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20924 * ctype/ctype.h: Add support for inlined isXXX functions when
20925 compiling C++ code.
20927 2011-10-14 Andreas Schwab <schwab@redhat.com>
20929 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20931 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20933 2011-10-13 Roland McGrath <roland@hack.frob.com>
20936 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20938 2011-10-13 Andreas Schwab <schwab@redhat.com>
20940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20941 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20944 * sysdeps/x86_64/memrchr.S: Check for zero size.
20946 * string/stratcliff.c: Add memrchr tests.
20948 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20951 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20952 rawmemchr-sse2 rawmemchr-sse2-bsf.
20953 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20954 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20955 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20956 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20957 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20958 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20959 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20960 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20961 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20962 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20963 * string/memrchr.c (MEMRCHR): New macro.
20965 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20967 Add integration with gcc's -ffinite-math-only and optimize wrapper
20969 * Versions.def: Define GLIBC_2.15 version for libm.
20970 * math/Makefile (headers): Add bits/math-finite.h.
20971 * math/bits/math-finite.h: New file.
20972 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20973 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20974 * math/e_acoshl.c: Add __*_finite alias.
20975 * math/e_acosl.c: Likewise.
20976 * math/e_asinl.c: Likewise.
20977 * math/e_atan2l.c: Likewise.
20978 * math/e_atanhl.c: Likewise.
20979 * math/e_coshl.c: Likewise.
20980 * math/e_exp10.c: Likewise.
20981 * math/e_exp10f.c: Likewise.
20982 * math/e_exp10l.c: Likewise.
20983 * math/e_exp2l.c: Likewise.
20984 * math/e_fmodl.c: Likewise.
20985 * math/e_gammal_r.c: Likewise.
20986 * math/e_hypotl.c: Likewise.
20987 * math/e_j0l.c: Likewise.
20988 * math/e_j1l.c: Likewise.
20989 * math/e_jnl.c: Likewise.
20990 * math/e_lgammal_r.c: Likewise.
20991 * math/e_log10l.c: Likewise.
20992 * math/e_log2l.c: Likewise.
20993 * math/e_logl.c: Likewise.
20994 * math/e_powl.c: Likewise.
20995 * math/e_sinhl.c: Likewise.
20996 * math/e_sqrtl.c: Likewise.
20997 * math/e_scalb.c: Completely rewritten and optimized.
20998 * math/e_scalbf.c: Likewise.
20999 * math/e_scalbl.c: Likewise.
21000 * math/w_acos.c: Likewise.
21001 * math/w_acosf.c: Likewise.
21002 * math/w_acosl.c: Likewise.
21003 * math/w_acosh.c: Likewise.
21004 * math/w_acoshf.c: Likewise.
21005 * math/w_acoshl.c: Likewise.
21006 * math/w_asin.c: Likewise.
21007 * math/w_asinf.c: Likewise.
21008 * math/w_asinl.c: Likewise.
21009 * math/w_atan2.c: Likewise.
21010 * math/w_atan2f.c: Likewise.
21011 * math/w_atan2l.c: Likewise.
21012 * math/w_atanh.c: Likewise.
21013 * math/w_atanhf.c: Likewise.
21014 * math/w_atanhl.c: Likewise.
21015 * math/w_exp10.c: Likewise.
21016 * math/w_exp10f.c: Likewise.
21017 * math/w_exp10l.c: Likewise.
21018 * math/w_fmod.c: Likewise.
21019 * math/w_fmodf.c: Likewise.
21020 * math/w_fmodl.c: Likewise.
21021 * math/w_j0.c: Likewise.
21022 * math/w_j0f.c: Likewise.
21023 * math/w_j0l.c: Likewise.
21024 * math/w_j1.c: Likewise.
21025 * math/w_j1f.c: Likewise.
21026 * math/w_j1l.c: Likewise.
21027 * math/w_jn.c: Likewise.
21028 * math/w_jnf.c: Likewise.
21029 * math/w_log.c: Likewise.
21030 * math/w_logf.c: Likewise.
21031 * math/w_logl.c: Likewise.
21032 * math/w_log10.c: Likewise.
21033 * math/w_log10f.c: Likewise.
21034 * math/w_log10l.c: Likewise.
21035 * math/w_log2.c: Likewise.
21036 * math/w_log2f.c: Likewise.
21037 * math/w_log2l.c: Likewise.
21038 * math/w_pow.c: Likewise.
21039 * math/w_powf.c: Likewise.
21040 * math/w_powl.c: Likewise.
21041 * math/w_remainder.c: Likewise.
21042 * math/w_remainderf.c: Likewise.
21043 * math/w_remainderl.c: Likewise.
21044 * math/w_scalb.c: Likewise.
21045 * math/w_scalbf.c: Likewise.
21046 * math/w_scalbl.c: Likewise.
21047 * math/w_sqrt.c: Likewise.
21048 * math/w_sqrtf.c: Likewise.
21049 * math/w_sqrtl.c: Likewise.
21050 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21051 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21053 * math/math_private.h: Declare __kernel_standard_f.
21054 * math/w_cosh.c: Remove cruft and optimize a bit.
21055 * math/w_coshf.c: Likewise.
21056 * math/w_coshl.c: Likewise.
21057 * math/w_exp2.c: Likewise.
21058 * math/w_exp2f.c: Likewise.
21059 * math/w_exp2l.c: Likewise.
21060 * math/w_hypot.c: Likewise.
21061 * math/w_hypotf.c: Likewise.
21062 * math/w_hypotl.c: Likewise.
21063 * math/w_lgamma.c: Likewise.
21064 * math/w_lgamma_r.c: Likewise.
21065 * math/w_lgammaf.c: Likewise.
21066 * math/w_lgammaf_r.c: Likewise.
21067 * math/w_lgammal.c: Likewise.
21068 * math/w_lgammal_r.c: Likewise.
21069 * math/w_sinh.c: Likewise.
21070 * math/w_sinhf.c: Likewise.
21071 * math/w_sinhl.c: Likewise.
21072 * math/w_tgamma.c: Likewise.
21073 * math/w_tgammaf.c: Likewise.
21074 * math/w_tgammal.c: Likewise.
21075 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21076 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21077 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21078 Minor optimizations. Pretty printing. Remove cruft.
21079 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21080 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21081 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21082 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21083 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21084 * sysdeps/i386/fpu/e_asin.S: Likewise.
21085 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21086 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21087 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21088 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21089 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21090 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21091 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21092 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21093 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21094 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21095 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21096 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21097 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21098 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21099 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21100 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21101 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21102 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21103 * sysdeps/i386/fpu/e_log.S: Likewise.
21104 * sysdeps/i386/fpu/e_log10.S: Likewise.
21105 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21106 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21107 * sysdeps/i386/fpu/e_log2.S: Likewise.
21108 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21109 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21110 * sysdeps/i386/fpu/e_logf.S: Likewise.
21111 * sysdeps/i386/fpu/e_logl.S: Likewise.
21112 * sysdeps/i386/fpu/e_pow.S: Likewise.
21113 * sysdeps/i386/fpu/e_powf.S: Likewise.
21114 * sysdeps/i386/fpu/e_powl.S: Likewise.
21115 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21116 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21117 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21118 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21119 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21120 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21121 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21122 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21123 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21124 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21129 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21130 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21131 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21132 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21133 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21135 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21145 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21146 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21147 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21148 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21149 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21150 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21151 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21152 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21153 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21154 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21155 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21156 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21157 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21158 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21159 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21160 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21161 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21162 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21163 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21164 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21165 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21166 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21170 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21171 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21176 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21179 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21180 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21181 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21182 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21185 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21188 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21189 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21191 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21192 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21193 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21194 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21195 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21196 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21204 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21205 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21215 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21216 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21217 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21218 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21219 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21220 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21221 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21222 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21223 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21224 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21225 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21226 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21227 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21228 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21229 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21230 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21231 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21232 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21233 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21234 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21235 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21236 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21237 (__isnanf): Likewise.
21238 (__isinf_ns): Likewise.
21239 (__isinf_nsf): Likewise.
21240 (__finite): Likewise.
21241 (__finitef): Likewise.
21242 (__ieee754_sqrt): Define as macro.
21243 (__ieee754_sqrtf): Define as macro.
21244 (__ieee754_sqrtl): Define as macro.
21245 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21247 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21248 __FINITE_MATH_ONLY__ consistent.
21249 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21251 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21253 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21256 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21258 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21260 * po/ja.po: Update from translation team.
21262 2011-10-08 Roland McGrath <roland@hack.frob.com>
21264 * locale/programs/locarchive.c (prepare_address_space): New function.
21265 (create_archive, enlarge_archive, open_archive): Use it.
21267 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21268 inside [SHARED], where it is used.
21270 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21272 * nss/getent.c (netgroup_keys): Remove unused variable.
21273 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21275 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21277 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21278 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21281 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21282 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21283 * math/Makefile (libm-calls): Add s_isinf_ns.
21284 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21285 * math/multc3.c: Likewise.
21286 * math/s_casin.c: Likewise.
21287 * math/s_casinf.c: Likewise.
21288 * math/s_casinl.c: Likewise.
21289 * math/s_ccos.c: Likewise.
21290 * math/s_ccosf.c: Likewise.
21291 * math/s_ccosl.c: Likewise.
21292 * math/s_ctan.c: Likewise.
21293 * math/s_ctanf.c: Likewise.
21294 * math/s_ctanh.c: Likewise.
21295 * math/s_ctanhf.c: Likewise.
21296 * math/s_ctanhl.c: Likewise.
21297 * math/s_ctanl.c: Likewise.
21298 * math/w_fmod.c: Likewise.
21299 * math/w_fmodf.c: Likewise.
21300 * math/w_fmodl.c: Likewise.
21301 * math/w_remainder.c: Likewise.
21302 * math/w_remainderf.c: Likewise.
21303 * math/w_remainderl.c: Likewise.
21304 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21305 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21306 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21308 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21309 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21310 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21311 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21313 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21315 * stdio-common/printf_fphex.c: Likewise.
21316 * stdio-common/printf_size.c: Likewise.
21318 * math/e_exp10.c: Include math_private.h using <...> not "...".
21319 * math/e_exp10f.c: Likewise.
21320 * math/e_exp10l.c: Likewise.
21321 * math/e_exp2l.c: Likewise.
21322 * math/e_j0l.c: Likewise.
21323 * math/e_j1l.c: Likewise.
21324 * math/e_jnl.c: Likewise.
21325 * math/e_lgammal_r.c: Likewise.
21326 * math/e_rem_pio2l.c: Likewise.
21327 * math/e_scalb.c: Likewise.
21328 * math/e_scalbf.c: Likewise.
21329 * math/e_scalbl.c: Likewise.
21330 * math/k_cosl.c: Likewise.
21331 * math/k_sinl.c: Likewise.
21332 * math/k_tanl.c: Likewise.
21333 * math/s_cacoshf.c: Likewise.
21334 * math/s_catan.c: Likewise.
21335 * math/s_catanf.c: Likewise.
21336 * math/s_catanh.c: Likewise.
21337 * math/s_catanhf.c: Likewise.
21338 * math/s_catanhl.c: Likewise.
21339 * math/s_catanl.c: Likewise.
21340 * math/s_ccosh.c: Likewise.
21341 * math/s_ccoshf.c: Likewise.
21342 * math/s_ccoshl.c: Likewise.
21343 * math/s_cexp.c: Likewise.
21344 * math/s_cexpf.c: Likewise.
21345 * math/s_cexpl.c: Likewise.
21346 * math/s_clog.c: Likewise.
21347 * math/s_clog10.c: Likewise.
21348 * math/s_clog10f.c: Likewise.
21349 * math/s_clog10l.c: Likewise.
21350 * math/s_clogf.c: Likewise.
21351 * math/s_clogl.c: Likewise.
21352 * math/s_csin.c: Likewise.
21353 * math/s_csinf.c: Likewise.
21354 * math/s_csinh.c: Likewise.
21355 * math/s_csinhf.c: Likewise.
21356 * math/s_csinhl.c: Likewise.
21357 * math/s_csinl.c: Likewise.
21358 * math/s_csqrt.c: Likewise.
21359 * math/s_csqrtf.c: Likewise.
21360 * math/s_csqrtl.c: Likewise.
21361 * math/s_ctan.c: Likewise.
21362 * math/s_ctanf.c: Likewise.
21363 * math/s_ctanh.c: Likewise.
21364 * math/s_ctanhf.c: Likewise.
21365 * math/s_ctanhl.c: Likewise.
21366 * math/s_ctanl.c: Likewise.
21367 * math/s_ldexp.c: Likewise.
21368 * math/s_ldexpf.c: Likewise.
21369 * math/s_ldexpl.c: Likewise.
21370 * math/s_significand.c: Likewise.
21371 * math/s_significandf.c: Likewise.
21372 * math/s_significandl.c: Likewise.
21373 * math/w_acos.c: Likewise.
21374 * math/w_acosf.c: Likewise.
21375 * math/w_acosh.c: Likewise.
21376 * math/w_acoshf.c: Likewise.
21377 * math/w_acoshl.c: Likewise.
21378 * math/w_acosl.c: Likewise.
21379 * math/w_asin.c: Likewise.
21380 * math/w_asinf.c: Likewise.
21381 * math/w_asinl.c: Likewise.
21382 * math/w_atan2.c: Likewise.
21383 * math/w_atan2f.c: Likewise.
21384 * math/w_atan2l.c: Likewise.
21385 * math/w_atanh.c: Likewise.
21386 * math/w_atanhf.c: Likewise.
21387 * math/w_atanhl.c: Likewise.
21388 * math/w_cosh.c: Likewise.
21389 * math/w_coshf.c: Likewise.
21390 * math/w_coshl.c: Likewise.
21391 * math/w_dremf.c: Likewise.
21392 * math/w_exp10.c: Likewise.
21393 * math/w_exp10f.c: Likewise.
21394 * math/w_exp10l.c: Likewise.
21395 * math/w_exp2.c: Likewise.
21396 * math/w_exp2f.c: Likewise.
21397 * math/w_fmod.c: Likewise.
21398 * math/w_fmodf.c: Likewise.
21399 * math/w_fmodl.c: Likewise.
21400 * math/w_hypot.c: Likewise.
21401 * math/w_hypotf.c: Likewise.
21402 * math/w_hypotl.c: Likewise.
21403 * math/w_j0.c: Likewise.
21404 * math/w_j0f.c: Likewise.
21405 * math/w_j0l.c: Likewise.
21406 * math/w_j1.c: Likewise.
21407 * math/w_j1f.c: Likewise.
21408 * math/w_j1l.c: Likewise.
21409 * math/w_jn.c: Likewise.
21410 * math/w_jnf.c: Likewise.
21411 * math/w_jnl.c: Likewise.
21412 * math/w_lgamma.c: Likewise.
21413 * math/w_lgamma_r.c: Likewise.
21414 * math/w_lgammaf.c: Likewise.
21415 * math/w_lgammaf_r.c: Likewise.
21416 * math/w_lgammal.c: Likewise.
21417 * math/w_lgammal_r.c: Likewise.
21418 * math/w_log.c: Likewise.
21419 * math/w_log10.c: Likewise.
21420 * math/w_log10f.c: Likewise.
21421 * math/w_log10l.c: Likewise.
21422 * math/w_log2.c: Likewise.
21423 * math/w_log2f.c: Likewise.
21424 * math/w_log2l.c: Likewise.
21425 * math/w_logf.c: Likewise.
21426 * math/w_logl.c: Likewise.
21427 * math/w_pow.c: Likewise.
21428 * math/w_powf.c: Likewise.
21429 * math/w_powl.c: Likewise.
21430 * math/w_remainder.c: Likewise.
21431 * math/w_remainderf.c: Likewise.
21432 * math/w_remainderl.c: Likewise.
21433 * math/w_scalb.c: Likewise.
21434 * math/w_scalbf.c: Likewise.
21435 * math/w_scalbl.c: Likewise.
21436 * math/w_sinh.c: Likewise.
21437 * math/w_sinhf.c: Likewise.
21438 * math/w_sinhl.c: Likewise.
21439 * math/w_sqrt.c: Likewise.
21440 * math/w_sqrtf.c: Likewise.
21441 * math/w_sqrtl.c: Likewise.
21442 * math/w_tgamma.c: Likewise.
21443 * math/w_tgammaf.c: Likewise.
21444 * math/w_tgammal.c: Likewise.
21446 * po/ja.po: Update from translation team.
21448 2011-09-29 Andreas Jaeger <aj@suse.de>
21451 * sunrpc/netname.c (netname2host): Fix logic.
21455 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21457 * math/w_remainder.c (__remainder): Likewise.
21458 * math/w_remainderf.c (__remainderf): Likewise.
21459 * math/libm-test.inc (remainder_test): Add test cases.
21461 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21463 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21466 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21468 * string/test-memcmp.c: Avoid unncessary #defines.
21469 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21471 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21473 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21474 Use new sse2 version for core i3 - i7 as it's faster
21475 than sse42 version.
21476 (bit_Prefer_PMINUB_for_stringop): New.
21477 * sysdeps/x86_64/rawmemchr.S: Update.
21478 Replace with faster SSE2 version.
21479 * sysdeps/x86_64/memrchr.S: New file.
21480 * sysdeps/x86_64/memchr.S: Update.
21481 Replace with faster SSE2 version.
21483 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21485 * elf/dl-load.c (lose): Add cast to avoid warning.
21487 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21489 * po/ca.po: Update from translation team.
21491 * inet/getnetgrent_r.c: Hook up nscd.
21492 * nscd/Makefile (routines): Add nscd_netgroup.
21493 (nscd-modules): Add netgroupcache.
21494 (CFLAGS-netgroupcache.c): Define.
21495 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21496 (cache_search): Add const to second parameter.
21497 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21499 (dbs): Add netgrdb entry.
21500 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21501 (verify_persistent_db): Handle netgrdb.
21502 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21503 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21505 (netgroup_response_header): Define.
21506 (innetgroup_response_header): Define.
21507 (datahead): Add netgroup_response_header and innetgroup_response_header
21509 * nscd/nscd.conf: Add entries for netgroup cache.
21510 * nscd/nscd.h (dbtype): Add netgrdb.
21511 (_PATH_NSCD_NETGROUP_DB): Define.
21512 (netgroup_iov_disabled): Declare.
21513 (xmalloc, xcalloc, xrealloc): Move declarations here.
21514 (cache_search): Adjust prototype.
21515 Add netgroup-related prototypes.
21516 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21517 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21518 (__nscd_innetgr): Declare.
21519 * nscd/selinux.c (perms): Use access_vector_t as element type and
21520 add netgroup-related initializers.
21521 * nscd/netgroupcache.c: New file.
21522 * nscd/nscd_netgroup.c: New file.
21523 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21524 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21525 For four parameters use innetgr.
21526 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21527 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21528 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21529 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21531 * nscd/connections.c (register_traced_file): Don't register file
21532 for disabled databases.
21534 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21536 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21538 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21539 from tree and freeing node.
21541 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21543 * nss/nsswitch.c (__nss_database_lookup): Handle
21544 nss_parse_service_list out of memory case.
21546 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21548 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21549 out of memory case.
21551 2011-10-04 Andreas Schwab <schwab@redhat.com>
21553 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21554 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21556 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21557 elf_machine_rela, elf_machine_lazy_rel.
21558 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21559 (ELF_DYNAMIC_DO_REL): Likewise.
21560 (ELF_DYNAMIC_DO_RELA): Likewise.
21561 (ELF_DYNAMIC_RELOCATE): Likewise.
21562 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21563 to ELF_DYNAMIC_DO_REL.
21564 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21565 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21566 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21569 skip_ifunc, don't call ifunc function if non-zero.
21570 (elf_machine_rela): Likewise.
21571 (elf_machine_lazy_rel): Likewise.
21572 (elf_machine_lazy_rela): Likewise.
21573 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21574 (elf_machine_lazy_rel): Likewise.
21575 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21577 (elf_machine_lazy_rel): Likewise.
21578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21580 (elf_machine_lazy_rel): Likewise.
21581 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21582 (elf_machine_lazy_rel): Likewise.
21583 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21584 (elf_machine_lazy_rel): Likewise.
21585 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21586 (elf_machine_lazy_rel): Likewise.
21587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21588 (elf_machine_lazy_rel): Likewise.
21589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21590 (elf_machine_lazy_rel): Likewise.
21591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21592 (elf_machine_lazy_rel): Likewise.
21594 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21596 * nss/nss_files/files-init.c (_nss_files_init): Use static
21597 initialization for all the *_traced_file variables.
21599 2011-09-28 Andreas Schwab <schwab@redhat.com>
21601 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21603 2011-09-27 Roland McGrath <roland@hack.frob.com>
21606 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21608 2011-09-27 Andreas Schwab <schwab@redhat.com>
21610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21611 Reread the line before reparsing it.
21613 2011-09-26 Andreas Schwab <schwab@redhat.com>
21615 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21617 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21618 Maxim Kuvyrkov <maxim@codesourcery.com>
21619 Joseph Myers <joseph@codesourcery.com>
21621 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21622 if needed for __stack_chk_guard.
21624 2011-09-19 Roland McGrath <roland@hack.frob.com>
21626 * sysdeps/posix/spawni.c (script_execute): Always define it.
21627 It will be optimized away if unused.
21628 (maybe_script_execute): New function.
21629 (__spawni): Call it.
21631 * Makerules: Don't include tls.make.
21632 (config-tls): Always set to thread.
21633 * tls.make.c: File removed.
21635 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21637 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21638 * config.make.in (CPPFLAGS-config): New substituted variable.
21640 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21642 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21645 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21646 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21648 2011-09-15 Roland McGrath <roland@hack.frob.com>
21650 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21651 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21653 (CALL_FAIL): Likewise.
21654 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21655 (CALL_FAIL): Macro removed.
21656 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21658 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21660 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21661 for __FINITE_MATH_ONLY__ == 1.
21663 2011-09-15 Andreas Schwab <schwab@redhat.com>
21665 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21666 __ieee754_sqrt instead of sqrt.
21667 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21668 __ieee754_sqrtf instead of sqrtf.
21669 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21670 __floorf instead of floorf.
21671 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21672 __floorf, __truncf instead of floorf, truncf.
21674 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21676 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21678 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21679 __extern_always_inline.
21680 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21683 2011-09-14 Andreas Schwab <schwab@redhat.com>
21685 * elf/rtld.c (dl_main): Also relocate in dependency order when
21686 doing symbol dependency testing.
21688 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21691 Always define `refsym'.
21693 2011-09-13 Andreas Schwab <schwab@redhat.com>
21695 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21696 (__FD_ELT): Renamed from __FDELT.
21697 * misc/bits/select2.h (__FD_ELT): Likewise.
21698 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21699 __FD_MASK instead of __FDELT, __FDMASK.
21700 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21702 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21705 * elf/Makefile (gen-ldd): Fix pattern.
21707 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21708 (init_tls): Likewise.
21710 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21712 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21714 2011-09-12 Andreas Schwab <schwab@redhat.com>
21716 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21717 `struct cmsghdr *' instead of `void *'.
21718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21721 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21723 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21725 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21726 ldd_rewrite_script.
21728 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21730 * configure.in: Remove --with-tls option.
21731 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21732 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21733 out in case it is missing.
21734 * sysdeps/ia64/elf/configure.in: Likewise.
21735 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21736 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21737 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21738 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21739 * sysdeps/sh/elf/configure.in: Likewise.
21740 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21741 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21742 * sysdeps/x86_64/elf/configure.in: Likewise.
21743 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21744 * sysdeps/mach/hurd/tls.h: Likewise.
21747 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21750 * configure.in: Fix use of AC_INIT.
21752 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21754 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21756 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21758 * malloc/hooks.c: Likewise.
21761 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21762 variables statically.
21763 (narenas): Initialize.
21764 (list_lock): Initialize.
21765 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21766 initializtion of main_arena and list_lock. Small cleanups.
21767 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21768 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21769 Add initializers to main_arena and mp_.
21770 (malloc_state): Remove pagesize member. Change all users to use
21773 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21774 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21775 is always initialized.
21777 * malloc/malloc.c: Removed unused configurations and dead code.
21778 * malloc/arena.c: Likewise.
21779 * malloc/hooks.c: Likewise.
21780 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21782 * include/tls.h: Removed. USE___THREAD must always be defined.
21783 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21784 * elf/dl-libc.c: Likewise.
21785 * elf/dl-tsd.c: Likewise.
21786 * include/errno.h: Likewise.
21787 * include/netdb.h: Likewise.
21788 * include/resolv.h: Likewise.
21789 * inet/herrno-loc.c: Likewise.
21790 * inet/herrno.c: Likewise.
21791 * malloc/arena.c: Likewise.
21792 * malloc/hooks.c: Likewise.
21793 * malloc/malloc.c: Likewise.
21794 * resolv/res-state.c: Likewise.
21795 * resolv/res_libc.c: Likewise.
21796 * sysdeps/i386/dl-machine.h: Likewise.
21797 * sysdeps/ia64/dl-machine.h: Likewise.
21798 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21799 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21800 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21801 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21802 * sysdeps/sh/dl-machine.h: Likewise.
21803 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21805 * sysdeps/unix/i386/sysdep.S: Likewise.
21806 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21807 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21812 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21816 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21817 * sysdeps/x86_64/dl-machine.h: Likewise.
21818 * tls.make.c: Likewise.
21820 * configure.in: Remove --with-__thread option. Make tests for
21821 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21822 tls_model attribute fail if no support is available. Remove
21824 * Makeconfig: Adjust for dropped configure option. All features are
21826 * Makerules: Likewise.
21827 * Versions.def: Likewise.
21828 * argp/argp-fmtstream.c: Likewise.
21829 * argp/argp-fmtstream.h: Likewise.
21830 * argp/argp-help.c: Likewise.
21831 * assert/assert.c: Likewise.
21832 * config.h.in: Likewise.
21833 * config.make.in: Likewise.
21834 * configure: Likewise.
21835 * configure.in: Likewise.
21836 * csu/Versions: Likewise.
21837 * csu/init.c: Likewise.
21838 * elf/tst-audit2.c: Likewise.
21839 * elf/tst-tls10.c: Likewise.
21840 * elf/tst-tls10.h: Likewise.
21841 * elf/tst-tls11.c: Likewise.
21842 * elf/tst-tls12.c: Likewise.
21843 * elf/tst-tls14.c: Likewise.
21844 * elf/tst-tlsmod11.c: Likewise.
21845 * elf/tst-tlsmod12.c: Likewise.
21846 * elf/tst-tlsmod13.c: Likewise.
21847 * elf/tst-tlsmod13a.c: Likewise.
21848 * elf/tst-tlsmod14a.c: Likewise.
21849 * elf/tst-tlsmod15b.c: Likewise.
21850 * elf/tst-tlsmod16a.c: Likewise.
21851 * elf/tst-tlsmod16b.c: Likewise.
21852 * elf/tst-tlsmod7.c: Likewise.
21853 * elf/tst-tlsmod8.c: Likewise.
21854 * elf/tst-tlsmod9.c: Likewise.
21855 * gmon/gmon.c: Likewise.
21856 * grp/fgetgrent_r.c: Likewise.
21857 * grp/putgrent.c: Likewise.
21858 * hurd/fopenport.c: Likewise.
21859 * include/libc-symbols.h: Likewise.
21860 * include/tls.h: Likewise.
21861 * intl/gettextP.h: Likewise.
21862 * intl/loadinfo.h: Likewise.
21863 * locale/global-locale.c: Likewise.
21864 * locale/localeinfo.h: Likewise.
21865 * mach/devstream.c: Likewise.
21866 * malloc/arena.c: Likewise.
21867 * malloc/set-freeres.c: Likewise.
21868 * misc/err.c: Likewise.
21869 * misc/getttyent.c: Likewise.
21870 * misc/mntent_r.c: Likewise.
21871 * posix/getopt.c: Likewise.
21872 * posix/wordexp.c: Likewise.
21873 * pwd/fgetpwent_r.c: Likewise.
21874 * resolv/Versions: Likewise.
21875 * resolv/res_hconf.c: Likewise.
21876 * shadow/fgetspent_r.c: Likewise.
21877 * shadow/putspent.c: Likewise.
21878 * stdio-common/printf_fphex.c: Likewise.
21879 * stdio-common/tmpfile.c: Likewise.
21880 * stdlib/abort.c: Likewise.
21881 * stdlib/fmtmsg.c: Likewise.
21882 * sunrpc/auth_unix.c: Likewise.
21883 * sunrpc/clnt_perr.c: Likewise.
21884 * sunrpc/clnt_tcp.c: Likewise.
21885 * sunrpc/clnt_udp.c: Likewise.
21886 * sunrpc/clnt_unix.c: Likewise.
21887 * sunrpc/openchild.c: Likewise.
21888 * sunrpc/svc_simple.c: Likewise.
21889 * sunrpc/svc_tcp.c: Likewise.
21890 * sunrpc/svc_udp.c: Likewise.
21891 * sunrpc/svc_unix.c: Likewise.
21892 * sunrpc/xdr.c: Likewise.
21893 * sunrpc/xdr_array.c: Likewise.
21894 * sunrpc/xdr_rec.c: Likewise.
21895 * sunrpc/xdr_ref.c: Likewise.
21896 * sunrpc/xdr_stdio.c: Likewise.
21898 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21900 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21902 2011-07-03 Andreas Jaeger <aj@suse.de>
21904 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21905 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21906 regenerate with gen-libm-tests.pl.
21908 2010-05-12 Petr Baudis <pasky@suse.cz>
21911 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21912 around j0() zero points by switching to j1().
21913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21914 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21915 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21916 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21918 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21920 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21922 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21925 Patch in part by Pavel Roskin <proski@gnu.org>.
21928 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21930 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21931 Free memory block if necessary.
21934 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21935 be NULL. Don't lock in this case.
21937 2011-09-09 Roland McGrath <roland@hack.frob.com>
21939 * elf/elf.h (ELFOSABI_GNU): New macro.
21940 (ELFOSABI_LINUX): Define to that.
21942 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21944 * string/strncat.c (strncat): Undef the symbol in case it has been
21945 defined in bits/string.h.
21947 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21949 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21951 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21954 2011-08-17 Andreas Jaeger <aj@suse.de>
21956 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21958 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21959 Ian Lance Taylor <iant@google.com>
21961 * math/libm-test.inc (lround_test): New testcase.
21962 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21964 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21966 * Makefile: Remove support for automatic cvs check-ins.
21967 * Makerules: Likewise.
21968 * config.make.in: Likewise.
21969 * configure.in: Likewise.
21970 * intl/Makefile: Likewise.
21971 * locale/Makefile: Likewise.
21972 * po/Makefile: Likewise.
21973 * posix/Makefile: Likewise.
21974 * sysdeps/gnu/Makefile: Likewise.
21975 * sysdeps/mach/hurd/Makefile: Likewise.
21976 * sysdeps/sparc/sparc32/Makefile: Likewise.
21979 * posix/Makefile (bug-regex32-ENV): Define.
21980 Patch by John Stanley <jpsinthemix@verizon.net>.
21982 * misc/Makefile (headers): Add bits/select2.h.
21983 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21984 * misc/bits/select2.h: New file.
21985 * include/bits/select2.h: New file.
21986 * debug/Makefile (routines): Add fdelt_chk.
21987 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21988 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21990 * debug/fdelt_chk.c: New file.
21992 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21993 * wcsmbs/test-wmemcmp.c: Likewise.
21994 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21995 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21997 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21999 * string/Makefile (strop-tests): Add memcmp.
22000 * string/test-wmemcmp.c: New file.
22001 * string/test-memcmp.c: Add wmemcmp support.
22003 2011-09-08 Roland McGrath <roland@hack.frob.com>
22006 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22009 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22010 garbage value in a __mach_port_mod_refs call in the cases of the
22011 task-self and thread-self ports.
22013 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22015 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22017 2011-09-08 Andreas Schwab <schwab@redhat.com>
22019 * elf/dl-load.c (lose): Check for non-null L.
22021 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22023 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22025 * elf/dl-libc.c (dlerror_run): Pass back error code from
22029 * elf/dl-load.c (lose): Free l_origin if it is valid.
22031 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22033 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22034 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22035 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22037 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22038 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22040 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22042 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22043 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22044 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22045 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22046 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22047 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22048 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22049 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22050 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22051 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22053 2011-08-15 Alan Modra <amodra@gmail.com>
22056 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22057 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22058 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22059 ppc_mcount to static-only-routines.
22060 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22062 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22063 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22065 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22067 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22068 for finite and infinity parameters.
22070 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22072 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22073 and add nop instructions for throughput optimization.
22074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22076 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22078 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22079 aligned copy for power7 with vector-scalar instructions.
22080 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22082 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22087 2011-09-07 Andreas Schwab <schwab@redhat.com>
22090 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22093 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22095 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22096 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22097 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22098 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22101 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22103 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22104 Forgot to demangle the pointer.
22106 * sysdeps/i386/sysdep.h: Define atom_text_section.
22107 * sysdeps/x86_64/sysdep.h: Likewise.
22108 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22109 section with atom_text_section.
22110 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22111 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22112 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22113 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22114 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22116 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22117 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22118 already be defined. Change to take two parameters and don't assign
22119 result to variable. Adjust all users.
22120 Define INTERNAL_GETTIME if not already defined.
22121 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22124 HAVE_CLOCK_GETTIME_VSYSCALL.
22125 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22127 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22128 gettimeofday vsyscall, just use time.
22130 2011-09-06 Andreas Schwab <schwab@redhat.com>
22132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22135 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22137 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22141 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22143 syscall if possible.
22145 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22147 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22148 e_ident. Don't pass to find_mapsXX.
22149 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22151 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22154 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22155 * sysdeps/x86_64/multiarch/strchr.S: Update.
22156 Check bit_slow_BSF bit.
22157 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22158 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22159 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22161 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22164 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22166 (tryshell): Define.
22167 (__spawni): Change last parameter to be flag. Test
22168 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22169 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22170 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22171 * posix/spawni.c: Likewise.
22172 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22173 * posix/spawnp.c: Likewise. Change normal version to use
22174 SPAWN_XFLAGS_USE_PATH.
22175 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22176 SPAWN_XFLAGS_TRY_SHELL.
22179 * posix/glob.h: Remove gcc 1.x support.
22182 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22184 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22187 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22189 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22190 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22191 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22192 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22193 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22194 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22196 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22198 * sysdeps/x86_64/wcscmp.S: New file.
22200 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22201 wcscmp-c wcscmp-sse2
22202 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22203 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22204 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22205 * wcsmbs/wcscmp.c: Allow renaming.
22207 2011-09-05 David S. Miller <davem@davemloft.net>
22209 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22210 stack slot, rather than the struct return pointer slot.
22211 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22212 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22214 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22216 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22218 * po/ja.po: Update from translation team.
22221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22222 kernel in 64-bit binaries.
22224 2011-09-01 David S. Miller <davem@davemloft.net>
22226 * elf/elf.h (HWCAP_SPARC_*): Move to..
22227 * sysdeps/sparc/sysdep.h: this new file and add new values.
22228 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22229 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22230 _DL_HWCAP_COUNT to 24.
22231 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22233 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22234 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22235 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22237 instead of magic constants.
22238 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22240 2011-08-31 David S. Miller <davem@davemloft.net>
22242 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22244 Reimplement to do errno handling inline.
22245 (SYSCALL_ERROR_HANDLER): New macro.
22246 (__SYSCALL_STRING): Do not do errno handling in asm.
22247 (__CLONE_SYSCALL_STRING): Delete.
22248 (__INTERNAL_SYSCALL_STRING): Delete.
22249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22250 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22251 (PSEUDO): Reimplement to do errno handling inline.
22252 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22253 (SYSCALL_ERROR_HANDLER): New macro.
22254 (__SYSCALL_STRING): Do not do errno handling in asm.
22255 (__CLONE_SYSCALL_STRING): Delete.
22256 (__INTERNAL_SYSCALL_STRING): Delete.
22257 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22258 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22260 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22261 (inline_syscall*): Add 'err' argument.
22262 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22263 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22264 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22265 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22267 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22268 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22270 2011-08-30 Andreas Schwab <schwab@redhat.com>
22272 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22274 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22276 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22279 2011-08-24 David S. Miller <davem@davemloft.net>
22281 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22283 2011-08-24 Andreas Schwab <schwab@redhat.com>
22285 * elf/Makefile: Add rules to build and run unload8 test.
22286 * elf/unload8.c: New file.
22287 * elf/unload8mod1.c: New file.
22288 * elf/unload8mod1x.c: New file.
22289 * elf/unload8mod2.c: New file.
22290 * elf/unload8mod3.c: New file.
22292 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22295 2011-08-23 David S. Miller <davem@davemloft.net>
22297 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22298 subtract stack bias.
22299 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22300 %sp not %fp in calculations.
22301 (_JMPBUF_UNWINDS_ADJ): Likewise.
22303 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22304 (aio_suspend): Call it to force an exception region around the
22305 AIO_MISC_WAIT() invocation.
22307 2011-08-23 Andreas Schwab <schwab@redhat.com>
22309 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22312 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22314 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22316 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22317 and <dl-machine.h>.
22318 (Elf64_FuncDesc): Remove.
22320 2011-08-22 David S. Miller <davem@davemloft.net>
22322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22323 sigaltstack check, add missing cfi directives.
22324 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22325 missing cfi directives, and sigaltstack handling.
22327 2011-08-16 Andreas Schwab <schwab@redhat.com>
22330 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22331 object is seen twice.
22332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22334 * elf/Makefile (distribute): Add tst-initorder2.c.
22335 (tests): Add tst-initorder2.
22336 (modules-names): Add tst-initorder2a tst-initorder2b
22337 tst-initorder2c tst-initorder2d. Add rules to build them.
22338 ($(objpfx)tst-initorder2.out): New rule.
22339 * elf/tst-initorder2.c: New file.
22340 * elf/tst-initorder2.exp: New file.
22342 2011-08-22 Andreas Schwab <schwab@redhat.com>
22344 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22346 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22347 dependencies back to end of function.
22349 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22350 $(elfobjdir)/ld.so.
22352 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22354 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22355 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22357 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22358 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22359 of __vdso_gettimeofday.
22360 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22361 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22363 (_libc_vdso_platform_setup): Remove initialization of
22364 __vdso_gettimeofday and __vdso_time.
22366 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22368 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22369 and fgetc_unlocked.
22370 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22373 * elf/dl-open.c (add_to_global): Report additions to the global scope
22374 for LD_DEBUG=scopes.
22375 (dl_open_worker): Also print scope of newly loaded dependencies.
22376 (_dl_show_scope): Indicate if there is no scope.
22379 * stdio-common/Makefile (tests): Add bug24.
22380 * stdio-common/bug24.c: New file.
22382 2011-08-19 Andreas Jaeger <aj@suse.de>
22385 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22386 non-existant file when using close-on-exec mode.
22388 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22390 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22391 the very first instruction.
22393 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22394 the CFI state in the end.
22395 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22396 inclusion of dl-trampoline.h.
22397 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22399 2011-08-19 Andreas Schwab <schwab@redhat.com>
22401 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22402 expectations for long double.
22404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22405 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22407 2011-08-14 David S. Miller <davem@davemloft.net>
22409 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22410 artificual limit depends upon the system page size.
22412 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22414 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22415 * resolv/Makefile: Define CFLAGS-libresolv.
22417 2011-08-17 Andreas Schwab <schwab@redhat.com>
22419 * nss/makedb.c (compute_tables): Make variables used in nested
22422 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22424 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22425 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22426 if buffer was too small.
22428 * elf/pldd.c (main): Attach to all threads in the process.
22429 Rewrite /proc handling to use *at functions.
22431 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22433 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22434 specifies first scope to show.
22435 (dl_open_worker): Update callers. Move printing scope of new
22436 object to before the relocation.
22437 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22438 * sysdeps/generic/ldsodefs.h: Update declaration.
22440 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22441 string for the scope number.
22443 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22445 * nscd/servicescache.c (cache_addserv): Make sure written is always
22448 2011-08-14 Roland McGrath <roland@hack.frob.com>
22450 * sysdeps/i386/i486/bits/atomic.h
22451 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22452 statement expression, so as to suppress "set but not used" warning.
22453 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22455 * string/strncat.c (STRNCAT): Use prototype definition.
22457 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22458 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22460 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22461 (localedef-modules): Add localedef.
22462 (locale-modules): Add locale.
22464 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22465 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22466 to avoid a warning.
22468 2011-08-14 David S. Miller <davem@davemloft.net>
22470 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22471 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22473 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22475 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22476 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22477 * elf/rtld.c (dl_main): Set l_name of vDSO.
22478 Call _dl_show_scope when DL_DEBUG_SCOPES.
22479 (process_dl_debug): Recognize scopes flag and also set it for all.
22480 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22481 Declare _dl_show_scope.
22483 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22484 (do_dlopen): Pass caller_dlopen to dl_open.
22485 (__libc_dlopen_mode): Initialize caller_dlopen.
22487 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22488 of libc. Make tolower call locale-independent. Optimize a bit by
22489 using isdigit instead of isalnum.
22490 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22492 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22494 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22495 was a dependency or dynamically loaded.
22497 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22499 * intl/l10nflist.c: Allow architecture-specific pop function.
22500 * sysdeps/x86_64/l10nflist.c: New file.
22502 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22505 2011-08-10 Andreas Schwab <schwab@redhat.com>
22507 * include/dirent.h: Add libc_hidden_proto for scandirat and
22508 scandirat64. Don't declare __scandirat64.
22509 * dirent/scandirat.c: Add libc_hidden_def.
22510 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22511 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22513 2011-08-10 David S. Miller <davem@davemloft.net>
22515 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22517 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22518 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22521 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22523 * Versions.def [libc]: Add GLIBC_2.15.
22524 * dirent/Makefile (routines): Add scandirat and scandirat64.
22525 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22527 * dirent/dirent.h: Declare scandirat and scandirat64.
22528 * dirent/scandirat.c: New file.
22529 * dirent/scandirat64.c: New file.
22530 * sysdeps/wordsize-64/scandirat.c: New file.
22531 * sysdeps/wordsize-64/scandirat64.c: New file.
22532 * dirent/opendir.c: Define opendirat.
22533 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22535 * dirent/scandir64.c: Adjust for scandir.c change.
22536 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22537 __scandirat64, and __scandir_cancel_handler.
22538 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22539 additional parameter and use openat instead of open (outside of ld.so).
22540 Add new __opendir as wrapper around __opendirat.
22541 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22542 here without requiring old scandirat implementation.
22544 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22546 * dirent/scandir.c (cancel_handler): Renamed to
22547 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22548 defined. Adjust users.
22549 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22552 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22554 * string/test-string.h (IMPL): Use __STRING to expand name and then
22557 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22560 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22562 * string/Makefile: Update.
22563 (strop-tests): Append strncat.
22564 * string/test-wcscmp.c: New file.
22565 New comprehensive test for wcscmp.
22566 * string/test-strcmp.c: Update.
22567 (WIDE): New define.
22569 2011-07-22 Andreas Schwab <schwab@redhat.com>
22571 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22574 2011-07-26 Andreas Schwab <schwab@redhat.com>
22576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22577 encoding to ACE if AI_IDN.
22579 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22582 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22584 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22586 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22587 Fix overflow bug in strncat.
22588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22590 * string/test-strncat.c: Update.
22591 Add new tests for checking overflow bugs.
22593 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22596 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22597 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22598 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22599 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22600 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22601 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22602 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22603 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22605 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22606 (USE_AS_STRCAT): Define.
22607 Add strcat and strncat support.
22608 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22610 2011-07-25 Andreas Schwab <schwab@redhat.com>
22612 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22613 __n bigger than INT_MAX+1.
22614 (__strncmp_g): Likewise.
22616 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22618 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22619 * libio/stido.h: Likewise.
22621 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22626 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22627 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22628 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22629 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22633 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22638 (_dl_x86_64_save_sse): Likewise.
22640 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22644 (_dl_x86_64_save_sse): Likewise.
22646 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22648 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22650 2011-07-21 Andreas Schwab <schwab@redhat.com>
22652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22654 (_dl_x86_64_save_sse): Use correct AVX check.
22656 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22658 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22659 bug in strncpy/strncat.
22660 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22662 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22664 * string/tester.c (test_strcat): Add tests for different alignments
22665 of source and destination.
22666 (test_strncat): Likewise.
22668 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22671 * posix/glob.c (glob): Check passed in values before using them in
22672 expressions to avoid some overflows.
22673 (glob_in_dir): Likewise.
22676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22677 check for AVX enablement so that we don't crash with old kernels and
22679 * elf/tst-audit4.c: Add same checks here.
22680 * elf/tst-audit6.c: Likewise.
22682 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22684 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22686 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22688 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22690 * po/cs.po: Update from translation team.
22691 * po/bg.po: Likewise.
22693 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22695 * misc/sys/cdefs.h: Add support for const attribute.
22696 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22697 to gnu_dev_{major,minor,makedev} functions.
22699 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22701 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22703 2011-07-20 Andreas Schwab <schwab@redhat.com>
22705 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22708 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22711 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22712 register in order to avoid conflicts with the soft frame pointer
22713 being held in r11 when necessary.
22714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22715 (INTERNAL_VSYSCALL_NCS): Likewise.
22717 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22719 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22720 * elf/dl-fini.c (_dl_fini): Adjust caller.
22721 * elf/dl-close.c (_dl_close_worker): Likewise.
22722 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22724 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22726 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22727 "aux_cache->nlibs < 0".
22729 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22730 in the reload-count case.
22732 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22735 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22736 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22737 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22738 * sysdeps/x86_64/multiarch/strcat.S: New file.
22739 * sysdeps/x86_64/multiarch/strncat.S: New file.
22740 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22741 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22742 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22743 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22744 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22745 (USE_AS_STRCAT): Define.
22746 Add strcat and strncat support.
22747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22748 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22749 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22750 * string/strncat.c: Update.
22751 (USE_AS_STRNCAT): Define.
22752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22753 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22755 * sysdeps/x86_64/multiarch/init-arch.h
22756 (bit_Prefer_PMINUB_for_stringop): New.
22757 (index_Prefer_PMINUB_for_stringop): Likewise.
22758 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22759 bit_Prefer_PMINUB_for_stringop.
22761 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22763 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22765 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22766 of casting of buffer.
22767 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22768 buffer32 and buffer64.
22769 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22770 writes instead of casting of buffer.
22771 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22773 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22776 2011-07-19 Andreas Schwab <schwab@redhat.com>
22778 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22780 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22782 * nscd/nscd.c (termination_handler): Don't do anything for a database
22783 if it has not yet been initialized.
22785 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22787 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22789 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22791 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22793 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22795 * po/nl.po: Update from translation team.
22796 * po/sv.po: Likewise.
22798 2011-07-16 Roland McGrath <roland@hack.frob.com>
22800 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22801 now disallowed by GCC.
22803 * configure.in (use-default-link): Default to yes if a test -shared
22804 link meets our qualifications.
22805 * configure: Regenerated.
22807 * config.make.in (output-format): New variable.
22808 * configure.in: Check for ld --print-output-format support.
22809 * configure: Regenerated.
22810 * Makerules ($(common-objpfx)format.lds)
22811 [$(output-format) != unknown]: Just use $(output-format),
22812 instead of the linker-script munging.
22814 2011-07-14 Roland McGrath <roland@hack.frob.com>
22816 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22817 of $(common-objpfx)shlib.lds.
22818 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22820 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22821 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22823 * configure.in (-z relro check): Adjust test code to add a large
22824 writable data section after it.
22825 * configure: Regenerated.
22827 2011-07-11 Roland McGrath <roland@hack.frob.com>
22829 * configure.in (-z relro check): Fix test code to make the variable
22831 * configure: Regenerated.
22833 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22835 * nscd/nscd.h (struct traced_file): Define.
22836 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22837 elements. Add traced_files.
22838 (inotify_fd): Declare.
22839 (register_traced_file): Declare.
22840 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22841 (inotify_fd): Export.
22842 (resolv_conf_descr): Remove.
22843 (nscd_init): Move inotify descriptor creation to main.
22844 Don't register files for notification here.
22845 (register_traced_file): New function.
22846 (invalidate_cache): Don't use reset_res to determine whether to call
22847 res_init, go through the list of registered files.
22848 (main_loop_poll): The inotify descriptors are now stored in the
22849 structures for the traced files.
22850 (main_loop_epoll): Likewise
22851 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22852 to __nss_disable_nscd.
22853 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22854 for a database anymore. Check the records for all the registered
22856 * nss/Makefile (libnss_files-routines): Add files-init.
22857 (libnss_db-routines): Add db-init.
22858 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22859 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22860 * nss/nss_db/db-init.c: New file.
22861 * nss/nss_files/files-init.c: New file.
22862 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22863 __nss_lookup_function.
22864 (__nss_lookup_function): Call nss_load_library.
22865 (nss_load_all_libraries): New function.
22866 (__nss_disable_nscd): Take parameter with callback function for files
22867 to register. Set is_nscd. Load all the DSOs for the NSS modules
22868 used for the cached services.
22869 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22870 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22871 options for features to all the files in nscd.
22873 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22875 2011-07-10 Roland McGrath <roland@hack.frob.com>
22877 * csu/elf-init.c (__libc_csu_init): Comment typo.
22879 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22881 * po/pl.po: Update from translation team.
22882 * po/ja.po: Likewise.
22883 * po/ru.po: Likewise.
22884 * po/ko.po: Likewise.
22885 * po/fr.po: Likewise.
22887 2011-07-09 Roland McGrath <roland@hack.frob.com>
22889 * configure.in (.ctors/.dtors header and trailer check):
22890 Use an empirical test on a built program.
22891 * configure: Regenerated.
22893 * configure.in (-z relro check): Use an empirical test on a built DSO.
22894 Detect, but do not require, on ia64.
22895 * configure: Regenerated.
22897 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22898 Update tests that use readelf to use $READELF instead.
22899 * configure: Regenerated.
22901 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22903 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22904 if the result is not used.
22906 2011-07-05 Andreas Jaeger <aj@suse.de>
22909 * stdlib/tst-strtod.c: Add testcase.
22911 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22913 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22914 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22915 The latter has a higher limit. Take additional parameter to pass to
22917 (__pathconf): Pass file to __statfs_link_max.
22918 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22920 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22924 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22925 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22927 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22928 (__statfs_filesize_max): Likewise.
22929 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22931 2011-07-05 Andreas Jaeger <aj@suse.de>
22933 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22935 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22937 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22939 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22942 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22944 * Makefile (strop-tests): Add strncat.
22945 * string/test-strncat.c: New file.
22947 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22949 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22951 2011-06-21 Andreas Jaeger <aj@suse.de>
22953 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22954 Copy rule from iconvdata/Makefile.
22956 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22959 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22960 but no long options are defined, just return 'W'.
22962 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22965 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22967 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22969 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22971 (innetgr): Likewise.
22973 2011-07-05 Roland McGrath <roland@hack.frob.com>
22975 * config.make.in (install_root): Default to $(DESTDIR).
22977 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22979 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22981 2011-07-02 Roland McGrath <roland@hack.frob.com>
22983 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22985 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22986 containing directory rather than embedding absolute directory names.
22988 * scripts/check-local-headers.sh: Rewritten using awk.
22989 Match by word, not by line. Print error messages for matches.
22990 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22992 * Makerules [shlib-lds-flags empty]:
22993 ($(common-objpfx)libc_pic.opts): New target.
22994 ($(common-objpfx)libc_pic.os.clean): New target.
22995 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22997 * config.make.in (OBJCOPY): New variable.
22998 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22999 * configure: Regenerated.
23001 * config.make.in (use-default-link): New variable.
23002 * configure.in (use_default_link): Grok --with-default-link to set it.
23003 * configure: Regenerated.
23004 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23005 (shlib-lds, shlib-lds-flags): Define to empty.
23007 * Makerules (shlib-lds): New variable.
23008 (shlib-lds-flags): New variable.
23009 (build-shlib, build-moduile, build-module-asneeded): Use it.
23010 ($(common-objpfx)libc.so): Use $(shlib-lds).
23011 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23012 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23014 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23015 DT_FLAGS/DT_FLAGS_1 with zero flags.
23017 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23018 linker script munging.
23020 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23022 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23024 * crypt/sha512.c (sha512_process_block): Perform total addition using
23025 128-bit if possible.
23026 (__sha512_finish_ctx): Likewise.
23027 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23029 * crypt/sha256.c (SWAP64): Define.
23030 (sha256_process_block): Perform total addition using 64-bit if
23032 (__sha256_finish_ctx): Likewise.
23034 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23036 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23038 * nscd/hstcache.c (cache_addhst): Likewise.
23039 * nscd/grpcache.c (cache_addgr): Likewise.
23040 * nscd/aicache.c (addhstaiX): Likewise
23041 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23043 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23045 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23047 * nscd/hstcache.c (cache_addhst): Likewise.
23048 * nscd/grpcache.c (cache_addgr): Likewise.
23049 * nscd/aicache.c (addhstaiX): Likewise
23051 2011-07-01 Andreas Schwab <schwab@redhat.com>
23053 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23054 domain only when needed.
23056 2011-06-30 Andreas Schwab <schwab@redhat.com>
23058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23059 is always restored.
23061 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23063 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23064 are re-adding the entry.
23065 * nscd/servicescache.c (cache_addserv): Likewise.
23067 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23069 * sysdeps/generic/dl-irel.h: fix protection against multiple
23071 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23073 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23076 * malloc/memusage.sh: Fix quoting in message.
23077 * debug/xtrace.sh: Likewise.
23079 * configure.in: Remove support for --experimental-malloc option, make
23081 * config.make.in: Likewise.
23082 * malloc/Makefile: Likewise.
23084 2011-06-27 Andreas Schwab <schwab@redhat.com>
23086 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23087 two-byte characters.
23089 2011-06-27 Roland McGrath <roland@hack.frob.com>
23091 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23092 AC_CACHE_CHECK invocation.
23093 * configure: Regenerated.
23095 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23097 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23100 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23101 bit from old_res_options.
23103 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23105 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23106 value type for setfct.
23108 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23110 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23111 __gettimeofday instead of gettimeofday.
23113 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23115 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23117 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23119 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23124 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23127 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23128 strcpy-sse2-unaligned strncpy-sse2-unaligned
23129 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23130 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23131 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23132 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23133 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23134 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23136 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23137 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23138 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23139 (STRCPY): Support SSE2 and SSSE3 versions.
23141 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23144 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23145 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23146 kernels which artificially limit size of requests.
23148 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23151 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23152 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23153 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23154 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23155 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23156 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23157 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23158 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23160 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23161 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23162 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23163 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23164 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23166 Enable unaligned load optimization for Intel Core i3, i5 and i7
23168 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23170 (index_Fast_Unaligned_Load): Define.
23171 (HAS_FAST_UNALIGNED_LOAD): Define.
23173 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23175 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23177 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23181 until it is clear that the information is realy needed.
23182 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23184 2011-06-22 Andreas Schwab <schwab@redhat.com>
23186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23188 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23191 /sys/devices/system/cpu/online if it is usable.
23193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23194 reading the information from the /proc filesystem to once a second.
23196 2011-06-21 Andreas Jaeger <aj@suse.de>
23198 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23199 NULL after inclusion of kernel headers.
23201 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23203 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23204 calls to internal_setent.
23207 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23208 addresses using gethostbyname4_r ignore IPv4 addresses.
23210 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23211 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23213 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23215 2011-06-20 David S. Miller <davem@davemloft.net>
23217 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23219 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23221 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23222 (elf_irel): Use it.
23223 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23224 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23225 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23226 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23227 * sysdeps/x86_64/dl-irel.h: Likewise.
23229 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23230 * elf/dl-sym.c: Likewise.
23232 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23234 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23235 need to dereference resplen2.
23237 2011-06-14 Andreas Schwab <schwab@redhat.com>
23239 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23241 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23243 * Makeconfig: Define vardbdir and inst_vardbdir.
23244 * nss/Makefile: Add rules to install db-Makefile.
23246 * nss/nss_db/db-XXX.c: Cleanup.
23248 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23249 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23251 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23252 * nss/makedb.c: Implement -g option to specify that value strings
23253 are generated and should not be added to table iterated over for
23255 * nss/nss_db/db-initgroups.c: New file.
23257 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23260 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23261 (internal_getgrouplist): Adjust to name change.
23262 Update use_initgroups_entry if this is not the first call.
23263 * nss/databases.def: Add initgroups entry.
23265 * nss/makedb.c (compute_tables): Check result of multiple hash table
23266 sizes to minimize maximum chain length.
23268 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23270 * Versions.def: Add entry for libnss_db.
23271 * shlib-versions: Likewise.
23272 * nss/Makefile: Add rules to build libnss_db.
23273 * nss/Versions: Add libnss_db information. Organize libnss_files
23275 * nss/db-Makefile: Add gshadow support. Change rules for the new
23276 makedb progra. Some minor improvements to generate smaller files.
23277 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23279 * nss/makedb.c: ...here.
23280 Improve database format to be smaller and require less memory at
23282 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23284 * nss/nss_db/db-netgrp.c: Likewise.
23285 * nss/nss_db/db-open.c: Likewise.
23286 * nss/nss_files/flies-XXX.x: Adjust comments.
23287 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23288 * nss/nss_files/files-grp.c: Likewise.
23289 * nss/nss_files/files-hosts.c: Likewise.
23290 * nss/nss_files/files-network.c: Likewise.
23291 * nss/nss_files/files-proto.c: Likewise.
23292 * nss/nss_files/files-pwd.c: Likewise.
23293 * nss/nss_files/files-rpc.c: Likewise.
23294 * nss/nss_files/files-service.c: Likewise.
23295 * nss/nss_files/files-sgrp.c: Likewise.
23296 * nss/nss_files/files-spwd.c: Likewise.
23297 * nss/nss_db/db-alias.c: Removed.
23298 * nss/nss_db/dummy-db.h: Removed.
23300 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23302 * nss/makedb.c: Rewritten to not use database library.
23303 * nss/Makefile: Update to build new makedb program.
23305 2011-06-14 Andreas Jaeger <aj@suse.de>
23307 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23308 memset declaration.
23310 2011-06-10 Andreas Schwab <schwab@redhat.com>
23312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23315 2011-06-10 Roland McGrath <roland@hack.frob.com>
23317 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23318 * elf/Makefile ($(objpfx)ld.so): Likewise.
23320 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23321 Don't list ld.so twice in dependencies.
23323 * posix/bug-regex31.c: Include <stdlib.h>.
23325 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23327 * nis/nss_compat/compat-spwd.c
23328 (getspent_next_nss_netgr): Remove unused variable.
23329 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23331 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23332 nonmembers" output to use the right array.
23334 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23336 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23338 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23339 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23340 * catgets/gencat.c (read_input_file): Likewise.
23341 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23343 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23344 variable definition inside #if's controlling its use.
23346 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23348 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23350 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23352 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23355 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23357 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23358 * configure: Regenerated.
23360 * Makerules: Revert last change.
23361 * elf/Makefile: Likewise.
23363 2011-06-09 Roland McGrath <roland@hack.frob.com>
23365 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23366 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23367 (reloc-link): Likewise.
23369 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23371 * elf/Makefile: Add rules to build pldd.
23372 * elf/pldd.c: New file.
23373 * elf/pldd-xx.c: New file.
23375 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23377 * version.h: Update for 2.15 development version.
23379 2011-06-07 David S. Miller <davem@davemloft.net>
23381 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23383 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23384 elf_machine_lazy_rel): Likewise.
23385 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23387 elf_machine_lazy_rel): Likewise.
23388 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23389 dl_hwcap via passed in argument.
23390 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23393 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23395 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23397 2011-06-06 Roland McGrath <roland@hack.frob.com>
23400 * manual/fdl-1.1.texi: New file, verbatim from:
23401 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23402 * manual/lgpl-2.1.texi: New file, verbatim from:
23403 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23404 * manual/Makefile (licenses): New variable, list those new file names.
23406 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23408 * manual/fdl.texi: File removed.
23409 * manual/lesser.texi: File removed.
23410 * manual/libc.texinfo (Copying, Documentation License):
23411 Use new @include file names, put @appendix directive before @include.
23413 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23416 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23417 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23418 (mq_open): Add __NTH.
23420 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23423 Assume Intel Core i3/i5/i7 processor if AVX is available.
23425 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23430 2011-05-31 Andreas Schwab <schwab@redhat.com>
23432 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23433 memory. Use alloca_account. Fix memory leak when retrying.
23435 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23437 * version.h (RELEASE): Bump for 2.14 release.
23438 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23440 * config.make.in (RANLIB): Remove entry.
23442 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23444 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23445 (libc.pot): Work around missing support for .ksh extension in xgettext.
23448 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23449 if both request failed.
23450 (send_dg): In case of server errors clear resplen or *resplen2.
23453 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23454 when there are multiple maps.
23455 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23456 (_dl_fini): Remove test here.
23458 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23460 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23463 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23464 bit from old_res_options.
23465 (gaih_inet): Likewise.
23468 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23471 * resolv/res_init.c (res_setoptions): Make the code more compact.
23474 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23478 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23480 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23483 * malloc/malloc.h: Declare malloc hook variables as volatile.
23485 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23489 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23490 raise in the comment.
23491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23493 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23495 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23498 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23499 grow the buffers more if it already has to be sufficient.
23500 (build_wcs_upper_buffer): Likewise.
23501 * posix/regexec.c (check_matching): Likewise.
23502 (clean_state_log_if_needed): Likewise.
23503 (extend_buffers): Don't enlarge buffers beyond size of the input
23505 Patches mostly by Emil Wojak <emil@wojak.eu>.
23506 * posix/bug-regex32.c: New file.
23507 * posix/Makefile (tests): Add bug-regex32.
23509 * locale/findlocale.c (_nl_find_locale): Return right away if
23510 _nl_explode_name failed.
23511 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23513 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23515 * debug/xtrace.sh: Unify messages.
23516 * malloc/memusage.sh: Likewise.
23519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23520 time symbol from vDSO. Substitute with vsyscall if not available.
23521 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23524 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23525 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23526 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23527 Add sendmmsg and internal_sendmmsg.
23528 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23529 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23530 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23532 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23533 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23536 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23539 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23540 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23546 * iconvdata/Makefile (tests): Add bug-iconv9.
23547 * iconvdata/bug-iconv9.c: New file.
23549 2011-05-27 Andreas Schwab <schwab@redhat.com>
23552 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23554 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23556 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23557 (struct user_regs_struct): Change intcs field back to cs.
23559 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23561 * po/ja.po: Update from translation team.
23563 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23566 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23567 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23569 2011-05-20 Andreas Schwab <schwab@redhat.com>
23571 * stdlib/longlong.h: Update from GCC.
23573 2011-05-23 Andreas Schwab <schwab@redhat.com>
23575 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23577 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23578 Add parameter name.
23579 (__sysconf): Pass it down.
23581 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23584 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23586 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23587 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23588 add in in __libc_use_alloca calls. Adjust callers.
23589 (glob): Use malloc in some situations.
23591 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23592 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23595 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23597 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23598 and CLOCK_BOOTTIME_ALARM.
23601 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23604 * string/_strerror.c (__strerror_r): Print negative errors as signed
23608 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23609 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23610 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23612 * configure.in: Fix typo in redirection and correct removal of test
23613 files in two cases.
23616 * locale/setlocale.c (new_composite_name): Fix test to check for
23617 identical name of all categories.
23620 * libio/filedoalloc.c (local_isatty): New function.
23621 (_IO_file_doallocate): Use local_isatty.
23622 * stdio-common/perror.c (perror): In case a new stream is used
23623 forward the stream error.
23624 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23627 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23632 * include/alloca.h (extend_alloca_account): Define.
23635 * posix/regex.h: Fix comments with documentation of user-accessible
23636 fields after compilation and describe correct free'ing of pattern
23637 after re_compile_pattern.
23638 Patch by Reuben Thomas <rrt@sc3d.org>.
23640 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23642 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23643 and -mno-altivec to prevent the compiler from using Altivec and/or
23644 VSX instructions when the corresponding registers are not available.
23646 2011-05-19 Andreas Schwab <schwab@redhat.com>
23648 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23650 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23652 * libio/freopen.c (freopen): Use __dup2, not dup2.
23653 * libio/freopen64.c (freopen64): Likewise.
23655 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23658 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23659 * math/Makefile (tests): Add test-powl.
23660 (CFLAGS-test-powl.c): Define.
23661 * math/test-powl.c: New file.
23663 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23665 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23667 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23670 * iconvdata/gb18030.c: Update to GB18020-2005.
23672 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23674 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23675 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23676 Patch by Aharon Robbins <arnold@skeeve.com>.
23679 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23683 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23684 through underflows.
23687 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23688 point to strings before performing equality test for error_one_per_line
23692 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23696 (struct user_fpregs_struct): Avoid __uint*_t types.
23699 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23700 symbol info. Use it instead of calling _dl_addr locally.
23701 (lock_and_info): New function.
23702 (tr_freehook): Call lock_and_info and pass symbol info as additional
23703 parameter to tr_where.
23704 (tr_mallochook): Likewise.
23705 (tr_reallochook): Likewise.
23706 (tr_memalignhook): Likewise.
23708 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23709 used and couldn't be at all thread-safe.
23711 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23713 * libio/freopen.c (freopen): Don't close old file descriptor
23714 before the new one is opened. Instead dup the new file descriptor
23715 to the old one after the new stream is created.
23716 * libio/freopen64.c (freopen64): Likewise.
23717 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23718 * libio/fileops.c (_IO_new_file_close_it): Handle new
23719 _IO_FLAGS2_NOCLOSE flag.
23720 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23721 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23722 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23723 _IO_FLAGS2_NOCLOSE flag.
23724 * include/unistd.h: Add hidden_proto for dup3.
23725 Define __have_dup3.
23726 * io/dup3.c: Define hidden symbol.
23727 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23730 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23731 when an incomplete long option is used.
23732 * posix/tst-getopt_long1.c: New file.
23733 * posix/Makefile (tests): Add tst-getopt_long1.
23736 * scripts/config.guess: Update from autoconf-2.68.
23737 * scripts/config.sub: Likewise.
23740 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23742 (has_cpuclock): ...this. New function.
23743 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23744 macro here based on has_cpuclock code.
23747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23748 First byte (not low byte) is now always NUL.
23749 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23752 Use non-cancelable interfaces.
23755 * locale/iso-639.def: Add entry for Sorani.
23758 * include/stdlib.h: Move include protection to the right place.
23759 Define abort_msg_s. Declare __abort_msg with it.
23760 * stdlib/abort.c (__abort_msg): Adjust type.
23761 * assert/assert.c (__assert_fail_base): New function. Majority
23762 of code from __assert_fail. Allocate memory for __abort_msg with
23764 (__assert_fail): Now call __assert_fail_base.
23765 * assert/assert-perr.c: Remove bulk of implementation. Use
23766 __assert_fail_base.
23767 * include/assert.hL Declare __assert_fail_base.
23768 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23770 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23772 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23776 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23777 until all modules are registered in the DTV.
23778 * elf/Makefile: Add rules to build and run tst-tls19.
23779 * elf/tst-tls19.c: New file.
23780 * elf/tst-tls19mod1.c: New file.
23781 * elf/tst-tls19mod2.c: New file.
23782 * elf/tst-tls19mod3.c: New file.
23783 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23786 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23790 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23791 two-byte sequence errors.
23792 * iconvdata/Makefile (tests): Add bug-iconv8.
23793 * iconvdata/bug-iconv8.c: New file.
23796 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23799 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23802 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23803 (dummy_getcfa): New function.
23804 (init): Get _Unwind_GetCFA address, use dummy if not found.
23805 (backtrace_helper): In recursion check, also check whether CFA changes.
23806 (__backtrace): Completely initialize arg.
23808 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23809 storing incomplete byte sequence in state object. Avoid testing for
23810 guaranteed too small input if we know there is enough data available.
23812 2011-05-11 Andreas Schwab <schwab@redhat.com>
23814 * Makeconfig (+link-pie): Indent.
23815 * Rules (binaries-pie): Define if $(have-fpie) and
23817 (binaries-shared): Also filter out $(binaries-pie).
23818 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23819 * nscd/Makefile (others-pie): Add nscd.
23820 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23821 ($(objpfx)nscd): Remove command override.
23822 * login/Makefile (others-pie): Add pt_chown.
23823 ($(objpfx)pt_chown): Remove command override.
23824 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23825 remove command overrides.
23827 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23829 * libio/tst_putwc.c: Fix error messages.
23832 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23833 currently writing and seek to current position when not.
23834 * libio/Makefile (tests): Add bug-fclose1.
23835 * libio/bug-fclose1.c: New file.
23837 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23840 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23841 don't set DF_1_NODELETE here.
23842 (do_lookup_x): When entering new entry test for copy relocation
23843 and if necessary set DF_1_NODELETE flag.
23844 * elf/tst-unique4.cc: New file.
23845 * elf/tst-unique4.h: New file.
23846 * elf/tst-unique4lib.cc: New file.
23847 * elf/Makefile: Add rules to build and run tst-unique4.
23848 Patch by Piotr Bury <pbury@goahead.com>.
23850 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23853 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23856 * misc/mntent_r.c (addmntent): Flush the stream after the output
23859 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23860 (is_trusted_path_normalize): Skip initial colon. Append slash
23861 to empty buffer. Duplicate is_trusted_path code but allow
23862 constructed patch to be prefix.
23863 (is_dst): Allow $ORIGIN followed by /.
23864 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23865 Correct testing of result of is_trusted_path_normalize
23866 (decompose_rpath): Fix warning.
23868 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23871 * grp/initgroups.c (internal_getgrouplist): When we found the service
23872 list through the initgroups entry in nsswitch.conf do not always
23873 continue on a successful lookup. Don't always use the
23874 __nss_group_database value if it is set.
23875 * nss/nsswitch.conf (initgroups): Change action for successful db
23876 lookup to continue for compatibility.
23878 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23881 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23883 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23885 * iconvdata/tst-tables.sh: Likewise.
23886 * iconvdata/cp770.c: New file.
23887 * iconvdata/cp771.c: New file.
23888 * iconvdata/cp772.c: New file.
23889 * iconvdata/cp773.c: New file.
23890 * iconvdata/cp774.c: New file.
23891 * iconvdata/testdata/CP770: New file.
23892 * iconvdata/testdata/CP770..UTF8: New file.
23893 * iconvdata/testdata/CP771: New file.
23894 * iconvdata/testdata/CP771..UTF8: New file.
23895 * iconvdata/testdata/CP772: New file.
23896 * iconvdata/testdata/CP772..UTF8: New file.
23897 * iconvdata/testdata/CP773: New file.
23898 * iconvdata/testdata/CP773..UTF8: New file.
23899 * iconvdata/testdata/CP774: New file.
23900 * iconvdata/testdata/CP774..UTF8: New file.
23902 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23904 * iconvdata/gen-8bit-gap.sh: Likewise.
23905 * iconvdata/gen-8bit.sh: Likewise.
23907 * locale/iso-639.def: Add ary entry.
23910 * locale/C-translit.h.in: Add U20A1 transliteration.
23913 * locale/iso-639.def: Add wae entry.
23914 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23917 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23921 * locale/C-translit.h.in: Add entry for U20B9.
23922 Patch by pravin.d.s@gmail.com.
23924 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23927 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23928 ENAMETOOLONG use generic getcwd.
23929 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23930 in rtld. Use *stat64.
23931 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23932 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23933 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23934 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23935 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23936 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23937 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23938 __fstatat64 macros.
23939 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23940 * dirent/rewinddir.c: Add libc_hidden_def.
23941 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23942 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23944 * include/dirent.h (__alloc_dir): Add flags parameter.
23945 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23946 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23948 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23949 from fdopendir if O_CLOEXEC is already set.
23951 2011-03-15 Alan Modra <amodra@gmail.com>
23953 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23954 l_tls_firstbyte_offset non-zero. Save padding offset in
23955 l_tls_firstbyte_offset for later use.
23956 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23957 freeing static tls block.
23959 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23961 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23962 where #ifdef was intended. The intent is to prevent ARG_MAX from
23963 being defined by the kernel headers.
23965 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23968 * resolv/resolv.h: Define RES_NOTLDQUERY.
23969 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23970 no-tld-query and set RES_NOTLDQUERY.
23971 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23972 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23973 modern BIND to search name as TLD unless forbidden.
23975 2011-05-07 Petr Baudis <pasky@suse.cz>
23976 Ulrich Drepper <drepper@gmail.com>
23979 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23980 (is_trusted_path): ...to here.
23981 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23982 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23983 using is_trusted_path_normalize() in setuid scripts.
23985 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23987 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23988 __BEGIN/__END_DECLS.
23990 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23992 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23993 NSS_STATUS_NOTFOUND if no record was found.
23995 2011-05-05 Andreas Schwab <schwab@redhat.com>
23997 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23998 (headers-not-in-tirpc): Remove rpc/netdb.h
23999 * resolv/netdb.h: Revert last change.
24001 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24003 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24004 circular dependency between libgcc.a and libc.a.
24006 2011-05-05 Andreas Schwab <schwab@redhat.com>
24008 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24009 * nis/Makefile: Don't install rpcsvc/*.
24010 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24011 instead of <rpc/types.h>.
24012 (MAXHOSTNAMELEN): Define.
24014 2011-05-03 Andreas Schwab <schwab@redhat.com>
24016 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24018 2011-04-28 Maciej Babinski <mbabinski@google.com>
24021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24022 gethostbyname4_r when IPv6 results are possible.
24024 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24027 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24028 _PC_PIPE_BUF handling.
24030 2011-04-30 Bruno Haible <bruno@clisp.org>
24033 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24034 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24036 * inet/getnameinfo.c (getnameinfo): Likewise.
24038 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24040 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24041 to groups setting in database lookup.
24042 * nss/nsswitch.conf: Add initgroups entry.
24044 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24047 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24049 Patch by Eric Blake <eblake@redhat.com>.
24051 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24053 * sunrpc/Makefile (need-export-routines): Add svc_run.
24054 (routines): Remove svc_run.
24055 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24056 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24057 * sunrpc/svc_run.c (svc_run): Likewise.
24058 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24060 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24062 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24063 problem in reallocation in last patch.
24065 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24067 * sunrpc/Makefile: Move inclusion of Rules.
24069 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24071 * nss/nss_files/files-initgroups.c: New file.
24072 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24073 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24074 _nss_files_initgroups_dyn.
24076 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24078 * elf/elf.h (R_ARM_IRELATIVE): Define.
24080 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24082 * po/ru.po: Update from translation team.
24084 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24086 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24089 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24092 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24093 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24096 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24098 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24100 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24102 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24103 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24106 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24109 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24111 * stdlib/bug-getcontext.c: New file.
24112 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24114 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24116 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24117 instructions into .machine "z9-109".
24118 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24119 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24121 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24123 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24124 between environment variables and auxiliary vector.
24126 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24128 * Makefile: Add rules to build linkobj/libc.so.
24129 * include/libc-symbols.h: Define libc_hidden_nolink.
24130 * include/rpc/auth.h: Mark functions which are to be hidden.
24131 * include/rpc/auth_des.h: Likewise.
24132 * include/rpc/auth_unix.h: Likewise.
24133 * include/rpc/clnt.h: Likewise.
24134 * include/rpc/des_crypt.h: Likewise.
24135 * include/rpc/key_prot.h: Likewise.
24136 * include/rpc/pmap_clnt.h: Likewise.
24137 * include/rpc/pmap_prot.h: Likewise.
24138 * include/rpc/pmap_rmt.h: Likewise.
24139 * include/rpc/rpc_msg.h: Likewise.
24140 * include/rpc/svc.h: Likewise.
24141 * include/rpc/svc_auth.h: Likewise.
24142 * include/rpc/xdr.h: Likewise.
24143 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24144 * nss/Makefile: Likewise.
24145 * sunrpc/Makefile: Don't install headers. Build library with normal
24146 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24147 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24148 for the compat linking library. Remove use of INTDEF/INTUSE.
24149 * sunrpc/auth_none.c: Likewise.
24150 * sunrpc/auth_unix.c: Likewise.
24151 * sunrpc/authdes_prot.c: Likewise.
24152 * sunrpc/authuxprot.c: Likewise.
24153 * sunrpc/clnt_gen.c: Likewise.
24154 * sunrpc/clnt_perr.c: Likewise.
24155 * sunrpc/clnt_raw.c: Likewise.
24156 * sunrpc/clnt_simp.c: Likewise.
24157 * sunrpc/clnt_tcp.c: Likewise.
24158 * sunrpc/clnt_udp.c: Likewise.
24159 * sunrpc/clnt_unix.c: Likewise.
24160 * sunrpc/des_crypt.c: Likewise.
24161 * sunrpc/des_soft.c: Likewise.
24162 * sunrpc/get_myaddr.c: Likewise.
24163 * sunrpc/key_call.c: Likewise.
24164 * sunrpc/key_prot.c: Likewise.
24165 * sunrpc/netname.c: Likewise.
24166 * sunrpc/pm_getmaps.c: Likewise.
24167 * sunrpc/pm_getport.c: Likewise.
24168 * sunrpc/pmap_clnt.c: Likewise.
24169 * sunrpc/pmap_prot.c: Likewise.
24170 * sunrpc/pmap_prot2.c: Likewise.
24171 * sunrpc/pmap_rmt.c: Likewise.
24172 * sunrpc/publickey.c: Likewise.
24173 * sunrpc/rpc_cmsg.c: Likewise.
24174 * sunrpc/rpc_common.c: Likewise.
24175 * sunrpc/rpc_dtable.c: Likewise.
24176 * sunrpc/rpc_prot.c: Likewise.
24177 * sunrpc/rpc_thread.c: Likewise.
24178 * sunrpc/rtime.c: Likewise.
24179 * sunrpc/svc.c: Likewise.
24180 * sunrpc/svc_auth.c: Likewise.
24181 * sunrpc/svc_authux.c: Likewise.
24182 * sunrpc/svc_raw.c: Likewise.
24183 * sunrpc/svc_run.c: Likewise.
24184 * sunrpc/svc_simple.c: Likewise.
24185 * sunrpc/svc_tcp.c: Likewise.
24186 * sunrpc/svc_udp.c: Likewise.
24187 * sunrpc/svc_unix.c: Likewise.
24188 * sunrpc/svcauth_des.c: Likewise.
24189 * sunrpc/xcrypt.c: Likewise.
24190 * sunrpc/xdr.c: Likewise.
24191 * sunrpc/xdr_array.c: Likewise.
24192 * sunrpc/xdr_float.c: Likewise.
24193 * sunrpc/xdr_intXX_t.c: Likewise.
24194 * sunrpc/xdr_mem.c: Likewise.
24195 * sunrpc/xdr_rec.c: Likewise.
24196 * sunrpc/xdr_ref.c: Likewise.
24197 * sunrpc/xdr_sizeof.c: Likewise.
24198 * sunrpc/xdr_stdio.c: Likewise.
24200 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24203 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24204 * sysdeps/ia64/dl-tls.h: Likewise.
24205 * sysdeps/powerpc/dl-tls.h: Likewise.
24206 * sysdeps/s390/dl-tls.h: Likewise.
24207 * sysdeps/sh/dl-tls.h: Likewise.
24208 * sysdeps/sparc/dl-tls.h: Likewise.
24209 * sysdeps/x86_64/dl-tls.h: Likewise.
24210 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24212 2011-03-14 Andreas Schwab <schwab@redhat.com>
24214 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24215 rpath element also skip the following colon.
24216 (expand_dynamic_string_token): Add is_path parameter and pass
24217 down to DL_DST_REQUIRED and _dl_dst_substitute.
24218 (decompose_rpath): Call expand_dynamic_string_token with
24219 non-zero is_path. Ignore empty rpaths.
24220 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24223 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24228 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24231 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24232 Patch by Filipe David Manana <fdmanana@apache.org>.
24234 2011-04-07 Andreas Schwab <schwab@redhat.com>
24236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24237 Maintain aligned stack.
24238 (CHECK_RSP): Remove unused macro.
24240 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24242 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24243 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24245 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24247 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24249 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24251 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24254 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24255 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24256 * sysdeps/x86_64/memmove.c: New file.
24257 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24258 (memcpy): Renamed to ...
24259 (__new_memcpy): This.
24260 (memcpy): Provide GLIBC_2_14 memcpy.
24261 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24262 (memcpy): Provide GLIBC_2_2_5 memcpy.
24264 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24267 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24269 2011-03-30 Andreas Schwab <schwab@redhat.com>
24271 * misc/syncfs.c: New file.
24272 * misc/Makefile (routines): Add syncfs.
24273 * posix/unistd.h: Declare syncfs.
24274 * sysdeps/unix/syscalls.list: Add syncfs.
24276 2011-04-01 Andreas Schwab <schwab@redhat.com>
24278 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24283 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24285 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24288 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24292 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24298 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24299 sync_file_range.c with -fexceptions.
24300 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24301 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24302 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24303 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24304 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24305 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24306 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24307 sync_file_range as cancellation point
24308 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24309 now a wrapper around __call_sync_file_range with cancellation handling.
24310 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24311 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24312 function name to __call_sync_file_range.
24313 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24314 Add call_sync_file_range.
24316 2011-04-01 Andreas Schwab <schwab@redhat.com>
24318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24321 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24323 * iconv/iconv.h: Fix typo in comment.
24324 * io/fcntl.h: Likewise.
24325 * libio/stdio.h: Likewise.
24326 * posix/spawn.h: Likewise.
24327 * posix/unistd.h: Likewise.
24328 * stdlib/stdlib.h: Likewise.
24329 * time/time.h: Likewise.
24330 * wcsmbs/wchar.h: Likewise.
24332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24333 open_by_handle): Add.
24334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24335 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24336 Augment a few comments.
24337 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24339 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24342 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24345 * io/fcntl.h (AT_EMPTY_PATH): Define.
24347 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24349 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24350 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24351 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24353 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24354 * Versions.def: Add GLIBC_2.14.
24355 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24358 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24360 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24362 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24364 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24367 * string/test-strncmp.c (do_page_test): New function.
24368 (check2): Likewise.
24369 (test_main): Call check2.
24370 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24372 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24375 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24376 Handle cache information in CPU leaf 4.
24377 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24379 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24382 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24383 character representation.
24384 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24386 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24388 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24389 END(__isnan) to END(__isnanf) to match function entry point/label
24390 EALIGN(__isnanf,...).
24392 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24394 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24396 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24399 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24400 copy from the symbol referenced in the relocation to initialize the
24402 Patch by Piotr Bury <pbury@goahead.com>.
24403 * elf/Makefile: Add rules to build and tst-unique3.
24404 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24405 * elf/tst-unique3.cc: New file.
24406 * elf/tst-unique3.h: New file.
24407 * elf/tst-unique3lib.cc: New file.
24408 * elf/tst-unique3lib2.cc: New file.
24410 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24412 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24414 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24415 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24418 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24420 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24421 to-be-loaded object along a path to loader is ld.so.
24423 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24424 Ulrich Drepper <drepper@gmail.com>
24426 * sysdeps/x86_64/memset.S: After aligning destination, code
24427 branches to different locations depending on the value of
24428 misalignment, when multiarch is enabled. Fix this.
24430 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24432 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24433 Set _x86_64_preferred_memory_instruction for AMD processsors.
24434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24435 Set bit_Prefer_SSE_for_memop for AMD processors.
24437 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24439 * libio/fmemopen.c (fmemopen): Optimize a bit.
24441 2011-03-03 Andreas Schwab <schwab@redhat.com>
24443 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24445 2011-03-03 Roland McGrath <roland@redhat.com>
24447 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24449 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24451 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24452 __bzero_ultra1 instead of __memset_ultra1.
24454 2011-02-23 Andreas Schwab <schwab@redhat.com>
24455 Ulrich Drepper <drepper@gmail.com>
24458 * include/link.h (struct link_map): Add l_orig_initfini.
24459 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24460 returning unsuccessfully.
24461 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24462 close of a file loaded at startup, restore the original l_initfini
24464 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24465 list, store the pointer.
24466 * elf/Makefile ($(objpfx)noload-mem): New rule.
24467 (noload-ENV): Define.
24468 (tests): Add $(objpfx)noload-mem.
24469 * elf/noload.c: Include <memcheck.h>.
24470 (main): Call mtrace. Close all opened handles.
24472 2011-02-17 Andreas Schwab <schwab@redhat.com>
24475 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24476 dependencies are missing.
24478 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24480 Fix __if_freereq crash: Unlike the generic version which uses free,
24482 * sysdeps/mach/hurd/ifreq.h: New file.
24484 2011-01-27 Petr Baudis <pasky@suse.cz>
24485 Ulrich Drepper <drepper@gmail.com>
24488 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24489 to extend_alloca().
24490 * stdio-common/bug23.c: New file.
24491 * stdio-common/Makefile (tests): Add bug23.
24493 2010-09-28 Andreas Schwab <schwab@redhat.com>
24494 Ulrich Drepper <drepper@gmail.com>
24497 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24498 before performing relro protection. At old place add assertion
24499 to make sure nothing changed.
24501 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24502 Glauber de Oliveira Costa <glommer@gmail.com>
24504 * elf/elf.h: Add new ARM TLS relocs.
24506 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24509 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24511 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24513 * sysdeps/wordsize-64/tst-writev.c: New file.
24515 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24517 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24518 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24519 insns in _dl_start to prevent a TOC reference before relocs are
24522 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24525 * Makeconfig: Remove RANLIB definition.
24526 * Makerules: Don't use RANLIB.
24527 * aclocal.m4: Remove ranlib test.
24528 * configure.in: No need to check for ranlib.
24529 * elf/rtld-Rules: Don't use RANLIB.
24531 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24533 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24535 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24536 inclusion protection macro.
24538 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24539 SIGRTMIN and SIGRTMAX and print information in that case only when
24540 SIGRTMIN is defined.
24542 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24544 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24545 arginfo fn returning -1.
24547 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24548 and thousands string is zero terminated.
24550 2011-02-03 Andreas Schwab <schwab@redhat.com>
24552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24553 sysdeps/unix/sysv/linux/bits/socket.h.
24555 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24557 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24558 (__CPU_COUNT): Remove old macros.
24559 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24560 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24561 (__CPU_ALLOC, __CPU_FREE): Add macros.
24562 (__sched_cpualloc, __sched_cpufree): Add declarations.
24564 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24566 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24567 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24568 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24569 (readdhstai): Return value of addhstaiX call.
24570 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24571 (addgrbyX): Return value returned by cache_addgr.
24572 (readdgrbyname): Return value returned by addgrbyX.
24573 (readdgrbygid): Likewise.
24574 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24575 (addpwbyX): Return value returned by cache_addpw.
24576 (readdpwbyname): Return value returned by addhstbyX.
24577 (readdpwbyuid): Likewise.
24578 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24579 (addservbyX): Return value returned by cache_addserv.
24580 (readdservbyname): Return value returned by addservbyX:
24581 (readdservbyport): Likewise.
24582 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24583 (addhstbyX): Return value returned by cache_addhst.
24584 (readdhstbyname): Return value returned by addhstbyX.
24585 (readdhstbyaddr): Likewise.
24586 (readdhstbynamev6): Likewise.
24587 (readdhstbyaddrv6): Likewise.
24588 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24589 (readdinitgroups): Return value returned by addinitgroupsX.
24590 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24591 (prune_cache): Keep track of timeout value of re-added entries.
24592 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24593 * nscd/nscd.h: Adjust prototypes of readd* functions.
24595 2011-02-04 Roland McGrath <roland@redhat.com>
24597 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24598 (nis_stats): Likewise.
24599 * nis/nis_modify.c (nis_modify): Likewise.
24600 * nis/nis_remove.c (nis_remove): Likewise.
24601 * nis/nis_add.c (nis_add): Likewise.
24603 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24605 * posix/fnmatch_loop.c: Add some consts.
24607 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24609 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24612 * config.make.in (config-cflags-novzeroupper): Define.
24613 * configure.in: Substitute libc_cv_cc_novzeroupper.
24614 * elf/Makefile (AVX-CFLAGS): Define.
24615 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24616 (CFLAGS-tst-auditmod4a.c): Likewise.
24617 (CFLAGS-tst-auditmod4b.c): Likewise.
24618 (CFLAGS-tst-auditmod6b.c): Likewise.
24619 (CFLAGS-tst-auditmod6c.c): Likewise.
24620 (CFLAGS-tst-auditmod7b.c): Likewise.
24621 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24623 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24625 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24626 function to the callback.
24627 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24629 2011-02-02 Andreas Schwab <schwab@redhat.com>
24631 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24634 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24637 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24639 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24641 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24644 * elf/Makefile: Add rules to build and run new test.
24645 * elf/tst-initorder.c: New file.
24646 * elf/tst-initorder.exp: New file.
24647 * elf/tst-initordera1.c: New file.
24648 * elf/tst-initordera2.c: New file.
24649 * elf/tst-initordera3.c: New file.
24650 * elf/tst-initordera4.c: New file.
24651 * elf/tst-initorderb1.c: New file.
24652 * elf/tst-initorderb2.c: New file.
24653 * elf/tst-order-a1.c: New file.
24654 * elf/tst-order-a2.c: New file.
24655 * elf/tst-order-a3.c: New file.
24656 * elf/tst-order-a4.c: New file.
24657 * elf/tst-order-b1.c: New file.
24658 * elf/tst-order-b2.c: New file.
24659 * elf/tst-order-main.c: New file.
24660 New test case by George Gensure <werkt0@gmail.com>.
24662 2010-10-01 Andreas Schwab <schwab@redhat.com>
24664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24665 decoding ACE if AI_CANONIDN.
24667 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24669 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24671 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24673 * version.h (RELEASE): Bump for 2.13 release.
24674 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24676 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24678 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24680 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24682 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24683 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24684 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24685 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24687 * posix/getconf.c: Update copyright year.
24688 * catgets/gencat.c: Likewise.
24689 * csu/version.c: Likewise.
24690 * debug/catchsegv.sh: Likewise.
24691 * debug/xtrace.sh: Likewise.
24692 * elf/ldconfig.c: Likewise.
24693 * elf/ldd.bash.in: Likewise.
24694 * elf/sprof.c (print_version): Likewise.
24695 * iconv/iconv_prog.c: Likewise.
24696 * iconv/iconvconfig.c: Likewise.
24697 * locale/programs/locale.c: Likewise.
24698 * locale/programs/localedef.c: Likewise.
24699 * malloc/memusage.sh: Likewise.
24700 * malloc/mtrace.pl: Likewise.
24701 * nscd/nscd.c (print_version): Likewise.
24702 * nss/getent.c: Likewise.
24704 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24705 PF_CAIF, and PF_ALG.
24706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24708 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24710 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24711 (modules-names): Use them.
24712 (ifunc-test-modules, ifunc-pie-tests): Define.
24713 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24714 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24715 (test-extras): Likewise.
24716 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24717 $(compile-command.c).
24718 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24719 (all-built-dso): Define.
24720 (check-textrel.out, check-execstack.out): Depend on it.
24722 * configure.in: Don't override --enable-multi-arch.
24724 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24727 * nscd/hstcache.c (tryagain): Define.
24728 (cache_addhst): Return tryagain not notfound for temporary errors.
24729 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24732 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24735 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24736 to make the syscall.
24737 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24740 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24741 and fall back to matching as normal character if the string ends before
24742 the matching ']' is found. This is what POSIX requires.
24743 * posix/testfnm.c: Adjust test result.
24744 * posix/globtest.sh: Adjust test result. Add new test.
24745 * posix/tst-fnmatch.input: Likewise.
24746 * posix/tst-fnmatch2.c: Add new test.
24748 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24750 * elf/Makefile (check-execstack): Revert last change. Depend on
24752 (check-execstack.h): New target.
24753 (generated): Add check-execstack.h.
24754 * elf/check-execstack.c: Include "check-execstack.h".
24755 (main): Revert last change.
24756 (handle_file): Return zero if GNU_STACK is absent and
24757 DEFAULT_STACK_PERMS doesn't include PF_X.
24759 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24761 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24762 in child fails because the descriptor is already closed.
24763 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24764 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24765 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24768 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24772 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24773 temporary buffer used to handle multi lookups locally.
24774 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24776 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24778 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24781 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24783 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24784 alignment for SSE2.
24786 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24789 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24790 characters. When rounding increased number of integer digits recompute
24792 * stdio-common/tst-grouping.c: New file.
24793 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24795 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24797 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24798 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24800 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24802 * bits/select.h: Likewise.
24804 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24806 * po/ja.po: Update from translation team.
24808 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24811 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24812 implementation just like for lxstat, fxstatat, et al.
24814 2010-12-27 Jim Meyering <meyering@redhat.com>
24817 * posix/regexec.c (build_trtable): Return failure indication upon
24818 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24820 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24823 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24824 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24825 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24826 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24829 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24832 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24833 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24835 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24837 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24838 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24839 script has SORT_BY_INIT_PRIORITY.
24840 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24841 NO_CTORS_DTORS_SECTIONS is defined.
24842 * elf/soinit.c: Likewise.
24843 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24844 NO_CTORS_DTORS_SECTIONS is defined.
24845 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24846 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24847 * sysdeps/sh/init-first.c: Likewise.
24848 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24850 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24852 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24853 always use the slow path.
24855 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24857 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24858 similar rule which adds the sysdep directories to the header search in
24859 order to pick up the correct platform stackinfo.h.
24860 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24861 perform test if it is, otherwise return successfully without testing.
24862 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24863 DEFAULT_STACK_PERMS define in stackinfo.h.
24864 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24865 defined in stackinfo.h.
24866 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24867 DEFAULT_STACK_PERMS defined in stackinfo.h.
24868 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24869 * sysdeps/ia64/stackinfo.h: Likewise.
24870 * sysdeps/s390/stackinfo.h: Likewise.
24871 * sysdeps/sh/stackinfo.h: Likewise.
24872 * sysdeps/sparc/stackinfo.h: Likewise.
24873 * sysdeps/x86_64/stackinfo.h: Likewise.
24874 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24875 PF_X for powerpc64. Retain PF_X for powerpc32.
24877 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24879 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24881 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24882 GETDENTS_64BIT_ALIGNED.
24884 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24886 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24888 2010-12-10 Andreas Schwab <schwab@redhat.com>
24890 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24893 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24894 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24896 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24897 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24899 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24902 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24905 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24907 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24909 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24911 * po/it.po: Update from translation team.
24913 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24918 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24920 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24922 2010-11-24 Andreas Schwab <schwab@redhat.com>
24924 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24926 (gaih_getanswer_slice): Likewise.
24928 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24932 2010-05-31 Petr Baudis <pasky@suse.cz>
24935 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24936 silently even in the chroot mode.
24938 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24940 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24941 last patch a bit. Pretty printing
24943 2010-05-31 Petr Baudis <pasky@suse.cz>
24946 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24947 initialization of skip_initgroups_dyn.
24949 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24951 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24954 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24956 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24958 2010-11-11 Andreas Schwab <schwab@redhat.com>
24960 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24961 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24962 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24963 ($(objpfx)tst-fnmatch-mem): New rule.
24964 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24965 * posix/tst-fnmatch.c (main): Call mtrace.
24967 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24970 Support Intel processor model 6 and model 0x2c.
24972 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24974 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24977 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24980 * string/test-strncasecmp.c (check_result): New function.
24981 (do_one_test): Use it.
24982 (check1): New function.
24983 (test_main): Use it.
24984 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24985 Support strcasecmp and strncasecmp.
24987 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24990 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24991 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24993 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24995 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24999 * sysdeps/x86_64/multiarch/bzero.S: New file.
25000 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25001 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25002 * sysdeps/x86_64/multiarch/memset.S: New file.
25003 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25005 Set bit_Prefer_SSE_for_memop for Intel processors.
25006 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25008 (index_Prefer_SSE_for_memop): Define.
25009 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25011 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25013 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25014 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25016 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25019 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25020 (__x86_64_raw_data_cache_size_half): Likewise.
25021 (__x86_64_raw_shared_cache_size): Likewise.
25022 (__x86_64_raw_shared_cache_size_half): Likewise.
25024 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25025 (__x86_64_raw_data_cache_size_half): Likewise.
25026 (__x86_64_raw_shared_cache_size): Likewise.
25027 (__x86_64_raw_shared_cache_size_half): Likewise.
25028 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25029 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25030 and __x86_64_raw_shared_cache_size_half. Round
25031 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25032 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25033 to multiple of 256 bytes.
25035 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25038 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25039 of inacessible symlinks. Verify result of symlink before returning it.
25040 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25041 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25043 2010-10-28 Erich Ritz <erichritz@gmail.com>
25045 * math/math.h (isinf): Fix typo in comment.
25047 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25049 * po/da.po: Update from translation team.
25051 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25053 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25054 is added to the list.
25056 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25057 Ulrich Drepper <drepper@gmail.com>
25059 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25060 the global list here. Move code to...
25061 (_dl_add_to_namespace_list): ...here. New function.
25062 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25063 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25064 * elf/dl-load.c (lose): Don't remove the element from the list.
25065 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25066 (_dl_map_object): Likewise.
25068 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25071 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25072 into all bytes of SSE register.
25073 Patch by Richard Li <richardpku@gmail.com>.
25075 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25078 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25081 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25083 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25084 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25085 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25091 2010-10-22 Andreas Schwab <schwab@redhat.com>
25093 * include/dlfcn.h (__RTLD_SECURE): Define.
25094 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25095 mode & __RTLD_SECURE instead.
25096 (open_path): Rename preloaded parameter to secure.
25097 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25098 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25099 * elf/dl-deps.c (openaux): Likewise.
25100 * elf/rtld.c (struct map_args): Remove is_preloaded.
25101 (map_doit): Don't use it.
25102 (dl_main): Likewise.
25103 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25104 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25106 2010-09-09 Andreas Schwab <schwab@redhat.com>
25108 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25109 (sysd-rules-targets): Remove duplicates.
25110 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25111 rtld-%.$o dependency.
25113 2010-10-18 Andreas Schwab <schwab@redhat.com>
25115 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25116 _dl_map_object do it.
25118 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25120 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25121 fast fma builtins, define the macros in the C99 standard.
25122 (FP_FAST_FMAF): Likewise.
25123 (FP_FAST_FMAL): Likewise.
25124 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25126 * bits/mathdef.h: Update copyright year.
25127 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25129 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25131 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25132 builtins, define the macros in the C99 standard.
25133 (FP_FAST_FMAF): Likewise.
25134 (FP_FAST_FMAL): Likewise.
25135 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25137 (FP_FAST_FMAF): Likewise.
25139 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25142 * math/libm-test.inc (fma_test): Some new testcases.
25143 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25144 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25145 y and infinite z. Do multiplication by C already in long double.
25146 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25148 y and infinite z. Do bitwise or of inexact bit into u.d.
25149 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25150 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25151 * sysdeps/i386/fpu/s_fma.S: Removed.
25152 * sysdeps/i386/fpu/s_fmal.S: Removed.
25154 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25157 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25159 computation is not scheduled after fetestexcept. Fix value
25160 of minimum denormal long double.
25162 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25165 * math/libm-test.inc (fma_test): Add some more tests.
25166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25169 2010-10-15 Andreas Schwab <schwab@redhat.com>
25171 * scripts/data/localplt-s390-linux-gnu.data: New file.
25172 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25174 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25177 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25178 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25180 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25182 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25184 if one of x and y is very large and the other is subnormal.
25185 * sysdeps/s390/fpu/s_fmaf.c: New file.
25186 * sysdeps/s390/fpu/s_fma.c: New file.
25187 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25188 * sysdeps/powerpc/fpu/s_fma.S: New file.
25189 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25190 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25191 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25193 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25196 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25198 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25199 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25200 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25201 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25202 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25203 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25206 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25209 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25210 * posix/bug-regex31.input: Add test case.
25212 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25214 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25215 * posix/bug-regex31.input: New file.
25218 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25219 (parse_sub_exp): Fix last change, use postorder.
25221 * posix/bug-regex31.c: New file.
25222 * posix/Makefile: Add rules to build and run bug-regex31.
25224 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25227 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25230 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25231 to have entries in sys_siglist.
25234 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25237 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25240 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25241 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25242 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25243 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25244 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25245 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25246 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25247 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25248 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25249 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25250 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25251 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25252 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25253 * math/ftestexcept.c (fetestexcept): Likewise.
25254 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25255 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25256 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25257 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25258 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25259 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25260 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25262 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25265 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25268 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25270 * string/bug-strstr1.c: New file.
25271 * string/Makefile: Add rules to build and run bug-strstr1.
25273 2010-10-05 Eric Blake <eblake@redhat.com>
25276 * string/str-two-way.h (two_way_long_needle): Always clear memory
25277 when skipping input due to the shift table.
25279 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25282 * malloc/mcheck.c: Handle large requests.
25285 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25286 for strncmp and strncasecmp.
25287 * string/stratcliff.c: Add tests for strcmp and strncmp.
25288 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25290 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25292 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25295 2010-09-30 Andreas Jaeger <aj@suse.de>
25297 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25298 (CGROUP_SUPER_MAGIC): Define.
25299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25300 Handle btrfs and cgroup file systems.
25301 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25304 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25306 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25307 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25309 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25312 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25313 trying to locate the ELF header.
25315 2010-09-27 Andreas Schwab <schwab@redhat.com>
25318 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25319 Mask out sign-bit copies when constructing f_fsid.
25321 2010-09-24 Petr Baudis <pasky@suse.cz>
25323 * debug/stack_chk_fail_local.c: Add missing licence exception.
25324 * debug/warning-nop.c: Likewise.
25326 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25328 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25329 implementing getdents64 using getdents syscall, set d_type if
25330 __ASSUME_GETDENTS32_D_TYPE.
25332 2010-09-16 Andreas Schwab <schwab@redhat.com>
25334 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25335 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25337 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25340 * posix/unistd.h: Undo change of feature selection for ftruncate from
25343 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25345 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25348 2010-09-20 Andreas Schwab <schwab@redhat.com>
25350 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25352 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25354 2010-09-14 Andreas Schwab <schwab@redhat.com>
25356 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25357 variables after CHECK_SP call.
25358 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25360 2010-09-13 Andreas Schwab <schwab@redhat.com>
25361 Ulrich Drepper <drepper@redhat.com>
25363 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25364 re-relocationg ld.so.
25365 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25366 _dl_init_paths call.
25367 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25370 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25372 * resolv/res_init.c (__res_vinit): Count the default server we added.
25374 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25375 Ulrich Drepper <drepper@redhat.com>
25378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25379 (____longjmp_chk): Use %ebx for saving value across system call.
25382 2010-09-06 Andreas Schwab <schwab@redhat.com>
25384 * manual/Makefile: Don't mix pattern rules with normal rules.
25386 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25388 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25390 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25391 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25392 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25393 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25394 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25397 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25400 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25401 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25403 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25405 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25406 * sysdeps/x86_64/addmul_1.S: Likewise.
25407 * sysdeps/x86_64/lshift.S: Likewise.
25408 * sysdeps/x86_64/mul_1.S: Likewise.
25409 * sysdeps/x86_64/rshift.S: Likewise.
25410 * sysdeps/x86_64/sub_n.S: Likewise.
25411 * sysdeps/x86_64/submul_1.S: Likewise.
25413 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25415 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25416 Define __sched_param instead of SCHED_* and sched_param when
25417 <bits/sched.h> is included with __need_schedparam defined.
25418 * bits/sched.h [__need_schedparam]
25419 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25420 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25421 (__defined_schedparam): Define to 1.
25422 (__sched_param): New structure, identical to sched_param.
25423 (__need_schedparam): Undefine.
25425 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25428 (epoll_create1): Declare.
25430 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25432 2010-08-31 Andreas Schwab <schwab@redhat.com>
25435 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25436 shifting retval into place.
25438 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25440 * nis/rpcsvc/nis.h: Update copyright notice.
25441 * nis/rpcsvc/nis.x: Likewise.
25442 * nis/rpcsvc/nis_callback.h: Likewise.
25443 * nis/rpcsvc/nis_callback.x: Likewise.
25444 * nis/rpcsvc/nis_object.x: Likewise.
25445 * nis/rpcsvc/nis_tags.h: Likewise.
25446 * nis/rpcsvc/yp.h: Likewise.
25447 * nis/rpcsvc/yp.x: Likewise.
25448 * nis/rpcsvc/ypupd.h: Likewise.
25449 * nis/yp_xdr.c: Likewise.
25450 * nis/ypupdate_xdr.c: Likewise.
25452 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25453 mainly the body of pmap_getport. Add parameters to specify timeouts.
25454 (pmap_getport): Use __libc_rpc_getport.
25455 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25456 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25457 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25459 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25464 2010-08-27 Roland McGrath <roland@redhat.com>
25466 * sysdeps/i386/i686/multiarch/Makefile
25467 (CFLAGS-varshift.c): New variable.
25469 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25471 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25472 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25476 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25478 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25480 * sysdeps/x86_64/strlen.S: Unroll the loop.
25481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25482 strlen-sse2 strlen-sse2-bsf.
25483 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25484 __strlen_no_bsf if bit_Slow_BSF is set.
25485 (__strlen_sse42): Removed.
25486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25487 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25489 2010-08-25 Roland McGrath <roland@redhat.com>
25491 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25492 * sysdeps/x86_64/multiarch/varshift.c: New file.
25493 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25494 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25495 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25496 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25498 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25501 strlen-sse2 strlen-sse2-bsf.
25502 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25503 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25504 (__strlen_sse2): Removed.
25505 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25508 bit_Slow_BSF for Atom.
25509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25510 (index_Slow_BSF): Define.
25511 (HAS_SLOW_BSF): Define.
25513 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25516 * resolv/res_init.c (__res_vinit): When no server address at all
25517 is given default to loopback.
25519 2010-08-24 Roland McGrath <roland@redhat.com>
25521 * configure.in: Remove config-name.h generation.
25522 * configure: Regenerated.
25523 * config-name.in: File removed.
25524 * scripts/config-uname.sh: New file.
25525 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25526 ($(objdir)config-name.h): New target.
25528 * sunrpc/rpc_parse.h: Avoid nested comment.
25530 2010-08-24 Richard Henderson <rth@redhat.com>
25531 Ulrich Drepper <drepper@redhat.com>
25532 H.J. Lu <hongjiu.lu@intel.com>
25534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25536 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25537 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25538 _mm_alignr_epi8 with _mm_loadu_si128.
25539 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25540 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25541 (__m128i_shift_right): Removed.
25542 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25543 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25544 * sysdeps/x86_64/multiarch/varshift.h: New file.
25545 * sysdeps/x86_64/multiarch/varshift.S: New file.
25547 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25549 * configure.in: Move assembler checks to before sysdep dir checking.
25551 2010-08-20 Petr Baudis <pasky@suse.cz>
25553 * LICENSES: Sync the sunrpc license.
25555 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25557 * sunrpc/auth_des.c: Update copyright notice once again.
25558 * sunrpc/auth_none.c: Likewise.
25559 * sunrpc/auth_unix.c: Likewise.
25560 * sunrpc/authdes_prot.c: Likewise.
25561 * sunrpc/authuxprot.c: Likewise.
25562 * sunrpc/bindrsvprt.c: Likewise.
25563 * sunrpc/clnt_gen.c: Likewise.
25564 * sunrpc/clnt_perr.c: Likewise.
25565 * sunrpc/clnt_raw.c: Likewise.
25566 * sunrpc/clnt_simp.c: Likewise.
25567 * sunrpc/clnt_tcp.c: Likewise.
25568 * sunrpc/clnt_udp.c: Likewise.
25569 * sunrpc/clnt_unix.c: Likewise.
25570 * sunrpc/des_crypt.c: Likewise.
25571 * sunrpc/des_soft.c: Likewise.
25572 * sunrpc/get_myaddr.c: Likewise.
25573 * sunrpc/getrpcport.c: Likewise.
25574 * sunrpc/key_call.c: Likewise.
25575 * sunrpc/key_prot.c: Likewise.
25576 * sunrpc/openchild.c: Likewise.
25577 * sunrpc/pm_getmaps.c: Likewise.
25578 * sunrpc/pm_getport.c: Likewise.
25579 * sunrpc/pmap_clnt.c: Likewise.
25580 * sunrpc/pmap_prot.c: Likewise.
25581 * sunrpc/pmap_prot2.c: Likewise.
25582 * sunrpc/pmap_rmt.c: Likewise.
25583 * sunrpc/rpc/auth.h: Likewise.
25584 * sunrpc/rpc/auth_unix.h: Likewise.
25585 * sunrpc/rpc/clnt.h: Likewise.
25586 * sunrpc/rpc/des_crypt.h: Likewise.
25587 * sunrpc/rpc/key_prot.h: Likewise.
25588 * sunrpc/rpc/netdb.h: Likewise.
25589 * sunrpc/rpc/pmap_clnt.h: Likewise.
25590 * sunrpc/rpc/pmap_prot.h: Likewise.
25591 * sunrpc/rpc/pmap_rmt.h: Likewise.
25592 * sunrpc/rpc/rpc.h: Likewise.
25593 * sunrpc/rpc/rpc_des.h: Likewise.
25594 * sunrpc/rpc/rpc_msg.h: Likewise.
25595 * sunrpc/rpc/svc.h: Likewise.
25596 * sunrpc/rpc/svc_auth.h: Likewise.
25597 * sunrpc/rpc/types.h: Likewise.
25598 * sunrpc/rpc/xdr.h: Likewise.
25599 * sunrpc/rpc_clntout.c: Likewise.
25600 * sunrpc/rpc_cmsg.c: Likewise.
25601 * sunrpc/rpc_common.c: Likewise.
25602 * sunrpc/rpc_cout.c: Likewise.
25603 * sunrpc/rpc_dtable.c: Likewise.
25604 * sunrpc/rpc_hout.c: Likewise.
25605 * sunrpc/rpc_main.c: Likewise.
25606 * sunrpc/rpc_parse.c: Likewise.
25607 * sunrpc/rpc_parse.h: Likewise.
25608 * sunrpc/rpc_prot.c: Likewise.
25609 * sunrpc/rpc_sample.c: Likewise.
25610 * sunrpc/rpc_scan.c: Likewise.
25611 * sunrpc/rpc_scan.h: Likewise.
25612 * sunrpc/rpc_svcout.c: Likewise.
25613 * sunrpc/rpc_tblout.c: Likewise.
25614 * sunrpc/rpc_util.c: Likewise.
25615 * sunrpc/rpc_util.h: Likewise.
25616 * sunrpc/rpcinfo.c: Likewise.
25617 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25618 * sunrpc/rpcsvc/key_prot.x: Likewise.
25619 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25620 * sunrpc/rpcsvc/mount.x: Likewise.
25621 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25622 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25623 * sunrpc/rpcsvc/rex.x: Likewise.
25624 * sunrpc/rpcsvc/rstat.x: Likewise.
25625 * sunrpc/rpcsvc/rusers.x: Likewise.
25626 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25627 * sunrpc/rpcsvc/spray.x: Likewise.
25628 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25629 * sunrpc/rtime.c: Likewise.
25630 * sunrpc/svc.c: Likewise.
25631 * sunrpc/svc_auth.c: Likewise.
25632 * sunrpc/svc_authux.c: Likewise.
25633 * sunrpc/svc_raw.c: Likewise.
25634 * sunrpc/svc_run.c: Likewise.
25635 * sunrpc/svc_simple.c: Likewise.
25636 * sunrpc/svc_tcp.c: Likewise.
25637 * sunrpc/svc_udp.c: Likewise.
25638 * sunrpc/svc_unix.c: Likewise.
25639 * sunrpc/svcauth_des.c: Likewise.
25640 * sunrpc/xcrypt.c: Likewise.
25641 * sunrpc/xdr.c: Likewise.
25642 * sunrpc/xdr_array.c: Likewise.
25643 * sunrpc/xdr_float.c: Likewise.
25644 * sunrpc/xdr_mem.c: Likewise.
25645 * sunrpc/xdr_rec.c: Likewise.
25646 * sunrpc/xdr_ref.c: Likewise.
25647 * sunrpc/xdr_sizeof.c: Likewise.
25648 * sunrpc/xdr_stdio.c: Likewise.
25650 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25653 2010-08-19 Andreas Schwab <schwab@redhat.com>
25655 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25657 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25659 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25660 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25661 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25662 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25663 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25664 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25665 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25666 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25667 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25668 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25669 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25670 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25671 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25672 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25674 2010-07-26 Anton Blanchard <anton@samba.org>
25676 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25677 * malloc/arena.c (heap_trim): Likewise.
25679 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25681 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25683 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25684 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25686 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25688 * sysdeps/i386/elf/Makefile: New file.
25690 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25692 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25693 from fanotify_init.
25694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25697 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25699 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25701 * sysdeps/multiarch/strcmp.S: Likewise.
25703 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25705 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25706 strncase_l-nonascii.
25707 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25708 Add strncase_l-ssse3.
25709 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25710 * sysdeps/x86_64/strcmp.S: Likewise.
25711 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25712 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25713 * sysdeps/x86_64/strncase.S: New file.
25714 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25715 * sysdeps/x86_64/strncase_l.S: New file.
25716 * string/Makefile (strop-tests): Add strncasecmp.
25717 * string/test-strncasecmp.c: New file.
25719 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25722 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25723 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25725 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25727 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25729 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25731 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25732 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25733 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25735 2010-05-01 Alan Modra <amodra@gmail.com>
25737 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25738 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25739 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25740 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25741 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25742 tidying. Don't tail-call __sigjmp_save for static lib.
25743 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25745 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25746 (CALL_MCOUNT): Add eh info, and nop after bl.
25747 (TAIL_CALL_SYSCALL_ERROR): New macro.
25748 (PSEUDO_RET): Use it.
25749 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25750 Correct save location of integer regs and cr.
25751 (_dl_profile_resolve): Correct cr save location. Delete nops
25752 after bl when SHARED. Reduce cfi size a little by better
25753 placement of cfi directives.
25754 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25755 make a stack frame. Instead use parm save area as a temp.
25756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25757 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25759 Don't make a stack frame for parent, use parm save area.
25760 Increase child stack frame to 112 bytes. Don't save unused reg,
25761 and adjust reg usage. Set up cfi on error recovery and
25762 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25764 (__makecontext): Add dummy nop after jump to exit.
25765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25766 Use correct parm save area and cr save, reduce stack frame.
25767 Correct cfi for possible PSEUDO_RET frame setup.
25768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25769 Branch to local label emitted by PSEUDO_RET rather than
25772 2010-08-12 Andreas Schwab <schwab@redhat.com>
25775 * locale/programs/locale.c (print_assignment): New function.
25776 (show_locale_vars): Use it.
25778 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25780 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25782 (struct statfs64): Likewise.
25783 (_STATFS_F_FLAGS): Define.
25784 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25785 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25786 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25787 (ST_VALID): Define locally.
25788 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25789 __statvfs_getflags, use the provided value.
25790 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25791 __ASSUME_STATFS_F_FLAGS.
25793 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25795 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25796 Add sys/fanotify.h.
25797 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25798 fanotify_mask for GLIBC_2.13.
25799 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25800 fanotify_init and fanotify_mark.
25801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25802 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25806 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25807 prlimit64 for GLIBC_2.13.
25808 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25813 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25814 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25815 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25816 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25818 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25821 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25822 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25824 * nss/Makefile: Add rules to build and run tst-nss-test1.
25825 * shlib-versions: Add entry for libnss_test1.
25826 * nss/nss_test1.c: New file.
25827 * nss/tst-nss-test1.c: New file.
25829 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25830 (__nss_configure_lookup): Set appropriate entry in
25831 __nss_configure_lookup to true.
25832 * nss/nsswitch.h: Define enum with indeces of databases in
25833 databases and __nss_database_custom arrays. Declare
25834 __nss_database_custom.
25835 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25836 to avoid using nscd when custom rules are installed.
25837 * nss/getXXbyYY_r.c: Likewise.
25838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25840 * nss/nss_files/files-parse.c: Whitespace fixes.
25842 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25845 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25846 * posix/fnmatch_loop.c: Likewise.
25848 2010-07-17 Andi Kleen <ak@linux.intel.com>
25850 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25851 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25852 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25853 * Versions.def [GLIBC_2.13]: Add.
25855 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25857 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25858 Also fail if tpwd after pwuid call is NULL.
25860 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25862 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25863 when converting to ms.
25865 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25867 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25868 EOPNOTSUPP errors with ENOTTY.
25869 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25870 EOPNOTSUPP errors with ENOTTY.
25872 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25874 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25875 Add strcasecmp_l-ssse3.
25876 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25878 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25879 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25880 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25882 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25884 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25886 * string/Makefile (strop-tests): Add strcasecmp.
25887 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25888 strcasecmp_l-nonascii.
25889 (gen-as-const-headers): Add locale-defines.sym.
25890 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25891 * sysdeps/x86_64/strcasecmp.S: New file.
25892 * sysdeps/x86_64/strcasecmp_l.S: New file.
25893 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25894 * sysdeps/x86_64/locale-defines.sym: New file.
25895 * string/test-strcasecmp.c: New file.
25897 * string/test-strcasestr.c: Test both ends of the range of characters.
25898 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25900 2010-07-29 Roland McGrath <roland@redhat.com>
25903 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25905 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25907 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25910 2010-07-27 Andreas Schwab <schwab@redhat.com>
25912 * manual/memory.texi (Malloc Tunable Parameters): Document
25915 2010-07-26 Roland McGrath <roland@redhat.com>
25918 * configure.in (-fgnu89-inline check): Set and substitute
25919 gnu89_inline, not libc_cv_gnu89_inline.
25920 * configure: Regenerated.
25921 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25923 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25925 * string/test-strnlen.c: New file.
25926 * string/Makefile (strop-tests): Add strnlen.
25927 * string/tester.c (test_strnlen): Add a few more test cases.
25928 * string/tst-strlen.c: Better error reporting.
25930 * sysdeps/x86_64/strnlen.S: New file.
25932 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25934 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25935 lower-latency instructions.
25937 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25939 * string/test-strcasestr.c: New file.
25940 * string/test-strstr.c: New file.
25941 * string/Makefile (strop-tests): Add strstr and strcasestr.
25942 * string/str-two-way.h: Don't undefine MAX.
25943 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25945 2010-07-21 Andreas Schwab <schwab@redhat.com>
25947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25948 strcasestr-nonascii.
25949 (CFLAGS-strcasestr-nonascii.c): Define.
25950 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25952 Remove unused attribute.
25954 2010-07-20 Roland McGrath <roland@redhat.com>
25956 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25957 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25958 ld.so.cache was broken. With it, there is no way to disable dsocaps
25959 like LD_HWCAP_MASK can disable hwcaps.
25961 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25963 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25965 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25967 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25968 call in strcasestr.
25969 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25970 __strcasestr_sse42_nonascii.
25971 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25972 strcasestr-nonascii.c.
25973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25975 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25977 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25978 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25979 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25982 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25984 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25987 2010-07-06 Andreas Schwab <schwab@redhat.com>
25990 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25993 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25996 _PC_PIPE_BUF using F_GETPIPE_SZ.
25998 2010-07-05 Roland McGrath <roland@redhat.com>
26000 * manual/arith.texi (Rounding Functions): Fix rint description
26001 implicit in round description.
26003 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26005 * elf/Makefile: Fix linking for a few tests to make recent linker
26008 2010-06-30 Andreas Schwab <schwab@redhat.com>
26010 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26011 $(common-objpfx)libc_nonshared.a.
26013 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26015 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26016 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26017 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26018 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26019 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26020 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26021 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26022 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26037 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26038 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26039 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26040 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26041 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26042 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26043 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26044 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26045 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26046 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26047 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26048 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26064 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26066 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26067 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26068 * string/memmove.c (memmove): Renamed to ...
26069 (MEMMOVE): ...this. Default to memmove.
26070 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26071 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26074 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26075 mempcpy-ssse3-back memmove-ssse3-back.
26076 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26078 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26079 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26080 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26081 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26082 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26083 * sysdeps/x86_64/multiarch/memmove.c: New file.
26084 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26085 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26086 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26087 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26088 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26089 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26091 (index_Fast_Copy_Backward): Define.
26092 (HAS_ARCH_FEATURE): Define.
26093 (HAS_FAST_REP_STRING): Define.
26094 (HAS_FAST_COPY_BACKWARD): Define.
26096 2010-06-21 Andreas Schwab <schwab@redhat.com>
26098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26099 Restore proper fallback handling.
26101 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26104 * posix/group_member.c (__group_member): Correct checking loop.
26106 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26107 OOM in getpwuid_r correctly. Return error number when the caller
26108 should return, otherwise -1.
26109 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26110 call returning > 0 value.
26111 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26113 2010-06-07 Andreas Schwab <schwab@redhat.com>
26115 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26116 libc_nonshared.a from targets in modules-names.
26118 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26120 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26123 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26125 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26126 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26130 2010-06-02 Andreas Schwab <schwab@redhat.com>
26132 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26134 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26136 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26145 2010-06-14 Roland McGrath <roland@redhat.com>
26147 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26149 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26151 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26152 __REDIRECT followed by __THROW.
26153 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26154 * posix/getopt.h (getopt): Likewise.
26156 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26158 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26159 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26160 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26162 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26163 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26165 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26167 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26169 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26173 Properly check family and model.
26175 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26177 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26179 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26181 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26183 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26185 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26188 2010-05-19 Andreas Schwab <schwab@redhat.com>
26190 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26193 2010-05-21 Andreas Schwab <schwab@redhat.com>
26195 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26196 and internal_recvmmsg.
26197 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26198 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26199 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26200 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26202 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26203 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26204 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26206 2010-05-20 Andreas Schwab <schwab@redhat.com>
26208 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26210 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26212 POWER7 optimizations.
26213 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26214 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26216 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26218 * version.h: Update for 2.13 development version.
26220 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26222 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26223 exceptions. Return 0.
26225 2010-05-07 Roland McGrath <roland@redhat.com>
26227 * elf/ldconfig.c (main): Add a const.
26229 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26231 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26232 (args_options): Add no-idn option.
26233 (ahosts_keys_int): Add idn_flags to ai_flags.
26234 (parse_option): Handle 'i' option to clear idn_flags.
26236 * malloc/malloc.c (_int_free): Possible race in the most recently
26237 added check. Only act on the data if no current modification
26240 See ChangeLog.17 for earlier changes.