1 2013-02-26 Roland McGrath <roland@hack.frob.com>
3 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4 [$(build-shared = yes].
5 (%.v.i): Filter out %.def prerequisites too.
7 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10 (__mul): Reduce iterations for calculating mantissa.
12 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14 (__mpranred): Likewise.
17 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29 * posix/regex_internal.h (__attribute): Remove.
30 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31 (re_string_context_at): Likewise.
32 (bitset_not): Use __attribute__ and mark function as possibly
34 (bitset_merge): Likewise.
35 (bitset_mask): Likewise.
36 (re_string_char_size_at): Likewise.
37 (re_string_wchar_at): Likewise.
38 (re_string_elem_size_at): Likewise.
40 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52 (add_magnitudes): Likewise.
53 (sub_magnitudes): Likewise.
57 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
60 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
63 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
67 up changes with default code.
68 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
71 2013-02-24 Allan McRae <allan@archlinux.org>
73 * manual/socket.texi (The Internet Namespace): Order menu items
74 to match that in the file.
76 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
77 node listing of the info page menu.
79 2013-02-21 Joseph Myers <joseph@codesourcery.com>
82 * sysdeps/i386/bp-asm.h: Remove file.
83 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
84 (PARMS): Do not use macros from bp-asm.h.
88 (__mpn_add_n): Do not use BP_SYM
89 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
91 (PARMS): Do not use macros from bp-asm.h.
94 (__mpn_addmul_1): Do not use BP_SYM
95 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
97 (PARMS): Do not use macros from bp-asm.h.
99 (_setjmp): Likewise. Do not use BP_SYM.
100 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
102 (PARMS): Do not use macros from bp-asm.h.
104 (setjmp): Likewise. Do not use BP_SYM.
105 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
107 (PARMS): Do not use macros from bp-asm.h.
108 (__frexp): Do not use BP_SYM.
110 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
112 (PARMS): Do not use macros from bp-asm.h.
113 (__frexpf): Do not use BP_SYM.
115 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
117 (PARMS): Do not use macros from bp-asm.h.
118 (__frexpl): Do not use BP_SYM.
120 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
122 (PARMS): Do not use macros from bp-asm.h.
123 (__remquo): Do not use BP_SYM.
125 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
127 (PARMS): Do not use macros from bp-asm.h.
128 (__remquof): Do not use BP_SYM.
130 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
132 (PARMS): Do not use macros from bp-asm.h.
133 (__remquol): Do not use BP_SYM.
135 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
137 (PARMS): Do not use macros from bp-asm.h.
140 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
141 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
143 (PARMS): Do not use macros from bp-asm.h.
144 (strlen): Do not use BP_SYM.
145 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
147 (PARMS): Do not use macros from bp-asm.h.
151 (__mpn_add_n): Do not use BP_SYM.
152 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
154 (PARMS): Do not use macros from bp-asm.h.
157 (__mpn_addmul_1): Do not use BP_SYM.
158 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
161 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
163 (PARMS): Do not use macros from bp-asm.h.
166 (__mpn_lshift): Do not use BP_SYM.
167 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
169 (PARMS): Do not use macros from bp-asm.h.
173 (memcpy): Likewise. Do not use BP_SYM.
174 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
175 libc_hidden_def and weak_alias.
176 (mempcpy): Do not use BP_SYM in weak_alias.
177 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
179 (PARMS): Do not use macros from bp-asm.h.
182 [!BZERO_P] (CHR): Likewise.
183 (memset): Likewise. Do not use BP_SYM.
184 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
186 (PARMS): Do not use macros from bp-asm.h.
189 (__mpn_mul_1): Do not use BP_SYM.
190 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
192 (PARMS): Do not use macros from bp-asm.h.
195 (__mpn_rshift): Do not use BP_SYM.
196 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
198 (PARMS): Do not use macros from bp-asm.h.
201 (strchr): Likewise. Do not use BP_SYM.
202 (index): Do not use BP_SYM in weak_alias.
203 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
205 (PARMS): Do not use macros from bp-asm.h.
208 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
209 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
211 (PARMS): Do not use macros from bp-asm.h.
212 (strlen): Do not use BP_SYM.
213 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
215 (PARMS): Do not use macros from bp-asm.h.
219 (__mpn_sub_n): Do not use BP_SYM.
220 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
222 (PARMS): Do not use macros from bp-asm.h.
225 (__mpn_submul_1): Do not use BP_SYM.
226 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
228 (PARMS): Do not use macros from bp-asm.h.
232 (__mpn_add_n): Do not use BP_SYM.
233 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
236 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
238 (PARMS): Do not use macros from bp-asm.h.
241 (memcmp): Do not use BP_SYM.
242 (bcmp): Do not use BP_SYM in weak_alias.
243 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
245 (PARMS): Do not use macros from bp-asm.h.
249 (memcpy): Likewise. Do not use BP_SYM.
250 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
252 (PARMS): Do not use macros from bp-asm.h.
256 (memmove): Likewise. Do not use BP_SYM.
257 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
259 (PARMS): Do not use macros from bp-asm.h.
263 (__mempcpy): Likewise. Do not use BP_SYM.
264 (mempcpy): Do not use BP_SYM in weak_alias.
265 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
267 (PARMS): Do not use macros from bp-asm.h.
270 [!BZERO_P] (CHR): Likewise.
271 (memset): Likewise. Do not use BP_SYM.
272 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
274 (PARMS): Do not use macros from bp-asm.h.
276 (strcmp): Do not use BP_SYM.
277 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
279 (PARMS): Do not use macros from bp-asm.h.
282 [USE_AS_STRTOK_R] (SAVE): Likewise.
283 (FUNCTION): Likewise. Do not use BP_SYM.
284 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
286 (strtok_r): Likewise.
287 (__GI___strtok_r): Likewise.
288 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
289 (PARMS): Do not use macros from bp-asm.h.
292 (__mpn_lshift): Do not use BP_SYM.
293 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
294 (PARMS): Do not use macros from bp-asm.h.
297 (__memchr): Do not use BP_SYM.
298 (memchr): Do not use BP_SYM in weak_alias.
299 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
300 (PARMS): Do not use macros from bp-asm.h.
303 (memcmp): Do not use BP_SYM.
304 (bcmp): Do not use BP_SYM in weak_alias.
305 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
306 (PARMS): Do not use macros from bp-asm.h.
309 (__mpn_mul_1): Do not use BP_SYM.
310 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
312 (PARMS): Do not use macros from bp-asm.h.
315 (__rawmemchr): Do not use BP_SYM.
316 (rawmemchr): Do not use BP_SYM in weak_alias.
317 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
318 (PARMS): Do not use macros from bp-asm.h.
321 (__mpn_rshift): Do not use BP_SYM.
322 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
323 (PARMS): Do not use macros from bp-asm.h.
325 (__sigsetjmp): Likewise. Do not use BP_SYM.
326 * sysdeps/i386/start.S: Do not include "bp-sym.h".
327 (_start): Do not use BP_SYM.
328 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
329 (PARMS): Do not use macros from bp-asm.h.
332 (__stpcpy): Likewise. Do not use BP_SYM.
333 (stpcpy): Do not use BP_SYM in weak_alias.
334 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
336 (PARMS): Do not use macros from bp-asm.h.
340 (__stpncpy): Likewise. Do not use BP_SYM.
341 (stpncpy): Do not use BP_SYM in weak_alias.
342 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
343 (PARMS): Do not use macros from bp-asm.h.
346 (strchr): Likewise. Do not use BP_SYM.
347 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
349 (PARMS): Do not use macros from bp-asm.h.
352 (__strchrnul): Likewise. Do not use BP_SYM.
353 (strchrnul): Do not use BP_SYM in weak_alias.
354 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
356 (PARMS): Do not use macros from bp-asm.h.
358 (strcspn): Do not use BP_SYM.
359 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
361 (PARMS): Do not use macros from bp-asm.h.
364 (strpbrk): Likewise. Do not use BP_SYM.
365 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
367 (PARMS): Do not use macros from bp-asm.h.
370 (strrchr): Likewise. Do not use BP_SYM.
371 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
372 (PARMS): Do not use macros from bp-asm.h.
374 (strspn): Do not use BP_SYM.
375 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
376 (PARMS): Do not use macros from bp-asm.h.
380 (FUNCTION): Likewise. Do not use BP_SYM.
381 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
383 (strtok_r): Likewise.
384 (__GI___strtok_r): Likewise.
385 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
386 (PARMS): Do not use macros from bp-asm.h.
390 (__mpn_sub_n): Do not use BP_SYM.
391 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
393 (PARMS): Do not use macros from bp-asm.h.
396 (__mpn_submul_1): Do not use BP_SYM.
397 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
399 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
401 (PARMS): Do not use macros from bp-asm.h.
406 (__clone): Do not use BP_SYM.
407 (clone): Do not use BP_SYM in weak_alias.
408 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
410 (PARMS): Do not use macros from bp-asm.h.
412 (__mmap64): Do not use BP_SYM.
413 (mmap64): Do not use BP_SYM in weak_alias.
414 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
415 <bp-sym.h> and <bp-asm.h>.
416 (PARMS): Do not use macros from bp-asm.h.
417 (__posix_fadvise64_l64): Do not use BP_SYM.
418 * sysdeps/unix/sysv/linux/i386/semtimedop.S
419 (PARMS): Do not use macros from bp-asm.h.
421 (semtimedop): Do not use BP_SYM.
422 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
425 2013-02-21 Allan McRae <allan@archlinux.org>
427 * manual/message.texi (Charset conversion in gettext):
428 Move @end statement to beginning of line.
430 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
437 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
442 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
444 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
445 tail-call to the resolved function if pltexit isn't needed.
447 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
450 or Y being zero as being unlikely.
451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
454 2013-02-20 Carlos O'Donell <carlos@redhat.com>
456 * manual/nss.texi (System Databases and Name Service Switch):
457 Remove frobnicate @pxref.
459 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
461 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
462 __attribute__ ((unused)) to __attribute__ ((__unused__)).
464 2013-02-20 Petr Machata <pmachata@redhat.com>
466 * elf/elf.h (R_ARM_TARGET1): New macro.
467 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
468 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
469 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
470 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
471 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
472 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
473 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
474 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
475 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
476 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
477 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
478 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
479 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
480 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
481 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
482 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
483 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
484 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
485 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
486 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
487 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
488 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
489 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
490 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
491 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
492 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
493 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
494 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
495 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
496 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
497 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
498 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
499 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
500 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
501 (R_ARM_THM_GOT_BREL12): Likewise.
502 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
503 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
504 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
505 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
506 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
507 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
508 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
509 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
510 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
512 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
514 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
515 __attribute_used__ to __attribute__ ((unused)).
517 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
519 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
525 2013-02-19 Joseph Myers <joseph@codesourcery.com>
528 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
530 (ENTER): Remove both macro definitions.
532 (CHECK_BOUNDS_LOW): Likewise.
533 (CHECK_BOUNDS_HIGH): Likewise.
534 (CHECK_BOUNDS_BOTH): Likewise.
535 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
536 (RETURN_BOUNDED_POINTER): Likewise.
537 (RETURN_NULL_BOUNDED_POINTER): Likewise.
538 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
539 (POP_ERRNO_LOCATION_RETURN): Likewise.
540 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
541 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
542 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
544 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
545 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
546 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
547 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
548 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
549 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
550 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
551 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
552 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
553 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
554 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
555 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
556 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
557 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
559 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
560 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
562 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
563 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
564 * sysdeps/i386/i586/memset.S (memset): Likewise.
565 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
566 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
567 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
569 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
570 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
571 Change uses of L(2) to L(out).
572 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
573 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
574 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
575 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
576 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
578 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
579 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
581 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
582 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
583 (RETURN): Do not use macro LEAVE.
584 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
585 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
586 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
587 * sysdeps/i386/i686/memset.S (memset): Likewise.
588 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
589 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
590 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
591 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
593 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
594 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
595 L(1_2) and L(1_3) into L(1).
596 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
597 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
598 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
599 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
600 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
601 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
602 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
603 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
604 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
606 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
607 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
608 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
609 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
610 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
611 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
612 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
613 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
614 * sysdeps/i386/strcspn.S (strcspn): Likewise.
615 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
616 * sysdeps/i386/strrchr.S (strrchr): Likewise.
617 * sysdeps/i386/strspn.S (strspn): Likewise.
618 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
620 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
621 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
622 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
623 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
625 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
626 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
627 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
629 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
631 2013-02-19 Jakub Jelinek <jakub@redhat.com>
633 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
636 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
638 * math/atest-exp.c (exp_mpn): Remove ROUND.
639 * math/atest-exp2.c (exp_mpn): Likewise.
640 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
642 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
643 * stdlib/tst-tls-atexit-lib.c: Likewise.
644 * stdlib/tst-tls-atexit.c: Likewise.
646 2013-02-18 Mike Frysinger <vapier@gentoo.org>
648 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
649 and __attribute_alloc_size__.
651 2013-02-18 Mike Frysinger <vapier@gentoo.org>
653 * include/programs/xmalloc.h: Change __attribute_alloc_size to
654 __attribute_alloc_size__.
655 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
656 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
658 2013-02-18 Mike Frysinger <vapier@gentoo.org>
660 * include/programs/xmalloc.h: New file.
661 * catgets/gencat.c: Include it.
662 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
663 * elf/pldd.c: Likewise.
664 * iconv/iconv_charmap.c: Likewise.
665 * iconv/iconvconfig.c: Likewise.
666 * iconv/strtab.c: Likewise.
667 * locale/programs/locale.c: Likewise.
668 * locale/programs/localedef.h: Likewise.
669 * locale/programs/simple-hash.c: Likewise.
670 * nscd/nscd.h: Likewise.
671 * nss/makedb.c: Likewise.
672 * sysdeps/generic/ldconfig.h: Likewise.
674 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
676 * Versions.def: Add GLIBC_2.18.
677 * include/link.h (struct link_map): New member l_tls_dtor_count.
678 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
679 (__call_tls_dtors): Likewise.
680 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
681 __cxa_thread_atexit_impl.
682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
698 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
699 (tests): Add test case tst-tls-atexit.
700 (modules-names): Add shared library for tst-tls-atexit.
701 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
702 (GLIBC_PRIVATE): Add __call_tls_dtors.
703 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
705 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
706 * stdlib/tst-tls-atexit.c: New test case.
707 * stdlib/tst-tls-atexit-lib.c: New test case.
709 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
711 * elf/Versions (ld): Add _dl_find_dso_for_object.
712 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
713 * elf/dl-open.c (_dl_find_dso_for_object): New function.
714 (dl_open_worker): Use _dl_find_dso_for_object.
715 * elf/dl-sym.c (do_sym): Likewise.
716 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
718 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
720 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
721 Syntactic changes only.
722 (_dl_runtime_profile): Do a tail-call to the resolved function.
724 2013-02-17 Joseph Myers <joseph@codesourcery.com>
727 * sysdeps/x86_64/bp-asm.h: Remove file.
728 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
729 <bp-sym.h> and <bp-asm.h>.
730 (__clone): Do not use BP_SYM.
731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
732 <bp-sym.h> and <bp-asm.h>.
733 * sysdeps/unix/x86_64/sysdep.S: Likewise.
734 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
736 (_setjmp): Do not use BP_SYM.
737 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
739 (setjmp): Do not use BP_SYM.
740 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
742 (mempcpy): Do not use BP_SYM in weak_alias.
743 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
745 (strchr): Do not use BP_SYM.
746 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
748 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
749 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
750 (_start): Do not use BP_SYM.
751 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
753 (strcat): Do not use BP_SYM.
754 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
756 (STRCMP): Do not use BP_SYM.
757 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
759 (STRCPY): Do not use BP_SYM.
760 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
762 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
764 (FUNCTION): Do not use BP_SYM.
765 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
767 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
769 2013-02-17 Andreas Jaeger <aj@suse.de>
771 * time/Versions: Sort entries.
772 * string/Versions: Likewise.
773 * resolv/Versions: Likewise.
774 * posix/Versions: Likewise.
775 * iconv/Versions: Likewise.
776 * elf/Versions: Likewise.
777 * wcsmbs/Versions: Likewise.
779 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
781 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
782 loop termination condition.
784 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
785 variable to calculate EZ.
788 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
789 the lower precision input.
791 2013-02-15 Joseph Myers <joseph@codesourcery.com>
794 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
795 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
796 (run-via-rtld-prefix): Do not handle %-bp tests.
797 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
798 (all-object-suffixes): Remove .ob.
799 (bppfx): Remove variable.
800 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
801 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
802 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
803 [$(build-bounded) = yes] (libtype.ob): Likewise.
804 * Makerules (elide-routines.ob): Remove variable.
805 (do-tests-clean): Do not handle *-bp.out.
806 (common-mostlyclean): Do not handle *-bp and *-bp.out.
807 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
808 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
809 (tests): Do not include $(tests-bp.out).
810 (xtests): Do not include $(xtests-bp.out).
811 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
812 [$(build-bounded) = yes] ($(addprefix
813 $(objpfx),$(binaries-bounded))): Remove rule.
814 ($(objpfx)%-bp.out): Remove rule.
815 * config.make.in (build-bounded): Remove variable.
816 * crypt/Makefile [$(build-bounded) = yes]
817 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
818 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
820 [$(build-bounded) = yes] (install-lib): Likewise.
821 [$(build-bounded) = yes] (generated): Likewise.
822 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
824 * intl/Makefile [$(build-bounded) = yes]
825 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
826 * math/Makefile [$(build-bounded) = yes]
827 ($(tests:%=$(objpfx)%-bp): Likewise.
828 * misc/Makefile [$(build-bounded) = yes]
829 ($(objpfx)tst-tsearch-bp): Likewise.
830 * nptl/Makeconfig (bounded-thread-library): Remove variable.
831 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
833 * string/Makefile (o-objects.ob): Remove variable.
834 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
835 (CFLAGS-.ob): Remove variable.
836 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
837 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
838 both definitions of variable.
839 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
840 (ASFLAGS-.ob): Remove variable.
842 2013-02-14 Joseph Myers <joseph@codesourcery.com>
845 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
846 Remove __BOUNDED_POINTERS__ from condition.
847 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
848 * string/bits/string2.h [!__NO_STRING_INLINES &&
849 !__BOUNDED_POINTERS__]: Likewise.
850 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
852 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
853 Remove conditional code.
854 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
855 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
856 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
860 * csu/libc-start.c: Do not include <bp-sym.h>.
861 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
862 * elf/dl-open.c: Do not include <bp-sym.h>.
863 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
864 * math/fegetenv.c: Do not include <bp-sym.h>.
865 (fegetenv): Do not use BP_SYM in versioned symbols.
866 * nptl/sysdeps/pthread/bits/libc-lockP.h
867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
870 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
872 (__pthread_mutex_destroy): Likewise.
873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
874 (__pthread_mutex_lock): Likewise.
875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
876 (__pthread_mutex_trylock): Likewise.
877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
878 (__pthread_mutex_unlock): Likewise.
879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
880 (__pthread_mutexattr_init): Likewise.
881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
882 (__pthread_mutexattr_destroy): Likewise.
883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
884 (__pthread_mutexattr_settype): Likewise.
885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
886 (__pthread_rwlock_init): Likewise.
887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
888 (__pthread_rwlock_destroy): Likewise.
889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
890 (__pthread_rwlock_rdlock): Likewise.
891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
892 (__pthread_rwlock_tryrdlock): Likewise.
893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
894 (__pthread_rwlock_wrlock): Likewise.
895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
896 (__pthread_rwlock_trywrlock): Likewise.
897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
898 (__pthread_rwlock_unlock): Likewise.
899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
900 (__pthread_key_create): Likewise.
901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
902 (__pthread_setspecific): Likewise.
903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
904 (__pthread_getspecific): Likewise.
905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
908 (_pthread_cleanup_push_defer): Likewise.
909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
910 (_pthread_cleanup_pop_restore): Likewise.
911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
912 (pthread_setcancelstate): Likewise.
913 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
915 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
916 (memchr): Do not use BP_SYM in weak_alias.
917 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
918 (fegetenv): Do not use BP_SYM in versioned symbols.
919 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
920 (fesetenv): Do not use BP_SYM in versioned symbols.
921 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
922 (feupdateenv): Do not use BP_SYM in versioned symbols.
923 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
924 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
925 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
926 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
927 (open64): Do not use BP_SYM in weak_alias.
928 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
929 (fegetenv): Do not use BP_SYM in versioned symbols.
930 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
931 (fesetenv): Do not use BP_SYM in versioned symbols.
932 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
933 (feupdateenv): Do not use BP_SYM in versioned symbols.
934 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
935 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
936 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
937 (feraiseexcept): Do not use BP_SYM in versioned symbols.
938 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
939 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
940 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
942 (__libc_start_main): Do not use BP_SYM.
944 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
947 redundant return line.
951 (sub_magnitudes): Likewise.
957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
961 (sub_magnitudes): Likewise.
968 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
971 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
974 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
975 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
977 of __mul for squares.
978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
982 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
983 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
985 2013-02-13 Joseph Myers <joseph@codesourcery.com>
988 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
990 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
991 prototype or function definition. Rename ubp_* variables and
992 parameters. Remove argv definitions conditional on
993 [__BOUNDED_POINTERS__].
994 * debug/backtrace.c (__backtrace): Do not use __unbounded.
995 * elf/dl-runtime.c (_dl_fixup): Likewise.
996 * include/set-hooks.h (RUN_HOOK): Likewise.
997 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
999 * string/strcpy.c (strcpy): Do not use __unbounded.
1000 * sysdeps/generic/frame.h (struct layout): Likewise.
1001 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1002 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1003 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1004 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1005 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1006 (__backtrace): Likewise.
1007 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1009 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1010 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1011 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1013 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1014 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1015 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1016 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1017 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1018 Do not use __unbounded.
1019 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1020 Rename __unboundedrlimits parameter to rlimits in prototype.
1021 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1022 Do not use __unbounded.
1023 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1025 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1026 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1027 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1028 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1029 __ptrvalue or __unbounded.
1030 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1031 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1033 (__new_msgctl): Do not use __ptrvalue.
1034 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1036 (__libc_msgrcv): Do not use __ptrvalue.
1037 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1038 startup_info): Do not use __unbounded.
1039 (__libc_start_main): Likewise. Rename ubp_* variables and
1040 parameters. Remove argv definitions conditional on
1041 [__BOUNDED_POINTERS__].
1042 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1044 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1046 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1048 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1050 (__new_shmctl): Do not use __ptrvalue.
1051 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1052 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1054 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1055 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1056 (__libc_sigaction): Likewise.
1057 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1058 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1060 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1062 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1064 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1066 * string/mempcpy.c: Implement by calling memcpy.
1068 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1075 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1076 values in the mantissa.
1078 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1079 minimize writes to Z.
1080 (sub_magnitudes): Simplify code a bit.
1082 2013-02-12 Roland McGrath <roland@hack.frob.com>
1084 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1085 from the message. The linker prefixes all warnings with that already.
1087 2013-02-12 Andreas Schwab <schwab@suse.de>
1090 * posix/regexec.c (extend_buffers): Add parameter min_len.
1091 (check_matching): Pass minimum needed length.
1092 (clean_state_log_if_needed): Likewise.
1093 (get_subexp): Likewise.
1094 * posix/Makefile (tests): Add bug-regex34.
1095 (bug-regex34-ENV): Define.
1096 * posix/bug-regex34.c: New file.
1099 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1100 elements compare against the byte sequence of it, not its name.
1101 * posix/Makefile (tests): Add bug-regex35.
1102 (bug-regex35-ENV): Define.
1103 * posix/bug-regex35.c: New file.
1105 2013-02-11 Tom de Vries <tom@codesourcery.com>
1107 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1109 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1110 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1111 (CHECK_EOL): Add undef.
1113 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1115 * bits/stdlib-bsearch.h: New file.
1116 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1117 * stdlib/stdlib.h: Likewise.
1119 2013-02-11 Roland McGrath <roland@hack.frob.com>
1121 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1122 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1124 * manual/search.texi (Array Search Function): Add missing const in
1126 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1127 declaration to use rlim_t.
1128 (Basic Scheduling Functions): Remove erroneous const from
1129 sched_getparam prototype. Remove erroneous * from
1130 sched_get_priority_max and sched_get_priority_min prototypes.
1131 (Resource Usage): Fix summary @comment on vtimes to refer to
1132 sys/vtimes.h rather than vtimes.h.
1133 Add missing *s in vtimes prototype.
1134 (Limits on Resources): Fix ulimit prototype to return long int.
1135 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1136 prototypes to use long int rather than double.
1137 (BSD Random): Fix initstate and setstate to use char *, not void *.
1138 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1139 prototype to make second argument 'struct aiocb64 *const[]'.
1140 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1141 (Status of AIO Operations): Remove erroneous const in aio_return and
1142 aio_return64 prototypes.
1143 (Synchronizing I/O): Fix sync prototype to return void.
1144 * manual/startup.texi (Suboptions): Remove an erroneous const in
1145 getsubopt prototype.
1146 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1147 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1148 use size_t rather than int.
1149 (Scanning All Users): Likewise for getpwent_r.
1150 (Setting Groups): Add missing const to setgroups prototype.
1151 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1152 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1153 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1154 'const void *' rather than 'const char *'.
1155 (Host Address Functions): Likewise for inet_ntop.
1156 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1157 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1158 ssize_t for return value.
1159 (Sending Data): Likewise for send, sendto, sendmsg.
1160 (Socket Option Functions): Add a missing const in setsockopt prototype.
1161 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1162 use wchar_t for the argument.
1163 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1164 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1166 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1167 double/float/long double for second argument.
1168 Fix return types of significand, significandf, significandl.
1169 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1170 argument in fchmod prototype.
1171 (File Owner): Use uid_t and gid_t in fchown prototype.
1172 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1173 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1174 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1175 use 'const struct dirent **' as argument types to CMP function pointer
1177 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1178 (File Times): Fix summary magic @comment for struct utimbuf and utime
1179 to refer to utime.h, not time.h.
1180 * manual/string.texi (Argz Functions): Add missing const in
1181 argz_extract and argz_next prototypes.
1182 (Finding Tokens in a String): Likewise for basename.
1183 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1184 (Copying and Concatenation): Fix typo in wmemmove prototype.
1185 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1186 (Signal Stack): Remove erroneous const in sigstack prototype.
1187 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1189 (Simple Calendar Time): Likewise for stime.
1190 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1192 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1193 say sys/sysctl.h instead.
1194 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1195 and vsyslog prototypes.
1197 2013-02-11 Tom de Vries <tom@codesourcery.com>
1199 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1202 2013-02-11 Roland McGrath <roland@hack.frob.com>
1204 * misc/sys/mman.h: Fix typo in mremap comment.
1206 2013-02-08 Roland McGrath <roland@hack.frob.com>
1208 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1209 the '\0' terminator.
1211 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1214 * debug/segfault.c: Don't include <bp-checks.h>.
1215 * sysdeps/generic/bp-checks.h: Remove file.
1216 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1217 (__GETDENTS): Don't use CHECK_N.
1218 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1219 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1220 (__getgroups): Don't use CHECK_N.
1221 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1222 (setgroups): Don't use CHECK_N.
1223 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1224 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1225 (__libc_msgrcv): Don't use CHECK_N.
1226 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1227 (__libc_msgsnd): Don't use CHECK_N.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1230 (__libc_pread): Don't use CHECK_N.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1232 include <bp-checks.h>.
1233 (__libc_pread64): Don't use CHECK_N.
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1235 include <bp-checks.h>.
1236 (__libc_pwrite): Don't use CHECK_N.
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1238 include <bp-checks.h>.
1239 (__libc_pwrite64): Don't use CHECK_N.
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1242 (__libc_pread): Don't use CHECK_N.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1244 include <bp-checks.h>.
1245 (__libc_pread64): Don't use CHECK_N.
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1247 include <bp-checks.h>.
1248 (__libc_pwrite): Don't use CHECK_N.
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1250 include <bp-checks.h>.
1251 (__libc_pwrite64): Don't use CHECK_N.
1252 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1253 (do_pread): Don't use CHECK_N.
1254 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1255 (do_pread64): Don't use CHECK_N.
1256 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1257 (do_pwrite): Don't use CHECK_N.
1258 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1259 (do_pwrite64): Don't use CHECK_N.
1260 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1261 (__libc_readv): Don't use CHECK_N.
1262 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1263 (semop): Don't use CHECK_N.
1264 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1266 (semtimedop): Don't use CHECK_N.
1267 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1268 (__libc_pread): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1271 (__libc_pread64): Don't use CHECK_N.
1272 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1274 (__libc_pwrite): Don't use CHECK_N.
1275 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1277 (__libc_pwrite64): Don't use CHECK_N.
1278 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1280 (__libc_msgrcv): Don't use CHECK_N.
1281 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1282 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1283 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1284 (__libc_writev): Don't use CHECK_N.
1286 2013-02-08 Roland McGrath <roland@hack.frob.com>
1288 * string/strcpy.c: Removed unused variable.
1290 * Makeconfig (+sysdep-includes): Define with := rather than =.
1291 Use an existing include/ subdir of each sysdeps dir before it.
1293 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1295 * nscd/connection.c (register_traced_file): Comment function.
1296 [HAVE_INOTIFY] (union __inev): Define.
1297 [HAVE_INOTIFY] (inotify_check_files): New function.
1298 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1299 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1301 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1303 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1305 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1306 loaded if not already and that a failure is permanent.
1308 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1311 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1312 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1314 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1317 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1318 (CHECK_1_NULL_OK): Likewise.
1319 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1320 (__fxstat): Do not use CHECK_1.
1321 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1323 (___fxstat64): Do not use CHECK_1.
1324 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1326 (__fxstatat): Do not use CHECK_1.
1327 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1329 (__fxstatat64): Do not use CHECK_1.
1330 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1332 (__fxstat): Do not use CHECK_1.
1333 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1335 (__fxstatat): Do not use CHECK_1.
1336 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1338 (__getresgid): Do not use CHECK_1.
1339 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1341 (__getresuid): Do not use CHECK_1.
1342 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1344 (__lxstat): Do not use CHECK_1.
1345 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1347 (__old_msgctl): Do not use CHECK_1.
1348 (__new_msgctl): Likewise.
1349 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1351 (__new_setrlimit): Do not use CHECK_1.
1352 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1354 (__old_shmctl): Do not use CHECK_1.
1355 (__new_shmctl): Likewise.
1356 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1358 (__xstat): Do not use CHECK_1.
1359 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1360 (__lxstat): Do not use CHECK_1.
1361 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1363 (___lxstat64): Do not use CHECK_1.
1364 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1365 (__old_msgctl): Do not use CHECK_1.
1366 (__new_msgctl): Likewise.
1367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1369 (__gettimeofday): Do not use CHECK_1.
1370 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1371 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1372 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1374 (__gettimeofday): Do not use CHECK_1.
1375 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1376 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1377 (__new_shmctl): Do not use CHECK_1.
1378 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1380 (do_sigtimedwait): Do not use CHECK_1.
1381 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1383 (do_sigwaitinfo): Do not use CHECK_1.
1384 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1386 (msgctl): Do not use CHECK_1.
1387 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1389 (shmctl): Do not use CHECK_1.
1390 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1391 (ustat): Do not use CHECK_1.
1392 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1394 (__fxstat): Do not use CHECK_1.
1395 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1397 (__fxstatat): Do not use CHECK_1.
1398 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1400 (__lxstat): Do not use CHECK_1.
1401 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1403 (__xstat): Do not use CHECK_1.
1404 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1405 (__xstat): Do not use CHECK_1.
1406 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1407 (___xstat64): Do not use CHECK_1.
1410 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1412 (CHECK_BOUNDS_HIGH): Likewise.
1413 * string/strcpy.c: Do not include <bp-checks.h>.
1414 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1416 2013-02-07 Roland McGrath <roland@hack.frob.com>
1418 * nscd/nscd-client.h (__nscd_drop_map_ref):
1419 Add __attribute__ ((unused)).
1420 * nis/nss-nisplus.h (niserr2nss): Likewise.
1422 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1423 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1425 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1426 Remove inline keyword.
1427 * include/rounding-mode.h (round_away): Likewise.
1428 * libio/wfileops.c (adjust_wide_data): Likewise.
1429 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1430 (__m128i_strloadu_tolower): Likewise.
1431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1432 (__m128i_strloadu_tolower): Likewise.
1433 * time/mktime.c (ydhms_diff): Likewise.
1434 * locale/elem-hash.h (elem_hash): Likewise.
1435 * locale/setlocale.c (setdata): Likewise.
1436 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1437 (re_string_wchar_at): Likewise.
1438 (bitset_not, bitset_merge, bitset_mask): Likewise.
1439 [!(__GNUC__ > 3)] (inline): Remove macro.
1440 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1441 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1442 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1443 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1444 * string/memcmp.c (memcmp_bytes): Likewise.
1445 * locale/programs/locarchive.c (compute_hashval): Likewise.
1446 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1447 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1448 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1449 * nss/getent.c (print_rpc, print_protocols): Likewise.
1450 (print_passwd, print_group, print_aliases): Likewise.
1451 * nis/nss-nisplus.h (niserr2nss): Likewise.
1452 * nscd/connections.c (restart_p): Likewise.
1453 Change return type to bool.
1455 2013-02-05 Roland McGrath <roland@hack.frob.com>
1457 * Makeconfig (all-Depend-files): Add existing
1458 $(sorted-subdirs:=/Depend) files.
1459 (all-subdirs): Remove nss.
1460 * sysdeps/unix/inet/Subdirs: Add it here instead.
1461 * hesiod/Depend: New file.
1463 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1464 instead of calling alloca.
1466 * io/lseek.c (__lseek): Rename to __libc_lseek.
1467 Define __lseek as an alias.
1469 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1471 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1473 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1474 else clause and remove check for non-standard endianness.
1476 2013-02-04 David S. Miller <davem@davemloft.net>
1478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1480 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1483 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1484 (__ubp_memchr): Remove prototype.
1485 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1486 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1487 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1488 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1489 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1491 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1492 (__ubp_memchr): Likewise.
1493 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1494 (__ubp_memchr): Likewise.
1495 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1496 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1497 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1498 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1500 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1501 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1502 (__getcwd): Do not use CHECK_STRING.
1503 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1505 (__real_chown): Do not use CHECK_STRING.
1506 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1508 (fchownat): Do not use CHECK_STRING.
1509 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1511 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1513 (__lchown): Do not use CHECK_STRING.
1514 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1515 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1516 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1517 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1519 include <bp-checks.h>.
1520 (truncate64): Do not use CHECK_STRING.
1521 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1523 (__real_chown): Do not use CHECK_STRING.
1524 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1526 (__lchown): Do not use CHECK_STRING.
1527 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1529 (__chown): Do not use CHECK_STRING.
1530 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1532 (truncate64): Do not use CHECK_STRING.
1533 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1535 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1536 (__xmknod): Do not use CHECK_STRING.
1537 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1539 (__xmknodat): Do not use CHECK_STRING.
1540 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1541 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1543 2013-02-04 Andreas Schwab <schwab@suse.de>
1546 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1547 * include/netdb.h: Likewise for h_errno.
1548 * elf/tst-stackguard1.c: Include <tls.h>.
1550 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1552 * elf/link.h (struct link_map): Extend the l_addr comment.
1553 * include/link.h (struct link_map): Likewise.
1555 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1558 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1559 (BOUNDED_1): Remove macro.
1560 * debug/backtrace.c: Don't include <bp-checks.h>.
1561 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1562 (__backtrace): Likewise.
1563 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1565 (__backtrace): Don't use BOUNDED_1.
1566 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1568 (__backtrace): Don't use BOUNDED_1.
1569 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1570 (__backtrace): Don't use BOUNDED_1.
1571 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1572 (shmat): Don't use BOUNDED_N.
1574 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1577 * sysdeps/generic/bp-start.h: Remove file.
1578 * csu/libc-start.c: Don't include <bp-start.h>.
1579 (LIBC_START_MAIN): Set up __environ directly instead of using
1580 INIT_ARGV_and_ENVIRON.
1581 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1585 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1587 (CHECK_FCNTL): Likewise.
1588 (CHECK_N_PAGES): Likewise.
1591 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1593 (CHECK_SIGSET_NULL_OK): Likewise.
1594 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1596 (sigpending): Don't use CHECK_SIGSET.
1597 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1599 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1600 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1602 (do_sigsuspend): Don't use CHECK_SIGSET.
1603 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1605 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1606 (do_sigwait): Don't use CHECK_SIGSET.
1607 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1609 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1610 include <bp-checks.h>.
1611 (sigpending): Don't use CHECK_SIGSET.
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1613 include <bp-checks.h>.
1614 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1615 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1617 (sigpending): Don't use CHECK_SIGSET.
1618 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1620 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1623 * sysdeps/generic/bp-semctl.h: Remove file.
1624 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1625 <bp-checks.h> and <bp-semctl.h>.
1626 (__old_semctl): Don't use CHECK_SEMCTL.
1627 (__new_semctl): Likewise.
1628 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1630 (__old_semctl): Don't use CHECK_SEMCTL.
1631 (__new_semctl): Likewise.
1632 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1633 <bp-checks.h> and <bp-semctl.h>.
1634 (__old_semctl): Don't use CHECK_SEMCTL.
1635 (__new_semctl): Likewise.
1636 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1637 <bp-checks.h> and <bp-semctl.h>.
1638 (semctl): Don't use CHECK_SEMCTL.
1641 * Makerules (elide-bp-thunks): Remove variable.
1642 (elide-routines.oS): Don't use $(elide-bp-thunks).
1643 (elide-routines.os): Likewise.
1644 (elide-routines.o): Likewise.
1645 (elide-routines.op): Likewise.
1646 (elide-routines.og): Likewise.
1647 (objects): Don't use $(bp-thunks).
1648 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1650 (common-generated): Do not add s-proto-bp.d.
1651 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1654 Do not generate makefile rules for bounded-pointer thunks.
1655 * sysdeps/generic/bp-thunks.h: Remove file.
1656 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1657 * sysdeps/unix/s-proto-bp.S: Likewise.
1660 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1661 parts of result separately when argument is not close to line from
1662 -i to i and one part of argument is small.
1663 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1664 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1665 * math/libm-test.inc (cacos_test): Add more tests.
1666 (casin_test): Likewise.
1667 (casinh_test): Likewise.
1668 * sysdeps/i386/fpu/libm-test-ulps: Update.
1669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1671 2013-01-31 David S. Miller <davem@davemloft.net>
1673 * po/de.po: Update from translation team.
1675 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1677 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1679 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1681 * configure.in (_AC_PROG_CC_C89): New definition.
1682 * configure: Regenerate.
1684 * configure.in (AC_PROG_CPP): New definition.
1685 * configure: Regenerate.
1687 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1689 * debug/tst-backtrace.h: New file.
1690 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1691 (ret): Remove variable.
1693 (FAIL): Remove macro.
1694 (NO_INLINE): Likewise.
1695 (fn1): Use match function instead of strstr.
1696 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1697 (ret): Remove variable.
1699 (FAIL): Remove macro.
1700 (NO_INLINE): Likewise.
1701 (fn): Use match function instead of strstr.
1702 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1703 (ret): Remove variable.
1705 (FAIL): Remove macro.
1706 (NO_INLINE): Likewise.
1707 (handle_signal): Use match function instead of strstr.
1708 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1709 (ret): Remove variable.
1711 (FAIL): Remove macro.
1712 (NO_INLINE): Likewise.
1713 (handle_signal): Use match function instead of strstr.
1715 2013-01-23 Roland McGrath <roland@hack.frob.com>
1717 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1719 2013-01-23 David S. Miller <davem@davemloft.net>
1721 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1722 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1723 argument of CAS if possible.
1724 * sysdeps/sparc/sparc64/bits/atomic.h
1725 (__arch_compare_and_exchange_val_32_acq): Likewise.
1726 (__arch_compare_and_exchange_val_64_acq): Likewise.
1728 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1730 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1731 * sysdeps/posix/ulimit.c: ... this.
1733 * sysdeps/unix/bsd/ulimit.c: Remove file.
1735 2013-01-23 Adam Conrad <adconrad@0c3.net>
1737 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1738 (LDFLAGS-tst-array5): Likewise.
1740 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1743 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1744 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1745 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1746 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1748 2013-01-21 David S. Miller <davem@davemloft.net>
1750 * sysdeps/sparc/backtrace.c: New file.
1751 * sysdeps/sparc/sparc32/backtrace.h: New file.
1752 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1753 * sysdeps/sparc/sparc64/backtrace.h: New file.
1754 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1755 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1758 2013-01-21 Andreas Schwab <schwab@suse.de>
1761 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1764 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1770 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1771 Mark Mitchell <mark@codesourcery.com>
1772 Tom de Vries <tom@codesourcery.com>
1773 Paul Pluzhnikov <ppluzhnikov@google.com>
1775 * debug/tst-backtrace2.c: New file.
1776 * debug/tst-backtrace3.c: Likewise.
1777 * debug/tst-backtrace4.c: Likewise.
1778 * debug/tst-backtrace5.c: Likewise.
1779 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1780 (CFLAGS-tst-backtrace3.c): Likewise.
1781 (CFLAGS-tst-backtrace4.c): Likewise.
1782 (CFLAGS-tst-backtrace5.c): Likewise.
1783 (LDFLAGS-tst-backtrace2): Likewise.
1784 (LDFLAGS-tst-backtrace3): Likewise.
1785 (LDFLAGS-tst-backtrace4): Likewise.
1786 (LDFLAGS-tst-backtrace5): Likewise.
1787 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1788 tst-backtrace4 and tst-backtrace5.
1790 2013-01-18 Anton Blanchard <anton@samba.org>
1791 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1793 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1794 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1795 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1796 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1798 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1799 "+r" and remove output regs list as redundant. Add explicit inline
1800 asm to specify register of return val to work around compiler codegen
1801 bug. Remove (int) cast on return value. Add return type parameter to
1802 use in macro so that this macro does not truncate return value for
1804 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1805 pass to INTERNAL_VSYSCALL_NCS.
1806 (INLINE_VSYSCALL): Add 'long int' as return type to
1807 INTERNAL_VSYSCALL_NCS macro invocation.
1808 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1809 INTERNAL_VSYSCALL_NCS macro invocation.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1812 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1815 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1816 Fix application of SIMD FP exception mask.
1818 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1819 mp_no from a power of two.
1820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1821 __mpexp_twomm1. Use __pow_mp.
1823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1826 2013-01-17 David S. Miller <davem@davemloft.net>
1828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1830 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1833 * include/complex.h: Condition contents on [!_COMPLEX_H].
1834 (__kernel_casinhf): New prototype.
1835 (__kernel_casinh): Likewise.
1836 (__kernel_casinhl): Likewise.
1837 * math/Makefile (libm_calls): Add k_casinh.
1838 * math/k_casinh.c: New file.
1839 * math/k_casinhf.c: Likewise.
1840 * math/k_casinhl.c: Likewise.
1841 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1842 finite nonzero arguments.
1843 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1844 finite nonzero arguments.
1845 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1846 finite nonzero arguments.
1847 * math/s_casinh.c: Do not include <float.h>.
1848 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1849 * math/s_casinhf.c: Do not include <float.h>.
1850 (__casinhf): Move code for finite nonzero arguments to
1852 * math/s_casinhl.c: Do not include <float.h>.
1853 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1855 (__casinhl): Move code for finite nonzero arguments to
1857 * math/libm-test.inc (cacos_test): Add more tests.
1858 * sysdeps/i386/fpu/libm-test-ulps: Update.
1859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1861 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1863 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1864 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1865 [!HAVE_MREMAP]: Remove [defined linux] case.
1866 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1868 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1870 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1872 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1874 * elf/elf.h (R_386_SIZE32): New relocation.
1875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1877 (elf_machine_rela): Likewise.
1878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1879 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1881 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1883 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1884 (FP_FAST_FMA): Do not define.
1885 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1886 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1887 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1888 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1889 !_SOFT_FLOAT]: Likewise.
1890 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1891 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1893 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1894 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1895 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1897 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1898 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1901 2013-01-16 Andreas Schwab <schwab@suse.de>
1904 * include/stdlib.h (__mktemp): Add declaration.
1905 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1906 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1908 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1910 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1912 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1913 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1914 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1916 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1917 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1919 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1921 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1922 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1923 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1925 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1926 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1928 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1930 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1932 2013-01-15 David S. Miller <davem@davemloft.net>
1934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1935 trunc{,f} to libm-sysdep_routes.
1936 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1946 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1947 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1948 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1949 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1950 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1951 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1954 nearbyint{,f} to libm-sysdep_routes.
1955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1968 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1972 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1973 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1975 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1976 libc_feholdexcept and libc_fesetenv.
1978 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1980 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1982 2013-01-14 David S. Miller <davem@davemloft.net>
1984 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1985 (SPARC_ASM_VIS2_IFUNC): Likewise.
1986 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1988 use of 'siam' instruction.
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2022 routines to libm-sysdep_routines.
2023 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2026 fdim/fdimf to libm-sysdep_routines.
2027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2035 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2036 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2037 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2038 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2040 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2042 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2045 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2050 local variable MPTWO.
2051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2054 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2056 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2059 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2061 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2063 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2065 * manual/pattern.texi (glob_t): Document gl_flags.
2066 (glob64_t): Likewise.
2068 2013-01-11 David S. Miller <davem@davemloft.net>
2070 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2071 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2072 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2073 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2074 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2075 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2076 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2077 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2078 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2079 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2080 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2081 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2082 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2084 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2085 sparc V9 rather than using V8 code.
2086 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2087 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2089 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2091 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2094 2013-01-11 Roland McGrath <roland@hack.frob.com>
2096 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2097 not in the main loop.
2098 * configure: Regenerated.
2100 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2102 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2103 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2105 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2106 [!__GLIBC_HAVE_LONG_LONG] case.
2107 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2108 condition to just #else.
2109 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2110 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2111 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2112 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2114 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2115 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2116 #elif condition to just #else.
2117 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2118 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2119 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2120 #elif condition to just #else.
2122 2013-01-11 Steve Ellcey <sellcey@mips.com>
2124 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2125 (EF_MIPS_ARCH_64): Fix value.
2126 (EF_MIPS_ARCH_32R2): New.
2127 (EF_MIPS_ARCH_64R2): New.
2129 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2131 * Makeconfig (+link-pie-before-libc): New.
2132 (+link-pie-after-libc): Likewise.
2133 (+link-pie-tests): Likewise.
2134 (+link-pie): Rewritten.
2135 (link-before-libc): Remove $(config-LDFLAGS).
2136 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2137 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2138 (config-LDFLAGS): Renamed to ...
2139 (rtld-LDFLAGS): This.
2140 (rtld-tests-LDFLAGS): New macro.
2141 (link-libc-rpath-link): Likewise.
2142 (link-libc-tests-rpath-link): Likewise.
2143 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2144 (link-libc): Prepand $(link-libc-rpath-link).
2145 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2146 (test-program-prefix): New macro.
2147 (test-via-rtld-prefix): Likewise.
2148 (test-program-cmd): Likewise.
2149 (host-test-program-cmd): Likewise.
2150 * Makefile ($(common-objpfx)testrun.sh): Replace
2151 $(run-program-prefix) with $(test-program-prefix).
2152 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2154 ($(common-objpfx)shlib.lds): Likewise.
2155 (build-module-helper): Likewise.
2156 ($(common-objpfx)format.lds): Likewise.
2157 * Rules (binaries-pie-tests): New.
2158 (binaries-pie-notests): Likewise.
2159 (binaries-pie): Rewritten.
2160 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2161 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2162 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2163 (make-test-out): Replace $(host-built-program-cmd) with
2164 $(host-test-program-cmd).
2165 * config.make.in (build-hardcoded-path-in-tests): New variable.
2166 * configure.in (--enable-hardcoded-path-in-tests): New configure
2168 (hardcoded_path_in_tests): New AC_SUBST.
2169 * configure: Regenerated.
2170 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2171 $(built-program-cmd) with $(test-program-cmd).
2172 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2173 (test_program_cmd): This.
2174 * elf/Makefile ($(objpfx)order.out): Run test with
2175 $(test-program-prefix).
2176 ($(objpfx)order2.out): Likewise.
2177 ($(objpfx)tst-initorder.out): Likewise.
2178 ($(objpfx)tst-initorder2.out): Likewise.
2179 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2180 $(test-program-cmd).
2181 ($(objpfx)tst-array1-static.out): Likewise.
2182 ($(objpfx)tst-array2.out): Likewise.
2183 ($(objpfx)tst-array3.out): Likewise.
2184 ($(objpfx)tst-array4.out): Likewise.
2185 ($(objpfx)tst-array5.out): Likewise.
2186 ($(objpfx)tst-array5-static.out): Likewise.
2187 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2188 $(test-program-cmd).
2189 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2190 $(run-program-prefix) with $(test-program-prefix).
2191 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2192 (test_program_prefix): This.
2193 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2194 $(run-program-prefix) with $(test-program-prefix).
2195 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2196 (test_program_prefix): This.
2197 * iconvdata/tst-tables.sh: Likewise.
2198 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2199 $(run-program-prefix) with $(test-program-prefix).
2200 ($(objpfx)tst-translit.out): Likewise.
2201 ($(objpfx)tst-gettext2.out): Likewise.
2202 ($(objpfx)tst-gettext4.out): Likewise.
2203 ($(objpfx)tst-gettext6.out): Likewise.
2204 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2205 (test_program_prefix): This.
2206 * intl/tst-gettext2.sh: Likewise.
2207 * intl/tst-gettext4.sh Likewise.
2208 * intl/tst-gettext6.sh: Likewise.
2209 * intl/tst-translit.sh: Likewise.
2210 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2211 with $(test-program-cmd).
2212 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2213 $(run-program-prefix) with $(test-program-prefix).
2214 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2215 (test_program_prefix): This.
2216 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2217 $(run-program-prefix) with $(test-program-prefix).
2218 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2219 (test_program_prefix): This.
2220 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2221 * posix/Makefile ($(objpfx)globtest.out): Replace
2222 $(run-via-rtld-prefix) and $(test-wrapper) with
2223 $(test-program-prefix) and $(test-via-rtld-prefix).
2224 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2225 $(test-program-prefix).
2226 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2227 $(host-test-program-cmd).
2228 (tst-spawn-ARGS): Likewise.
2229 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2230 $(test-program-prefix).
2231 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2232 (test_via_rtld_prefix): This.
2233 (test_wrapper): Renamed to ...
2234 (test_program_prefix): This.
2235 (run_program_prefix): Replaced by test_program_prefix.
2236 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2237 (test_program_prefix): This.
2238 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2239 with $(host-test-program-cmd).
2240 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2241 $(run-program-prefix) with $(test-program-prefix).
2242 ($(objpfx)tst-printf.out): Likewise.
2243 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2244 $(test-program-cmd).
2245 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2246 (test_program_prefix): This.
2247 * stdio-common/tst-unbputc.sh: Likewise.
2248 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2249 $(run-program-prefix) with $(test-program-prefix).
2250 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2251 (test_program_prefix): This.
2252 * string/Makefile ($(objpfx)tst-svc.out): Replace
2253 $(built-program-cmd) with $(test-program-cmd).
2255 2013-01-11 Andreas Jaeger <aj@suse.de>
2258 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2259 value. Sync with Linux 3.7.
2261 2013-01-10 David S. Miller <davem@davemloft.net>
2263 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2267 2013-01-10 Roland McGrath <roland@hack.frob.com>
2269 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2271 * configure: Regenerated.
2273 2013-01-10 David S. Miller <davem@davemloft.net>
2275 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2276 sparc V9 rather than using V8 code.
2277 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2278 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2280 2013-01-10 Roland McGrath <roland@hack.frob.com>
2282 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2283 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2284 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2285 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2286 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2287 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2288 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2289 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2290 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2291 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2292 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2293 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2294 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2295 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2296 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2297 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2298 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2299 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2300 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2301 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2302 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2303 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2304 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2305 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2306 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2307 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2308 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2310 2013-01-10 David S. Miller <davem@davemloft.net>
2312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2314 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2316 * posix/Makefile (tests-static): New variable.
2317 (tests): Add $(tests-static).
2318 (tst-exec-static-ARGS): New variable.
2319 (tst-spawn-static-ARGS): Likewise.
2320 * posix/tst-exec-static.c: New file.
2321 * posix/tst-spawn-static.c: Likewise.
2322 * posix/tst-exec.c: Support run directly.
2323 * posix/tst-spawn.c: Likewise.
2325 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2327 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2329 * math/bits/mathcalls.h (llrint): Likewise.
2330 (llround): Likewise.
2331 * stdlib/stdlib.h (struct drand48_data): Likewise.
2332 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2333 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2334 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2336 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2338 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2339 (elf_greg_t): Likewise.
2340 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2341 (__jmp_buf): Likewise.
2342 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2344 (llrint): Likewise, for all definitions.
2345 (llrintl): Likewise.
2347 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2348 Remove [__GNUC__] condition.
2349 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2350 condition to just [__USE_ISOC99].
2351 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2353 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2356 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2357 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2359 (_POSIX_V6_ILP32_OFF32): Likewise.
2360 (_XBS5_ILP32_OFF32): Likewise.
2361 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2362 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2364 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2366 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2369 doubles __mpexp_twomm1. Adjust usage.
2370 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2373 2013-01-10 Andreas Schwab <schwab@suse.de>
2376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2377 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2379 2013-01-09 David S. Miller <davem@davemloft.net>
2382 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2383 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2384 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2385 TCP_FASTOPEN): Define.
2386 (tcp_repair_opt): New structure.
2387 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2389 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2390 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2391 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2392 (tcp_cookie_transactions): New structure.
2394 2013-01-09 Anton Blanchard <anton@samba.org>
2396 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2397 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2398 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2399 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2401 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2403 * include/features.h (__USE_ANSI): Remove.
2405 2013-01-09 Roland McGrath <roland@hack.frob.com>
2407 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2409 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2411 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2413 * sysdeps/s390/fpu/libm-test-ulps: Update.
2415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2417 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2422 (__mp_dbl): Likewise.
2423 (__dbl_mp): Likewise.
2424 (add_magnitudes): Likewise.
2425 (sub_magnitudes): Likewise.
2431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2436 (__mp_dbl): Likewise.
2437 (__dbl_mp): Likewise.
2438 (add_magnitudes): Likewise.
2439 (sub_magnitudes): Likewise.
2445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2450 (__mp_dbl): Likewise.
2451 (__dbl_mp): Likewise.
2452 (add_magnitudes): Likewise.
2453 (sub_magnitudes): Likewise.
2460 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2462 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2463 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2464 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2465 2 && __USE_EXTERN_INLINES]: Likewise.
2467 2013-01-08 Andreas Jaeger <aj@suse.de>
2470 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2472 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2473 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2475 2013-01-07 Anton Blanchard <anton@samba.org>
2477 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2478 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2479 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2480 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2481 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2482 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2483 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2484 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2486 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2487 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2488 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2489 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2490 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2491 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2492 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2493 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2494 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2495 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2496 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2497 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2498 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2499 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2500 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2501 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2502 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2503 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2504 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2506 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2507 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2509 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2510 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2511 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2512 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2513 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2514 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2515 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2516 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2519 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2521 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2523 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2524 (__MALLOC_PMT): Likewise.
2525 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2526 [__GNUC__], only on [_LIBC].
2527 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2528 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2529 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2530 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2531 forward declaration.
2532 (realloc_hook_ini): Likewise.
2533 (memalign_hook_ini): Likewise.
2534 (__libc_memalign): Do not use __MALLOC_PMT in variable
2536 (__libc_valloc): Likewise.
2537 (__libc_pvalloc): Likewise.
2538 (__libc_calloc): Likewise.
2539 (__posix_memalign): Likewise.
2542 * math/s_casinh.c: Include <float.h>.
2543 (__casinh): Do not do computation with squaring and square root
2544 for large arguments.
2545 * math/s_casinhf.c: Include <float.h>.
2546 (__casinhf): Do not do computation with squaring and square root
2547 for large arguments.
2548 * math/s_casinhl.c: Include <float.h>.
2549 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2550 (__casinhl): Do not do computation with squaring and square root
2551 for large arguments.
2552 * math/libm-test.inc (casin_test): Add more tests.
2553 (casinh_test): Likewise.
2554 * sysdeps/i386/fpu/libm-test-ulps: Update.
2555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2557 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2559 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2560 (__x86_64_raw_data_cache_size): Likewise.
2561 (__x86_64_data_cache_size_half): Likewise.
2562 (__x86_64_raw_data_cache_size_half): Likewise.
2563 (__x86_64_shared_cache_size): Likewise.
2564 (__x86_64_raw_shared_cache_size): Likewise.
2565 (__x86_64_shared_cache_size_half): Likewise.
2566 (__x86_64_raw_shared_cache_size_half): Likewise.
2567 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2569 (__x86_data_cache_size): This.
2570 (__x86_64_raw_data_cache_size): Renamed to ...
2571 (__x86_raw_data_cache_size): This.
2572 (__x86_64_data_cache_size_half): Renamed to ...
2573 (__x86_data_cache_size_half): This.
2574 (__x86_64_raw_data_cache_size_half): Renamed to ...
2575 (__x86_raw_data_cache_size_half): This.
2576 (__x86_64_shared_cache_size): Renamed to ...
2577 (__x86_shared_cache_size): This.
2578 (__x86_64_raw_shared_cache_size): Renamed to ...
2579 (__x86_raw_shared_cache_size): This.
2580 (__x86_64_shared_cache_size_half): Renamed to ...
2581 (__x86_shared_cache_size_half): This.
2582 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2583 (__x86_raw_shared_cache_size_half): This.
2584 * sysdeps/x86_64/memcpy.S: Updated.
2585 * sysdeps/x86_64/memset.S: Likewise.
2586 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2587 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2588 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2590 2013-01-04 David S. Miller <davem@davemloft.net>
2592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2594 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2596 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2597 1 to avoid redefinition warning.
2598 (__USE_GNU): Don't define.
2599 (init_signaling_nan): Protoize.
2601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2603 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2605 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2607 (__cpymn): Likewise.
2608 (norm): Remove commented code.
2610 (__mp_dbl): Likewise.
2612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2613 (__cpymn): Likewise.
2614 (norm): Remove commented code.
2616 (__mp_dbl): Likewise.
2619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2620 mp_no value for 1.0 and 2.0.
2621 (norm): Use RADIXI instead of radixi.d.
2623 (__mul): Use 0.0 instead of zero.d.
2624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2625 mp_no value for 1.0 and 2.0.
2626 (norm): Use RADIXI instead of radixi.d.
2628 (__mul): Use 0.0 instead of zero.d.
2630 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2633 * math/s_casinh.c (__casinh): Reduce finite argument to first
2634 quadrant then set signs of results at the end.
2635 * math/s_casinhf.c (__casinhf): Likewise.
2636 * math/s_casinhl.c (__casinhl): Likewise.
2637 * math/libm-test.inc (casin_test): Add more tests.
2638 (casinh_test): Likewise.
2639 * sysdeps/i386/fpu/libm-test-ulps: Update.
2640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2642 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2644 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2646 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2648 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2651 (__mp_dbl): Likewise.
2654 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2655 and adjust the header comment.
2657 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2658 variable name from declaration.
2660 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2663 Initialize COMMON_CPUID_INDEX_7 element.
2664 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2665 (CPUID_RTM): Likewise.
2666 (HAS_RTM): Likewise.
2667 (COMMON_CPUID_INDEX_7): New enum.
2669 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2672 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2673 size is zero, record memory as freed.
2675 2013-01-03 Andreas Jaeger <aj@suse.de>
2677 * po/ia.po: Add new Interlingua translation.
2679 2012-01-03 Allan McRae <allan@archlinux.org>
2681 * locale/programs/localedef.c: Fix description of '--posix' flag.
2683 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2685 * NEWS: Update dates in second copyright notice.
2686 * README: Update copyright dates in example.
2687 * manual/libc.texinfo: Update copyright dates.
2688 * scripts/test-installation.pl: Update copyright date in --version
2691 * hurd/ctty-input.c: Fix copyright notice formatting.
2692 * hurd/ctty-output.c: Likewise.
2693 * hurd/dtable.c: Likewise.
2694 * hurd/hurd-raise.c: Likewise.
2695 * hurd/hurdprio.c: Likewise.
2696 * hurd/msgportdemux.c: Likewise.
2697 * misc/sys/file.h: Likewise.
2698 * misc/sys/ioctl.h: Likewise.
2699 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2700 * sysdeps/mach/hurd/chdir.c: Likewise.
2701 * sysdeps/mach/hurd/fchdir.c: Likewise.
2702 * sysdeps/mach/hurd/rename.c: Likewise.
2703 * sysdeps/mach/hurd/rmdir.c: Likewise.
2704 * sysdeps/mach/hurd/seekdir.c: Likewise.
2705 * sysdeps/mach/hurd/setsid.c: Likewise.
2706 * sysdeps/posix/wait3.c: Likewise.
2708 * All files with FSF copyright notices: Update copyright dates
2709 using scripts/update-copyrights.
2710 * intl/plural.c: Regenerated.
2711 * locale/programs/charmap-kw.h: Likewise.
2712 * locale/programs/locfile-kw.h: Likewise.
2714 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2716 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2719 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2720 calculation loop and add branch prediction.
2722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2723 check access beyond bounds of m1np.
2725 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2727 (__inv): Remove local variable MPTWO to use the global
2729 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2733 MP3HALFS static const.
2735 2013-01-01 David S. Miller <davem@davemloft.net>
2737 * po/ca.po: Update from translation team.
2739 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2741 * scripts/update-copyrights: New file.
2742 * Makeconfig: Reformat copyright notice.
2743 * ctype/ctype.h: Likewise.
2744 * debug/swprintf_chk.c: Likewise.
2745 * elf/dl-cache.c: Likewise.
2746 * elf/dl-debug.c: Likewise.
2747 * elf/dl-object.c: Likewise.
2748 * grp/initgroups.c: Likewise.
2749 * hurd/Makefile: Likewise.
2750 * hurd/hurd/signal.h: Likewise.
2751 * hurd/hurdfault.c: Likewise.
2752 * hurd/hurdioctl.c: Likewise.
2753 * hurd/hurdlookup.c: Likewise.
2754 * hurd/intr-msg.c: Likewise.
2755 * iconv/gconv_open.c: Likewise.
2756 * libio/swprintf.c: Likewise.
2757 * locale/lc-ctype.c: Likewise.
2758 * locale/nl_langinfo.c: Likewise.
2759 * mach/Machrules: Likewise.
2760 * mach/Makefile: Likewise.
2761 * malloc/obstack.h: Likewise.
2762 * manual/Makefile: Likewise.
2763 * manual/tsort.awk: Likewise.
2764 * misc/bits/stab.def: Likewise.
2765 * nis/nis_print_group_entry.c: Likewise.
2766 * nis/nis_table.c: Likewise.
2767 * nis/nss_compat/compat-pwd.c: Likewise.
2768 * nis/nss_compat/compat-spwd.c: Likewise.
2769 * po/Makefile: Likewise.
2770 * posix/fnmatch.c: Likewise.
2771 * posix/regex.h: Likewise.
2772 * resolv/Makefile: Likewise.
2773 * resolv/nss_dns/dns-network.c: Likewise.
2774 * resolv/res_hconf.c: Likewise.
2775 * scripts/gen-sorted.awk: Likewise.
2776 * soft-fp/soft-fp.h: Likewise.
2777 * stdio-common/printf.h: Likewise.
2778 * stdlib/monetary.h: Likewise.
2779 * stdlib/random.c: Likewise.
2780 * stdlib/random_r.c: Likewise.
2781 * sysdeps/generic/Makefile: Likewise.
2782 * sysdeps/gnu/Makefile: Likewise.
2783 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2793 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2794 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2806 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2807 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2808 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2809 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2810 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2811 * sysdeps/mach/hurd/errnos.awk: Likewise.
2812 * sysdeps/mach/hurd/fork.c: Likewise.
2813 * sysdeps/mach/hurd/getcwd.c: Likewise.
2814 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2815 * sysdeps/mach/hurd/mmap.c: Likewise.
2816 * sysdeps/mach/hurd/utimes.c: Likewise.
2817 * sysdeps/mach/hurd/xmknod.c: Likewise.
2818 * sysdeps/posix/profil.c: Likewise.
2819 * sysdeps/posix/readdir_r.c: Likewise.
2820 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2821 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2822 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2823 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2825 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2826 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2827 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2829 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2830 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2831 * sysdeps/pthread/lio_listio.c: Likewise.
2832 * sysdeps/sparc/dl-procinfo.h: Likewise.
2833 * sysdeps/unix/i386/sysdep.S: Likewise.
2834 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2835 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2836 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2837 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2839 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2840 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2841 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2842 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2843 * sysdeps/wordsize-32/divdi3.c: Likewise.
2844 * time/sys/time.h: Likewise.
2845 * wcsmbs/Makefile: Likewise.
2847 2013-01-01 David S. Miller <davem@davemloft.net>
2849 * po/fr.po: Update from translation team.
2851 * catgets/gencat.c: Update copyright year.
2852 * csu/version.c: Likewise.
2853 * debug/catchsegv.sh: Likewise.
2854 * debug/pcprofiledump.c: Likewise.
2855 * debug/xtrace.sh: Likewise.
2856 * elf/ldconfig.c: Likewise.
2857 * elf/ldd.bash.in: Likewise.
2858 * elf/pldd.c: Likewise.
2859 * elf/sotruss.ksh: Likewise.
2860 * elf/sprof.c: Likewise.
2861 * iconv/iconv_prog.c: Likewise.
2862 * iconv/iconvconfig.c: Likewise.
2863 * locale/programs/locale.c: Likewise.
2864 * locale/programs/localedef.c: Likewise.
2865 * login/programs/pt_chown.c: Likewise.
2866 * malloc/memusage.sh: Likewise.
2867 * malloc/memusagestat.c: Likewise.
2868 * malloc/mtrace.pl: Likewise.
2869 * nscd/nscd.c: Likewise.
2870 * nss/getent.c: Likewise.
2871 * nss/makedb.c: Likewise.
2872 * posix/getconf.c: Likewise.
2874 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2876 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2879 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2881 * math/bits/mathcalls.h (modf): Use __nonnull.
2883 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2885 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2886 (split): Use macro CN instead of the bare value.
2887 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2890 instead of the bare value.
2893 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2897 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2899 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2901 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2902 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2903 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2904 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2906 2012-12-28 Andreas Jaeger <aj@suse.de>
2908 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2909 values are from Linux 3.7.
2911 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2912 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2914 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2916 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2919 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2921 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2922 variables with preprocessor constants.
2923 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2924 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2925 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2927 2012-12-27 Bruno Haible <bruno@clisp.org>
2930 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2933 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2936 and use variable directly.
2937 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2939 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2941 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2942 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2944 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2946 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2947 include directive. Remove local variable MPONE.
2948 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2949 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2950 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2952 2012-12-25 David S. Miller <davem@davemloft.net>
2954 * version.h (RELEASE): Set to "development".
2955 (VERSION): Set to "2.17.90".
2956 * NEWS: Add 2.18 section.
2958 2012-12-21 David S. Miller <davem@davemloft.net>
2960 * po/hr.po: Update from translation team.
2962 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2964 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2966 2012-12-19 Steve Ellcey <sellcey@mips.com>
2968 * NEWS: Mention new memcpy for MIPS.
2970 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2972 * manual/contrib.texi (Contributors): Spelling correction.
2974 2012-12-15 David S. Miller <davem@davemloft.net>
2976 * po/ru.po: Update from translation team.
2978 2012-12-13 David S. Miller <davem@davemloft.net>
2980 * NEWS: Mention IFUNC testsuite enhancements.
2982 * po/pl.po: Update from translation team.
2983 * po/bg.po: Likewise.
2985 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2986 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2988 2012-12-11 David S. Miller <davem@davemloft.net>
2990 * po/sv.po: Update from translation team.
2992 * po/vi.po: Update from translation team.
2994 * po/cs.po: Update from translation team.
2996 * po/de.po: Update from translation team.
2997 * po/eo.po: Likewise.
2998 * po/nl.po: Likewise.
3000 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3003 * manual/argp.texi (Argp Helper Functions): Move node to follow
3007 * manual/conf.texi (Limits on File System Capacity): Mention if
3008 terminating null is included in the max size.
3010 2012-12-10 Andreas Jaeger <aj@suse.de>
3012 * po/cs.po: Update from translation team.
3014 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3016 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3017 void pointer and cast to uintptr_t.
3018 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3020 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3021 * sysdeps/s390/s390-64/memset.S: Likewise.
3023 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3026 * menual/message.texi (Message Translation): Fix typos.
3027 (Helper programs for gettext): Likewise.
3029 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3032 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3035 2012-12-07 David S. Miller <davem@davemloft.net>
3037 * po/libc.pot: Update.
3039 2012-12-07 Richard Henderson <rth@redhat.com>
3042 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3043 normal/normal case to before the switch.
3044 (_FP_DIV): Likewise.
3046 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3047 Mike Frysinger <vapier@gentoo.org>
3049 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3050 check for __NR_fadvise64_64.
3052 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3054 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3055 0, not just to plain "0" as a statement.
3056 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3059 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3061 * NEWS: Use sourceware.org in Bugzilla URL.
3063 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3066 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3068 * stdio-common/tst-put-error.c (do_test): Add newline to the
3069 padded test to ensure flush.
3071 2012-12-05 Jeff Law <law@redhat.com>
3073 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3075 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3077 * README: Don't refer to ports add-on as distributed separately.
3078 Mention AArch64 in list of systems supported in the ports add-on.
3080 * LICENSES: Add more non-FSF copyright and license notices.
3082 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3085 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3087 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3088 10000 as width of padded output.
3090 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3092 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3095 variable LX with __attribute__ ((unused)).
3096 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3098 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3099 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3100 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3101 with __attribute__ ((unused)).
3103 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3105 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3107 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3109 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3110 (CFLAGS-nldbl-acos.c): New variable.
3111 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3112 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3113 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3114 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3115 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3116 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3117 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3118 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3210 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3213 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3214 whole low double instead of just low 47 bits when splitting values
3217 2012-12-03 Allan McRae <allan@archlinux.org>
3219 * manual/stdio.texi (Predefined Printf Handlers): Remove
3220 @hsep and @vsep usage.
3222 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3224 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3225 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3227 2012-12-03 Jeff Law <law@redhat.com>
3229 * time/sys/time.h (settimeofday): Do not mark TV argument
3232 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3234 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3235 when currently writing and seek to current position when not.
3236 * libio/Makefile (tests): Remove bug-fclose1.
3237 * libio/bug-fclose1.c: Delete.
3239 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3241 * manual/arith.texi (feenableexcept): Fix typo.
3242 (fedisableexcept): Likewise.
3244 2012-11-30 Roland McGrath <roland@hack.frob.com>
3246 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3247 second, differently-typed declaration, rather than a cast.
3249 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3251 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3252 * include/rpc/svc.h: ... here.
3254 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3257 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3258 depending n and resplen2 to catch cases where answer
3261 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3263 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3264 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3266 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3268 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3270 2012-11-29 Roland McGrath <roland@hack.frob.com>
3272 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3274 2012-11-28 Jeff Law <law@redhat.com>
3277 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3278 dataset_temporary. Track alloca usage into alloca_used.
3279 If dataset is large allocate and release it via malloc/free.
3281 2012-06-04 Florian Weimer <fweimer@redhat.com>
3284 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3286 2012-11-28 David S. Miller <davem@davemloft.net>
3288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3290 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3293 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3294 of pi/2 rounded to nearest to 64 bits.
3295 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3297 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3300 2012-11-28 Jeff Law <law@redhat.com>
3301 Martin Osvald <mosvald@redhat.com>
3304 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3305 * sunrpc/svc.c: Include time.h.
3306 (__svc_accept_failed): New function.
3307 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3308 any reason other than EINTR, call __svc_accept_failed.
3309 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3310 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3312 2012-11-28 Andreas Schwab <schwab@suse.de>
3314 * scripts/abilist.awk: Also handle indirect functions in .opd
3317 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3320 * sysdeps/x86/fpu/powl_helper.c: New file.
3321 * sysdeps/x86/fpu/Makefile: Likewise.
3322 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3324 (__ieee754_powl): Use __powl_helper for finite arguments except
3325 integer exponents below 8.
3326 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3328 (__ieee754_powl): Use __powl_helper for finite arguments except
3329 integer exponents below 8.
3330 * math/libm-test.inc (pow_test): Add more tests and enable some
3331 previously disabled tests.
3332 * sysdeps/i386/fpu/libm-test-ulps: Update.
3333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3335 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3336 Carlos O'Donell <carlos_odonell@mentor.com>
3338 * nss/makedb.c (is_prime): Assert that input is odd and greater
3339 than 4. Note that fact in a comment too.
3340 (next_prime): Add 4 to input.
3342 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3345 * libio/Makefile (tests): Add test case tst-fwrite-error.
3346 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3347 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3348 * libio/tst-fwrite-error.c: New test case.
3350 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3352 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3353 before casting to void *.
3354 * include/libc-internal.h (__pointer_type): New macro.
3355 (__integer_if_pointer_type_sub): Likewise.
3356 (__integer_if_pointer_type): Likewise.
3357 (cast_to_integer): Likewise.
3358 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3359 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3360 before casting to atomic64_t.
3361 (atomic_exchange_acq): Likewise.
3362 (__arch_exchange_and_add_body): Likewise.
3363 (__arch_add_body): Likewise.
3364 (atomic_add_negative): Likewise.
3365 (atomic_add_zero): Likewise.
3367 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3369 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3370 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3371 (add_fdes): Likewise.
3372 (linear_search_fdes): Likewise.
3373 (binary_search_unencoded_fdes): Likewise.
3375 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3377 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3379 2012-11-24 Adam Conrad <adconrad@0c3.net>
3381 * configure.in: Autodetect C++ header directories.
3382 * configure: Regenerated.
3384 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3386 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3388 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3392 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3394 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3395 LDBL_MANT_DIG == 106]: Disable some tests.
3396 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3398 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3402 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3403 input for small inputs. Return +/- pi/2 for large inputs.
3404 * math/libm-test.inc (atan_test): Add more tests.
3406 * sysdeps/generic/unwind-dw2-fde-glibc.c
3407 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3408 __attribute__ ((unused)).
3411 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3412 x * y if x and y are nonzero and z is zero.
3415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3416 nonzero exponents with absolute value below 0x1p-117 to +/-
3420 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3421 up arguments below 2**-450, not just those below 2**-500.
3422 * math/libm-test.inc (hypot_test): Add another test.
3425 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3426 Return a+b for ratio over 2**120, not 2**60.
3427 * math/libm-test.inc (hypot_test): Add another test.
3429 * math/libm-test.inc (clog_test): Use
3430 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3431 (clog10_test): Likewise.
3434 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3436 2012-11-22 Andreas Schwab <schwab@suse.de>
3438 * sysdeps/i386/fpu/libm-test-ulps: Update.
3440 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3442 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3443 printf output with newline.
3445 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3448 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3449 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3450 -z nodlopen, -z initfirst and -z execstack support.
3451 * configure: Regenerated.
3453 * elf/elf.h (DF_1_NODIRECT): New macro.
3454 (DF_1_IGNMULDEF): Likewise.
3455 (DF_1_NOKSYMS): Likewise.
3456 (DF_1_NOHDR): Likewise.
3457 (DF_1_EDITED): Likewise.
3458 (DF_1_NORELOC): Likewise.
3459 (DF_1_SYMINTPOSE): Likewise.
3460 (DF_1_GLOBAUDIT): Likewise.
3461 (DF_1_SINGLETON): Likewise.
3462 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3463 DT_1_SUPPORTED_MASK bits.
3464 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3466 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3468 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3470 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3472 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3475 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3476 (sendmmsg): Move declarations...
3477 * socket/sys/socket.h: ... here.
3478 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3479 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3481 * socket/recvmmsg.c: ... this new file.
3482 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3483 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3484 definition of __sendmmsg hidden.
3485 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3486 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3487 Move ENOSYS stub into and include it from...
3488 * socket/sendmmsg.c: ... this new file.
3489 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3490 (sysdep_routines): Move recvmmsg and sendmmsg...
3491 * socket/Makefile (routines): ... here.
3492 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3493 (GLIBC_PRIVATE): Add __sendmmsg.
3494 * include/sys/socket.h (__sendmmsg): Add declarations.
3495 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3498 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3501 variable I1 with __attribute__ ((unused)).
3502 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3504 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3506 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3507 DUMMY variables with __attribute__ ((unused)).
3509 * bits/byteswap.h: Include <bits/types.h>.
3510 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3512 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3514 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3515 string_t. Do not manually set errno.
3516 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3517 length with __strnlen. Make sure to both set errno and return it on
3520 2012-11-19 David S. Miller <davem@davemloft.net>
3522 With help from Joseph Myers.
3523 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3524 very large arguments properly.
3525 * math/libm-test.inc (atan_test): New tests.
3526 (atan2_test): New tests.
3527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3530 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3533 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3536 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3537 [POSIX] (EADDRNOTAVAIL): Likewise.
3538 [POSIX] (EAFNOSUPPORT): Likewise.
3539 [POSIX] (EALREADY): Likewise.
3540 [POSIX] (ECONNABORTED): Likewise.
3541 [POSIX] (ECONNREFUSED): Likewise.
3542 [POSIX] (ECONNRESET): Likewise.
3543 [POSIX] (EDESTADDRREQ): Likewise.
3544 [POSIX] (EDQUOT): Likewise.
3545 [POSIX] (EHOSTUNREACH): Likewise.
3546 [POSIX] (EIDRM): Likewise.
3547 [POSIX] (EISCONN): Likewise.
3548 [POSIX] (ELOOP): Likewise.
3549 [POSIX] (EMULTIHOP): Likewise.
3550 [POSIX] (ENETDOWN): Likewise.
3551 [POSIX] (ENETUNREACH): Likewise.
3552 [POSIX] (ENOBUFS): Likewise.
3553 [POSIX] (ENODATA): Likewise.
3554 [POSIX] (ENOLINK): Likewise.
3555 [POSIX] (ENOMSG): Likewise.
3556 [POSIX] (ENOPROTOOPT): Likewise.
3557 [POSIX] (ENOSR): Likewise.
3558 [POSIX] (ENOSTR): Likewise.
3559 [POSIX] (ENOTCONN): Likewise.
3560 [POSIX] (ENOTSOCK): Likewise.
3561 [POSIX] (EOPNOTSUPP): Likewise.
3562 [POSIX] (EOVERFLOW): Likewise.
3563 [POSIX] (EPROTO): Likewise.
3564 [POSIX] (EPROTONOSUPPORT): Likewise.
3565 [POSIX] (EPROTOTYPE): Likewise.
3566 [POSIX] (ESTALE): Likewise.
3567 [POSIX] (ETIME): Likewise.
3568 [POSIX] (ETXTBSY): Likewise.
3569 [POSIX] (EWOULDBLOCK): Likewise.
3570 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3571 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3572 [POSIX] (SEEK_CUR): Likewise.
3573 [POSIX] (SEEK_END): Likewise.
3574 [POSIX || UNIX98] (mode_t): Do not require.
3575 [POSIX] (off_t): Likewise.
3576 [POSIX] (pid_t): Likewise.
3577 [POSIX] (sys/stat.h): Do not allow header.
3578 [POSIX] (unistd.h): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3580 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3582 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3584 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3585 sigevent): Specify elements.
3586 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3588 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3589 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3591 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3592 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3593 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3594 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3595 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3596 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3597 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3598 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3600 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3601 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3602 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3603 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3606 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3608 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3610 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3612 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3613 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3614 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3615 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3617 Specify lower bound on value.
3618 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3624 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3625 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3627 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3629 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3646 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3648 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3655 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3660 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3661 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3663 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3667 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3668 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3669 specify as optional.
3670 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3671 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3672 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3673 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3674 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3675 [XPG3] (NL_LANGMAX): Likewise.
3676 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3677 [POSIX || XPG3] (NL_NMAX): Likewise.
3678 [POSIX || XPG3] (NL_SETMAX): Likewise.
3679 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3680 [XPG3] (NZERO): Likewise.
3681 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3682 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3683 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3684 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3685 (REG_ERANGE): Expect.
3686 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3688 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3689 Use (void) in prototype.
3690 [POSIX] (*_t): Allow.
3691 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3692 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3693 (WRDE_BADVAL): Expect.
3695 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3697 [XPG3 || XPG4] (O_RSYNC): Likewise.
3698 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3700 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3701 [XPG3 || XPG4] (sigqueue): Likewise.
3702 [XPG3 || XPG4] (sigtimedwait): Likewise.
3703 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3704 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3705 [XPG3 || XPG4] (vsnprintf): Likewise.
3706 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3708 [XPG3 || XPG4] (blksize_t): Likewise.
3709 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3711 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3712 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3713 [XPG3 || XPG4] (struct itimerspec): Likewise.
3714 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3715 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3716 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3717 [XPG3 || XPG4] (clockid_t): Likewise.
3718 [XPG3 || XPG4] (timer_t): Likewise.
3719 [XPG3 || XPG4] (clock_getres): Likewise.
3720 [XPG3 || XPG4] (clock_gettime): Likewise.
3721 [XPG3 || XPG4] (clock_settime): Likewise.
3722 [XPG3 || XPG4] (nanosleep): Likewise.
3723 [XPG3 || XPG4] (timer_create): Likewise.
3724 [XPG3 || XPG4] (timer_delete): Likewise.
3725 [XPG3 || XPG4] (timer_gettime): Likewise.
3726 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3727 [XPG3 || XPG4] (timer_settime): Likewise.
3728 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3729 [XPG3 || XPG4] (getlogin_r): Likewise.
3730 [XPG3 || XPG4] (pread): Likewise.
3731 [XPG3 || XPG4] (pthread_atfork): Likewise.
3732 [XPG3 || XPG4] (pwrite): Likewise.
3735 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3738 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3740 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3741 finalizing MALLSTREAM.
3743 * sysdeps/mach/hurd/syncfs.c: New file.
3745 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3748 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3749 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3750 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3751 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3752 (_nss_dns_gethostbyname4_r): Likewise.
3753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3754 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3756 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3759 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3761 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3763 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3764 * elf/cache.c (print_entry): Print ",AArch64" for
3767 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3768 * elf/cache.c (print_entry): Print ",hard-float" for
3771 2012-11-18 David S. Miller <davem@davemloft.net>
3773 With help from Joseph Myers.
3774 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3776 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3778 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3779 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3781 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3782 * math/libm-test.inc (y0_test): New tests.
3783 (y1_test): New tests.
3784 * sysdeps/i386/fpu/libm-test-ulps: Update.
3785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3788 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3790 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3792 * configure: Regenerated.
3794 2012-11-17 David S. Miller <davem@davemloft.net>
3797 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3798 nonzero exponents with absolute value below 0x1p-128 to +/-
3801 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3803 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3805 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3807 * posix/getconf-speclist.c: New file.
3808 * posix/posix-envs.def: Likewise.
3809 * posix/confstr.c (START_ENV_GROUP): New macro.
3810 (END_ENV_GROUP): Likewise.
3811 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3812 (KNOWN_PRESENT_ENV_STRING): Likewise.
3813 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3814 (UNKNOWN_ENVIRONMENT): Likewise.
3815 (confstr): Include posix-envs.def instead of handling
3816 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3817 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3818 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3819 (END_ENV_GROUP): Likewise.
3820 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3821 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3822 (UNKNOWN_ENVIRONMENT): Likewise.
3823 (__sysconf): Include posix-envs.def instead of handling associated
3824 cases directly here.
3825 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3826 preprocessing getconf-speclist.c rather than running getconf or
3827 generating empty file.
3829 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3831 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3833 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3836 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3838 2012-11-16 David S. Miller <davem@davemloft.net>
3840 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3841 smaller than LDBL_EPSILON/2.0L, just return xm1.
3843 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3845 * elf/tst-array1.c (init): Set constructor priority to 1000.
3846 (fini): Set destructor priority to 1000.
3847 * elf/tst-array2dep.c: Likewise.
3849 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3852 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3853 (_IO_new_file_xsputn): Also return EOF if none of the input
3854 data was written when overflow failed.
3855 * libio/iopadn.c (_IO_padn): Likewise.
3856 * libio/iowpadn.c (_IO_wpadn): Likewise.
3857 * stdio-common/tst-put-error.c: Add copyright notice.
3858 (do_test): Add case for printing padded string.
3859 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3860 _IO_padn returned error.
3861 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3862 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3865 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3867 * libio/libioP.h: Add comment note that the references to C++
3868 bits are now obsolete.
3870 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3872 * math/libm-test.inc (check_complex): Use asprintf.
3874 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3876 * debug/pcprofiledump.c (print_version): Update copyright year.
3877 * malloc/memusagestat.c (print_version): Likewise.
3879 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3882 * elf/Makefile (tests): Add tst-audit8.
3883 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3884 ($(objpfx)tst-audit8.out): New target.
3885 (tst-audit8-ENV): New variable.
3886 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3887 audit if l_reloc_result is NULL.
3888 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3889 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3890 * elf/tst-audit8.c: New file.
3892 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3894 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3895 * misc/Makefile (CFLAGS-select.c): Define.
3896 * posix/Makefile (CFLAGS-pause.c): Define.
3898 2012-11-13 David S. Miller <davem@davemloft.net>
3900 * crypt/Makefile: Move test targets after toplevel Rules
3901 inclusion. Grab any necessary sysdep routines when linking.
3902 * crypt/md5.c (md5_process_block): Remove define, we will always
3903 name it __md5_process_block.
3904 (md5_finish_ctx): Update md5_process_block call.
3905 (md5_stream): Likewise.
3906 (md5_process_bytes): Likewise.
3907 (md5_process_block): Rename to __md5_process_block and move to ...
3908 * crypt/md5-block.c: ... here.
3909 * crypt/sha256.c (sha256_process_block): Move to ...
3910 * crypt/sha256-block.c: ... here.
3911 * crypt/sha512.c (sha512_process_block): Move to ...
3912 * crypt/sha512-block.c: ... here.
3913 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3915 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3916 * sysdeps/sparc/sparc64/multiarch/Makefile
3917 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3919 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3920 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3922 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3923 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3924 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3925 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3926 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3927 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3928 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3929 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3930 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3932 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3933 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3937 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3939 * timezone/tzselect.ksh: Update from tzcode git revision
3940 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3941 * timezone/zdump.c: Likewise.
3942 * timezone/zic.c: Likewise.
3943 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3944 in TZVERSION setting, not $(PKGVERSION).
3945 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3946 REPORT_BUGS_TO settings.
3949 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3952 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3954 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3955 detection to immediately after _FP_ROUND().
3956 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3959 2012-11-11 David S. Miller <davem@davemloft.net>
3961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3963 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3964 __close rather than their public counterparts.
3966 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3968 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3970 [UNIX98] (sem_timedwait): Do not expect.
3971 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3972 [XPG4 || UNIX98] (sockatmark): Do not expect.
3973 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3974 (clock_getcpuclockid): Do not expect.
3975 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3976 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3978 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3979 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3980 [UNIX98] (vwscanf): Likewise.
3981 [UNIX98] (vswscanf): Likewise.
3983 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3985 * timezone/version.h: Remove file.
3986 * timezone/README: Do not refer to version.h.
3987 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3989 ($(objpfx)zdump.o): Likewise.
3990 ($(objpfx)version.h): New target.
3992 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3994 * timezone/README: Don't mention modification to tzselect.ksh.
3995 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3996 work on unmodified tzselect.ksh. Substitute version numbers in
3999 * Makefile (format-me): Remove.
4000 (INSTALL): Adjust indentation. Use commands directly instead of
4003 * aclocal.m4 (ACX_PKGVERSION): New macro.
4004 (ACX_BUGURL): Likewise.
4005 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4006 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4007 (REPORT_BUGS_TO): Likewise.
4008 * configure: Regenerated.
4009 * config.h.in (PKGVERSION): New macro.
4010 (REPORT_BUGS_TO): Likewise.
4011 * config.make.in (PKGVERSION): New variable.
4012 (PKGVERSION_TEXI): Likewise.
4013 (REPORT_BUGS_TO): Likewise.
4014 (REPORT_BUGS_TEXI): Likewise.
4015 * Makefile (format-me): Use -I$(common-objpfx)manual.
4016 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4017 ($(common-objpfx)manual/%): New target.
4018 (manual/%): Remove target.
4019 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4020 (print_version): Use PKGVERSION.
4021 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4022 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4024 ($(objpfx)xtrace): Likewise.
4025 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4026 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4027 (print_version): Use PKGVERSION.
4028 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4029 (do_version): Use PKGVERSION.
4030 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4032 (common-ldd-rewrite): Likewise.
4033 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4034 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4035 (print_version): Use PKGVERSION.
4036 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4037 * elf/pldd.c (argp_program_bug_address): Remove variable.
4038 (more_help): New function.
4039 (argp): Use more_help.
4040 (print_version): Use PKGVERSION.
4041 * elf/sln.c (main): Use PKGVERSION.
4042 (usage): Use REPORT_BUGS_TO.
4043 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4044 (top level): Use PKGVERSION.
4045 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4046 (print_version): Use PKGVERSION.
4047 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4048 (print_version): Use PKGVERSION.
4049 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4050 (print_version): Use PKGVERSION.
4051 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4052 (print_version): Use PKGVERSION.
4053 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4054 (print_version): Use PKGVERSION.
4055 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4056 (print_version): Use PKGVERSION.
4057 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4059 ($(objpfx)memusage): Likewise.
4060 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4061 (do_version): Use PKGVERSION.
4062 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4063 (print_version): Use PKGVERSION.
4064 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4065 ($PKGVERSION): New variable.
4066 ($REPORT_BUGS_TO): Likewise.
4067 (usage): Use $REPORT_BUGS_TO.
4068 (top level): Use $PKGVERSION.
4069 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4070 ($(objpfx)pkgvers.texi): New rule.
4071 ($(objpfx)stamp-pkgvers): Likewise.
4072 * manual/install.texi: Include pkgvers.texi.
4073 (--with-pkgversion): Document new configure option.
4074 (--with-bugurl): Likewise.
4075 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4076 than necessarily for this particular distribution. Use
4077 REPORT_BUGS_TO for where to report bugs.
4078 * INSTALL: Regenerated.
4079 * manual/libc.texinfo: Include pkgvers.texi.
4080 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4081 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4082 (print_version): Use PKGVERSION.
4083 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4084 (print_version): Use PKGVERSION.
4085 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4086 (print_version): Use PKGVERSION.
4087 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4088 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4090 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4091 (print_version): Use PKGVERSION.
4092 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4093 (print_version): Use PKGVERSION.
4094 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4097 * timezone/checktab.awk: Update from tzcode 2012i.
4098 * timezone/ialloc.c: Likewise.
4099 * timezone/private.h: Likewise.
4100 * timezone/scheck.c: Likewise.
4101 * timezone/tzfile.h: Likewise.
4102 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4103 (TZVERSION): Hardcode tzcode version number.
4104 * timezone/zdump.c: Update from tzcode 2012i.
4105 * timezone/zic.c: Likewise.
4106 * timezone/version.h: New file.
4107 * timezone/README: Describe version.h. Update upstream location.
4110 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4111 (mktemp): Enable declaration.
4112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4129 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4130 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4131 for copies of such integer values.
4132 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4133 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4135 2012-11-09 Andreas Jaeger <aj@suse.de>
4137 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4138 definitions and declarations that are provided by
4139 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4141 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4143 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4144 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4145 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4148 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4150 * elf/elf.h: Update comment before AArch64 relocations.
4152 2012-11-07 David S. Miller <davem@davemloft.net>
4154 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4155 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4156 (__start_context): Declare.
4157 (__makecontext_ret): Delete.
4158 (__makecontext): Hook up __start_context instead of
4160 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4161 (sysdep_routines): Add __start_context when in stdlib.
4163 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4165 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4166 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4167 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4169 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4170 (READELF): New variable. Use it instead of hardcoded "readelf".
4172 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4174 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4175 * sysdeps/x86/Makefile: Here.
4176 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4177 * sysdeps/x86/tst-xmmymm.sh: This.
4179 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4181 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4183 [UNIX98] (pthread_barrier_t): Do not expect.
4184 [UNIX98] (pthread_barrierattr_t): Likewise.
4185 [UNIX98] (pthread_spinlock_t): Likewise.
4186 [UNIX98] (pthread_barrier_destroy): Likewise.
4187 [UNIX98] (pthread_barrier_init): Likewise.
4188 [UNIX98] (pthread_barrier_wait): Likewise.
4189 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4190 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4191 [UNIX98] (pthread_barrierattr_init): Likewise.
4192 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4193 [UNIX98] (pthread_getcpuclockid): Likewise.
4194 [UNIX98] (pthread_mutex_timedlock): Likewise.
4195 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4196 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4197 [UNIX98] (pthread_sigmask): Likewise.
4198 [UNIX98] (pthread_spin_destroy): Likewise.
4199 [UNIX98] (pthread_spin_init): Likewise.
4200 [UNIX98] (pthread_spin_lock): Likewise.
4201 [UNIX98] (pthread_spin_trylock): Likewise.
4202 [UNIX98] (pthread_spin_unlock): Likewise.
4203 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4205 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4207 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4208 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4209 [XPG3 || XPG4] (pthread_key_t): Likewise.
4210 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4211 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4212 [XPG3 || XPG4] (pthread_once_t): Likewise.
4213 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4214 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4216 [XPG3 || XPG4] (pthread_t): Likewise.
4218 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4220 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4222 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4223 Change function return type to int.
4225 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4226 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4227 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4228 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4229 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4230 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4231 [!POSIX] (posix_madvise): Likewise.
4232 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4234 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4235 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4237 (posix_mem_offset): Likewise.
4238 (posix_typed_mem_get_info): Likewise.
4239 (posix_typed_mem_open): Likewise.
4241 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4242 Change condition to [XOPEN2K8].
4244 * conform/conformtest.pl: Preprocess allow-header data with -x c
4245 instead of from stdin.
4246 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4247 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4248 [C99-based standards] (cerfc): Likewise.
4249 [C99-based standards] (cexp2): Likewise.
4250 [C99-based standards] (cexpm1): Likewise.
4251 [C99-based standards] (clog10): Likewise.
4252 [C99-based standards] (clog1p): Likewise.
4253 [C99-based standards] (clog2): Likewise.
4254 [C99-based standards] (clgamma): Likewise.
4255 [C99-based standards] (ctgamma): Likewise.
4256 [C99-based standards] (cerff): Likewise.
4257 [C99-based standards] (cerfcf): Likewise.
4258 [C99-based standards] (cexp2f): Likewise.
4259 [C99-based standards] (cexpm1f): Likewise.
4260 [C99-based standards] (clog10f): Likewise.
4261 [C99-based standards] (clog1pf): Likewise.
4262 [C99-based standards] (clog2f): Likewise.
4263 [C99-based standards] (clgammaf): Likewise.
4264 [C99-based standards] (ctgammaf): Likewise.
4265 [C99-based standards] (cerfl): Likewise.
4266 [C99-based standards] (cerfcl): Likewise.
4267 [C99-based standards] (cexp2l): Likewise.
4268 [C99-based standards] (cexpm1l): Likewise.
4269 [C99-based standards] (clog10l): Likewise.
4270 [C99-based standards] (clog1pl): Likewise.
4271 [C99-based standards] (clog2l): Likewise.
4272 [C99-based standards] (clgammal): Likewise.
4273 [C99-based standards] (ctgammal): Likewise.
4274 * conform/data/inttypes.h-data [C99-based standards]: Include
4275 stdint.h-data. Remove all expectations for stdint.h contents.
4276 [C99-based standards] (PRI*): Do not allow.
4277 [C99-based standards] (SCN*): Likewise.
4278 [C99-based standards] (*_t): Likewise.
4279 [C99-based-standards] (PRId8): Expect macro.
4280 [C99-based-standards] (PRIi8): Likewise.
4281 [C99-based-standards] (PRIo8): Likewise.
4282 [C99-based-standards] (PRIu8): Likewise.
4283 [C99-based-standards] (PRIx8): Likewise.
4284 [C99-based-standards] (PRIX8): Likewise.
4285 [C99-based-standards] (SCNd8): Likewise.
4286 [C99-based-standards] (SCNi8): Likewise.
4287 [C99-based-standards] (SCNo8): Likewise.
4288 [C99-based-standards] (SCNu8): Likewise.
4289 [C99-based-standards] (SCNx8): Likewise.
4290 [C99-based-standards] (PRIdLEAST8): Likewise.
4291 [C99-based-standards] (PRIiLEAST8): Likewise.
4292 [C99-based-standards] (PRIoLEAST8): Likewise.
4293 [C99-based-standards] (PRIuLEAST8): Likewise.
4294 [C99-based-standards] (PRIxLEAST8): Likewise.
4295 [C99-based-standards] (PRIXLEAST8): Likewise.
4296 [C99-based-standards] (SCNdLEAST8): Likewise.
4297 [C99-based-standards] (SCNiLEAST8): Likewise.
4298 [C99-based-standards] (SCNoLEAST8): Likewise.
4299 [C99-based-standards] (SCNuLEAST8): Likewise.
4300 [C99-based-standards] (SCNxLEAST8): Likewise.
4301 [C99-based-standards] (PRIdFAST8): Likewise.
4302 [C99-based-standards] (PRIiFAST8): Likewise.
4303 [C99-based-standards] (PRIoFAST8): Likewise.
4304 [C99-based-standards] (PRIuFAST8): Likewise.
4305 [C99-based-standards] (PRIxFAST8): Likewise.
4306 [C99-based-standards] (PRIXFAST8): Likewise.
4307 [C99-based-standards] (SCNdFAST8): Likewise.
4308 [C99-based-standards] (SCNiFAST8): Likewise.
4309 [C99-based-standards] (SCNoFAST8): Likewise.
4310 [C99-based-standards] (SCNuFAST8): Likewise.
4311 [C99-based-standards] (SCNxFAST8): Likewise.
4312 [C99-based-standards] (PRId16): Likewise.
4313 [C99-based-standards] (PRIi16): Likewise.
4314 [C99-based-standards] (PRIo16): Likewise.
4315 [C99-based-standards] (PRIu16): Likewise.
4316 [C99-based-standards] (PRIx16): Likewise.
4317 [C99-based-standards] (PRIX16): Likewise.
4318 [C99-based-standards] (SCNd16): Likewise.
4319 [C99-based-standards] (SCNi16): Likewise.
4320 [C99-based-standards] (SCNo16): Likewise.
4321 [C99-based-standards] (SCNu16): Likewise.
4322 [C99-based-standards] (SCNx16): Likewise.
4323 [C99-based-standards] (PRIdLEAST16): Likewise.
4324 [C99-based-standards] (PRIiLEAST16): Likewise.
4325 [C99-based-standards] (PRIoLEAST16): Likewise.
4326 [C99-based-standards] (PRIuLEAST16): Likewise.
4327 [C99-based-standards] (PRIxLEAST16): Likewise.
4328 [C99-based-standards] (PRIXLEAST16): Likewise.
4329 [C99-based-standards] (SCNdLEAST16): Likewise.
4330 [C99-based-standards] (SCNiLEAST16): Likewise.
4331 [C99-based-standards] (SCNoLEAST16): Likewise.
4332 [C99-based-standards] (SCNuLEAST16): Likewise.
4333 [C99-based-standards] (SCNxLEAST16): Likewise.
4334 [C99-based-standards] (PRIdFAST16): Likewise.
4335 [C99-based-standards] (PRIiFAST16): Likewise.
4336 [C99-based-standards] (PRIoFAST16): Likewise.
4337 [C99-based-standards] (PRIuFAST16): Likewise.
4338 [C99-based-standards] (PRIxFAST16): Likewise.
4339 [C99-based-standards] (PRIXFAST16): Likewise.
4340 [C99-based-standards] (SCNdFAST16): Likewise.
4341 [C99-based-standards] (SCNiFAST16): Likewise.
4342 [C99-based-standards] (SCNoFAST16): Likewise.
4343 [C99-based-standards] (SCNuFAST16): Likewise.
4344 [C99-based-standards] (SCNxFAST16): Likewise.
4345 [C99-based-standards] (PRId32): Likewise.
4346 [C99-based-standards] (PRIi32): Likewise.
4347 [C99-based-standards] (PRIo32): Likewise.
4348 [C99-based-standards] (PRIu32): Likewise.
4349 [C99-based-standards] (PRIx32): Likewise.
4350 [C99-based-standards] (PRIX32): Likewise.
4351 [C99-based-standards] (SCNd32): Likewise.
4352 [C99-based-standards] (SCNi32): Likewise.
4353 [C99-based-standards] (SCNo32): Likewise.
4354 [C99-based-standards] (SCNu32): Likewise.
4355 [C99-based-standards] (SCNx32): Likewise.
4356 [C99-based-standards] (PRIdLEAST32): Likewise.
4357 [C99-based-standards] (PRIiLEAST32): Likewise.
4358 [C99-based-standards] (PRIoLEAST32): Likewise.
4359 [C99-based-standards] (PRIuLEAST32): Likewise.
4360 [C99-based-standards] (PRIxLEAST32): Likewise.
4361 [C99-based-standards] (PRIXLEAST32): Likewise.
4362 [C99-based-standards] (SCNdLEAST32): Likewise.
4363 [C99-based-standards] (SCNiLEAST32): Likewise.
4364 [C99-based-standards] (SCNoLEAST32): Likewise.
4365 [C99-based-standards] (SCNuLEAST32): Likewise.
4366 [C99-based-standards] (SCNxLEAST32): Likewise.
4367 [C99-based-standards] (PRIdFAST32): Likewise.
4368 [C99-based-standards] (PRIiFAST32): Likewise.
4369 [C99-based-standards] (PRIoFAST32): Likewise.
4370 [C99-based-standards] (PRIuFAST32): Likewise.
4371 [C99-based-standards] (PRIxFAST32): Likewise.
4372 [C99-based-standards] (PRIXFAST32): Likewise.
4373 [C99-based-standards] (SCNdFAST32): Likewise.
4374 [C99-based-standards] (SCNiFAST32): Likewise.
4375 [C99-based-standards] (SCNoFAST32): Likewise.
4376 [C99-based-standards] (SCNuFAST32): Likewise.
4377 [C99-based-standards] (SCNxFAST32): Likewise.
4378 [C99-based-standards] (PRId64): Likewise.
4379 [C99-based-standards] (PRIi64): Likewise.
4380 [C99-based-standards] (PRIo64): Likewise.
4381 [C99-based-standards] (PRIu64): Likewise.
4382 [C99-based-standards] (PRIx64): Likewise.
4383 [C99-based-standards] (PRIX64): Likewise.
4384 [C99-based-standards] (SCNd64): Likewise.
4385 [C99-based-standards] (SCNi64): Likewise.
4386 [C99-based-standards] (SCNo64): Likewise.
4387 [C99-based-standards] (SCNu64): Likewise.
4388 [C99-based-standards] (SCNx64): Likewise.
4389 [C99-based-standards] (PRIdLEAST64): Likewise.
4390 [C99-based-standards] (PRIiLEAST64): Likewise.
4391 [C99-based-standards] (PRIoLEAST64): Likewise.
4392 [C99-based-standards] (PRIuLEAST64): Likewise.
4393 [C99-based-standards] (PRIxLEAST64): Likewise.
4394 [C99-based-standards] (PRIXLEAST64): Likewise.
4395 [C99-based-standards] (SCNdLEAST64): Likewise.
4396 [C99-based-standards] (SCNiLEAST64): Likewise.
4397 [C99-based-standards] (SCNoLEAST64): Likewise.
4398 [C99-based-standards] (SCNuLEAST64): Likewise.
4399 [C99-based-standards] (SCNxLEAST64): Likewise.
4400 [C99-based-standards] (PRIdFAST64): Likewise.
4401 [C99-based-standards] (PRIiFAST64): Likewise.
4402 [C99-based-standards] (PRIoFAST64): Likewise.
4403 [C99-based-standards] (PRIuFAST64): Likewise.
4404 [C99-based-standards] (PRIxFAST64): Likewise.
4405 [C99-based-standards] (PRIXFAST64): Likewise.
4406 [C99-based-standards] (SCNdFAST64): Likewise.
4407 [C99-based-standards] (SCNiFAST64): Likewise.
4408 [C99-based-standards] (SCNoFAST64): Likewise.
4409 [C99-based-standards] (SCNuFAST64): Likewise.
4410 [C99-based-standards] (SCNxFAST64): Likewise.
4411 [C99-based-standards] (PRIdMAX): Likewise.
4412 [C99-based-standards] (PRIiMAX): Likewise.
4413 [C99-based-standards] (PRIoMAX): Likewise.
4414 [C99-based-standards] (PRIuMAX): Likewise.
4415 [C99-based-standards] (PRIxMAX): Likewise.
4416 [C99-based-standards] (PRIXMAX): Likewise.
4417 [C99-based-standards] (SCNdMAX): Likewise.
4418 [C99-based-standards] (SCNiMAX): Likewise.
4419 [C99-based-standards] (SCNoMAX): Likewise.
4420 [C99-based-standards] (SCNuMAX): Likewise.
4421 [C99-based-standards] (SCNxMAX): Likewise.
4422 [C99-based-standards] (PRIdPTR): Likewise.
4423 [C99-based-standards] (PRIiPTR): Likewise.
4424 [C99-based-standards] (PRIoPTR): Likewise.
4425 [C99-based-standards] (PRIuPTR): Likewise.
4426 [C99-based-standards] (PRIxPTR): Likewise.
4427 [C99-based-standards] (PRIXPTR): Likewise.
4428 [C99-based-standards] (SCNdPTR): Likewise.
4429 [C99-based-standards] (SCNiPTR): Likewise.
4430 [C99-based-standards] (SCNoPTR): Likewise.
4431 [C99-based-standards] (SCNuPTR): Likewise.
4432 [C99-based-standards] (SCNxPTR): Likewise.
4433 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4435 * conform/data/stdint.h-data: Update comments to clarify
4437 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4439 [C99-based standards] (INT8_MAX): Likewise.
4440 [C99-based standards] (INT16_MIN): Likewise.
4441 [C99-based standards] (INT16_MAX): Likewise.
4442 [C99-based standards] (INT32_MIN): Likewise.
4443 [C99-based standards] (INT32_MAX): Likewise.
4444 [C99-based standards] (INT64_MIN): Likewise.
4445 [C99-based standards] (INT64_MAX): Likewise.
4446 [C99-based standards] (UINT8_MAX): Likewise.
4447 [C99-based standards] (UINT16_MAX): Likewise.
4448 [C99-based standards] (UINT32_MAX): Likewise.
4449 [C99-based standards] (UINT64_MAX): Likewise.
4450 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4451 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4452 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4453 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4454 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4455 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4456 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4457 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4458 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4459 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4460 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4461 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4462 [C99-based standards] (INT_FAST8_MIN): Likewise.
4463 [C99-based standards] (INT_FAST8_MAX): Likewise.
4464 [C99-based standards] (INT_FAST16_MIN): Likewise.
4465 [C99-based standards] (INT_FAST16_MAX): Likewise.
4466 [C99-based standards] (INT_FAST32_MIN): Likewise.
4467 [C99-based standards] (INT_FAST32_MAX): Likewise.
4468 [C99-based standards] (INT_FAST64_MIN): Likewise.
4469 [C99-based standards] (INT_FAST64_MAX): Likewise.
4470 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4471 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4472 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4473 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4474 [C99-based standards] (INTPTR_MIN): Likewise.
4475 [C99-based standards] (INTPTR_MAX): Likewise.
4476 [C99-based standards] (UINTPTR_MAX): Likewise.
4477 [C99-based standards] (INTMAX_MIN): Likewise.
4478 [C99-based standards] (INTMAX_MAX): Likewise.
4479 [C99-based standards] (UINTMAX_MAX): Likewise.
4480 [C99-based standards] (PTRDIFF_MIN): Likewise.
4481 [C99-based standards] (PTRDIFF_MAX): Likewise.
4482 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4483 [C99-based standards] (SIZE_MAX): Likewise.
4484 [C99-based standards] (WCHAR_MAX): Likewise.
4485 [C99-based standards] (WINT_MAX): Likewise.
4486 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4487 constraint on value.
4488 [C99-based standards] (WCHAR_MIN): Likewise.
4489 [C99-based standards] (WINT_MIN): Likewise.
4490 [C99-based standards] (*_t): Allow.
4491 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4492 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4493 Include math.h-data and complex.h-data. Remove all expectations
4494 of math.h and complex.h contents.
4495 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4497 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4498 (struct tm): Expect tag.
4499 [C99-based-standards] (wcstof): Expect function.
4500 [C99-based-standards] (wcstold): Likewise.
4501 [C99-based-standards] (wcstoll): Likewise.
4502 [C99-based-standards] (wcstoull): Likewise.
4503 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4504 macro-int-constant. Specify type.
4505 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4506 constraint on value.
4507 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4509 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4511 [ISO C standards]: Do not allow headers.
4512 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4513 wcs[abcdefghijklmnopqrstuvwxyz]*.
4514 [ISO C standards] (*_t): Do not allow.
4515 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4517 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4518 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4520 [ISO C standards]: Do not allow headers.
4521 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4522 is[abcdefghijklmnopqrstuvwxyz]*.
4523 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4524 to[abcdefghijklmnopqrstuvwxyz]*.
4525 [ISO C standards] (*_t): Do not allow.
4526 * conform/data/stdalign.h-data: New file.
4527 * conform/data/stdbool.h-data: Likewise.
4528 * conform/data/stdnoreturn.h-data: Likewise.
4530 2012-11-07 Roland McGrath <roland@hack.frob.com>
4533 * manual/filesys.texi (Directory Entries): Typo fix.
4534 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4536 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4538 * elf/elf.h (EM_AARCH64): New macro.
4539 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4540 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4541 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4542 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4543 (R_AARCH64_TLSDESC): Likewise.
4544 (NT_ARM_TLS): Likewise.
4545 (NT_ARM_HW_BREAK): Likewise.
4546 (NT_ARM_HW_WATCH): Likewise.
4548 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4551 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4552 (__ieee754_powl): Saturate nonzero exponents with absolute value
4553 below 0x1p-79 to +/- 0x1p-79.
4554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4555 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4556 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4557 nonzero exponents with absolute value below 0x1p-32 to +/-
4559 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4560 (__ieee754_powl): Saturate nonzero exponents with absolute value
4561 below 0x1p-79 to +/- 0x1p-79.
4562 * math/libm-test.inc (pow_test): Add more tests.
4564 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4566 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4567 _dl_s390_cap_flags with kernel. Increase string length.
4568 (_dl_s390_platforms): Add z196 and zEC12.
4570 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4572 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4573 Change XOPEN21K to XOPEN2K.
4575 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4577 * string/memmove.c: Use memcpy when possible.
4579 2012-11-06 Andreas Jaeger <aj@suse.de>
4581 * po/eo.po: Update from translation team.
4583 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4587 exponent and small x and y exponents, scale x or y up. Increase
4588 by 2 the exponent used in scaling up.
4589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4591 * math/libm-test.inc (fma_test): Add more tests.
4592 (fma_test_towardzero): Likewise.
4593 (fma_test_downward): Likewise.
4594 (fma_test_upward): Likewise.
4596 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4599 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4603 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4604 namespace for names of struct fields.
4605 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4607 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4608 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4610 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4613 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4615 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4617 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4621 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4624 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4628 definitely overflow as x * y not x * y + z.
4629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4631 * math/libm-test.inc (fma_test): Add more tests.
4632 (fma_test_towardzero): Likewise.
4633 (fma_test_downward): Likewise.
4634 (fma_test_upward): Likewise.
4636 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4640 * include/stub-tag.h: Remove file.
4641 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4643 * manual/maint.texi (Porting): Don't reference it.
4644 * Makerules ($(objpfx)stubs): Likewise.
4645 * dirent/closedir.c: Don't include <stub-tag.h>.
4646 * dirent/dirfd.c: Likewise.
4647 * dirent/fdopendir.c: Likewise.
4648 * dirent/getdents.c: Likewise.
4649 * dirent/getdents64.c: Likewise.
4650 * dirent/opendir.c: Likewise.
4651 * dirent/readdir.c: Likewise.
4652 * dirent/readdir64.c: Likewise.
4653 * dirent/readdir64_r.c: Likewise.
4654 * dirent/readdir_r.c: Likewise.
4655 * dirent/rewinddir.c: Likewise.
4656 * dirent/seekdir.c: Likewise.
4657 * dirent/telldir.c: Likewise.
4658 * gmon/profil.c: Likewise.
4659 * grp/setgroups.c: Likewise.
4660 * inet/if_index.c: Likewise.
4661 * io/access.c: Likewise.
4662 * io/chdir.c: Likewise.
4663 * io/chmod.c: Likewise.
4664 * io/chown.c: Likewise.
4665 * io/close.c: Likewise.
4666 * io/dup.c: Likewise.
4667 * io/dup2.c: Likewise.
4668 * io/dup3.c: Likewise.
4669 * io/euidaccess.c: Likewise.
4670 * io/faccessat.c: Likewise.
4671 * io/fchdir.c: Likewise.
4672 * io/fchmod.c: Likewise.
4673 * io/fchmodat.c: Likewise.
4674 * io/fchown.c: Likewise.
4675 * io/fchownat.c: Likewise.
4676 * io/fcntl.c: Likewise.
4677 * io/flock.c: Likewise.
4678 * io/fstatfs.c: Likewise.
4679 * io/fstatfs64.c: Likewise.
4680 * io/fstatvfs.c: Likewise.
4681 * io/fstatvfs64.c: Likewise.
4682 * io/futimens.c: Likewise.
4683 * io/fxstat.c: Likewise.
4684 * io/fxstat64.c: Likewise.
4685 * io/fxstatat.c: Likewise.
4686 * io/fxstatat64.c: Likewise.
4687 * io/getcwd.c: Likewise.
4688 * io/isatty.c: Likewise.
4689 * io/lchmod.c: Likewise.
4690 * io/lchown.c: Likewise.
4691 * io/link.c: Likewise.
4692 * io/linkat.c: Likewise.
4693 * io/lseek.c: Likewise.
4694 * io/lseek64.c: Likewise.
4695 * io/lxstat64.c: Likewise.
4696 * io/mkdir.c: Likewise.
4697 * io/mkdirat.c: Likewise.
4698 * io/mkfifo.c: Likewise.
4699 * io/mkfifoat.c: Likewise.
4700 * io/open.c: Likewise.
4701 * io/open64.c: Likewise.
4702 * io/openat.c: Likewise.
4703 * io/openat64.c: Likewise.
4704 * io/pipe.c: Likewise.
4705 * io/pipe2.c: Likewise.
4706 * io/poll.c: Likewise.
4707 * io/posix_fadvise.c: Likewise.
4708 * io/posix_fadvise64.c: Likewise.
4709 * io/posix_fallocate.c: Likewise.
4710 * io/posix_fallocate64.c: Likewise.
4711 * io/read.c: Likewise.
4712 * io/readlink.c: Likewise.
4713 * io/readlinkat.c: Likewise.
4714 * io/rmdir.c: Likewise.
4715 * io/sendfile.c: Likewise.
4716 * io/sendfile64.c: Likewise.
4717 * io/statfs.c: Likewise.
4718 * io/statfs64.c: Likewise.
4719 * io/statvfs.c: Likewise.
4720 * io/statvfs64.c: Likewise.
4721 * io/symlink.c: Likewise.
4722 * io/symlinkat.c: Likewise.
4723 * io/ttyname.c: Likewise.
4724 * io/ttyname_r.c: Likewise.
4725 * io/umask.c: Likewise.
4726 * io/unlink.c: Likewise.
4727 * io/unlinkat.c: Likewise.
4728 * io/utime.c: Likewise.
4729 * io/utimensat.c: Likewise.
4730 * io/write.c: Likewise.
4731 * io/xmknod.c: Likewise.
4732 * io/xmknodat.c: Likewise.
4733 * io/xstat.c: Likewise.
4734 * io/xstat64.c: Likewise.
4735 * login/getpt.c: Likewise.
4736 * login/grantpt.c: Likewise.
4737 * login/unlockpt.c: Likewise.
4738 * math/e_acoshl.c: Likewise.
4739 * math/e_acosl.c: Likewise.
4740 * math/e_asinl.c: Likewise.
4741 * math/e_atan2l.c: Likewise.
4742 * math/e_atanhl.c: Likewise.
4743 * math/e_coshl.c: Likewise.
4744 * math/e_expl.c: Likewise.
4745 * math/e_fmodl.c: Likewise.
4746 * math/e_gammal_r.c: Likewise.
4747 * math/e_hypotl.c: Likewise.
4748 * math/e_j0l.c: Likewise.
4749 * math/e_j1l.c: Likewise.
4750 * math/e_jnl.c: Likewise.
4751 * math/e_lgammal_r.c: Likewise.
4752 * math/e_log10l.c: Likewise.
4753 * math/e_log2l.c: Likewise.
4754 * math/e_logl.c: Likewise.
4755 * math/e_powl.c: Likewise.
4756 * math/e_rem_pio2l.c: Likewise.
4757 * math/e_sinhl.c: Likewise.
4758 * math/e_sqrtl.c: Likewise.
4759 * math/fclrexcpt.c: Likewise.
4760 * math/fedisblxcpt.c: Likewise.
4761 * math/feenablxcpt.c: Likewise.
4762 * math/fegetenv.c: Likewise.
4763 * math/fegetexcept.c: Likewise.
4764 * math/fegetround.c: Likewise.
4765 * math/feholdexcpt.c: Likewise.
4766 * math/fesetenv.c: Likewise.
4767 * math/fesetround.c: Likewise.
4768 * math/feupdateenv.c: Likewise.
4769 * math/fgetexcptflg.c: Likewise.
4770 * math/fraiseexcpt.c: Likewise.
4771 * math/fsetexcptflg.c: Likewise.
4772 * math/ftestexcept.c: Likewise.
4773 * math/k_cosl.c: Likewise.
4774 * math/k_rem_pio2l.c: Likewise.
4775 * math/k_sinl.c: Likewise.
4776 * math/k_tanl.c: Likewise.
4777 * math/s_asinhl.c: Likewise.
4778 * math/s_atanl.c: Likewise.
4779 * math/s_cbrtl.c: Likewise.
4780 * math/s_erfl.c: Likewise.
4781 * math/s_expm1l.c: Likewise.
4782 * math/s_log1pl.c: Likewise.
4783 * math/s_tanhl.c: Likewise.
4784 * misc/acct.c: Likewise.
4785 * misc/brk.c: Likewise.
4786 * misc/chflags.c: Likewise.
4787 * misc/chroot.c: Likewise.
4788 * misc/fchflags.c: Likewise.
4789 * misc/fgetxattr.c: Likewise.
4790 * misc/flistxattr.c: Likewise.
4791 * misc/fremovexattr.c: Likewise.
4792 * misc/fsetxattr.c: Likewise.
4793 * misc/fsync.c: Likewise.
4794 * misc/ftruncate.c: Likewise.
4795 * misc/futimes.c: Likewise.
4796 * misc/futimesat.c: Likewise.
4797 * misc/getdomain.c: Likewise.
4798 * misc/getdtsz.c: Likewise.
4799 * misc/gethostid.c: Likewise.
4800 * misc/gethostname.c: Likewise.
4801 * misc/getloadavg.c: Likewise.
4802 * misc/getpagesize.c: Likewise.
4803 * misc/getsysstats.c: Likewise.
4804 * misc/getxattr.c: Likewise.
4805 * misc/gtty.c: Likewise.
4806 * misc/ioctl.c: Likewise.
4807 * misc/lgetxattr.c: Likewise.
4808 * misc/listxattr.c: Likewise.
4809 * misc/llistxattr.c: Likewise.
4810 * misc/lremovexattr.c: Likewise.
4811 * misc/lsetxattr.c: Likewise.
4812 * misc/lutimes.c: Likewise.
4813 * misc/madvise.c: Likewise.
4814 * misc/mincore.c: Likewise.
4815 * misc/mlock.c: Likewise.
4816 * misc/mlockall.c: Likewise.
4817 * misc/mmap.c: Likewise.
4818 * misc/mprotect.c: Likewise.
4819 * misc/msync.c: Likewise.
4820 * misc/munlock.c: Likewise.
4821 * misc/munlockall.c: Likewise.
4822 * misc/munmap.c: Likewise.
4823 * misc/preadv.c: Likewise.
4824 * misc/preadv64.c: Likewise.
4825 * misc/ptrace.c: Likewise.
4826 * misc/pwritev.c: Likewise.
4827 * misc/pwritev64.c: Likewise.
4828 * misc/readv.c: Likewise.
4829 * misc/reboot.c: Likewise.
4830 * misc/remap_file_pages.c: Likewise.
4831 * misc/removexattr.c: Likewise.
4832 * misc/revoke.c: Likewise.
4833 * misc/select.c: Likewise.
4834 * misc/setdomain.c: Likewise.
4835 * misc/setegid.c: Likewise.
4836 * misc/seteuid.c: Likewise.
4837 * misc/sethostid.c: Likewise.
4838 * misc/sethostname.c: Likewise.
4839 * misc/setregid.c: Likewise.
4840 * misc/setreuid.c: Likewise.
4841 * misc/setxattr.c: Likewise.
4842 * misc/sstk.c: Likewise.
4843 * misc/stty.c: Likewise.
4844 * misc/swapoff.c: Likewise.
4845 * misc/swapon.c: Likewise.
4846 * misc/sync.c: Likewise.
4847 * misc/syncfs.c: Likewise.
4848 * misc/syscall.c: Likewise.
4849 * misc/truncate.c: Likewise.
4850 * misc/ualarm.c: Likewise.
4851 * misc/usleep.c: Likewise.
4852 * misc/ustat.c: Likewise.
4853 * misc/utimes.c: Likewise.
4854 * misc/vhangup.c: Likewise.
4855 * misc/writev.c: Likewise.
4856 * posix/_exit.c: Likewise.
4857 * posix/alarm.c: Likewise.
4858 * posix/execve.c: Likewise.
4859 * posix/fexecve.c: Likewise.
4860 * posix/fork.c: Likewise.
4861 * posix/fpathconf.c: Likewise.
4862 * posix/getaddrinfo.c: Likewise.
4863 * posix/getegid.c: Likewise.
4864 * posix/geteuid.c: Likewise.
4865 * posix/getgid.c: Likewise.
4866 * posix/getgroups.c: Likewise.
4867 * posix/getlogin.c: Likewise.
4868 * posix/getlogin_r.c: Likewise.
4869 * posix/getpgid.c: Likewise.
4870 * posix/getpid.c: Likewise.
4871 * posix/getppid.c: Likewise.
4872 * posix/getresgid.c: Likewise.
4873 * posix/getresuid.c: Likewise.
4874 * posix/getsid.c: Likewise.
4875 * posix/getuid.c: Likewise.
4876 * posix/glob64.c: Likewise.
4877 * posix/nanosleep.c: Likewise.
4878 * posix/pathconf.c: Likewise.
4879 * posix/pause.c: Likewise.
4880 * posix/posix_madvise.c: Likewise.
4881 * posix/pread.c: Likewise.
4882 * posix/pread64.c: Likewise.
4883 * posix/pwrite.c: Likewise.
4884 * posix/pwrite64.c: Likewise.
4885 * posix/sched_getaffinity.c: Likewise.
4886 * posix/sched_getp.c: Likewise.
4887 * posix/sched_gets.c: Likewise.
4888 * posix/sched_primax.c: Likewise.
4889 * posix/sched_primin.c: Likewise.
4890 * posix/sched_rr_gi.c: Likewise.
4891 * posix/sched_setaffinity.c: Likewise.
4892 * posix/sched_setp.c: Likewise.
4893 * posix/sched_sets.c: Likewise.
4894 * posix/sched_yield.c: Likewise.
4895 * posix/setgid.c: Likewise.
4896 * posix/setlogin.c: Likewise.
4897 * posix/setpgid.c: Likewise.
4898 * posix/setresgid.c: Likewise.
4899 * posix/setresuid.c: Likewise.
4900 * posix/setsid.c: Likewise.
4901 * posix/setuid.c: Likewise.
4902 * posix/sleep.c: Likewise.
4903 * posix/spawni.c: Likewise.
4904 * posix/sysconf.c: Likewise.
4905 * posix/times.c: Likewise.
4906 * posix/wait.c: Likewise.
4907 * posix/wait3.c: Likewise.
4908 * posix/wait4.c: Likewise.
4909 * posix/waitpid.c: Likewise.
4910 * resolv/gai_sigqueue.c: Likewise.
4911 * resource/getpriority.c: Likewise.
4912 * resource/getrlimit.c: Likewise.
4913 * resource/getrusage.c: Likewise.
4914 * resource/nice.c: Likewise.
4915 * resource/setpriority.c: Likewise.
4916 * resource/setrlimit.c: Likewise.
4917 * resource/ulimit.c: Likewise.
4918 * rt/aio_cancel.c: Likewise.
4919 * rt/aio_fsync.c: Likewise.
4920 * rt/aio_read.c: Likewise.
4921 * rt/aio_sigqueue.c: Likewise.
4922 * rt/aio_suspend.c: Likewise.
4923 * rt/aio_write.c: Likewise.
4924 * rt/clock_getres.c: Likewise.
4925 * rt/clock_gettime.c: Likewise.
4926 * rt/clock_nanosleep.c: Likewise.
4927 * rt/clock_settime.c: Likewise.
4928 * rt/lio_listio.c: Likewise.
4929 * rt/mq_close.c: Likewise.
4930 * rt/mq_getattr.c: Likewise.
4931 * rt/mq_notify.c: Likewise.
4932 * rt/mq_open.c: Likewise.
4933 * rt/mq_receive.c: Likewise.
4934 * rt/mq_send.c: Likewise.
4935 * rt/mq_setattr.c: Likewise.
4936 * rt/mq_timedreceive.c: Likewise.
4937 * rt/mq_timedsend.c: Likewise.
4938 * rt/mq_unlink.c: Likewise.
4939 * rt/shm_open.c: Likewise.
4940 * rt/shm_unlink.c: Likewise.
4941 * rt/timer_create.c: Likewise.
4942 * rt/timer_delete.c: Likewise.
4943 * rt/timer_getoverr.c: Likewise.
4944 * rt/timer_gettime.c: Likewise.
4945 * rt/timer_settime.c: Likewise.
4946 * setjmp/__longjmp.c: Likewise.
4947 * setjmp/setjmp.c: Likewise.
4948 * signal/kill.c: Likewise.
4949 * signal/killpg.c: Likewise.
4950 * signal/raise.c: Likewise.
4951 * signal/sigaction.c: Likewise.
4952 * signal/sigaltstack.c: Likewise.
4953 * signal/sigblock.c: Likewise.
4954 * signal/sigignore.c: Likewise.
4955 * signal/sigintr.c: Likewise.
4956 * signal/signal.c: Likewise.
4957 * signal/sigpause.c: Likewise.
4958 * signal/sigpending.c: Likewise.
4959 * signal/sigqueue.c: Likewise.
4960 * signal/sigreturn.c: Likewise.
4961 * signal/sigset.c: Likewise.
4962 * signal/sigsetmask.c: Likewise.
4963 * signal/sigstack.c: Likewise.
4964 * signal/sigsuspend.c: Likewise.
4965 * signal/sigtimedwait.c: Likewise.
4966 * signal/sigvec.c: Likewise.
4967 * signal/sigwait.c: Likewise.
4968 * signal/sigwaitinfo.c: Likewise.
4969 * signal/sysv_signal.c: Likewise.
4970 * socket/accept.c: Likewise.
4971 * socket/accept4.c: Likewise.
4972 * socket/bind.c: Likewise.
4973 * socket/connect.c: Likewise.
4974 * socket/getpeername.c: Likewise.
4975 * socket/getsockname.c: Likewise.
4976 * socket/getsockopt.c: Likewise.
4977 * socket/isfdtype.c: Likewise.
4978 * socket/listen.c: Likewise.
4979 * socket/recv.c: Likewise.
4980 * socket/recvfrom.c: Likewise.
4981 * socket/recvmsg.c: Likewise.
4982 * socket/send.c: Likewise.
4983 * socket/sendmsg.c: Likewise.
4984 * socket/sendto.c: Likewise.
4985 * socket/setsockopt.c: Likewise.
4986 * socket/shutdown.c: Likewise.
4987 * socket/sockatmark.c: Likewise.
4988 * socket/socket.c: Likewise.
4989 * socket/socketpair.c: Likewise.
4990 * stdio-common/ctermid.c: Likewise.
4991 * stdio-common/cuserid.c: Likewise.
4992 * stdio-common/remove.c: Likewise.
4993 * stdio-common/rename.c: Likewise.
4994 * stdio-common/renameat.c: Likewise.
4995 * stdio-common/tempname.c: Likewise.
4996 * stdlib/getcontext.c: Likewise.
4997 * stdlib/makecontext.c: Likewise.
4998 * stdlib/setcontext.c: Likewise.
4999 * stdlib/swapcontext.c: Likewise.
5000 * stdlib/system.c: Likewise.
5001 * streams/fattach.c: Likewise.
5002 * streams/fdetach.c: Likewise.
5003 * streams/getmsg.c: Likewise.
5004 * streams/getpmsg.c: Likewise.
5005 * streams/putmsg.c: Likewise.
5006 * streams/putpmsg.c: Likewise.
5007 * sysdeps/unix/bsd/getpt.c: Likewise.
5008 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5009 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5010 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5013 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5014 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5015 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5016 * sysvipc/msgctl.c: Likewise.
5017 * sysvipc/msgget.c: Likewise.
5018 * sysvipc/msgrcv.c: Likewise.
5019 * sysvipc/msgsnd.c: Likewise.
5020 * sysvipc/semctl.c: Likewise.
5021 * sysvipc/semget.c: Likewise.
5022 * sysvipc/semop.c: Likewise.
5023 * sysvipc/semtimedop.c: Likewise.
5024 * sysvipc/shmat.c: Likewise.
5025 * sysvipc/shmctl.c: Likewise.
5026 * sysvipc/shmdt.c: Likewise.
5027 * sysvipc/shmget.c: Likewise.
5028 * termios/tcdrain.c: Likewise.
5029 * termios/tcflow.c: Likewise.
5030 * termios/tcflush.c: Likewise.
5031 * termios/tcgetattr.c: Likewise.
5032 * termios/tcgetpgrp.c: Likewise.
5033 * termios/tcsendbrk.c: Likewise.
5034 * termios/tcsetattr.c: Likewise.
5035 * termios/tcsetpgrp.c: Likewise.
5036 * time/adjtime.c: Likewise.
5037 * time/clock.c: Likewise.
5038 * time/getitimer.c: Likewise.
5039 * time/gettimeofday.c: Likewise.
5040 * time/setitimer.c: Likewise.
5041 * time/settimeofday.c: Likewise.
5042 * time/stime.c: Likewise.
5043 * time/time.c: Likewise.
5045 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5047 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5050 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5052 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5054 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5058 FE_TONEAREST before applying Dekker multiplication and Knuth
5059 addition. Clear inexact exceptions and check for exact zero
5061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5062 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5063 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5064 * math/libm-test.inc (fma_test): Add more tests.
5065 (fma_test_towardzero): Likewise.
5066 (fma_test_downward): Likewise.
5067 (fma_test_upward): Likewise.
5068 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5070 (libc_fesetround): New macro.
5071 (libc_fesetroundf): Likewise.
5072 (libc_fesetroundl): Likewise.
5073 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5075 (libc_fesetround_387): Likewise.
5076 (libc_fesetroundf): New macro.
5077 (libc_fesetround): Likewise.
5078 (libc_fesetroundl): Likewise.
5079 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5081 (libc_fesetroundf): New macro.
5082 (libc_fesetround): Likewise.
5083 (libc_fesetroundl): Likewise.
5084 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5085 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5086 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5088 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5089 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5091 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5092 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5094 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5098 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5099 integer constant usable in #if and use that to give value to enum
5101 (FE_DIVBYZERO): Likewise.
5102 (FE_UNDERFLOW): Likewise.
5103 (FE_OVERFLOW): Likewise.
5104 (FE_INVALID): Likewise.
5105 (FE_INVALID_SNAN): Likewise.
5106 (FE_INVALID_ISI): Likewise.
5107 (FE_INVALID_IDI): Likewise.
5108 (FE_INVALID_ZDZ): Likewise.
5109 (FE_INVALID_IMZ): Likewise.
5110 (FE_INVALID_COMPARE): Likewise.
5111 (FE_INVALID_SOFTWARE): Likewise.
5112 (FE_INVALID_SQRT): Likewise.
5113 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5114 (FE_TONEAREST): Likewise.
5115 (FE_TOWARDZERO): Likewise.
5116 (FE_UPWARD): Likewise.
5117 (FE_DOWNWARD): Likewise.
5118 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5119 (FE_DIVBYZERO): Likewise.
5120 (FE_OVERFLOW): Likewise.
5121 (FE_UNDERFLOW): Likewise.
5122 (FE_INEXACT): Likewise.
5123 (FE_TONEAREST): Likewise.
5124 (FE_DOWNWARD): Likewise.
5125 (FE_UPWARD): Likewise.
5126 (FE_TOWARDZERO): Likewise.
5127 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5128 (FE_UNDERFLOW): Likewise.
5129 (FE_OVERFLOW): Likewise.
5130 (FE_DIVBYZERO): Likewise.
5131 (FE_INVALID): Likewise.
5132 (FE_TONEAREST): Likewise.
5133 (FE_TOWARDZERO): Likewise.
5134 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5135 (FE_OVERFLOW): Likewise.
5136 (FE_UNDERFLOW): Likewise.
5137 (FE_DIVBYZERO): Likewise.
5138 (FE_INEXACT): Likewise.
5139 (FE_TONEAREST): Likewise.
5140 (FE_TOWARDZERO): Likewise.
5141 (FE_UPWARD): Likewise.
5142 (FE_DOWNWARD): Likewise.
5143 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5144 (FE_DIVBYZERO): Likewise.
5145 (FE_OVERFLOW): Likewise.
5146 (FE_UNDERFLOW): Likewise.
5147 (FE_INEXACT): Likewise.
5148 (FE_TONEAREST): Likewise.
5149 (FE_DOWNWARD): Likewise.
5150 (FE_UPWARD): Likewise.
5151 (FE_TOWARDZERO): Likewise.
5153 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5155 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5157 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5159 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5160 commands. Quote $PWD.
5161 (blacklist_exports): Don't use remove_newlines. Replace "declare
5163 (remove_newlines): Remove.
5165 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5167 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5168 * stdlib/stdlib.h (atof): Moved to ...
5169 * include/bits/stdlib-float.h: Here. New file.
5170 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5171 * stdlib/bits/stdlib-float.h: New file.
5172 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5174 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5177 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5179 * conform/conformtest.pl (@headers): Add fenv.h.
5180 * conform/data/fenv.h-data: New file.
5181 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5182 include of <math/fenv.h>.
5184 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5185 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5186 && !UNIX98]. Enables tests for XOPEN2K8.
5187 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5188 POSIX2008]: Likewise.
5190 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5191 (struct rusage): Do not expect type or its members.
5194 * math/math.h (FP_NAN): Define macro to integer constant usable in
5195 #if and use that to give value to enum constant.
5196 (FP_INFINITE): Likewise.
5197 (FP_ZERO): Likewise.
5198 (FP_SUBNORMAL): Likewise.
5199 (FP_NORMAL): Likewise.
5201 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5203 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5204 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5207 2012-11-02 Roland McGrath <roland@hack.frob.com>
5209 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5210 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5211 autoconf-time if not.
5212 * configure.in: Remove AC_PREREQ.
5214 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5216 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5217 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5218 of the internal implementation.
5220 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5222 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5223 except include of <misc/sys/syslog.h>.
5225 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5228 function returns with a NULL context exit with zero.
5230 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5232 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5234 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5236 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5237 (run_program_cmd): This.
5238 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5239 (tst_langinfo): New variable. Use it.
5241 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5243 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5244 floating point opcodes.
5246 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5248 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5251 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5253 * sysdeps/mach/hurd/powerpc: Remove directory.
5254 * sysdeps/mach/powerpc: Likewise.
5256 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5258 * scripts/check-local-headers.sh: Ignore c++ headers.
5260 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5262 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5263 __libc_cleanup_region_start argument.
5265 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5270 x * y using scaling, not as x * y + z.
5271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5273 * math/libm-test.inc (fma_test): Add more tests.
5274 (fma_test_towardzero): Likewise.
5275 (fma_test_downward): Likewise.
5276 (fma_test_upward): Likewise.
5278 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5280 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5282 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5284 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5287 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5289 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5291 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5298 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5301 Fix the order of the list for glibc 2.17.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5305 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5309 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5313 for low part of x being zero before using __atanl (y).
5314 * math/libm-test.inc (atan2_test): Add another test.
5316 * manual/install.texi (Configuring and compiling): Document
5317 general use of test-wrapper and test-wrapper-env.
5318 * INSTALL: Regenerated.
5320 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5321 (__fma): Do not extract and scale down low bits on after-rounding
5322 systems when result rounded to normal precision would have normal
5324 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5325 (__fmal): Do not extract and scale down low bits on after-rounding
5326 systems when result rounded to normal precision would have normal
5328 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5329 (__fmal): Do not extract and scale down low bits on after-rounding
5330 systems when result rounded to normal precision would have normal
5332 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5334 (fma_test): Add more tests.
5335 (fma_test_towardzero): Likewise.
5336 (fma_test_downward): Likewise.
5337 (fma_test_upward): Likewise.
5339 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5341 * sysdeps/i386/tininess.h: Renamed to ...
5342 * sysdeps/x86/tininess.h: This.
5343 * sysdeps/x86_64/tininess.h: Removed.
5345 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5347 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5348 input. Use $(build-program-cmd).
5349 ($(objpfx)tst-array1-static.out): Likewise.
5350 ($(objpfx)tst-array2.out): Likewise.
5351 ($(objpfx)tst-array3.out): Likewise.
5352 ($(objpfx)tst-array4.out): Likewise.
5353 ($(objpfx)tst-array5.out): Likewise.
5354 ($(objpfx)tst-array5-static.out): Likewise.
5356 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5358 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5361 * nss/nsswitch.h (nss_interface_function): Provide new
5362 macro for use with NSS functions.
5363 * grp/initgroups.c: Use new macro.
5364 * nss/getXXbyYY.c: Likewise.
5365 * nss/getXXbyYY_r.c: Likewise.
5366 * nss/getXXent.c: Likewise.
5367 * nss/getXXent_r.c: Likewise.
5368 * sysdeps/posix/getaddrinfo.c: Likewise.
5370 2012-10-30 Andreas Jaeger <aj@suse.de>
5372 * po/ru.po: Update Russion translation from translation project.
5374 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5379 result and shift together with sticky bit instead of replicating
5380 round-to-nearest rounding.
5381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5382 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5383 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5384 missing underflow exceptions.
5385 (fma_test_towardzero): Add more tests.
5386 (fma_test_downward): Likewise.
5387 (fma_test_upward): Likewise.
5390 * sysdeps/generic/tininess.h: New file.
5391 * sysdeps/i386/tininess.h: Likewise.
5392 * sysdeps/sh/tininess.h: Likewise.
5393 * sysdeps/x86_64/tininess.h: Likewise.
5394 * stdlib/tst-strtod-underflow.c: Likewise.
5395 * stdlib/tst-tininess.c: Likewise.
5396 * stdlib/strtod_l.c: Include <tininess.h>.
5397 (round_and_return): Do not set errno for exact underflow cases.
5398 Force an underflow exception when setting errno for underflow.
5399 Determine underflow based on rounding to normal precision if
5400 TININESS_AFTER_ROUNDING.
5401 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5402 ERANGE for exact underflow cases.
5403 * stdlib/Makefile (tests): Add tst-tininess and
5404 tst-strtod-underflow.
5405 ($(objpfx)tst-tininess): Use $(link-libm).
5406 ($(objpfx)tst-strtod-underflow): Likewise.
5408 2012-10-30 Andreas Jaeger <aj@suse.de>
5411 * elf/Makefile (tests): Remove conditional for have-initfini-array
5412 since this is now always required and the variable does not exist
5414 (tests-static): Likewise.
5415 (modules-names): Likewise.
5417 * po/eo.po: Add Esperanto translation from translation project.
5419 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5420 merged with constructor/destructor.
5421 (init_array): Likewise.
5422 * elf/tst-array2dep.c (fini_array): Likewise.
5423 (init_array): Likewise.
5425 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5427 * manual/message.texi: Delete @cartouche tags.
5429 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5431 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5433 * sysdeps/mach/hurd/fsync.c: Likewise.
5435 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5436 [_POSIX_REALTIME_SIGNALS]: Change condition to
5437 [_POSIX_REALTIME_SIGNALS > 0].
5439 2012-10-27 Andreas Jaeger <aj@suse.de>
5441 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5442 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5444 [__WORDSIZE != 64]: Likewise.
5446 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5448 * iconvdata/tst-table.sh: Remove ${SHELL}.
5449 * iconvdata/tst-tables.sh: Likewise.
5451 2012-10-25 David S. Miller <davem@davemloft.net>
5453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5454 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5459 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5460 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5461 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5464 2012-10-25 Roland McGrath <roland@hack.frob.com>
5466 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5467 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5470 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5471 Jim Blandy <jimb@codesourcery.com>
5473 * scripts/cross-test-ssh.sh: New file.
5474 * manual/install.texi (Configuring and compiling): Document use of
5476 * INSTALL: Regenerated.
5478 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5480 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5483 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5485 * Makeconfig (run-program-prefix): Fix comment.
5487 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5488 Jim Blandy <jimb@codesourcery.com>
5490 * Makeconfig (test-wrapper): New variable,
5491 (test-wrapper-env): Likewise.
5492 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5493 (run-built-tests): Define to yes.
5494 (run-program-prefix): Use $(test-wrapper).
5495 (built-program-cmd): Likewise.
5496 * Rules (make-test-out): Use $(test-wrapper-env) and
5497 $(host-built-program-cmd).
5498 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5499 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5501 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5502 $(test-wrapper-env) to tst-rtld-load-self.sh.
5503 ($(objpfx)order2.out): Use $(test-wrapper).
5504 ($(objpfx)tst-initorder.out): Likewise.
5505 ($(objpfx)tst-initorder2.out): Likewise.
5506 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5507 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5508 (test_wrapper_env): New variable. Use it to run ld.so.
5509 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5510 Use it to run ld.so.
5511 (test_wrapper_env): Likewise.
5512 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5513 $(test-wrapper) to run-iconv-test.sh.
5514 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5515 (ICONV): Use $test_wrapper.
5516 * posix/Makefile ($(objpfx)globtest.out): Pass
5517 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5518 globtest.sh, not $(run-program-prefix).
5519 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5520 (test_wrapper): Likewise.
5521 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5522 set together with run_via_rtld_prefix.
5523 (run_program_prefix): Define in terms of test_wrapper and
5524 run_via_rtld_prefix.
5526 2012-10-24 Roland McGrath <roland@hack.frob.com>
5528 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5529 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5533 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5534 Declare __clock_getres, __clock_gettime, __clock_settime,
5535 __clock_nanosleep, and __clock_getcpuclockid.
5536 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5537 Remove librt_hidden_def (clock_gettime).
5538 * sysdeps/unix/clock_gettime.c: Likewise.
5539 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5540 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5541 * rt/clock_getres.c: Define __clock_getres as an alias.
5542 * sysdeps/posix/clock_getres.c: Likewise.
5543 * rt/clock_settime.c: Define __clock_settime as an alias.
5544 * sysdeps/unix/clock_settime.c: Likewise.
5545 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5546 * sysdeps/unix/clock_nanosleep.c: Likewise.
5547 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5548 * rt/clock-compat.c: New file.
5549 * rt/Makefile (librt-routines): Add clock-compat and move
5550 $(clock-routines) to ...
5551 (routines): ... here, new variable.
5552 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5553 Don't add get_clockfreq here.
5554 * rt/Versions (libc: GLIBC_2.17): New version set.
5555 Add clock_* symbols here.
5556 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5557 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5558 (GLIBC_2.17): Add clock_* symbols.
5559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5570 * NEWS: Mention the move.
5572 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5573 Use __open, __read, __close rather than their public counterparts.
5574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5575 (__get_clockfreq_via_cpuinfo): Likewise.
5576 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5577 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5579 * config.h.in (HAVE_IFUNC): New #undef.
5580 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5582 * configure: Regenerated.
5584 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5586 * configure.in: Move READELF check to start of file.
5587 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5588 libc_cv_asm_gnu_indirect_function in the process.
5589 * configure: Regenerated.
5591 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5593 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5594 send the output to /dev/null.
5595 (libc_cv_cc_with_libunwind): Likewise.
5596 (libc_cv_as_noexecstack): Likewise.
5597 * configure: Regenerate.
5599 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5601 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5603 * posix/globtest.sh (TMPDIR): Do not set.
5604 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5605 (testout): Likewise.
5607 2012-10-24 Andreas Jaeger <aj@suse.de>
5609 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5610 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5611 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5612 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5613 posix_fadvise64, posix_fallocate64.
5615 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5616 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5617 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5619 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5621 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5624 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5625 <bits/fcntl-linux.h>.
5626 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5629 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5630 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5631 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5632 [__WORDSIZE != 64]: Likewise.
5634 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5636 * Makeconfig (run-built-tests): New variable.
5637 * Rules [$(cross-compiling) = yes]: Change condition to
5638 [$(run-built-tests) = no].
5639 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5640 to [$(run-built-tests) = yes].
5641 * elf/Makefile [$(cross-compiling) = no]: Likewise
5642 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5643 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5644 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5645 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5646 * io/Makefile [$(cross-compiling) = no]: Likewise.
5647 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5648 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5649 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5650 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5651 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5652 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5653 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5654 * string/Makefile [$(cross-compiling) = no]: Likewise.
5656 * posix/Makefile ($(objpfx)globtest.out): Pass
5657 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5658 $(rtld-installed-name).
5659 * posix/globtest.sh (elf_objpfx): Remove variable.
5660 (rtld_installed_name): Likewise.
5661 (library_path): Likewise.
5662 (run_program_prefix): New variable. Use for running globtest
5665 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5666 Joseph Myers <joseph@codesourcery.com>
5668 * Makeconfig (host-built-program-cmd): New variable.
5669 * elf/Makefile (tst-stackguard1-ARGS): Use
5670 $(host-built-program-cmd).
5671 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5672 (tst-spawn-ARGS): Likewise.
5673 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5675 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5676 Jim Blandy <jimb@codesourcery.com>
5678 * Makeconfig (run-via-rtld-prefix): New variable.
5679 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5680 (built-program-cmd): Likewise.
5682 2012-10-22 Andreas Jaeger <aj@suse.de>
5684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5685 __O_RSYNC if it exists, otherwise to O_SYNC.
5687 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5688 Joseph Myers <joseph@codesourcery.com>
5690 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5692 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5694 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5697 2012-10-22 Andreas Jaeger <aj@suse.de>
5699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5706 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5707 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5714 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5715 Joseph Myers <joseph@codesourcery.com>
5717 * config.make.in (NM): New variable.
5719 2012-10-21 Andreas Jaeger <aj@suse.de>
5721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5722 definitions and declarations that are provided by
5723 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5725 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5728 * elf/Makefile (tests-static): Add tst-leaks1-static.
5729 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5730 ($(objpfx)tst-leaks1-static): New rule.
5731 ($(objpfx)tst-leaks1-static-mem): Likewise.
5732 (tst-leaks1-static-ENV): New macro.
5733 * elf/dl-open.c (dl_open_worker): Check the main application
5734 only if SHARED is defined.
5735 * elf/tst-leaks1-static.c: New file.
5737 2012-10-20 Andreas Jaeger <aj@suse.de>
5739 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5740 generic values for Linux.
5741 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5742 and declarations that are provided by <bits/fcntl-linux.h> and
5743 include <bits/fcntl-linux.h>.
5744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5745 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5747 2012-10-20 Roland McGrath <roland@hack.frob.com>
5749 * io/fcntl.h: Move include of <bits/types.h> to the top and
5750 include it unconditionally.
5752 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5754 * wcsmbs/Makefile (tests-ifunc): New variable.
5755 (tests): Add $(tests-ifunc).
5756 * wcsmbs/test-wcschr-ifunc.c: New file.
5757 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5758 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5759 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5760 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5761 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5763 * string/Makefile (tests-ifunc): New variable.
5764 (tests): Add $(tests-ifunc).
5765 * string/test-memccpy.c (TEST_NAME): New macro.
5766 * string/test-memchr.c (TEST_NAME): Likewise.
5767 * string/test-memcmp.c (TEST_NAME): Likewise.
5768 * string/test-memcpy.c (TEST_NAME): Likewise.
5769 * string/test-memmem.c (TEST_NAME): Likewise.
5770 * string/test-memmove.c (TEST_NAME): Likewise.
5771 * string/test-memset.c (TEST_NAME): Likewise.
5772 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5773 * string/test-stpcpy.c (TEST_NAME): Likewise.
5774 * string/test-stpncpy.c (TEST_NAME): Likewise.
5775 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5776 * string/test-strcasestr.c (TEST_NAME): Likewise.
5777 * string/test-strcat.c (TEST_NAME): Likewise.
5778 * string/test-strchr.c (TEST_NAME): Likewise.
5779 * string/test-strcmp.c(TEST_NAME): Likewise.
5780 * string/test-strcpy.c (TEST_NAME): Likewise.
5781 * string/test-strcspn.c (TEST_NAME): Likewise.
5782 * string/test-strlen.c (TEST_NAME): Likewise.
5783 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5784 * string/test-strncmp.c (TEST_NAME): Likewise.
5785 * string/test-strncpy.c (TEST_NAME): Likewise.
5786 * string/test-strnlen.c (TEST_NAME): Likewise.
5787 * string/test-strpbrk.c (TEST_NAME): Likewise.
5788 * string/test-strrchr.c (TEST_NAME): Likewise.
5789 * string/test-strspn.c (TEST_NAME): Likewise.
5790 * string/test-strstr.c (TEST_NAME): Likewise.
5791 * string/test-bcopy-ifunc.c: New file.
5792 * string/test-bzero-ifunc.c: Likewise.
5793 * string/test-memccpy-ifunc.c: Likewise.
5794 * string/test-memchr-ifunc.c: Likewise.
5795 * string/test-memcmp-ifunc.c: Likewise.
5796 * string/test-memcpy-ifunc.c: Likewise.
5797 * string/test-memmem-ifunc.c: Likewise.
5798 * string/test-memmove-ifunc.c: Likewise.
5799 * string/test-mempcpy-ifunc.c: Likewise.
5800 * string/test-memset-ifunc.c: Likewise.
5801 * string/test-rawmemchr-ifunc.c: Likewise.
5802 * string/test-stpcpy-ifunc.c: Likewise.
5803 * string/test-stpncpy-ifunc.c: Likewise.
5804 * string/test-strcasecmp-ifunc.c: Likewise.
5805 * string/test-strcasestr-ifunc.c: Likewise.
5806 * string/test-strcat-ifunc.c: Likewise.
5807 * string/test-strchr-ifunc.c: Likewise.
5808 * string/test-strchrnul-ifunc.c: Likewise.
5809 * string/test-strcmp-ifunc.c: Likewise.
5810 * string/test-strcpy-ifunc.c: Likewise.
5811 * string/test-strcspn-ifunc.c: Likewise.
5812 * string/test-strlen-ifunc.c: Likewise.
5813 * string/test-strncasecmp-ifunc.c: Likewise.
5814 * string/test-strncat-ifunc.c: Likewise.
5815 * string/test-strncmp-ifunc.c: Likewise.
5816 * string/test-strncpy-ifunc.c: Likewise.
5817 * string/test-strnlen-ifunc.c: Likewise.
5818 * string/test-strpbrk-ifunc.c: Likewise.
5819 * string/test-strrchr-ifunc.c: Likewise.
5820 * string/test-strspn-ifunc.c: Likewise.
5821 * string/test-strstr-ifunc.c: Likewise.
5823 * debug/Makefile (tests-ifunc): New variable.
5824 (tests): Add $(tests-ifunc).
5825 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5826 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5827 * debug/test-stpcpy_chk-ifunc.c: New file.
5828 * debug/test-strcpy_chk-ifunc.c: Likewise.
5830 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5833 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5834 header is not read in.
5836 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5838 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5839 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5840 directly. Pass built executable to script as
5841 $(built-program-cmd).
5842 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5843 $testprogram without using LD_LIBRARY_PATH and $ldso.
5845 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5846 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5847 $(rtld-installed-name).
5848 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5849 (rtld_installed_name): Likewise.
5850 (library_path): Likewise.
5851 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5852 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5853 $(run-program-prefix) to tst-tables.sh.
5854 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5855 it to run tst-table-from and tst-table-to.
5856 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5857 Pass it to tst-table.sh.
5858 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5859 $(run-program-prefix) to tst-gettext.sh.
5860 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5862 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5864 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5866 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5867 to run tst-gettext2.
5868 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5869 to run tst-translit.
5870 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5871 $(run-program-prefix) to tst-mtrace.sh.
5872 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5874 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5875 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5876 $(rtld-installed-name).
5877 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5878 (rtld_installed_name): Likewise.
5879 (run_program_prefix): New variable. Use it to run wordexp-test.
5881 * Makeconfig (ARCH): Remove all definitions.
5882 (machine): Likewise.
5883 [ARCH]: Remove conditional code.
5884 [!objdir]: Give error.
5885 [!objdir] (objpfx): Remove.
5886 [!objdir] (common-objpfx): Likewise.
5887 [!objdir] (common-objdir): Likewise.
5888 * configure.in (config_makefile): Remove. Hardcode Makefile in
5889 AC_CONFIG_FILES call.
5890 * configure: Regenerated.
5893 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5895 (testout): Likewise.
5897 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5898 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5899 $(rtld-installed-name).
5900 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5901 (rtld_installed_name): Likwise.
5902 (runit): Remove function.
5903 (run_getconf): New variable, Use it for running getconf binary.
5905 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5908 * string/test-memmem.c (check_result): New function.
5909 (do_one_test): Use it.
5910 (check1): New function.
5911 (test_main): Use it.
5913 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5915 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5917 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5919 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5920 (_G_LSEEK64): Likewise.
5921 (_G_MMAP64): Likewise.
5922 (_G_FSTAT64): Likewise.
5923 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5924 (_G_LSEEK64): Likewise.
5925 (_G_MMAP64): Likewise.
5926 (_G_FSTAT64): Likewise.
5927 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5928 unconditional. Call __mmap64 directly.
5929 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5930 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5932 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5933 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5935 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5936 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5938 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5939 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5941 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5942 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5944 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5945 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5946 __fxstat64 directly.
5947 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5948 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5950 (freopen64) [!_G_OPEN64]: Remove conditional code.
5951 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5953 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5954 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5956 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5957 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5959 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5960 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5962 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5963 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5965 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5966 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5968 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5969 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5971 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5973 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5976 * manual/memory.texi (Malloc Tunable Parameters): Add note
5977 about free list pointers overwriting some perturb bytes.
5978 Wording suggested by Roland McGrath.
5980 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5982 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5983 (lgamma_test): Likewise.
5984 (tgamma_test): Likewise.
5986 2012-10-16 Florian Weimer <fweimer@redhat.com>
5989 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5990 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5992 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5994 * NEWS: Mention BZ #14716.
5995 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5996 when removing AVAILABLE1_USES_J macro.
5998 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6000 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6001 (__bswap_64): __uint64_t for unsigned 64-bit int.
6003 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6005 * include/string.h (memmem): Declare libc hidden alias.
6006 * string/memmem.c (memmem): Define libc hidden alias.
6007 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6008 __read, __close instead of open, read, close.
6010 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6012 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6013 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6015 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6016 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6017 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6019 (__rawmemchr_sse2): Likewise.
6020 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6021 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6022 (__strchr_sse2): Likewise.
6023 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6024 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6025 (__strcasecmp_sse2): Likewise.
6026 (__strncasecmp_sse2): Likewise.
6027 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6028 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6029 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6030 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6031 (__strrchr_sse2): Likewise.
6032 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6034 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6035 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6036 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6037 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6038 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6039 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6040 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6041 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6042 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6043 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6044 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6045 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6046 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6047 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6048 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6049 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6050 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6051 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6052 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6053 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6054 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6055 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6056 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6057 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6058 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6059 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6060 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6061 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6062 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6063 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6065 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6067 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6068 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6069 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6070 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6072 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6074 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6075 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6076 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6077 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6079 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6080 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6081 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6082 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6083 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6084 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6086 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6089 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6097 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6108 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6113 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6121 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6122 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6123 * include/ifunc-impl-list.h: New file.
6124 * misc/ifunc-impl-list.c: Likewise.
6125 * misc/Makefile (routines): Add ifunc-impl-list.
6126 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6127 * string/test-string.h: Include <ifunc-impl-list.h>.
6128 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6129 impl_array): New variables.
6130 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6132 (test_init): Call __libc_ifunc_impl_list to initialize
6133 func_list if TEST_IFUNC and TEST_NAME are defined.
6135 * string/Makefile (strop-tests): Add bcopy and bzero.
6136 * string/test-bcopy.c: New file.
6137 * string/test-bzero.c: Likewise.
6138 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6140 * string/test-memset.c: Support bzero test if TEST_BZERO is
6142 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6144 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6146 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6149 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6151 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6152 * configure: Regenerated.
6154 * Makeconfig (+link-static-before-libc): Don't include
6155 $(link-static-libc).
6157 * libio/libio.h (_IO_pos_t): Remove.
6159 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6161 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6164 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6166 * crypt/crypt-entry.c: Include fips-private.h.
6167 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6168 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6169 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6170 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6172 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6174 * crypt/crypt-private.h: Include stdbool.h.
6175 (_ufc_setup_salt_r): Return bool.
6176 * crypt/crypt-entry.c: Include errno.h.
6177 (__crypt_r): Return NULL with EINVAL for bad salt.
6178 * crypt/crypt_util.c (bad_for_salt): New.
6179 (_ufc_setup_salt_r): Check that salt is long enough and within
6180 the specified alphabet.
6181 * crypt/badsalttest.c: New file.
6182 * crypt/Makefile (tests): Add it.
6183 ($(objpfx)badsalttest): New.
6185 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6187 * NEWS: Add entry for BZ #14602.
6189 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6191 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6193 * math/libm-test.inc: Update comment listing what functions and
6195 (isgreater_test): New function.
6196 (isgreaterequal_test): Likewise.
6197 (isless_test): Likewise.
6198 (islessequal_test): Likewise.
6199 (islessgreater_test): Likewise.
6200 (isunordered_test): Likewise.
6201 (main): Call the new functions.
6203 2012-10-09 Roland McGrath <roland@hack.frob.com>
6205 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6206 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6207 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6208 * sysdeps/i386/configure: Regenerated.
6209 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6210 * sysdeps/mach/configure: Regenerated.
6211 * sysdeps/mach/hurd/configure: Regenerated.
6212 * sysdeps/powerpc/configure: Regenerated.
6213 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6214 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6215 * sysdeps/s390/s390-32/configure: Regenerated.
6216 * sysdeps/s390/s390-64/configure: Regenerated.
6217 * sysdeps/sh/configure: Regenerated.
6218 * sysdeps/sparc/configure: Regenerated.
6219 * sysdeps/unix/sysv/linux/configure: Regenerated.
6220 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6221 * sysdeps/x86_64/configure: Regenerated.
6223 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6224 defined. Don't check if MAP is NULL.
6226 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6228 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6229 (_G_stat64): Likewise.
6230 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6231 (_G_stat64): Likewise.
6232 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6233 instead of struct _G_stat64.
6234 * libio/fileops.c (mmap_remap_check): Likewise.
6235 (decide_maybe_mmap): Likewise.
6236 (_IO_new_file_seekoff): Likewise.
6237 (_IO_file_stat): Likewise.
6238 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6240 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6241 instead of struct _G_stat64.
6242 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6244 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6247 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6249 (CHECK_EOL): New macro.
6250 (two_way_short_needle): Check beginning of haystack for EOL. Use
6252 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6253 Replace with CHECK_EOL.
6254 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6255 Replace with CHECK_EOL.
6257 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6259 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6261 * math/libm-test.inc: Update comment listing what functions and
6263 (finite_test): New function.
6264 (isinf_test): Likewise.
6265 (isnan_test): Likewise.
6266 (fpclassify_test): Test subnormal input.
6267 (isfinite_test): Likewise.
6268 (isnormal_test): Likewise.
6269 (main): Call the new functions.
6271 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6274 * Makerules (%.dynsym): Force C locale when running
6275 $(OBJDUMP) --dynamic-syms.
6277 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6279 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6282 2012-10-06 David S. Miller <davem@davemloft.net>
6284 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6285 upper 32-bits of the length value in %o2 since we use branch-on-register
6286 tests which consider the entire 64-bit register.
6288 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6290 * string/test-strstr.c (check2): Add a test for page boundary.
6292 2012-10-05 David S. Miller <davem@davemloft.net>
6294 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6295 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6297 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6299 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6300 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6301 and bzero when HWCAP_SPARC_CRYPTO is present.
6303 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6306 * string/test-strstr.c (check2): New function.
6307 (test_main): Call check2.
6309 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6311 * string/bug-strcasestr1.c (do_test): Moved to ...
6312 * string/test-strcasestr.c (check1): Here. New function.
6313 (do_one_test): Break out result checking code into ...
6314 (check_result): This. New function.
6315 (do_one_test): Call check_result.
6316 (test_main): Call check1.
6317 * string/bug-strchr1.c (do_test): Moved to ...
6318 * string/test-strchr.c (check1): Here. New function.
6319 (do_one_test): Break out result checking code into ...
6320 (check_result): This. New function.
6321 (do_one_test): Call check_result.
6322 (test_main): Call check1.
6323 * string/bug-strstr1.c (main): Moved to ...
6324 * string/test-strstr.c (check1): Here. New function.
6325 (do_one_test): Break out result checking code into ...
6326 (check_result): This. New function.
6327 (do_one_test): Call check_result.
6328 (test_main): Call check1.
6329 * string/bug-strcasestr1.c: Removed.
6330 * string/bug-strchr1.c: Likewise.
6331 * string/bug-strstr1.c: Likewise.
6333 * elf/Makefile (dl-routines): Add hwcaps.
6334 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6335 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6336 (_dl_important_hwcaps): Moved to ...
6337 * elf/dl-hwcaps.c: Here. New file.
6338 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6341 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6342 if IS_IN_rtld isn't defined.
6344 * elf/dl-support.c (_dl_sysinfo_map): New.
6345 Include "get-dynamic-info.h" and "setup-vdso.h".
6346 (_dl_non_dynamic_init): Call setup_vdso.
6347 * elf/dynamic-link.h: Don't include <assert.h>.
6348 (elf_get_dynamic_info): Moved to ...
6349 * elf/get-dynamic-info.h: Here. New file.
6350 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6351 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6352 * elf/setup-vdso.h: Here. New file.
6353 * elf/rtld.c: Include "setup-vdso.h".
6354 (dl_main): Call setup_vdso.
6356 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6358 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6359 creal in comment listing functions tested. List finite, isinf,
6360 isnan, isless, islessequal, isgreater, isgreaterequal,
6361 islessgreater, isunordered, lgamma_r and pow10 as functions and
6362 macros not tested. Mention which functions not tested are aliases
6363 for other functions. Fix typo. Note that signs of NaNs are not
6366 * scripts/config.guess: Update from config.git.
6367 * scripts/config.sub: Likewise.
6369 2012-10-04 Roland McGrath <roland@hack.frob.com>
6371 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6372 * misc/madvise.c (madvise): Renamed to __madvise.
6373 Make madvise a weak alias.
6374 * include/sys/mman.h: Declare __madvise.
6375 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6376 * sysdeps/unix/syscalls.list
6377 (madvise): Make __madvise the strong name, and madvise a weak alias.
6378 * sysdeps/unix/sysv/linux/syscalls.list
6379 (madvise, mmap): Remove redundant entries.
6380 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6381 * malloc/malloc.c (mtrim): Likewise.
6382 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6384 2012-10-03 Roland McGrath <roland@hack.frob.com>
6386 * sysdeps/mach/hurd/dl-cache.c: File removed.
6387 * config.h.in (USE_LDCONFIG): New #undef.
6388 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6389 * configure: Regenerated.
6390 * elf/Makefile (dl-routines): Add dl-cache only under
6391 [$(use-ldconfig) = yes].
6392 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6393 cache on [USE_LDCONFIG].
6394 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6396 * elf/rtld.c (dl_main): Likewise.
6398 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6400 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6401 _SC_LEVEL4_CACHE_LINESIZE.
6403 2012-10-03 Roland McGrath <roland@hack.frob.com>
6405 * sysdeps/unix/bsd/confstr.h: File removed.
6407 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6409 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6412 2012-10-02 Roland McGrath <roland@hack.frob.com>
6414 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6415 Make 'mapoff' field ElfW(Off) rather than off_t.
6417 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6419 * nscd/Makefile: Remove nscd-cflags and all its users.
6420 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6421 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6424 * malloc.c (malloc_printerr): Clarify error message.
6426 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6430 Set bit_FMA_Usable if FMA is supported.
6431 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6433 (bit_FMA4_Usable): Updated.
6434 (index_FMA_Usable): New macro.
6435 (CPUID_FMA): Likewise
6436 (HAS_FMA): Defined with bit_FMA_Usable.
6438 2012-10-01 Roland McGrath <roland@hack.frob.com>
6440 * bits/types.h (__swblk_t): Type removed.
6441 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6442 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6444 (__SWBLK_T_TYPE): Likewise.
6445 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6446 (__SWBLK_T_TYPE): Likewise.
6447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6448 (__SWBLK_T_TYPE): Likewise.
6449 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6450 (__SWBLK_T_TYPE): Likewise.
6452 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6453 Honza Horak <hhorak@redhat.com>
6455 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6456 (xdr_mapname): Use YPMAXMAP as maxsize.
6457 (xdr_peername): Use YPMAXPEER as maxsize.
6458 (xdr_keydat): Use YPAXRECORD as maxsize.
6459 (xdr_valdat): Use YPMAXRECORD as maxsize.
6461 2012-10-01 Roland McGrath <roland@hack.frob.com>
6463 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6465 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6466 * csu/init-first.c: ... here.
6467 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6468 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6469 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6470 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6471 * sysdeps/i386/init-first.c: File removed.
6472 * sysdeps/sh/init-first.c: File removed.
6474 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6478 if x * y might underflow to zero and z is zero.
6479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6481 * math/libm-test.inc (min_subnorm_value): New variable.
6482 (fma_test): Add more tests.
6483 (fma_test_towardzero): Likewise.
6484 (fma_test_downward): Likewise
6485 (fma_test_upward): Likewise.
6486 (initialize): Set min_subnorm_value.
6488 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6494 mode for addition resulting in exact zero.
6495 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6498 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6500 * math/libm-test.inc (fma_test): Add more tests.
6501 (fma_test_towardzero): New function.
6502 (fma_test_downward): Likewise.
6503 (fma_test_upward): Likewise.
6504 (main): Call the new functions.
6506 2012-09-28 David S. Miller <davem@davemloft.net>
6508 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6510 2012-09-28 Roland McGrath <roland@hack.frob.com>
6512 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6515 * sysdeps/gnu/_G_config.h: Moved to ...
6516 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6517 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6518 * sysdeps/generic/_G_config.h: ... here.
6520 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6522 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6524 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6525 Conditionalize target on [libnss_test1.so-version].
6527 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6529 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6530 (elfobjdir): Move out of conditionals.
6532 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6533 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6534 (__nss_lookup_function): Conditionalize label remove_from_tree on
6535 [!DO_STATIC_NSS || SHARED], matching its only use.
6537 2012-09-28 David S. Miller <davem@davemloft.net>
6539 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6540 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6542 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6544 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6546 when HWCAP_SPARC_CRYPTO is present.
6548 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6550 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6552 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6555 * stdio-common/vfprintf.c (process_string_arg): Revert
6558 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6560 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6562 * stdio-common/tst-sprintf.c: Include <locale.h>
6563 (main): Test sprintf's handling of incomplete multibyte
6566 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6568 * elf/dl-runtime.c (VERSYMIDX): Removed.
6569 * elf/dl-version.c (VERSYMIDX): Likewise.
6570 * elf/do-rel.h (VERSYMIDX): Likewise.
6572 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6573 * elf/rtld.c (VALIDX): Likewise.
6574 (ADDRIDX): Likewise.
6575 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6576 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6577 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6578 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6580 (ADDRIDX): Likewise.
6582 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6584 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6586 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6589 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6591 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6592 addresses are in the same scope as 192.0.2/24.
6593 * posix/gai.conf: Document new scope table defaults.
6595 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6598 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6599 for ftell. Compute offsets from write pointers instead.
6600 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6602 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6605 * libio/Makefile (tests): New test case tst-fseek.
6606 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6607 combination works in wide mode.
6608 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6609 state when the external buffer state changes.
6611 2012-09-27 David S. Miller <davem@davemloft.net>
6614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6615 pass reloc->r_addend in as the 'high' argument to
6616 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6620 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6622 * rt/tst-aio2.c: Include <pthread.h>.
6623 * rt/tst-aio3.c: Likewise.
6625 2012-09-27 Steve Ellcey <sellcey@mips.com>
6627 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6629 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6631 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6632 contents on [SHARED].
6634 2012-09-26 Marek Polacek <polacek@redhat.com>
6638 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6639 for C++ and GCC <4.3 as well as for non GCC compilers.
6641 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6645 2012-09-25 Roland McGrath <roland@hack.frob.com>
6647 * Makefile.in (all, install): Declare with .PHONY.
6648 Reported by Michael Hope <michael.hope@linaro.org>.
6650 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6652 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6653 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6655 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6657 (sydep_routines): Add the new and the internal functions.
6658 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6659 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6661 (GLIBC_2.17): Add the new function.
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6663 (GLIBC_2.17): Likewise.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6665 (GLIBC_2.17): Likewise.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6667 (GLIBC_2.17): Likewise.
6668 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6670 2012-09-25 Alan Modra <amodra@gmail.com>
6672 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6673 Add release barrier before setting once_control to say
6674 initialisation is done. Add hints on lwarx. Use macro in
6676 (clear_once_control): Add release barrier.
6678 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6681 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6683 * math/s_clog10.c (__clog10): Likewise.
6684 * math/s_clog10f.c (__clog10f): Likewise.
6685 * math/s_clog10l.c (__clog10l): Likewise.
6686 * math/s_clogf.c (__clogf): Likewise.
6687 * math/s_clogl.c (__clogl): Likewise.
6688 * math/Makefile (libm-calls): Add x2y2m1.
6689 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6690 (__x2y2m1): Likewise.
6691 (__x2y2m1l): Likewise.
6692 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6693 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6696 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6697 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6698 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6699 * sysdeps/i386/fpu/libm-test-ulps: Update.
6700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6703 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6704 int as type of variable DEPTH.
6705 (glob): Use size_t instead of int as type of variables NEWCOUNT
6708 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6710 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6712 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6713 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6714 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6715 macros for using routine as __sincosf_ia32.
6716 Use macro for function declaration and weak_alias.
6717 * sysdeps/i386/fpu/libm-test-ulps: Update.
6719 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6722 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6724 * math/s_cexpf.c (__cexpf): Likewise.
6725 * math/s_csinf.c (__csinf): Likewise.
6726 * math/s_csinhf.c (__csinhf): Likewise.
6727 * math/s_ctanf.c (__ctanf): Likewise.
6728 * math/s_ctanhf.c (__ctanhf): Likewise.
6729 * math/s_ccosh.c (__ccoshf): Likewise.
6730 * math/s_cexp.c (__cexpl): Likewise.
6731 * math/s_csin.c (__csin): Likewise.
6732 * math/s_csinh.c (__csinh): Likewise.
6733 * math/s_ctan.c (__ctan): Likewise.
6734 * math/s_ctanh.c (ctanh): Likewise.
6735 * math/s_ccoshl.c (__ccoshl): Likewise.
6736 * math/s_cexpl.c (__cexpl): Likewise.
6737 * math/s_csinl.c (__csinl): Likewise.
6738 * math/s_csinhl.c (__csinhl): Likewise.
6739 * math/s_ctanl.c (__ctanl): Likewise.
6740 * math/s_ctanhl.c (__ctanhl): Likewise.
6742 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6744 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6745 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6746 (_IO_off_t): Define to __off_t, not _G_off_t.
6747 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6748 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6749 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6750 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6751 type of __dummy and __dummy2 fields.
6752 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6753 (_G_ssize_t): Likewise.
6754 (_G_off_t): Likewise.
6755 (_G_pid_t): Likewise.
6756 (_G_uid_t): Likewise.
6757 (_G_wchar_t): Likewise.
6758 (_G_wint_t): Likewise.
6759 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6760 (_G_ssize_t): Likewise.
6761 (_G_off_t): Likewise.
6762 (_G_pid_t): Likewise.
6763 (_G_uid_t): Likewise.
6764 (_G_wchar_t): Likewise.
6765 (_G_wint_t): Likewise.
6766 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6767 (_G_ssize_t): Likewise.
6768 (_G_off_t): Likewise.
6769 (_G_pid_t): Likewise.
6770 (_G_uid_t): Likewise.
6771 (_G_wchar_t): Likewise.
6772 (_G_wint_t): Likewise.
6774 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6776 * malloc/arena.c: Include malloc-sysdep.h.
6777 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6778 is sufficient to shrink the heap or an unmap is needed.
6779 * sysdeps/generic/malloc-sysdep.h: New file. Define
6780 new function check_may_shrink_heap.
6781 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6782 new function check_may_shrink_heap.
6784 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6786 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6789 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6791 * catgets/test-gencat.sh: Add "set -e".
6792 * elf/tst-pathopt.sh: Likewise.
6793 * grp/tst_fgetgrent.sh: Likewise.
6794 * iconvdata/run-iconv-test.sh: Likewise.
6795 * intl/tst-gettext.sh: Likewise.
6796 * intl/tst-gettext2.sh: Likewise.
6797 * intl/tst-gettext4.sh: Likewise.
6798 * intl/tst-gettext6.sh: Likewise.
6799 * intl/tst-translit.sh: Likewise.
6800 * io/ftwtest-sh: Likewise.
6801 * libio/test-freopen.sh: Likewise.
6802 * malloc/tst-mtrace.sh: Likewise.
6803 * posix/globtest.sh: Likewise.
6804 * posix/tst-getconf.sh: Likewise.
6805 * posix/wordexp-tst.sh: Likewise.
6806 * stdio-common/tst-printf.sh: Likewise.
6807 * stdio-common/tst-unbputc.sh: Likewise.
6808 * stdlib/tst-fmtmsg.sh: Likewise.
6809 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6810 * catgets/Makefile: Do not specify -e option when running
6811 testsuite shell scripts.
6812 * elf/Makefile: Likewise.
6813 * grp/Makefile: Likewise.
6814 * iconvdata/Makefile: Likewise.
6815 * intl/Makefile: Likewise.
6816 * io/Makefile: Likewise.
6817 * libio/Makefile: Likewise.
6818 * malloc/Makefile: Likewise.
6819 * posix/Makefile: Likewise.
6820 * stdio-common/Makefile: Likewise.
6821 * stdlib/Makefile: Likewise.
6822 * sysdeps/x86_64/Makefile: Likewise.
6824 * io/ftwtest-sh: Add copyright header.
6825 * posix/globtest.sh: Likewise.
6826 * posix/tst-getconf.sh: Likewise.
6827 * posix/wordexp-tst.sh: Likewise.
6828 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6830 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6833 * Makeconfig (+link): Defined as $(+link-static) if
6834 $(build-shared) isn't yes.
6835 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6837 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6839 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6842 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6843 new chunk size with MALLOC_ALIGN_MASK.
6845 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6848 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6850 (__printf_fphex): Determine rounding using get_rounding_mode and
6852 * stdio-common/tst-printf-round.c (struct hex_test): New
6854 (hex_tests): New variable.
6855 (test_hex_in_one_mode): New function.
6856 (do_test): Also run tests for hex float output.
6858 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6860 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6861 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6862 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6863 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6864 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6865 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6866 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6867 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6869 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6871 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6872 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6873 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6874 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6876 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6879 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6881 * elf/tst-rtld-load-self.sh: New test.
6882 * elf/Makefile: Run it.
6884 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6886 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6887 (tst-writev-ENV): Remove.
6888 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6890 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6892 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6894 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6896 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6898 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6900 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6901 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6902 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6905 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6908 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6909 * config.make.in (have-cpp-asm-debuginfo): Removed.
6910 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6911 * configure: Regenerated.
6913 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6916 * stdio-common/printf_fp.c: Include <stdbool.h> and
6918 (___printf_fp): Determine rounding using get_rounding_mode and
6920 * stdio-common/tst-printf-round.c: New file.
6921 * stdio-common/Makefile (tests): Add tst-printf-round.
6922 (link-libm): New variable.
6923 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6925 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6928 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6929 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6931 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6934 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6936 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6937 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6938 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6939 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6941 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6944 * include/rounding-mode.h: New file.
6945 * sysdeps/generic/get-rounding-mode.h: Likewise.
6946 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6947 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6948 (MAX_VALUE): New macro.
6949 (MIN_VALUE): Likewise.
6950 (overflow_value): New function.
6951 (underflow_value): Likewise.
6952 (round_and_return): Use overflow_value and underflow_value to
6953 determine return values in overflow and underflow cases. Use
6954 round_away to determine rounding depending on rounding mode.
6955 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6956 determine return values in overflow and underflow cases.
6957 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6958 (struct test_results): New structure.
6959 (struct test): Use struct test_results to store expected results
6960 for all rounding modes.
6961 (TEST): Include expected results for all rounding modes.
6962 (test_in_one_mode): New function.
6963 (do_test): Use test_in_one_mode to compute and check results.
6964 Check results for all rounding modes.
6965 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6968 2012-12-09 Allan McRae <allan@archlinux.org>
6970 * sysdeps/i386/fpu/libm-test-ulps: Update
6972 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6974 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6975 (_G_int32_t): Likewise.
6976 (_G_uint16_t): Likewise.
6977 (_G_uint32_t): Likewise.
6978 (_G_HAVE_BOOL): Likewise.
6979 (_G_HAVE_ATEXIT): Likewise.
6980 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6981 (_G_HAVE_IO_FILE_OPEN): Likewise.
6982 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6983 (_G_int32_t): Likewise.
6984 (_G_uint16_t): Likewise.
6985 (_G_uint32_t): Likewise.
6986 (_G_HAVE_BOOL): Likewise.
6987 (_G_HAVE_ATEXIT): Likewise.
6988 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6989 (_G_HAVE_IO_FILE_OPEN): Likewise.
6990 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6991 (_G_int32_t): Likewise.
6992 (_G_uint16_t): Likewise.
6993 (_G_uint32_t): Likewise.
6994 (_G_HAVE_BOOL): Likewise.
6995 (_G_HAVE_ATEXIT): Likewise.
6996 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6997 (_G_HAVE_IO_FILE_OPEN): Likewise.
6999 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7001 * csu/libc-tls.c: Update copyright years.
7003 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7005 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7006 [!_G_USING_THUNKS]: Remove conditional code.
7007 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7008 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7010 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7011 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7012 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7013 (_G_VTABLE_LABEL_PREFIX): Likewise.
7014 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7015 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7016 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7017 (_G_VTABLE_LABEL_PREFIX): Likewise.
7018 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7019 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7020 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7021 (_G_VTABLE_LABEL_PREFIX): Likewise.
7022 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7024 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7026 * libio/Makefile: Include ../Makeconfig before tests.
7027 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7028 only if $(build-shared) is yes.
7030 * iconv/gconv_db.c: Update copyright years.
7032 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7034 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7035 unwind info if defined PIC. Fix special cases description.
7036 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7038 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7040 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7042 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7044 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7046 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7049 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7050 (LDLIBS-tst-chk4): This.
7051 (LDFLAGS-tst-chk5): Renamed to ...
7052 (LDLIBS-tst-chk5): This.
7053 (LDFLAGS-tst-chk6): Renamed to ...
7054 (LDLIBS-tst-chk6): This.
7055 (LDFLAGS-tst-lfschk4): Renamed to ...
7056 (LDLIBS-tst-lfschk4): This.
7057 (LDFLAGS-tst-lfschk5): Renamed to ...
7058 (LDLIBS-tst-lfschk5): This.
7059 (LDFLAGS-tst-lfschk6): Renamed to ...
7060 (LDLIBS-tst-lfschk6): This.
7062 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7063 on $(common-objpfx)soversions.mk.
7065 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7068 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7071 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7073 * malloc/arena.c (arena_get_retry): New function that gets
7074 another arena for the caller to try its request on.
7075 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7076 current arena cannot fulfill the request.
7077 (__libc_memalign): Likewise.
7078 (__libc_memalign): Likewise.
7079 (__libc_pvalloc): Likewise.
7080 (__libc_calloc): Likewise.
7082 2012-09-05 John Tobey <john.tobey@gmail.com>
7085 * manual/arith.texi (Operations on Complex): Fix description
7088 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7091 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7095 * manual/memory.texi (Memory): Make order of menu items match
7098 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7100 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7101 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7102 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7104 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7106 * csu/libc-tls.c (static_dtv): Renamed to ...
7107 (_dl_static_dtv): This. Make it global.
7108 (_dl_initial_dtv): Removed.
7109 (__libc_setup_tls): Updated.
7110 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7111 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7114 2012-09-06 Petr Machata <pmachata@redhat.com>
7116 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7117 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7118 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7119 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7121 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7124 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7125 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7128 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7131 * Makeconfig (link-static-before-libc): Replace $(+prector)
7133 (link-static-after-libc): Replace $(+postctor) with
7135 (link-bounded): Replace $(+prector)/$(+postctor) with
7136 $(+prectorT)/$(+postctorT).
7137 (+prectorT): New macro.
7138 (+postctorT): Likewise.
7140 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7142 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7143 (round_str): Handle values above the maximum for IBM long double
7145 * stdlib/tst-strtod-round.c (tests): Regenerated.
7147 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7149 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7151 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7152 zarch_nohighgprs around the zarch optimized routines.
7153 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7154 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7155 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7158 2012-09-05 David S. Miller <davem@davemloft.net>
7160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7162 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7163 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7164 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7165 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7168 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7170 * malloc/arena.c: Fold copyright years.
7171 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7173 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7175 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7177 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7179 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7181 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7183 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7184 change internal state upon failure.
7186 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7188 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7189 * malloc/memusage.c (mmap): Likewise.
7190 (mmap64, mremap): Likewise. Adjust name in comment.
7192 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7194 * libio/fileops.c: Fix typos in comments.
7195 * libio/oldfileops.c: Likewise.
7196 * libio/wfileops.c: Likewise.
7198 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7201 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7202 (tst-malloc-usable-ENV): Set environment for test case.
7203 * malloc/hooks.c (malloc_check_get_size): New function to get
7205 * malloc/malloc.c (musable): Use malloc_check_get_size.
7206 * malloc/tst-malloc-usable.c: New test case.
7208 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7210 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7212 2012-09-05 Allan McRae <allan@archlinux.org>
7215 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7216 determine header location.
7217 * configure: Regenerated.
7219 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7221 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7223 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7224 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7228 2012-09-04 David S. Miller <davem@davemloft.net>
7230 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7231 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7232 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7234 2012-09-04 Florian Weimer <fweimer@redhat.com>
7236 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7239 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7241 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7244 * libio/iogetdelim.c: Include <limits.h>.
7245 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7246 + len + 1 would overflow.
7248 2012-09-03 Andreas Jaeger <aj@suse.de>
7250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7251 * sysdeps/i386/fpu/libm-test-ulps: Update.
7253 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7255 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7256 Add s_sinf-sse2, s_conf-sse2.
7258 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7259 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7260 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7261 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7263 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7264 for using routine as __sinf_ia32.
7265 Use macro for function declaration and weak_alias.
7266 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7267 for using routine as __cosf_ia32.
7268 Use macro for function declaration and weak_alias.
7270 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7271 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7273 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7274 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7277 * math/libm-test.inc (cos_test): Add more test cases.
7278 (sin_test): Likewise.
7279 (sincos_test): Likewise.
7281 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7283 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7284 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7286 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7288 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7291 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7292 first element of the GOT.
7293 (elf_machine_load_address): Return the difference between
7294 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7296 2012-09-01 Allan McRae <allan@archlinux.org>
7299 * configure.in (AWK): Require gawk version 3.0 or later.
7300 * configure: Regenerated.
7302 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7304 * sysdeps/unix/sysv/linux/kernel-features.h
7305 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7306 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7307 [__NR_clock_getres]: Make code unconditional.
7308 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7309 (clock_getcpuclockid): Remove code left unreachable by removal of
7311 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7313 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7314 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7315 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7316 Make code unconditional.
7317 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7318 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7319 * sysdeps/unix/sysv/linux/clock_settime.c
7320 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7322 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7323 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7325 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7328 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7329 scripts/test-installation.pl.
7331 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7332 and $ld_so_version if it is set.
7334 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7338 failure if reading from procfs failed.
7339 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7341 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7343 * sysdeps/unix/sysv/linux/kernel-features.h
7344 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7345 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7346 Remove conditional code.
7347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7348 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7349 Remove conditional code.
7350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7351 * sysdeps/unix/sysv/linux/i386/fxstat.c
7352 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7354 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7355 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7357 * sysdeps/unix/sysv/linux/i386/lxstat.c
7358 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7360 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7361 Remove conditional code.
7362 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7363 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7364 Remove conditional code.
7365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7366 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7367 <kernel-features.h>.
7368 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7370 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7371 Remove conditional code.
7372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7373 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7376 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7379 * NEWS: Add fixed bug number.
7381 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7384 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7385 underflowing exponent in case of negative sign.
7386 * stdlib/tst-strtod-round-data: Add more tests.
7387 * stdlib/tst-strtod-round.c (tests): Regenerated.
7390 * stdlib/strtod_l.c (NDIG): Remove.
7391 (HEXNDIG): Likewise.
7392 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7393 smallest representable value.
7394 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7395 lie within an exact representation of 1/2 ulp of the result.
7396 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7398 (TENS_P9_IDX): Define unconditionally.
7399 (TENS_P9_SIZE): Likewise.
7400 (TENS_P10_IDX): Likewise.
7401 (TENS_P10_SIZE): Likewise.
7402 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7403 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7404 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7405 entries for 10^2^13 and 10^2^14.
7406 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7407 (TENS_P13_IDX): Define.
7408 (TENS_P13_SIZE): Likewise.
7409 (TENS_P14_IDX): Likewise.
7410 (TENS_P14_SIZE): Likewise.
7411 (_fpioconst_pow10): Change array size to
7412 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7414 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7415 1024]: Add entries for 10^2^13 and 10^2^14.
7416 [LAST_POW10 > _LAST_POW10]: Remove #error.
7417 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7418 (_fpioconst_pow10): Change array size to
7419 FPIOCONST_POW10_ARRAY_SIZE.
7420 * stdlib/gen-fpioconst.c: New file.
7421 * stdlib/gen-tst-strtod-round.c: Likewise.
7422 * stdlib/tst-strtod-round-data: Likewise.
7423 * stdlib/tst-strtod-round.c: Likewise.
7424 * stdlib/Makefile (tests): Add tst-strtod-round.
7427 * stdlib/strtod_l.c: Include <stdint.h>.
7428 (NDEBUG): Do not define.
7429 (round_and_return): Change EXPONENT parameter to type intmax_t.
7430 Rearrange calculations to avoid internal overflow possibilities.
7431 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7432 Rearrange calculations to avoid internal overflow possibilities.
7433 Assert that number fits inside MPNSIZE limbs.
7434 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7435 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7436 calculations and add assertions to avoid internal overflow
7437 possibilities. Add casts to avoid signed/unsigned operations.
7438 * stdlib/tst-strtod-overflow.c: New file.
7439 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7441 2012-08-25 Marek Polacek <polacek@redhat.com>
7443 * time/time.h: Fix some typos in comments.
7445 2012-08-23 Roland McGrath <roland@hack.frob.com>
7447 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7448 * posix/tst-rfc3484-2.c: Likewise.
7449 * posix/tst-rfc3484-3.c: Likewise.
7451 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7453 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7454 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7456 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7458 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7459 #include of fxstatat64.c.
7461 2012-08-22 Roland McGrath <roland@hack.frob.com>
7463 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7464 * shadow/getspent_r.c: Likewise.
7465 * shadow/getspnam.c: Likewise.
7466 * shadow/getspnam_r.c: Likewise.
7467 * gshadow/getsgent.c: Likewise.
7468 * gshadow/getsgent_r.c: Likewise.
7469 * gshadow/getsgnam.c: Likewise.
7470 * gshadow/getsgnam_r.c: Likewise.
7471 * inet/getnetbyad.c: Likewise.
7472 * inet/getnetbyad_r.c: Likewise.
7473 * inet/getnetbynm.c: Likewise.
7474 * inet/getnetbynm_r.c: Likewise.
7475 * inet/getnetent.c: Likewise.
7476 * inet/getnetent_r.c: Likewise.
7477 * inet/getproto.c: Likewise.
7478 * inet/getproto_r.c: Likewise.
7479 * inet/getprtent.c: Likewise.
7480 * inet/getprtent_r.c: Likewise.
7481 * inet/getprtname.c: Likewise.
7482 * inet/getprtname_r.c: Likewise.
7483 * inet/getrpcbyname.c: Likewise.
7484 * inet/getrpcbyname_r.c: Likewise.
7485 * inet/getrpcbynumber.c: Likewise.
7486 * inet/getrpcbynumber_r.c: Likewise.
7487 * inet/getrpcent.c: Likewise.
7488 * inet/getrpcent_r.c: Likewise.
7489 * inet/getaliasent.c: Likewise.
7490 * inet/getaliasent_r.c: Likewise.
7491 * inet/getaliasname.c: Likewise.
7492 * inet/getaliasname_r.c: Likewise.
7493 * nscd/getgrgid_r.c: Likewise.
7494 * nscd/getgrnam_r.c: Likewise.
7495 * nscd/gethstbyad_r.c: Likewise.
7496 * nscd/gethstbynm3_r.c: Likewise.
7497 * nscd/getpwnam_r.c: Likewise.
7498 * nscd/getpwuid_r.c: Likewise.
7499 * nscd/getsrvbynm_r.c: Likewise.
7500 * nscd/getsrvbypt_r.c: Likewise.
7501 * nscd/gai.c: Likewise.
7503 * configure.in (build_nscd): New substituted variable, set
7504 by --disable-build-nscd and defaults to $use_nscd.
7505 * configure: Regenerated.
7506 * config.make.in (build-nscd): New substituted variable.
7507 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7508 Change conditional to require [$(build-nscd) = yes] as well.
7509 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7512 * configure.in (use_nscd): New substituted variable, set by
7513 --disable-nscd. If enabled, define USE_NSCD.
7514 * configure: Regenerated.
7515 * config.h.in: Add USE_NSCD.
7516 * config.make.in (use-nscd): New substituted variable.
7517 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7518 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7519 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7520 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7521 (CFLAGS-getgrnam_r.c): Likewise.
7522 (CFLAGS-initgroups.c): Likewise.
7523 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7524 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7526 * inet/getnetgrent_r.c
7527 (nscd_setnetgrent): New function, broken out of ...
7528 (setnetgrent): ... here. Call it.
7529 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7530 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7531 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7532 * nscd/Makefile (routines, aux): Move definitions after include of
7533 Makeconfig. Conditionalize on [$(use-nscd) != no].
7534 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7535 Conditionalize on [USE_NSCD].
7536 (is_nscd, nscd_init_cb): Likewise.
7537 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7538 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7539 * nss/nss_db/db-init.c: Likewise.
7540 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7542 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7543 (make_request): Use it.
7544 (cache_valid_p): New function.
7545 (__check_pf): Use it.
7546 * NEWS: Add item for --disable-nscd.
7548 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7550 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7551 to support sed >= 4.2.1-20-ga9bf076.
7552 * configure: Regenerated.
7554 2012-08-22 Roland McGrath <roland@hack.frob.com>
7556 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7557 Conditionalize whole body on [IREL].
7559 2012-08-22 Jeff Law <law@redhat.com>
7562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7563 if the family is PF_UNSPEC.
7565 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7567 * Makerules (lib-version): Rename from V.
7568 (install-lib-nosubdir): Change V to lib-version.
7570 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7573 * powerpc32/power6/wcschr.c: New file.
7574 * powerpc32/power6/wcscpy.c: New file.
7575 * powerpc32/power6/wcsrchr.c: New file.
7576 * powerpc64/power6/wcschr.c: New file.
7577 * powerpc64/power6/wcscpy.c: New file.
7578 * powerpc64/power6/wcsrchr.c: New file.
7580 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7582 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7583 (two_way_short_needle): Use it.
7584 * string/strstr.c (AVAILABLE1_USES_J): Define.
7585 * string/strcasestr.c: Likewise.
7587 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7589 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7592 * NEWS: Add an entry.
7593 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7594 define their defaults.
7595 (two_way_short_needle): Detect end-of-string on-the-fly.
7596 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7597 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7598 * string/bug-strcasestr1.c: New test.
7599 * string/Makefile: Run it.
7601 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7604 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7605 the first character.
7607 2012-08-21 Roland McGrath <roland@hack.frob.com>
7609 * csu/elf-init.c (__libc_csu_irel): Function removed.
7610 * csu/libc-start.c (apply_irel): New function.
7611 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7613 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7615 * sysdeps/unix/sysv/linux/kernel-features.h
7616 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7617 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7618 <kernel-features.h>.
7619 [__NR_fadvise64_64]: Make code unconditional.
7620 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7621 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7622 !__NR_fadvise64_64)]: Likewise.
7623 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7624 !__NR_fadvise64_64))]: Likewise.
7625 [__NR_fadvise64]: Make code unconditional.
7626 [!__NR_fadvise64]: Remove conditional code.
7627 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7628 <kernel-features.h>.
7629 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7631 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7634 not include <kernel-features.h>.
7635 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7637 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7639 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7640 include <kernel-features.h>.
7641 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7643 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7646 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7649 slight instruction rearrangements per scrollpipe analysis.
7650 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7652 2012-08-20 Roland McGrath <roland@hack.frob.com>
7654 * manual/syslog.texi (syslog; vsyslog, closelog):
7655 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7656 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7658 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7659 DSOCAPS to match condition on defining it.
7661 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7663 * sysdeps/unix/sysv/linux/kernel-features.h
7664 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7666 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7667 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7669 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7670 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7672 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7673 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7675 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7676 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7678 * sysdeps/unix/sysv/linux/kernel-features.h
7679 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7680 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7682 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7683 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7684 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7685 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7686 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7687 Make code unconditional.
7688 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7689 (__mmap64) [!__NR_mmap2]: Likewise.
7690 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7691 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7692 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7693 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7694 [__NR_mmap2]: Make code unconditional.
7695 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7696 (__mmap64) [!__NR_mmap2]: Likewise.
7698 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7700 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7702 2012-08-18 Andreas Jaeger <aj@suse.de>
7704 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7706 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7708 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7709 * include/unistd.h (__have_sock_cloexec): Likewise.
7710 (__have_pipe2): Likewise.
7711 (__have_dup3): Likewise.
7713 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7716 * include/unistd.h (__have_pipe2): Change define into an extern int.
7717 (__have_dup3): Likewise.
7718 * socket/have_sock_cloexec.c: Include fcntl.h.
7719 (__have_pipe2): New variable.
7720 (__have_dup3): Likewise.
7722 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7724 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7726 2012-08-17 Marek Polacek <polacek@redhat.com>
7728 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7729 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7731 2012-08-17 Roland McGrath <roland@hack.frob.com>
7733 * configure.in: Add AC_SUBST for sysheaders.
7734 * configure: Regenerated.
7735 * config.make.in (sysheaders): New substituted variable.
7737 * sysdeps/unix/mkfifo.c: Moved ...
7738 * sysdeps/posix/mkfifo.c: ... here.
7739 * sysdeps/unix/mkfifoat.c: Moved ...
7740 * sysdeps/posix/mkfifoat.c: ... here.
7742 * sysdeps/unix/utime.c: Moved ...
7743 * sysdeps/posix/utime.c: ... here.
7745 * sysdeps/unix/time.c: Moved ...
7746 * sysdeps/posix/time.c: ... here.
7747 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7748 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7750 * sysdeps/unix/nice.c: Moved ...
7751 * sysdeps/posix/nice.c: ... here.
7753 * sysdeps/unix/alarm.c: Moved ...
7754 * sysdeps/posix/alarm.c: ... here.
7756 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7758 2012-08-17 Jeff Law <law@redhat.com>
7760 * intl/Makefile (codeset_mo): New variable.
7761 ($(codeset_mo)): New target.
7762 (tst-codeset.out): Depend on that. Remove explicit rule.
7763 (tst-gettext3.out, tst-gettext5.out): Likewise.
7764 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7765 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7766 * intl/tst-codeset.sh: Remove.
7767 * intl/tst-gettext3.sh: Likewise.
7768 * intl/tst-gettext5.sh: Likewise.
7770 2012-08-17 Roland McGrath <roland@hack.frob.com>
7772 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7773 * sysdeps/unix/syscalls.list: ... here.
7775 * sysdeps/posix/getaddrinfo.c
7776 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7777 (gaiconf_init, gaiconf_reload): Use them.
7779 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7780 Define using time_t rather than struct timespec.
7782 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7783 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7785 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7787 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7788 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7791 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7792 __libc_cleanup_push argument.
7794 * bits/param.h: New file.
7795 * misc/sys/param.h: New file.
7796 * include/sys/param.h: New file.
7797 * misc/Makefile (headers): Add bits/param.h.
7798 * sysdeps/generic/sys/param.h: File removed.
7799 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7800 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7801 * sysdeps/mach/hurd/bits/param.h: New file.
7802 * sysdeps/mach/hurd/sys/param.h: File removed.
7804 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7807 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7809 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7810 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7813 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7814 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7815 rather than -D_IO_MTSAFE_IO conditionally.
7816 * stdio-common/Makefile (CPPFLAGS): Likewise.
7817 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7818 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7819 Use $(libio-mtsafe).
7820 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7822 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7823 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7824 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7825 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7826 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7827 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7828 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7829 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7830 (CFLAGS-fread_u_chk.c): Likewise.
7831 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7832 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7833 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7834 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7835 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7836 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7837 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7838 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7839 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7841 * libio/Makefile: Test [$(libc-reentrant) = yes]
7842 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7845 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7846 * sysdeps/pthread/configure: File removed.
7847 * sysdeps/pthread/Makeconfig: New file.
7848 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7849 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7851 2012-08-16 Gary Benson <gbenson@redhat.com>
7853 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7854 unmapping the first object in a namespace.
7856 2012-08-16 Roland McGrath <roland@hack.frob.com>
7858 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7859 (__internal_setnetgrent): ... this. Add internal_function to
7860 definition. Add libc_hidden_def.
7861 (setnetgrent): Update caller.
7862 (internal_endnetgrent): Renamed to ...
7863 (__internal_endnetgrent): ... this. Add internal_function to
7864 definition. Add libc_hidden_def.
7865 (endnetgrent): Update caller.
7866 (internal_getnetgrent_r): Renamed to ...
7867 (__internal_getnetgrent_r): ... this. Add internal_function to
7868 definition. Add libc_hidden_def.
7869 (__getnetgrent_r): Update caller.
7870 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7872 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7874 * stdlib/longlong.h: Update from GCC.
7876 2012-08-16 Roland McGrath <roland@hack.frob.com>
7878 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7879 on _QL, which is set by umul_ppmm but never used.
7880 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7881 variables, which are set by GMP macros but never used.
7882 * stdio-common/_itowa.c (_itowa): Likewise.
7883 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7884 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7886 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7888 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7889 struct La_sh_regs is not constant.
7890 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7891 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7892 and struct La_sparc64_regs are not constant.
7894 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7896 * sysdeps/unix/sysv/linux/kernel-features.h
7897 (__ASSUME_POSIX_TIMERS): Remove.
7898 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7899 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7900 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7901 Make code unconditional.
7902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7903 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7904 Make code unconditional.
7905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7906 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7907 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7908 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7909 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7910 Make code unconditional.
7911 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7912 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7913 (__libc_missing_posix_timers): Remove.
7915 2012-08-15 Roland McGrath <roland@hack.frob.com>
7917 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7918 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7920 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7922 * elf/dl-sym.c: Include <stdlib.h>.
7924 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7925 constants, which avoids warnings in 32-bit builds.
7927 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7928 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7930 * misc/lseek.c: File moved to ...
7931 * io/lseek.c: ... here.
7933 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7935 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7936 shifting LEN more than 31 bits at once.
7938 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7941 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7942 segmentation fault for a case of two empty input strings.
7943 * string/test-strncasecmp.c (check1): Renamed to...
7945 (bz14195): Add new testcase for two empty input strings and N > 0.
7946 (test_main): Call new testcase, adapt for renamed function.
7948 2012-08-15 Andreas Jaeger <aj@suse.de>
7951 * crypt/md5test2.c: New test, based on test supplied by Serge
7952 Belyshev <belyshev@depni.sinp.msu.ru>.
7953 * crypt/Makefile (xtests): Add md5test-giant..
7954 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7956 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7959 * crypt/md5.c (md5_process_block): Don't assume the buffer
7960 length is less than 2**32.
7961 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7962 length is less than 2**64.
7964 2012-08-15 Roland McGrath <roland@hack.frob.com>
7966 * string/str-two-way.h: Include <sys/param.h>.
7967 (MAX): Macro removed.
7969 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7970 Move #define and #undef of memmove to just before and after
7971 including <string.h>.
7973 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7974 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7975 and after including <string.h>. Move declarations of
7976 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7977 to before #include "string/memmove.c".
7979 * include/dirent.h: Declare __getdirentries.
7981 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7982 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7984 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7986 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7987 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7988 * sysdeps/i386/configure: Regenerated.
7989 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7990 STABS_CURRENT_FILE, and STABS_FUN.
7991 (END): Remove call to STABS_FUN_END.
7992 (STABS_CURRENT_FILE1): Delete.
7993 (STABS_CURRENT_FILE): Likewise.
7994 (STABS_FUN): Likewise.
7995 (STABS_FUN_END): Likewise.
7996 (STABS_FUN2): Likewise.
7997 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7998 * sysdeps/x86_64/configure: Regenerated.
8000 2012-08-14 Roland McGrath <roland@hack.frob.com>
8002 * elf/dl-open.c: Include <atomic.h>.
8003 * elf/dl-lookup.c: Likewise.
8005 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8007 * sysdeps/unix/sysv/linux/kernel-features.h
8008 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8009 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8011 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8013 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8014 condition on __ASSUME_CLONE_THREAD_FLAGS.
8016 2012-08-14 Andreas Jaeger <aj@suse.de>
8018 * sysdeps/i386/fpu/libm-test-ulps: Update.
8020 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8022 * include/atomic.h (atomic_exchange_and_add): Split into ...
8023 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8026 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8030 2012-08-13 Jeff Law <law@redhat.com>
8032 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8033 null byte in the output string.
8035 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8037 * sysdeps/unix/sysv/linux/kernel-features.h
8038 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8039 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8040 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8041 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8042 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8043 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8044 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8046 2012-08-09 Jeff Law <law@redhat.com>
8049 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8050 When avoid_arena is set, don't retry in the that arena. Pick the
8051 next one, whatever it might be.
8052 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8053 (arena_lock): Pass in new parameter to arena_get2.
8054 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8056 (__libc_malloc): Unify retrying after main arena failure with
8057 __libc_memalign version.
8058 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8060 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8063 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8064 to __redirect_strstr.
8065 (__strstr_sse42): Use typeof __redirect_strstr.
8066 (__strstr_ia32): Likewise.
8067 (__libc_strstr): New prototype.
8068 (strstr): Renamed to ...
8069 (__libc_strstr): This.
8070 (strstr): New strong alias of __libc_strstr.
8071 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8072 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8075 (__libc_time): New prototype.
8076 (time_ifunc): Replace time with __libc_time.
8077 (time): New strong alias and hidden definition of __libc_time.
8078 (__GI_time): Remove strong alias.
8079 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8081 (memmove): Redefined to __redirect_memmove.
8082 (__memmove_sse2): Use typeof __redirect_memmove.
8083 (__memmove_ssse3): Likewise.
8084 (__memmove_ssse3_back): Likewise.
8085 (__libc_memmove): New prototype.
8086 (memmove): Renamed to ...
8087 (__libc_memmove): This.
8088 (memmove): New strong alias of __libc_memmove.
8090 2012-08-08 Mark Salter <msalter@redhat.com>
8093 (R_MN10300_TLS_GD): Define.
8094 (R_MN10300_TLS_LD): Likewise.
8095 (R_MN10300_TLS_LDO): Likewise.
8096 (R_MN10300_TLS_GOTIE): Likewise.
8097 (R_MN10300_TLS_IE): Likewise.
8098 (R_MN10300_TLS_LE): Likewise.
8099 (R_MN10300_TLS_DTPMOD): Likewise.
8100 (R_MN10300_TLS_DTPOFF): Likewise.
8101 (R_MN10300_TLS_TPOFF): Likewise.
8102 (R_MN10300_SYM_DIFF): Likewise.
8103 (R_MN10300_ALIGN): Likewise.
8104 (R_MN10300_NUM): Update.
8106 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8111 2012-08-08 Roland McGrath <roland@hack.frob.com>
8113 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8115 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8116 sysdeps/unix -> sysdeps/posix move.
8117 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8119 2012-08-07 Allan McRae <allan@archlinux.org>
8122 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8123 (SUNOS_CPP): Likewise.
8124 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8126 (open_input): Call CPP using execvp.
8128 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8130 * sysdeps/unix/sysv/linux/kernel-features.h
8131 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8132 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8133 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8134 (__ASSUME_WAITID_SYSCALL): Likewise.
8135 * sysdeps/unix/sysv/linux/dl-execstack.c
8136 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8138 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8140 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8141 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8142 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8144 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8146 [__ASSUME_WAITID_SYSCALL]: Likewise.
8147 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8149 2012-08-07 Roland McGrath <roland@hack.frob.com>
8151 * sysdeps/unix/closedir.c: Renamed to ...
8152 * sysdeps/posix/closedir.c: ... here.
8153 * sysdeps/unix/dirfd.c: Renamed to ...
8154 * sysdeps/posix/dirfd.c: ... here.
8155 * sysdeps/unix/dirstream.h: Renamed to ...
8156 * sysdeps/posix/dirstream.h: ... here.
8157 * sysdeps/unix/fdopendir.c: Renamed to ...
8158 * sysdeps/posix/fdopendir.c: ... here.
8159 * sysdeps/unix/opendir.c: Renamed to ...
8160 * sysdeps/posix/opendir.c: ... here.
8161 * sysdeps/unix/readdir.c: Renamed to ...
8162 * sysdeps/posix/readdir.c: ... here.
8163 * sysdeps/unix/readdir_r.c: Renamed to ...
8164 * sysdeps/posix/readdir_r.c: ... here.
8165 * sysdeps/unix/rewinddir.c: Renamed to ...
8166 * sysdeps/posix/rewinddir.c: ... here.
8167 * sysdeps/unix/seekdir.c: Renamed to ...
8168 * sysdeps/posix/seekdir.c: ... here.
8169 * sysdeps/unix/telldir.c: Renamed to ...
8170 * sysdeps/posix/telldir.c: ... here.
8171 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8172 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8173 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8174 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8176 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8177 * bits/fcntl.h: ... here.
8179 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8181 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8182 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8183 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8184 (struct flock): Move l_start, l_len to the beginning.
8185 Use __pid_t for l_pid.
8186 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8187 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8188 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8189 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8190 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8191 [__USE_LARGEFILE64] (struct flock64): New type.
8192 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8194 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8195 * bits/dirent.h: ... here.
8197 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8198 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8200 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8203 Change from 2.6.0 to 2.6.16.
8204 * sysdeps/unix/sysv/linux/configure: Regenerated.
8205 * sysdeps/unix/sysv/linux/kernel-features.h
8206 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8207 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8209 (__ASSUME_UTIMES): Likewise.
8210 (__ASSUME_CLONE_STOPPED): Remove.
8211 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8212 architectures, not kernel version.
8213 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8214 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8215 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8216 (__ASSUME_WAITID_SYSCALL): Likewise.
8217 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8218 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8219 * README: State 2.6.16 as minimum Linux kernel version. Do not
8220 refer to older versions.
8222 2012-08-06 Roland McGrath <roland@hack.frob.com>
8224 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8225 Define alphasort64 as an alias.
8226 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8227 Define versionsort64 as an alias.
8228 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8229 Define scandir64 as an alias.
8230 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8231 Define scandirat64 as an alias.
8232 * dirent/alphasort64.c (alphasort64):
8233 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8234 * dirent/versionsort64.c: Likewise.
8235 * dirent/scandir64.c: Likewise.
8236 * dirent/scandirat64.c: Likewise.
8237 * sysdeps/wordsize-64/alphasort.c: File removed.
8238 * sysdeps/wordsize-64/alphasort64.c: File removed.
8239 * sysdeps/wordsize-64/scandir.c: File removed.
8240 * sysdeps/wordsize-64/scandir64.c: File removed.
8241 * sysdeps/wordsize-64/scandirat.c: File removed.
8242 * sysdeps/wordsize-64/scandirat64.c: File removed.
8243 * sysdeps/wordsize-64/versionsort.c: File removed.
8244 * sysdeps/wordsize-64/versionsort64.c: File removed.
8245 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8246 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8247 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8248 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8249 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8250 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8251 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8252 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8254 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8256 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8258 [defined __arch64__ || defined __sparcv9]
8259 (__INO_T_MATCHES_INO64_T): New macro.
8260 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8261 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8262 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8263 * sysdeps/unix/sysv/linux/bits/dirent.h
8264 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8265 (_DIRENT_MATCHES_DIRENT64): New macro.
8267 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8268 Define lockf64 as an alias.
8269 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8270 Define fseeko64 as an alias.
8271 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8272 Define ftello64 as an alias.
8273 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8274 Define _IO_fgetpos64 and fgetpos64 as aliases.
8275 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8276 Define _IO_fsetpos64 and fsetpos64 as aliases.
8277 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8278 Conditionalize body on this.
8279 * libio/fseeko64.c: Likewise.
8280 * libio/ftello64.c: Likewise.
8281 * libio/iofgetpos64.c: Likewise.
8282 * libio/iofsetpos64.c: Likewise.
8283 * sysdeps/wordsize-64/lockf.c: File removed.
8284 * sysdeps/wordsize-64/lockf64.c: File removed.
8285 * sysdeps/wordsize-64/fseeko.c: File removed.
8286 * sysdeps/wordsize-64/fseeko64.c: File removed.
8287 * sysdeps/wordsize-64/ftello.c: File removed.
8288 * sysdeps/wordsize-64/ftello64.c: File removed.
8289 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8290 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8291 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8292 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8293 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8294 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8295 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8296 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8297 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8298 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8299 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8300 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8301 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8302 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8304 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8306 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8308 [defined __arch64__ || defined __sparcv9]
8309 (__OFF_T_MATCHES_OFF64_T): New macro.
8310 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8311 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8312 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8313 (__OFF_T_MATCHES_OFF64_T): New macro.
8315 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8317 * stdlib/secure-getenv.c (__secure_getenv): Replace
8318 GLIBC_2_16 with GLIBC_2_17.
8320 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8322 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8323 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8325 2012-08-03 David S. Miller <davem@davemloft.net>
8327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8329 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8331 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8333 (__ASSUME_CORRECT_SI_PID): Likewise.
8334 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8335 (__ASSUME_TMPFS_NAME): Likewise.
8336 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8337 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8338 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8339 (HAVE_AUX_SECURE): Make definition unconditional.
8340 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8341 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8343 2012-08-03 Roland McGrath <roland@hack.frob.com>
8345 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8346 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8347 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8348 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8349 __eloop_threshold instead of SYMLOOP_MAX.
8351 * sysdeps/generic/eloop-threshold.h: New file.
8352 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8354 * elf/chroot_canon.c (chroot_canon): Likewise.
8356 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8359 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8360 Change to 2.6.0 everywhere.
8361 * sysdeps/unix/sysv/linux/configure: Regenerated.
8362 * sysdeps/unix/sysv/linux/kernel-features.h
8363 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8364 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8366 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8367 (__ASSUME_FUTEX_REQUEUE): Remove.
8368 (__ASSUME_STATFS64): Define unconditionally.
8369 (__ASSUME_AT_SECURE): Likewise.
8370 (__ASSUME_CORRECT_SI_PID): Likewise.
8371 (__ASSUME_TGKILL): Define without depending on kernel version for
8373 (__ASSUME_UTIMES): Likewise.
8374 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8376 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8377 (__ASSUME_TMPFS_NAME): Likewise.
8378 * README: Update reference to Linux kernel versions.
8380 2012-08-02 Marek Polacek <polacek@redhat.com>
8383 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8384 libc_cv_asm_type_prefix with %.
8385 * configure: Regenerated.
8386 * include/libc-symbols.h: Remove comment about
8387 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8388 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8389 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8390 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8391 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8392 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8393 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8394 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8395 * elf/tst-unique2mod1.c: Likewise.
8396 * elf/tst-unique1mod2.c: Likewise.
8397 * elf/tst-unique1mod1.c: Likewise.
8398 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8399 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8400 Replace ASM_TYPE_DIRECTIVE with .type.
8401 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8402 * sysdeps/i386/sysdep.h: Likewise.
8403 * sysdeps/x86_64/sysdep.h: Likewise.
8404 * sysdeps/sh/sysdep.h: Likewise.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8406 Do not define ASM_TYPE_DIRECTIVE.
8407 * sysdeps/powerpc/sysdep.h: Likewise.
8408 * sysdeps/powerpc/powerpc32/sysdep.h:
8409 Replace ASM_TYPE_DIRECTIVE with .type.
8410 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8411 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8412 * sysdeps/i386/fpu/e_powf.S: Likewise.
8413 * sysdeps/i386/fpu/e_expl.S: Likewise.
8414 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8415 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8416 * sysdeps/i386/fpu/e_pow.S: Likewise.
8417 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8418 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8419 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8420 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8421 * sysdeps/i386/fpu/e_log2.S: Likewise.
8422 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8423 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8424 * sysdeps/i386/fpu/e_powl.S: Likewise.
8425 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8426 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8427 * sysdeps/i386/fpu/e_logl.S: Likewise.
8428 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8429 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8430 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8431 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8432 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8433 * sysdeps/i386/fpu/e_log.S: Likewise.
8434 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8435 * sysdeps/i386/fpu/e_logf.S: Likewise.
8436 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8437 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8438 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8439 * sysdeps/i386/fpu/e_log10.S: Likewise.
8440 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8441 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8442 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8443 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8444 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8445 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8446 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8447 * sysdeps/i386/i686/strtok.S: Likewise.
8448 * sysdeps/i386/i386-mcount.S: Likewise.
8449 * sysdeps/i386/strtok.S: Likewise.
8450 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8451 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8452 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8453 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8454 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8455 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8456 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8457 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8458 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8459 * sysdeps/x86_64/_mcount.S: Likewise.
8460 * sysdeps/x86_64/strtok.S: Likewise.
8461 * sysdeps/sh/_mcount.S: Likewise.
8463 2012-08-01 Roland McGrath <roland@hack.frob.com>
8465 * libio/iofopen.c: Include <fcntl.h>.
8466 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8467 (_IO_fopen64, fopen64): Define as aliases.
8468 * libio/iofopen64.c: Include <fcntl.h>.
8469 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8470 Conditionalize body on this.
8471 * sysdeps/wordsize-64/iofopen.c: File removed.
8472 * sysdeps/wordsize-64/iofopen64.c: File removed.
8474 2012-08-01 Marek Polacek <polacek@redhat.com>
8476 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8477 Use dlfcn directly instead of a variable.
8478 (binfmt-subdir): Do not define.
8481 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8483 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8484 Remove all definitions.
8485 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8486 <kernel-features.h>.
8487 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8488 (miss_F_GETOWN_EX): Remove all definitions.
8489 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8491 [!__ASSUME_FCNTL64]: Remove conditional code.
8492 [__ASSUME_FCNTL64]: Make code unconditional.
8493 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8494 <kernel-features.h>.
8495 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8496 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8497 (lockf64) [__NR_fcntl64]: Make code unconditional.
8498 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8500 * sysdeps/unix/sysv/linux/kernel-features.h
8501 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8502 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8503 Make code unconditional.
8504 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8505 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8507 [__NR_vfork]: Make code unconditional.
8508 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8509 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8511 [__NR_vfork]: Make code unconditional.
8512 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8513 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8515 2012-08-01 Roland McGrath <roland@hack.frob.com>
8517 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8518 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8520 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8521 Define mkstemp64 as an alias.
8522 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8523 Define mkstemps64 as an alias.
8524 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8525 Define mkostemp64 as an alias.
8526 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8527 Define mkostemps64 as an alias.
8528 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8529 Conditionalize body on this.
8530 * misc/mkostemp64.c: Likewise.
8531 * misc/mkostemps64.c: Likewise.
8532 * misc/mkstemps64.c: Likewise.
8533 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8534 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8535 * sysdeps/wordsize-64/mkostemp.c: File removed.
8536 * sysdeps/wordsize-64/mkstemp.c: File removed.
8537 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8538 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8539 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8540 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8543 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8544 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8545 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8546 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8548 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8549 compat_symbol macros from <shlib-compat.h> rather than the underlying
8550 default_symbol_version and symbol_version macros, so that DEFAULT
8551 lines in shlib-versions are respected.
8552 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8554 2012-08-01 Florian Weimer <fweimer@redhat.com>
8556 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8557 Declare with warn_unused_result.
8558 (setgid, setregid, setegid, setresgid): Likewise.
8559 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8561 * WUR-REPORT: Remove set*id functions.
8563 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8565 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8567 2012-07-31 Roland McGrath <roland@hack.frob.com>
8569 * include/sys/socket.h (__libc_accept, __libc_accept4):
8570 Add attribute_hidden.
8571 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8573 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8575 * inet/getnetgrent_r.c (setup): Likewise.
8577 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8579 2012-07-31 David S. Miller <davem@davemloft.net>
8581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8583 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8586 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8587 value between 1.0 and 2.0 and smaller part has absolute value less
8589 * math/s_clog10.c (__clog10): Likewise.
8590 * math/s_clog10f.c (__clog10f): Likewise.
8591 * math/s_clog10l.c (__clog10l): Likewise.
8592 * math/s_clogf.c (__clogf): Likewise.
8593 * math/s_clogl.c (__clogl): Likewise.
8594 * math/libm-test.inc (clog_test): Add more tests.
8595 (clog10_test): Likewise.
8596 * sysdeps/i386/fpu/libm-test-ulps: Update.
8597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8599 2012-07-31 Florian Weimer <fweimer@redhat.com>
8601 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8602 Exit with zero in case no suitable GID is found, and write a
8603 message to standard error.
8605 2012-07-30 Roland McGrath <roland@hack.frob.com>
8607 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8609 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8610 (MAXPATHLEN): Removed.
8611 (NOGROUP, NODEV): New macros.
8612 (setbit, clrbit, isset, isclr): New macros.
8613 (howmany, roundup, powerof2): New macros.
8614 (DEV_BSIZE): New macro.
8616 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8617 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8619 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8620 definition on [!__NO_LONG_DOUBLE_MATH].
8622 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8623 PTR_MANGLE and PTR_DEMANGLE.
8625 * socket/accept4.c (accept4): Rename to __libc_accept4.
8626 Define accept4 as a weak alias.
8628 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8629 on [_DIRENT_HAVE_D_TYPE].
8630 * io/ftw.c (ftw_dir): Likewise.
8632 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8634 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8636 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8637 Use the BSD numbers rather than the arbitrary ones we had.
8638 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8639 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8640 (SIGXCPU, SIGXFSZ): New macros.
8643 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8644 initializer on [_LIBC_REENTRANT].
8646 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8647 definitions inside [_POSIX_MAPPED_FILES].
8649 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8651 * dirent/opendir.c: Include <fcntl.h>.
8653 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8654 (__libc_getspecific): Likewise.
8655 (__libc_key_create): Likewise.
8657 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8658 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8659 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8660 (tmpfile64): Define as alias.
8661 * sysdeps/wordsize-64/tmpfile.c: File removed.
8662 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8663 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8664 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8666 * stdio-common/vfscanf.c: Include <stdbool.h>.
8667 * nss/makedb.c: Likewise.
8668 * stdio-common/_i18n_number.h: Likewise.
8669 * argp/argp-help.c: Likewise.
8670 * posix/wordexp.c: Likewise.
8671 * sysdeps/posix/spawni.c: Likewise.
8672 * nss/nss_files/files-initgroups.c: Likewise.
8673 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8674 * nss/nss_files/files-initgroups.c: Likewise.
8675 * nss/nss_db/db-netgrp.c: Likewise.
8676 * nss/nss_db/db-initgroups.c: Likewise.
8677 * io/fchmodat.c: Include <sys/stat.h>.
8679 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8680 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8682 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8685 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8686 Add multiple inclusion protection.
8688 2012-07-27 David S. Miller <davem@davemloft.net>
8690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8692 2012-07-27 Gary Benson <gbenson@redhat.com>
8695 * elf/rtld.c: Include <stap-probe.h>.
8696 (dl_main): Added static probes "init_start" and "init_complete".
8697 * elf/dl-load.c: Include <stap-probe.h>.
8698 (lose): Take new parameter "nsid".
8699 Added static probe "map_failed".
8700 (_dl_map_object_from_fd): Pass namespace id to lose.
8701 Added static probe "map_start".
8702 (open_verify): Pass namespace id to lose.
8703 * elf/dl-open.c: Include <stap-probe.h>.
8704 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8705 and "reloc_complete".
8706 * elf/dl-close.c: Include <stap-probe.h>.
8707 (_dl_close_worker): Added static probes "unmap_start" and
8709 * elf/rtld-debugger-interface.txt: New file documenting the above.
8711 2012-07-26 Roland McGrath <roland@hack.frob.com>
8713 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8714 rather than a string variable.
8715 * sunrpc/rpc_main.c (h_output): Likewise.
8716 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8718 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8720 * inet/check_native.c: New file.
8722 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8725 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8726 if larger part has absolute value 1.0.
8727 * math/s_clog10.c (__clog10): Likewise.
8728 * math/s_clog10f.c (__clog10f): Likewise.
8729 * math/s_clog10l.c (__clog10l): Likewise.
8730 * math/s_clogf.c (__clogf): Likewise.
8731 * math/s_clogl.c (__clogl): Likewise.
8732 * math/libm-test.inc (clog_test): Add more tests.
8733 (clog10_test): Likewise.
8734 * sysdeps/i386/fpu/libm-test-ulps: Update.
8735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8737 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8738 (pltexit): Likewise.
8739 (La_regs): Likewise.
8740 (La_retval): Likewise.
8741 (int_retval): Likewise.
8742 Update #error for removed macros to refer only to definitions in
8744 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8746 (pltexit): Likewise.
8747 (La_regs): Likewise.
8748 (La_retval): Likewise.
8749 (int_retval): Likewise.
8750 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8752 (pltexit): Likewise.
8753 (La_regs): Likewise.
8754 (La_retval): Likewise.
8755 (int_retval): Likewise.
8756 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8758 (pltexit): Likewise.
8759 (La_regs): Likewise.
8760 (La_retval): Likewise.
8761 (int_retval): Likewise.
8762 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8764 (pltexit): Likewise.
8765 (La_regs): Likewise.
8766 (La_retval): Likewise.
8767 (int_retval): Likewise.
8768 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8770 (pltexit): Likewise.
8771 (La_regs): Likewise.
8772 (La_retval): Likewise.
8773 (int_retval): Likewise.
8774 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8776 (pltexit): Likewise.
8777 (La_regs): Likewise.
8778 (La_retval): Likewise.
8779 (int_retval): Likewise.
8780 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8781 macro definitions in tst-audit.h.
8782 * sysdeps/i386/tst-audit.h: New file.
8783 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8784 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8785 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8786 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8787 * sysdeps/sh/tst-audit.h: Likewise.
8788 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8789 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8790 * sysdeps/x86_64/tst-audit.h: Likewise.
8792 2012-07-26 Andreas Jaeger <aj@suse.de>
8794 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8797 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8798 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8799 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8801 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8802 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8803 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8805 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8808 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8810 (si_call_addr, si_syscall, si_arch): Define new macro.
8811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8813 (si_call_addr, si_syscall, si_arch): Define new marcro.
8814 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8816 (si_call_addr, si_syscall, si_arch): Define new macro.
8817 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8819 (si_call_addr, si_syscall, si_arch): Define new macro.
8821 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8825 Change to 2.4.21 where previously 2.4.1.
8826 * sysdeps/unix/sysv/linux/configure: Regenerated.
8827 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8828 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8829 Linux kernel version.
8830 (__ASSUME_STD_AUXV): Remove.
8831 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8833 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8834 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8835 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8836 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8837 (__ASSUME_NETLINK_SUPPORT): Likewise.
8838 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8839 (__no_netlink_support): Remove conditional definition.
8840 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8842 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8843 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8844 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8845 (if_nameindex_ioctl): Remove.
8846 (if_nameindex_netlink): Do not handle __no_netlink_support.
8847 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8849 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8850 Remove conditional code.
8851 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8853 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8855 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8856 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8857 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8859 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8860 [!__ASSUME_STD_AUXV]: Remove conditional code.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8862 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8863 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8865 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8866 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8868 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8870 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8871 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8873 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8875 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8878 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8881 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8883 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8885 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8887 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8890 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8892 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8895 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8897 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8899 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8901 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8904 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8906 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8908 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8910 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8913 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8915 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8916 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8917 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8918 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8919 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8920 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8921 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8922 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8923 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8924 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8925 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8926 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8927 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8928 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8929 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8930 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8931 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8933 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8935 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8936 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8937 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8939 2012-07-25 Florian Weimer <fweimer@redhat.com>
8941 * Versions.def: Add GLIBC_2.17.
8942 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8943 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8944 Introduce __libc_secure_getenv.
8945 * stdlib/Versions (2.17): Add secure_getenv
8946 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8947 * stdlib/secure-getenv.c: Rename __secure_getenv to
8948 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8949 symbol __secure_getenv for GLIBC_2.0.
8950 * stdlib/tst-secure-getenv.c: New.
8951 * stdlib/Makefile (tests): Add testcase.
8952 * manual/startup.texi (Environment Access): Document
8954 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8955 __libc_secure_getenv.
8956 * inet/ruserpass.c (ruserpass): Likewise.
8957 * malloc/mtrace.c (mtrace): Likewise.
8958 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8959 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8960 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8961 * sysdeps/posix/tempname.c: Likewise. Evaluate
8963 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8964 __secure_getenv to __libc_secure_getenv.
8965 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8972 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8978 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8980 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8981 (struct La_i86_retval): Likewise.
8982 (struct La_x86_64_regs): Likewise.
8983 (struct La_x86_64_retval): Likewise.
8984 (struct La_x32_regs): Likewise.
8985 (struct La_x32_retval): Likewise.
8986 (struct La_ppc32_regs): Likewise.
8987 (struct La_ppc32_retval): Likewise.
8988 (struct La_ppc64_regs): Likewise.
8989 (struct La_ppc64_retval): Likewise.
8990 (struct La_sh_regs): Likewise.
8991 (struct La_sh_retval): Likewise.
8992 (struct La_s390_32_regs): Likewise.
8993 (struct La_s390_32_retval): Likewise.
8994 (struct La_s390_64_regs): Likewise.
8995 (struct La_s390_64_retval): Likewise.
8996 (struct La_sparc32_regs): Likewise.
8997 (struct La_sparc32_retval): Likewise.
8998 (struct La_sparc64_regs): Likewise.
8999 (struct La_sparc64_retval): Likewise.
9000 (struct audit_ifaces): Remove architecture-specific pltenter and
9002 * sysdeps/i386/ldsodefs.h: New file.
9003 * sysdeps/powerpc/ldsodefs.h: Likewise.
9004 * sysdeps/s390/ldsodefs.h: Likewise.
9005 * sysdeps/sh/ldsodefs.h: Likewise.
9006 * sysdeps/sparc/ldsodefs.h: Likewise.
9007 * sysdeps/x86_64/ldsodefs.h: Likewise.
9009 2012-07-25 Marek Polacek <polacek@redhat.com>
9012 * math/libm-test.inc (yn_test): Add another test.
9013 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9014 to ERANGE when the result is +-Inf.
9015 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9016 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9017 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9018 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9020 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9022 * conform/data/time.h-data (NULL): Use macro-constant. Require
9024 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9026 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9028 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9030 * configure.in <sysdeps resolving>: Correct printing
9032 * configure: Regenerate.
9034 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9036 * math/w_ilogb.c: Include <limits.h>.
9037 * math/w_ilogbl.c: Likewise.
9039 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9041 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9042 va_copy. Document allowing for unavailable va_copy only as
9043 pre-C99 compatibility.
9044 * manual/string.texi (Copying and Concatenation): Use va_copy
9045 instead of __va_copy in concat example.
9047 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9049 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9050 (__sendto): Use create_address_port. Initialize APORT and deallocate
9053 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9054 with O_NOLINK passed to __file_name_lookup.
9056 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9057 with O_NOLINK passed to __file_name_lookup.
9059 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9060 negative N or less than NGIDS.
9062 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9063 type to string_t. Set ERANGE as errno and return it if NAME is not big
9064 enough. Use memcpy instead of strncpy.
9066 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9068 * elf/Makefile (check-data): Remove.
9069 (localplt.data): New vpath directive.
9070 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9071 instead of $(check-data).
9072 * scripts/data/localplt-generic.data: Move to ...
9073 * sysdeps/generic/localplt.data: ... here.
9074 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9075 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9076 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9079 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9082 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9085 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9088 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9091 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9095 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9097 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9098 PPC32 and PPC64 files.
9099 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9100 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9102 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9104 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9105 __makecontext_ret to ...
9106 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9107 ... here and call exit if uc_link is NULL. New file.
9108 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9109 __makecontext_ret.S.
9110 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9111 __makecontext_ret to ...
9112 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9113 ... here and call exit if uc_link is NULL. New file.
9114 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9115 __makecontext_ret.S.
9117 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9119 * elf/elf.h (R_390_IRELATIVE): New definition.
9120 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9121 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9122 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9123 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9124 (elf_machine_lazy_rel): Likewise.
9125 * sysdeps/s390/dl-irel.h: New file.
9126 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9127 * sysdeps/s390/s390-64/memset.S: New asm code.
9128 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9129 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9130 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9131 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9132 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9133 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9134 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9135 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9136 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9137 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9138 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9139 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9140 * sysdeps/s390/s390-32/memset.S: New asm code.
9141 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9143 2012-07-17 Marek Polacek <polacek@redhat.com>
9146 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9147 * sysdeps/s390/s390-64/configure.in: Likewise.
9148 * sysdeps/sparc/configure.in: Likewise.
9149 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9150 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9151 * sysdeps/i386/configure.in: Likewise.
9152 * sysdeps/x86_64/configure.in: Likewise.
9153 * sysdeps/sh/configure.in: Likewise.
9154 * sysdeps/s390/s390-32/configure: Regenerated.
9155 * sysdeps/s390/s390-64/configure: Likewise.
9156 * sysdeps/x86_64/configure: Likewise.
9157 * sysdeps/sh/configure: Likewise.
9158 * sysdeps/powerpc/powerpc64/configure: Likewise.
9159 * sysdeps/powerpc/powerpc32/configure: Likewise.
9160 * sysdeps/sparc/configure: Likwise.
9161 * sysdeps/i386/configure: Likewise.
9163 * elf/dl-open.c: Comment fixes.
9165 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9167 * Makefile [CXX] (check-data): Remove.
9168 [CXX] (c++-types.data): New vpath directive.
9169 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9170 vpath. Do not allow for C++ type data being missing.
9171 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9172 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9173 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9174 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9175 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9176 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9177 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9180 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9183 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9186 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9189 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9192 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9195 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9198 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9201 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9202 definitions to architecture-specific files.
9206 * sysdeps/i386/tls-macros.h: New file.
9207 * sysdeps/powerpc/tls-macros.h: Likewise.
9208 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9209 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9210 * sysdeps/sh/tls-macros.h: Likewise.
9211 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9212 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9213 * sysdeps/x86_64/tls-macros.h: Likewise.
9215 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9217 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9218 zero value for regular exit case.
9220 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9221 (__start_context): Preserve zero value for regular exit case.
9223 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9224 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9226 * manual/setjmp.texi (setcontext): Clarify normal process
9227 termination when uc_link is the null pointer.
9228 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9231 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9233 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9234 preprocessor. Test for each exception mask separately.
9236 2012-07-16 Andreas Jaeger <aj@suse.de>
9238 * po/ru.po: Update from translation team.
9240 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9242 * conform/data/string.h-data (NULL): Use macro-constant. Require
9244 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9245 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9246 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9247 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9248 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9250 2012-07-13 Andreas Jaeger <aj@suse.de>
9252 * po/fr.po: Update from translation team.
9254 2012-07-12 Marek Polacek <polacek@redhat.com>
9257 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9258 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9261 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9264 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9265 Change to 2.4.1 where previously 2.4.0.
9266 * sysdeps/unix/sysv/linux/configure: Regenerated.
9267 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9268 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9270 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9271 (__ASSUME_AT_CLKTCK): Remove.
9272 (__ASSUME_AT_PAGESIZE): Likewise.
9273 (__ASSUME_AT_XID): Likewise.
9274 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9275 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9276 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9278 (HAVE_AUX_PAGESIZE): Likewise.
9279 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9280 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9281 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9283 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9287 the temporary buffer used to invoke __gethostbyname2_r,
9288 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9289 host_data / struct gaih_addrtuple.
9290 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9291 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9292 header file nss/nsswitch.h.
9293 * nss/nsswitch.h (global scope): Add definition of implementation
9294 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9295 resolv/nss_dns/dns-host.c).
9297 2012-07-11 Andreas Jaeger <aj@suse.de>
9299 * po/fr.po: Update from translation team.
9301 * po/sv.po: Update from translation team
9302 * po/fr.po: Another update from translation team.
9304 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9306 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9307 for subnormals or multiply small sinh result by itself.
9308 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9311 2012-07-11 David S. Miller <davem@davemloft.net>
9313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9315 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9318 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9319 (INTERNAL_MARK): Shift it here.
9321 2012-07-10 Marek Polacek <polacek@redhat.com>
9324 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9325 libc_cv_asm_global_directive with .globl.
9326 * configure: Regenerated.
9327 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9329 * sysdeps/i386/configure: Regenerated.
9330 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9332 * sysdeps/x86_64/configure: Regenerated.
9333 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9334 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9335 * elf/tst-unique2mod2.c: Likewise.
9336 * elf/tst-unique2mod1.c: Likewise.
9337 * elf/tst-unique1mod2.c: Likewise.
9338 * elf/tst-unique1mod1.c: Likewise.
9339 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9340 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9341 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9342 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9343 * sysdeps/mach/sysdep.h: Likewise.
9344 * sysdeps/i386/sysdep.h: Likewise.
9345 * sysdeps/i386/i386-mcount.S: Likewise.
9346 * sysdeps/x86_64/_mcount.S: Likewise.
9347 * sysdeps/x86_64/sysdep.h: Likewise.
9348 * sysdeps/sh/_mcount.S: Likewise.
9349 * sysdeps/sh/sysdep.h: Likewise.
9350 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9351 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9352 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9353 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9354 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9355 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9356 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9357 * locale/localeinfo.h: Likewise.
9358 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9359 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9361 2012-07-09 Roland McGrath <roland@hack.frob.com>
9364 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9366 * manual/message.texi (The Uniforum approach): Likewise.
9367 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9368 (glibc iconv Implementation): Likewise.
9370 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9373 * math/s_clog.c (__clog): Avoid scaling a value down where that
9374 could result in underflow.
9375 * math/s_clog10.c (__clog10): Likewise.
9376 * math/s_clog10f.c (__clog10f): Likewise.
9377 * math/s_clog10l.c (__clog10l): Likewise.
9378 * math/s_clogf.c (__clogf): Likewise.
9379 * math/s_clogl.c (__clogl): Likewise.
9380 * math/libm-test.inc (clog_test): Add more tests.
9381 (clog10_test): Likewise.
9382 * sysdeps/i386/fpu/libm-test-ulps: Update.
9383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9385 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9388 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9389 by 7 not 8 to examine high bit of fractional part.
9392 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9393 for call to __mcount_internal.
9394 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9395 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9396 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9398 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9401 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9402 approximation for values within 0x1p-13f of an odd multiple of
9404 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9405 exception. Add more tests.
9406 * sysdeps/i386/fpu/libm-test-ulps: Update.
9409 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9410 inputs and return -1 for them. Do not check for +Inf in case not
9412 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9413 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9415 and return -1 for them. Do not check for +Inf in case not
9417 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9419 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9420 and return -1 for them. Do not check for +Inf in case not
9422 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9424 * sysdeps/i386/fpu/libm-test-ulps: Update.
9425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9427 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9429 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9431 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9435 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9436 could result in spurious underflow. Scale down values above
9437 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9438 * math/s_csqrtf.c (__csqrtf): Likewise.
9439 * math/s_csqrtl.c (__csqrtl): Likewise.
9440 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9442 * sysdeps/i386/fpu/libm-test-ulps: Update.
9443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9445 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9447 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9449 * catgets/xopen-msg.awk: New file.
9450 * catgets/xopen-msg.sed: Removed.
9452 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9454 * intl/po2test.awk: New file.
9455 * intl/po2test.sed: Removed.
9457 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9460 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9461 or multiply small sinh result by itself.
9462 * math/s_ctanf.c (__ctanf): Likewise.
9463 * math/s_ctanh.c (__ctanh): Likewise.
9464 * math/s_ctanhf.c (__ctanhf): Likewise.
9465 * math/s_ctanhl.c (__ctanhl): Likewise.
9466 * math/s_ctanl.c (__ctanl): Likewise.
9467 * math/libm-test.inc (ctan_test_tonearest): New function.
9468 (ctan_test_towardzero): Likewise.
9469 (ctan_test_downward): Likewise.
9470 (ctan_test_upward): Likewise.
9471 (ctanh_test_tonearest): Likewise.
9472 (ctanh_test_towardzero): Likewise.
9473 (ctanh_test_downward): Likewise.
9474 (ctanh_test_upward): Likewise.
9475 (main): Call these new functions.
9476 * sysdeps/i386/fpu/libm-test-ulps: Update.
9477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9479 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9481 * .gitignore: Delete /ports entry.
9483 2012-07-03 Andreas Jaeger <aj@suse.de>
9485 * po/bg.po: Update from translation team.
9486 * po/cs.po: Likewise.
9487 * po/de.po: Likewise.
9488 * po/hr.po: Likewise.
9489 * po/nl.pl: Likewise.
9490 * po/pl.po: Likewise.
9491 * po/vi.po: Likewise.
9493 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9495 * Makeconfig [!+link] (+link-before-libc): New variable.
9496 [!+link] (+link-after-libc): Likewise.
9497 [!+link] (+link-tests): Likewise.
9498 [!+link] (+link): Define in terms of $(+link-before-libc) and
9499 $(+link-after-libc).
9500 [!+link-static] (+link-static-before-libc): New variable.
9501 [!+link-static] (+link-static-after-libc): Likewise.
9502 [!+link-static] (+link-static-tests): Likewise.
9503 [!+link-static] (+link-static): Define in terms of
9504 $(+link-static-before-libc) and $(+link-static-after-libc).
9505 [build-shared] (link-libc-before-gnulib): New variable.
9506 [build-shared] (link-libc-tests): Likewise.
9507 [build-shared] (link-libc): Define in terms of
9508 $(link-libc-before-gnulib).
9509 [!build-shared] (link-libc-tests): New variable.
9510 (link-libc-static-tests): New variable.
9511 [!gnulib] (gnulib-arch): New variable.
9512 [!gnulib] (gnulib-tests): Likewise.
9513 [!gnulib] (static-gnulib-arch): Likewise.
9514 [!gnulib] (static-gnulib-tests): Likewise.
9515 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9516 Define with "=" instead of ":=".
9517 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9518 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9519 * Rules (binaries-all-notests): New variable.
9520 (binaries-all-tests): Likewise.
9521 (binaries-static-notests): Likewise.
9522 (binaries-static-tests): Likewise.
9523 (binaries-all): Define using $(binaries-all-notests) and
9524 $(binaries-all-tests).
9525 (binaries-static): Define using $(binaries-static-notests) and
9526 $(binaries-static-tests).
9527 (binaries-shared-tests): New variable.
9528 (binaries-shared-notests): Likewise.
9529 (binaries-shared): Remove variable.
9530 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9531 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9532 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9533 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9534 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9535 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9536 * elf/Makefile (sln-modules): New variable.
9537 (extra-objs): Add $(sln-modules:=.o).
9538 (ldconfig-modules): Add static-stubs.
9539 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9540 * elf/static-stubs.c: New file.
9543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9544 by 7 not 8 to examine high bit of fractional part. Use volatile
9545 variables when splitting into final array of floats if
9546 __FLT_EVAL_METHOD__ != 0.
9547 * math/libm-test.inc (cos_test): Add another test.
9548 (sin_test): Likewise.
9549 * sysdeps/i386/fpu/libm-test-ulps: Update.
9552 * math/libm-test.inc (cosh_test): Add more tests.
9554 * version.h (RELEASE): Set to "development".
9555 (VERSION): Set to "2.16.90".
9557 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9559 * NEWS: Update copyright. Remove last-updated date.
9560 Mention math library bug fixes and timezone data changes.
9561 * README: Mention GNU/Hurd, x32, and HPPA support status.
9563 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9565 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9567 2012-06-27 Andreas Jaeger <aj@suse.de>
9569 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9571 2012-06-25 Andreas Jaeger <aj@suse.de>
9573 * sysdeps/s390/fpu/libm-test-ulps: Update.
9575 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9576 Thomas Schwinge <thomas@codesourcery.com>
9578 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9579 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9583 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9585 * sysdeps/mach/start.c: Remove file.
9586 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9587 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9588 * sysdeps/sh/init-first.c: Likewise.
9590 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9591 registers for frame unwinding purposes, add CFI directives.
9592 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9593 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9594 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9597 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9598 __fortify_fail returning.
9599 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9601 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9602 sysdeps/sh/____longjmp_chk.S.
9603 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9604 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9605 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9606 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9608 * sysdeps/sh/abort-instr.h: New file.
9609 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9610 process in case exit returns.
9612 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9613 initialize the GOT register before use.
9615 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9616 calculation of ARGC > 4.
9618 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9619 meaningful names to some local labels.
9621 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9622 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9624 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9625 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9626 (__arch_compare_and_exchange_val_16_acq): Likewise.
9627 (__arch_compare_and_exchange_val_32_acq): Likewise.
9628 (atomic_exchange_and_add): Fix gUSA sequence.
9629 (atomic_add): Likewise.
9630 (atomic_add_negative): Likewise.
9631 (atomic_add_zero): Likewise.
9632 (atomic_bit_test_set): Likewise.
9634 2012-06-22 Andreas Schwab <schwab@redhat.com>
9637 * include/link.h (struct link_map): Add l_free_initfini.
9638 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9640 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9641 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9642 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9645 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9647 * configure.in: Use AC_LANG_SOURCE.
9648 * configure: Regenerate.
9650 2012-06-22 Roland McGrath <roland@hack.frob.com>
9652 * configure.in (libc_cv_localstatedir): New substituted variable.
9653 * configure: Regenerated.
9654 * config.make.in (localstatedir): New variable, substituted from
9655 libc_cv_localstatedir.
9656 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9657 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9658 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9659 * sysdeps/gnu/configure: Regenerated.
9661 2012-06-21 Jeff Law <law@redhat.com>
9664 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9665 free. Simplify list management for _LIBC case.
9667 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9670 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9671 Clear sign bit of 64-bit integer value before comparing against
9674 * sysdeps/mach/configure: Regenerated.
9676 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9679 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9681 2012-06-21 Jeff Law <law@redhat.com>
9684 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9685 uint16_t for elements in the "seen" array to avoid char overflows.
9686 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9687 * elf/dl-open.c (dl_open_worker): Likewise.
9689 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9691 * scripts/list-sources.sh: Scan PORTS for translations.
9692 * po/libc.pot: Regenerated.
9694 2012-06-21 Andreas Jaeger <aj@suse.de>
9697 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9699 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9700 * bits/byteswap-16.h (__bswap_16): Likewise.
9701 * bits/byteswap.h (__bswap_constant_16): Likewise.
9703 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9706 * sysdeps/i386/fpu_control.h: Removed.
9707 * sysdeps/x86_64/fpu_control.h: Moved to ...
9708 * sysdeps/x86/fpu_control.h: Here.
9710 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9711 (_FPU_SETCW): Likewise.
9713 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9716 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9717 * sysdeps/x86/fpu/bits/mathinline.h: This.
9718 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9722 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9723 functions if __x86_64__ is defined.
9725 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9727 * string/endian.h: Add !__ASSEMBLER__ condition for including
9728 conversion interfaces.
9730 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9733 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9734 of ABS(x) in calculating zero to negative powers other than odd
9736 * math/libm-test.inc (pow_test): Add more tests.
9738 2012-06-15 Andreas Jaeger <aj@suse.de>
9740 * manual/contrib.texi (Contributors): Update entry of Liubov
9741 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9744 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9746 * string/string.h: Add __wur to GNU version of strerror_r.
9748 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9751 * string/Makefile (tests): Add tst-strtok_r.
9752 * string/tst-strtok_r.c: New file.
9753 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9754 RAX_LP/RDX_LP on SAVE_PTR.
9756 2012-06-14 Roland McGrath <roland@hack.frob.com>
9758 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9760 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9762 * libm_test.inc (csqrt_test): Allow more spurious underflow
9764 (j0_test): Likewise.
9765 (j1_test): Likewise.
9766 (y0_test): Likewise.
9767 (y1_test): Likewise.
9769 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9771 * po/Makefile (libc.pot): Use UTF-8 charset.
9773 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9776 Suppress sign-conversion warning from FD_SET.
9777 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9778 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9779 not unsigned long int.
9780 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9782 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9786 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9787 __extern_always_inline instead of __extern_inline.
9788 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9789 (__signbit): Likewise.
9790 (__signbitl): Support C++ namespace.
9791 (lrintf): New inline function.
9793 (llrintf): Likewise.
9805 (nearbyint): Likewise.
9806 (nearbyintf): Likewise.
9808 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9810 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9811 non-default versions.
9813 2012-06-11 Roland McGrath <roland@hack.frob.com>
9816 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9818 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9820 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9821 (FE_UPWARD, FE_DOWNWARD): Don't define.
9822 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9823 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9825 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9827 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9828 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9830 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9832 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9833 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9834 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9835 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9837 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9840 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9841 * sysdeps/i386/fpu/Implies: New file.
9842 * sysdeps/x86_64/fpu/Implies: Likewise.
9843 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9844 * sysdeps/x86/fpu/bits/fenv.h: This.
9846 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9849 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9852 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9853 character 0xffff that matches the last element of the
9856 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9858 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9861 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9864 values higher than 25.6283.
9866 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9868 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9869 subnormal exponent extraction and add some __builtin_expect.
9870 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9871 Fix for subnormal mantissa calculation.
9873 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9875 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9876 cpu2 is -1 and errno is not ENOSYS.
9878 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9881 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9882 * sysdeps/x86/bits/string.h: This.
9883 * sysdeps/x86_64/bits/string.h: Removed.
9885 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9886 if not compiling for x86-64, but compiling for >= i486.
9888 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9889 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9891 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9892 New macro from Linux kernel 3.4.0.
9893 (FP_XSTATE_MAGIC2): Likewise.
9894 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9895 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9896 (struct _fpx_sw_bytes): New struct.
9897 (struct _xsave_hdr): Likewise.
9898 (struct _ymmh_state): Likewise.
9899 (struct _xstate): Likewise.
9901 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9902 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9903 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9904 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9905 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9906 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9908 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9909 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9910 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9911 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9912 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9913 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9915 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9918 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9919 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9920 (sysdep_headers): Include sys/platform/ppc.h.
9921 * sysdeps/powerpc/test-gettimebase.c: Test for
9922 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9923 * manual/Makefile (appendices): Include platform.texi.
9924 * manual/contrib.texi (Contributors): Update @node pointers.
9925 * manual/maint.texi (Maintenance): Likewise.
9926 (Platform): New node.
9927 * manual/platform.texi: New file. Document the new features.
9929 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9930 Jakub Jelinek <jakub@redhat.com>
9933 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9934 where __builtin_expect is unavailable.
9936 2012-06-03 David S. Miller <davem@davemloft.net>
9938 * stdlib/longlong.h: Updated from GCC.
9940 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9943 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9944 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9947 (GLIBC_2.16): Likewise.
9949 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9951 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9953 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9956 (default-abi): New variable.
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9958 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9960 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9962 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9964 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9967 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9968 definition. Document in comment.
9970 2012-06-01 David S. Miller <davem@davemloft.net>
9972 * stdlib/longlong.h: Updated from GCC.
9974 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9977 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9978 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9979 sys/debugreg.h sys/io.h here.
9980 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9981 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9983 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9984 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9985 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9986 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9987 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9988 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9990 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9991 Define only if __x86_64__ is defined.
9993 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9997 Use int64_t for variable i.
9998 * math/libm-test.inc (fmod_test): Add more tests.
10000 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10001 z computation is not scheduled after fetestexcept.
10002 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10003 Use math_force_eval instead of asm to ensure calculation scheduled
10004 before exception test.
10005 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10006 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10008 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10011 computation is not scheduled after fetestexcept.
10013 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10016 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10017 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10019 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10021 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10022 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10024 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10027 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10029 (__WCHAR_MIN): Support __WORDSIZE == 64.
10030 (__WCHAR_MAX): Likewise.
10032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10033 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10037 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10040 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10041 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10043 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10044 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10046 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10047 Defined to 1 if __x86_64__ isn't defined.
10048 (_STAT_VER_LINUX_OLD): New.
10049 (st_atime): Remove duplicate.
10050 (st_mtime): Likewise.
10051 (st_ctime): Likewise.
10053 2012-05-31 David S. Miller <davem@davemloft.net>
10055 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10058 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10060 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10064 * elf/dl-reloc.c: Include <_itoa.h>.
10065 (_dl_reloc_bad_type): Remove use of INTUSE.
10066 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10067 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10068 * stdio-common/psiginfo.c (psiginfo): Likewise.
10069 * stdio-common/psignal.c (psignal): Likewise.
10070 * string/strsignal.c (strsignal): Likewise.
10071 * include/signal.h (_sys_siglist): Declare hidden proto.
10072 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10073 INTVARDEF with libc_hidden_data_def.
10074 * stdio-common/itoa-udigits.c: Likewise.
10075 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10076 (_itoa_lower_digits_internal): Remove declaration.
10077 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10078 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10079 (_sys_sigabbrev_internal): Remove aliases.
10080 (_sys_siglist): Define hidden alias.
10082 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10087 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10090 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10091 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10093 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10094 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10095 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10096 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10097 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10098 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10100 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10101 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10102 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10104 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10113 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10114 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10116 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10117 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10118 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10119 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10120 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10121 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10123 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10124 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10126 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10127 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10129 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10130 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10131 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10133 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10134 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10136 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10138 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10139 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10140 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10142 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10144 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10146 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10148 * math/math.h (M_El): Use two more decimal places.
10149 (M_LOG2El): Likewise.
10150 (M_LOG10El): Likewise.
10151 (M_LN2l): Likewise.
10152 (M_LN10l): Likewise.
10154 (M_PI_2l): Likewise.
10155 (M_PI_4l): Likewise.
10156 (M_1_PIl): Likewise.
10157 (M_2_PIl): Likewise.
10158 (M_2_SQRTPIl): Likewise.
10159 (M_SQRT2l): Likewise.
10160 (M_SQRT1_2l): Likewise.
10162 2012-05-31 David S. Miller <davem@davemloft.net>
10164 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10165 values between float registers.
10166 * sysdeps/sparc/sparc64/memset.S: Likewise.
10167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10169 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10171 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10172 -D_FORTIFY_SOURCE=1.
10173 (CPPFLAGS-tst-longjmp_chk.c): Define.
10174 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10175 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10176 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10177 CFLAGS-tst-wchar-h.c.
10179 2012-05-31 Marek Polacek <polacek@redhat.com>
10182 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10183 __endmntent_internal): Remove declaration.
10184 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10185 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10186 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10188 2012-05-30 David S. Miller <davem@davemloft.net>
10190 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10191 (___Q_simulate_exceptions): Use real FP ops rather than writing
10193 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10196 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10199 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10200 * sysdeps/x86/bits/xtitypes.h: This.
10202 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10203 * sysdeps/x86/bits/wordsize.h: This.
10205 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10206 * sysdeps/x86/bits/huge_vall.h: This.
10208 * sysdeps/i386/bits/select.h: Removed.
10209 * sysdeps/x86_64/bits/select.h: Renamed to ...
10210 * sysdeps/x86/bits/select.h: This.
10212 * sysdeps/i386/bits/setjmp.h: Removed.
10213 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10214 * sysdeps/x86/bits/setjmp.h: This.
10216 * sysdeps/i386/bits/mathdef.h: Removed.
10217 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10218 * sysdeps/x86/bits/mathdef.h: This.
10220 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10223 * include/sys/socket.h (__connect_internal)
10224 (__libc_sa_len_internal): Remove declaration.
10225 (__connect, __libc_sa_len): Declare hidden_proto.
10226 (SA_LEN): Remove use of INTUSE.
10227 * socket/connect.c: Add libc_hidden_def.
10228 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10229 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10230 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10232 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10233 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10234 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10235 of adding _internal alias.
10237 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10240 * sysdeps/i386/bits/link.h: Removed.
10241 * sysdeps/i386/bits/linkmap.h: Likewise.
10242 * sysdeps/x86_64/bits/link.h: Renamed to ...
10243 * sysdeps/x86/bits/link.h: This.
10244 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10245 * sysdeps/x86/bits/linkmap.h: This.
10247 * sysdeps/i386/bits/endian.h: Removed.
10248 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10249 * sysdeps/x86/bits/endian.h: This.
10251 * sysdeps/i386/bits/byteswap.h: Removed.
10252 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10253 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10254 * sysdeps/x86/bits/byteswap.h: This.
10255 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10256 * sysdeps/x86/bits/byteswap-16.h: This.
10257 * sysdeps/i386/Implies: Add x86.
10258 * sysdeps/x86_64/Implies: Likewise.
10260 2012-05-30 David S. Miller <davem@davemloft.net>
10262 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10263 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10264 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10265 (FP_TRAPPING_EXCEPTIONS): Define.
10266 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10267 (FP_TRAPPING_EXCEPTIONS): Define.
10268 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10269 subnormals only when inexact has been signalled or underflow
10270 exceptions are enabled.
10271 (_FP_PACK_CANONICAL): Likewise.
10273 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10276 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10277 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10279 2012-05-30 Richard Henderson <rth@twiddle.net>
10281 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10282 with #ifndef NOT_IN_libc.
10284 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10285 marked to avoid plt entry.
10287 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10290 * Makeconfig (default-abi): New macro.
10291 (abi-includes): Likewise.
10292 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10293 $(abi-$(default-abi)-lib-soname) for soname if defined.
10294 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10296 * Makefile (installed-stubs): Likewise.
10297 * include/stubs-biarch.h: Removed.
10298 * scripts/lib-names.awk: Only handle one library at a time.
10299 * scripts/soversions.awk: Remove WORDSIZE support.
10300 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10302 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10304 (syscall-list-default-condition): Likewise.
10305 (syscall-list-default-condition): Likewise.
10306 (syscall-list-includes): Likewise.
10307 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10308 syscall-list-* with abi-*. Handle undefined abi-variants.
10309 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10310 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10311 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10312 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10313 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10314 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10316 (syscall-list-32-options): Likewise.
10317 (syscall-list-32-condition): Likewise.
10318 (syscall-list-64-options): Likewise.
10319 (syscall-list-64-condition): Likewise.
10320 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10322 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10325 (abi-64-ld-soname): New macro.
10326 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10327 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10330 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10331 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10333 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10335 * sysdeps/unix/sysv/linux/kernel-features.h
10336 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10337 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10338 include <kernel-features.h>.
10339 [!__NR_ftruncate64]: Remove conditional code.
10340 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10341 [__NR_ftruncate64]: Make code unconditional.
10342 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10343 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10344 include <kernel-features.h>.
10345 [!__NR_ftruncate64]: Remove conditional code.
10346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10347 [__NR_ftruncate64]: Make code unconditional.
10348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10350 include <kernel-features.h>.
10351 [!__NR_ftruncate64]: Remove conditional code.
10352 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10353 [__NR_ftruncate64]: Make code unconditional.
10354 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10356 include <kernel-features.h>.
10357 [!__NR_ftruncate64]: Remove conditional code.
10358 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10359 [__NR_ftruncate64]: Make code unconditional.
10360 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10362 * configure.in (libc_cv_fpie): Weaken to a compile test using
10363 LIBC_TRY_CC_OPTION.
10364 * configure: Regenerated.
10366 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10381 2012-05-27 David S. Miller <davem@davemloft.net>
10383 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10385 (__Q_simulate_exceptions): Return void. Change to simulate
10386 exceptions by writing into the %fsr.
10387 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10388 (__Qp_handle_exceptions): Likewise.
10390 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10391 __Qp_handle_exceptions.
10392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10393 __Qp_handle_exceptions.
10394 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10395 as unused and give dummy FP_RND_NEAREST initializer.
10396 (FP_INHIBIT_RESULTS): Define.
10397 (___Q_simulate_exceptions): Update declaration.
10398 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10400 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10401 as unused and give dummy FP_RND_NEAREST initializer.
10402 (__Qp_handle_exceptions): Update declaration.
10403 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10406 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10408 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10409 the temporary FPU control word.
10410 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10411 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10412 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10413 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10414 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10415 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10416 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10417 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10418 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10419 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10420 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10422 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10424 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10427 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10429 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10430 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10431 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10432 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10434 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10435 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10438 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10440 * po/h.po: Update from translation team.
10442 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10444 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10446 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10447 handling of denormals.
10448 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10449 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10450 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10451 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10454 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10457 2012-05-26 Marek Polacek <polacek@redhat.com>
10460 * math/libm-test.inc (fma_test): Don't always expect underflow
10463 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10466 * elf/tst-execstack.c: Include stackinfo.h.
10467 (do_test): Adjust test case to ensure that pthread_getattr_np
10468 behaviour remains the same after marking stack executable.
10470 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10472 * sysdeps/unix/sysv/linux/kernel-features.h
10473 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10474 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10476 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10477 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10478 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10480 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10481 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10483 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10485 * configure.in: Define the default includes to being none.
10486 * configure: Regenerated.
10488 2012-05-25 Roland McGrath <roland@hack.frob.com>
10490 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10491 * sysdeps/x86_64/setjmp.S: Likewise.
10492 * sysdeps/i386/bsd-setjmp.S: Likewise.
10493 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10494 * sysdeps/i386/setjmp.S: Likewise.
10495 * sysdeps/i386/__longjmp.S: Likewise.
10496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10497 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10499 * include/stap-probe.h: New file.
10500 * configure.in: Handle --enable-systemtap.
10501 * configure: Regenerated.
10502 * config.h.in (USE_STAP_PROBE): New #undef.
10503 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10504 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10505 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10507 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10510 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10511 to 2.4.0 where earlier.
10512 * sysdeps/unix/sysv/linux/configure: Regenerated.
10513 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10514 <kernel-features.h>.
10515 [__ASSUME_32BITUIDS]: Make code unconditional.
10516 [!__ASSUME_32BITUIDS]: Remove conditional code.
10517 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10518 <kernel-features.h>.
10519 [__ASSUME_32BITUIDS]: Make code unconditional.
10520 [!__ASSUME_32BITUIDS]: Remove conditional code.
10521 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10522 [__ASSUME_32BITUIDS]: Make code unconditional.
10523 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10524 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
10541 <kernel-features.h>.
10542 [__ASSUME_32BITUIDS]: Make code unconditional.
10543 [!__ASSUME_32BITUIDS]: Remove conditional code.
10544 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10545 <kernel-features.h>.
10546 [__ASSUME_32BITUIDS]: Make code unconditional.
10547 [!__ASSUME_32BITUIDS]: Remove conditional code.
10548 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10549 <kernel-features.h>.
10550 [__ASSUME_32BITUIDS]: Make code unconditional.
10551 [!__ASSUME_32BITUIDS]: Remove conditional code.
10552 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10553 <kernel-features.h>.
10554 [__ASSUME_32BITUIDS]: Make code unconditional.
10555 [!__ASSUME_32BITUIDS]: Remove conditional code.
10556 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10557 <kernel-features.h>.
10558 [__ASSUME_32BITUIDS]: Make code unconditional.
10559 [!__ASSUME_32BITUIDS]: Remove conditional code.
10560 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10561 <kernel-features.h>.
10562 [__ASSUME_32BITUIDS]: Make code unconditional.
10563 [!__ASSUME_32BITUIDS]: Remove conditional code.
10564 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10565 <kernel-features.h>.
10566 [__NR_setresgid] (__setresgid): Do not declare.
10567 [__ASSUME_32BITUIDS]: Make code unconditional.
10568 [!__ASSUME_32BITUIDS]: Remove conditional code.
10569 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10570 <kernel-features.h>.
10571 [__NR_setresuid] (__setresuid): Do not declare.
10572 [__ASSUME_32BITUIDS]: Make code unconditional.
10573 [!__ASSUME_32BITUIDS]: Remove conditional code.
10574 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
10591 <kernel-features.h>.
10592 [__ASSUME_32BITUIDS]: Make code unconditional.
10593 [!__ASSUME_32BITUIDS]: Remove conditional code.
10594 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10595 <kernel-features.h>.
10596 [__ASSUME_32BITUIDS]: Make code unconditional.
10597 [!__ASSUME_32BITUIDS]: Remove conditional code.
10598 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10599 <kernel-features.h>.
10600 [__ASSUME_32BITUIDS]: Make code unconditional.
10601 [!__ASSUME_32BITUIDS]: Remove conditional code.
10602 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10603 <kernel-features.h>.
10604 [__ASSUME_32BITUIDS]: Make code unconditional.
10605 [!__ASSUME_32BITUIDS]: Remove conditional code.
10606 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10607 <kernel-features.h>.
10608 [__ASSUME_32BITUIDS]: Make code unconditional.
10609 [!__ASSUME_32BITUIDS]: Remove conditional code.
10610 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10611 <kernel-features.h>.
10612 [__ASSUME_32BITUIDS]: Make code unconditional.
10613 [!__ASSUME_32BITUIDS]: Remove conditional code.
10614 * sysdeps/unix/sysv/linux/kernel-features.h
10615 (__ASSUME_SETRESUID_SYSCALL): Remove.
10616 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10617 (__ASSUME_32BITUIDS): Likewise.
10618 (__ASSUME_LDT_WORKS): Likewise.
10619 (__ASSUME_O_DIRECTORY): Likewise.
10620 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10621 architecture but not kernel version.
10622 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10623 (__ASSUME_MMAP2_SYSCALL): Likewise.
10624 (__ASSUME_STAT64_SYSCALL): Likewise.
10625 (__ASSUME_IPC64): Likewise.
10626 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10627 <kernel-features.h>.
10628 [__ASSUME_32BITUIDS]: Make code unconditional.
10629 [!__ASSUME_32BITUIDS]: Remove conditional code.
10630 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10631 <kernel-features.h>.
10632 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10633 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10634 132096]: Remove conditional code.
10635 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10636 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10637 <kernel-features.h>.
10638 [__ASSUME_32BITUIDS]: Make code unconditional.
10639 [!__ASSUME_32BITUIDS]: Remove conditional code.
10640 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10641 <kernel-features.h>.
10642 [__ASSUME_32BITUIDS]: Make code unconditional.
10643 [!__ASSUME_32BITUIDS]: Remove conditional code.
10644 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10645 <kernel-features.h>.
10646 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10648 (__setresgid): Do not declare.
10649 [__ASSUME_32BITUIDS]: Make code unconditional.
10650 [!__ASSUME_32BITUIDS]: Remove conditional code.
10651 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10652 <kernel-features.h>.
10653 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10655 (__setresuid): Do not declare.
10656 [__ASSUME_32BITUIDS]: Make code unconditional.
10657 [!__ASSUME_32BITUIDS]: Remove conditional code.
10658 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10659 <kernel-features.h>.
10660 [__ASSUME_32BITUIDS]: Make code unconditional.
10661 [!__ASSUME_32BITUIDS]: Remove conditional code.
10662 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10663 <kernel-features.h>.
10664 [__ASSUME_32BITUIDS]: Make code unconditional.
10665 [!__ASSUME_32BITUIDS]: Remove conditional code.
10667 2012-05-25 Richard Henderson <rth@twiddle.net>
10669 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10670 dl_hwcap to ifunc resolver.
10671 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10673 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10674 dl_hwcap to ifunc resolver.
10675 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10677 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10680 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10681 for |x| <= 2**-26, not 2**-57.
10682 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10685 2012-05-24 Jeff Law <law@redhat.com>
10687 * stdio-common/Makefile (tests): Add bug25.
10688 * stdio-common/bug25.c: New test.
10690 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10693 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10694 multiple of MALLOC_ALIGNMENT in size.
10695 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10697 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10699 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10701 (FILENAME_MAX): Use macro-int-constant.
10702 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10703 (_IOFBF): Use macro-int-constant.
10704 (_IOLBF): Likewise.
10705 (_IONBF): Likewise.
10706 (SEEK_CUR): Likewise.
10707 (SEEK_END): Likewise.
10708 (SEEK_SET): Likewise.
10709 (TMP_MAX): Likewise.
10710 (EOF): Use macro-int-constant. Require < 0.
10711 (NULL): Use macro-constant. Require == 0.
10712 (stdin): Require type to be FILE *.
10713 (stdout): Likewise.
10714 (stderr): Likewise.
10715 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10716 macro-int-constant.
10717 (EXIT_SUCCESS): Likewise.
10718 (NULL): Use macro-constant. Require == 0.
10719 (RAND_MAX): Use macro-int-constant.
10720 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10721 [C99-based standards] (strtof): Require function.
10722 [C99-based standards] (strtold): Likewise.
10723 [C99-based standards] (strtoll): Likewise.
10724 [C99-based standards] (strtoull): Likewise.
10725 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10726 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10727 [ISO || ISO99 || ISO11] (math.h): Likewise.
10728 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10729 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10732 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10735 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10736 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10737 * intl/dgettext.c (DCGETTEXT): Likewise.
10738 * intl/gettext.c (DCGETTEXT): Likewise.
10739 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10740 * posix/regex_internal.h (gettext): Likewise.
10741 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10742 Remove declaration.
10743 * include/argz.h (__argz_count_internal)
10744 (__argz_stringify_internal): Remove declaration.
10745 (__argz_count, __argz_stringify): Declare hidden proto.
10746 * intl/dcgettext.c: Remove use of INTDEF.
10747 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10748 * string/argz-stringify.c: Likewise.
10749 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10750 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10751 Declare hidden proto.
10752 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10753 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10754 Declare hidden proto.
10755 * include/stdio.h (__asprintf_internal): Don't declare.
10756 (__asprintf): Don't define as macro. Declare hidden proto.
10757 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10758 (__fsetlocking): Declare hidden proto.
10759 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10760 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10762 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10763 (_IO_setlinebuf): Remove use of INTUSE.
10764 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10765 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10766 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10767 Remove declaration.
10768 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10769 (_IO_do_flush): Remove use of INTUSE.
10770 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10771 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10772 (_IO_adjust_column, _IO_least_wmarker)
10773 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10774 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10775 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10776 (_IO_default_doallocate, _IO_wdefault_doallocate)
10777 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10778 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10779 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10780 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10781 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10782 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10783 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10784 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10785 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10786 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10787 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10788 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10789 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10791 (_IO_flush_all_internal, _IO_adjust_column_internal)
10792 (_IO_default_uflow_internal, _IO_default_finish_internal)
10793 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10794 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10795 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10796 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10797 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10798 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10799 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10800 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10801 (_IO_file_close_internal, _IO_file_close_it_internal)
10802 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10803 (_IO_file_init_internal, _IO_file_attach_internal)
10804 (_IO_file_fopen_internal, _IO_file_read_internal)
10805 (_IO_file_sync_internal, _IO_file_seek_internal)
10806 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10807 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10808 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10809 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10810 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10811 (_IO_list_all_internal, _IO_link_in_internal)
10812 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10813 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10814 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10815 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10816 (_IO_do_write_internal, _IO_padn_internal)
10817 (_IO_getline_info_internal, _IO_getline_internal)
10818 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10819 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10820 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10821 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10822 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10823 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10824 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10825 with libc_hidden_ver, remove use of INTUSE.
10826 * libio/genops.c: Likewise.
10827 * libio/freopen.c: Likewise.
10828 * libio/freopen64.c: Likewise.
10829 * libio/iofclose.c: Likewise.
10830 * libio/iofdopen.c: Likewise.
10831 * libio/iofflush.c: Likewise.
10832 * libio/iofflush_u.c: Likewise.
10833 * libio/iofgets.c: Likewise.
10834 * libio/iofgets_u.c: Likewise.
10835 * libio/iofopen.c: Likewise.
10836 * libio/iofopncook.c: Likewise.
10837 * libio/iofread.c: Likewise.
10838 * libio/iofread_u.c: Likewise.
10839 * libio/ioftell.c: Likewise.
10840 * libio/iofwrite.c: Likewise.
10841 * libio/iogetline.c: Likewise.
10842 * libio/iogets.c: Likewise.
10843 * libio/iogetwline.c: Likewise.
10844 * libio/iopadn.c: Likewise.
10845 * libio/iopopen.c: Likewise.
10846 * libio/ioseekoff.c: Likewise.
10847 * libio/ioseekpos.c: Likewise.
10848 * libio/iosetbuffer.c: Likewise.
10849 * libio/iosetvbuf.c: Likewise.
10850 * libio/ioungetc.c: Likewise.
10851 * libio/ioungetwc.c: Likewise.
10852 * libio/iovdprintf.c: Likewise.
10853 * libio/iovsprintf.c: Likewise.
10854 * libio/iovsscanf.c: Likewise.
10855 * libio/memstream.c: Likewise.
10856 * libio/obprintf.c: Likewise.
10857 * libio/oldfileops.c: Likewise.
10858 * libio/oldiofclose.c: Likewise.
10859 * libio/oldiofdopen.c: Likewise.
10860 * libio/oldiofopen.c: Likewise.
10861 * libio/oldiopopen.c: Likewise.
10862 * libio/oldstdfiles.c: Likewise.
10863 * libio/putc.c: Likewise.
10864 * libio/setbuf.c: Likewise.
10865 * libio/setlinebuf.c: Likewise.
10866 * libio/stdfiles.c: Likewise.
10867 * libio/strops.c: Likewise.
10868 * libio/vasprintf.c: Likewise.
10869 * libio/vscanf.c: Likewise.
10870 * libio/vsnprintf.c: Likewise.
10871 * libio/vswprintf.c: Likewise.
10872 * libio/wfiledoalloc.c: Likewise.
10873 * libio/wfileops.c: Likewise.
10874 * libio/wgenops.c: Likewise.
10875 * libio/wmemstream.c: Likewise.
10876 * libio/wstrops.c: Likewise.
10877 * libio/__fpurge.c: Likewise.
10878 * libio/__fsetlocking.c: Likewise.
10879 * assert/assert.c: Likewise.
10880 * debug/fgets_chk.c: Likewise.
10881 * debug/fgets_u_chk.c: Likewise.
10882 * debug/fread_chk.c: Likewise.
10883 * debug/fread_u_chk.c: Likewise.
10884 * debug/gets_chk.c: Likewise.
10885 * debug/obprintf_chk.c: Likewise.
10886 * debug/vasprintf_chk.c: Likewise.
10887 * debug/vdprintf_chk.c: Likewise.
10888 * debug/vsnprintf_chk.c: Likewise.
10889 * debug/vsprintf_chk.c: Likewise.
10890 * malloc/mtrace.c: Likewise.
10891 * misc/error.c: Likewise.
10892 * misc/syslog.c: Likewise.
10893 * stdio-common/asprintf.c: Likewise.
10894 * stdio-common/fxprintf.c: Likewise.
10895 * stdio-common/getw.c: Likewise.
10896 * stdio-common/isoc99_fscanf.c: Likewise.
10897 * stdio-common/isoc99_scanf.c: Likewise.
10898 * stdio-common/isoc99_vfscanf.c: Likewise.
10899 * stdio-common/isoc99_vscanf.c: Likewise.
10900 * stdio-common/isoc99_vsscanf.c: Likewise.
10901 * stdio-common/printf-prs.c: Likewise.
10902 * stdio-common/printf_fp.c: Likewise.
10903 * stdio-common/printf_fphex.c: Likewise.
10904 * stdio-common/printf_size.c: Likewise.
10905 * stdio-common/putw.c: Likewise.
10906 * stdio-common/scanf.c: Likewise.
10907 * stdio-common/sprintf.c: Likewise.
10908 * stdio-common/tmpfile.c: Likewise.
10909 * stdio-common/vfprintf.c: Likewise.
10910 * stdio-common/vfscanf.c: Likewise.
10911 * stdlib/strfmon_l.c: Likewise.
10912 * sunrpc/openchild.c: Likewise.
10913 * sunrpc/xdr_stdio.c: Likewise.
10914 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10915 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10917 2012-05-24 Roland McGrath <roland@hack.frob.com>
10919 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10921 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10922 in the third column, to generate for the shared library an IFUNC
10923 that uses _dl_vdso_vsym.
10924 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10925 * Makeconfig (object-suffixes-noshared): New variable.
10927 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10928 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10929 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10930 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10933 * include/sys/time.h (__gettimeofday): Remove macro.
10934 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10935 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10937 (__gettimeofday): Add libc_hidden_def.
10938 (gettimeofday): Add libc_hidden_weak.
10939 * sysdeps/mach/gettimeofday.c: Likewise.
10940 * sysdeps/posix/gettimeofday.c: Likewise.
10941 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10942 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10944 (__gettimeofday_internal): Remove strong_alias.
10945 (__gettimeofday): Add libc_hidden_def.
10946 (gettimeofday): Add libc_hidden_weak.
10947 * sysdeps/unix/syscalls.list (gettimeofday):
10948 Remove __gettimeofday_internal alias.
10950 2012-05-24 Daniel Jacobowitz <drow@false.org>
10951 H.J. Lu <hongjiu.lu@intel.com>
10954 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10955 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10956 (largebin_index_32_big): New.
10957 (largebin_index): Use it for 16-byte alignment.
10958 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10959 correction with front_misalign.
10961 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10989 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10990 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10992 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10996 * math/libm-test.inc (exp_test): Add test from bug 14036.
10997 (pow_test): Add test from bug 10846.
10999 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11001 (special_function): Do not include flags in test name.
11002 (parse_args): Likewise.
11003 * sysdeps/i386/fpu/libm-test-ulps: Update.
11004 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11005 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11006 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11009 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11011 * math/libm-test.inc ("Philosophy"): Update comment about
11013 (UNDERFLOW_EXCEPTION): New macro.
11014 (UNDERFLOW_EXCEPTION_OK): Likewise.
11015 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11016 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11017 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11018 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11019 (INVALID_EXCEPTION_OK): Update value.
11020 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11021 (OVERFLOW_EXCEPTION_OK): Likewise.
11022 (IGNORE_ZERO_INF_SIGN): Likewise.
11023 (test_exceptions): Handle underflow exceptions.
11024 (acos_test): Update for underflow exception expectations.
11025 (cexp_test): Likewise.
11026 (clog_test): Likewise.
11027 (clog10_test): Likewise.
11028 (csqrt_test): Likewise.
11029 (ctan_test): Likewise.
11030 (ctanh_test): Likewise.
11031 (exp_test): Likewise.
11032 (exp10_test): Likewise.
11033 (exp2_test): Likewise.
11034 (expm1_test): Likewise.
11035 (fma_test): Likewise.
11036 (j0_test): Likewise.
11037 (jn_test): Likewise.
11038 (nexttoward_test): Likewise.
11039 (pow_test): Likewise.
11040 (scalbn_test): Likewise.
11041 (scalbln_test): Likewise.
11042 (tan_test): Likewise.
11043 (y1_test): Likewise.
11044 * sysdeps/i386/fpu/libm-test-ulps: Update.
11045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11047 2012-05-23 David S. Miller <davem@davemloft.net>
11049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11050 (__libc_sigaction): Remove unused local variables.
11052 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11054 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11056 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11058 mktime: avoid signed integer overflow
11059 * time/mktime.c (__mktime_internal): Do not mishandle the case
11060 where diff == INT_MIN.
11062 mktime: simplify computation of average
11063 * time/mktime.c (ranged_convert): Use new time_t_avg function
11064 instead of rolling our own (probably-slower) code.
11066 mktime: do not assume signed right shift propagates sign bit
11067 * time/mktime.c (isdst_differ): New static function.
11068 (__mktime_internal): No need to normalize tm_isdst now.
11069 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11072 mktime: merge another wrapv change from gnulib
11073 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11074 from some compilers.
11076 mktime: remove incorrect attempt at unusual arithmetics
11077 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11078 The code didn't really work on such machines anyway.
11079 (TYPE_MINIMUM): Assume two's complement.
11080 (twos_complement_arithmetic): Verify that long_int and time_t
11081 are two's complement (or unsigned, in the latter case).
11083 mktime: check signed shifts on long_int and time_t, too
11084 * time/mktime.c (SHR): Check that shifts work as desired
11085 on the types long_int and time_t too, as SHR is used on
11088 mktime: do not assume 'long' is wide enough
11089 * time/mktime.c (verify): Move decl up.
11090 (long_int): New type.
11091 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11092 to remove assumption in the code that 'long' is wide enough to
11093 store year values. This assumption is not true on x32 and on
11094 some non-glibc platforms.
11096 mktime: merge wrapv change from gnulib
11097 * time/mktime.c (WRAPV): New macro.
11098 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11099 (guess_time_tm, __mktime_internal): Do not assume that signed
11100 integer overflow wraps around; modern compilers generate code
11101 where this assumption is no longer valid.
11103 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11105 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11106 Replace "jmp L(pseudo_end)" with "ret".
11107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11110 2012-05-23 Andreas Jaeger <aj@suse.de>
11112 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11113 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11115 2012-05-23 Andreas Jaeger <aj@suse.de>
11116 Maximilian Attems <max@stro.at>
11118 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11121 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11123 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11124 code so that pseudo_end is just ret and the stack pointer is
11125 correct also for static library in error case.
11127 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11129 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11130 move to syscalls.list.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11136 * manual/install.texi (Running make install): Do not mention Linux
11137 kernel version for which pt_chown is not needed.
11138 (Linux): Do not mention problems with nscd with 2.0 kernels.
11139 * INSTALL: Regenerated.
11141 2012-05-23 Andreas Jaeger <aj@suse.de>
11143 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11144 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11146 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11147 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11148 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11149 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11150 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11151 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11156 * sysdeps/unix/sysv/linux/bits/in.h
11157 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11159 2012-05-22 Roland McGrath <roland@hack.frob.com>
11161 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11162 (PREPARE_VERSION): Just use assert instead, it will be elided
11163 under [NDEBUG] anyway.
11165 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11167 * sysdeps/unix/sysv/linux/Makefile: Include
11168 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11169 (sysdep_routines): Remove sysctl.
11170 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11171 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11172 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11173 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11174 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11176 2012-05-22 Andreas Jaeger <aj@suse.de>
11178 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11179 that pseudo_end is just ret and the stack pointer is correct also
11180 for static library in error case.
11182 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11185 * nss/nsswitch.c (defconfig_entries): New variable.
11186 (__nss_database_lookup): Don't leak defconfig entries.
11187 (nss_parse_service_list): Don't leak on error paths.
11188 (free_database_entries): New function.
11189 (free_defconfig): New function.
11190 (free_mem): Move common code to free_database_entries.
11192 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11194 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11196 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11198 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11199 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11202 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11203 (INTERNAL_SYSCALL_TYPES): Likewise.
11204 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11205 (LOAD_REGS_TYPES_[1-6]): Likewise.
11206 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11207 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11209 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11211 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11212 copysignl for GLIBC_2_0.
11213 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11214 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11216 logbl for GLIBC_2_0.
11217 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11218 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11220 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11223 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11225 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11228 * time/mktime.c: Update copyright years.
11230 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11232 mktime: merge comment-quoting-style change from gnulib
11233 * time/mktime.c: Quote 'like this' in comments.
11234 The GNU coding standards suggest that we no longer quote `like this',
11235 as "`" and "'" are typically rendered asymmetrically nowadays.
11236 The typical gnulib style is to quote 'like this' when quoting
11237 code, and "like this" when quoting English.
11239 * time/mktime.c (compile-command): Add "-I.".
11241 mktime: merge mktime-internal.h change from gnulib
11242 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11244 mktime: merge time_r change from gnulib
11245 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11247 mktime: merge DEBUG change from gnulib
11248 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11249 case system <time.h> has a #define.
11251 mktime: merge <sys/types.h> change from gnulib
11252 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11253 since <time.t> is now guaranteed to define time_t.
11255 mktime: merge HAVE_CONFIG_H change from gnulib
11256 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11258 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11263 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11265 (struct rusage): Use anonymous union to pad each field to
11268 2012-05-21 David S. Miller <davem@davemloft.net>
11270 * Makefules (o-iterator): Remove .s cases.
11271 (compile-command.s): Delete.
11272 (COMPILE.s): Delete.
11273 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11275 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11277 * configure.in (libc_cv_predef_stack_protector): Only consider
11278 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11279 * configure: Regenerated.
11281 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11284 New macro. Use R*LP on int and pointer.
11285 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11286 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11287 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11288 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11290 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11291 [__WORDSIZE_TIME64_COMPAT32] instead of
11292 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11293 (struct utmp): Likewise.
11294 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11295 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11297 (__WORDSIZE_TIME64_COMPAT32): This.
11298 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11299 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11300 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11301 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11302 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11303 (__WORDSIZE_TIME64_COMPAT32): New macro.
11305 2012-05-21 Andreas Jaeger <aj@suse.de>
11307 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11308 only if [SHARED]. Add prototype for __wcschr_ia32.
11310 2012-05-21 Roland McGrath <roland@hack.frob.com>
11312 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11313 of %rbp unmolested in the jmp_buf while mangling the low bits.
11314 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11315 unmolested high bits of %rbp while demangling the low bits.
11316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11318 2012-05-21 Andreas Jaeger <aj@suse.de>
11320 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11321 * sunrpc/svc_simple.c: Use it for registerrpc.
11322 * sunrpc/xcrypt.c: Use it for passwd2des.
11324 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11326 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11328 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11329 Don't define if [__SYSCALL_WORDSIZE != 32].
11330 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11333 2012-05-21 Bruno Haible <bruno@clisp.org>
11334 Andreas Jaeger <aj@suse.de>
11336 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11337 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11338 inptr and inend for must_buffer_ch.
11339 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11340 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11341 * stdio-common/Makefile (tests): Remove bug15.
11342 (bug15-ENV): Remove macro.
11343 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11346 2012-05-19 Andreas Jaeger <aj@suse.de>
11347 Roland McGrath <roland@hack.frob.com>
11349 * manual/contrib.texi: Completely rewritten. It contains now an
11350 alphabetical list of contributors and their contributions.
11352 2012-05-21 Richard Henderson <rth@twiddle.net>
11354 * misc/getauxval.c (__getauxval): Use unsigned long int.
11355 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11356 (getauxval): Use unsigned long int.
11358 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11360 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11362 2012-05-21 Roland McGrath <roland@hack.frob.com>
11364 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11365 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11366 __alignof__ (long double).
11368 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11372 2012-05-20 Richard Henderson <rth@twiddle.net>
11374 * misc/getauxval.c: New file.
11375 * misc/sys/auxv.h: New file.
11376 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11377 (routines): Add getauxval.
11378 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11379 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11380 * elf/dl-sysdep.c (_dl_auxv): Remove.
11381 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11382 * elf/dl-support.c (_dl_auxv): New variable.
11383 (_dl_aux_init): Initialize it.
11384 * manual/startup.texi (Auxiliary Vector): New node.
11385 * sysdeps/generic/bits/hwcap.h: New file.
11386 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11387 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11388 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11389 * sysdeps/sparc/sysdep.h: ... here. Include it.
11390 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11391 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11403 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11407 2012-05-19 David S. Miller <davem@davemloft.net>
11409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11411 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11414 * math/s_ccosh.c: Include <float.h>
11415 (__ccosh): Avoid internal overflow calculating sinh and cosh
11416 values before multiplying by sin and cos values.
11417 * math/s_ccoshf.c: Likewise.
11418 * math/s_ccoshl.c: Likewise.
11419 * math/s_csin.c: Likewise.
11420 * math/s_csinf.c: Likewise.
11421 * math/s_csinl.c: Likewise.
11422 * math/s_csinh.c: Likewise.
11423 * math/s_csinhf.c: Likewise.
11424 * math/s_csinhl.c: Likewise.
11425 * math/libm-test.inc (ccos_test): Add more tests.
11426 (ccosh_test): Likewise.
11427 (csin_test): Likewise.
11428 (csinh_test): Likewise.
11429 * sysdeps/i386/fpu/libm-test-ulps: Update.
11430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11432 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11434 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11435 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11437 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11439 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11441 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11442 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11443 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11444 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11445 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11446 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11447 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11448 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11449 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11450 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11451 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11452 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11453 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11454 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11455 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11456 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11457 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11458 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11459 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11460 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11461 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11462 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11463 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11464 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11465 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11466 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11467 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11468 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11469 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11470 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11471 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11473 2012-05-18 Andreas Jaeger <aj@suse.de>
11475 * csu/.gitignore: Delete.
11477 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11479 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11480 (timex): Use __syscall_slong_t.
11482 2012-05-18 Andreas Jaeger <aj@suse.de>
11483 Carlos O'Donell <carlos_odonell@mentor.com>
11485 * manual/install.texi (Configuring and compiling): Update
11486 description about files modified in the source directory.
11487 * INSTALL: Regenerated.
11489 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11491 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11492 value. Use "or" to set return value to -1.
11493 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11494 negate return value.
11496 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11498 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11499 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11500 failure if the compiler has Graphite support disabled.
11501 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11503 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11504 CFLAGS-memmove.c): Likewise.
11505 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11508 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11510 * sysdeps/x86_64/x32/_itoa.h: New file.
11512 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11513 getdents system call only if kernel and user dirents have the
11514 same d_ino and d_off.
11516 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11517 LLONG_MAX != LONG_MAX.
11518 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11519 (_fitoa_word): Likewise.
11521 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11523 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11524 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11525 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11527 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11528 include <bits/wordsize.h>. Check __x86_64__ instead of
11530 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11531 if __x86_64__ is defined. Use anonymous union on fpstate.
11533 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11536 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11538 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11539 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11540 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11541 Refer to _rtld_local_ro instead of _rtld_global_ro.
11542 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11544 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11546 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11548 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11549 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11550 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11552 * sysdeps/powerpc/powerpc32/dl-machine.c
11553 (__elf_machine_runtime_setup) [PROF]: Don't reference
11556 2012-05-18 Andreas Jaeger <aj@suse.de>
11558 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11559 function only available for GCCs before 3.4 since GCC 3.4
11560 introduced a builtin.
11562 (llrintf): Likewise.
11563 (llrint): Likewise.
11570 (nearbyint): Likewise.
11571 (nearbyintf): Likewise.
11575 (floorf): Likewise.
11577 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11579 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11580 on both fields and cast pointer to __syscall_ulong_t.
11582 * bits/types.h (__fsword_t): New type.
11583 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11584 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11586 (__FSWORD_T_TYPE): Likewise.
11587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11588 (__FSWORD_T_TYPE): Likewise.
11589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11590 (__FSWORD_T_TYPE): Likewise.
11591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11592 (__FSWORD_T_TYPE): Likewise.
11593 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11594 __SWORD_TYPE with __fsword_t.
11595 (statfs64): Likewise.
11597 2012-05-17 David S. Miller <davem@davemloft.net>
11599 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11601 2012-05-17 Andreas Jaeger <aj@suse.de>
11603 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11606 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11608 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11610 2012-05-17 Andreas Jaeger <aj@suse.de>
11612 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11615 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11617 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11619 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11621 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11622 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11624 2012-05-17 Andreas Jaeger <aj@suse.de>
11625 Carlos O'Donell <carlos_odonell@mentor.com>
11628 * sysdeps/x86_64/multiarch/init-arch.h
11629 (bit_YMM_Usable): Rename to...
11630 (bit_AVX_Usable): ... this.
11631 (bit_FMA4_Usable): New macro.
11632 (bit_XMM_state): New macro.
11633 (bit_YMM_state): New macro.
11634 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11635 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11636 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11637 (CPUID_OSXSAVE): New macro.
11638 (CPUID_AVX): New macro.
11639 (CPUID_FMA4): New macro.
11640 (index_YMM_Usable): Rename to...
11641 (index_AVX_Usable): ... this.
11642 (HAS_AVX): Use HAS_ARCH_FEATURE.
11643 (HAS_FMA4): Likewise.
11644 (HAS_YMM_USABLE): Remove.
11645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11646 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11648 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11649 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11650 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11651 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11652 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11654 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11656 * math/libm-test.c: Support platforms without multiple rounding modes.
11657 * math/bug-nextafter.c: Support platforms without FP exceptions.
11658 * math/bug-nexttoward.c: Likewise.
11659 * math/test-fenv.c: Likewise.
11660 * math/test-misc.c: Likewise.
11661 * stdlib/bug-getcontext.c: Likewise.
11663 2012-05-17 Andreas Jaeger <aj@suse.de>
11665 * manual/examples/search.c (critter_cmp): Change signature to
11667 * manual/string.texi (Collation Functions): Likewise.
11669 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11671 * bits/types.h: Fold copyright years.
11672 * bits/typesizes.h: Likewise.
11673 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11677 * time/time.h: Likewise.
11679 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11682 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11683 in instead of returning them. Return void.
11684 (__libc_mallinfo): Accumulate over all arenas.
11685 (__malloc_stats): Adjust for change in int_mallinfo interface.
11687 2012-05-16 Roland McGrath <roland@hack.frob.com>
11690 * configure.in (NM): Add AC_CHECK_TOOL for it.
11691 (libc_extra_cflags): New substituted variable.
11692 Check for -fstack-protector being used implicitly.
11693 * configure: Regenerated.
11694 * config.make.in (config-extra-cflags): New variable,
11695 gets @libc_extra_cflags@.
11696 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11699 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11700 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11701 * configure: Regenerated.
11702 * config.make.in (CPPUNDEFS): New substituted variable.
11703 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11704 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11705 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11707 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11709 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11710 (mq_attr): Use __syscall_slong_t.
11712 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11714 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11715 Check __x86_64__ instead of __WORDSIZE.
11716 (_STAT_VER_LINUX): Likewise.
11717 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11718 __syscall_ulong_t and __syscall_slong_t.
11719 (stat64): Likewise.
11721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11723 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11725 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11727 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11729 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11731 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11734 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11735 include <bits/wordsize.h>. Check __x86_64__ instead of
11737 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11739 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11741 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11742 include <bits/wordsize.h>. Check __x86_64__ instead of
11744 (user_regs_struct): Use "__extension__ unsigned long long"
11745 instead of "unsigned long" if __x86_64__ is defined.
11746 (user): Likewise. Pad after pointer field if __ILP32__ is
11749 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11751 * configure.in (makeinfo): Require version 4.5 or later. Allow
11753 * configure: Regenerated.
11754 * manual/install.texi (texinfo): Increase version requirement to
11756 * INSTALL: Regenerated.
11758 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11760 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11762 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11764 * sysdeps/x86_64/x32/ffs.c: New file.
11766 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11768 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11769 defined. Use __syscall_ulong_t.
11770 (shminfo): Use __syscall_ulong_t.
11771 (shm_info): Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11776 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11778 (msgqnum_t): Use __syscall_ulong_t.
11779 (msglen_t): Likewise.
11780 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11783 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11784 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11786 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11788 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11789 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11791 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11794 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11795 include <bits/wordsize.h>. Check __x86_64__ instead of
11798 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11799 "unsigned long long int" if __x86_64__ is defined.
11800 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11802 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11803 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11804 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11806 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11808 (GET_PC): Cast to uintptr_t first.
11809 (GET_FRAME): Likewise.
11810 (GET_STACK): Likewise.
11812 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11813 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11814 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11815 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11816 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11817 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11818 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11819 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11820 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11821 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11822 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11823 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11824 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11825 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11827 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11828 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11829 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11831 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11839 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11842 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11844 * Makerules (+depfiles): Also collect depfiles from .oS in
11846 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11847 .oS, $(libnldbl-routines)).
11849 * Makerules (native-compile-mkdep-flags): Define.
11850 * sunrpc/Makefile (extra-objs): Add $(addprefix
11851 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11852 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11853 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11854 calling $(make-target-directory).
11856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11858 * bits/types.h (__snseconds_t): Removed.
11859 * time/time.h (struct timespec): Replace __snseconds_t with
11861 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11862 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11865 (__SNSECONDS_T_TYPE): Likewise.
11866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11867 (__SNSECONDS_T_TYPE): Likewise.
11868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11869 (__SNSECONDS_T_TYPE): Likewise.
11871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11873 * sysdeps/mach/hurd/bits/typesizes.h
11874 (__SYSCALL_SLONG_TYPE): New macro.
11875 (__SYSCALL_ULONG_TYPE): Likewise.
11877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11879 * bits/types.h (__syscall_slong_t): New type.
11880 (__syscall_ulong_t): Likewise.
11882 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11883 (__SYSCALL_ULONG_TYPE): Likewise.
11884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11885 (__SYSCALL_SLONG_TYPE): Likewise.
11886 (__SYSCALL_ULONG_TYPE): Likewise.
11887 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11888 (__SYSCALL_SLONG_TYPE): Likewise.
11889 (__SYSCALL_ULONG_TYPE): Likewise.
11890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11891 (__SYSCALL_SLONG_TYPE): Likewise.
11892 (__SYSCALL_ULONG_TYPE): Likewise.
11894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11896 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11897 Add sigaltstack-offsets.sym.
11898 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11899 <sigaltstack-offsets.h>.
11900 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11901 longjmp_msg pointer.
11902 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11903 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11905 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11907 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11909 * elf/stackguard-macros.h: Remove file.
11910 * sysdeps/generic/stackguard-macros.h: New file.
11911 * sysdeps/i386/stackguard-macros.h: Likewise.
11912 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11913 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11914 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11915 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11916 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11917 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11918 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11919 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11920 <elf/stackguard-macros.h>.
11923 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11924 __aligned__ in attribute.
11925 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11926 (gregset_t): Likewise.
11928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11930 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11931 * sysdeps/x86_64/64/Implies-after: Here. New file.
11932 * sysdeps/x86_64/x32/Implies-after: New file.
11934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11936 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11937 and access return value for _dl_profile_fixup. Use R10_LP to
11940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11942 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11946 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11947 * sysdeps/x86_64/x32/sysdep.h: New file.
11949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11951 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11952 * sysdeps/x86_64/setjmp.S: Likewise.
11954 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11956 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11957 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11958 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11959 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11960 remove unused global constant.
11962 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11964 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11965 include of <not-cancel.h>.
11967 2012-05-15 Roland McGrath <roland@hack.frob.com>
11969 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11971 2012-05-15 Jeff Law <law@redhat.com>
11972 Andreas Jaeger <aj@suse.de>
11975 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11977 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11978 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11979 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11980 code changing __hst_map_handle.map.
11982 2012-05-15 Roland McGrath <roland@hack.frob.com>
11984 * configure.in (sysnames): Look for Implies-before and Implies-after
11986 * configure: Regenerated.
11988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11990 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11991 8-byte data alignment with LP_SIZE alignment.
11993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11995 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12000 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12004 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12005 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12006 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12008 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12012 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12013 (stackinfo_sub_sp): Likewise.
12015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12017 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12022 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12032 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12036 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12037 into R11_LP and load __x86_64_shared_cache_size_half into
12040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12042 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12045 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12049 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12053 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12054 powerpc32/power7/fpu/s_logb.c via #include.
12055 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12056 powerpc32/power7/fpu/s_logbf.c via #include.
12057 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12058 powerpc32/power7/fpu/s_logbl.c via #include.
12060 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12062 * README.libm: Remove file.
12064 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12066 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12067 count for x32. Use R*_LP and omit operand-size suffix.
12069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12071 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12072 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12073 * sysdeps/x86_64/x32/shlib-versions: New file.
12075 2012-05-14 Roland McGrath <roland@hack.frob.com>
12077 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12078 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12079 Use _dl_fatal_printf instead.
12081 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12083 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12084 set if not set by the user. Do not allow for being unset.
12085 * sysdeps/unix/sysv/linux/configure: Regenerated.
12087 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12089 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12090 the `q' suffix from lea and replace .quad with ASM_ADDR.
12092 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12095 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12097 (PTR_DEMANGLE): Likewise.
12099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12101 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12103 (ASM_ADDR): Likewise.
12104 (RAX_LP): Likewise.
12105 (RBP_LP): Likewise.
12106 (RBX_LP): Likewise.
12107 (RCX_LP): Likewise.
12108 (RDI_LP): Likewise.
12109 (RSI_LP): Likewise.
12110 (RSP_LP): Likewise.
12113 (R10_LP): Likewise.
12114 (R10_LP): Likewise.
12115 (R11_LP): Likewise.
12116 (R12_LP): Likewise.
12117 (R13_LP): Likewise.
12118 (R14_LP): Likewise.
12119 (R15_LP): Likewise.
12121 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12123 * sysdeps/x86_64/x32/dl-machine.h: New file.
12125 2012-05-14 Andreas Jaeger <aj@suse.de>
12127 * manual/Makefile (subdir): Remove export of subdir.
12128 (all): Remove target.
12129 (.PHONY): Remove all from list.
12130 (mkinstalldirs): Remove.
12131 (.PHONY): Remove installdirs from list.
12132 ($(inst_infodir)/libc.info): Use make-target-directory.
12133 (installdirs): Remove.
12134 (subdir_%): Remove.
12135 (glibc-targets): Remove.
12138 ($(objpfx)stubs ../po/manual.pot): Remove.
12139 ($(objpfx)stamp%): Remove.
12140 (make-target-directory): Remove.
12141 (subdir_install): Remove.
12142 (routines): Remove.
12149 * manual/.gitignore: Remove, it's not needed anymore.
12150 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12152 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12154 (texis): Renamed to $(objpfx)texis.
12155 (texis-path): New, contains path to generated files.
12156 (chapters.%): Use texis-path for complete path, add extra argument
12158 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12159 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12160 (summary,texi, stamp-summary): Use complete path of
12161 files. Generate files in build dir.
12162 (dir-add.texi): Build in build dir.
12163 (libm-err.texi,stamp-libm-err): Likewise.
12164 (version.texi, stamp-version): Likewise.
12165 (.%c.texi): Likewise.
12166 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12167 (mostlyclean): Remove target.
12168 (realclean): Remove target.
12169 (generated): Add new variable with contents from mostlyclean and
12170 realclean, remove entries duplicated in common-mostlyclean, add
12171 stamp-libm-err and stamp-version.
12172 (generated-dirs): Add libc directory.
12173 ($(inst_infodir)/libc.info): Install files from build dir.
12175 * manual/install.texi (Configuring and compiling): Adjust since
12176 the info files are not part of the tar ball anymore.
12178 2012-05-14 Andreas Jaeger <aj@suse.de>
12180 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12183 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12187 to 2.2.0 where earlier.
12188 * sysdeps/unix/sysv/linux/configure: Regenerated.
12189 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12190 Remove conditional code.
12191 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12192 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12193 Remove conditional code.
12194 [!__NR_lchown]: Likewise.
12195 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12196 [__NR_lchown]: Likewise.
12197 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12198 comment referencing __ASSUME_LCHOWN_SYSCALL.
12199 * sysdeps/unix/sysv/linux/i386/sigaction.c
12200 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12201 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12202 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12203 Remove conditional code.
12204 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12205 (__protocol_available): Remove #if 0 code.
12206 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12208 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12209 * sysdeps/unix/sysv/linux/kernel-features.h
12210 (__ASSUME_GETCWD_SYSCALL): Don't define.
12211 (__ASSUME_REALTIME_SIGNALS): Likewise.
12212 (__ASSUME_PREAD_SYSCALL): Likewise.
12213 (__ASSUME_PWRITE_SYSCALL): Likewise.
12214 (__ASSUME_POLL_SYSCALL): Likewise.
12215 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12216 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12218 (__ASSUME_SIOCGIFNAME): Don't define.
12219 (__ASSUME_MSG_NOSIGNAL): Likewise.
12220 (__ASSUME_SENDFILE): Define unconditionally.
12221 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12222 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12224 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12225 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12226 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12227 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12228 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12229 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12230 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12235 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12241 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12244 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12247 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12253 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12255 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12256 Remove conditional code.
12257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12258 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12259 Remove conditional code.
12260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12261 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12262 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12263 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12264 Remove conditional code.
12265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12267 Remove conditional code.
12268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12269 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12270 Remove conditional code.
12271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12272 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12273 Remove conditional code.
12274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12275 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12276 Remove conditional code.
12277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12278 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12281 * sysdeps/unix/sysv/linux/sigaction.c
12282 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12283 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12284 * sysdeps/unix/sysv/linux/sigpending.c
12285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12287 * sysdeps/unix/sysv/linux/sigprocmask.c
12288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12290 * sysdeps/unix/sysv/linux/sigsuspend.c
12291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12294 (__libc_missing_rt_sigs): Remove.
12295 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12296 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12297 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12298 Remove conditional code.
12299 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12300 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12302 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12303 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12304 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12305 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12307 2012-05-14 Andreas Jaeger <aj@suse.de>
12309 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12310 it's not used in glibc.
12311 (__coshm1): Likewise.
12312 (__acosh1p): Likewise.
12315 * manual/string.texi (Copying and Concatenation): Add missing
12316 variable in concat example.
12317 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12319 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12322 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12323 __builtin_clzl with __builtin_clzll.
12325 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12328 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12331 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12333 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12334 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12335 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12336 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12338 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12340 * NEWS: Update ia64 info.
12342 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12344 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12347 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12349 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12350 * sysdeps/unix/syscalls.list (dup3): Likewise.
12351 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12352 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12354 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12356 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12357 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12359 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12361 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12363 (TLS_IE): Use mov/add instead of movq/addq to load thread
12365 (TLS_GD_PREFIX): New.
12368 2012-05-11 David S. Miller <davem@davemloft.net>
12370 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12371 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12372 (_FPU_SETCW): Likewise.
12374 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12376 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12377 is 32-byte aligned.
12379 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12382 * iconvdata/gb18030.c: Update tables.
12383 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12384 characters specially.
12385 (BODY for TO_LOOP): Add encoding of missing ranges.
12387 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12390 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12391 * sysdeps/mach/hurd/dup3.c: Likewise.
12392 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12393 * sysdeps/powerpc/memmove.c:: Likewise.
12395 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12397 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12398 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12400 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12402 * elf/elf.h (R_X86_64_RELATIVE64): New.
12403 (R_X86_64_NUM): Updated.
12404 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12405 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12406 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12407 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12408 tst-quad1pie tst-quad2pie
12409 (modules-names): Add tst-quadmod1 tst-quadmod2.
12410 ($(objpfx)tst-quad1): New dependency.
12411 ($(objpfx)tst-quad2): Likewise.
12412 ($(objpfx)tst-quad1pie): Likewise.
12413 ($(objpfx)tst-quad2pie): Likewise.
12414 * sysdeps/x86_64/tst-quad1.c: New file.
12415 * sysdeps/x86_64/tst-quad1pie.c: New file.
12416 * sysdeps/x86_64/tst-quad2.c: Likewise.
12417 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12418 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12419 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12420 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12421 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12423 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12425 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12426 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12427 * streams/stropts.h (t_scalar_t): Define type.
12429 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12430 (_PATH_PRESERVE): Set to "/var/lib".
12431 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12433 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12436 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12437 if __dir_mkfile succeeded.
12439 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12440 checking for _hurd_dtablesize. Unlock it right after having
12441 finished _hurd_dtable allocation.
12443 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12445 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12446 * sysdeps/mach/hurd/configure: Regenerated.
12447 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12448 special-casing to...
12449 * sysdeps/gnu/configure.in: ... this new file.
12450 * sysdeps/unix/sysv/linux/configure: Regenerated.
12451 * sysdeps/gnu/configure: New generated file.
12453 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12454 for Linux: use nsec instead of usec, as well as:
12455 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12456 members of type struct timespec.
12457 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12459 (struct stat64): Likewise.
12460 (_STATBUF_ST_NSEC): New macro.
12461 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12463 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12464 __strtoul_internal rather than strtoul.
12466 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12468 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12473 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12474 which preserves existing values.
12475 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12477 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12479 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12480 TIMEOUT values. Return EINVAL for NFDS values either negative or
12481 greater than FD_SETSIZE.
12483 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12485 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12486 allocated, call __vm_protect to finish enabling the existing space, and
12487 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12488 allocate the remainder.
12490 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12492 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12493 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12495 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12497 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12498 sysdeps/mach/hurd/readlink.c.
12500 * posix/tst-sysconf.c (posix_options): Only use
12501 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12502 _POSIX_SYNCHRONIZED_IO when they are defined
12503 * sysdeps/mach/hurd/bits/posix_opt.h:
12504 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12505 (_XOPEN_REALTIME): Undefine macro.
12506 (_XOPEN_REALTIME_THREADS): Undefine macro.
12507 (_XOPEN_SHM): Undefine macro.
12508 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12510 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12512 (_POSIX_ASYNC_IO): Undefine macro.
12513 (_POSIX_PRIORITIZED_IO): Undefine macro.
12514 (_POSIX_SPIN_LOCKS): Define macro to -1.
12516 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12517 SA_NODEFER, SA_RESETHAND.
12518 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12519 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12524 * elf/Makefile (pldd-modules): Define unconditionally.
12526 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12528 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12532 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12533 Return ENOENT when name is empty.
12534 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12538 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12540 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12542 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12544 Fix mlock in all cases except non-readable pages.
12545 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12546 instead of VM_PROT_ALL as parameter to __vm_wire function.
12548 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12549 (__mkdir): When path is `/', just fail with EEXIST.
12550 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12552 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12554 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12555 <sys/uio.h> (for writev).
12556 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12557 and <sys/param.h> (for MIN).
12559 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12561 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12562 REQUESTED_TIME. Properly set the remaining time and return EINTR
12565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12567 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12568 Depend on against $(link-rpcuserlibs).
12570 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12572 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12573 (__libc_stack_end): Do not use attribute_relro.
12574 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12575 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12576 to libthread-provided value.
12577 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12580 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12583 * bits/libc-lock.h (__libc_once_get): New macro.
12584 * sysdeps/mach/bits/libc-lock.h: Likewise.
12585 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12587 instead of using implementation details.
12589 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12590 * libio/freopen.c: Likewise.
12591 * libio/freopen64.c: Likewise.
12592 * misc/syslog.c: Likewise.
12593 * nscd/connections.c: Likewise.
12594 * nscd/netgroupcache.c: Likewise.
12595 * sysdeps/posix/getcwd.c: Likewise.
12597 2012-05-10 Roland McGrath <roland@hack.frob.com>
12599 * math/w_ilogbf.c: Add #include <limits.h>.
12601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12603 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12604 path instead of returning without unlocking.
12606 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12607 immediate-write ioctls.
12608 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12610 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12612 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12613 __builtin_frame_address instead of making assumptions about the
12614 location of the return address relative to DATA. Force early load of
12615 the return address.
12616 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12617 __builtin_frame_address.
12620 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12621 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12622 implement dup3 and do some further code clean-ups.
12623 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12624 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12628 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12630 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12631 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12632 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12633 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12634 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12637 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12638 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12639 when handler == SIG_ERR, not when handler != SIG_ERR.
12641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12643 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12644 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12647 accept4 for GNU Hurd.
12648 * include/sys/socket.h (__libc_accept4): New prototype.
12649 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12650 to implement __libc_accept4.
12651 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12653 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12655 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12656 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12657 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12658 signal-defines.sym.
12660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12662 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12666 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12667 assertion on O_CLOEXEC flag.
12668 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12669 * hurd/intern-fd.c: Likewise.
12670 * hurd/port2fd.c: Likewise.
12672 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12675 * bits/in.h (IPV6_PKTINFO): Define new macro.
12676 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12678 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12683 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12685 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12686 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12688 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12689 * math/libm-test.inc (logb_test) : Additional logb tests.
12691 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12692 Andreas Jaeger <aj@suse.de>
12694 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12695 * configure: Regenerated.
12696 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12697 * config.make.in (link-obsolete-rpc): New substituted variable.
12698 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12699 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12700 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12701 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12702 so that libc.a contains the symbols.
12703 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12704 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12705 * sunrpc/auth_none.c: Likewise.
12706 * sunrpc/auth_unix.c: Likewise.
12707 * sunrpc/authdes_prot.c: Likewise.
12708 * sunrpc/authuxprot.c: Likewise.
12709 * sunrpc/clnt_gen.c: Likewise.
12710 * sunrpc/clnt_perr.c: Likewise.
12711 * sunrpc/clnt_raw.c: Likewise.
12712 * sunrpc/clnt_simp.c: Likewise.
12713 * sunrpc/clnt_tcp.c: Likewise.
12714 * sunrpc/clnt_udp.c: Likewise.
12715 * sunrpc/clnt_unix.c: Likewise.
12716 * sunrpc/des_crypt.c: Likewise.
12717 * sunrpc/des_soft.c: Likewise.
12718 * sunrpc/get_myaddr.c: Likewise.
12719 * sunrpc/key_call.c: Likewise.
12720 * sunrpc/key_prot.c: Likewise.
12721 * sunrpc/netname.c: Likewise.
12722 * sunrpc/pm_getmaps.c: Likewise.
12723 * sunrpc/pm_getport.c: Likewise.
12724 * sunrpc/pmap_clnt.c: Likewise.
12725 * sunrpc/pmap_prot.c: Likewise.
12726 * sunrpc/pmap_prot2.c: Likewise.
12727 * sunrpc/pmap_rmt.c: Likewise.
12728 * sunrpc/publickey.c: Likewise.
12729 * sunrpc/rpc_cmsg.c: Likewise.
12730 * sunrpc/rpc_common.c: Likewise.
12731 * sunrpc/rpc_dtable.c: Likewise.
12732 * sunrpc/rpc_prot.c: Likewise.
12733 * sunrpc/rpc_thread.c: Likewise.
12734 * sunrpc/rtime.c: Likewise.
12735 * sunrpc/svc.c: Likewise.
12736 * sunrpc/svc_auth.c: Likewise.
12737 * sunrpc/svc_raw.c: Likewise.
12738 * sunrpc/svc_run.c: Likewise.
12739 * sunrpc/svc_tcp.c: Likewise.
12740 * sunrpc/svc_udp.c: Likewise.
12741 * sunrpc/svc_unix.c: Likewise.
12742 * sunrpc/svcauth_des.c: Likewise.
12743 * sunrpc/xcrypt.c: Likewise.
12744 * sunrpc/xdr.c: Likewise.
12745 * sunrpc/xdr_array.c: Likewise.
12746 * sunrpc/xdr_float.c: Likewise.
12747 * sunrpc/xdr_intXX_t.c: Likewise.
12748 * sunrpc/xdr_mem.c: Likewise.
12749 * sunrpc/xdr_rec.c: Likewise.
12750 * sunrpc/xdr_ref.c: Likewise.
12751 * sunrpc/xdr_sizeof.c: Likewise.
12752 * sunrpc/xdr_stdio.c: Likewise.
12754 2012-05-10 Roland McGrath <roland@hack.frob.com>
12756 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12757 change. Update copyright years.
12759 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12761 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12763 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12764 Joseph Myers <joseph@codesourcery.com>
12765 Paul Pluzhnikov <ppluzhnikov@google.com>
12768 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12770 [cross-compiling] (extra-libs): Likewise.
12771 [cross-compiling] (extra-libs-others): Likewise.
12772 [cross-compiling] (librpcsvc-routines): Likewise.
12773 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12774 [cross-compiling] (omit-deps): Likewise.
12775 (sunrpc-CPPFLAGS): New variable.
12776 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12777 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12778 (cross-rpcgen-objs): New variable.
12779 (extra-objs): Append $(cross-rpcgen-objs).
12780 ($(cross-rpcgen-objs)): New rule.
12781 ($(objpfx)cross-rpcgen): Likewise.
12782 (rpcgen-cmd): Define to use $(built-program-file). Expand
12784 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12785 ($(objpfx)x%.stmp): Likewise.
12786 * sunrpc/proto.h [IS_IN_build] (_): Define.
12787 [IS_IN_build] (_libc_intl_domainname): Likewise.
12789 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12792 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12793 and R_X86_64_TPOFF64.
12795 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12797 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12798 sysdeps/unix/sysv/syscalls.list.
12801 * sysdeps/unix/sysv/syscalls.list: Remove file.
12803 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12806 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12807 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12808 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12809 (__LC_IDENTIFICATION): Make these macros useful in #if
12810 expressions, as required by C99.
12812 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12814 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12815 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12818 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12820 * stdlib/longlong.h: Updated from GCC.
12822 2012-05-09 Andreas Jaeger <aj@suse.de>
12824 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12825 default is first entry.
12826 (run_mode): Set type.
12827 (main): Remove informal message about syslog.
12828 (options): Fix typo.
12831 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12834 (llrintf): Likewise.
12835 (llrint): Likewise.
12838 (nearbyint): Likewise.
12839 (nearbyintf): Likewise.
12841 2012-05-09 Andreas Jaeger <aj@suse.de>
12842 Pedro Alves <palves@redhat.com>
12844 * nscd/nscd.c (run_mode): Use enum.
12845 (main): Cleanup coding style issue.
12847 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12848 Andreas Jaeger <aj@suse.de>
12850 * nscd/nscd.c (go_background): Replaced with...
12851 (run_mode): ... this.
12852 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12853 (options): Add -F --foreground.
12854 (main): Implement it.
12855 (parse_opt): Parse it.
12857 2012-05-09 Andreas Jaeger <aj@suse.de>
12860 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12861 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12862 -Wconversion warning.
12863 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12866 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12868 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12870 (LC_ALL): Use macro-int-constant.
12871 (LC_COLLATE): Likewise.
12872 (LC_CTYPE): Likewise.
12873 (LC_MESSAGES): Likewise.
12874 (LC_MONETARY): Likewise.
12875 (LC_NUMERIC): Likewise.
12876 (LC_TIME): Likewise.
12877 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12878 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12879 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12880 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12882 [C99-based standards] (float_t): Expect type.
12883 [C99-based standards] (double_t): Expect type.
12884 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12886 [C99-based standards] (HUGE_VALL): Likewise.
12887 [C99-based standards] (INFINITY): Likewise.
12888 [C99-based standards] (NAN): Likewise.
12889 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12890 [C99-based standards] (FP_NAN): Likewise.
12891 [C99-based standards] (FP_NORMAL): Likewise.
12892 [C99-based standards] (FP_SUBNORMAL): Likewise.
12893 [C99-based standards] (FP_ZERO): Likewise.
12894 [C99-based standards] (FP_FAST_FMA): Use
12895 optional-macro-int-constant. Specify type. Require == 1.
12896 [C99-based standards] (FP_FAST_FMAF): Likewise.
12897 [C99-based standards] (FP_FAST_FMAL): Likewise.
12898 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12899 [C99-based standards] (FP_ILOGBNAN): Likewise.
12900 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12902 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12903 [C99-based standards] (math_errhandling): Specify type.
12904 [ISO99 || ISO11] (signgam): Do not allow.
12905 [non-C99-based standards] (copysignf): Do not allow.
12906 [non-C99-based standards] (exp2f): Likewise.
12907 [non-C99-based standards] (log2f): Likewise.
12908 [non-C99-based standards] (modff): Allow.
12909 [non-C99-based standards] (erff): Do not allow.
12910 [non-C99-based standards] (erfcf): Likewise.
12911 [non-C99-based standards] (gammaf): Likewise.
12912 [non-C99-based standards] (hypotf): Likewise.
12913 [non-C99-based standards] (j0f): Likewise.
12914 [non-C99-based standards] (j1f): Likewise.
12915 [non-C99-based standards] (jnf): Likewise.
12916 [non-C99-based standards] (lgammaf): Likewise.
12917 [non-C99-based standards] (tgammaf): Likewise.
12918 [non-C99-based standards] (y0f): Likewise.
12919 [non-C99-based standards] (y1f): Likewise.
12920 [non-C99-based standards] (ynf): Likewise.
12921 [non-C99-based standards] (isnanf): Likewise.
12922 [non-C99-based standards] (acoshf): Likewise.
12923 [non-C99-based standards] (asinhf): Likewise.
12924 [non-C99-based standards] (atanhf): Likewise.
12925 [non-C99-based standards] (cbrtf): Likewise.
12926 [non-C99-based standards] (expm1f): Likewise.
12927 [non-C99-based standards] (ilogbf): Likewise.
12928 [non-C99-based standards] (log1pf): Likewise.
12929 [non-C99-based standards] (logbf): Likewise.
12930 [non-C99-based standards] (nextafterf): Likewise.
12931 [non-C99-based standards] (remainderf): Likewise.
12932 [non-C99-based standards] (rintf): Likewise.
12933 [non-C99-based standards] (scalbf): Likewise.
12934 [non-C99-based standards] (copysignl): Likewise.
12935 [non-C99-based standards] (exp2l): Likewise.
12936 [non-C99-based standards] (log2l): Likewise.
12937 [non-C99-based standards] (modfl): Allow.
12938 [non-C99-based standards] (erfl): Do not allow.
12939 [non-C99-based standards] (erfcl): Likewise.
12940 [non-C99-based standards] (gammal): Likewise.
12941 [non-C99-based standards] (hypotl): Likewise.
12942 [non-C99-based standards] (j0l): Likewise.
12943 [non-C99-based standards] (j1l): Likewise.
12944 [non-C99-based standards] (jnl): Likewise.
12945 [non-C99-based standards] (lgammal): Likewise.
12946 [non-C99-based standards] (tgammal): Likewise.
12947 [non-C99-based standards] (y0l): Likewise.
12948 [non-C99-based standards] (y1l): Likewise.
12949 [non-C99-based standards] (ynl): Likewise.
12950 [non-C99-based standards] (isnanl): Likewise.
12951 [non-C99-based standards] (acoshl): Likewise.
12952 [non-C99-based standards] (asinhl): Likewise.
12953 [non-C99-based standards] (atanhl): Likewise.
12954 [non-C99-based standards] (cbrtl): Likewise.
12955 [non-C99-based standards] (expm1l): Likewise.
12956 [non-C99-based standards] (ilogbl): Likewise.
12957 [non-C99-based standards] (log1pl): Likewise.
12958 [non-C99-based standards] (logbl): Likewise.
12959 [non-C99-based standards] (nextafterl): Likewise.
12960 [non-C99-based standards] (remainderl): Likewise.
12961 [non-C99-based standards] (rintl): Likewise.
12962 [non-C99-based standards] (scalbl): Likewise.
12963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12964 [non-C99-based standards] (FP_*): Do not allow.
12965 [C99-based standards] (FP_*): Change to
12966 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12967 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12969 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12970 (SIG_ERR): Likewise.
12971 [X/Open-based standards] (SIG_HOLD): Likewise.
12972 (SIG_IGN): Likewise.
12973 (SIGABRT): Use macro-int-constant. Specify type. Require
12975 (SIGFPE): Likewise.
12976 (SIGILL): Likewise.
12977 (SIGINT): Likewise.
12978 (SIGSEGV): Likewise.
12979 (SIGTER): Likewise.
12980 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12981 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12982 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12983 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12984 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12985 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12986 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12990 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12998 [X/Open-based standards] (SIGTRAP): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13003 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13006 2012-05-08 Ian Wienand <ianw@vmware.com>
13009 * time/tzset.c (__tzset_parse_tz): Update default rules for
13010 daylight time changes in the Energy Policy Act of 2005.
13012 2012-05-09 Andreas Jaeger <aj@suse.de>
13015 * elf/ldconfig.c (parse_conf): Change string to make clear that
13016 ldconfig only issued a warning if ld.so.conf does not exist.
13018 2012-05-08 David S. Miller <davem@davemloft.net>
13020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13021 movxtod instead of popping the value on the stack.
13023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13025 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13027 * config.h.in: Add HAVE_ARM_PCS_VFP.
13029 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13032 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13033 checking but the checks are disabled for any reason.
13035 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13037 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13038 and ELF64_R_TYPE with ELFW(R_TYPE).
13040 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13042 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13043 (ulimit): Likewise.
13045 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13046 (settimeofday): Likewise.
13048 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13050 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13051 a struct th_u2 inside the union, and move tu_block/tu_code into
13052 a new th_u3 union of tu_block/tu_code inside of that. Move
13053 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13054 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13055 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13056 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13057 (th_stuff): Change to th_u1.tu_stuff.
13059 (th_msg): Change to th_u1.th_u2.tu_data.
13061 2012-05-07 David S. Miller <davem@davemloft.net>
13063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13066 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13067 (SETUP_PIC_REG): Use it.
13068 (SETUP_PIC_REG_LEAF): Use it.
13070 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13074 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13076 (EXPL_FINITE): Likewise.
13077 (FLDLOG): Likewise.
13078 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13079 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13081 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13083 (EXPL_FINITE): Likewise.
13084 (FLDLOG): Likewise.
13085 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13086 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13088 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13089 test of -max_value argument for long double.
13090 * sysdeps/i386/fpu/libm-test-ulps: Update.
13091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13093 2012-05-06 David S. Miller <davem@davemloft.net>
13095 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13096 quad soft-float symbols whose references which are compiler
13098 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13100 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13104 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13106 (EXPL_FINITE): Likewise.
13107 (FLDLOG): Likewise.
13110 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13111 Adjust comments for base varying.
13112 (__expl_finite): Change alias to EXPL_FINITE.
13113 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13115 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13116 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13118 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13119 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13121 (EXPL_FINITE): Likewise.
13122 (FLDLOG): Likewise.
13125 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13126 Adjust comments for base varying.
13127 (__expl_finite): Change alias to EXPL_FINITE.
13128 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13133 * math/libm-test.inc (check_float_internal): Correct ulp
13134 calculation for subnormal expected results.
13136 2012-05-06 Andreas Jaeger <aj@suse.de>
13138 * Makeconfig (+math-flags): New, set to -frounding-math.
13139 (+cflags): Add +math-flags so that all of glibc gets compiled with
13142 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13144 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13146 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13152 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13153 (__ieee754_expl): Allow for and saturate large arguments.
13154 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13155 (u_threshold): Likewise.
13156 (__exp): Call __ieee754_exp before checking for overflow and
13158 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13159 (u_threshold): Likewise.
13160 (__expf): Call __ieee754_expf before checking for overflow and
13162 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13163 (u_threshold): Likewise.
13164 (__expl): Call __ieee754_expl before checking for overflow and
13166 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13167 (__ieee754_expl): Allow for and saturate large arguments.
13168 * math/libm-test.inc (exp_test): Add another test. Do not allow
13169 missing overflow exception on overflow.
13170 (expm1_test): Do not allow missing overflow exception on overflow.
13172 * sysdeps/i386/fpu/e_expl.c: Move to ...
13173 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13174 rather than using inline asm.
13175 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13176 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13177 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13179 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13182 (signal): Likewise.
13186 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13188 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13189 sysdeps/unix/common/syscalls.list.
13190 (fchmod): Likewise.
13191 (fchown): Likewise.
13192 (ftruncate): Likewise.
13193 (getrusage): Likewise.
13194 (gettimeofday): Likewise.
13195 (setpgid): Likewise.
13196 (setregid): Likewise.
13197 (setreuid): Likewise.
13198 (sigaction): Likewise.
13199 (truncate): Likewise.
13200 (vhangup): Likewise.
13201 * sysdeps/unix/common/syscalls.list: Remove file.
13202 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13203 * sysdeps/unix/sysv/linux/Implies: Likewise.
13205 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13207 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13209 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13213 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13216 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13219 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13222 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13225 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13228 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13231 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13235 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13239 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13242 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13246 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13250 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13252 * sysdeps/unix/common/bits/dirent.h: Remove file.
13253 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13255 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13256 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13257 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13258 * sysdeps/unix/bsd/isatty.c: Likewise.
13259 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13260 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13261 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13263 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13266 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13267 long double comparison inaccuracies.
13268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13271 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13273 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13276 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13279 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13280 nonzero digits before rounding a hex value.
13281 * stdlib/tst-strtod.c (tests): Add another test.
13283 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13285 * sysdeps/s390/fpu/libm-test-ulps: Update.
13287 2012-05-03 Andreas Jaeger <aj@suse.de>
13289 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13290 does not get optimized out.
13291 (malloc_opt_barrier): New.
13293 2012-05-03 Andreas Jaeger <aj@suse.de>
13294 Roland McGrath <roland@hack.frob.com>
13296 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13297 intermediate file deletion.
13298 (generated): Add .symlist files.
13300 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13303 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13304 Redirect under this condition.
13305 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13306 [__USE_GNU] (__dprintf_chk): Not under this condition.
13307 [__USE_GNU] (__vdprintf_chk): Likewise.
13308 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13309 under this condition.
13310 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13311 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13312 [__USE_XOPEN2K8] (vdprintf): Likewise.
13313 [__USE_GNU] (__dprintf_chk): Not under this condition.
13314 [__USE_GNU] (__vdprintf_chk): Likewise.
13315 [__USE_GNU] (dprintf): Likewise.
13316 [__USE_GNU] (vdprintf): Likewise.
13318 2012-05-03 Roland McGrath <roland@hack.frob.com>
13320 * elf/Makefile (common-generated): Set this instead of generated for
13321 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13322 $(all-built-dso)-derived lists.
13324 2012-05-03 Andreas Jaeger <aj@suse.de>
13326 * sysdeps/i386/fpu/libm-test-ulps: Update.
13329 * FAQ.in: Likewise.
13330 * scripts/gen-FAQ.pl: Likewise.
13331 * manual/install.texi (Installation): Point to online location of
13333 * Makefile (files-for-dist): Remove FAQ.
13336 2012-05-02 Allan McRae <allan@archlinux.org>
13338 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13339 (LDFLAGS-reldepmod5.so): Likewise.
13340 (LDFLAGS-reldep6mod1.so): Likewise.
13341 (LDFLAGS-reldep6mod4.so): Likewise.
13342 (LDFLAGS-reldep8mod3.so): Likewise.
13343 (LDFLAGS-unload4mod1.so): Likewise.
13344 (LDFLAGS-unload4mod2.so): Likewise.
13345 (LDFLAGS-tst-initorder): Likewise.
13346 (LDFLAGS-tst-initordera2.so): Likewise.
13347 (LDFLAGS-tst-initordera3.so): Likewise.
13348 (LDFLAGS-tst-initordera4.so): Likewise.
13349 (LDFLAGS-tst-initorderb2.so): Likewise.
13350 (LDFLAGS-noload): Likewise.
13351 (LDFLAGS-next): Likewise.
13352 (LDFLAGS-order2mod1.so): Likewise.
13353 (LDFLAGS-order2mod2.so): Likewise.
13354 (LDFLAGS-tst-initorder2): Likewise.
13355 (LDFLAGS-tst-initorder2a.so): Likewise.
13356 (LDFLAGS-tst-initorder2b.so): Likewise.
13357 (LDFLAGS-tst-initorder2c.so): Likewise.
13358 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13360 2012-05-02 David S. Miller <davem@davemloft.net>
13362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13364 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13367 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13369 2012-05-02 Andreas Jaeger <aj@suse.de>
13371 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13372 since we manipulate rounding mode.
13373 (CPPFLAGS-test-idouble.c): Likewise.
13374 (CPPFLAGS-test-ifloat.c): Likewise.
13375 (CFLAGS-test-ldouble.c): Likewise.
13376 (CFLAGS-test-double.c): Likewise.
13377 (CFLAGS-test-float.c): Likewise.
13378 (CFLAGS-test-misc.c): Likewise.
13379 (CFLAGS-test-test-fenv.c): Likewise.
13381 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13385 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13386 comparisons to determine direction to adjust input.
13388 2012-05-01 Roland McGrath <roland@hack.frob.com>
13390 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13391 output to the target.
13393 * scripts/localplt.awk: New file.
13394 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13395 (check-localplt-CFLAGS): Variable removed.
13396 ($(all-built-dso:=.jmprel)): New static pattern rule.
13397 (generated): Add those targets.
13398 (localplt-built-dso): New variable.
13399 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13401 * elf/check-localplt.c: File removed.
13403 * scripts/check-execstack.awk: New file.
13404 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13405 (check-execstack-CFLAGS): Variable removed.
13406 ($(objpfx)check-execstack.h): Target removed.
13407 ($(objpfx)execstack-default): New target.
13408 (generated): Add that instead of check-execstack.h.
13409 ($(all-built-dso:=.phdr)): New static pattern rule.
13410 (generated): Add those targets.
13411 * elf/check-execstack.c: File removed.
13413 * scripts/check-textrel.awk: New file.
13414 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13415 (check-textrel-CFLAGS): Variable removed.
13416 (all-built-dso): Use := to define.o
13417 ($(all-built-dso:=.dyn)): New static pattern rule.
13418 (generated): Add those targets.
13419 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13420 * config.make.in (READELF): New substituted variable.
13421 * elf/check-textrel.c: File removed.
13423 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13425 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13427 * conform/data/ctype.h-data [C99-based standards] (isblank):
13429 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13430 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13431 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13432 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13433 Specify type. Require positive value.
13434 (EILSEQ): Likewise.
13435 (ERANGE): Likewise.
13436 [ISO || POSIX] (EILSEQ): Do not expect.
13437 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13438 Specify type. Require positive value.
13439 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13440 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13449 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13513 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13514 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13515 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13517 (FLT_ROUNDS): Expect as macro, not constant.
13518 (FLT_MANT_DIG): Use macro-int-constant.
13519 (DBL_MANT_DIG): Likewise.
13520 (LDBL_MANT_DIG): Likewise.
13521 (FLT_DIG): Likewise.
13522 (DBL_DIG): Likewise.
13523 (LDBL_DIG): Likewise.
13524 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13525 (DBL_MIN_EXP): Likewise.
13526 (LDBL_MIN_EXP): Likewise.
13527 (FLT_MAX_EXP): Use macro-int-constant.
13528 (DBL_MAX_EXP): Likewise.
13529 (LDBL_MAX_EXP): Likewise.
13530 (FLT_MAX_10_EXP): Likewise.
13531 (DBL_MAX_10_EXP): Likewise.
13532 (LDBL_MAX_10_EXP): Likewise.
13533 (FLT_MAX): Use macro-constant.
13534 (DBL_MAX): Likewise.
13535 (LDBL_MAX): Likewise.
13536 (FLT_EPSILON): Use macro-constant. Give upper bound.
13537 (DBL_EPSILON): Likewise.
13538 (LDBL_EPSILON): Likewise.
13539 (FLT_MIN): Likewise.
13540 (DBL_MIN): Likewise.
13541 (LDBL_MIN): Likewise.
13542 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13543 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13544 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13545 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13546 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13547 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13548 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13549 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13550 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13551 [ISO11] (FLT_TRUE_MIN): Likewise.
13552 [ISO11] (LDBL_TRUE_MIN): Likewise.
13553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13554 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13555 (SCHAR_MIN): Use macro-int-constant. Specify type.
13556 (SCHAR_MAX): Likewise.
13557 (UCHAR_MAX): Likewise.
13558 (CHAR_MIN): Likewise.
13559 (CHAR_MAX): Likewise.
13560 (MB_LEN_MAX): Use macro-int-constant.
13561 (SHRT_MIN): Use macro-int-constant. Specify type.
13562 (SHRT_MAX): Likewise.
13563 (USHRT_MAX): Likewise.
13564 (INT_MAX): Likewise.
13565 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13567 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13569 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13571 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13572 bound negative. Suffix upper bound with "L".
13573 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13575 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13577 [C99-based standards] (LLONG_MAX): Likewise.
13578 [C99-based standards] (ULLONG_MAX): Likewise.
13579 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13581 [ISO11] (max_align_t): Require type.
13582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13584 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13585 from $CFLAGS, without defining away __attribute__ calls.
13586 (checknamespace): Use $CFLAGS_namespace.
13588 * conform/conformtest.pl (@keywords): Only include C99 keywords
13589 for standards based on C99 or C11.
13591 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13593 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13596 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13597 usability of symbols in #if.
13599 * conform/conformtest.pl: If macro or constant types start
13600 "promoted:", expect the symbol to be of the following type
13601 promoted by the integer promotions.
13603 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13604 in one place. Also handle "macro-constant".
13606 * conform/conformtest.pl: Only accept expected macro values with
13607 "==". Parse all "macro" lines in one place.
13608 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13610 * conform/conformtest.pl: Handle braced types on "constant" lines
13611 instead of handling "typed-constant".
13612 * conform/data/signal.h-data: Use "constant" instead of
13615 * conform/conformtest.pl: Handle "optional-" at start of lines in
13616 one place rather than duplicating several cases. Handle each
13617 format of "macro" line with initial "optional-".
13619 * conform/conformtest.pl: Only accept expected constant or
13620 optional-constant values with "==". Parse all "constant" lines in
13621 one place. Parse all "optional-constant" lines in one place.
13622 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13623 * conform/data/fmtmsg.h-data: Likewise.
13624 * conform/data/netinet/in.h-data: Likewise.
13625 * conform/data/tar.h-data: Likewise.
13626 * conform/data/limits.h-data: Use "==" form on "constant" and
13627 "optional-constant" lines.
13629 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13630 Use -std=c99 for XOPEN2K.
13631 (@knownproblems): Remove.
13632 (newtoken): Don't check %isknown.
13634 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13635 Do not expect macro.
13636 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13637 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13638 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13639 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13640 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13641 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13642 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13643 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13644 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13645 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13646 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13647 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13648 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13649 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13666 [XPG3] (acosh): Likewise.
13667 [XPG3] (asinh): Likewise.
13668 [XPG3] (atanh): Likewise.
13669 [XPG3] (cbrt): Likewise.
13670 [XPG3] (expm1): Likewise.
13671 [XPG3] (ilogb): Likewise.
13672 [XPG3] (log1p): Likewise.
13673 [XPG3] (logb): Likewise.
13674 [XPG3] (nextafter): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13677 [XPG3] (remainder): Likewise.
13678 [XPG3] (rint): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13686 [UNIX98 || XOPEN2K] (scalb): Expect.
13687 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13688 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13825 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13826 _XOPEN_SOURCE_EXTENDED for XPG4.
13828 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13830 * Makeconfig (localtime): Remove variable.
13831 (inst_localtime-file): Likewise.
13833 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13854 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13858 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13859 comparisons to determine direction to adjust input.
13860 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13861 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13862 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13864 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13866 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13868 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13869 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13871 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13873 * math/libm-test.inc (nexttoward_test): Add more tests.
13875 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13878 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13879 in version GLIBC_2.1, not GLIBC_2.0.
13880 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13883 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13886 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13888 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13889 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13890 * math/libm-test.inc (acos_test): Add more tests.
13891 (asin_test): Likewise.
13892 * sysdeps/i386/fpu/libm-test-ulps: Update.
13893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13896 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13898 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13899 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13900 * math/libm-test.inc (acos_test_tonearest): New function.
13901 (acos_test_towardzero): Likewise.
13902 (acos_test_downward): Likewise.
13903 (acos_test_upward): Likewise.
13904 (asin_test_tonearest): Likewise.
13905 (asin_test_towardzero): Likewise.
13906 (asin_test_downward): Likewise.
13907 (asin_test_upward): Likewise.
13908 (main): Call the new functions.
13909 * sysdeps/i386/fpu/libm-test-ulps: Update.
13910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13914 * math/e_exp10.c: Include <float.h>.
13915 (__ieee754_exp10): Handle underflow here rather than multiplying
13916 large negative argument by M_LN10.
13917 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13919 * math/e_exp10l.c: Include <float.h>.
13920 (__ieee754_exp10l): Handle underflow here rather than multiplying
13921 large negative argument by M_LN10l.
13922 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13923 spurious overflow exception on underflow.
13925 2012-04-29 Marek Polacek <polacek@redhat.com>
13927 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13928 (__fortify_function): New macro.
13929 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13930 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13931 __extern_always_inline.
13932 * libio/bits/stdio2.h: Likewise.
13933 * libio/bits/stdio.h: Likewise.
13934 * string/string.h: Likewise.
13935 * string/bits/string3.h: Likewise.
13936 * include/stdio.h: Likewise.
13937 * stdlib/bits/stdlib.h: Likewise.
13938 * stdlib/stdlib.h: Likewise.
13939 * rt/bits/mqueue2.h: Likewise.
13940 * rt/mqueue.h: Likewise.
13941 * posix/bits/unistd.h: Likewise.
13942 * posix/unistd.h: Likewise.
13943 * io/bits/poll2.h: Likewise.
13944 * io/bits/fcntl2.h: Likewise.
13945 * io/fcntl.h: Likewise.
13946 * io/sys/poll.h: Likewise.
13947 * misc/bits/syslog.h: Likewise.
13948 * misc/bits/syslog-ldbl.h: Likewise.
13949 * misc/sys/syslog.h: Likewise.
13950 * socket/bits/socket2.h: Likewise.
13951 * socket/sys/socket.h: Likewise.
13952 * debug/tst-chk1.c: Likewise.
13953 * wcsmbs/bits/wchar2.h: Likewise.
13954 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13955 * wcsmbs/wchar.h: Likewise.
13957 2012-04-29 Andreas Jaeger <aj@suse.de>
13959 * Makerules (tests): Remove enable-check-abi protection.
13960 (check-abi-warn): Remove.
13961 (check-abi-%): Remove check-abi-warn usage.
13963 * configure.in: Remove check-abi configure option.
13964 * configure: Regenerated.
13965 * config.make.in (enable-check-abi): Remove.
13967 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13970 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13971 double functions to double *_finite functions.
13974 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13975 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13977 * stdio-common/Makefile (tests): Add tst-sprintf3.
13978 * stdio-common/tst-sprintf3.c: New file.
13980 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13981 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13983 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13985 * conform/conformtest.pl: Remove duplicate typed-constant
13988 2012-04-28 David S. Miller <davem@davemloft.net>
13990 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13991 (check-abi-%): Remove AWK script prerequisite and explicit
13993 (check-abi): Rewrite to just diff the symlist with the abilist.
13994 (config-tls, config-abi-config): Delete, no longer used.
13995 (update-abi-%): Remove AWK script and explicit abilist directory.
13996 (update-abi): Rewrite to simply compare and conditionally copy the
13997 symlist and the sysdep abilist file. Remove update-abi-config
13999 * abilist/ld.abilist: Remove.
14000 * abilist/libBrokenLocale.abilist: Remove.
14001 * abilist/libanl.abilist: Remove.
14002 * abilist/libcrypt.abilist: Remove.
14003 * abilist/libdl.abilist: Remove.
14004 * abilist/librt.abilist: Remove.
14005 * abilist/libthread_db.abilist: Remove.
14006 * abilist/libutil.abilist: Remove.
14007 * scripts/extract-abilist.awk: Remove.
14008 * scripts/merge-abilist.awk: Remove.
14009 * sysdeps/generic/libcidn.abilist: New file.
14010 * sysdeps/generic/libnss_compat.abilist: New file.
14011 * sysdeps/generic/libnss_db.abilist: New file.
14012 * sysdeps/generic/libnss_dns.abilist: New file.
14013 * sysdeps/generic/libnss_files.abilist: New file.
14014 * sysdeps/generic/libnss_hesiod.abilist: New file.
14015 * sysdeps/generic/libnss_nis.abilist: New file.
14016 * sysdeps/generic/libnss_nisplus.abilist: New file.
14017 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14018 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14019 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14021 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14022 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14023 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14024 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14025 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14026 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14027 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14028 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14029 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14031 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14032 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14033 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14034 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14036 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14037 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14038 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14039 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14040 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14041 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14043 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14044 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14045 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14047 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14150 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14151 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14152 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14155 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14156 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14157 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14158 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14159 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14160 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14161 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14162 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14163 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14215 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14217 * conform/conformtest.pl: Fix typo in handling typed-constant from
14220 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14222 * README: Cut down references to pre-2.6 Linux kernels and
14223 Linuxthreads. Update lists of configurations in libc and ports
14224 and sort alphabetically. Say "or newer" with Linux kernel version
14227 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14229 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14232 * math/libm-test.inc (logb_test_downward): New test to expose
14233 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14236 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14239 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14241 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14242 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14244 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14246 * sysdeps/unix/i386/brk.S: Remove file.
14247 * sysdeps/unix/i386/dl-brk.S: Likewise.
14248 * sysdeps/unix/i386/pipe.S: Likewise.
14249 * sysdeps/unix/i386/sigreturn.S: Likewise.
14250 * sysdeps/unix/i386/syscall.S: Likewise.
14251 * sysdeps/unix/i386/vfork.S: Likewise.
14252 * sysdeps/unix/i386/wait.S: Likewise.
14254 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14255 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14257 * configure.in (arm*-none*): Do not allow without
14258 --enable-hacker-mode.
14259 (netbsd*): Remove case setting base_os.
14260 (386bsd*): Likewise.
14261 (freebsd*): Likewise.
14264 (sunos*): Likewise.
14265 (ultrix*): Likewise.
14266 (newsos*): Likewise.
14267 (dynix*): Likewise.
14273 (minix*): Likewise.
14274 (irix4*): Likewise.
14275 (irix6*): Likewise.
14276 (solaris[2-9]*): Likewise.
14278 * configure: Regenerated.
14280 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14284 overflow or cancellation in calculating denominator.
14285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14286 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14287 down expression to avoid unexpected rounding in newer GCCs.
14288 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14290 2012-04-26 David S. Miller <davem@davemloft.net>
14292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14293 long-double compat symbols.
14294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14308 2012-04-25 David S. Miller <davem@davemloft.net>
14310 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14311 HWCAP_* values only after the memory barriers have been defined.
14312 (atomic_full_barrier): Define.
14313 (atomic_read_barrier): Define.
14314 (atomic_write_barrier): Define.
14316 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14318 * shlib-versions: Add libgcc_s version information.
14319 * sysdeps/generic/libgcc_s.h: Remove.
14320 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14322 * sysdeps/gnu/unwind-resume.c: Likewise.
14323 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14325 2012-04-25 David S. Miller <davem@davemloft.net>
14327 * sysdeps/unix/sparc/brk.S: Delete.
14328 * sysdeps/unix/sparc/dl-brk.S: Delete.
14329 * sysdeps/unix/sparc/pipe.S: Delete.
14330 * sysdeps/unix/sparc/sysdep.S: Delete.
14331 * sysdeps/unix/sparc/sysdep.h: Delete.
14332 * sysdeps/unix/sparc/vfork.S: Delete.
14333 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14334 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14336 ret_ERRVAL, r0, r1, MOVE): Define.
14337 (JUMPTARGET): Remove.
14338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14339 sysdeps/unix/sparc/sysdep.h
14340 (ENTRY, END): Remove.
14341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14343 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14345 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14346 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14349 * timezone/README: Update upstream location and email address for
14351 * timezone/zdump.c: Update from tzcode 2012b.
14352 * timezone/zic.c: Likewise.
14354 * configure.in (libc_cv_as_needed): Remove test.
14355 * configure: Regenerated.
14356 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14357 conditional definition.
14358 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14359 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14360 * config.make.in (have-as-needed): Remove variable.
14362 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14363 Paul Pluzhnikov <ppluzhnikov@google.com>
14365 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14368 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14370 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14371 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14372 * sysdeps/sh/strlen.S: Likewise.
14374 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14376 * sysdeps/unix/fork.S: Remove file.
14377 * sysdeps/unix/i386/fork.S: Likewise.
14378 * sysdeps/unix/sparc/fork.S: Likewise.
14380 * sysdeps/unix/system.c: Remove file.
14381 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14383 * sysdeps/unix/getegid.S: Remove file.
14384 * sysdeps/unix/geteuid.S: Likewise.
14386 2012-04-24 Roland McGrath <roland@hack.frob.com>
14388 * scripts/check-localplt.awk: New file.
14389 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14391 * scripts/data/localplt-generic.data: Add a comment.
14393 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14394 NODE when __dir_mkfile failed.
14395 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14396 Reported by Ludovic Courtès <ludo@gnu.org>.
14398 2012-04-24 Andreas Jaeger <aj@suse.de>
14400 * Makerules (common-clean): Also remove gen-as-const-headers
14403 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14405 * Makerules (native-compile): Do not change working directory for
14406 build. Use $(OUTPUT_OPTION) in command.
14407 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14409 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14412 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14413 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14414 * math/libm-test.inc (floor_test): Add more tests.
14415 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14417 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14419 * sysdeps/unix/getdents.c: Remove file.
14420 * sysdeps/unix/sysv/getdents.c: Likewise.
14421 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14423 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14424 sysdeps/unix/mman/syscalls.list.
14426 (mprotect): Likewise.
14428 (munmap): Likewise.
14429 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14430 * sysdeps/unix/mman/syscalls.list: Remove.
14431 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14433 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14434 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14435 * configure: Regenerated.
14436 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14437 $(libgcc_s_suffix).
14438 * config.make.in (libgcc_s_suffix): Remove variable.
14440 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14442 * sysdeps/unix/sysv/gethostname.c: Move to ...
14443 * sysdeps/posix/gethostname.c: ... here.
14445 * sysdeps/unix/execve.S: Remove file.
14447 * sysdeps/unix/_exit.S: Remove file.
14449 2012-04-23 Andreas Jaeger <aj@suse.de>
14452 * manual/Makefile: Remove make dist support, there's no
14453 need for a stand-alone documentation tar ball.
14454 (TEXI2DVI): Define always, it's not in Makeconfig.
14457 (edition): Removed.
14458 (glibc-doc-$(edition).tar): Removed
14462 (ETAGS): Remove, it's in Makeconfig.
14463 (move-if-change): Remove, it's in Makeconfig.
14465 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14468 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14469 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14470 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14471 (strtod_l, strtof_l, strtold_l): Remove __wur.
14472 It is not necessarily an error to ignore strtol's return value.
14473 One can reliably look at the stored endptr to decide whether
14474 the number had valid syntax.
14476 2012-04-21 Andreas Jaeger <aj@suse.de>
14479 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14481 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14483 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14484 * sysdeps/unix/sysv/Versions: Remove file.
14486 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14491 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14495 version from __vm86.
14497 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14499 * sysdeps/unix/common/lxstat.c: Remove file.
14500 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14502 * sysdeps/unix/sysv/Makefile: Remove file.
14504 * sysdeps/unix/sysv/direct.h: Remove file.
14506 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14507 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14508 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14509 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14510 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14511 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14512 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14514 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14516 * sysdeps/unix/xmknod.c: Remove file.
14517 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14519 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14521 * sysdeps/unix/sysv/i386/time.S: Remove file.
14523 * sysdeps/unix/fxstat.c: Remove file.
14524 * sysdeps/unix/xstat.c: Likewise.
14525 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14527 * sysdeps/unix/sysv/sigaction.c: Remove file.
14529 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14530 (sysdep_headers): Remove variable.
14531 [termio.h not in sysdep_headers] (generated): Likewise.
14532 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14533 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14534 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14535 * sysdeps/unix/sysv/tcflow.c: Likewise.
14536 * sysdeps/unix/sysv/tcflush.c: Likewise.
14537 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14538 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14539 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14540 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14541 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14543 * sysdeps/unix/siglist.c: Remove file.
14545 * sysdeps/unix/getppid.S: Remove file.
14547 * sysdeps/unix/mkdir.c: Remove file.
14548 * sysdeps/unix/rmdir.c: Likewise.
14550 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14552 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14554 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14555 errlist-compat value.
14557 2012-04-18 David S. Miller <davem@davemloft.net>
14559 * sysdeps/generic/memcopy.h (reg_char): Delete.
14560 * debug/strcat_chk.c: Use char, not reg_char.
14561 * debug/strcpy_chk.c: Likewise.
14562 * debug/strncat_chk.c: Likewise.
14563 * debug/strncpy_chk.c: Likewise.
14564 * string/memchr.c: Likewise.
14565 * string/memrchr.c: Likewise.
14566 * string/rawmemchr.c: Likewise.
14567 * string/strcat.c: Likewise.
14568 * string/strchr.c: Likewise.
14569 * string/strchrnul.c: Likewise.
14570 * string/strcmp.c: Likewise.
14571 * string/strcpy.c: Likewise.
14572 * string/strncat.c: Likewise.
14573 * string/strncmp.c: Likewise.
14574 * string/strncpy.c: Likewise.
14576 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14578 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14579 __builtin_memcopy is called when src and dest ranges are known to not
14582 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14584 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14585 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14586 fwd_align_merge macro call.
14587 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14588 bwd_align_merge macro call.
14589 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14591 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14594 bwd_align_merge macros.
14595 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14596 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14597 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14599 2012-04-18 David S. Miller <davem@davemloft.net>
14601 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14603 2012-04-18 Andreas Jaeger <aj@suse.de>
14606 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14607 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14608 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14610 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14611 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14612 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14614 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14615 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14616 Adjust for changed ldbl-128 files.
14618 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14619 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14620 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14622 2012-04-17 David S. Miller <davem@davemloft.net>
14624 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14626 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14628 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14629 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14630 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14631 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14632 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14633 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14635 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14638 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14639 * math/libm-test.inc: Add ilogb errno and exception tests.
14640 * math/w_ilogb.c: New file: ilogb wrapper.
14641 * math/w_ilogbf.c: New file: ilogbf wrapper.
14642 * math/w_ilogbl.c: New file: ilogbl wrapper.
14643 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14644 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14645 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14646 exception being thrown with 0.0 as argument.
14647 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14648 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14649 exception being thrown with 0.0 as argument.
14650 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14651 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14652 exception being thrown with 0.0 as argument.
14653 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14654 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14655 exception being thrown with 0.0 as argument.
14656 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14657 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14658 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14659 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14660 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14661 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14662 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14663 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14664 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14666 2012-04-17 Petr Baudis <pasky@ucw.cz>
14668 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14671 2012-04-16 Marek Polacek <polacek@redhat.com>
14673 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14675 2012-04-16 Marek Polacek <polacek@redhat.com>
14677 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14678 operands of fdivp instruction.
14680 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14682 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14683 * elf/tst-auditmod3b.c: Likewise.
14684 * elf/tst-auditmod4b.c: Likewise.
14685 * elf/tst-auditmod5b.c: Likewise.
14686 * elf/tst-auditmod6b.c: Likewise.
14687 * elf/tst-auditmod6c.c: Likewise.
14688 * elf/tst-auditmod7b.c: Likewise.
14689 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14690 * sysdeps/x86_64/preconfigure.in: Likewise.
14691 * sysdeps/x86_64/preconfigure: Regenerated.
14693 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14695 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14698 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14701 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14703 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14706 * locale/iso-639.def: Fix gl language name. Spotted by
14709 2012-04-12 Roland McGrath <roland@hack.frob.com>
14712 * libio/libio.h (__io_write_fn): Update comment.
14714 2012-04-12 Petr Baudis <pasky@ucw.cz>
14717 * stdio.texi (Hook Functions): The user provided writer function
14718 is not allowed to return -1.
14720 2012-04-11 David S. Miller <davem@davemloft.net>
14722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14724 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14726 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14727 Add a leading slash to rtkaio.
14729 2012-04-11 Jim Meyering <meyering@redhat.com>
14732 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14733 It is not necessarily an error to ignore fwrite's return
14734 value. One can reliably use ferror to test for errors after
14737 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14739 * bits/types.h (__snseconds_t): New type.
14740 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14742 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14744 (__SNSECONDS_T_TYPE): Likewise.
14745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14746 (__SNSECONDS_T_TYPE): Likewise.
14747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14748 (__SNSECONDS_T_TYPE): Likewise.
14750 2012-04-10 Andreas Jaeger <aj@suse.de>
14753 * manual/time.texi (Processor Time): Return type of times is
14754 elapsed real time since an arbitrary point in the past.
14755 (CPU Time): Move CLK_TCK from here...
14756 (Processor Time): ...to here. Correct description.
14757 * manual/conf.texi (Constants for Sysconf): Correct description of
14760 2012-04-10 David S. Miller <davem@davemloft.net>
14763 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14764 where the is a gap between DT_REL(A) and DT_JMPREL.
14766 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14768 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14769 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14770 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14772 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14774 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14775 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14776 (dl_main): Handle --inhibit-cache.
14777 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14779 * elf/dl-load.c (_dl_map_object): Use it.
14780 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14782 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14785 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14786 (__ieee754_powl): Saturate large exponents rather than testing for
14787 overflow of y*log2(x).
14788 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14789 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14793 * math/s_ctan.c: Include <float.h>.
14794 (__ctan): Avoid internal overflow or cancellation in calculating
14796 * math/s_ctanf.c: Likewise.
14797 * math/s_ctanl.c: Likewise.
14798 * math/s_ctanh.c: Likewise.
14799 * math/s_ctanhf.c: Likewise.
14800 * math/s_ctanhl.c: Likewise.
14801 * math/libm-test.inc (ctan_test): Add more tests.
14802 (ctanh_test): Likewise.
14803 * sysdeps/i386/fpu/libm-test-ulps: Update.
14804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14806 2012-04-09 Andreas Jaeger <aj@suse.de>
14809 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14810 is an optional BSD extension.
14813 * manual/stdio.texi (Opening Streams): Document additional fopen
14816 2012-04-09 Roland McGrath <roland@hack.frob.com>
14818 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14819 %eax without telling the compiler.
14821 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14824 * manual/install.texi: Use sourceware.org.
14826 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14829 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14830 (__ieee754_pow): Generate overflow and underflow using huge*huge
14831 and tiny*tiny rather than just returning constant infinity or zero
14832 for large exponents.
14833 * math/libm-test.inc (pow_test): Require overflow exceptions for
14834 applicable cases of large exponents.
14837 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14838 (__ieee754_pow): Use iterative multiplication algorithm only for
14839 integer exponents with absolute value below 1024. Check for odd
14840 integer exponents when using algorithm for real exponents.
14841 * math/libm-test.inc (pow_test): Add more tests.
14842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14844 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14847 * math/libm-test.inc (exp_test): Do not allow overflow exception
14850 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14853 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14854 instead of __kernel_standard_f.
14856 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14858 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14859 * sysdeps/x86_64/memset_chk.S: Likewise.
14861 2012-04-08 Andreas Jaeger <aj@suse.de>
14864 * manual/startup.texi (Environment Access): Describe return value
14865 for putenv and setenv.
14868 * manual/filesys.texi (Directory Entries): Add description for
14872 * manual/filesys.texi (Directory Entries): Clarify that it's file
14873 system not operating system in the description of DT_UNKNOWN.
14876 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14878 2012-04-08 Stephen Compall <s11@member.fsf.org>
14881 * manual/llio.texi (Opening and Closing Files): Add cross
14882 reference to explain mode argument.
14884 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14886 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14887 * sysdeps/x86_64/memset_chk.S: Likewise.
14889 2012-04-07 David S. Miller <davem@davemloft.net>
14891 * elf/elf.h (R_SPARC_WDISP10): Define.
14892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14895 R_SPARC_SIZE64 and R_SPARC_H34.
14897 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14899 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14900 conditions and remove no longer applicable assertion.
14902 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14904 * bits/byteswap.h: Include <features.h>.
14905 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14906 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14908 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14910 * bits/byteswap.h (__bswap_16): Removed.
14911 Include <bits/byteswap-16.h> to get __bswap_16.
14912 * sysdeps/i386/bits/byteswap.h: Likewise.
14913 * sysdeps/s390/bits/byteswap.h: Likewise.
14914 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14915 * bits/byteswap-16.h: New file.
14916 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14917 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14918 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14919 * string/Makefile (headers): Add bits/byteswap-16.h.
14921 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14924 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14926 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14927 * nss/tst-nss-static.c: New.
14929 2012-04-06 Robert Millan <rmh@gnu.org>
14932 * manual/llio.texi (File Position Primitive): lseek
14933 refers to WHENCE when it really means OFFSET.
14935 2012-04-06 Andreas Jaeger <aj@suse.de>
14937 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14938 strncmp declarations.
14940 * abilist/libc.abilist: Add __poll and __ppoll.
14942 2012-04-05 David S. Miller <davem@davemloft.net>
14944 * scripts/check-local-headers.sh: Accept a host triplet in the
14945 path matched by the exclude regexp.
14947 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14949 * sysdeps/powerpc/powerpc32/dl-machine.h
14950 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14951 * sysdeps/s390/s390-32/dl-machine.h
14952 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14953 * sysdeps/sparc/sparc32/dl-machine.h
14954 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14955 * sysdeps/sparc/sparc64/dl-machine.h
14956 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14958 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14960 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14961 undefined symbol errors.
14963 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14966 2012-04-05 Michael Matz <matz@suse.de>
14969 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14971 2012-04-05 Andreas Jaeger <aj@suse.de>
14974 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14977 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14979 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14980 which ROUND is no valid rounding mode.
14982 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14984 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14986 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14988 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14990 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14991 an exception using FPU order intentionally.
14993 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14995 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14996 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14997 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14998 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15000 2012-04-05 Simon Josefsson <simon@josefsson.org>
15003 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15004 EINVAL when BUFLEN is too smal.
15006 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15009 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15010 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15012 2012-04-03 Andreas Jaeger <aj@suse.de>
15015 * manual/setjmp.texi (System V contexts): Fix sentence.
15018 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15019 New macro for this case.
15020 [!__GNUC__] (__bswap_64): New inline function for this case.
15021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15022 * bits/byteswap.h: Likewise.
15023 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15024 ull, guard with __GLIBC_HAVE_LONG_LONG.
15026 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15027 __GLIBC_HAVE_LONG_LONG.
15029 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15030 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15032 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15035 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15036 inptr and inend, rather than using last_ch.
15038 2012-04-02 David S. Miller <davem@davemloft.net>
15040 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15041 * stdio-common/printf-parse.h (read_int): Change return type to
15042 'int', return -1 on INT_MAX overflow.
15043 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15044 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15045 overflows INT_MAX. Check for overflow of in-format-string precision
15046 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15047 SIZE_MAX not INT_MAX for integer overflow test.
15048 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15049 skip the construct in the format string but do not record anything.
15050 * stdio-common/bug22.c: Adjust to test both width/prevision
15051 INT_MAX overflow as well as total length INT_MAX overflow. Check
15052 explicitly for proper errno values.
15054 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15056 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15058 * string/test-strcmp.c [! WIDE]: Likewise.
15059 * time/tst-mktime2.c: Likewise for INT_MAX.
15060 * string/test-string.h: #include <sys/param.h> for MIN.
15062 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15063 * sysdeps/i386/init-first.c (init): Likewise.
15064 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15065 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15066 * sysdeps/sh/init-first.c (init): Likewise.
15068 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15070 * po/ru.po: Update from translation team.
15071 * po/vi.po: Likewise.
15073 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15075 * resolv/nss_dns/dns-host.c: Merge copyright years.
15077 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15079 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15080 Optimize memcpy with prefetch if
15081 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15082 src, dst pointers have unequal 16 byte alignments.
15084 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15087 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15088 from a CNAME entry and return the minimum ttl for the query.
15089 (gaih_getanswer_slice): Likewise.
15091 2012-03-30 Jeff Law <law@redhat.com>
15093 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15095 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15096 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15098 * resolv/nss_dns/dns-host.c: Update copyright year.
15100 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15102 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15103 requests to save a system call. Fix check that all bytes are sent.
15105 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15106 comments for sendmmsg.
15108 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15111 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15112 with only 1 character between 0x0041 and 0x01b0.
15113 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15114 * wcsmbs/tst-mbsnrtowcs.c: New file.
15116 2012-03-29 David S. Miller <davem@davemloft.net>
15118 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15119 small copies by hand.
15121 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15124 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15125 _nss_compat_initgroups_dyn): Fall back to malloc/free
15126 for large group memberships.
15128 2012-03-28 David S. Miller <davem@davemloft.net>
15130 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15131 that branches into memcpy.
15132 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15134 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15135 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15138 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15139 implementation too.
15140 * sysdeps/sparc/mempcpy.S: New file.
15142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15143 the IFUNC routine in the libc case.
15144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15146 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15147 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15148 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15149 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15150 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15151 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15152 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15153 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15155 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15156 loop to 256 bytes instead of 64 bytes and fix test signedness.
15158 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15159 * sysdeps/sparc/sparc32/Makefile: rather than here...
15160 * sysdeps/sparc/sparc64/Makefile: and here.
15162 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15164 * malloc/mallocbug.c: Avoid warnings about unused variables.
15166 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15169 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15170 in the right place. Discard and retry query if response is
15171 larger than input buffer size.
15173 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15178 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15179 x for large integer exponent.
15180 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15181 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15182 sign of result as needed afterwards.
15183 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15184 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15185 result for underflowing pow the same as for overflow.
15186 (__kernel_standard_l): Handle powl overflow and underflow here
15187 rather than calling __kernel_standard.
15188 * math/libm-test.inc (pow_test): Add more tests.
15203 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15204 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15205 (__kernel_standard_l): New function.
15206 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15208 * math/w_acosl.c (__acosl): Likewise.
15209 * math/w_asinl.c (__asinl): Likewise.
15210 * math/w_atan2l.c (__atan2l): Likewise.
15211 * math/w_atanhl.c (__atanhl): Likewise.
15212 * math/w_coshl.c (__coshl): Likewise.
15213 * math/w_exp10l.c (__exp10l): Likewise.
15214 * math/w_exp2l.c (__exp2l): Likewise.
15215 * math/w_fmodl.c (__fmodl): Likewise.
15216 * math/w_hypotl.c (__hypotl): Likewise.
15217 * math/w_j0l.c (__j0l, __y0l): Likewise.
15218 * math/w_j1l.c (__j1l, __y1l): Likewise.
15219 * math/w_jnl.c (__jnl, __ynl): Likewise.
15220 * math/w_lgammal.c (__lgammal): Likewise.
15221 * math/w_log10l.c (__log10l): Likewise.
15222 * math/w_log2l.c (__log2l): Likewise.
15223 * math/w_logl.c (__logl): Likewise.
15224 * math/w_powl.c (__powl): Likewise.
15225 * math/w_remainderl.c (__remainderl): Likewise.
15226 * math/w_scalbl.c (sysv_scalbl): Likewise.
15227 * math/w_sinhl.c (__sinhl): Likewise.
15228 * math/w_sqrtl.c (__sqrtl): Likewise.
15229 * math/w_tgammal.c (__tgammal): Likewise.
15230 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15231 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15232 * math/libm-test.inc (acos_test): Add more tests.
15233 (acosh_test): Likewise.
15234 (asin_test): Likewise.
15235 (atanh_test): Likewise.
15236 (exp_test): Likewise.
15237 (exp10_test): Likewise.
15238 (exp2_test): Likewise.
15239 (expm1_test): Likewise.
15240 (lgamma_test): Likewise.
15241 (log_test): Likewise.
15242 (log10_test): Likewise.
15243 (log1p_test): Likewise.
15244 (log2_test): Likewise.
15245 (pow_test): Do not allow some spurious overflow exceptions.
15246 (sqrt_test): Add more tests.
15247 (tgamma_test): Likewise.
15248 (y0_test): Likewise.
15249 (y1_test): Likewise.
15250 (yn_test): Likewise.
15252 2012-03-27 Anton Blanchard <anton@samba.org>
15254 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15256 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15257 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15260 2012-03-27 David S. Miller <davem@davemloft.net>
15262 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15264 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15265 have-as-vis3 check.
15267 2012-03-27 Andreas Jaeger <aj@suse.de>
15269 * sysdeps/x86_64/elf/configure.in: Moved to ...
15270 * sysdeps/x86_64/configure.in: ... here.
15271 * sysdeps/x86_64/elf/start.S: Moved to ...
15272 * sysdeps/x86_64/start.S: ... here.
15273 * sysdeps/x86_64/elf/configure: Delete.
15275 * sysdeps/x86_64/configure.in: Merge contents from
15276 sysdeps/i386/configure.in (without i686 check).
15278 * sysdeps/i386/elf/Versions: Merge into ...
15279 * sysdeps/i386/Versions: ... this.
15280 * sysdeps/i386/elf/Versions: Delete file.
15281 * sysdeps/i386/elf/start.S: Moved to ...
15282 * sysdeps/i386/start.S: ...here.
15283 * sysdeps/i386/elf/configure.in: Merge into...
15284 * sysdeps/i386/configure.in: ...here.
15285 * sysdeps/i386/elf/configure.in: Delete file.
15286 * sysdeps/i386/elf/configure: Delete file.
15288 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15289 * debug/backtracesyms.c: ... here.
15290 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15291 * debug/backtracesymsfd.c: ... here.
15292 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15293 * sysdeps/generic/ifunc-sel.h: ... here.
15295 * sysdeps/unix/i386/start.c: Delete file.
15296 * sysdeps/unix/sparc/start.c: Delete file.
15297 * sysdeps/unix/start.c: Delete file.
15299 * sysdeps/sh/elf/configure.in: Moved to ...
15300 * sysdeps/sh/configure.in: ... here.
15301 * sysdeps/sh/elf/start.S: Moved to ...
15302 * sysdeps/sh/start.S: ... here.
15303 * sysdeps/sh/elf/configure: Delete file.
15305 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15306 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15307 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15308 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15309 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15310 * sysdeps/powerpc/powerpc64/start.S: here.
15311 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15312 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15313 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15314 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15315 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15317 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15318 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15319 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15320 * sysdeps/powerpc/powerpc32/start.S: ... here.
15321 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15322 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15323 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15325 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15326 * sysdeps/powerpc/ifunc-sel.h: ... here.
15327 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15328 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15330 * sysdeps/sparc/elf/configure.in: Moved to ...
15331 * sysdeps/sparc/configure.in: ... here.
15332 * sysdeps/sparc/elf/configure: Delete file.
15333 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15334 * sysdeps/sparc/sparc32/start.S: ... here.
15335 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15336 * sysdeps/sparc/sparc64/start.S: ... here.
15337 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15338 * sysdeps/sparc/sparc32/Makefile: ... this.
15339 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15340 * sysdeps/sparc/sparc64/Makefile: ... this.
15342 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15343 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15344 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15345 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15346 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15347 * sysdeps/s390/s390-32/setjmp.S: ... here.
15348 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15349 * sysdeps/s390/s390-32/configure.in: ... here.
15350 * sysdeps/s390/s390-32/elf/configure: Delete file.
15351 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15352 * sysdeps/s390/s390-32/start.S: ... here.
15354 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15355 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15356 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15357 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15358 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15359 * sysdeps/s390/s390-64/setjmp.S: ... here.
15360 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15361 * sysdeps/s390/s390-64/configure.in: ... here
15362 * sysdeps/s390/s390-64/elf/configure: Delete file.
15363 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15364 * sysdeps/s390/s390-64/start.S: ... here.
15365 * sysdeps/s390/s390-64/elf/configure: Delete.
15367 * configure.in: Remove support for elf directories in sysdeps.
15369 * configure: Regenerated.
15370 * sysdeps/i386/configure: Regenerated.
15371 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15372 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15373 * sysdeps/s390/s390-32/configure: Regenerated.
15374 * sysdeps/s390/s390-64/configure: Regenerated.
15375 * sysdeps/sh/configure: Regenerated.
15376 * sysdeps/sparc/configure: Regenerated.
15377 * sysdeps/x86_64/configure: Regenerated.
15379 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15383 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15384 denormal result into account.
15386 2012-03-25 Roland McGrath <roland@hack.frob.com>
15388 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15389 Reported by Allan McRae <allan@archlinux.org>.
15391 2012-03-23 Jeff Law <law@redhat.com>
15393 * nss/getnssent.c (__nss_getent): Fix typo.
15395 2012-03-23 David S. Miller <davem@davemloft.net>
15397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15399 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15401 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15402 to pad to uint64_t for each field.
15403 (dl_tls_index): Replace unsigned long with uint64_t.
15405 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15406 Paul Pluzhnikov <ppluzhnikov@google.com>
15409 * grp/Makefile (otherlibs): Don't set it.
15410 * inet/Makefile (otherlibs): Likewise.
15411 * login/Makefile (otherlibs): Likewise.
15412 * nscd/Makefile (otherlibs): Likewise.
15413 * posix/Makefile (otherlibs): Likewise.
15414 * pwd/Makefile (otherlibs): Likewise.
15415 * rt/Makefile (otherlibs): Likewise.
15416 * sunrpc/Makefile (otherlibs): Likewise.
15417 * nss/Makefile (otherlibs): Likewise.
15418 Add libnss_files to routines and static-only-routines.
15419 ($(objpfx)getent): Remove rule.
15420 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15421 static-only-routines.
15423 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15426 * math/s_cexp.c: Include <float.h>.
15427 (__cexp): Handle exp result overflowing not necessarily
15428 overflowing both real and imaginary parts of result.
15429 * math/s_cexpf.c: Likewise.
15430 * math/s_cexpl.c: Likewise.
15431 * math/libm-test.inc (cexp_test): Add more tests.
15432 * sysdeps/i386/fpu/libm-test-ulps: Update.
15433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15435 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15437 * include/link.h (ELFW): New macro.
15438 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15439 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15441 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15443 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15446 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15448 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15450 (struct La_x32_retval): Likewise.
15452 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15454 * sysdeps/x86_64/preconfigure.in: New file.
15455 * sysdeps/x86_64/preconfigure: New generated file.
15457 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15460 * math/e_exp2l.c: Include <float.h>.
15461 (__ieee754_exp2l): Handle overflow and underflow cases
15462 separately. Only pass fractional part of argument to
15464 * math/libm-test.inc (exp2_test): Add more tests.
15466 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15467 negating x to take absolute value.
15468 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15470 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15471 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15473 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15474 computing low part if x was negated.
15475 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15477 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15479 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15480 la_x32_gnu_pltexit.
15481 (pltexit): Cast int_retval to ptrdiff_t.
15482 * elf/tst-auditmod3b.c: Likewise.
15483 * elf/tst-auditmod4b.c: Likewise.
15484 * elf/tst-auditmod5b.c: Likewise.
15485 * elf/tst-auditmod6b.c: Likewise.
15486 * elf/tst-auditmod6c.c: Likewise.
15487 * elf/tst-auditmod7b.c: Likewise.
15489 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15490 and x32_gnu_pltexit.
15492 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15493 __ELF_NATIVE_CLASS.
15494 (La_x32_regs): New macro.
15495 (La_x32_retval): Likewise.
15496 (la_x32_gnu_pltenter): New function prototype.
15497 (la_x32_gnu_pltexit): Likewise.
15499 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15506 * configure.in (libc_cv_cc_nofma): Check for option to disable
15507 generation of FMA instructions.
15508 * configure: Regenerate.
15509 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15510 * sysdeps/ieee754/dbl-64/Makefile: New file.
15511 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15512 Remove brandred-fma4.
15513 (CFLAGS-brandred-fma4.c): Remove.
15514 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15515 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15517 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15520 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15522 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15523 LLONG_MAX != LONG_MAX.
15524 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15525 (_fitoa_word): Likewise.
15526 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15527 LLONG_MAX != LONG_MAX.
15528 * stdio-common/_itowa.h: Include <_itoa.h>.
15529 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15530 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15531 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15532 only if not defined.
15533 (_ITOA_WORD_TYPE): Likewise.
15534 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15535 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15537 2012-03-21 David S. Miller <davem@davemloft.net>
15539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15541 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15543 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15544 of x86_64 when setting libc_cv_slibdir, libdir and
15546 * sysdeps/unix/sysv/linux/configure: Regenerated.
15548 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15550 * manual/lang.texi (Old Varargs): Remove section.
15551 (How Variadic): Update menu.
15552 (va_start): Do not mention varargs.h.
15554 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15555 Joseph Myers <joseph@codesourcery.com>
15557 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15559 * configure: Regenerated.
15561 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15563 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15564 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15567 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15570 * Makefile (files-for-dist): Remove NOTES.
15571 (NOTES): Remove rule.
15572 * README: Don't refer to NOTES.
15573 * manual/creature.texi: Don't include macros.texi.
15574 * manual/intro.texi (creature.texi): Remove comment referring to
15577 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15578 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15579 * configure: Regenerated.
15580 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15581 LIBC_TRY_CC_OPTION.
15582 (libc_cv_as_i686): Likewise.
15583 (libc_cv_cc_avx): Likewise.
15584 (libc_cv_cc_sse2avx): Likewise.
15585 (libc_cv_cc_fma4): Likewise.
15586 (libc_cv_cc_novzeroupper): Likewise.
15587 * sysdeps/i386/configure: Regenerated.
15590 * sysdeps/i386/fpu/s_cexp.S: Remove.
15591 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15592 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15593 * math/libm-test.inc (cexp_test): Add more tests.
15594 * sysdeps/i386/fpu/libm-test-ulps: Update.
15595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15597 2012-03-21 Allan McRae <allan@archlinux.org>
15599 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15601 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15604 * math/w_exp2.c: Do not include <float.h>.
15605 (o_threshold, u_threshold): Remove.
15606 (__exp2): Calculate result before checking finiteness and calling
15608 * math/w_exp2f.c: Likewise.
15609 * math/w_exp2l.c: Likewise.
15610 * math/libm-test.inc (exp2_test): Require overflow exception for
15614 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15615 range of signed 64-bit integers before using fistpll. Remove
15616 checks for whether integers fit in mantissa bits.
15617 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15618 the range of signed 32-bit integers before using fistpl. Remove
15619 checks for whether integers fit in mantissa bits.
15620 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15621 (__ieee754_powl): Test for y outside the range of signed 64-bit
15622 integers before using fistpll. Reduce 64-bit values to 63-bit
15624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15625 divide-by-zero is raised for zero to large negative powers.
15626 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15627 (__ieee754_powl): Test for y outside the range of signed 64-bit
15628 integers before using fistpll. Reduce 64-bit values to 63-bit
15630 * math/libm-test.inc (pow_test): Add more tests.
15632 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15634 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15635 <stdio-common/_itoa.h>.
15636 * debug/segfault.c: Likewise.
15637 * elf/dl-cache.c: Likewise.
15638 * elf/dl-minimal.c: Likewise.
15639 * elf/dl-misc.c: Likewise.
15640 * elf/dl-sysdep.c: Likewise.
15641 * elf/dl-version.c: Likewise.
15642 * elf/rtld.c: Likewise.
15643 * hurd/hurdsock.c: Likewise.
15644 * hurd/lookup-retry.c: Likewise.
15645 * malloc/malloc.c: Likewise.
15646 * malloc/mtrace.c: Likewise.
15647 * nscd/nscd_getgr_r.c: Likewise.
15648 * nscd/nscd_getpw_r.c: Likewise.
15649 * nscd/nscd_getserv_r.c: Likewise.
15650 * posix/getopt_init.c: Likewise.
15651 * posix/wordexp.c: Likewise.
15652 * stdio-common/_itoa.c: Likewise.
15653 * stdio-common/printf_fphex.c: Likewise.
15654 * stdio-common/vfprintf.c: Likewise.
15655 * string/_strerror.c: Likewise.
15656 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15657 * sysdeps/i386/i686/hp-timing.h: Likewise.
15658 * sysdeps/mach/_strerror.c: Likewise.
15659 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15660 * sysdeps/mach/hurd/sethostid.c: Likewise.
15661 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15662 * sysdeps/mach/xpg-strerror.c: Likewise.
15663 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15664 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15665 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15666 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15667 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15668 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15669 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15670 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15671 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15672 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15673 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15674 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15675 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15676 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15677 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15678 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15679 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15680 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15681 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15682 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15683 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15685 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15687 * stdio-common/_itoa.h: Moved to ...
15688 * sysdeps/generic/_itoa.h: Here.
15690 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15692 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15693 instead of "_itoa.h" and "_itowa.h".
15694 * stdio-common/vfprintf.: Likewise.
15696 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15698 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15700 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15701 (__signbit): Likwise.
15702 (llrintf): Likwise.
15705 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15707 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15710 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15712 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15713 OVERFLOW_EXCEPTION_OK.
15714 * math/libm-test.inc ("Philosophy"): Update comment about
15716 (OVERFLOW_EXCEPTION): Define.
15717 (OVERFLOW_EXCEPTION_OK): Likewise.
15718 (INVALID_EXCEPTION_OK): Renumber.
15719 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15720 (IGNORE_ZERO_INF_SIGN): Likewise.
15721 (test_exceptions): Handle FE_OVERFLOW.
15722 (exp10_test): Expect overflow exceptions.
15723 (exp2_test): Likewise.
15724 (expm1_test): Likewise.
15725 (nextafter_test): Likewise.
15726 (pow_test): Likewise.
15727 (scalbn_test): Likewise.
15728 (scalbln_test): Likewise.
15730 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15732 * sysdeps/x86_64/bits/atomic.h
15733 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15735 (atomic_exchange_acq): Likewise.
15736 (__arch_exchange_and_add_body): Likewise.
15737 (__arch_add_body): Likewise.
15738 (atomic_add_negative): Likewise.
15739 (atomic_add_zero): Likewise.
15741 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15743 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15744 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15746 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15748 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15749 Check __x86_64__ instead of __WORDSIZE.
15751 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15753 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15755 2012-03-19 David S. Miller <davem@davemloft.net>
15757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15759 * sysdeps/sparc/fpu/fenv_private.h: New file.
15760 * sysdeps/sparc/fpu/math_private.h: Use it.
15761 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15763 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15764 (libc_feholdexcept_setroundl): Remove.
15765 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15767 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15768 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15770 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15772 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15773 int64_t instead of long int.
15774 (INSERT_WORDS64): Likwise.
15776 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15778 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15779 _Unwind_GetCFA return to _Unwind_Ptr first.
15781 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15784 * math/s_clog.c: Include <float.h>.
15785 (__clog): Scale large or subnormal inputs.
15786 * math/s_clogf.c: Likewise.
15787 * math/s_clogl.c: Likewise.
15788 * math/s_clog10.c: Include <float.h>.
15789 (M_LOG10_2): Define.
15790 (__clog10): Scale large or subnormal inputs.
15791 * math/s_clog10f.c: Likewise.
15792 * math/s_clog10l.c: Likewise.
15793 * math/libm-test.inc (clog_test): Add more tests.
15794 (clog10_test): Likewise.
15795 * sysdeps/i386/fpu/libm-test-ulps: Update.
15796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15799 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15801 * math/libm-test.inc (atan2_test): Add another test.
15803 * Makerules (common-objdir-compile): Remove.
15804 * sysdeps/unix/Makefile (config-generated): Do not add
15805 $(unix-generated) to variable.
15806 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15807 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15809 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15811 [generic bits/local_lim.h] (before-compile): Do not append to
15813 [generic bits/local_lim.h] (common-generated): Likewise.
15814 [generic sys/param.h] (before-compile): Do not append to variable.
15815 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15816 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15817 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15818 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15820 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15821 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15822 [generic sys/param.h] ($(addprefix
15823 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15824 [generic sys/param.h] (common-generated): Do not append to
15826 [generic sys/param.h] (sysdep_headers): Likewise.
15827 [generic bits/errno.h] (before-compile): Do not append to
15829 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15831 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15832 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15833 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15834 [generic bits/errno.h] (common-generated): Do not append to
15836 [generic bits/ioctls.h] (before-compile): Do not append to
15838 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15840 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15841 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15842 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15844 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15845 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15846 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15847 [generic bits/ioctls.h] (common-generated): Do not append to
15849 [generic sys/syscall.h] (syscall.h): Remove variable.
15850 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15852 [generic sys/syscall.h] (before-compile): Do not append to
15854 [generic sys/syscall.h] (common-generated): Likewise.
15855 * sysdeps/unix/errnos-tmpl.c: Remove file.
15856 * sysdeps/unix/errnos.awk: Likewise.
15857 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15858 * sysdeps/unix/ioctls.awk: Likewise.
15859 * sysdeps/unix/mk-local_lim.c: Likewise.
15860 * sysdeps/unix/snarf-ioctls: Likewise.
15862 2012-03-19 Richard Henderson <rth@twiddle.net>
15864 * sysdeps/i386/fpu/fenv_private.h: New file.
15865 * sysdeps/i386/fpu/math_private.h: Use it.
15866 (math_opt_barrier, math_force_eval): Remove.
15867 (libc_feholdexcept_setround_53bit): Remove.
15868 (libc_feupdateenv_53bit): Remove.
15869 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15870 (math_opt_barrier, math_force_eval): Remove.
15871 (libc_feholdexcept): Remove.
15872 (libc_feholdexcept_setround): Remove.
15873 (libc_fetestexcept, libc_fesetenv): Remove.
15874 (libc_feupdateenv_test): Remove.
15875 (libc_feupdateenv, libc_feholdsetround): Remove.
15876 (libc_feresetround): Remove.
15878 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15879 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15881 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15882 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15883 (libc_feupdateenv_testl): New.
15884 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15885 (libc_feupdateenv_testf): New.
15886 (libc_feupdateenv): Use libc_feupdateenv_test.
15887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15888 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15890 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15891 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15892 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15893 (libc_feresetround_noex): New.
15894 (libc_feresetround_noexf): New.
15895 (libc_feresetround_noexl): New.
15896 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15897 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15898 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15899 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15904 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15905 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15906 SET_RESTORE_ROUND_NOEX.
15907 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15908 SET_RESTORE_ROUND_NOEXF.
15909 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15910 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15911 (libc_feholdsetroundf): New.
15912 (libc_feresetround, libc_feresetroundf): New.
15914 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15915 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15916 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15918 * sysdeps/generic/math_private.h: Include <fenv.h>.
15919 (default_libc_feholdexcept): New.
15920 (default_libc_feholdexcept_setround): New.
15921 (default_libc_fesetenv, default_libc_feupdateenv): New.
15922 (libc_feholdexcept): Only define if undefined.
15923 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15924 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15925 (libc_feholdexcept_setroundl): Likewise.
15926 (libc_feholdexcept_setround_53bit): Likewise.
15927 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15928 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15929 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15930 (libc_feupdateenv_53bit): Likewise.
15931 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15932 (libc_feholdexcept): Convert from macro to inline function.
15933 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15934 (libc_fesetenv, libc_feupdateenv): Likewise.
15936 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15937 not previously defined.
15938 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15939 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15940 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15941 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15942 * sysdeps/ieee754/flt-32/math_private.h: New file.
15943 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15944 math_private.h below SET_FLOAT_WORD.
15945 (__isnan, __isinf_ns, __finite): Remove.
15946 (__isnanf, __isinf_nsf, __finitef): Remove.
15948 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15952 2012-03-17 David S. Miller <davem@davemloft.net>
15955 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15958 2012-03-16 David S. Miller <davem@davemloft.net>
15960 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15964 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15966 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15967 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15968 sysdep_routines when subdir is sysvipc.
15969 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15970 __getshmlba helper.
15972 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15974 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15976 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15979 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15981 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15982 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15983 (__lround): Renamed to ...
15984 (__llround): This. Replace long int with long long int.
15985 Define lround functions as aliases of llround functions.
15986 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15988 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15990 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15991 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15992 adresses to uintptr_t. Replace "long int" and "unsigned long
15993 int" with "greg_t" on va_arg.
15995 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15997 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15998 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16000 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16001 Move e_machine check before EI_CLASS check. Handle x32
16002 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16003 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16004 SKIP_EM_IA_64 and include
16005 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16007 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16008 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16009 (add_system_dir): New macro.
16011 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16012 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16014 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16025 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16027 * math/w_j0f.c (j0f): Likewise.
16029 * math/w_j0l.c (__j0l): Likewise.
16031 * math/w_j1.c (j1): Likewise.
16033 * math/w_j1f.c (j1f): Likewise.
16035 * math/w_j1l.c (__j1l): Likewise.
16037 * math/w_jn.c (jn): Likewise.
16039 * math/w_jnf.c (jnf): Likewise.
16041 * math/w_jnl.c (__jnl): Likewise.
16043 * math/libm-test.inc (j0_test): Add more tests.
16044 (j1_test): Likewise.
16045 (jn_test): Likewise. Add trailing semicolon to existing test.
16046 (y0_test): Likewise.
16047 (y1_test): Likewise.
16048 * sysdeps/i386/fpu/libm-test-ulps: Update.
16049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16053 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16054 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16055 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16056 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16057 (__tanl): Set errno for infinite argument.
16058 * sysdeps/i386/fpu/mptan.c: Remove.
16059 * sysdeps/i386/fpu/s_tan.S: Likewise.
16060 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16061 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16062 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16063 * math/libm-test.inc (tan_test): Add more tests and enable more
16064 tests for double and long double.
16065 * sysdeps/i386/fpu/libm-test-ulps: Update.
16066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16068 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16070 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16071 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16073 2012-03-16 Roland McGrath <roland@hack.frob.com>
16075 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16076 * configure.in: Use it for both main tree and add-ons.
16077 * configure: Regenerated.
16079 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16081 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16083 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16085 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16089 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16090 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16095 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16097 != 0 for prec == 2.
16098 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16099 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16100 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16101 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16102 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16103 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16104 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16105 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16106 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16107 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16108 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16109 * math/libm-test.inc (cos_test): Add more tests and enable more
16110 tests for long double.
16111 (sin_test): Likewise.
16112 (sincos_test): Likewise.
16113 * sysdeps/i386/fpu/libm-test-ulps: Update.
16114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16116 2012-03-16 David S. Miller <davem@davemloft.net>
16118 * sysdeps/sparc/fpu/math_private.h: New file.
16120 2012-03-15 David S. Miller <davem@davemloft.net>
16122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16136 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16137 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16139 * sysdeps/sparc/sparc-ifunc.h: New file.
16140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16166 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16185 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16187 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16191 2012-03-15 Andreas Jaeger <aj@suse.de>
16194 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16195 ieee754/flt-32 implementation for sin, cos and sincos.
16196 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16197 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16198 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16199 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16200 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16201 ieee754/flt-32 implementation for tan.
16203 * math/libm-test.inc (cos_test): Enable some large input tests for
16205 (sin_test): Likewise.
16206 (sincos_test): Likewise.
16207 (tan_test): Add tests for large input.
16209 * sysdeps/i386/fpu/libm-test-ulps: Update.
16211 2012-03-15 Andreas Jaeger <aj@suse.de>
16214 * math/libm-test.inc (cos_test): Add more test cases.
16215 (sin_test): Likewise.
16216 (sincos_test): Likewise.
16218 2012-03-15 Andreas Jaeger <aj@suse.de>
16221 * math/libm-test.inc (cos_test): Add a test case for large input
16223 (sin_test): Likewise.
16224 (sincos_test): Likewise.
16226 2012-03-15 Andreas Jaeger <aj@suse.de>,
16227 Joseph Myers <joseph@codesourcery.com>
16230 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16231 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16232 * sysdeps/i386/fpu/branred.c: Likewise.
16233 * sysdeps/i386/fpu/dosincos.c: Likewise.
16234 * sysdeps/i386/fpu/mpa.c: Likewise.
16235 * sysdeps/i386/fpu/s_cos.S: Likewise.
16236 * sysdeps/i386/fpu/s_sin.S: Likewise.
16237 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16238 * sysdeps/i386/fpu/sincos32.c: Likewise.
16240 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16242 (libc_feupdateenv_53bit): Define.
16243 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16245 (libc_feupdateenv_53bit): Define.
16247 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16248 53 bit (without extend i386 double precision).
16250 * math/libm-test.inc (sincos_test): Add tests for large input.
16254 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16256 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16260 2012-03-15 David S. Miller <davem@davemloft.net>
16262 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16263 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16264 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16265 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16290 fmin/fmax sysdep routines.
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16293 2012-03-14 David S. Miller <davem@davemloft.net>
16295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16315 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16316 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16317 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16321 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16367 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16372 * sysdeps/sparc/configure.in: New file.
16373 * sysdeps/sparc/configure: Generate.
16374 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16375 * configure: Regenerate.
16376 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16377 * config.make.in (have-as-vis3): New.
16378 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16379 available use -Av9d instead of -Av9a.
16380 * sysdeps/sparc/sparc64/Makefile: Likewise.
16381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16396 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16397 fzeros/fnegs to load 0x80000000 into a float register instead of
16399 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16401 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16405 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16406 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16407 ($(inst_includedir)/bits/syscall.h): Remove rule.
16408 ($(objpfx)bits/syscall.d): Include instead of
16409 $(objpfx)syscall-list.d.
16410 (generated): Change syscall-list.h and syscall-list.d to
16411 bits/syscall.h and bits/syscall.d.
16413 2012-03-14 Roland McGrath <roland@hack.frob.com>
16416 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16418 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16421 * math/s_csqrt.c: Include <float.h>.
16422 (__csqrt): Scale large or subnormal inputs.
16423 * math/s_csqrtf.c: Likewise.
16424 * math/s_csqrtl.c: Likewise.
16425 * math/libm-test.inc (csqrt_test): Add more tests.
16426 * sysdeps/i386/fpu/libm-test-ulps: Update.
16427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16430 * math/libm-test.inc (hypot_test): Add more tests.
16432 2012-03-13 David S. Miller <davem@davemloft.net>
16435 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16436 double-precision for the calculation instead of scaling.
16438 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16440 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16441 manipulate bits before adding and subtracting TWO52[sx].
16442 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16443 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16445 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16447 2012-03-13 David S. Miller <davem@davemloft.net>
16449 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16450 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16452 rtld-global-offsets.h
16453 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16455 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16458 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16460 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16461 'err' in the ifdef scope in which it is actually used.
16463 * nss/nss_db/db-init.c: Include string.h
16465 2012-03-12 David S. Miller <davem@davemloft.net>
16467 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16468 masking out of the most significant byte of random value used.
16469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16470 Fix coding style in previous change.
16472 * sysdeps/unix/sysv/linux/kernel-features.h
16473 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16474 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16476 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16479 2012-03-11 David S. Miller <davem@davemloft.net>
16481 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16482 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16483 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16484 for 'resultvar' otherwise things get truncated on 64-bit.
16486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16487 Fix masking out of the most significant byte of random value used.
16489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16491 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16495 2012-03-09 David S. Miller <davem@davemloft.net>
16497 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16498 variables with appropriate CPP guards.
16499 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16500 frame pointer, not the stack pointer. Correct layout comments. Fix test
16501 on resulting framesize and the management of the outregs buffer for pltexit.
16502 Preserve floating point return values across _dl_call_pltexit call.
16503 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16504 framesize and the management of the outregs buffer for pltexit.
16505 Preserve floating point return values across _dl_call_pltexit
16507 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16508 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16509 (print_exit): Fix format string for return register value.
16511 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16513 * sunrpc/Makefile (others): Add rpcgen.
16514 ($(objpfx)rpcgen): Remove special build rule and dependency on
16516 * sunrpc/rpcgen.c: New file.
16518 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16521 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16522 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16523 * sysdeps/i386/crti.S: Likewise.
16524 * sysdeps/i386/crtn.S: Likewise.
16525 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16526 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16527 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16528 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16529 * sysdeps/sh/crti.S: Likewise.
16530 * sysdeps/sh/crtn.S: Likewise.
16531 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16534 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16536 * locale/programs/locfile-kw.gperf: Likewise.
16537 * locale/programs/charmap-kw.h: Regenerated.
16538 * locale/programs/locfile-kw.h: Likewise.
16541 * intl/plural.y: Replace FSF snail mail address with URL.
16542 * intl/plural.c: Regenerated.
16544 2012-03-09 Richard Henderson <rth@twiddle.net>
16546 * include/math_private.h: Remove file.
16547 * math/math_private.h: Move file ...
16548 * sysdeps/generic/math_private.h: ... here.
16550 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16551 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16552 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16554 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16555 and <math_private.h>.
16556 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16557 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16558 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16559 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16560 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16644 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16645 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16646 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16647 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16649 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16650 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16651 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16652 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16653 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16654 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16655 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16656 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16657 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16658 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16659 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16660 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16661 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16663 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16664 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16665 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16666 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16668 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16669 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16671 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16672 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16673 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16675 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16676 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16677 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16678 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16681 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16682 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16683 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16684 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16685 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16686 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16687 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16692 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16705 * sysdeps/ieee754/k_standard.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16821 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16825 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16826 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16828 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16866 * sysdeps/ieee754/s_lib_version.c: Likewise.
16867 * sysdeps/ieee754/s_matherr.c: Likewise.
16868 * sysdeps/ieee754/s_signgam.c: Likewise.
16869 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16870 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16871 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16872 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16873 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16874 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16875 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16876 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16877 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16878 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16879 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16880 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16881 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16882 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16883 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16884 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16886 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16891 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16893 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16894 * sunrpc/rpc_main.c: Likewise.
16895 * sunrpc/rpc_svcout.c: Likewise.
16897 2012-03-09 David S. Miller <davem@davemloft.net>
16899 * include/math_private.h: New file.
16901 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16903 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16904 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16905 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16906 from <bits/socket_type.h>.
16907 (enum __socket_type): Don't define here.
16908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16910 bits/socket_type.h.
16913 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16914 checking __USE_GNU.
16916 * Makerules ($(inst_includedir)/%.h): New rule.
16917 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16918 (install-others): Remove variable setting.
16919 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16921 2012-03-08 Richard Henderson <rth@twiddle.net>
16923 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16924 from macro to inline function; merge with the
16925 !__LIBC_INTERNAL_MATH_INLINES version.
16926 (__ieee754_sqrtf): Likewise.
16928 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16929 to inline function.
16930 (__rintf, __floor, __floorf): Likewise.
16932 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16933 macro to inline function.
16934 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16937 not <math/math_private.h>.
16939 2012-03-08 David S. Miller <davem@davemloft.net>
16941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16943 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16945 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16947 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16949 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16950 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16952 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16954 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16955 be defined individually, they must be defined as a block. Define
16956 S for printing a string instead of hidint the different by using a
16957 macro for adding the 'l'.
16958 * stdio-common/tst-fphex-wide.c: Adjust.
16960 2012-03-07 Marek Polacek <polacek@redhat.com>
16962 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16964 2012-03-08 Marek Polacek <polacek@redhat.com>
16967 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16968 * stdio-common/tst-fphex.c: Define a few macros to make the
16969 test reusable. Use them.
16970 * stdio-common/tst-fphex-wide.c: New file.
16972 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16975 * manual/macros.texi (gnusystems): New macro.
16976 (nongnusystems): Likewise.
16977 (gnulinuxhurdsystems): Likewise.
16978 (gnuhurdsystems): Likewise..
16979 (gnulinuxsystems): Likewise.
16980 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16981 variants of the GNU system, not "GNU system".
16982 * manual/conf.texi: Likewise.
16983 * manual/errno.texi: Likewise. Update example of errno macro
16985 * manual/filesys.texi: Likewise.
16986 (getumask): Document as specific to GNU/Hurd.
16987 * manual/install.texi: Likewise. Reword some references to
16989 * manual/intro.texi: Likewise.
16990 * manual/io.texi: Likewise.
16991 (File Name Portability): Detail which constraints are inapplicable
16992 to all GNU systems and which are only inapplicable to GNU/Hurd.
16993 * manual/job.texi: Likewise.
16994 * manual/llio.texi: Likewise.
16995 (O_NOCTTY): Document as present on GNU/Linux.
16996 * manual/maint.texi: Likewise.
16997 * manual/memory.texi: Likewise.
16998 * manual/pattern.texi: Likewise.
16999 * manual/pipe.texi: Likewise.
17000 * manual/process.texi: Likewise.
17001 * manual/resource.texi: Likewise.
17002 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17004 * manual/setjmp.texi: Likewise.
17005 * manual/signal.texi: Likewise.
17006 * manual/startup.texi: Likewise.
17007 * manual/stdio.texi: Likewise.
17008 * manual/terminal.texi: Likewise.
17009 (ONLCR): Document as POSIX.
17010 (OXTABS): Document availability on GNU/Linux as XTABS.
17011 (ONOEOT): Document availability separately from other bits.
17012 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17013 * manual/time.texi: Likewise.
17014 * manual/users.texi: Likewise.
17015 * INSTALL: Regenerated.
17016 * sysdeps/gnu/errlist.c: Regenerated.
17018 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17019 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17020 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17022 * configure: Regenerated.
17024 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17026 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17027 default includes instead of AC_HEADER_CHECK.
17028 * sysdeps/i386/configure: Regenerated.
17031 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17032 * math/s_cacoshf.c (__cacoshf): Likewise.
17033 * math/s_cacoshl.c (__cacoshl): Likewise.
17034 * math/s_casinh.c (__casinh): Set signs of result from argument.
17035 * math/s_casinhf.c (__casinhf): Likewise.
17036 * math/s_casinhl.c (__casinhl): Likewise.
17037 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17038 (casinh_test): Add more tests.
17039 * sysdeps/i386/fpu/libm-test-ulps: Update.
17040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17042 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17044 * po/zh_TW.po: Update from translation team.
17046 * login/Makefile (distribute): Remove variable.
17047 * catgets/Makefile: Likewise.
17048 * mach/Makefile: Likewise.
17049 * malloc/Makefile: Likewise.
17050 * misc/Makefile: Likewise.
17051 * iconv/Makefile: Likewise.
17052 * nscd/Makefile: Likewise.
17053 * hurd/Makefile: Likewise.
17054 * manual/Makefile: Likewise.
17055 * locale/Makefile: Likewise.
17056 * intl/Makefile: Likewise.
17057 * conform/Makefile: Likewise.
17058 * nss/Makefile: Likewise.
17059 * time/Makefile: Likewise.
17060 * soft-fp/Makefile: Likewise.
17061 * dirent/Makefile: Likewise.
17062 * gmon/Makefile: Likewise.
17063 * po/Makefile: Likewise.
17064 * rt/Makefile: Likewise.
17065 * socket/Makefile: Likewise.
17066 * math/Makefile: Likewise.
17067 * signal/Makefile: Likewise.
17068 * debug/Makefile: Likewise.
17069 * elf/Makefile: Likewise.
17070 * timezone/Makefile: Likewise.
17071 * stdlib/Makefile: Likewise.
17072 * iconvdata/Makefile: Likewise.
17073 * sunrpc/Makefile: Likewise.
17074 * io/Makefile: Likewise.
17075 * argp/Makefile: Likewise.
17076 * inet/Makefile: Likewise.
17077 * hesiod/Makefile: Likewise.
17078 * grp/Makefile: Likewise.
17079 * csu/Makefile: Likewise.
17080 * wctype/Makefile: Likewise.
17081 * crypt/Makefile: Likewise.
17082 * libio/Makefile: Likewise.
17083 * string/Makefile: Likewise.
17084 * nis/Makefile: Likewise.
17085 * resolv/Makefile: Likewise.
17086 * stdio-common/Makefile: Likewise.
17087 * wcsmbs/Makefile: Likewise.
17088 * dlfcn/Makefile: Likewise.
17089 * posix/Makefile: Likewise.
17092 * timezone/Makefile: Don't install timezone files, just the programs
17095 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17097 * nss/databases.def: Add missing gshadow entry.
17099 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17101 2012-03-06 Marek Polacek <polacek@redhat.com>
17104 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17105 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17106 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17107 * stdio-common/tst-long-dbl-fphex.c: New file.
17109 2012-03-06 David S. Miller <davem@davemloft.net>
17111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17112 (set_obp_int): New function.
17113 (get_obp_int): New function.
17114 (__get_clockfreq_via_dev_openprom): Likewise.
17115 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17116 Avoid unused variable warnings on 'val' and use builtin_expect.
17117 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17119 (INLINE_CLONE_SYSCALL): Likewise.
17121 2012-03-05 David S. Miller <davem@davemloft.net>
17123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17125 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17129 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17130 only for |x| >= 40.
17131 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17133 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17136 Replace gettimeofday with __vdso_gettimeofday.
17138 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17139 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17140 __vdso_clock_gettime and __vdso_getcpu.
17142 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17143 time with __vdso_time.
17145 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17147 * manual/lang.texi (size_t): Note types to which size_t may be
17148 equivalent with the GNU C Library, but do not describe when
17149 differences between them are significant.
17151 2012-03-05 Andreas Jaeger <aj@suse.de>
17153 * sysdeps/i386/fpu/libm-test-ulps: Update.
17155 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17158 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17159 (__ieee754_pow): Save and restore rounding mode and use
17160 round-to-nearest for main computations.
17161 * math/libm-test.inc (pow_test_tonearest): New function.
17162 (pow_test_towardzero): Likewise.
17163 (pow_test_downward): Likewise.
17164 (pow_test_upward): Likewise.
17165 (main): Call the new functions.
17166 * sysdeps/i386/fpu/libm-test-ulps: Update.
17167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17170 * math/libm-test.inc (cosh_test_tonearest): New function.
17171 (cosh_test_towardzero): Likewise.
17172 (cosh_test_downward): Likewise.
17173 (cosh_test_upward): Likewise.
17174 (sinh_test_tonearest): Likewise.
17175 (sinh_test_towardzero): Likewise.
17176 (sinh_test_downward): Likewise.
17177 (sinh_test_upward): Likewise.
17178 (main): Call the new functions.
17179 * sysdeps/i386/fpu/libm-test-ulps: Update.
17180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17182 2012-03-05 Tom de Vries <tom@codesourcery.com>
17184 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17185 default stack guard is set in last bytes.
17186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17188 2012-03-05 Kees Cook <keescook@chromium.org>
17190 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17193 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17194 possibly allocate from heap instead of stack.
17195 * stdio-common/bug-vfprintf-nargs.c: New file.
17196 * stdio-common/Makefile (tests): Add nargs overflow test.
17198 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17202 2012-03-03 Marek Polacek <polacek@redhat.com>
17204 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17205 * math/math_private.h: Likewise.
17206 * stdlib/tst-strtod.c: Likewise.
17207 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17208 * sysdeps/x86_64/bits/atomic.h: Likewise.
17210 2012-03-02 David S. Miller <davem@davemloft.net>
17212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17216 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17217 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17218 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17219 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17221 2012-03-02 Roland McGrath <roland@hack.frob.com>
17224 * manual/examples/README: New file, says the example source files
17225 can be used under GPL>=2.
17226 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17227 line containing just "*/".
17228 * manual/examples/add.c: Add copyright header (GPL>=2).
17229 * manual/examples/argp-ex1.c: Likewise.
17230 * manual/examples/argp-ex2.c: Likewise.
17231 * manual/examples/argp-ex3.c: Likewise.
17232 * manual/examples/argp-ex4.c: Likewise.
17233 * manual/examples/atexit.c: Likewise.
17234 * manual/examples/db.c: Likewise.
17235 * manual/examples/dir.c: Likewise.
17236 * manual/examples/dir2.c: Likewise.
17237 * manual/examples/execinfo.c: Likewise.
17238 * manual/examples/filecli.c: Likewise.
17239 * manual/examples/filesrv.c: Likewise.
17240 * manual/examples/fmtmsgexpl.c: Likewise.
17241 * manual/examples/genpass.c: Likewise.
17242 * manual/examples/inetcli.c: Likewise.
17243 * manual/examples/inetsrv.c: Likewise.
17244 * manual/examples/isockad.c: Likewise.
17245 * manual/examples/longopt.c: Likewise.
17246 * manual/examples/memopen.c: Likewise.
17247 * manual/examples/memstrm.c: Likewise.
17248 * manual/examples/mkfsock.c: Likewise.
17249 * manual/examples/mkisock.c: Likewise.
17250 * manual/examples/mygetpass.c: Likewise.
17251 * manual/examples/pipe.c: Likewise.
17252 * manual/examples/popen.c: Likewise.
17253 * manual/examples/rprintf.c: Likewise.
17254 * manual/examples/search.c: Likewise.
17255 * manual/examples/select.c: Likewise.
17256 * manual/examples/setjmp.c: Likewise.
17257 * manual/examples/sigh1.c: Likewise.
17258 * manual/examples/sigusr.c: Likewise.
17259 * manual/examples/stpcpy.c: Likewise.
17260 * manual/examples/strdupa.c: Likewise.
17261 * manual/examples/strftim.c: Likewise.
17262 * manual/examples/strncat.c: Likewise.
17263 * manual/examples/subopt.c: Likewise.
17264 * manual/examples/swapcontext.c: Likewise.
17265 * manual/examples/termios.c: Likewise.
17266 * manual/examples/testopt.c: Likewise.
17267 * manual/examples/testpass.c: Likewise.
17268 * manual/examples/timeval_subtract.c: Likewise.
17271 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17273 * manual/timeval_subtract.c.texi: ... here, new file.
17275 2012-03-02 David S. Miller <davem@davemloft.net>
17277 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17279 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17282 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17283 (__sin): Save and restore rounding mode and use round-to-nearest
17284 for all computations.
17285 (__cos): Save and restore rounding mode and use round-to-nearest
17286 for all computations.
17287 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17289 (tan): Save and restore rounding mode and use round-to-nearest for
17291 * math/libm-test.inc (cos_test_tonearest): New function.
17292 (cos_test_towardzero): Likewise.
17293 (cos_test_downward): Likewise.
17294 (cos_test_upward): Likewise.
17295 (sin_test_tonearest): Likewise.
17296 (sin_test_towardzero): Likewise.
17297 (sin_test_downward): Likewise.
17298 (sin_test_upward): Likewise.
17299 (tan_test_tonearest): Likewise.
17300 (tan_test_towardzero): Likewise.
17301 (tan_test_downward): Likewise.
17302 (tan_test_upward): Likewise.
17303 (main): Call the new functions.
17304 * sysdeps/i386/fpu/libm-test-ulps: Update.
17305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17308 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17309 small n, then large n, before computing and testing k+n.
17310 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17313 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17315 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17316 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17317 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17318 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17319 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17320 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17321 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17322 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17323 * math/libm-test.inc (scalbn_test): Add more tests.
17324 (scalbln_test): Likewise.
17326 * manual/filesys.texi (mode_t): Describe constraints on size and
17327 signedness, not exact equivalence to a particular type.
17329 (ino64_t): Likewise.
17331 (nlink_t): Likewise.
17332 (blkcnt_t): Likewise.
17333 (blkcnt64_t): Likewise.
17334 * manual/llio.texi (off_t): Likewise.
17337 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17338 (__ieee754_exp): Save and restore rounding mode and use
17339 round-to-nearest for all computations.
17340 * math/libm-test.inc (exp_test_tonearest): New function.
17341 (exp_test_towardzero): Likewise.
17342 (exp_test_downward): Likewise.
17343 (exp_test_upward): Likewise.
17344 (main): Call the new functions.
17345 * sysdeps/i386/fpu/libm-test-ulps: Update.
17346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17348 2012-03-01 Chris Demetriou <cgd@google.com>
17350 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17351 have predictable order.
17353 2012-03-01 David S. Miller <davem@davemloft.net>
17355 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17357 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17358 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17359 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17360 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17362 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17363 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17364 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17366 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17367 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17368 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17369 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17370 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17374 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17375 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17376 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17378 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17379 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17380 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17381 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17382 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17383 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17385 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17386 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17387 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17388 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17390 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17391 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17392 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17394 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17395 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17396 * sysdeps/sparc/elf/configure: Regenerated.
17398 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17400 * configure.in (AS, LD): Require binutils 2.20 or later.
17401 * configure: Regenerated.
17402 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17403 as required minimum version.
17404 * INSTALL: Regenerated.
17408 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17409 before squaring exponent.
17410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17411 bottom long double and 27 bits of top long double before squaring
17413 * math/libm-test.inc (erfc_test): Add more tests.
17414 * sysdeps/i386/fpu/libm-test-ulps: Update.
17415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17418 2012-03-01 Kai Tietz <ktietz@redhat.com>
17420 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17421 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17422 containing bit-fields.
17423 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17424 * soft-fp/single.h (_FP_UNION_S): Likewise.
17425 * soft-fp/double.h (_FP_UNION_D): Likewise.
17427 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17430 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17431 not include ../strcmp.S.
17432 [USE_AS_STRNCASECMP_L]: Likewise.
17433 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17434 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17435 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17436 (__strncasecmp_l_ia32): Define as alias to
17437 __strncasecmp_l_nonascii.
17440 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17441 * sysdeps/i386/fpu/libm-test-ulps: Update.
17442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17444 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17447 2012-02-29 Jeff Law <law@redhat.com>
17449 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17450 out of bounds read.
17452 2012-02-29 Marek Polacek <polacek@redhat.com>
17455 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17456 * elf/Makefile: Add rules to run tst-unused-dep.out.
17458 2012-02-28 David S. Miller <davem@davemloft.net>
17460 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17461 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17462 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17463 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17464 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17465 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17467 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17469 * math/libm-test.inc (llround_test): Move one test from
17470 lround_test. Use TEST_f_L in moved test.
17471 (lround_test): Move misplaced test to llround_test. Add testcase
17474 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17476 * sysdeps/x86_64/fpu/e_expf.S: New file.
17477 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17479 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17482 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17483 of remain_len that may cause incomplete multi-byte character and
17485 * posix/bug-regex33.c: New file.
17486 * posix/Makefile (tests): Add bug-regex33.
17488 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17490 * manual/macros.texi: New file.
17491 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17492 * manual/libc.texinfo: Include macros.texi.
17493 * manual/creatute.texi: Likewise.
17494 * manual/install.texi: Likewise.
17495 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17496 @glibcadj{} in references to the GNU C Library.
17497 * manual/charset.texi: Likewise.
17498 * manual/conf.texi: Likewise.
17499 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17500 when not using those macros.
17501 * manual/creature.texi: Likewise.
17502 * manual/crypt.texi: Likewise.
17503 * manual/errno.texi: Likewise.
17504 * manual/filesys.texi: Likewise.
17505 * manual/header.texi: Likewise.
17506 * manual/install.texi: Likewise.
17507 * manual/intro.texi: Likewise.
17508 * manual/io.texi: Likewise.
17509 * manual/job.texi: Likewise.
17510 * manual/lang.texi: Likewise.
17511 * manual/libc.texiinfo: Likewise.
17512 * manual/llio.texi: Likewise.
17513 * manual/locale.texi: Likewise.
17514 * manual/maint.texi: Likewise.
17515 * manual/math.texi: Likewise.
17516 * manual/memory.texi: Likewise.
17517 * manual/message.texi: Likewise.
17518 * manual/nss.texi: Likewise.
17519 * manual/pattern.texi: Likewise.
17520 * manual/process.texi: Likewise.
17521 * manual/resource.texi: Likewise.
17522 * manual/search.texi: Likewise.
17523 * manual/setjmp.texi: Likewise.
17524 * manual/signal.texi: Likewise.
17525 * manual/socket.texi: Likewise.
17526 * manual/startup.texi: Likewise.
17527 * manual/stdio.texi: Likewise.
17528 * manual/string.texi: Likewise.
17529 * manual/sysinfo.texi: Likewise.
17530 * manual/syslog.texi: Likewise.
17531 * manual/terminal.texi: Likewise.
17532 * manual/time.texi: Likewise.
17533 * manual/users.texi: Likewise.
17534 * INSTALL: Regenerated.
17535 * NOTES: Regenerated.
17536 * sysdeps/gnu/errlist.c: Regenerated.
17538 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17540 * include/dirent.h: Include <dirstream.h> before
17543 2012-02-28 David S. Miller <davem@davemloft.net>
17545 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17546 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17547 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17548 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17550 2012-02-27 David S. Miller <davem@davemloft.net>
17552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17554 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17555 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17558 frame pointer instead of stack pointer relative arg slot.
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17560 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17561 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17563 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17566 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17568 2012-02-27 David S. Miller <davem@davemloft.net>
17570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17574 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17575 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17576 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17577 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17579 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17581 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17582 later. Allow versions 5-9.
17583 * configure: Regenerated.
17584 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17585 required minimum version and 4.6 as recommended version. Do not
17586 mention bugs in GCC 2.7 and 2.8.
17587 * INSTALL: Regenerated.
17589 2012-02-27 David S. Miller <davem@davemloft.net>
17591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17595 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17596 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17597 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17598 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17600 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17601 manipulate bits before adding and subtracting TWO112[sx].
17602 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17604 2012-02-27 Roland McGrath <roland@hack.frob.com>
17607 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17608 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17609 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17610 being in POSIX, because they are in 1003.1-2008.
17612 * rt/tst-aio.c: Include <fcntl.h>.
17613 * rt/tst-aio7.c: Likewise.
17614 * rt/tst-aio64.c: Likewise.
17616 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17618 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17620 * manual/install.texi (--with-headers): Describe headers as
17621 interface headers, not private headers.
17622 (Specific advice for GNU/Linux systems): Describe use of headers
17623 from "make headers_install", not private headers from older
17625 * INSTALL: Regenerated.
17626 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17628 * sysdeps/unix/sysv/linux/configure: Regenerated.
17630 * manual/llio.texi (fclean): Remove documentation.
17632 * manual/Makefile (libc-texi-generated): New variable. Include
17634 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17635 $(libc-texi-generated), not duplicated list of files.
17636 (version.texi, stamp-version): New rules.
17637 (realclean): Remove $(libc-texi-generated), not individual files
17638 from that list. Do not remove dir-add.texinfo.
17639 * manual/libc.texinfo: Comment out uses of edition numbers and
17640 references to printed manual. Remove last-updated dates.
17641 (EDITION): Comment out.
17643 (VERSION, UPDATED): Remove.
17644 (version.texi): Include.
17646 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17648 * sysdeps/posix/spawni.c: Include <signal.h>.
17649 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17650 * sysdeps/pthread/aio_fsync.c: Likewise.
17652 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17654 * conform/Makefile (tests): Run only when not cross-compiling and
17655 when fast-check is not defined.
17657 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17658 * conform/data/limits.h-data: Fixes for POSIX2008.
17659 * conform/run-conformtest.sh: Run all tests.
17660 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17662 * include/bits/dlfcn.h: Likewise.
17663 * include/langinfo.h: Likewise.
17664 * include/monetary.h: Likewise.
17665 * include/sys/poll.h: Likewise.
17667 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17669 * posix/spawn.h: Define __need_sigset_t.
17670 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17671 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17672 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17673 to get sigevent_t only.
17674 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17675 only for __USE_GNU.
17676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17677 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17678 process_vm_writev only for __USE_GNU.
17679 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17681 * conform/Makefile: For now ignore errors from run-conformtest.
17682 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17683 POSIX to avoid namespace pollution. Don't prepend headers.
17684 * conform/data/aio.h-data: Fixes for POSIX testing.
17685 * conform/data/fcntl.h-data: Likewise.
17686 * conform/data/glob.h-data: Likewise.
17687 * conform/data/grp.h-data: Likewise.
17688 * conform/data/pthread.h-data: Likewise.
17689 * conform/data/pwd.h-data: Likewise.
17690 * conform/data/signal.h-data: Likewise.
17691 * conform/data/spawn.h-data: Likewise.
17692 * conform/data/stdio.h-data: Likewise.
17693 * conform/data/stdlib.h-data: Likewise.
17694 * conform/data/stropts.h-data: Likewise.
17695 * conform/data/sys/mman.h-data: Likewise.
17696 * conform/data/sys/stat.h-data: Likewise.
17697 * conform/data/sys/types.h-data: Likewise.
17698 * conform/data/sys/wait.h-data: Likewise.
17699 * conform/data/time.h-data: Likewise.
17700 * conform/data/unistd.h-data: Likewise.
17701 * conform/data/utime.h-data: Likewise.
17703 * io/sys/stat.h: fchmod was always in POSIX.
17704 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17705 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17706 * rt/aio.h: Define __need_timespec before including <time.h>.
17707 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17708 struct. Add forward declaration of pthread_attr_t and use it in
17710 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17711 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17712 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17713 always remove CLK_TCK definition.
17715 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17717 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17719 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17721 * conform/run-conformtest.sh: New file.
17722 * conform/Makefile: Run run-conformtest for tests.
17723 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17726 * conform/data/uchar.h-data: New file.
17727 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17728 * conform/data/arpa/inet.h-data: Likewise.
17729 * conform/data/assert.h-data: Likewise.
17730 * conform/data/complex.h-data: Likewise.
17731 * conform/data/cpio.h-data: Likewise.
17732 * conform/data/ctype.h-data: Likewise.
17733 * conform/data/dirent.h-data: Likewise.
17734 * conform/data/dlfcn.h-data: Likewise.
17735 * conform/data/errno.h-data: Likewise.
17736 * conform/data/fcntl.h-data: Likewise.
17737 * conform/data/float.h-data: Likewise.
17738 * conform/data/fmtmsg.h-data: Likewise.
17739 * conform/data/fnmatch.h-data: Likewise.
17740 * conform/data/ftw.h-data: Likewise.
17741 * conform/data/glob.h-data: Likewise.
17742 * conform/data/grp.h-data: Likewise.
17743 * conform/data/iconv.h-data: Likewise.
17744 * conform/data/inttypes.h-data: Likewise.
17745 * conform/data/langinfo.h-data: Likewise.
17746 * conform/data/libgen.h-data: Likewise.
17747 * conform/data/limits.h-data: Likewise.
17748 * conform/data/locale.h-data: Likewise.
17749 * conform/data/math.h-data: Likewise.
17750 * conform/data/monetary.h-data: Likewise.
17751 * conform/data/mqueue.h-data: Likewise.
17752 * conform/data/ndbm.h-data: Likewise.
17753 * conform/data/net/if.h-data: Likewise.
17754 * conform/data/netdb.h-data: Likewise.
17755 * conform/data/netinet/in.h-data: Likewise.
17756 * conform/data/nl_types.h-data: Likewise.
17757 * conform/data/poll.h-data: Likewise.
17758 * conform/data/pthread.h-data: Likewise.
17759 * conform/data/pwd.h-data: Likewise.
17760 * conform/data/regex.h-data: Likewise.
17761 * conform/data/sched.h-data: Likewise.
17762 * conform/data/search.h-data: Likewise.
17763 * conform/data/semaphore.h-data: Likewise.
17764 * conform/data/setjmp.h-data: Likewise.
17765 * conform/data/signal.h-data: Likewise.
17766 * conform/data/spawn.h-data: Likewise.
17767 * conform/data/stdarg.h-data: Likewise.
17768 * conform/data/stdio.h-data: Likewise.
17769 * conform/data/stdlib.h-data: Likewise.
17770 * conform/data/string.h-data: Likewise.
17771 * conform/data/strings.h-data: Likewise.
17772 * conform/data/stropts.h-data: Likewise.
17773 * conform/data/sys/ipc.h-data: Likewise.
17774 * conform/data/sys/mman.h-data: Likewise.
17775 * conform/data/sys/msg.h-data: Likewise.
17776 * conform/data/sys/resource.h-data: Likewise.
17777 * conform/data/sys/select.h-data: Likewise.
17778 * conform/data/sys/sem.h-data: Likewise.
17779 * conform/data/sys/shm.h-data: Likewise.
17780 * conform/data/sys/socket.h-data: Likewise.
17781 * conform/data/sys/stat.h-data: Likewise.
17782 * conform/data/sys/statvfs.h-data: Likewise.
17783 * conform/data/sys/time.h-data: Likewise.
17784 * conform/data/sys/timeb.h-data: Likewise.
17785 * conform/data/sys/times.h-data: Likewise.
17786 * conform/data/sys/types.h-data: Likewise.
17787 * conform/data/sys/uio.h-data: Likewise.
17788 * conform/data/sys/un.h-data: Likewise.
17789 * conform/data/sys/utsname.h-data: Likewise.
17790 * conform/data/sys/wait.h-data: Likewise.
17791 * conform/data/syslog.h-data: Likewise.
17792 * conform/data/tar.h-data: Likewise.
17793 * conform/data/termios.h-data: Likewise.
17794 * conform/data/utime.h-data: Likewise.
17795 * conform/data/utmpx.h-data: Likewise.
17796 * conform/data/varargs.h-data: Likewise.
17797 * conform/data/wchar.h-data: Likewise.
17798 * conform/data/wctype.h-data: Likewise.
17799 * conform/data/wordexp.h-data: Likewise.
17801 * include/stropts.h: New file.
17802 * include/uchar.h: New file.
17803 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17804 * include/assert.h: Likewise.
17805 * include/ctype.h: Likewise.
17806 * include/dirent.h: Likewise.
17807 * include/dlfcn.h: Likewise.
17808 * include/fcntl.h: Likewise.
17809 * include/fnmatch.h: Likewise.
17810 * include/glob.h: Likewise.
17811 * include/grp.h: Likewise.
17812 * include/libio.h: Likewise.
17813 * include/locale.h: Likewise.
17814 * include/math.h: Likewise.
17815 * include/net/if.h: Likewise.
17816 * include/netdb.h: Likewise.
17817 * include/netinet/in.h: Likewise.
17818 * include/pthread.h: Likewise.
17819 * include/pwd.h: Likewise.
17820 * include/regex.h: Likewise.
17821 * include/sched.h: Likewise.
17822 * include/search.h: Likewise.
17823 * include/setjmp.h: Likewise.
17824 * include/signal.h: Likewise.
17825 * include/stdio.h: Likewise.
17826 * include/stdlib.h: Likewise.
17827 * include/string.h: Likewise.
17828 * include/sys/cdefs.h: Likewise.
17829 * include/sys/mman.h: Likewise.
17830 * include/sys/msg.h: Likewise.
17831 * include/sys/resource.h: Likewise.
17832 * include/sys/select.h: Likewise.
17833 * include/sys/socket.h: Likewise.
17834 * include/sys/stat.h: Likewise.
17835 * include/sys/statvfs.h: Likewise.
17836 * include/sys/time.h: Likewise.
17837 * include/sys/times.h: Likewise.
17838 * include/sys/uio.h: Likewise.
17839 * include/sys/utsname.h: Likewise.
17840 * include/sys/wait.h: Likewise.
17841 * include/termios.h: Likewise.
17842 * include/time.h: Likewise.
17843 * include/ulimit.h: Likewise.
17844 * include/unistd.h: Likewise.
17845 * include/utime.h: Likewise.
17846 * include/wchar.h: Likewise.
17847 * include/wctype.h: Likewise.
17848 * include/wordexp.h: Likewise.
17850 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17852 * time/time.h: TIME_UTC must be a macro.
17853 Make timespec_get available for ISO C11 only as well.
17855 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17857 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17858 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17860 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17862 * configure.in: Use -o not -a in test for unsupported multi-arch.
17864 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17866 * manual/texinfo.tex: Update to version 2012-01-19.16.
17868 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17870 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17872 2012-02-24 Roland McGrath <roland@hack.frob.com>
17875 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17876 * manual/fdl-1.3.texi: New file.
17877 * manual/fdl-1.1.texi: File removed.
17880 * manual/libc.texinfo (FDL_VERSION): New @set.
17881 Use it for mention of FDL in cover text.
17882 (Documentation License): Use it in @include file name.
17884 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17885 Roland McGrath <roland@hack.frob.com>
17888 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17889 not LONG_LONG_MAX and LONG_LONG_MIN.
17890 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17891 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17893 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17895 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17899 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17900 manipulate bits before adding and subtracting TWO23[sx].
17901 * math/libm-test.inc (nearbyint_test): Add more tests.
17903 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17906 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17907 bits before adding and subtracting TWO23[sx].
17908 * math/libm-test.inc (rint_test): Add more tests.
17909 (rint_test_tonearest): Likewise.
17910 (rint_test_towardzero): Likewise.
17911 (rint_test_downward): Likewise.
17912 (rint_test_upward: Likewise.
17914 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17917 * include/stdc-predef.h: New file. Extracted from features.h.
17918 * include/features.h: Include stdc-predef.h.
17919 * Makefile (headers): Add stdc-predef.h.
17920 * CONFORMANCE (Compiler limitations): Update.
17922 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17924 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17926 2012-02-21 David S. Miller <davem@davemloft.net>
17928 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17929 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17931 2012-02-20 David S. Miller <davem@davemloft.net>
17933 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17934 using a normal save/restore sequence, rather than allocating a
17935 dummy stack frame just to store a frame pointer and restore.
17936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17938 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17940 * manual/install.texi: Fix stray word in line-wrapped comment.
17942 2012-02-20 David S. Miller <davem@davemloft.net>
17944 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17945 both binutils and gcc support GOTDATA.
17947 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17948 "rd %pc" in the PIC register setup sequences.
17950 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17951 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17952 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17953 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17954 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17956 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17957 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17959 (SYSCALL_ERROR_HANDLER): Likewise.
17960 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17961 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17963 (SYSCALL_ERROR_HANDLER): Likewise.
17965 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17966 (HAVE_GCC_GOTDATA): New.
17967 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17968 relocation support in both binutils and gcc.
17969 * sysdeps/sparc/elf/configure: Regenerate.
17971 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17972 * sysdeps/sparc/sparc32/elf/configure: Delete.
17973 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17974 * sysdeps/sparc/sparc64/elf/configure: Delete.
17975 * sysdeps/sparc/elf/configure.in: New file.
17976 * sysdeps/sparc/elf/configure: Generate.
17978 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17979 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17980 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17981 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17982 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17984 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17986 * manual/install.texi: Do not mention specific glibc version
17988 * manual/libc.texinfo (VERSION, UPDATED): Update.
17989 (@copying): Use @copyright{} and range of years.
17991 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17994 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17995 [crti.S not in sysdirs] (generated): Do not append.
17996 [crti.S not in sysdirs] (omit-deps): Likewise.
17997 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17998 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17999 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18000 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18001 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18003 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18004 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18005 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18006 * csu/defs.awk: Remove file.
18007 * sysdeps/generic/initfini.c: Likewise.
18008 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18010 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18013 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18015 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18016 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18017 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18018 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18019 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18020 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18022 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18023 (__EPOLL_PACKED): Define to empty if not defined by
18025 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18029 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18031 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18032 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18033 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18034 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18036 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18040 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18042 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18044 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18045 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18046 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18049 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18051 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18052 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18054 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18056 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18057 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18059 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18061 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18064 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18066 * math/w_acos.c: Use non-signaling floating-point comparisons.
18067 * math/w_acosf.c: Likewise.
18068 * math/w_acosh.c: Likewise.
18069 * math/w_acoshf.c: Likewise.
18070 * math/w_acoshl.c: Likewise.
18071 * math/w_acosl.c: Likewise.
18072 * math/w_asin.c: Likewise.
18073 * math/w_asinf.c: Likewise.
18074 * math/w_asinl.c: Likewise.
18075 * math/w_atanh.c: Likewise.
18076 * math/w_atanhf.c: Likewise.
18077 * math/w_atanhl.c: Likewise.
18078 * math/w_exp2.c: Likewise.
18079 * math/w_exp2f.c: Likewise.
18080 * math/w_exp2l.c: Likewise.
18081 * math/w_j0.c: Likewise.
18082 * math/w_j0f.c: Likewise.
18083 * math/w_j0l.c: Likewise.
18084 * math/w_j1.c: Likewise.
18085 * math/w_j1f.c: Likewise.
18086 * math/w_j1l.c: Likewise.
18087 * math/w_jn.c: Likewise.
18088 * math/w_jnf.c: Likewise.
18089 * math/w_log.c: Likewise.
18090 * math/w_log10.c: Likewise.
18091 * math/w_log10f.c: Likewise.
18092 * math/w_log10l.c: Likewise.
18093 * math/w_log2.c: Likewise.
18094 * math/w_log2f.c: Likewise.
18095 * math/w_log2l.c: Likewise.
18096 * math/w_logf.c: Likewise.
18097 * math/w_logl.c: Likewise.
18098 * math/w_sqrt.c: Likewise.
18099 * math/w_sqrtf.c: Likewise.
18100 * math/w_sqrtl.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18107 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18110 * manual/string.texi (strnlen): Use correct parameter name in
18111 equivalent expression.
18113 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18116 * manual/users.texi (seteuid): Consistently use neweuid for
18119 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18122 * manual/nss.texi (Services in the NSS configuration): Correct
18123 list of services in example configuration file.
18125 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18128 * manual/arith.texi: Remove statements about negative zero
18129 behaving identically to zero.
18131 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18134 * manual/install.texi: Do not document upgrading from libc5.
18136 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18139 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18141 2012-02-18 David S. Miller <davem@davemloft.net>
18143 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18144 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18145 %o7 across the call.
18146 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18149 SETUP_PIC_REG_LEAF.
18150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18151 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18152 * sysdeps/sparc/crtn.S: Likewise.
18154 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18156 * aout/Makefile: Remove.
18158 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18161 * manual/examples/argp-ex1.c (main): Format definition in GNU
18163 * manual/examples/argp-ex2.c (main): Likewise.
18164 * manual/examples/argp-ex3.c (main): Likewise.
18165 * manual/examples/argp-ex4.c (main): Likewise.
18166 * manual/examples/longopt.c (main): Use new-style prototype
18168 * manual/examples/strncat.c (main): Specify return type and use
18169 (void) for arguments.
18170 * manual/examples/subopt.c (main): Use char **argv argument.
18172 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18175 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18178 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18181 * manual/string.texi (strchr): Change when strchrnul is
18184 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18187 * manual/locale.texi (setlocale): Document LOCPATH.
18189 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18192 * manual/process.texi (execle): Move @dots{} before last argument.
18194 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18197 * manual/charset.texi (Generic Charset Conversion): Fix typo
18198 (LC_TYPE -> LC_CTYPE).
18200 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18203 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18204 (scalbnf): Likewise.
18205 (scalbnl): Likewise.
18206 (scalbln): Likewise.
18207 (scalblnf): Likewise.
18208 (scalblnl): Likewise.
18209 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18210 (vwarnx): Likewise.
18213 * manual/filesys.texi (telldir): Use braces around return type.
18214 * manual/llio.texi (mmap): Add space after comma.
18215 (mmap64): Likewise.
18216 * manual/math.texi (jn): Use @var{} on parameter names.
18222 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18224 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18226 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18227 (sched_get_priority_max): Likewise.
18228 * manual/signal.texi (sigvec): Add space after comma.
18229 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18231 (if_indextoname): Likewise.
18232 (if_freenameindex): Likewise.
18233 (sendto): Use ',' instead of '.' in prototype.
18234 * manual/startup.texi (syscall): Use @dots{} instead of literal
18236 * manual/stdio.texi (__fpending): Separate initial words of
18237 paragraph from @deftypefun line.
18238 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18240 (vsyslog): Use @var{} on parameter names.
18241 * manual/terminal.texi (stty): Use @var{} on parameter names.
18242 * manual/users.texi (getutmp): Use @var{} on parameter names.
18243 (getutmpx): Likewise.
18245 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18248 * manual/stdio.texi (fopen): Fix typos in description of
18251 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18254 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18255 get clock_id definition.
18257 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18260 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18261 (madvise): Cast every argument to void on its own.
18263 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18266 * manual/startup.texi (Exit Status): Fix typo.
18268 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18271 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18272 * manual/examples/argp-ex2.c: Likewise.
18273 * manual/examples/argp-ex3.c: Likewise.
18275 2012-02-16 Richard Henderson <rth@redhat.com>
18277 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18278 * sysdeps/s390/s390-32/initfini.c: Remove.
18279 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18280 * sysdeps/s390/s390-64/initfini.c: Remove.
18282 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18284 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18285 compiler output for sysdeps/generic/initfini.c.
18286 * sysdeps/sh/elf/initfini.c: Remove file.
18288 2012-02-16 David S. Miller <davem@davemloft.net>
18291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18293 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18294 * sysdeps/sparc/crti.S: New file.
18295 * sysdeps/sparc/crtn.S: New file.
18296 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18297 * sysdeps/sparc/sparc64/Makefile: Likewise.
18299 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18302 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18304 2012-02-15 Roland McGrath <roland@hack.frob.com>
18307 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18309 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18310 (write, read, close): Likewise.
18311 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18313 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18315 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18316 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18317 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18318 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18320 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18324 2012-02-14 Marek Polacek <polacek@redhat.com>
18326 * sysdeps/x86_64/crti.S: New file.
18327 * sysdeps/x86_64/crtn.S: New file.
18328 * sysdeps/x86_64/elf/initfini.c: Remove file.
18330 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18332 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18333 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18334 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18335 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18337 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18341 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18343 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18344 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18345 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18346 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18348 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18352 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18354 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18355 __feraiseexcept instead of feraiseexcept.
18357 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18358 nanosleep invocations.
18359 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18360 strings, and add error checking for a nanosleep invocations.
18362 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18364 Replace FSF snail mail address with URLs, as per GNU coding standards.
18365 Most of the snail mail addresses were wrong anyway, and omitting
18366 them makes the source code easier to maintain. Almost all of the
18367 changes are to license notices and to locale LC_IDENTIFICATION
18368 addresses, except for this one:
18369 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18370 not its snail mail address.
18372 2012-02-09 Richard Henderson <rth@twiddle.net>
18374 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18375 of kernel-features.h.
18377 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18379 2012-02-08 Marek Polacek <polacek@redhat.com>
18381 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18382 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18383 * sysdeps/gnu/_G_config.h: Likewise.
18384 * sysdeps/generic/_G_config.h: Likewise.
18386 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18388 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18392 * sysdeps/powerpc/powerpc32/crti.S: New file.
18393 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18394 * sysdeps/powerpc/powerpc64/crti.S: New file.
18395 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18397 * Makeconfig (have-initfini): Don't set.
18398 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18399 * configure.in (nopic_initfini): Don't substitute.
18400 * config.h.in (HAVE_INITFINI): Don't #undef.
18401 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18402 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18404 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18406 Support crti.S and crtn.S provided directly by architectures.
18407 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18408 [crti.S in sysdirs] (omit-deps): Likewise.
18409 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18410 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18411 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18412 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18413 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18414 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18415 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18416 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18417 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18418 compiler output for sysdeps/generic/initfini.c.
18419 * sysdeps/i386/elf/Makefile: Remove file.
18420 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18422 2012-02-07 Marek Polacek <polacek@redhat.com>
18424 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18425 * sysdeps/gnu/_G_config.h: Likewise.
18426 * sysdeps/mach/hurd/_G_config.h: Likewise.
18428 2012-02-07 Marek Polacek <polacek@redhat.com>
18430 * math/Makefile (tests): Add tst-CMPLX2.
18431 * math/tst-CMPLX2.c: New file.
18433 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18435 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18437 * math/libm-test.inc (jn_test): Add missing L suffix.
18439 2012-02-06 Marek Polacek <polacek@redhat.com>
18441 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18442 * sysdeps/i386/fpu/e_powf.S: Likewise.
18443 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18444 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18445 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18446 * sysdeps/i386/fpu/e_pow.S: Likewise.
18447 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18448 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18449 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18450 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18451 * sysdeps/i386/fpu/e_log2.S: Likewise.
18452 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18453 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18454 * sysdeps/i386/fpu/e_powl.S: Likewise.
18455 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18456 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18457 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18458 * sysdeps/i386/fpu/e_logl.S: Likewise.
18459 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18460 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18461 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18462 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18463 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18464 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18465 * sysdeps/i386/fpu/e_log.S: Likewise.
18466 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18467 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18468 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18469 * sysdeps/i386/fpu/e_logf.S: Likewise.
18470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18471 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18472 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18473 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18474 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18475 * sysdeps/i386/fpu/e_log10.S: Likewise.
18476 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18477 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18478 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18479 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18480 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18481 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18482 * sysdeps/i386/asm-syntax.h: Likewise.
18483 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18484 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18485 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18486 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18487 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18488 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18489 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18490 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18491 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18492 * sysdeps/powerpc/sysdep.h: Likewise.
18493 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18494 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18496 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18499 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18501 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18503 * sysdeps/i386/sysdep.h: Include <features.h>.
18504 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18507 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18509 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18511 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18514 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18516 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18517 (SETUP_PIC_REG): Use GET_PC_THUNK.
18518 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18521 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18523 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18524 for non-PIC compilation.
18525 (SETUP_PIC_REG): Add .p2align directive.
18526 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18527 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18528 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18529 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18530 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18531 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18532 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18537 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18538 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18568 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18570 * math/tst-CMPLX.c: Include <stdio.h>.
18572 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18574 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18576 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18577 * sysdeps/sparc/bits/mathdef.h: Likewise.
18579 2012-01-31 Marek Polacek <polacek@redhat.com>
18581 * libio/libio.h: Don't define _PARAMS.
18582 * locale/programs/config.h: Don't define PARAMS.
18583 * stdlib/strtol_l.c: Likewise.
18584 (__strtol_l): Remove PARAMS from the prototype.
18586 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18588 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18589 names. Just use the correct names. Remove unnecessary wrapper
18591 * malloc/arena.c: Likewise.
18592 * malloc/hooks.c: Likewise.
18594 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18595 ARENA_TEST says not to. Simplify test for creation of a new arena.
18596 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18598 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18600 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18602 (update_get_addr): New function.
18603 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18604 GET_ADDR_MODULE parameter.
18606 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18608 * crypt/cert.c: Remove __STDC__ conditionals.
18609 * crypt/crypt-entry.c: Likewise.
18610 * crypt/crypt_util.c: Likewise.
18611 * libio/filedoalloc.c: Likewise.
18612 * libio/fileops.c: Likewise.
18613 * libio/genops.c: Likewise.
18614 * libio/iofclose.c: Likewise.
18615 * libio/iofdopen.c: Likewise.
18616 * libio/iofopen.c: Likewise.
18617 * libio/iofopen64.c: Likewise.
18618 * libio/iogetdelim.c: Likewise.
18619 * libio/iopopen.c: Likewise.
18620 * libio/obprintf.c: Likewise.
18621 * libio/oldfileops.c: Likewise.
18622 * libio/oldiofclose.c: Likewise.
18623 * libio/oldiofdopen.c: Likewise.
18624 * libio/oldiofopen.c: Likewise.
18625 * libio/oldiopopen.c: Likewise.
18626 * libio/wfiledoalloc.c: Likewise.
18627 * libio/wgenops.c: Likewise.
18628 * locale/programs/xmalloc.c: Likewise.
18629 * misc/syslog.c: Likewise.
18630 * stdio-common/xbug.c: Likewise.
18631 * string/memchr.c: Likewise.
18632 * string/memcmp.c: Likewise.
18633 * string/memrchr.c: Likewise.
18634 * string/rawmemchr.c: Likewise.
18635 * sysdeps/posix/getcwd.c: Likewise.
18636 * time/strftime_l.c: Likewise.
18638 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18640 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18641 * config.make.in (config-cflags-sse2avx): Define.
18642 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18645 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18647 * scripts/config.guess: Update from upstream config git repository.
18648 * scripts/config.sub: Likewise.
18650 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18652 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18654 (R_TILEPRO_*, R_TILEGX_*): New macros.
18656 * scripts/firstversions.awk: Fix bug in version range handling.
18658 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18660 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18662 * include/sys/epoll.h: New file.
18663 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18666 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18668 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18669 Avoid unnecessary __WORDSIZE == 64 test.
18670 (fmaxf): Use VEX format if possible.
18675 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18676 * math/math_private.h: Remove libc_fegetround* and
18678 * sysdeps/i386/configure.in: Check for -msse2avx.
18679 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18680 also if SSE2AVX is defined.
18681 Remove libc_fegetround* and libc_fesetround*.
18682 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18683 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18684 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18686 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18687 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18688 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18689 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18690 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18692 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18694 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18696 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18698 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18700 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18703 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18705 * Makeconfig (libm): Define.
18706 * elf/Makefile: Add rules to build and run tst-relsort1.
18707 * elf/tst-relsort1.c: New file.
18708 * elf/tst-relsort1mod1.c: New file.
18709 * elf/tst-relsort1mod2.c: New file.
18711 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18713 * math/s_ldexp.c: Remove __STDC__ conditionals.
18714 * math/s_ldexpf.c: Likewise.
18715 * math/s_ldexpl.c: Likewise.
18716 * math/s_nextafter.c: Likewise.
18717 * math/s_nexttowardf.c: Likewise.
18718 * math/s_significand.c: Likewise.
18719 * math/s_significandf.c: Likewise.
18720 * math/s_significandl.c: Likewise.
18721 * math/w_jnl.c: Likewise.
18722 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18723 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18724 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18725 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18726 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18727 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18728 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18729 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18730 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18731 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18732 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18733 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18734 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18735 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18736 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18737 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18738 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18741 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18742 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18743 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18744 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18745 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18746 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18747 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18748 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18749 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18750 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18751 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18752 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18753 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18754 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18755 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18756 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18757 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18758 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18759 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18760 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18761 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18762 * sysdeps/ieee754/k_standard.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18824 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18829 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18837 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18838 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18842 * sysdeps/ieee754/s_matherr.c: Likewise.
18843 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18844 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18848 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18850 * crypt/md5.h: Remove __STDC__ conditionals.
18851 * libio/libioP.h: Likewise.
18852 * locale/programs/config.h: Likewise.
18853 * sysdeps/generic/sysdep.h: Likewise.
18854 * sysdeps/i386/asm-syntax.h: Likewise.
18855 * sysdeps/s390/asm-syntax.h: Likewise.
18856 * sysdeps/unix/sysdep.h: Likewise.
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18860 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18862 * libio/libio.h: Remove __STDC__ conditionals.
18863 * malloc/obstack.h: Likewise.
18864 * math/complex.h: Likewise.
18865 * math/math.h: Likewise.
18866 * sysdeps/generic/_G_config.h: Likewise.
18867 * sysdeps/gnu/_G_config.h: Likewise.
18868 * sysdeps/mach/hurd/_G_config.h: Likewise.
18869 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18870 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18871 * sysdeps/sparc/bits/mathdef.h: Likewise.
18873 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18876 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18877 Clean up HAS_* macros.
18878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18879 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18881 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18883 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18884 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18885 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18886 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18887 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18889 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18891 * elf/tst-unique3.cc (gets): Remove declaration.
18892 * elf/tst-unique3lib.cc (gets): Likewise.
18893 * elf/tst-unique3lib2.cc (gets): Likewise.
18894 * elf/tst-unique4.cc (gets): Likewise.
18896 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18898 * include/stdio.h: Add C++ protection. Add gets declarations and
18900 * debug/tst-chk1.c: Don't declare gets here.
18901 * stdio-common/tst-gets.c: Likewise.
18903 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18905 * posix/glob: Remove directory.
18907 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18909 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18911 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18913 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18914 of the non-standard EPFNOSUPPORT.
18916 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18918 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18919 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18920 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18922 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18924 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18926 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18928 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18930 * nscd/grpcache.c (cache_addgr): Likewise.
18931 * nscd/hstcache.c (cache_addhst): Likewise.
18932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18933 * nscd/pwdcache.c (cache_addpw): Likewise.
18934 * nscd/servicescache.c (cache_addserv): Likewise.
18936 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18938 * malloc/malloc.c: Various cleanups.
18939 * malloc/hooks.c: Likewise.
18941 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18942 * stdlib/bug-fmtmsg1.c: New file.
18944 * stdlib/fmtmsg.c (init): Add missing unlock.
18945 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18947 2012-01-12 Marek Polacek <polacek@redhat.com>
18949 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18952 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18954 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18955 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18956 macro to ensure uniqueness of label name.
18957 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18958 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18960 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18962 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18964 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18965 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18966 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18969 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18971 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18973 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18974 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18975 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18977 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18979 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18980 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18984 * math/bits/math-finite.h: Add ldexp support.
18986 2012-01-10 Marek Polacek <polacek@redhat.com>
18988 * locale/programs/localedef.h (show_archive_content): Add noreturn
18991 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18993 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18995 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18997 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18999 * io/Makefile (headers): Add bits/poll2.h.
19001 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19004 typo #include statement.
19006 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19008 * include/sys/cdefs.h: Define __attribute_alloc_size.
19009 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19010 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19011 * elf/pldd.c: Likewise.
19012 * iconv/iconv_charmap.c: Likewise.
19013 * iconv/iconvconfig.c: Likewise.
19014 * iconv/strtab.c: Likewise.
19015 * locale/programs/locale.c: Likewise.
19016 * locale/programs/localedef.h: Likewise.
19017 * locale/programs/simple-hash.c: Likewise.
19018 * nscd/nscd.h: Likewise.
19019 * nss/makedb.c: Likewise.
19020 * sysdeps/generic/ldconfig.h: Likewise.
19021 * locale/programs/localedef.c: Remove xmalloc prototype.
19022 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19024 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19026 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19029 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19031 * math/Makefile (tests): Add tst-CMPLX.
19032 * math/tst-CMPLX.c: New file.
19034 * math/complex.h (CMPLXL): Fix typo.
19036 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19037 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19039 * debug/tst-chk1.c: Add poll and ppoll tests.
19040 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19041 * include/sys/poll.h: Add hidden proto for ppoll.
19042 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19043 * sysdeps/mach/hurd/ppoll.c: Likewise.
19044 * io/ppoll.c: Likewise.
19045 * debug/poll_chk.c: New file.
19046 * debug/ppoll_chk.c: New file.
19047 * include/bits/poll2.h: New file.
19048 * io/bits/poll2.h: New file.
19051 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19053 * configure.in: static is always set to yes. Remove.
19054 * config.make.in: Don't set build-static.
19055 * Makeconfig: Remove use of build-static.
19056 * dlfcn/Makefile: Likewise.
19057 * elf/Makefile: Likewise.
19058 * math/Makefile: Likewise.
19059 * misc/Makefile: Likewise.
19060 * nptl/Makefile: Likewise.
19061 * sysdeps/mach/hurd/Makefile: Likewise.
19063 * configure.in: PWD_P is not used anymore.
19064 * config.make.in: Remove PWD_P entry.
19066 * configure.in: Remove last remnants of RANLIB.
19067 No need to check for signed size_t anymore.
19068 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19070 Remove __builtin_expect test because we require at least gcc 3.4.
19071 * aclocal.m4: Likewise.
19073 * wcsmbs/mbrtoc16.c: Implement using towc function.
19074 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19075 * wcsmbs/wcsmbsload.c: Likewise.
19076 * iconv/gconv_simple.c: Likewise.
19077 * iconv/gconv_int.h: Likewise.
19078 * iconv/gconv_builtin.h: Likewise.
19079 * iconv/iconv_prog.c: Remove CHAR16 handling.
19081 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19083 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19085 * configure.in: Remove --with-elf and --enable-bounded options.
19086 Dont set base_machine for ia64. More non-ELF conditions removed.
19087 Remove testing and setting of leading underscore information.
19088 * config.make.in (build-bounded): Set to no.
19089 * config.h.in: Remove NO_UNDERSCORES entry.
19090 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19092 * csu/start.c: Remove !NO_UNDERSCORE code.
19093 * locale/localeinfo.h: Likewise.
19094 * sysdeps/generic/machine-gmon.h: Likewise.
19095 * sysdeps/generic/sysdep.h: Likewise.
19096 * sysdeps/i386/sysdep.h: Likewise.
19097 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19098 * sysdeps/mach/sysdep.h: Likewise.
19099 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19100 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19101 * sysdeps/sh/sysdep.h: Likewise.
19102 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19103 * sysdeps/unix/i386/sysdep.S: Likewise.
19104 * sysdeps/unix/sparc/start.c: Likewise.
19105 * sysdeps/unix/sparc/sysdep.S: Likewise.
19106 * sysdeps/unix/sparc/sysdep.h: Likewise.
19107 * sysdeps/unix/start.c: Likewise.
19108 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19109 * sysdeps/x86_64/sysdep.h: Likewise.
19111 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19114 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19116 * argp/argp-fmtstream.h: Use const instead __const.
19117 * argp/argp.h: Likewise.
19118 * assert/assert.h: Likewise.
19119 * bits/fenv.h: Likewise.
19120 * bits/sched.h: Likewise.
19121 * bits/sigset.h: Likewise.
19122 * bits/sigthread.h: Likewise.
19123 * catgets/nl_types.h: Likewise.
19124 * conform/data/pthread.h-data: Likewise.
19125 * crypt/crypt-private.h: Likewise.
19126 * crypt/crypt.h: Likewise.
19127 * crypt/crypt_util.c: Likewise.
19128 * ctype/ctype.h: Likewise.
19129 * debug/execinfo.h: Likewise.
19130 * debug/mbsnrtowcs_chk.c: Likewise.
19131 * debug/mbsrtowcs_chk.c: Likewise.
19132 * debug/wcsnrtombs_chk.c: Likewise.
19133 * debug/wcsrtombs_chk.c: Likewise.
19134 * debug/wcstombs_chk.c: Likewise.
19135 * dirent/dirent.h: Likewise.
19136 * dlfcn/dlfcn.h: Likewise.
19137 * elf/neededtest4.c: Likewise.
19138 * grp/grp.h: Likewise.
19139 * gshadow/gshadow.h: Likewise.
19140 * iconv/gconv.h: Likewise.
19141 * iconv/gconv_int.h: Likewise.
19142 * iconv/gconv_simple.c: Likewise.
19143 * iconv/iconv.h: Likewise.
19144 * iconv/loop.c: Likewise.
19145 * iconv/skeleton.c: Likewise.
19146 * include/aio.h: Likewise.
19147 * include/aliases.h: Likewise.
19148 * include/argz.h: Likewise.
19149 * include/arpa/inet.h: Likewise.
19150 * include/assert.h: Likewise.
19151 * include/dirent.h: Likewise.
19152 * include/dlfcn.h: Likewise.
19153 * include/execinfo.h: Likewise.
19154 * include/fcntl.h: Likewise.
19155 * include/fenv.h: Likewise.
19156 * include/glob.h: Likewise.
19157 * include/grp.h: Likewise.
19158 * include/libintl.h: Likewise.
19159 * include/mntent.h: Likewise.
19160 * include/netdb.h: Likewise.
19161 * include/pwd.h: Likewise.
19162 * include/rpc/netdb.h: Likewise.
19163 * include/sched.h: Likewise.
19164 * include/search.h: Likewise.
19165 * include/shadow.h: Likewise.
19166 * include/signal.h: Likewise.
19167 * include/stdio.h: Likewise.
19168 * include/stdlib.h: Likewise.
19169 * include/string.h: Likewise.
19170 * include/sys/socket.h: Likewise.
19171 * include/sys/stat.h: Likewise.
19172 * include/sys/statfs.h: Likewise.
19173 * include/sys/statvfs.h: Likewise.
19174 * include/sys/syslog.h: Likewise.
19175 * include/sys/time.h: Likewise.
19176 * include/sys/uio.h: Likewise.
19177 * include/time.h: Likewise.
19178 * include/unistd.h: Likewise.
19179 * include/utmp.h: Likewise.
19180 * include/wchar.h: Likewise.
19181 * include/wctype.h: Likewise.
19182 * inet/aliases.h: Likewise.
19183 * inet/arpa/inet.h: Likewise.
19184 * inet/netinet/ether.h: Likewise.
19185 * inet/netinet/in.h: Likewise.
19186 * intl/libintl.h: Likewise.
19187 * io/bits/fcntl2.h: Likewise.
19188 * io/fcntl.h: Likewise.
19189 * io/ftw.h: Likewise.
19190 * io/sys/poll.h: Likewise.
19191 * io/sys/stat.h: Likewise.
19192 * io/sys/statfs.h: Likewise.
19193 * io/sys/statvfs.h: Likewise.
19194 * io/utime.h: Likewise.
19195 * libio/bits/stdio.h: Likewise.
19196 * libio/bits/stdio2.h: Likewise.
19197 * libio/libio.h: Likewise.
19198 * libio/libioP.h: Likewise.
19199 * libio/stdio.h: Likewise.
19200 * locale/lc-ctype.c: Likewise.
19201 * locale/locale.h: Likewise.
19202 * login/utmp.h: Likewise.
19203 * malloc/arena.c: Likewise.
19204 * malloc/malloc.c: Likewise.
19205 * malloc/malloc.h: Likewise.
19206 * malloc/mcheck.c: Likewise.
19207 * malloc/mtrace.c: Likewise.
19208 * math/bits/mathcalls.h: Likewise.
19209 * math/fenv.h: Likewise.
19210 * math/math_private.h: Likewise.
19211 * misc/bits/error.h: Likewise.
19212 * misc/bits/syslog.h: Likewise.
19213 * misc/err.h: Likewise.
19214 * misc/error.h: Likewise.
19215 * misc/fstab.h: Likewise.
19216 * misc/mntent.h: Likewise.
19217 * misc/regexp.h: Likewise.
19218 * misc/search.h: Likewise.
19219 * misc/sgtty.h: Likewise.
19220 * misc/sys/mman.h: Likewise.
19221 * misc/sys/syslog.h: Likewise.
19222 * misc/sys/uio.h: Likewise.
19223 * misc/sys/xattr.h: Likewise.
19224 * misc/ttyent.h: Likewise.
19225 * nis/rpcsvc/ypclnt.h: Likewise.
19226 * nss/nss.h: Likewise.
19227 * posix/bits/unistd.h: Likewise.
19228 * posix/fnmatch.h: Likewise.
19229 * posix/glob.h: Likewise.
19230 * posix/sched.h: Likewise.
19231 * posix/spawn.h: Likewise.
19232 * posix/sys/wait.h: Likewise.
19233 * posix/unistd.h: Likewise.
19234 * posix/wordexp.h: Likewise.
19235 * pwd/pwd.h: Likewise.
19236 * resolv/netdb.h: Likewise.
19237 * resource/sys/resource.h: Likewise.
19238 * rt/aio.h: Likewise.
19239 * rt/bits/mqueue2.h: Likewise.
19240 * rt/mqueue.h: Likewise.
19241 * shadow/shadow.h: Likewise.
19242 * signal/signal.h: Likewise.
19243 * socket/send.c: Likewise.
19244 * socket/sendto.c: Likewise.
19245 * socket/sys/socket.h: Likewise.
19246 * stdio-common/printf.h: Likewise.
19247 * stdlib/bits/stdlib.h: Likewise.
19248 * stdlib/fmtmsg.h: Likewise.
19249 * stdlib/monetary.h: Likewise.
19250 * stdlib/stdlib.h: Likewise.
19251 * stdlib/ucontext.h: Likewise.
19252 * streams/stropts.h: Likewise.
19253 * string/argz.h: Likewise.
19254 * string/bits/string2.h: Likewise.
19255 * string/string.h: Likewise.
19256 * string/strings.h: Likewise.
19257 * sunrpc/rpc/auth.h: Likewise.
19258 * sunrpc/rpc/auth_des.h: Likewise.
19259 * sunrpc/rpc/clnt.h: Likewise.
19260 * sunrpc/rpc/netdb.h: Likewise.
19261 * sunrpc/rpc/pmap_clnt.h: Likewise.
19262 * sunrpc/rpc/xdr.h: Likewise.
19263 * sysdeps/generic/inttypes.h: Likewise.
19264 * sysdeps/generic/net/if.h: Likewise.
19265 * sysdeps/generic/sys/swap.h: Likewise.
19266 * sysdeps/gnu/net/if.h: Likewise.
19267 * sysdeps/gnu/utmpx.h: Likewise.
19268 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19269 * sysdeps/i386/i486/bits/string.h: Likewise.
19270 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19271 * sysdeps/s390/bits/string.h: Likewise.
19272 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19273 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19274 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19275 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19276 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19277 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19278 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19279 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19280 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19281 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19282 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19283 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19284 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19285 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19286 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19287 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19288 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19290 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19292 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19293 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19294 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19295 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19296 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19297 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19298 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19299 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19300 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19302 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19303 * sysvipc/sys/ipc.h: Likewise.
19304 * sysvipc/sys/msg.h: Likewise.
19305 * sysvipc/sys/sem.h: Likewise.
19306 * sysvipc/sys/shm.h: Likewise.
19307 * termios/termios.h: Likewise.
19308 * time/sys/time.h: Likewise.
19309 * time/time.h: Likewise.
19310 * wcsmbs/bits/wchar2.h: Likewise.
19311 * wcsmbs/uchar.h: Likewise.
19312 * wcsmbs/wchar.h: Likewise.
19313 * wctype/wctype.h: Likewise.
19316 * Makeconfig: Remove all but ELF support including AIX support.
19317 * Makerules: Likewise.
19318 * config.h.in: Likewise.
19319 * config.make.in: Likewise.
19320 * configure: Likewise.
19321 * configure.in: Likewise.
19322 * csu/Makefile: Likewise.
19323 * csu/version.c: Likewise.
19324 * debug/Makefile: Likewise.
19325 * dlfcn/Makefile: Likewise.
19326 * elf/Makefile: Likewise.
19327 * extra-lib.mk: Likewise.
19328 * iconv/Makefile: Likewise.
19329 * include/libc-symbols.h: Likewise.
19330 * include/shlib-compat.h: Likewise.
19331 * resolv/Makefile: Likewise.
19332 * resolv/res_libc.c: Likewise.
19333 * rt/Makefile: Likewise.
19334 * sysdeps/i386/asm-syntax.h: Likewise.
19335 * sysdeps/i386/sysdep.h: Likewise.
19336 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19337 * sysdeps/mach/sysdep.h: Likewise.
19338 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19339 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19340 * sysdeps/s390/asm-syntax.h: Likewise.
19341 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19343 * sysdeps/sh/sysdep.h: Likewise.
19344 * sysdeps/unix/sparc/sysdep.h: Likewise.
19345 * sysdeps/wordsize-32/divdi3.c: Likewise.
19346 * sysdeps/x86_64/sysdep.h: Likewise.
19348 * argp/Versions: Remove _argp_unlock_xxx.
19351 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19352 * abilist/libBrokenLocale.abilist: Likewise.
19353 * abilist/libanl.abilist: Likewise.
19354 * abilist/libc.abilist: Likewise.
19355 * abilist/libcrypt.abilist: Likewise.
19356 * abilist/libdl.abilist: Likewise.
19357 * abilist/libm.abilist: Likewise.
19358 * abilist/libnsl.abilist: Likewise.
19359 * abilist/libpthread.abilist: Likewise.
19360 * abilist/libresolv.abilist: Likewise.
19361 * abilist/librt.abilist: Likewise.
19362 * abilist/libthread_db.abilist: Likewise.
19363 * abilist/libutil.abilist: Likewise.
19364 * abilist/libnss_db.abilist: New file.
19366 * scripts/abilist.awk: Add support for indirect functions.
19368 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19370 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19372 * shlib-versions: Remove entries for ports architectures.
19374 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19376 * elf/stackguard-macros.h: Remove support for IA-64.
19377 * elf/tst-auditmod1.c: Likewise.
19378 * sysdeps/generic/ldsodefs.h: Likewise.
19380 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19381 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19385 * configure.in: Remove --enable-omitfp support.
19387 * config.make.in: Likewise.
19388 * Makeconfig: Likewise.
19389 * manual/install.texi: Likewise.
19391 In case anyone cares, the IA-64 architecture could move to ports.
19392 * sysdeps/ia64/*: Removed.
19393 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19394 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19397 * configure.in: Remove entries for unsupported architectures.
19400 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19401 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19403 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19404 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19405 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19406 fall back to using wcrtomb.
19407 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19408 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19410 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19411 * wcsmbs/tst-c16c32-1.c: New file.
19413 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19416 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19418 * elf/tst-unique3.cc: Add explicit declaration of gets.
19419 * elf/tst-unique3lib.cc: Likewise.
19420 * elf/tst-unique3lib2.cc: Likewise.
19421 * elf/tst-unique4.cc: Likewise.
19423 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19425 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19428 * assert/assert.h (static_assert): Don't define for C++.
19429 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19430 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19432 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19434 * iconv/loop.c (single loop): Fix assertion in storing of
19437 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19439 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19441 * posix/getconf.c: Update copyright year.
19442 * nss/getent.c: Likewise.
19443 * nss/makedb.c: Likewise.
19444 * iconv/iconvconfig.c: Likewise.
19445 * iconv/iconv_prog.c: Likewise.
19446 * elf/ldconfig.c: Likewise.
19447 * elf/pldd.c: Likewise.
19448 * elf/sotruss.ksh: Likewise.
19449 * catgets/gencat.c: Likewise.
19450 * csu/version.c: Likewise.
19451 * elf/ldd.bash.in: Likewise.
19452 * elf/sprof.c (print_version): Likewise.
19453 * locale/programs/locale.c: Likewise.
19454 * locale/programs/localedef.c: Likewise.
19455 * login/programs/pt_chown.c: Likewise.
19456 * nscd/nscd.c (print_version): Likewise.
19457 * debug/xtrace.sh: Likewise.
19458 * malloc/memusage.sh: Likewise.
19459 * malloc/mtrace.pl: Likewise.
19460 * debug/catchsegv.sh: Likewise.
19462 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19464 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19467 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19470 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19471 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19473 * iconv/gconv_int.h: Likewise.
19474 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19475 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19476 from libc for GLIBC_2.16.
19477 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19478 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19479 * wcsmbs/uchar.h: Really define mbstate_t.
19480 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19481 * wcsmbs/c16rtomb.c: New file.
19482 * wcsmbs/mbrtoc16.c: New file.
19483 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19484 for C/POSIX locale.
19485 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19486 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19488 * wcsmbs/wchar.h: Add missing __restrict.
19490 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19493 * time/Makefile (routines): Add timespec_get.
19494 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19495 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19496 timespec for ISO C11.
19497 * time/timespec_get.c: New file.
19498 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19499 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19502 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19503 * stdlib/stdlib.h: Declare aligned_alloc.
19504 * Versions.def: Add GLIBC_2.16 for libc.
19505 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19508 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19511 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19515 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19518 * assert/assert.h (static_assert): Define.
19520 * version.h: Update for 2.16 development version.
19523 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19526 * version.h (RELEASE): Bump for 2.15 release.
19527 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19529 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19530 Patch by Marek Polacek <mpolacek@redhat.com>.
19532 * bits/byteswap.h: Protect long long constants with __extension__.
19533 * sysdeps/i386/bits/byteswap.h: Likewise.
19534 * sysdeps/ia64/bits/byteswap.h: Likewise.
19535 * sysdeps/s390/bits/byteswap.h: Likewise.
19536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19538 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19541 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19542 destination buffer.
19543 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19545 2011-12-23 Marek Polacek <polacek@redhat.com>
19547 * elf/dl-addr.c (determine_info): Add inline keyword.
19548 * elf/tst-auditmod4b.c (check_avx): Likewise.
19549 * elf/tst-auditmod6b.c (check_avx): Likewise.
19550 * elf/tst-auditmod6c.c (check_avx): Likewise.
19551 * elf/tst-auditmod7b.c (check_avx): Likewise.
19553 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19555 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19558 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19561 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19562 processing for last bytes.
19564 2011-08-06 Bruno Haible <bruno@clisp.org>
19567 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19568 U+0385, not to U+1FEE.
19571 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19572 entry for U+00A5 U+0301.
19574 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19577 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19578 buffer for the output is too small.
19580 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19584 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19585 SSE flags if possible.
19587 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19590 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19591 processing for last bytes.
19593 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19595 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19596 (syscall-list-default-options, syscall-list-default-condition)
19597 (syscall-list-includes): Define.
19598 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19599 list of ABIs and options and #if conditions for each ABI. Do not
19600 handle common syscalls between ABIs specially.
19601 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19603 (syscall-list-variants, syscall-list-32bit-options)
19604 (syscall-list-32bit-condition, syscall-list-64bit-options)
19605 (syscall-list-64bit-condition): Define.
19606 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19607 (syscall-list-variants, syscall-list-32bit-options)
19608 (syscall-list-32bit-condition, syscall-list-64bit-options)
19609 (syscall-list-64bit-condition): Define.
19610 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19612 (syscall-list-variants, syscall-list-32bit-options)
19613 (syscall-list-32bit-condition, syscall-list-64bit-options)
19614 (syscall-list-64bit-condition): Define.
19615 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19617 (syscall-list-variants, syscall-list-32bit-options)
19618 (syscall-list-32bit-condition, syscall-list-64bit-options)
19619 (syscall-list-64bit-condition): Define.
19621 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19623 * locale/iso-639.def: Add brx entry.
19626 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19627 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19629 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19630 __feraiseexcept_renamed.
19632 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19635 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19636 EPOLLET with unsigned values.
19637 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19638 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19640 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19641 to large cancellation.
19642 * math/s_cacoshf.c: Likewise.
19643 * math/s_cacoshl.c: Likewise.
19645 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19649 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19650 * math/s_cacoshf.c: Likewise.
19651 * math/s_cacoshl.c: Likewise.
19653 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19656 * iconv/gconv.h: Define __GCONV_SWAP.
19657 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19658 * iconvdata/utf-16.c: Likewise.
19659 * iconvdata/utf-32.c: Likewise.
19661 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19664 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19665 numerator after shifting it by one limb.
19667 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19669 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19670 under [__USE_EXTERN_INLINES].
19672 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19675 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19677 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19679 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19680 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19682 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19683 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19684 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19685 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19686 for strncasecmp/strncasecmp_l compilation.
19687 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19688 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19690 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19693 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19696 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19699 * time/tzfile.c (__tzfile_read): Check values from file header.
19701 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19703 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19704 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19705 * powerpc/powerpc32/dl-start.S: Likewise.
19706 * powerpc/powerpc32/elf/start.S: Likewise.
19707 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19708 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19709 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19710 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19711 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19712 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19713 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19714 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19715 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19716 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19717 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19718 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19719 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19720 * powerpc/powerpc32/memset.S: Likewise.
19721 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19722 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19723 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19724 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19725 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19726 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19727 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19728 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19729 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19730 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19731 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19732 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19733 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19735 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19737 * math/libm-test.inc: Added more nearbyint tests.
19738 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19739 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19743 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19745 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19748 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19750 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19751 Add wcscpy-ssse3 wcscpy-c.
19752 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19753 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19754 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19755 * sysdeps/x86_64/wcschr.S: New file.
19756 * sysdeps/x86_64/wcsrchr.S: New file.
19757 * string/test-strcmp.c: Remove checking of wcscmp function for
19759 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19760 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19761 wcsrchr-sse2 wcsrchr-c.
19762 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19763 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19764 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19765 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19766 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19767 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19768 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19769 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19770 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19771 * wcsmbc/wcschr.c (WCSCHR): New macro.
19773 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19775 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19776 * wcsmbs/test-wcsrchr.c: New file.
19777 * string/test-strrchr.c: Add wcsrchr support.
19779 * wcsmbs/test-wcscpy.c: New file.
19780 * string/test-strcpy.c: Add wcscpy support.
19783 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19785 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19788 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19791 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19793 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19795 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19796 Minor optimizations.
19798 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19799 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19800 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19802 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19804 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19805 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19806 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19807 for gcc to avoid warnings.
19808 * inet/Makefile (tests): Add tst-checks.
19809 * inet/tst-checks.c: New file.
19811 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19814 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19817 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19818 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19820 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19822 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19824 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19827 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19829 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19831 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19832 conditional on GCC version.
19833 (__arch_compare_and_exchange_val_8_acq)
19834 (__arch_compare_and_exchange_val_16_acq)
19835 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19836 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19837 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19839 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19841 * sysdeps/sh/backtrace.c: New file.
19843 2011-12-02 Andreas Schwab <schwab@redhat.com>
19845 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19848 2011-12-01 Andreas Schwab <schwab@redhat.com>
19850 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19851 falling back to utime.
19853 2011-11-30 Andreas Schwab <schwab@redhat.com>
19855 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19856 expectations for float.
19858 2011-11-29 Andreas Schwab <schwab@redhat.com>
19860 * locale/weight.h (findidx): Add parameter len.
19861 * locale/weightwc.h (findidx): Likewise.
19862 * posix/fnmatch_loop.c (FCT): Adjust caller.
19863 * posix/regcomp.c (build_equiv_class): Likewise.
19864 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19865 * posix/regexec.c (check_node_accept_bytes): Likewise.
19866 * string/strcoll_l.c (STRCOLL): Likewise.
19867 * string/strxfrm_l.c (STRXFRM): Likewise.
19869 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19871 * Makefile.in: Remove CVSOPT handling.
19872 * configure.in: Remove use of AC_REVISION.
19873 * iconvdata/Makefile (distribute): No need to filter out CVS.
19874 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19877 2011-11-16 Andreas Schwab <schwab@redhat.com>
19879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19880 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19881 [USE_AS_STRNCASECMP_L]: Likewise.
19882 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19883 NO_TLS_DIRECT_SEG_REFS.
19884 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19885 Fix argument offsets for non-PIC.
19886 [USE_AS_STRNCASECMP_L]: Likewise.
19887 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19888 NO_TLS_DIRECT_SEG_REFS.
19890 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19892 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19894 * locale/loadlocale.c (_nl_load_locale): Likewise.
19896 2011-11-15 Andreas Schwab <schwab@redhat.com>
19898 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19899 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19900 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19901 (SYSCALL_GETTIME): Set errno on error.
19903 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19904 count references to noai6ai_cached.
19906 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19908 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19910 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19911 FD_CLOEXEC for /proc/self/maps.
19913 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19914 FD_CLOEXEC for /proc/meminfo.
19916 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19919 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19920 FD_CLOEXEC for given file.
19922 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19924 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19925 FD_CLOEXEC for /etc/hosts.
19926 (_gethtent): Likewise.
19928 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19930 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19931 cancellation and set FD_CLOEXEC for /etc/netgroup.
19933 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19934 reading /etc/publickey.
19936 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19937 allow cancellation when reading /etc/group.
19939 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19941 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19943 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19944 when using data file.
19946 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19948 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19949 (write_nis_obj): Use "c" and "e" in fopen.
19951 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19953 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19955 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19957 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19959 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19962 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19964 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19966 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19968 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19969 file parsing and set FD_CLOEXEC.
19971 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19973 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19975 2011-11-14 Andreas Schwab <schwab@redhat.com>
19977 * malloc/arena.c (arena_get2): Don't call reused_arena when
19978 _int_new_arena failed.
19980 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19982 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19983 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19984 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19985 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19986 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19987 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19988 to compile strcasecmp and strncasecmp.
19989 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19990 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19994 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19996 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19997 locale-defines.sym to gen-as-const-headers.
19998 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19999 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20001 to compile strcasecmp and strncasecmp.
20002 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20003 strcasecmp_l and strncasecmp_l.
20004 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20005 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20006 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20007 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20008 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20009 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20010 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20011 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20012 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20013 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20014 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20016 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20018 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20019 result of SYSDEP_GETTIME_CPU to retval.
20020 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20021 parameter list to macro. Remove trailing semicolon. Adjust users.
20023 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20026 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20028 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20030 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20031 from unused variable.
20033 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20035 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20038 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20041 * sunrpc/rpc_prot.c (rejected): Fix case value.
20043 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20044 unsigned long long int to avoid warnings in shift.
20046 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20048 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20051 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20052 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20053 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20055 * nis/nis_table.c (nis_list): Use variable of correct type for
20056 result of __follow_path call.
20058 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20060 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20061 of math functions ceil, trunc, floor, round, and sqrt, when
20062 avaliable on the platform.
20063 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20065 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20066 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20067 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20069 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20071 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20072 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20074 2011-11-11 Roland McGrath <roland@hack.frob.com>
20076 * include/unistd.h: Fix __readlink return type.
20077 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20079 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20081 * stdlib/ucontext.h: Undo last change for makecontext.
20083 2011-11-11 Andreas Schwab <schwab@redhat.com>
20085 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20087 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20088 * setjmp/setjmp.h: Mark functions as non-leaf.
20089 * setjmp/bits/setjmp2.h: Likewise.
20090 * stdlib/ucontext.h: Likewise.
20092 2011-11-10 Andreas Schwab <schwab@redhat.com>
20094 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20095 (reused_arena): Don't check arena limit.
20096 (arena_get2): Atomically check arena limit.
20098 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20100 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20101 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20103 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20106 2011-11-07 Andreas Schwab <schwab@redhat.com>
20108 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20109 handler when locking.
20111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20112 Fix size of allocated buffer.
20114 2011-11-04 Andreas Schwab <schwab@redhat.com>
20117 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20118 declarations for long double functions.
20119 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20121 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20123 2011-11-03 Andreas Schwab <schwab@redhat.com>
20125 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20128 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20131 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20133 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20135 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20137 * include/alloca.h (stackinfo_alloca_round): Define.
20138 (extend_alloca): Use it.
20139 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20140 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20143 * scripts/check-local-headers.sh: Ignore libaudit.h.
20145 * nscd/Makefile (extra-objs): Make recursively expanded.
20147 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20149 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20150 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20152 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20153 * posix/tst-rfc3484-2.c: Likewise.
20154 * posix/tst-rfc3484-3.c: Likewise.
20156 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20158 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20160 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20161 process_vm_writev from libc using GLIBC_2.15 version.
20163 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20165 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20167 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20170 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20173 * nss/getent.c (initgroups_keys): Show error message in case no group
20176 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20177 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20178 __bump_nl_timestamp.
20179 * nscd/connections (nscd_init): When host database is served open
20180 netlink socket and request notification about configuration changes.
20181 (main_loop_poll): Track netlink file descriptor and bump timestamp
20182 in case data becomes available.
20183 (main_loop_epoll): Likewise.
20184 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20185 (database_pers_head): Add extra_data fileds.
20186 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20187 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20188 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20191 in6ai data, call __free_in6ai.
20192 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20193 Add -DHAVE_NETLINK.
20194 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20195 interface information. Reuse previous data if netlink timestamp
20197 (__bump_nl_timestamp): New function.
20198 (__free_in6ai): New function.
20200 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20202 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20203 close_not_cancel_no_status here.
20204 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20206 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20209 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20212 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20213 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20214 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20216 2011-07-03 Andreas Jaeger <aj@suse.de>
20219 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20220 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20221 * math/libm-test.inc (sin_test): Add test case.
20223 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20226 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20227 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20229 * elf/chroot_canon.c (chroot_canon): Cleanups.
20231 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20234 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20235 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20237 * string/test-strchr.c: Make usable for strchrnul testing.
20238 * string/test-strchrnul.c: New file.
20239 * string/Makefile (strop-tests): Add strchrnul.
20241 * po/it.po: Update from translation team.
20242 * po/es.po: Likewise.
20244 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20246 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20247 the three constants needed as parameters. Drop the others.
20248 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20249 __m128i_strloadu_tolower.
20250 Create and initialize variable zero and use it in all the places
20251 where _mm_setzero_si128 was used.
20253 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20254 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20255 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20256 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20258 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20259 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20260 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20261 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20262 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20263 __mpranred, __mptan.
20264 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20265 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20266 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20267 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20268 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20269 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20270 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20271 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20272 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20274 2011-10-28 Andreas Schwab <schwab@redhat.com>
20276 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20277 redefine if SHARED.
20278 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20281 wide char related routines to wcsmbs subdir.
20283 2011-10-27 Andreas Schwab <schwab@redhat.com>
20286 * misc/sys/cdefs.h (__THROWNL): Define.
20287 * posix/unistd.h: Use __THREADNL instead of __THREAD
20288 for memory synchronization functions.
20290 2011-10-26 Roland McGrath <roland@hack.frob.com>
20293 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20295 * manual/stdio.texi (Obstack Streams): Node removed.
20297 2011-10-26 Andreas Schwab <schwab@redhat.com>
20299 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20300 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20301 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20303 * math/math_private.h (math_force_eval): Allow non-addressable
20305 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20307 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20309 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20310 file is not needed.
20312 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20314 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20315 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20316 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20317 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20318 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20319 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20321 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20322 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20323 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20324 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20325 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20326 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20327 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20328 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20329 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20330 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20331 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20332 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20333 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20334 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20335 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20336 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20337 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20338 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20339 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20341 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20342 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20345 place. Use VEX encoding when compiling for AVX.
20347 2011-10-25 Andreas Schwab <schwab@redhat.com>
20349 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20350 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20352 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20354 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20356 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20357 useless if() expression.
20358 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20359 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20360 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20361 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20362 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20363 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20364 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20366 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20368 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20369 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20370 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20371 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20372 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20373 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20374 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20375 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20376 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20378 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20380 2011-10-25 Andreas Schwab <schwab@redhat.com>
20382 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20384 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20386 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20388 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20389 .text section. Avoid duplicate constants.
20390 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20392 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20394 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20398 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20399 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20400 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20401 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20402 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20403 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20404 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20405 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20406 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20407 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20409 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20410 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20411 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20413 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20414 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20415 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20416 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20417 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20418 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20419 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20420 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20421 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20422 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20423 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20424 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20425 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20426 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20427 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20428 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20429 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20430 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20432 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20433 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20434 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20436 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20438 * sysdeps/x86_64/dla.h: Move to ...
20439 * sysdeps/x86_64/fpu/dla.h: ...here.
20440 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20441 situations. Use __builtin_fma only for gcc 4.6 and up.
20443 * config.make.in: Add have-mfma4 entry.
20444 * configure.in: Substitute libc_cv_cc_fma4.
20445 * math/Makefile (dbl-only-routines): Add sincostab.
20446 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20447 Use __sincostab not sincos.
20448 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20450 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20452 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20455 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20456 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20457 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20458 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20460 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20461 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20463 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20464 define aliases when function name is a macro.
20465 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20466 sysdeps/ieee754/dbl-64/sincos.tbl.
20467 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20468 fma4-enabled routines.
20469 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20470 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20471 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20472 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20473 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20474 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20475 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20476 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20477 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20478 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20479 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20480 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20481 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20482 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20484 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20485 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20486 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20487 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20488 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20489 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20490 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20493 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20495 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20496 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20497 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20498 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20500 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20511 2011-10-24 Andreas Schwab <schwab@redhat.com>
20513 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20515 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20517 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20519 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20521 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20523 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20524 Remove unused variable magic_bits.
20525 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20527 * string/strnlen.c: Define and use STRNLEN macro.
20528 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20529 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20531 * wcsmbs/wcslen.c: Define and use WCSLEN.
20532 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20533 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20534 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20535 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20536 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20537 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20538 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20540 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20543 strnlen-sse2-no-bsf.
20544 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20545 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20546 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20547 Add strnlen support.
20548 (USE_AS_STRNLEN): New macro.
20549 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20550 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20551 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20552 * sysdeps/x86_64/wcslen.S: New file.
20554 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20557 XMM-moves are used for copying on small sizes.
20559 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20561 * wcsmbs/Makefile (strop-tests): Add wcschr.
20562 * wcsmbs/test-wcschr.c: New file.
20563 * string/test-strchr.c: Update.
20564 Add wcschr support.
20567 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20569 * wcsmbs/Makefile (strop-tests): Add wcslen.
20570 * wcsmbs/test-wcslen.c: New file.
20571 * string/test-strlen.c: Update.
20572 Add wcslen support.
20575 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20577 * po/it.po: Update from translation team.
20579 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20581 * sysdeps/x86_64/wcscmp.S: Update.
20582 Fix wrong comparison semantics.
20583 wcscmp shall use signed comparison not unsigned.
20584 Don't use substraction to avoid overflow bug.
20585 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20586 * wcsmbc/wcscmp.c: Likewise.
20587 * string/test-strcmp.c: Likewise.
20588 Add new tests to check cases with negative values.
20590 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20592 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20593 * sysdeps/x86_64/dla.h: ...here. New file.
20594 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
20600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20602 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20604 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20607 __ynl_finite aliases.
20609 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20613 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20615 [DLA_FMA] (EMULV): Use DLA_FMA.
20616 [DLA_FMA] (MUL12): Use EMULV.
20617 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20618 that are not needed.
20619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20627 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20629 * math/s_nan.c: Undef __nan.
20630 * math/s_nanf.c: Undef __nanf.
20631 * math/s_nanl.c: Undef __nanl.
20632 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20635 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20637 * math/s_catan.c: Add branch predictions.
20638 * math/s_catanf.c: Likewise.
20639 * math/s_catanh.c: Likewise.
20640 * math/s_catanhf.c: Likewise.
20641 * math/s_catanhl.c: Likewise.
20642 * math/s_catanl.c: Likewise.
20643 * math/s_cexp.c: Likewise.
20644 * math/s_cexpf.c: Likewise.
20645 * math/s_cexpl.c: Likewise.
20646 * math/s_clog.c: Likewise.
20647 * math/s_clog10.c: Likewise.
20648 * math/s_clog10f.c: Likewise.
20649 * math/s_clog10l.c: Likewise.
20650 * math/s_clogf.c: Likewise.
20651 * math/s_clogl.c: Likewise.
20652 * math/s_csqrt.c: Likewise.
20653 * math/s_csqrtf.c: Likewise.
20654 * math/s_csqrtl.c: Likewise.
20655 * math/s_ctanf.c: Likewise.
20656 * math/s_ctanh.c: Likewise.
20657 * math/s_ctanhf.c: Likewise.
20658 * math/s_ctanhl.c: Likewise.
20659 * math/s_ctanl.c: Likewise.
20661 * math/math_private.h: Define __nan, __nanf, __nanl.
20662 * math/s_cacosh.c: Include <math_private.h>.
20663 * math/s_cacoshl.c: Likewise.
20664 * math/s_casinh.c: Likewise.
20665 * math/s_casinhf.c: Likewise.
20666 * math/s_casinhl.c: Likewise.
20667 * math/s_ccos.c: Rely entire on ccosh.
20668 * math/s_ccosf.c: Rely entire on ccoshf.
20669 * math/s_ccosl.c: Rely entirely on ccoshl.
20670 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20671 Remove tests for FE_INVALID.
20672 * math/s_ccoshf.c: Likewise.
20673 * math/s_ccoshl.c: Likewise.
20674 * math/s_csin.c: Likewise.
20675 * math/s_csinf.c: Likewise.
20676 * math/s_csinh.c Likewise.
20677 * math/s_csinhf.c: Likewise.
20678 * math/s_csinhl.c: Likewise.
20679 * math/s_csinl.c: Likewise.
20680 * math/s_ctan.c: Likewise.
20681 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20682 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20683 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20685 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20688 compilation problems.
20690 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20693 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20695 * sysdeps/i386/configure.in: Test for -mfma4 option.
20696 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20697 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20698 COMMON_CPUID_INDEX_80000001.
20699 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20700 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20701 use it if FMA3 is not supported.
20702 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20704 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20705 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20707 2011-10-20 Andreas Schwab <schwab@redhat.com>
20710 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20711 it would create a cycle with a link time dependency.
20713 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20715 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20717 * string/Makefile (strop-tests): Add rawmemchr.
20718 * string/test-rawmemchr.c: New file.
20720 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20721 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20722 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20723 when compiling str{,n}casecmp and when AVX is available. Hook up
20724 new optimized code in initializers.
20726 2011-10-19 Andreas Schwab <schwab@redhat.com>
20728 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20729 __feraiseexcept instead of feraiseexcept.
20731 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20733 * math/math_private.h: Define defaults for libc_fetestexcept and
20735 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20736 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20737 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20738 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20739 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20740 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20741 libc_fetestexcept and libc_feupdateenv.
20743 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20744 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20745 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20746 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20747 libc_feholdexcept_setround.
20749 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20750 Add s_nearbyint-c and s_nearbyintf-c.
20751 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20752 nearbyintf inlines.
20753 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20754 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20755 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20756 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20758 * math/math_private.h: Define defaults for libc_fegetround,
20759 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20760 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20761 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20763 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20764 standard functions.
20765 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20766 Remove comments and hacks for old compiler versions.
20767 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20768 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20769 libc_feholdexceptl.
20771 2011-10-18 Andreas Schwab <schwab@redhat.com>
20773 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20774 (__feraiseexcept_renamed): Add __NTH.
20775 (feraiseexcept): Add __NTH. Rename local variables to fix
20776 namespace violations.
20778 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20780 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20782 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20784 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20785 recently added interfaces.
20786 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20788 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20789 about macro parameter expansion.
20791 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20792 __NO_MATH_INLINES is defined. Cleanups.
20794 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20795 and __floorf is target has SSE4.1.
20796 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20797 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20798 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20799 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20801 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20803 (floorf): Likewise.
20805 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20807 2011-10-17 Andreas Schwab <schwab@redhat.com>
20809 * misc/sys/cdefs.h: Fix last change.
20811 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20814 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20816 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20818 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20819 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20820 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20824 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20826 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20827 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20828 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20829 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20830 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20831 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20832 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20833 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20834 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20835 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20836 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20837 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20838 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20839 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20841 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20842 ceil, ceilf, floor, floorf.
20844 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20845 Perform IRELATIVE relocations last.
20847 * elf/do-rel.h: Add another parameter nrelative, replacing the
20848 local variable with the same name. Change name of the function
20849 to end in Rel or Rela (uppercase).
20850 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20851 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20852 elf_dynamic_do_##reloc function.
20854 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20856 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20857 is sufficient, at least on modern CPUs.
20859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20861 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20862 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20864 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20866 * math/bits/math-finite.h: Add entries for exp.
20867 * math/e_expl.c: Add __*_finite alias.
20868 * sysdeps/i386/fpu/e_exp.S: Likewise.
20869 * sysdeps/i386/fpu/e_expf.S: Likewise.
20870 * sysdeps/i386/fpu/e_expl.c: Likewise.
20871 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20872 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20873 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20874 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20875 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20876 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20877 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20879 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20880 is sufficient, at least on modern CPUs.
20882 * ctype/ctype-info.c (__ctype_init): Define.
20883 * include/ctype.h (__ctype_init): Declare.
20884 (__ctype_b_loc): The variable is always initialized.
20885 (__ctype_toupper_loc): Likewise.
20886 (__ctype_tolower_loc): Likewise.
20887 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20888 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20890 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20892 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20894 * configure.in: Also look in $cxxmachine/include for C++ system
20897 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20899 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20900 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20901 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20902 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20903 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20904 (USE_AS_WMEMCMP): New macro.
20906 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20907 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20908 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20909 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20911 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20912 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20913 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20914 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20915 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20916 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20917 (USE_AS_WMEMCMP): New macro.
20918 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20919 * sysdeps/string/test-memcmp.c: Update.
20920 Fix simple_wmemcmp.
20922 * wcsmbs/wmemcmp.c: Update.
20923 (WMEMCMP): New macro.
20926 2011-10-12 Andreas Jaeger <aj@suse.de>
20929 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20931 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20933 * libio/iofwide.c (do_length): Avoid warning.
20935 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20937 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20939 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20941 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20942 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20943 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20944 * sysdeps/i386/i686/fpu/e_log.S: New file.
20945 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20946 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20948 * ctype/ctype.h: Add support for inlined isXXX functions when
20949 compiling C++ code.
20951 2011-10-14 Andreas Schwab <schwab@redhat.com>
20953 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20955 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20957 2011-10-13 Roland McGrath <roland@hack.frob.com>
20960 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20962 2011-10-13 Andreas Schwab <schwab@redhat.com>
20964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20965 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20968 * sysdeps/x86_64/memrchr.S: Check for zero size.
20970 * string/stratcliff.c: Add memrchr tests.
20972 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20975 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20976 rawmemchr-sse2 rawmemchr-sse2-bsf.
20977 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20978 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20979 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20980 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20981 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20982 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20983 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20984 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20985 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20986 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20987 * string/memrchr.c (MEMRCHR): New macro.
20989 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20991 Add integration with gcc's -ffinite-math-only and optimize wrapper
20993 * Versions.def: Define GLIBC_2.15 version for libm.
20994 * math/Makefile (headers): Add bits/math-finite.h.
20995 * math/bits/math-finite.h: New file.
20996 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20997 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20998 * math/e_acoshl.c: Add __*_finite alias.
20999 * math/e_acosl.c: Likewise.
21000 * math/e_asinl.c: Likewise.
21001 * math/e_atan2l.c: Likewise.
21002 * math/e_atanhl.c: Likewise.
21003 * math/e_coshl.c: Likewise.
21004 * math/e_exp10.c: Likewise.
21005 * math/e_exp10f.c: Likewise.
21006 * math/e_exp10l.c: Likewise.
21007 * math/e_exp2l.c: Likewise.
21008 * math/e_fmodl.c: Likewise.
21009 * math/e_gammal_r.c: Likewise.
21010 * math/e_hypotl.c: Likewise.
21011 * math/e_j0l.c: Likewise.
21012 * math/e_j1l.c: Likewise.
21013 * math/e_jnl.c: Likewise.
21014 * math/e_lgammal_r.c: Likewise.
21015 * math/e_log10l.c: Likewise.
21016 * math/e_log2l.c: Likewise.
21017 * math/e_logl.c: Likewise.
21018 * math/e_powl.c: Likewise.
21019 * math/e_sinhl.c: Likewise.
21020 * math/e_sqrtl.c: Likewise.
21021 * math/e_scalb.c: Completely rewritten and optimized.
21022 * math/e_scalbf.c: Likewise.
21023 * math/e_scalbl.c: Likewise.
21024 * math/w_acos.c: Likewise.
21025 * math/w_acosf.c: Likewise.
21026 * math/w_acosl.c: Likewise.
21027 * math/w_acosh.c: Likewise.
21028 * math/w_acoshf.c: Likewise.
21029 * math/w_acoshl.c: Likewise.
21030 * math/w_asin.c: Likewise.
21031 * math/w_asinf.c: Likewise.
21032 * math/w_asinl.c: Likewise.
21033 * math/w_atan2.c: Likewise.
21034 * math/w_atan2f.c: Likewise.
21035 * math/w_atan2l.c: Likewise.
21036 * math/w_atanh.c: Likewise.
21037 * math/w_atanhf.c: Likewise.
21038 * math/w_atanhl.c: Likewise.
21039 * math/w_exp10.c: Likewise.
21040 * math/w_exp10f.c: Likewise.
21041 * math/w_exp10l.c: Likewise.
21042 * math/w_fmod.c: Likewise.
21043 * math/w_fmodf.c: Likewise.
21044 * math/w_fmodl.c: Likewise.
21045 * math/w_j0.c: Likewise.
21046 * math/w_j0f.c: Likewise.
21047 * math/w_j0l.c: Likewise.
21048 * math/w_j1.c: Likewise.
21049 * math/w_j1f.c: Likewise.
21050 * math/w_j1l.c: Likewise.
21051 * math/w_jn.c: Likewise.
21052 * math/w_jnf.c: Likewise.
21053 * math/w_log.c: Likewise.
21054 * math/w_logf.c: Likewise.
21055 * math/w_logl.c: Likewise.
21056 * math/w_log10.c: Likewise.
21057 * math/w_log10f.c: Likewise.
21058 * math/w_log10l.c: Likewise.
21059 * math/w_log2.c: Likewise.
21060 * math/w_log2f.c: Likewise.
21061 * math/w_log2l.c: Likewise.
21062 * math/w_pow.c: Likewise.
21063 * math/w_powf.c: Likewise.
21064 * math/w_powl.c: Likewise.
21065 * math/w_remainder.c: Likewise.
21066 * math/w_remainderf.c: Likewise.
21067 * math/w_remainderl.c: Likewise.
21068 * math/w_scalb.c: Likewise.
21069 * math/w_scalbf.c: Likewise.
21070 * math/w_scalbl.c: Likewise.
21071 * math/w_sqrt.c: Likewise.
21072 * math/w_sqrtf.c: Likewise.
21073 * math/w_sqrtl.c: Likewise.
21074 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21075 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21077 * math/math_private.h: Declare __kernel_standard_f.
21078 * math/w_cosh.c: Remove cruft and optimize a bit.
21079 * math/w_coshf.c: Likewise.
21080 * math/w_coshl.c: Likewise.
21081 * math/w_exp2.c: Likewise.
21082 * math/w_exp2f.c: Likewise.
21083 * math/w_exp2l.c: Likewise.
21084 * math/w_hypot.c: Likewise.
21085 * math/w_hypotf.c: Likewise.
21086 * math/w_hypotl.c: Likewise.
21087 * math/w_lgamma.c: Likewise.
21088 * math/w_lgamma_r.c: Likewise.
21089 * math/w_lgammaf.c: Likewise.
21090 * math/w_lgammaf_r.c: Likewise.
21091 * math/w_lgammal.c: Likewise.
21092 * math/w_lgammal_r.c: Likewise.
21093 * math/w_sinh.c: Likewise.
21094 * math/w_sinhf.c: Likewise.
21095 * math/w_sinhl.c: Likewise.
21096 * math/w_tgamma.c: Likewise.
21097 * math/w_tgammaf.c: Likewise.
21098 * math/w_tgammal.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21101 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21102 Minor optimizations. Pretty printing. Remove cruft.
21103 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21104 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21105 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21106 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21107 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21108 * sysdeps/i386/fpu/e_asin.S: Likewise.
21109 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21110 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21111 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21112 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21113 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21114 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21115 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21116 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21117 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21118 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21119 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21120 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21121 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21122 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21123 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21124 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21125 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21126 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21127 * sysdeps/i386/fpu/e_log.S: Likewise.
21128 * sysdeps/i386/fpu/e_log10.S: Likewise.
21129 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21130 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21131 * sysdeps/i386/fpu/e_log2.S: Likewise.
21132 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21133 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21134 * sysdeps/i386/fpu/e_logf.S: Likewise.
21135 * sysdeps/i386/fpu/e_logl.S: Likewise.
21136 * sysdeps/i386/fpu/e_pow.S: Likewise.
21137 * sysdeps/i386/fpu/e_powf.S: Likewise.
21138 * sysdeps/i386/fpu/e_powl.S: Likewise.
21139 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21140 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21141 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21143 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21144 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21145 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21146 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21147 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21151 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21152 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21153 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21154 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21156 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21157 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21169 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21170 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21171 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21172 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21173 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21174 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21175 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21176 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21177 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21178 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21179 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21181 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21182 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21183 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21184 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21185 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21186 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21187 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21188 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21189 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21190 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21191 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21192 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21193 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21194 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21195 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21196 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21228 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21231 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21233 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21234 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21236 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21239 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21240 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21241 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21242 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21243 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21244 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21245 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21246 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21247 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21248 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21249 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21250 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21251 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21252 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21253 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21254 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21255 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21256 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21257 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21258 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21259 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21260 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21261 (__isnanf): Likewise.
21262 (__isinf_ns): Likewise.
21263 (__isinf_nsf): Likewise.
21264 (__finite): Likewise.
21265 (__finitef): Likewise.
21266 (__ieee754_sqrt): Define as macro.
21267 (__ieee754_sqrtf): Define as macro.
21268 (__ieee754_sqrtl): Define as macro.
21269 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21271 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21272 __FINITE_MATH_ONLY__ consistent.
21273 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21275 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21277 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21280 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21282 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21284 * po/ja.po: Update from translation team.
21286 2011-10-08 Roland McGrath <roland@hack.frob.com>
21288 * locale/programs/locarchive.c (prepare_address_space): New function.
21289 (create_archive, enlarge_archive, open_archive): Use it.
21291 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21292 inside [SHARED], where it is used.
21294 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21296 * nss/getent.c (netgroup_keys): Remove unused variable.
21297 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21299 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21301 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21302 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21303 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21304 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21305 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21306 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21307 * math/Makefile (libm-calls): Add s_isinf_ns.
21308 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21309 * math/multc3.c: Likewise.
21310 * math/s_casin.c: Likewise.
21311 * math/s_casinf.c: Likewise.
21312 * math/s_casinl.c: Likewise.
21313 * math/s_ccos.c: Likewise.
21314 * math/s_ccosf.c: Likewise.
21315 * math/s_ccosl.c: Likewise.
21316 * math/s_ctan.c: Likewise.
21317 * math/s_ctanf.c: Likewise.
21318 * math/s_ctanh.c: Likewise.
21319 * math/s_ctanhf.c: Likewise.
21320 * math/s_ctanhl.c: Likewise.
21321 * math/s_ctanl.c: Likewise.
21322 * math/w_fmod.c: Likewise.
21323 * math/w_fmodf.c: Likewise.
21324 * math/w_fmodl.c: Likewise.
21325 * math/w_remainder.c: Likewise.
21326 * math/w_remainderf.c: Likewise.
21327 * math/w_remainderl.c: Likewise.
21328 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21329 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21330 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21332 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21333 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21334 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21335 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21337 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21339 * stdio-common/printf_fphex.c: Likewise.
21340 * stdio-common/printf_size.c: Likewise.
21342 * math/e_exp10.c: Include math_private.h using <...> not "...".
21343 * math/e_exp10f.c: Likewise.
21344 * math/e_exp10l.c: Likewise.
21345 * math/e_exp2l.c: Likewise.
21346 * math/e_j0l.c: Likewise.
21347 * math/e_j1l.c: Likewise.
21348 * math/e_jnl.c: Likewise.
21349 * math/e_lgammal_r.c: Likewise.
21350 * math/e_rem_pio2l.c: Likewise.
21351 * math/e_scalb.c: Likewise.
21352 * math/e_scalbf.c: Likewise.
21353 * math/e_scalbl.c: Likewise.
21354 * math/k_cosl.c: Likewise.
21355 * math/k_sinl.c: Likewise.
21356 * math/k_tanl.c: Likewise.
21357 * math/s_cacoshf.c: Likewise.
21358 * math/s_catan.c: Likewise.
21359 * math/s_catanf.c: Likewise.
21360 * math/s_catanh.c: Likewise.
21361 * math/s_catanhf.c: Likewise.
21362 * math/s_catanhl.c: Likewise.
21363 * math/s_catanl.c: Likewise.
21364 * math/s_ccosh.c: Likewise.
21365 * math/s_ccoshf.c: Likewise.
21366 * math/s_ccoshl.c: Likewise.
21367 * math/s_cexp.c: Likewise.
21368 * math/s_cexpf.c: Likewise.
21369 * math/s_cexpl.c: Likewise.
21370 * math/s_clog.c: Likewise.
21371 * math/s_clog10.c: Likewise.
21372 * math/s_clog10f.c: Likewise.
21373 * math/s_clog10l.c: Likewise.
21374 * math/s_clogf.c: Likewise.
21375 * math/s_clogl.c: Likewise.
21376 * math/s_csin.c: Likewise.
21377 * math/s_csinf.c: Likewise.
21378 * math/s_csinh.c: Likewise.
21379 * math/s_csinhf.c: Likewise.
21380 * math/s_csinhl.c: Likewise.
21381 * math/s_csinl.c: Likewise.
21382 * math/s_csqrt.c: Likewise.
21383 * math/s_csqrtf.c: Likewise.
21384 * math/s_csqrtl.c: Likewise.
21385 * math/s_ctan.c: Likewise.
21386 * math/s_ctanf.c: Likewise.
21387 * math/s_ctanh.c: Likewise.
21388 * math/s_ctanhf.c: Likewise.
21389 * math/s_ctanhl.c: Likewise.
21390 * math/s_ctanl.c: Likewise.
21391 * math/s_ldexp.c: Likewise.
21392 * math/s_ldexpf.c: Likewise.
21393 * math/s_ldexpl.c: Likewise.
21394 * math/s_significand.c: Likewise.
21395 * math/s_significandf.c: Likewise.
21396 * math/s_significandl.c: Likewise.
21397 * math/w_acos.c: Likewise.
21398 * math/w_acosf.c: Likewise.
21399 * math/w_acosh.c: Likewise.
21400 * math/w_acoshf.c: Likewise.
21401 * math/w_acoshl.c: Likewise.
21402 * math/w_acosl.c: Likewise.
21403 * math/w_asin.c: Likewise.
21404 * math/w_asinf.c: Likewise.
21405 * math/w_asinl.c: Likewise.
21406 * math/w_atan2.c: Likewise.
21407 * math/w_atan2f.c: Likewise.
21408 * math/w_atan2l.c: Likewise.
21409 * math/w_atanh.c: Likewise.
21410 * math/w_atanhf.c: Likewise.
21411 * math/w_atanhl.c: Likewise.
21412 * math/w_cosh.c: Likewise.
21413 * math/w_coshf.c: Likewise.
21414 * math/w_coshl.c: Likewise.
21415 * math/w_dremf.c: Likewise.
21416 * math/w_exp10.c: Likewise.
21417 * math/w_exp10f.c: Likewise.
21418 * math/w_exp10l.c: Likewise.
21419 * math/w_exp2.c: Likewise.
21420 * math/w_exp2f.c: Likewise.
21421 * math/w_fmod.c: Likewise.
21422 * math/w_fmodf.c: Likewise.
21423 * math/w_fmodl.c: Likewise.
21424 * math/w_hypot.c: Likewise.
21425 * math/w_hypotf.c: Likewise.
21426 * math/w_hypotl.c: Likewise.
21427 * math/w_j0.c: Likewise.
21428 * math/w_j0f.c: Likewise.
21429 * math/w_j0l.c: Likewise.
21430 * math/w_j1.c: Likewise.
21431 * math/w_j1f.c: Likewise.
21432 * math/w_j1l.c: Likewise.
21433 * math/w_jn.c: Likewise.
21434 * math/w_jnf.c: Likewise.
21435 * math/w_jnl.c: Likewise.
21436 * math/w_lgamma.c: Likewise.
21437 * math/w_lgamma_r.c: Likewise.
21438 * math/w_lgammaf.c: Likewise.
21439 * math/w_lgammaf_r.c: Likewise.
21440 * math/w_lgammal.c: Likewise.
21441 * math/w_lgammal_r.c: Likewise.
21442 * math/w_log.c: Likewise.
21443 * math/w_log10.c: Likewise.
21444 * math/w_log10f.c: Likewise.
21445 * math/w_log10l.c: Likewise.
21446 * math/w_log2.c: Likewise.
21447 * math/w_log2f.c: Likewise.
21448 * math/w_log2l.c: Likewise.
21449 * math/w_logf.c: Likewise.
21450 * math/w_logl.c: Likewise.
21451 * math/w_pow.c: Likewise.
21452 * math/w_powf.c: Likewise.
21453 * math/w_powl.c: Likewise.
21454 * math/w_remainder.c: Likewise.
21455 * math/w_remainderf.c: Likewise.
21456 * math/w_remainderl.c: Likewise.
21457 * math/w_scalb.c: Likewise.
21458 * math/w_scalbf.c: Likewise.
21459 * math/w_scalbl.c: Likewise.
21460 * math/w_sinh.c: Likewise.
21461 * math/w_sinhf.c: Likewise.
21462 * math/w_sinhl.c: Likewise.
21463 * math/w_sqrt.c: Likewise.
21464 * math/w_sqrtf.c: Likewise.
21465 * math/w_sqrtl.c: Likewise.
21466 * math/w_tgamma.c: Likewise.
21467 * math/w_tgammaf.c: Likewise.
21468 * math/w_tgammal.c: Likewise.
21470 * po/ja.po: Update from translation team.
21472 2011-09-29 Andreas Jaeger <aj@suse.de>
21475 * sunrpc/netname.c (netname2host): Fix logic.
21479 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21481 * math/w_remainder.c (__remainder): Likewise.
21482 * math/w_remainderf.c (__remainderf): Likewise.
21483 * math/libm-test.inc (remainder_test): Add test cases.
21485 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21487 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21490 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21492 * string/test-memcmp.c: Avoid unncessary #defines.
21493 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21495 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21497 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21498 Use new sse2 version for core i3 - i7 as it's faster
21499 than sse42 version.
21500 (bit_Prefer_PMINUB_for_stringop): New.
21501 * sysdeps/x86_64/rawmemchr.S: Update.
21502 Replace with faster SSE2 version.
21503 * sysdeps/x86_64/memrchr.S: New file.
21504 * sysdeps/x86_64/memchr.S: Update.
21505 Replace with faster SSE2 version.
21507 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21509 * elf/dl-load.c (lose): Add cast to avoid warning.
21511 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21513 * po/ca.po: Update from translation team.
21515 * inet/getnetgrent_r.c: Hook up nscd.
21516 * nscd/Makefile (routines): Add nscd_netgroup.
21517 (nscd-modules): Add netgroupcache.
21518 (CFLAGS-netgroupcache.c): Define.
21519 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21520 (cache_search): Add const to second parameter.
21521 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21523 (dbs): Add netgrdb entry.
21524 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21525 (verify_persistent_db): Handle netgrdb.
21526 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21527 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21529 (netgroup_response_header): Define.
21530 (innetgroup_response_header): Define.
21531 (datahead): Add netgroup_response_header and innetgroup_response_header
21533 * nscd/nscd.conf: Add entries for netgroup cache.
21534 * nscd/nscd.h (dbtype): Add netgrdb.
21535 (_PATH_NSCD_NETGROUP_DB): Define.
21536 (netgroup_iov_disabled): Declare.
21537 (xmalloc, xcalloc, xrealloc): Move declarations here.
21538 (cache_search): Adjust prototype.
21539 Add netgroup-related prototypes.
21540 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21541 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21542 (__nscd_innetgr): Declare.
21543 * nscd/selinux.c (perms): Use access_vector_t as element type and
21544 add netgroup-related initializers.
21545 * nscd/netgroupcache.c: New file.
21546 * nscd/nscd_netgroup.c: New file.
21547 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21548 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21549 For four parameters use innetgr.
21550 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21551 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21552 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21553 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21555 * nscd/connections.c (register_traced_file): Don't register file
21556 for disabled databases.
21558 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21560 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21562 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21563 from tree and freeing node.
21565 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21567 * nss/nsswitch.c (__nss_database_lookup): Handle
21568 nss_parse_service_list out of memory case.
21570 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21572 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21573 out of memory case.
21575 2011-10-04 Andreas Schwab <schwab@redhat.com>
21577 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21578 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21580 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21581 elf_machine_rela, elf_machine_lazy_rel.
21582 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21583 (ELF_DYNAMIC_DO_REL): Likewise.
21584 (ELF_DYNAMIC_DO_RELA): Likewise.
21585 (ELF_DYNAMIC_RELOCATE): Likewise.
21586 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21587 to ELF_DYNAMIC_DO_REL.
21588 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21589 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21590 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21592 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21593 skip_ifunc, don't call ifunc function if non-zero.
21594 (elf_machine_rela): Likewise.
21595 (elf_machine_lazy_rel): Likewise.
21596 (elf_machine_lazy_rela): Likewise.
21597 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21598 (elf_machine_lazy_rel): Likewise.
21599 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21601 (elf_machine_lazy_rel): Likewise.
21602 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21604 (elf_machine_lazy_rel): Likewise.
21605 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21606 (elf_machine_lazy_rel): Likewise.
21607 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21608 (elf_machine_lazy_rel): Likewise.
21609 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21610 (elf_machine_lazy_rel): Likewise.
21611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21612 (elf_machine_lazy_rel): Likewise.
21613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21614 (elf_machine_lazy_rel): Likewise.
21615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21616 (elf_machine_lazy_rel): Likewise.
21618 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21620 * nss/nss_files/files-init.c (_nss_files_init): Use static
21621 initialization for all the *_traced_file variables.
21623 2011-09-28 Andreas Schwab <schwab@redhat.com>
21625 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21627 2011-09-27 Roland McGrath <roland@hack.frob.com>
21630 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21632 2011-09-27 Andreas Schwab <schwab@redhat.com>
21634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21635 Reread the line before reparsing it.
21637 2011-09-26 Andreas Schwab <schwab@redhat.com>
21639 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21641 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21642 Maxim Kuvyrkov <maxim@codesourcery.com>
21643 Joseph Myers <joseph@codesourcery.com>
21645 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21646 if needed for __stack_chk_guard.
21648 2011-09-19 Roland McGrath <roland@hack.frob.com>
21650 * sysdeps/posix/spawni.c (script_execute): Always define it.
21651 It will be optimized away if unused.
21652 (maybe_script_execute): New function.
21653 (__spawni): Call it.
21655 * Makerules: Don't include tls.make.
21656 (config-tls): Always set to thread.
21657 * tls.make.c: File removed.
21659 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21661 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21662 * config.make.in (CPPFLAGS-config): New substituted variable.
21664 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21666 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21669 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21670 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21672 2011-09-15 Roland McGrath <roland@hack.frob.com>
21674 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21675 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21677 (CALL_FAIL): Likewise.
21678 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21679 (CALL_FAIL): Macro removed.
21680 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21682 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21684 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21685 for __FINITE_MATH_ONLY__ == 1.
21687 2011-09-15 Andreas Schwab <schwab@redhat.com>
21689 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21690 __ieee754_sqrt instead of sqrt.
21691 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21692 __ieee754_sqrtf instead of sqrtf.
21693 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21694 __floorf instead of floorf.
21695 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21696 __floorf, __truncf instead of floorf, truncf.
21698 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21700 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21702 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21703 __extern_always_inline.
21704 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21707 2011-09-14 Andreas Schwab <schwab@redhat.com>
21709 * elf/rtld.c (dl_main): Also relocate in dependency order when
21710 doing symbol dependency testing.
21712 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21715 Always define `refsym'.
21717 2011-09-13 Andreas Schwab <schwab@redhat.com>
21719 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21720 (__FD_ELT): Renamed from __FDELT.
21721 * misc/bits/select2.h (__FD_ELT): Likewise.
21722 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21723 __FD_MASK instead of __FDELT, __FDMASK.
21724 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21726 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21729 * elf/Makefile (gen-ldd): Fix pattern.
21731 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21732 (init_tls): Likewise.
21734 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21738 2011-09-12 Andreas Schwab <schwab@redhat.com>
21740 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21741 `struct cmsghdr *' instead of `void *'.
21742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21745 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21747 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21749 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21750 ldd_rewrite_script.
21752 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21754 * configure.in: Remove --with-tls option.
21755 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21756 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21757 out in case it is missing.
21758 * sysdeps/ia64/elf/configure.in: Likewise.
21759 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21760 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21761 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21762 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21763 * sysdeps/sh/elf/configure.in: Likewise.
21764 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21765 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21766 * sysdeps/x86_64/elf/configure.in: Likewise.
21767 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21768 * sysdeps/mach/hurd/tls.h: Likewise.
21771 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21774 * configure.in: Fix use of AC_INIT.
21776 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21778 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21780 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21782 * malloc/hooks.c: Likewise.
21785 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21786 variables statically.
21787 (narenas): Initialize.
21788 (list_lock): Initialize.
21789 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21790 initializtion of main_arena and list_lock. Small cleanups.
21791 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21792 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21793 Add initializers to main_arena and mp_.
21794 (malloc_state): Remove pagesize member. Change all users to use
21797 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21798 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21799 is always initialized.
21801 * malloc/malloc.c: Removed unused configurations and dead code.
21802 * malloc/arena.c: Likewise.
21803 * malloc/hooks.c: Likewise.
21804 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21806 * include/tls.h: Removed. USE___THREAD must always be defined.
21807 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21808 * elf/dl-libc.c: Likewise.
21809 * elf/dl-tsd.c: Likewise.
21810 * include/errno.h: Likewise.
21811 * include/netdb.h: Likewise.
21812 * include/resolv.h: Likewise.
21813 * inet/herrno-loc.c: Likewise.
21814 * inet/herrno.c: Likewise.
21815 * malloc/arena.c: Likewise.
21816 * malloc/hooks.c: Likewise.
21817 * malloc/malloc.c: Likewise.
21818 * resolv/res-state.c: Likewise.
21819 * resolv/res_libc.c: Likewise.
21820 * sysdeps/i386/dl-machine.h: Likewise.
21821 * sysdeps/ia64/dl-machine.h: Likewise.
21822 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21823 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21824 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21825 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21826 * sysdeps/sh/dl-machine.h: Likewise.
21827 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21828 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21829 * sysdeps/unix/i386/sysdep.S: Likewise.
21830 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21831 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21832 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21833 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21835 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21836 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21840 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21841 * sysdeps/x86_64/dl-machine.h: Likewise.
21842 * tls.make.c: Likewise.
21844 * configure.in: Remove --with-__thread option. Make tests for
21845 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21846 tls_model attribute fail if no support is available. Remove
21848 * Makeconfig: Adjust for dropped configure option. All features are
21850 * Makerules: Likewise.
21851 * Versions.def: Likewise.
21852 * argp/argp-fmtstream.c: Likewise.
21853 * argp/argp-fmtstream.h: Likewise.
21854 * argp/argp-help.c: Likewise.
21855 * assert/assert.c: Likewise.
21856 * config.h.in: Likewise.
21857 * config.make.in: Likewise.
21858 * configure: Likewise.
21859 * configure.in: Likewise.
21860 * csu/Versions: Likewise.
21861 * csu/init.c: Likewise.
21862 * elf/tst-audit2.c: Likewise.
21863 * elf/tst-tls10.c: Likewise.
21864 * elf/tst-tls10.h: Likewise.
21865 * elf/tst-tls11.c: Likewise.
21866 * elf/tst-tls12.c: Likewise.
21867 * elf/tst-tls14.c: Likewise.
21868 * elf/tst-tlsmod11.c: Likewise.
21869 * elf/tst-tlsmod12.c: Likewise.
21870 * elf/tst-tlsmod13.c: Likewise.
21871 * elf/tst-tlsmod13a.c: Likewise.
21872 * elf/tst-tlsmod14a.c: Likewise.
21873 * elf/tst-tlsmod15b.c: Likewise.
21874 * elf/tst-tlsmod16a.c: Likewise.
21875 * elf/tst-tlsmod16b.c: Likewise.
21876 * elf/tst-tlsmod7.c: Likewise.
21877 * elf/tst-tlsmod8.c: Likewise.
21878 * elf/tst-tlsmod9.c: Likewise.
21879 * gmon/gmon.c: Likewise.
21880 * grp/fgetgrent_r.c: Likewise.
21881 * grp/putgrent.c: Likewise.
21882 * hurd/fopenport.c: Likewise.
21883 * include/libc-symbols.h: Likewise.
21884 * include/tls.h: Likewise.
21885 * intl/gettextP.h: Likewise.
21886 * intl/loadinfo.h: Likewise.
21887 * locale/global-locale.c: Likewise.
21888 * locale/localeinfo.h: Likewise.
21889 * mach/devstream.c: Likewise.
21890 * malloc/arena.c: Likewise.
21891 * malloc/set-freeres.c: Likewise.
21892 * misc/err.c: Likewise.
21893 * misc/getttyent.c: Likewise.
21894 * misc/mntent_r.c: Likewise.
21895 * posix/getopt.c: Likewise.
21896 * posix/wordexp.c: Likewise.
21897 * pwd/fgetpwent_r.c: Likewise.
21898 * resolv/Versions: Likewise.
21899 * resolv/res_hconf.c: Likewise.
21900 * shadow/fgetspent_r.c: Likewise.
21901 * shadow/putspent.c: Likewise.
21902 * stdio-common/printf_fphex.c: Likewise.
21903 * stdio-common/tmpfile.c: Likewise.
21904 * stdlib/abort.c: Likewise.
21905 * stdlib/fmtmsg.c: Likewise.
21906 * sunrpc/auth_unix.c: Likewise.
21907 * sunrpc/clnt_perr.c: Likewise.
21908 * sunrpc/clnt_tcp.c: Likewise.
21909 * sunrpc/clnt_udp.c: Likewise.
21910 * sunrpc/clnt_unix.c: Likewise.
21911 * sunrpc/openchild.c: Likewise.
21912 * sunrpc/svc_simple.c: Likewise.
21913 * sunrpc/svc_tcp.c: Likewise.
21914 * sunrpc/svc_udp.c: Likewise.
21915 * sunrpc/svc_unix.c: Likewise.
21916 * sunrpc/xdr.c: Likewise.
21917 * sunrpc/xdr_array.c: Likewise.
21918 * sunrpc/xdr_rec.c: Likewise.
21919 * sunrpc/xdr_ref.c: Likewise.
21920 * sunrpc/xdr_stdio.c: Likewise.
21922 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21924 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21926 2011-07-03 Andreas Jaeger <aj@suse.de>
21928 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21929 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21930 regenerate with gen-libm-tests.pl.
21932 2010-05-12 Petr Baudis <pasky@suse.cz>
21935 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21936 around j0() zero points by switching to j1().
21937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21938 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21940 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21942 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21944 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21946 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21949 Patch in part by Pavel Roskin <proski@gnu.org>.
21952 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21954 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21955 Free memory block if necessary.
21958 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21959 be NULL. Don't lock in this case.
21961 2011-09-09 Roland McGrath <roland@hack.frob.com>
21963 * elf/elf.h (ELFOSABI_GNU): New macro.
21964 (ELFOSABI_LINUX): Define to that.
21966 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21968 * string/strncat.c (strncat): Undef the symbol in case it has been
21969 defined in bits/string.h.
21971 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21973 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21975 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21978 2011-08-17 Andreas Jaeger <aj@suse.de>
21980 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21982 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21983 Ian Lance Taylor <iant@google.com>
21985 * math/libm-test.inc (lround_test): New testcase.
21986 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21988 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21990 * Makefile: Remove support for automatic cvs check-ins.
21991 * Makerules: Likewise.
21992 * config.make.in: Likewise.
21993 * configure.in: Likewise.
21994 * intl/Makefile: Likewise.
21995 * locale/Makefile: Likewise.
21996 * po/Makefile: Likewise.
21997 * posix/Makefile: Likewise.
21998 * sysdeps/gnu/Makefile: Likewise.
21999 * sysdeps/mach/hurd/Makefile: Likewise.
22000 * sysdeps/sparc/sparc32/Makefile: Likewise.
22003 * posix/Makefile (bug-regex32-ENV): Define.
22004 Patch by John Stanley <jpsinthemix@verizon.net>.
22006 * misc/Makefile (headers): Add bits/select2.h.
22007 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22008 * misc/bits/select2.h: New file.
22009 * include/bits/select2.h: New file.
22010 * debug/Makefile (routines): Add fdelt_chk.
22011 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22012 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22014 * debug/fdelt_chk.c: New file.
22016 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22017 * wcsmbs/test-wmemcmp.c: Likewise.
22018 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22019 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22021 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22023 * string/Makefile (strop-tests): Add memcmp.
22024 * string/test-wmemcmp.c: New file.
22025 * string/test-memcmp.c: Add wmemcmp support.
22027 2011-09-08 Roland McGrath <roland@hack.frob.com>
22030 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22033 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22034 garbage value in a __mach_port_mod_refs call in the cases of the
22035 task-self and thread-self ports.
22037 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22039 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22041 2011-09-08 Andreas Schwab <schwab@redhat.com>
22043 * elf/dl-load.c (lose): Check for non-null L.
22045 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22047 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22049 * elf/dl-libc.c (dlerror_run): Pass back error code from
22053 * elf/dl-load.c (lose): Free l_origin if it is valid.
22055 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22057 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22058 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22060 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22061 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22062 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22064 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22066 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22067 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22068 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22069 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22070 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22071 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22072 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22073 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22074 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22075 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22077 2011-08-15 Alan Modra <amodra@gmail.com>
22080 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22081 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22082 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22083 ppc_mcount to static-only-routines.
22084 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22086 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22087 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22089 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22091 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22092 for finite and infinity parameters.
22094 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22097 and add nop instructions for throughput optimization.
22098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22100 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22102 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22103 aligned copy for power7 with vector-scalar instructions.
22104 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22106 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22108 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22111 2011-09-07 Andreas Schwab <schwab@redhat.com>
22114 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22117 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22119 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22120 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22121 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22122 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22125 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22128 Forgot to demangle the pointer.
22130 * sysdeps/i386/sysdep.h: Define atom_text_section.
22131 * sysdeps/x86_64/sysdep.h: Likewise.
22132 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22133 section with atom_text_section.
22134 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22135 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22136 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22138 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22140 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22142 already be defined. Change to take two parameters and don't assign
22143 result to variable. Adjust all users.
22144 Define INTERNAL_GETTIME if not already defined.
22145 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22148 HAVE_CLOCK_GETTIME_VSYSCALL.
22149 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22152 gettimeofday vsyscall, just use time.
22154 2011-09-06 Andreas Schwab <schwab@redhat.com>
22156 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22159 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22161 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22165 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22167 syscall if possible.
22169 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22171 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22172 e_ident. Don't pass to find_mapsXX.
22173 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22175 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22178 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22179 * sysdeps/x86_64/multiarch/strchr.S: Update.
22180 Check bit_slow_BSF bit.
22181 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22182 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22183 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22185 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22188 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22190 (tryshell): Define.
22191 (__spawni): Change last parameter to be flag. Test
22192 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22193 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22194 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22195 * posix/spawni.c: Likewise.
22196 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22197 * posix/spawnp.c: Likewise. Change normal version to use
22198 SPAWN_XFLAGS_USE_PATH.
22199 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22200 SPAWN_XFLAGS_TRY_SHELL.
22203 * posix/glob.h: Remove gcc 1.x support.
22206 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22208 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22211 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22213 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22214 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22215 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22216 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22217 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22218 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22220 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22222 * sysdeps/x86_64/wcscmp.S: New file.
22224 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22225 wcscmp-c wcscmp-sse2
22226 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22227 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22228 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22229 * wcsmbs/wcscmp.c: Allow renaming.
22231 2011-09-05 David S. Miller <davem@davemloft.net>
22233 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22234 stack slot, rather than the struct return pointer slot.
22235 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22236 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22238 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22240 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22242 * po/ja.po: Update from translation team.
22245 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22246 kernel in 64-bit binaries.
22248 2011-09-01 David S. Miller <davem@davemloft.net>
22250 * elf/elf.h (HWCAP_SPARC_*): Move to..
22251 * sysdeps/sparc/sysdep.h: this new file and add new values.
22252 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22253 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22254 _DL_HWCAP_COUNT to 24.
22255 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22257 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22258 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22259 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22261 instead of magic constants.
22262 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22264 2011-08-31 David S. Miller <davem@davemloft.net>
22266 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22267 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22268 Reimplement to do errno handling inline.
22269 (SYSCALL_ERROR_HANDLER): New macro.
22270 (__SYSCALL_STRING): Do not do errno handling in asm.
22271 (__CLONE_SYSCALL_STRING): Delete.
22272 (__INTERNAL_SYSCALL_STRING): Delete.
22273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22274 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22275 (PSEUDO): Reimplement to do errno handling inline.
22276 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22277 (SYSCALL_ERROR_HANDLER): New macro.
22278 (__SYSCALL_STRING): Do not do errno handling in asm.
22279 (__CLONE_SYSCALL_STRING): Delete.
22280 (__INTERNAL_SYSCALL_STRING): Delete.
22281 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22282 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22284 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22285 (inline_syscall*): Add 'err' argument.
22286 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22287 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22288 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22289 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22291 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22292 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22294 2011-08-30 Andreas Schwab <schwab@redhat.com>
22296 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22298 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22300 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22303 2011-08-24 David S. Miller <davem@davemloft.net>
22305 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22307 2011-08-24 Andreas Schwab <schwab@redhat.com>
22309 * elf/Makefile: Add rules to build and run unload8 test.
22310 * elf/unload8.c: New file.
22311 * elf/unload8mod1.c: New file.
22312 * elf/unload8mod1x.c: New file.
22313 * elf/unload8mod2.c: New file.
22314 * elf/unload8mod3.c: New file.
22316 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22319 2011-08-23 David S. Miller <davem@davemloft.net>
22321 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22322 subtract stack bias.
22323 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22324 %sp not %fp in calculations.
22325 (_JMPBUF_UNWINDS_ADJ): Likewise.
22327 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22328 (aio_suspend): Call it to force an exception region around the
22329 AIO_MISC_WAIT() invocation.
22331 2011-08-23 Andreas Schwab <schwab@redhat.com>
22333 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22336 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22338 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22340 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22341 and <dl-machine.h>.
22342 (Elf64_FuncDesc): Remove.
22344 2011-08-22 David S. Miller <davem@davemloft.net>
22346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22347 sigaltstack check, add missing cfi directives.
22348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22349 missing cfi directives, and sigaltstack handling.
22351 2011-08-16 Andreas Schwab <schwab@redhat.com>
22354 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22355 object is seen twice.
22356 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22358 * elf/Makefile (distribute): Add tst-initorder2.c.
22359 (tests): Add tst-initorder2.
22360 (modules-names): Add tst-initorder2a tst-initorder2b
22361 tst-initorder2c tst-initorder2d. Add rules to build them.
22362 ($(objpfx)tst-initorder2.out): New rule.
22363 * elf/tst-initorder2.c: New file.
22364 * elf/tst-initorder2.exp: New file.
22366 2011-08-22 Andreas Schwab <schwab@redhat.com>
22368 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22370 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22371 dependencies back to end of function.
22373 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22374 $(elfobjdir)/ld.so.
22376 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22379 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22380 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22381 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22382 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22383 of __vdso_gettimeofday.
22384 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22385 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22387 (_libc_vdso_platform_setup): Remove initialization of
22388 __vdso_gettimeofday and __vdso_time.
22390 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22392 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22393 and fgetc_unlocked.
22394 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22397 * elf/dl-open.c (add_to_global): Report additions to the global scope
22398 for LD_DEBUG=scopes.
22399 (dl_open_worker): Also print scope of newly loaded dependencies.
22400 (_dl_show_scope): Indicate if there is no scope.
22403 * stdio-common/Makefile (tests): Add bug24.
22404 * stdio-common/bug24.c: New file.
22406 2011-08-19 Andreas Jaeger <aj@suse.de>
22409 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22410 non-existant file when using close-on-exec mode.
22412 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22415 the very first instruction.
22417 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22418 the CFI state in the end.
22419 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22420 inclusion of dl-trampoline.h.
22421 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22423 2011-08-19 Andreas Schwab <schwab@redhat.com>
22425 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22426 expectations for long double.
22428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22429 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22431 2011-08-14 David S. Miller <davem@davemloft.net>
22433 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22434 artificual limit depends upon the system page size.
22436 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22438 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22439 * resolv/Makefile: Define CFLAGS-libresolv.
22441 2011-08-17 Andreas Schwab <schwab@redhat.com>
22443 * nss/makedb.c (compute_tables): Make variables used in nested
22446 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22448 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22449 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22450 if buffer was too small.
22452 * elf/pldd.c (main): Attach to all threads in the process.
22453 Rewrite /proc handling to use *at functions.
22455 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22457 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22458 specifies first scope to show.
22459 (dl_open_worker): Update callers. Move printing scope of new
22460 object to before the relocation.
22461 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22462 * sysdeps/generic/ldsodefs.h: Update declaration.
22464 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22465 string for the scope number.
22467 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22469 * nscd/servicescache.c (cache_addserv): Make sure written is always
22472 2011-08-14 Roland McGrath <roland@hack.frob.com>
22474 * sysdeps/i386/i486/bits/atomic.h
22475 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22476 statement expression, so as to suppress "set but not used" warning.
22477 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22479 * string/strncat.c (STRNCAT): Use prototype definition.
22481 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22482 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22484 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22485 (localedef-modules): Add localedef.
22486 (locale-modules): Add locale.
22488 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22489 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22490 to avoid a warning.
22492 2011-08-14 David S. Miller <davem@davemloft.net>
22494 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22495 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22497 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22499 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22500 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22501 * elf/rtld.c (dl_main): Set l_name of vDSO.
22502 Call _dl_show_scope when DL_DEBUG_SCOPES.
22503 (process_dl_debug): Recognize scopes flag and also set it for all.
22504 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22505 Declare _dl_show_scope.
22507 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22508 (do_dlopen): Pass caller_dlopen to dl_open.
22509 (__libc_dlopen_mode): Initialize caller_dlopen.
22511 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22512 of libc. Make tolower call locale-independent. Optimize a bit by
22513 using isdigit instead of isalnum.
22514 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22516 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22518 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22519 was a dependency or dynamically loaded.
22521 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22523 * intl/l10nflist.c: Allow architecture-specific pop function.
22524 * sysdeps/x86_64/l10nflist.c: New file.
22526 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22529 2011-08-10 Andreas Schwab <schwab@redhat.com>
22531 * include/dirent.h: Add libc_hidden_proto for scandirat and
22532 scandirat64. Don't declare __scandirat64.
22533 * dirent/scandirat.c: Add libc_hidden_def.
22534 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22535 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22537 2011-08-10 David S. Miller <davem@davemloft.net>
22539 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22541 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22542 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22543 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22545 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22547 * Versions.def [libc]: Add GLIBC_2.15.
22548 * dirent/Makefile (routines): Add scandirat and scandirat64.
22549 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22551 * dirent/dirent.h: Declare scandirat and scandirat64.
22552 * dirent/scandirat.c: New file.
22553 * dirent/scandirat64.c: New file.
22554 * sysdeps/wordsize-64/scandirat.c: New file.
22555 * sysdeps/wordsize-64/scandirat64.c: New file.
22556 * dirent/opendir.c: Define opendirat.
22557 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22559 * dirent/scandir64.c: Adjust for scandir.c change.
22560 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22561 __scandirat64, and __scandir_cancel_handler.
22562 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22563 additional parameter and use openat instead of open (outside of ld.so).
22564 Add new __opendir as wrapper around __opendirat.
22565 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22566 here without requiring old scandirat implementation.
22568 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22570 * dirent/scandir.c (cancel_handler): Renamed to
22571 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22572 defined. Adjust users.
22573 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22576 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22578 * string/test-string.h (IMPL): Use __STRING to expand name and then
22581 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22584 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22586 * string/Makefile: Update.
22587 (strop-tests): Append strncat.
22588 * string/test-wcscmp.c: New file.
22589 New comprehensive test for wcscmp.
22590 * string/test-strcmp.c: Update.
22591 (WIDE): New define.
22593 2011-07-22 Andreas Schwab <schwab@redhat.com>
22595 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22598 2011-07-26 Andreas Schwab <schwab@redhat.com>
22600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22601 encoding to ACE if AI_IDN.
22603 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22606 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22608 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22611 Fix overflow bug in strncat.
22612 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22614 * string/test-strncat.c: Update.
22615 Add new tests for checking overflow bugs.
22617 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22620 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22621 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22622 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22623 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22624 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22625 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22626 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22627 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22630 (USE_AS_STRCAT): Define.
22631 Add strcat and strncat support.
22632 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22634 2011-07-25 Andreas Schwab <schwab@redhat.com>
22636 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22637 __n bigger than INT_MAX+1.
22638 (__strncmp_g): Likewise.
22640 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22642 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22643 * libio/stido.h: Likewise.
22645 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22650 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22652 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22653 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22654 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22657 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22660 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22662 (_dl_x86_64_save_sse): Likewise.
22664 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22668 (_dl_x86_64_save_sse): Likewise.
22670 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22672 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22674 2011-07-21 Andreas Schwab <schwab@redhat.com>
22676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22678 (_dl_x86_64_save_sse): Use correct AVX check.
22680 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22682 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22683 bug in strncpy/strncat.
22684 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22686 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22688 * string/tester.c (test_strcat): Add tests for different alignments
22689 of source and destination.
22690 (test_strncat): Likewise.
22692 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22695 * posix/glob.c (glob): Check passed in values before using them in
22696 expressions to avoid some overflows.
22697 (glob_in_dir): Likewise.
22700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22701 check for AVX enablement so that we don't crash with old kernels and
22703 * elf/tst-audit4.c: Add same checks here.
22704 * elf/tst-audit6.c: Likewise.
22706 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22708 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22710 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22712 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22714 * po/cs.po: Update from translation team.
22715 * po/bg.po: Likewise.
22717 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22719 * misc/sys/cdefs.h: Add support for const attribute.
22720 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22721 to gnu_dev_{major,minor,makedev} functions.
22723 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22725 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22727 2011-07-20 Andreas Schwab <schwab@redhat.com>
22729 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22732 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22735 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22736 register in order to avoid conflicts with the soft frame pointer
22737 being held in r11 when necessary.
22738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22739 (INTERNAL_VSYSCALL_NCS): Likewise.
22741 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22743 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22744 * elf/dl-fini.c (_dl_fini): Adjust caller.
22745 * elf/dl-close.c (_dl_close_worker): Likewise.
22746 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22748 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22750 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22751 "aux_cache->nlibs < 0".
22753 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22754 in the reload-count case.
22756 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22759 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22760 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22761 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22762 * sysdeps/x86_64/multiarch/strcat.S: New file.
22763 * sysdeps/x86_64/multiarch/strncat.S: New file.
22764 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22765 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22766 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22767 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22769 (USE_AS_STRCAT): Define.
22770 Add strcat and strncat support.
22771 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22772 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22773 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22774 * string/strncat.c: Update.
22775 (USE_AS_STRNCAT): Define.
22776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22777 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22779 * sysdeps/x86_64/multiarch/init-arch.h
22780 (bit_Prefer_PMINUB_for_stringop): New.
22781 (index_Prefer_PMINUB_for_stringop): Likewise.
22782 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22783 bit_Prefer_PMINUB_for_stringop.
22785 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22787 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22789 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22790 of casting of buffer.
22791 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22792 buffer32 and buffer64.
22793 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22794 writes instead of casting of buffer.
22795 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22797 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22800 2011-07-19 Andreas Schwab <schwab@redhat.com>
22802 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22804 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22806 * nscd/nscd.c (termination_handler): Don't do anything for a database
22807 if it has not yet been initialized.
22809 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22811 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22813 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22815 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22817 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22819 * po/nl.po: Update from translation team.
22820 * po/sv.po: Likewise.
22822 2011-07-16 Roland McGrath <roland@hack.frob.com>
22824 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22825 now disallowed by GCC.
22827 * configure.in (use-default-link): Default to yes if a test -shared
22828 link meets our qualifications.
22829 * configure: Regenerated.
22831 * config.make.in (output-format): New variable.
22832 * configure.in: Check for ld --print-output-format support.
22833 * configure: Regenerated.
22834 * Makerules ($(common-objpfx)format.lds)
22835 [$(output-format) != unknown]: Just use $(output-format),
22836 instead of the linker-script munging.
22838 2011-07-14 Roland McGrath <roland@hack.frob.com>
22840 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22841 of $(common-objpfx)shlib.lds.
22842 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22844 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22845 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22847 * configure.in (-z relro check): Adjust test code to add a large
22848 writable data section after it.
22849 * configure: Regenerated.
22851 2011-07-11 Roland McGrath <roland@hack.frob.com>
22853 * configure.in (-z relro check): Fix test code to make the variable
22855 * configure: Regenerated.
22857 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22859 * nscd/nscd.h (struct traced_file): Define.
22860 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22861 elements. Add traced_files.
22862 (inotify_fd): Declare.
22863 (register_traced_file): Declare.
22864 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22865 (inotify_fd): Export.
22866 (resolv_conf_descr): Remove.
22867 (nscd_init): Move inotify descriptor creation to main.
22868 Don't register files for notification here.
22869 (register_traced_file): New function.
22870 (invalidate_cache): Don't use reset_res to determine whether to call
22871 res_init, go through the list of registered files.
22872 (main_loop_poll): The inotify descriptors are now stored in the
22873 structures for the traced files.
22874 (main_loop_epoll): Likewise
22875 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22876 to __nss_disable_nscd.
22877 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22878 for a database anymore. Check the records for all the registered
22880 * nss/Makefile (libnss_files-routines): Add files-init.
22881 (libnss_db-routines): Add db-init.
22882 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22883 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22884 * nss/nss_db/db-init.c: New file.
22885 * nss/nss_files/files-init.c: New file.
22886 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22887 __nss_lookup_function.
22888 (__nss_lookup_function): Call nss_load_library.
22889 (nss_load_all_libraries): New function.
22890 (__nss_disable_nscd): Take parameter with callback function for files
22891 to register. Set is_nscd. Load all the DSOs for the NSS modules
22892 used for the cached services.
22893 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22894 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22895 options for features to all the files in nscd.
22897 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22899 2011-07-10 Roland McGrath <roland@hack.frob.com>
22901 * csu/elf-init.c (__libc_csu_init): Comment typo.
22903 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22905 * po/pl.po: Update from translation team.
22906 * po/ja.po: Likewise.
22907 * po/ru.po: Likewise.
22908 * po/ko.po: Likewise.
22909 * po/fr.po: Likewise.
22911 2011-07-09 Roland McGrath <roland@hack.frob.com>
22913 * configure.in (.ctors/.dtors header and trailer check):
22914 Use an empirical test on a built program.
22915 * configure: Regenerated.
22917 * configure.in (-z relro check): Use an empirical test on a built DSO.
22918 Detect, but do not require, on ia64.
22919 * configure: Regenerated.
22921 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22922 Update tests that use readelf to use $READELF instead.
22923 * configure: Regenerated.
22925 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22927 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22928 if the result is not used.
22930 2011-07-05 Andreas Jaeger <aj@suse.de>
22933 * stdlib/tst-strtod.c: Add testcase.
22935 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22937 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22938 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22939 The latter has a higher limit. Take additional parameter to pass to
22941 (__pathconf): Pass file to __statfs_link_max.
22942 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22944 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22948 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22949 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22952 (__statfs_filesize_max): Likewise.
22953 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22955 2011-07-05 Andreas Jaeger <aj@suse.de>
22957 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22959 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22961 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22963 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22966 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22968 * Makefile (strop-tests): Add strncat.
22969 * string/test-strncat.c: New file.
22971 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22973 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22975 2011-06-21 Andreas Jaeger <aj@suse.de>
22977 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22978 Copy rule from iconvdata/Makefile.
22980 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22983 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22984 but no long options are defined, just return 'W'.
22986 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22989 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22991 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22993 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22995 (innetgr): Likewise.
22997 2011-07-05 Roland McGrath <roland@hack.frob.com>
22999 * config.make.in (install_root): Default to $(DESTDIR).
23001 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23005 2011-07-02 Roland McGrath <roland@hack.frob.com>
23007 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23009 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23010 containing directory rather than embedding absolute directory names.
23012 * scripts/check-local-headers.sh: Rewritten using awk.
23013 Match by word, not by line. Print error messages for matches.
23014 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23016 * Makerules [shlib-lds-flags empty]:
23017 ($(common-objpfx)libc_pic.opts): New target.
23018 ($(common-objpfx)libc_pic.os.clean): New target.
23019 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23021 * config.make.in (OBJCOPY): New variable.
23022 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23023 * configure: Regenerated.
23025 * config.make.in (use-default-link): New variable.
23026 * configure.in (use_default_link): Grok --with-default-link to set it.
23027 * configure: Regenerated.
23028 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23029 (shlib-lds, shlib-lds-flags): Define to empty.
23031 * Makerules (shlib-lds): New variable.
23032 (shlib-lds-flags): New variable.
23033 (build-shlib, build-moduile, build-module-asneeded): Use it.
23034 ($(common-objpfx)libc.so): Use $(shlib-lds).
23035 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23036 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23038 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23039 DT_FLAGS/DT_FLAGS_1 with zero flags.
23041 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23042 linker script munging.
23044 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23046 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23048 * crypt/sha512.c (sha512_process_block): Perform total addition using
23049 128-bit if possible.
23050 (__sha512_finish_ctx): Likewise.
23051 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23053 * crypt/sha256.c (SWAP64): Define.
23054 (sha256_process_block): Perform total addition using 64-bit if
23056 (__sha256_finish_ctx): Likewise.
23058 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23060 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23062 * nscd/hstcache.c (cache_addhst): Likewise.
23063 * nscd/grpcache.c (cache_addgr): Likewise.
23064 * nscd/aicache.c (addhstaiX): Likewise
23065 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23067 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23069 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23071 * nscd/hstcache.c (cache_addhst): Likewise.
23072 * nscd/grpcache.c (cache_addgr): Likewise.
23073 * nscd/aicache.c (addhstaiX): Likewise
23075 2011-07-01 Andreas Schwab <schwab@redhat.com>
23077 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23078 domain only when needed.
23080 2011-06-30 Andreas Schwab <schwab@redhat.com>
23082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23083 is always restored.
23085 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23087 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23088 are re-adding the entry.
23089 * nscd/servicescache.c (cache_addserv): Likewise.
23091 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23093 * sysdeps/generic/dl-irel.h: fix protection against multiple
23095 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23097 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23100 * malloc/memusage.sh: Fix quoting in message.
23101 * debug/xtrace.sh: Likewise.
23103 * configure.in: Remove support for --experimental-malloc option, make
23105 * config.make.in: Likewise.
23106 * malloc/Makefile: Likewise.
23108 2011-06-27 Andreas Schwab <schwab@redhat.com>
23110 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23111 two-byte characters.
23113 2011-06-27 Roland McGrath <roland@hack.frob.com>
23115 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23116 AC_CACHE_CHECK invocation.
23117 * configure: Regenerated.
23119 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23121 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23124 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23125 bit from old_res_options.
23127 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23129 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23130 value type for setfct.
23132 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23135 __gettimeofday instead of gettimeofday.
23137 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23139 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23141 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23143 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23148 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23151 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23152 strcpy-sse2-unaligned strncpy-sse2-unaligned
23153 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23154 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23155 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23156 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23157 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23158 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23160 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23161 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23162 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23163 (STRCPY): Support SSE2 and SSSE3 versions.
23165 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23168 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23169 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23170 kernels which artificially limit size of requests.
23172 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23175 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23176 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23177 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23178 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23179 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23180 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23181 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23182 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23183 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23184 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23185 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23186 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23187 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23188 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23190 Enable unaligned load optimization for Intel Core i3, i5 and i7
23192 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23194 (index_Fast_Unaligned_Load): Define.
23195 (HAS_FAST_UNALIGNED_LOAD): Define.
23197 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23199 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23201 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23204 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23205 until it is clear that the information is realy needed.
23206 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23208 2011-06-22 Andreas Schwab <schwab@redhat.com>
23210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23212 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23215 /sys/devices/system/cpu/online if it is usable.
23217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23218 reading the information from the /proc filesystem to once a second.
23220 2011-06-21 Andreas Jaeger <aj@suse.de>
23222 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23223 NULL after inclusion of kernel headers.
23225 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23227 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23228 calls to internal_setent.
23231 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23232 addresses using gethostbyname4_r ignore IPv4 addresses.
23234 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23235 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23237 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23239 2011-06-20 David S. Miller <davem@davemloft.net>
23241 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23243 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23245 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23246 (elf_irel): Use it.
23247 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23248 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23249 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23250 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23251 * sysdeps/x86_64/dl-irel.h: Likewise.
23253 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23254 * elf/dl-sym.c: Likewise.
23256 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23258 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23259 need to dereference resplen2.
23261 2011-06-14 Andreas Schwab <schwab@redhat.com>
23263 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23265 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23267 * Makeconfig: Define vardbdir and inst_vardbdir.
23268 * nss/Makefile: Add rules to install db-Makefile.
23270 * nss/nss_db/db-XXX.c: Cleanup.
23272 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23273 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23275 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23276 * nss/makedb.c: Implement -g option to specify that value strings
23277 are generated and should not be added to table iterated over for
23279 * nss/nss_db/db-initgroups.c: New file.
23281 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23284 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23285 (internal_getgrouplist): Adjust to name change.
23286 Update use_initgroups_entry if this is not the first call.
23287 * nss/databases.def: Add initgroups entry.
23289 * nss/makedb.c (compute_tables): Check result of multiple hash table
23290 sizes to minimize maximum chain length.
23292 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23294 * Versions.def: Add entry for libnss_db.
23295 * shlib-versions: Likewise.
23296 * nss/Makefile: Add rules to build libnss_db.
23297 * nss/Versions: Add libnss_db information. Organize libnss_files
23299 * nss/db-Makefile: Add gshadow support. Change rules for the new
23300 makedb progra. Some minor improvements to generate smaller files.
23301 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23303 * nss/makedb.c: ...here.
23304 Improve database format to be smaller and require less memory at
23306 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23308 * nss/nss_db/db-netgrp.c: Likewise.
23309 * nss/nss_db/db-open.c: Likewise.
23310 * nss/nss_files/flies-XXX.x: Adjust comments.
23311 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23312 * nss/nss_files/files-grp.c: Likewise.
23313 * nss/nss_files/files-hosts.c: Likewise.
23314 * nss/nss_files/files-network.c: Likewise.
23315 * nss/nss_files/files-proto.c: Likewise.
23316 * nss/nss_files/files-pwd.c: Likewise.
23317 * nss/nss_files/files-rpc.c: Likewise.
23318 * nss/nss_files/files-service.c: Likewise.
23319 * nss/nss_files/files-sgrp.c: Likewise.
23320 * nss/nss_files/files-spwd.c: Likewise.
23321 * nss/nss_db/db-alias.c: Removed.
23322 * nss/nss_db/dummy-db.h: Removed.
23324 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23326 * nss/makedb.c: Rewritten to not use database library.
23327 * nss/Makefile: Update to build new makedb program.
23329 2011-06-14 Andreas Jaeger <aj@suse.de>
23331 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23332 memset declaration.
23334 2011-06-10 Andreas Schwab <schwab@redhat.com>
23336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23339 2011-06-10 Roland McGrath <roland@hack.frob.com>
23341 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23342 * elf/Makefile ($(objpfx)ld.so): Likewise.
23344 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23345 Don't list ld.so twice in dependencies.
23347 * posix/bug-regex31.c: Include <stdlib.h>.
23349 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23351 * nis/nss_compat/compat-spwd.c
23352 (getspent_next_nss_netgr): Remove unused variable.
23353 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23355 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23356 nonmembers" output to use the right array.
23358 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23360 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23362 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23363 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23364 * catgets/gencat.c (read_input_file): Likewise.
23365 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23367 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23368 variable definition inside #if's controlling its use.
23370 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23372 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23374 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23376 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23379 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23381 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23382 * configure: Regenerated.
23384 * Makerules: Revert last change.
23385 * elf/Makefile: Likewise.
23387 2011-06-09 Roland McGrath <roland@hack.frob.com>
23389 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23390 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23391 (reloc-link): Likewise.
23393 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23395 * elf/Makefile: Add rules to build pldd.
23396 * elf/pldd.c: New file.
23397 * elf/pldd-xx.c: New file.
23399 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23401 * version.h: Update for 2.15 development version.
23403 2011-06-07 David S. Miller <davem@davemloft.net>
23405 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23408 elf_machine_lazy_rel): Likewise.
23409 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23411 elf_machine_lazy_rel): Likewise.
23412 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23413 dl_hwcap via passed in argument.
23414 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23417 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23419 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23421 2011-06-06 Roland McGrath <roland@hack.frob.com>
23424 * manual/fdl-1.1.texi: New file, verbatim from:
23425 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23426 * manual/lgpl-2.1.texi: New file, verbatim from:
23427 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23428 * manual/Makefile (licenses): New variable, list those new file names.
23430 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23432 * manual/fdl.texi: File removed.
23433 * manual/lesser.texi: File removed.
23434 * manual/libc.texinfo (Copying, Documentation License):
23435 Use new @include file names, put @appendix directive before @include.
23437 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23440 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23441 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23442 (mq_open): Add __NTH.
23444 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23447 Assume Intel Core i3/i5/i7 processor if AVX is available.
23449 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23451 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23454 2011-05-31 Andreas Schwab <schwab@redhat.com>
23456 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23457 memory. Use alloca_account. Fix memory leak when retrying.
23459 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23461 * version.h (RELEASE): Bump for 2.14 release.
23462 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23464 * config.make.in (RANLIB): Remove entry.
23466 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23468 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23469 (libc.pot): Work around missing support for .ksh extension in xgettext.
23472 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23473 if both request failed.
23474 (send_dg): In case of server errors clear resplen or *resplen2.
23477 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23478 when there are multiple maps.
23479 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23480 (_dl_fini): Remove test here.
23482 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23484 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23487 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23488 bit from old_res_options.
23489 (gaih_inet): Likewise.
23492 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23495 * resolv/res_init.c (res_setoptions): Make the code more compact.
23498 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23502 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23504 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23507 * malloc/malloc.h: Declare malloc hook variables as volatile.
23509 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23513 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23514 raise in the comment.
23515 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23516 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23517 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23519 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23522 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23523 grow the buffers more if it already has to be sufficient.
23524 (build_wcs_upper_buffer): Likewise.
23525 * posix/regexec.c (check_matching): Likewise.
23526 (clean_state_log_if_needed): Likewise.
23527 (extend_buffers): Don't enlarge buffers beyond size of the input
23529 Patches mostly by Emil Wojak <emil@wojak.eu>.
23530 * posix/bug-regex32.c: New file.
23531 * posix/Makefile (tests): Add bug-regex32.
23533 * locale/findlocale.c (_nl_find_locale): Return right away if
23534 _nl_explode_name failed.
23535 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23537 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23539 * debug/xtrace.sh: Unify messages.
23540 * malloc/memusage.sh: Likewise.
23543 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23544 time symbol from vDSO. Substitute with vsyscall if not available.
23545 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23548 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23549 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23550 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23551 Add sendmmsg and internal_sendmmsg.
23552 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23553 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23554 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23556 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23557 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23560 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23563 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23564 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23570 * iconvdata/Makefile (tests): Add bug-iconv9.
23571 * iconvdata/bug-iconv9.c: New file.
23573 2011-05-27 Andreas Schwab <schwab@redhat.com>
23576 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23578 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23580 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23581 (struct user_regs_struct): Change intcs field back to cs.
23583 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23585 * po/ja.po: Update from translation team.
23587 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23590 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23591 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23593 2011-05-20 Andreas Schwab <schwab@redhat.com>
23595 * stdlib/longlong.h: Update from GCC.
23597 2011-05-23 Andreas Schwab <schwab@redhat.com>
23599 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23601 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23602 Add parameter name.
23603 (__sysconf): Pass it down.
23605 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23608 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23611 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23612 add in in __libc_use_alloca calls. Adjust callers.
23613 (glob): Use malloc in some situations.
23615 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23616 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23619 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23621 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23622 and CLOCK_BOOTTIME_ALARM.
23625 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23628 * string/_strerror.c (__strerror_r): Print negative errors as signed
23632 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23633 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23634 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23636 * configure.in: Fix typo in redirection and correct removal of test
23637 files in two cases.
23640 * locale/setlocale.c (new_composite_name): Fix test to check for
23641 identical name of all categories.
23644 * libio/filedoalloc.c (local_isatty): New function.
23645 (_IO_file_doallocate): Use local_isatty.
23646 * stdio-common/perror.c (perror): In case a new stream is used
23647 forward the stream error.
23648 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23651 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23656 * include/alloca.h (extend_alloca_account): Define.
23659 * posix/regex.h: Fix comments with documentation of user-accessible
23660 fields after compilation and describe correct free'ing of pattern
23661 after re_compile_pattern.
23662 Patch by Reuben Thomas <rrt@sc3d.org>.
23664 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23666 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23667 and -mno-altivec to prevent the compiler from using Altivec and/or
23668 VSX instructions when the corresponding registers are not available.
23670 2011-05-19 Andreas Schwab <schwab@redhat.com>
23672 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23674 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23676 * libio/freopen.c (freopen): Use __dup2, not dup2.
23677 * libio/freopen64.c (freopen64): Likewise.
23679 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23682 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23683 * math/Makefile (tests): Add test-powl.
23684 (CFLAGS-test-powl.c): Define.
23685 * math/test-powl.c: New file.
23687 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23689 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23691 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23694 * iconvdata/gb18030.c: Update to GB18020-2005.
23696 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23698 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23699 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23700 Patch by Aharon Robbins <arnold@skeeve.com>.
23703 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23707 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23708 through underflows.
23711 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23712 point to strings before performing equality test for error_one_per_line
23716 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23719 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23720 (struct user_fpregs_struct): Avoid __uint*_t types.
23723 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23724 symbol info. Use it instead of calling _dl_addr locally.
23725 (lock_and_info): New function.
23726 (tr_freehook): Call lock_and_info and pass symbol info as additional
23727 parameter to tr_where.
23728 (tr_mallochook): Likewise.
23729 (tr_reallochook): Likewise.
23730 (tr_memalignhook): Likewise.
23732 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23733 used and couldn't be at all thread-safe.
23735 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23737 * libio/freopen.c (freopen): Don't close old file descriptor
23738 before the new one is opened. Instead dup the new file descriptor
23739 to the old one after the new stream is created.
23740 * libio/freopen64.c (freopen64): Likewise.
23741 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23742 * libio/fileops.c (_IO_new_file_close_it): Handle new
23743 _IO_FLAGS2_NOCLOSE flag.
23744 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23745 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23746 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23747 _IO_FLAGS2_NOCLOSE flag.
23748 * include/unistd.h: Add hidden_proto for dup3.
23749 Define __have_dup3.
23750 * io/dup3.c: Define hidden symbol.
23751 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23754 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23755 when an incomplete long option is used.
23756 * posix/tst-getopt_long1.c: New file.
23757 * posix/Makefile (tests): Add tst-getopt_long1.
23760 * scripts/config.guess: Update from autoconf-2.68.
23761 * scripts/config.sub: Likewise.
23764 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23766 (has_cpuclock): ...this. New function.
23767 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23768 macro here based on has_cpuclock code.
23771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23772 First byte (not low byte) is now always NUL.
23773 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23776 Use non-cancelable interfaces.
23779 * locale/iso-639.def: Add entry for Sorani.
23782 * include/stdlib.h: Move include protection to the right place.
23783 Define abort_msg_s. Declare __abort_msg with it.
23784 * stdlib/abort.c (__abort_msg): Adjust type.
23785 * assert/assert.c (__assert_fail_base): New function. Majority
23786 of code from __assert_fail. Allocate memory for __abort_msg with
23788 (__assert_fail): Now call __assert_fail_base.
23789 * assert/assert-perr.c: Remove bulk of implementation. Use
23790 __assert_fail_base.
23791 * include/assert.hL Declare __assert_fail_base.
23792 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23794 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23796 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23800 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23801 until all modules are registered in the DTV.
23802 * elf/Makefile: Add rules to build and run tst-tls19.
23803 * elf/tst-tls19.c: New file.
23804 * elf/tst-tls19mod1.c: New file.
23805 * elf/tst-tls19mod2.c: New file.
23806 * elf/tst-tls19mod3.c: New file.
23807 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23810 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23814 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23815 two-byte sequence errors.
23816 * iconvdata/Makefile (tests): Add bug-iconv8.
23817 * iconvdata/bug-iconv8.c: New file.
23820 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23823 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23826 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23827 (dummy_getcfa): New function.
23828 (init): Get _Unwind_GetCFA address, use dummy if not found.
23829 (backtrace_helper): In recursion check, also check whether CFA changes.
23830 (__backtrace): Completely initialize arg.
23832 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23833 storing incomplete byte sequence in state object. Avoid testing for
23834 guaranteed too small input if we know there is enough data available.
23836 2011-05-11 Andreas Schwab <schwab@redhat.com>
23838 * Makeconfig (+link-pie): Indent.
23839 * Rules (binaries-pie): Define if $(have-fpie) and
23841 (binaries-shared): Also filter out $(binaries-pie).
23842 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23843 * nscd/Makefile (others-pie): Add nscd.
23844 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23845 ($(objpfx)nscd): Remove command override.
23846 * login/Makefile (others-pie): Add pt_chown.
23847 ($(objpfx)pt_chown): Remove command override.
23848 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23849 remove command overrides.
23851 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23853 * libio/tst_putwc.c: Fix error messages.
23856 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23857 currently writing and seek to current position when not.
23858 * libio/Makefile (tests): Add bug-fclose1.
23859 * libio/bug-fclose1.c: New file.
23861 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23864 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23865 don't set DF_1_NODELETE here.
23866 (do_lookup_x): When entering new entry test for copy relocation
23867 and if necessary set DF_1_NODELETE flag.
23868 * elf/tst-unique4.cc: New file.
23869 * elf/tst-unique4.h: New file.
23870 * elf/tst-unique4lib.cc: New file.
23871 * elf/Makefile: Add rules to build and run tst-unique4.
23872 Patch by Piotr Bury <pbury@goahead.com>.
23874 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23877 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23880 * misc/mntent_r.c (addmntent): Flush the stream after the output
23883 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23884 (is_trusted_path_normalize): Skip initial colon. Append slash
23885 to empty buffer. Duplicate is_trusted_path code but allow
23886 constructed patch to be prefix.
23887 (is_dst): Allow $ORIGIN followed by /.
23888 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23889 Correct testing of result of is_trusted_path_normalize
23890 (decompose_rpath): Fix warning.
23892 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23895 * grp/initgroups.c (internal_getgrouplist): When we found the service
23896 list through the initgroups entry in nsswitch.conf do not always
23897 continue on a successful lookup. Don't always use the
23898 __nss_group_database value if it is set.
23899 * nss/nsswitch.conf (initgroups): Change action for successful db
23900 lookup to continue for compatibility.
23902 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23905 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23907 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23909 * iconvdata/tst-tables.sh: Likewise.
23910 * iconvdata/cp770.c: New file.
23911 * iconvdata/cp771.c: New file.
23912 * iconvdata/cp772.c: New file.
23913 * iconvdata/cp773.c: New file.
23914 * iconvdata/cp774.c: New file.
23915 * iconvdata/testdata/CP770: New file.
23916 * iconvdata/testdata/CP770..UTF8: New file.
23917 * iconvdata/testdata/CP771: New file.
23918 * iconvdata/testdata/CP771..UTF8: New file.
23919 * iconvdata/testdata/CP772: New file.
23920 * iconvdata/testdata/CP772..UTF8: New file.
23921 * iconvdata/testdata/CP773: New file.
23922 * iconvdata/testdata/CP773..UTF8: New file.
23923 * iconvdata/testdata/CP774: New file.
23924 * iconvdata/testdata/CP774..UTF8: New file.
23926 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23928 * iconvdata/gen-8bit-gap.sh: Likewise.
23929 * iconvdata/gen-8bit.sh: Likewise.
23931 * locale/iso-639.def: Add ary entry.
23934 * locale/C-translit.h.in: Add U20A1 transliteration.
23937 * locale/iso-639.def: Add wae entry.
23938 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23941 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23945 * locale/C-translit.h.in: Add entry for U20B9.
23946 Patch by pravin.d.s@gmail.com.
23948 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23951 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23952 ENAMETOOLONG use generic getcwd.
23953 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23954 in rtld. Use *stat64.
23955 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23956 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23957 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23958 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23959 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23960 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23961 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23962 __fstatat64 macros.
23963 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23964 * dirent/rewinddir.c: Add libc_hidden_def.
23965 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23966 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23968 * include/dirent.h (__alloc_dir): Add flags parameter.
23969 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23970 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23972 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23973 from fdopendir if O_CLOEXEC is already set.
23975 2011-03-15 Alan Modra <amodra@gmail.com>
23977 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23978 l_tls_firstbyte_offset non-zero. Save padding offset in
23979 l_tls_firstbyte_offset for later use.
23980 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23981 freeing static tls block.
23983 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23985 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23986 where #ifdef was intended. The intent is to prevent ARG_MAX from
23987 being defined by the kernel headers.
23989 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23992 * resolv/resolv.h: Define RES_NOTLDQUERY.
23993 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23994 no-tld-query and set RES_NOTLDQUERY.
23995 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23996 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23997 modern BIND to search name as TLD unless forbidden.
23999 2011-05-07 Petr Baudis <pasky@suse.cz>
24000 Ulrich Drepper <drepper@gmail.com>
24003 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24004 (is_trusted_path): ...to here.
24005 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24006 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24007 using is_trusted_path_normalize() in setuid scripts.
24009 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24011 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24012 __BEGIN/__END_DECLS.
24014 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24016 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24017 NSS_STATUS_NOTFOUND if no record was found.
24019 2011-05-05 Andreas Schwab <schwab@redhat.com>
24021 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24022 (headers-not-in-tirpc): Remove rpc/netdb.h
24023 * resolv/netdb.h: Revert last change.
24025 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24027 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24028 circular dependency between libgcc.a and libc.a.
24030 2011-05-05 Andreas Schwab <schwab@redhat.com>
24032 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24033 * nis/Makefile: Don't install rpcsvc/*.
24034 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24035 instead of <rpc/types.h>.
24036 (MAXHOSTNAMELEN): Define.
24038 2011-05-03 Andreas Schwab <schwab@redhat.com>
24040 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24042 2011-04-28 Maciej Babinski <mbabinski@google.com>
24045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24046 gethostbyname4_r when IPv6 results are possible.
24048 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24051 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24052 _PC_PIPE_BUF handling.
24054 2011-04-30 Bruno Haible <bruno@clisp.org>
24057 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24058 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24060 * inet/getnameinfo.c (getnameinfo): Likewise.
24062 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24064 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24065 to groups setting in database lookup.
24066 * nss/nsswitch.conf: Add initgroups entry.
24068 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24071 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24073 Patch by Eric Blake <eblake@redhat.com>.
24075 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24077 * sunrpc/Makefile (need-export-routines): Add svc_run.
24078 (routines): Remove svc_run.
24079 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24080 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24081 * sunrpc/svc_run.c (svc_run): Likewise.
24082 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24084 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24086 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24087 problem in reallocation in last patch.
24089 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24091 * sunrpc/Makefile: Move inclusion of Rules.
24093 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24095 * nss/nss_files/files-initgroups.c: New file.
24096 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24097 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24098 _nss_files_initgroups_dyn.
24100 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24102 * elf/elf.h (R_ARM_IRELATIVE): Define.
24104 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24106 * po/ru.po: Update from translation team.
24108 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24110 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24113 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24116 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24117 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24119 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24122 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24124 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24126 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24130 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24133 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24135 * stdlib/bug-getcontext.c: New file.
24136 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24138 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24140 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24141 instructions into .machine "z9-109".
24142 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24143 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24145 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24147 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24148 between environment variables and auxiliary vector.
24150 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24152 * Makefile: Add rules to build linkobj/libc.so.
24153 * include/libc-symbols.h: Define libc_hidden_nolink.
24154 * include/rpc/auth.h: Mark functions which are to be hidden.
24155 * include/rpc/auth_des.h: Likewise.
24156 * include/rpc/auth_unix.h: Likewise.
24157 * include/rpc/clnt.h: Likewise.
24158 * include/rpc/des_crypt.h: Likewise.
24159 * include/rpc/key_prot.h: Likewise.
24160 * include/rpc/pmap_clnt.h: Likewise.
24161 * include/rpc/pmap_prot.h: Likewise.
24162 * include/rpc/pmap_rmt.h: Likewise.
24163 * include/rpc/rpc_msg.h: Likewise.
24164 * include/rpc/svc.h: Likewise.
24165 * include/rpc/svc_auth.h: Likewise.
24166 * include/rpc/xdr.h: Likewise.
24167 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24168 * nss/Makefile: Likewise.
24169 * sunrpc/Makefile: Don't install headers. Build library with normal
24170 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24171 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24172 for the compat linking library. Remove use of INTDEF/INTUSE.
24173 * sunrpc/auth_none.c: Likewise.
24174 * sunrpc/auth_unix.c: Likewise.
24175 * sunrpc/authdes_prot.c: Likewise.
24176 * sunrpc/authuxprot.c: Likewise.
24177 * sunrpc/clnt_gen.c: Likewise.
24178 * sunrpc/clnt_perr.c: Likewise.
24179 * sunrpc/clnt_raw.c: Likewise.
24180 * sunrpc/clnt_simp.c: Likewise.
24181 * sunrpc/clnt_tcp.c: Likewise.
24182 * sunrpc/clnt_udp.c: Likewise.
24183 * sunrpc/clnt_unix.c: Likewise.
24184 * sunrpc/des_crypt.c: Likewise.
24185 * sunrpc/des_soft.c: Likewise.
24186 * sunrpc/get_myaddr.c: Likewise.
24187 * sunrpc/key_call.c: Likewise.
24188 * sunrpc/key_prot.c: Likewise.
24189 * sunrpc/netname.c: Likewise.
24190 * sunrpc/pm_getmaps.c: Likewise.
24191 * sunrpc/pm_getport.c: Likewise.
24192 * sunrpc/pmap_clnt.c: Likewise.
24193 * sunrpc/pmap_prot.c: Likewise.
24194 * sunrpc/pmap_prot2.c: Likewise.
24195 * sunrpc/pmap_rmt.c: Likewise.
24196 * sunrpc/publickey.c: Likewise.
24197 * sunrpc/rpc_cmsg.c: Likewise.
24198 * sunrpc/rpc_common.c: Likewise.
24199 * sunrpc/rpc_dtable.c: Likewise.
24200 * sunrpc/rpc_prot.c: Likewise.
24201 * sunrpc/rpc_thread.c: Likewise.
24202 * sunrpc/rtime.c: Likewise.
24203 * sunrpc/svc.c: Likewise.
24204 * sunrpc/svc_auth.c: Likewise.
24205 * sunrpc/svc_authux.c: Likewise.
24206 * sunrpc/svc_raw.c: Likewise.
24207 * sunrpc/svc_run.c: Likewise.
24208 * sunrpc/svc_simple.c: Likewise.
24209 * sunrpc/svc_tcp.c: Likewise.
24210 * sunrpc/svc_udp.c: Likewise.
24211 * sunrpc/svc_unix.c: Likewise.
24212 * sunrpc/svcauth_des.c: Likewise.
24213 * sunrpc/xcrypt.c: Likewise.
24214 * sunrpc/xdr.c: Likewise.
24215 * sunrpc/xdr_array.c: Likewise.
24216 * sunrpc/xdr_float.c: Likewise.
24217 * sunrpc/xdr_intXX_t.c: Likewise.
24218 * sunrpc/xdr_mem.c: Likewise.
24219 * sunrpc/xdr_rec.c: Likewise.
24220 * sunrpc/xdr_ref.c: Likewise.
24221 * sunrpc/xdr_sizeof.c: Likewise.
24222 * sunrpc/xdr_stdio.c: Likewise.
24224 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24227 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24228 * sysdeps/ia64/dl-tls.h: Likewise.
24229 * sysdeps/powerpc/dl-tls.h: Likewise.
24230 * sysdeps/s390/dl-tls.h: Likewise.
24231 * sysdeps/sh/dl-tls.h: Likewise.
24232 * sysdeps/sparc/dl-tls.h: Likewise.
24233 * sysdeps/x86_64/dl-tls.h: Likewise.
24234 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24236 2011-03-14 Andreas Schwab <schwab@redhat.com>
24238 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24239 rpath element also skip the following colon.
24240 (expand_dynamic_string_token): Add is_path parameter and pass
24241 down to DL_DST_REQUIRED and _dl_dst_substitute.
24242 (decompose_rpath): Call expand_dynamic_string_token with
24243 non-zero is_path. Ignore empty rpaths.
24244 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24247 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24252 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24255 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24256 Patch by Filipe David Manana <fdmanana@apache.org>.
24258 2011-04-07 Andreas Schwab <schwab@redhat.com>
24260 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24261 Maintain aligned stack.
24262 (CHECK_RSP): Remove unused macro.
24264 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24266 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24267 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24269 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24271 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24273 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24275 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24278 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24279 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24280 * sysdeps/x86_64/memmove.c: New file.
24281 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24282 (memcpy): Renamed to ...
24283 (__new_memcpy): This.
24284 (memcpy): Provide GLIBC_2_14 memcpy.
24285 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24286 (memcpy): Provide GLIBC_2_2_5 memcpy.
24288 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24291 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24293 2011-03-30 Andreas Schwab <schwab@redhat.com>
24295 * misc/syncfs.c: New file.
24296 * misc/Makefile (routines): Add syncfs.
24297 * posix/unistd.h: Declare syncfs.
24298 * sysdeps/unix/syscalls.list: Add syncfs.
24300 2011-04-01 Andreas Schwab <schwab@redhat.com>
24302 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24304 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24307 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24309 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24312 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24315 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24316 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24320 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24322 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24323 sync_file_range.c with -fexceptions.
24324 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24325 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24326 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24327 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24328 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24329 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24331 sync_file_range as cancellation point
24332 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24333 now a wrapper around __call_sync_file_range with cancellation handling.
24334 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24335 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24336 function name to __call_sync_file_range.
24337 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24338 Add call_sync_file_range.
24340 2011-04-01 Andreas Schwab <schwab@redhat.com>
24342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24345 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24347 * iconv/iconv.h: Fix typo in comment.
24348 * io/fcntl.h: Likewise.
24349 * libio/stdio.h: Likewise.
24350 * posix/spawn.h: Likewise.
24351 * posix/unistd.h: Likewise.
24352 * stdlib/stdlib.h: Likewise.
24353 * time/time.h: Likewise.
24354 * wcsmbs/wchar.h: Likewise.
24356 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24357 open_by_handle): Add.
24358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24359 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24360 Augment a few comments.
24361 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24363 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24366 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24369 * io/fcntl.h (AT_EMPTY_PATH): Define.
24371 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24373 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24374 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24375 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24377 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24378 * Versions.def: Add GLIBC_2.14.
24379 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24382 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24386 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24388 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24391 * string/test-strncmp.c (do_page_test): New function.
24392 (check2): Likewise.
24393 (test_main): Call check2.
24394 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24396 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24399 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24400 Handle cache information in CPU leaf 4.
24401 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24403 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24406 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24407 character representation.
24408 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24410 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24412 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24413 END(__isnan) to END(__isnanf) to match function entry point/label
24414 EALIGN(__isnanf,...).
24416 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24418 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24420 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24423 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24424 copy from the symbol referenced in the relocation to initialize the
24426 Patch by Piotr Bury <pbury@goahead.com>.
24427 * elf/Makefile: Add rules to build and tst-unique3.
24428 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24429 * elf/tst-unique3.cc: New file.
24430 * elf/tst-unique3.h: New file.
24431 * elf/tst-unique3lib.cc: New file.
24432 * elf/tst-unique3lib2.cc: New file.
24434 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24436 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24438 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24439 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24442 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24444 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24445 to-be-loaded object along a path to loader is ld.so.
24447 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24448 Ulrich Drepper <drepper@gmail.com>
24450 * sysdeps/x86_64/memset.S: After aligning destination, code
24451 branches to different locations depending on the value of
24452 misalignment, when multiarch is enabled. Fix this.
24454 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24456 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24457 Set _x86_64_preferred_memory_instruction for AMD processsors.
24458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24459 Set bit_Prefer_SSE_for_memop for AMD processors.
24461 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24463 * libio/fmemopen.c (fmemopen): Optimize a bit.
24465 2011-03-03 Andreas Schwab <schwab@redhat.com>
24467 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24469 2011-03-03 Roland McGrath <roland@redhat.com>
24471 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24473 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24475 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24476 __bzero_ultra1 instead of __memset_ultra1.
24478 2011-02-23 Andreas Schwab <schwab@redhat.com>
24479 Ulrich Drepper <drepper@gmail.com>
24482 * include/link.h (struct link_map): Add l_orig_initfini.
24483 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24484 returning unsuccessfully.
24485 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24486 close of a file loaded at startup, restore the original l_initfini
24488 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24489 list, store the pointer.
24490 * elf/Makefile ($(objpfx)noload-mem): New rule.
24491 (noload-ENV): Define.
24492 (tests): Add $(objpfx)noload-mem.
24493 * elf/noload.c: Include <memcheck.h>.
24494 (main): Call mtrace. Close all opened handles.
24496 2011-02-17 Andreas Schwab <schwab@redhat.com>
24499 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24500 dependencies are missing.
24502 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24504 Fix __if_freereq crash: Unlike the generic version which uses free,
24506 * sysdeps/mach/hurd/ifreq.h: New file.
24508 2011-01-27 Petr Baudis <pasky@suse.cz>
24509 Ulrich Drepper <drepper@gmail.com>
24512 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24513 to extend_alloca().
24514 * stdio-common/bug23.c: New file.
24515 * stdio-common/Makefile (tests): Add bug23.
24517 2010-09-28 Andreas Schwab <schwab@redhat.com>
24518 Ulrich Drepper <drepper@gmail.com>
24521 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24522 before performing relro protection. At old place add assertion
24523 to make sure nothing changed.
24525 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24526 Glauber de Oliveira Costa <glommer@gmail.com>
24528 * elf/elf.h: Add new ARM TLS relocs.
24530 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24533 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24535 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24537 * sysdeps/wordsize-64/tst-writev.c: New file.
24539 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24541 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24542 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24543 insns in _dl_start to prevent a TOC reference before relocs are
24546 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24549 * Makeconfig: Remove RANLIB definition.
24550 * Makerules: Don't use RANLIB.
24551 * aclocal.m4: Remove ranlib test.
24552 * configure.in: No need to check for ranlib.
24553 * elf/rtld-Rules: Don't use RANLIB.
24555 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24557 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24559 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24560 inclusion protection macro.
24562 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24563 SIGRTMIN and SIGRTMAX and print information in that case only when
24564 SIGRTMIN is defined.
24566 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24568 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24569 arginfo fn returning -1.
24571 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24572 and thousands string is zero terminated.
24574 2011-02-03 Andreas Schwab <schwab@redhat.com>
24576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24577 sysdeps/unix/sysv/linux/bits/socket.h.
24579 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24581 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24582 (__CPU_COUNT): Remove old macros.
24583 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24584 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24585 (__CPU_ALLOC, __CPU_FREE): Add macros.
24586 (__sched_cpualloc, __sched_cpufree): Add declarations.
24588 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24590 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24591 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24592 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24593 (readdhstai): Return value of addhstaiX call.
24594 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24595 (addgrbyX): Return value returned by cache_addgr.
24596 (readdgrbyname): Return value returned by addgrbyX.
24597 (readdgrbygid): Likewise.
24598 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24599 (addpwbyX): Return value returned by cache_addpw.
24600 (readdpwbyname): Return value returned by addhstbyX.
24601 (readdpwbyuid): Likewise.
24602 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24603 (addservbyX): Return value returned by cache_addserv.
24604 (readdservbyname): Return value returned by addservbyX:
24605 (readdservbyport): Likewise.
24606 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24607 (addhstbyX): Return value returned by cache_addhst.
24608 (readdhstbyname): Return value returned by addhstbyX.
24609 (readdhstbyaddr): Likewise.
24610 (readdhstbynamev6): Likewise.
24611 (readdhstbyaddrv6): Likewise.
24612 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24613 (readdinitgroups): Return value returned by addinitgroupsX.
24614 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24615 (prune_cache): Keep track of timeout value of re-added entries.
24616 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24617 * nscd/nscd.h: Adjust prototypes of readd* functions.
24619 2011-02-04 Roland McGrath <roland@redhat.com>
24621 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24622 (nis_stats): Likewise.
24623 * nis/nis_modify.c (nis_modify): Likewise.
24624 * nis/nis_remove.c (nis_remove): Likewise.
24625 * nis/nis_add.c (nis_add): Likewise.
24627 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24629 * posix/fnmatch_loop.c: Add some consts.
24631 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24633 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24636 * config.make.in (config-cflags-novzeroupper): Define.
24637 * configure.in: Substitute libc_cv_cc_novzeroupper.
24638 * elf/Makefile (AVX-CFLAGS): Define.
24639 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24640 (CFLAGS-tst-auditmod4a.c): Likewise.
24641 (CFLAGS-tst-auditmod4b.c): Likewise.
24642 (CFLAGS-tst-auditmod6b.c): Likewise.
24643 (CFLAGS-tst-auditmod6c.c): Likewise.
24644 (CFLAGS-tst-auditmod7b.c): Likewise.
24645 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24647 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24649 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24650 function to the callback.
24651 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24653 2011-02-02 Andreas Schwab <schwab@redhat.com>
24655 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24658 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24661 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24663 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24665 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24668 * elf/Makefile: Add rules to build and run new test.
24669 * elf/tst-initorder.c: New file.
24670 * elf/tst-initorder.exp: New file.
24671 * elf/tst-initordera1.c: New file.
24672 * elf/tst-initordera2.c: New file.
24673 * elf/tst-initordera3.c: New file.
24674 * elf/tst-initordera4.c: New file.
24675 * elf/tst-initorderb1.c: New file.
24676 * elf/tst-initorderb2.c: New file.
24677 * elf/tst-order-a1.c: New file.
24678 * elf/tst-order-a2.c: New file.
24679 * elf/tst-order-a3.c: New file.
24680 * elf/tst-order-a4.c: New file.
24681 * elf/tst-order-b1.c: New file.
24682 * elf/tst-order-b2.c: New file.
24683 * elf/tst-order-main.c: New file.
24684 New test case by George Gensure <werkt0@gmail.com>.
24686 2010-10-01 Andreas Schwab <schwab@redhat.com>
24688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24689 decoding ACE if AI_CANONIDN.
24691 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24693 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24695 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24697 * version.h (RELEASE): Bump for 2.13 release.
24698 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24700 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24702 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24704 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24707 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24709 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24711 * posix/getconf.c: Update copyright year.
24712 * catgets/gencat.c: Likewise.
24713 * csu/version.c: Likewise.
24714 * debug/catchsegv.sh: Likewise.
24715 * debug/xtrace.sh: Likewise.
24716 * elf/ldconfig.c: Likewise.
24717 * elf/ldd.bash.in: Likewise.
24718 * elf/sprof.c (print_version): Likewise.
24719 * iconv/iconv_prog.c: Likewise.
24720 * iconv/iconvconfig.c: Likewise.
24721 * locale/programs/locale.c: Likewise.
24722 * locale/programs/localedef.c: Likewise.
24723 * malloc/memusage.sh: Likewise.
24724 * malloc/mtrace.pl: Likewise.
24725 * nscd/nscd.c (print_version): Likewise.
24726 * nss/getent.c: Likewise.
24728 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24729 PF_CAIF, and PF_ALG.
24730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24732 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24734 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24735 (modules-names): Use them.
24736 (ifunc-test-modules, ifunc-pie-tests): Define.
24737 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24738 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24739 (test-extras): Likewise.
24740 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24741 $(compile-command.c).
24742 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24743 (all-built-dso): Define.
24744 (check-textrel.out, check-execstack.out): Depend on it.
24746 * configure.in: Don't override --enable-multi-arch.
24748 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24751 * nscd/hstcache.c (tryagain): Define.
24752 (cache_addhst): Return tryagain not notfound for temporary errors.
24753 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24756 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24759 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24760 to make the syscall.
24761 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24764 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24765 and fall back to matching as normal character if the string ends before
24766 the matching ']' is found. This is what POSIX requires.
24767 * posix/testfnm.c: Adjust test result.
24768 * posix/globtest.sh: Adjust test result. Add new test.
24769 * posix/tst-fnmatch.input: Likewise.
24770 * posix/tst-fnmatch2.c: Add new test.
24772 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24774 * elf/Makefile (check-execstack): Revert last change. Depend on
24776 (check-execstack.h): New target.
24777 (generated): Add check-execstack.h.
24778 * elf/check-execstack.c: Include "check-execstack.h".
24779 (main): Revert last change.
24780 (handle_file): Return zero if GNU_STACK is absent and
24781 DEFAULT_STACK_PERMS doesn't include PF_X.
24783 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24785 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24786 in child fails because the descriptor is already closed.
24787 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24788 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24789 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24792 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24796 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24797 temporary buffer used to handle multi lookups locally.
24798 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24800 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24802 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24805 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24807 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24808 alignment for SSE2.
24810 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24813 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24814 characters. When rounding increased number of integer digits recompute
24816 * stdio-common/tst-grouping.c: New file.
24817 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24819 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24821 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24822 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24824 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24826 * bits/select.h: Likewise.
24828 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24830 * po/ja.po: Update from translation team.
24832 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24835 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24836 implementation just like for lxstat, fxstatat, et al.
24838 2010-12-27 Jim Meyering <meyering@redhat.com>
24841 * posix/regexec.c (build_trtable): Return failure indication upon
24842 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24844 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24847 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24848 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24849 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24850 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24853 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24856 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24857 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24859 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24861 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24862 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24863 script has SORT_BY_INIT_PRIORITY.
24864 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24865 NO_CTORS_DTORS_SECTIONS is defined.
24866 * elf/soinit.c: Likewise.
24867 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24868 NO_CTORS_DTORS_SECTIONS is defined.
24869 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24870 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24871 * sysdeps/sh/init-first.c: Likewise.
24872 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24874 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24876 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24877 always use the slow path.
24879 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24881 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24882 similar rule which adds the sysdep directories to the header search in
24883 order to pick up the correct platform stackinfo.h.
24884 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24885 perform test if it is, otherwise return successfully without testing.
24886 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24887 DEFAULT_STACK_PERMS define in stackinfo.h.
24888 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24889 defined in stackinfo.h.
24890 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24891 DEFAULT_STACK_PERMS defined in stackinfo.h.
24892 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24893 * sysdeps/ia64/stackinfo.h: Likewise.
24894 * sysdeps/s390/stackinfo.h: Likewise.
24895 * sysdeps/sh/stackinfo.h: Likewise.
24896 * sysdeps/sparc/stackinfo.h: Likewise.
24897 * sysdeps/x86_64/stackinfo.h: Likewise.
24898 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24899 PF_X for powerpc64. Retain PF_X for powerpc32.
24901 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24903 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24905 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24906 GETDENTS_64BIT_ALIGNED.
24908 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24910 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24912 2010-12-10 Andreas Schwab <schwab@redhat.com>
24914 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24917 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24918 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24920 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24921 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24923 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24926 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24929 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24931 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24933 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24935 * po/it.po: Update from translation team.
24937 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24942 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24944 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24946 2010-11-24 Andreas Schwab <schwab@redhat.com>
24948 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24950 (gaih_getanswer_slice): Likewise.
24952 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24956 2010-05-31 Petr Baudis <pasky@suse.cz>
24959 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24960 silently even in the chroot mode.
24962 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24964 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24965 last patch a bit. Pretty printing
24967 2010-05-31 Petr Baudis <pasky@suse.cz>
24970 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24971 initialization of skip_initgroups_dyn.
24973 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24975 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24976 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24978 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24980 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24982 2010-11-11 Andreas Schwab <schwab@redhat.com>
24984 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24985 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24986 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24987 ($(objpfx)tst-fnmatch-mem): New rule.
24988 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24989 * posix/tst-fnmatch.c (main): Call mtrace.
24991 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24994 Support Intel processor model 6 and model 0x2c.
24996 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24998 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25001 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25004 * string/test-strncasecmp.c (check_result): New function.
25005 (do_one_test): Use it.
25006 (check1): New function.
25007 (test_main): Use it.
25008 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25009 Support strcasecmp and strncasecmp.
25011 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25014 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25015 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25017 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25019 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25023 * sysdeps/x86_64/multiarch/bzero.S: New file.
25024 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25025 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25026 * sysdeps/x86_64/multiarch/memset.S: New file.
25027 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25029 Set bit_Prefer_SSE_for_memop for Intel processors.
25030 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25032 (index_Prefer_SSE_for_memop): Define.
25033 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25035 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25037 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25038 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25040 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25043 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25044 (__x86_64_raw_data_cache_size_half): Likewise.
25045 (__x86_64_raw_shared_cache_size): Likewise.
25046 (__x86_64_raw_shared_cache_size_half): Likewise.
25048 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25049 (__x86_64_raw_data_cache_size_half): Likewise.
25050 (__x86_64_raw_shared_cache_size): Likewise.
25051 (__x86_64_raw_shared_cache_size_half): Likewise.
25052 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25053 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25054 and __x86_64_raw_shared_cache_size_half. Round
25055 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25056 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25057 to multiple of 256 bytes.
25059 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25062 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25063 of inacessible symlinks. Verify result of symlink before returning it.
25064 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25065 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25067 2010-10-28 Erich Ritz <erichritz@gmail.com>
25069 * math/math.h (isinf): Fix typo in comment.
25071 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25073 * po/da.po: Update from translation team.
25075 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25077 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25078 is added to the list.
25080 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25081 Ulrich Drepper <drepper@gmail.com>
25083 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25084 the global list here. Move code to...
25085 (_dl_add_to_namespace_list): ...here. New function.
25086 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25087 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25088 * elf/dl-load.c (lose): Don't remove the element from the list.
25089 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25090 (_dl_map_object): Likewise.
25092 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25095 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25096 into all bytes of SSE register.
25097 Patch by Richard Li <richardpku@gmail.com>.
25099 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25102 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25105 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25107 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25108 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25109 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25110 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25115 2010-10-22 Andreas Schwab <schwab@redhat.com>
25117 * include/dlfcn.h (__RTLD_SECURE): Define.
25118 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25119 mode & __RTLD_SECURE instead.
25120 (open_path): Rename preloaded parameter to secure.
25121 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25122 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25123 * elf/dl-deps.c (openaux): Likewise.
25124 * elf/rtld.c (struct map_args): Remove is_preloaded.
25125 (map_doit): Don't use it.
25126 (dl_main): Likewise.
25127 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25128 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25130 2010-09-09 Andreas Schwab <schwab@redhat.com>
25132 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25133 (sysd-rules-targets): Remove duplicates.
25134 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25135 rtld-%.$o dependency.
25137 2010-10-18 Andreas Schwab <schwab@redhat.com>
25139 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25140 _dl_map_object do it.
25142 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25144 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25145 fast fma builtins, define the macros in the C99 standard.
25146 (FP_FAST_FMAF): Likewise.
25147 (FP_FAST_FMAL): Likewise.
25148 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25150 * bits/mathdef.h: Update copyright year.
25151 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25153 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25155 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25156 builtins, define the macros in the C99 standard.
25157 (FP_FAST_FMAF): Likewise.
25158 (FP_FAST_FMAL): Likewise.
25159 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25161 (FP_FAST_FMAF): Likewise.
25163 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25166 * math/libm-test.inc (fma_test): Some new testcases.
25167 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25168 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25169 y and infinite z. Do multiplication by C already in long double.
25170 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25172 y and infinite z. Do bitwise or of inexact bit into u.d.
25173 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25174 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25175 * sysdeps/i386/fpu/s_fma.S: Removed.
25176 * sysdeps/i386/fpu/s_fmal.S: Removed.
25178 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25181 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25183 computation is not scheduled after fetestexcept. Fix value
25184 of minimum denormal long double.
25186 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25189 * math/libm-test.inc (fma_test): Add some more tests.
25190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25193 2010-10-15 Andreas Schwab <schwab@redhat.com>
25195 * scripts/data/localplt-s390-linux-gnu.data: New file.
25196 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25198 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25201 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25202 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25204 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25206 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25208 if one of x and y is very large and the other is subnormal.
25209 * sysdeps/s390/fpu/s_fmaf.c: New file.
25210 * sysdeps/s390/fpu/s_fma.c: New file.
25211 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25212 * sysdeps/powerpc/fpu/s_fma.S: New file.
25213 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25214 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25215 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25217 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25220 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25222 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25223 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25224 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25225 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25226 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25227 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25228 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25230 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25233 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25234 * posix/bug-regex31.input: Add test case.
25236 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25238 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25239 * posix/bug-regex31.input: New file.
25242 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25243 (parse_sub_exp): Fix last change, use postorder.
25245 * posix/bug-regex31.c: New file.
25246 * posix/Makefile: Add rules to build and run bug-regex31.
25248 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25251 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25254 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25255 to have entries in sys_siglist.
25258 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25261 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25264 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25265 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25266 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25267 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25268 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25269 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25270 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25271 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25272 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25273 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25274 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25275 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25276 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25277 * math/ftestexcept.c (fetestexcept): Likewise.
25278 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25279 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25280 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25281 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25282 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25283 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25284 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25286 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25289 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25292 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25294 * string/bug-strstr1.c: New file.
25295 * string/Makefile: Add rules to build and run bug-strstr1.
25297 2010-10-05 Eric Blake <eblake@redhat.com>
25300 * string/str-two-way.h (two_way_long_needle): Always clear memory
25301 when skipping input due to the shift table.
25303 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25306 * malloc/mcheck.c: Handle large requests.
25309 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25310 for strncmp and strncasecmp.
25311 * string/stratcliff.c: Add tests for strcmp and strncmp.
25312 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25314 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25316 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25319 2010-09-30 Andreas Jaeger <aj@suse.de>
25321 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25322 (CGROUP_SUPER_MAGIC): Define.
25323 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25324 Handle btrfs and cgroup file systems.
25325 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25328 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25330 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25331 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25333 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25336 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25337 trying to locate the ELF header.
25339 2010-09-27 Andreas Schwab <schwab@redhat.com>
25342 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25343 Mask out sign-bit copies when constructing f_fsid.
25345 2010-09-24 Petr Baudis <pasky@suse.cz>
25347 * debug/stack_chk_fail_local.c: Add missing licence exception.
25348 * debug/warning-nop.c: Likewise.
25350 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25352 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25353 implementing getdents64 using getdents syscall, set d_type if
25354 __ASSUME_GETDENTS32_D_TYPE.
25356 2010-09-16 Andreas Schwab <schwab@redhat.com>
25358 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25359 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25361 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25364 * posix/unistd.h: Undo change of feature selection for ftruncate from
25367 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25369 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25372 2010-09-20 Andreas Schwab <schwab@redhat.com>
25374 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25376 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25378 2010-09-14 Andreas Schwab <schwab@redhat.com>
25380 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25381 variables after CHECK_SP call.
25382 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25384 2010-09-13 Andreas Schwab <schwab@redhat.com>
25385 Ulrich Drepper <drepper@redhat.com>
25387 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25388 re-relocationg ld.so.
25389 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25390 _dl_init_paths call.
25391 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25394 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25396 * resolv/res_init.c (__res_vinit): Count the default server we added.
25398 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25399 Ulrich Drepper <drepper@redhat.com>
25402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25403 (____longjmp_chk): Use %ebx for saving value across system call.
25406 2010-09-06 Andreas Schwab <schwab@redhat.com>
25408 * manual/Makefile: Don't mix pattern rules with normal rules.
25410 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25412 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25414 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25415 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25416 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25417 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25421 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25424 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25425 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25427 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25429 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25430 * sysdeps/x86_64/addmul_1.S: Likewise.
25431 * sysdeps/x86_64/lshift.S: Likewise.
25432 * sysdeps/x86_64/mul_1.S: Likewise.
25433 * sysdeps/x86_64/rshift.S: Likewise.
25434 * sysdeps/x86_64/sub_n.S: Likewise.
25435 * sysdeps/x86_64/submul_1.S: Likewise.
25437 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25439 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25440 Define __sched_param instead of SCHED_* and sched_param when
25441 <bits/sched.h> is included with __need_schedparam defined.
25442 * bits/sched.h [__need_schedparam]
25443 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25444 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25445 (__defined_schedparam): Define to 1.
25446 (__sched_param): New structure, identical to sched_param.
25447 (__need_schedparam): Undefine.
25449 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25451 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25452 (epoll_create1): Declare.
25454 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25456 2010-08-31 Andreas Schwab <schwab@redhat.com>
25459 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25460 shifting retval into place.
25462 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25464 * nis/rpcsvc/nis.h: Update copyright notice.
25465 * nis/rpcsvc/nis.x: Likewise.
25466 * nis/rpcsvc/nis_callback.h: Likewise.
25467 * nis/rpcsvc/nis_callback.x: Likewise.
25468 * nis/rpcsvc/nis_object.x: Likewise.
25469 * nis/rpcsvc/nis_tags.h: Likewise.
25470 * nis/rpcsvc/yp.h: Likewise.
25471 * nis/rpcsvc/yp.x: Likewise.
25472 * nis/rpcsvc/ypupd.h: Likewise.
25473 * nis/yp_xdr.c: Likewise.
25474 * nis/ypupdate_xdr.c: Likewise.
25476 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25477 mainly the body of pmap_getport. Add parameters to specify timeouts.
25478 (pmap_getport): Use __libc_rpc_getport.
25479 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25480 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25481 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25483 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25488 2010-08-27 Roland McGrath <roland@redhat.com>
25490 * sysdeps/i386/i686/multiarch/Makefile
25491 (CFLAGS-varshift.c): New variable.
25493 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25495 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25496 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25498 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25500 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25502 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25504 * sysdeps/x86_64/strlen.S: Unroll the loop.
25505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25506 strlen-sse2 strlen-sse2-bsf.
25507 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25508 __strlen_no_bsf if bit_Slow_BSF is set.
25509 (__strlen_sse42): Removed.
25510 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25511 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25513 2010-08-25 Roland McGrath <roland@redhat.com>
25515 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25516 * sysdeps/x86_64/multiarch/varshift.c: New file.
25517 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25518 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25519 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25520 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25522 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25525 strlen-sse2 strlen-sse2-bsf.
25526 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25527 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25528 (__strlen_sse2): Removed.
25529 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25532 bit_Slow_BSF for Atom.
25533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25534 (index_Slow_BSF): Define.
25535 (HAS_SLOW_BSF): Define.
25537 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25540 * resolv/res_init.c (__res_vinit): When no server address at all
25541 is given default to loopback.
25543 2010-08-24 Roland McGrath <roland@redhat.com>
25545 * configure.in: Remove config-name.h generation.
25546 * configure: Regenerated.
25547 * config-name.in: File removed.
25548 * scripts/config-uname.sh: New file.
25549 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25550 ($(objdir)config-name.h): New target.
25552 * sunrpc/rpc_parse.h: Avoid nested comment.
25554 2010-08-24 Richard Henderson <rth@redhat.com>
25555 Ulrich Drepper <drepper@redhat.com>
25556 H.J. Lu <hongjiu.lu@intel.com>
25558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25560 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25561 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25562 _mm_alignr_epi8 with _mm_loadu_si128.
25563 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25564 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25565 (__m128i_shift_right): Removed.
25566 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25567 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25568 * sysdeps/x86_64/multiarch/varshift.h: New file.
25569 * sysdeps/x86_64/multiarch/varshift.S: New file.
25571 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25573 * configure.in: Move assembler checks to before sysdep dir checking.
25575 2010-08-20 Petr Baudis <pasky@suse.cz>
25577 * LICENSES: Sync the sunrpc license.
25579 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25581 * sunrpc/auth_des.c: Update copyright notice once again.
25582 * sunrpc/auth_none.c: Likewise.
25583 * sunrpc/auth_unix.c: Likewise.
25584 * sunrpc/authdes_prot.c: Likewise.
25585 * sunrpc/authuxprot.c: Likewise.
25586 * sunrpc/bindrsvprt.c: Likewise.
25587 * sunrpc/clnt_gen.c: Likewise.
25588 * sunrpc/clnt_perr.c: Likewise.
25589 * sunrpc/clnt_raw.c: Likewise.
25590 * sunrpc/clnt_simp.c: Likewise.
25591 * sunrpc/clnt_tcp.c: Likewise.
25592 * sunrpc/clnt_udp.c: Likewise.
25593 * sunrpc/clnt_unix.c: Likewise.
25594 * sunrpc/des_crypt.c: Likewise.
25595 * sunrpc/des_soft.c: Likewise.
25596 * sunrpc/get_myaddr.c: Likewise.
25597 * sunrpc/getrpcport.c: Likewise.
25598 * sunrpc/key_call.c: Likewise.
25599 * sunrpc/key_prot.c: Likewise.
25600 * sunrpc/openchild.c: Likewise.
25601 * sunrpc/pm_getmaps.c: Likewise.
25602 * sunrpc/pm_getport.c: Likewise.
25603 * sunrpc/pmap_clnt.c: Likewise.
25604 * sunrpc/pmap_prot.c: Likewise.
25605 * sunrpc/pmap_prot2.c: Likewise.
25606 * sunrpc/pmap_rmt.c: Likewise.
25607 * sunrpc/rpc/auth.h: Likewise.
25608 * sunrpc/rpc/auth_unix.h: Likewise.
25609 * sunrpc/rpc/clnt.h: Likewise.
25610 * sunrpc/rpc/des_crypt.h: Likewise.
25611 * sunrpc/rpc/key_prot.h: Likewise.
25612 * sunrpc/rpc/netdb.h: Likewise.
25613 * sunrpc/rpc/pmap_clnt.h: Likewise.
25614 * sunrpc/rpc/pmap_prot.h: Likewise.
25615 * sunrpc/rpc/pmap_rmt.h: Likewise.
25616 * sunrpc/rpc/rpc.h: Likewise.
25617 * sunrpc/rpc/rpc_des.h: Likewise.
25618 * sunrpc/rpc/rpc_msg.h: Likewise.
25619 * sunrpc/rpc/svc.h: Likewise.
25620 * sunrpc/rpc/svc_auth.h: Likewise.
25621 * sunrpc/rpc/types.h: Likewise.
25622 * sunrpc/rpc/xdr.h: Likewise.
25623 * sunrpc/rpc_clntout.c: Likewise.
25624 * sunrpc/rpc_cmsg.c: Likewise.
25625 * sunrpc/rpc_common.c: Likewise.
25626 * sunrpc/rpc_cout.c: Likewise.
25627 * sunrpc/rpc_dtable.c: Likewise.
25628 * sunrpc/rpc_hout.c: Likewise.
25629 * sunrpc/rpc_main.c: Likewise.
25630 * sunrpc/rpc_parse.c: Likewise.
25631 * sunrpc/rpc_parse.h: Likewise.
25632 * sunrpc/rpc_prot.c: Likewise.
25633 * sunrpc/rpc_sample.c: Likewise.
25634 * sunrpc/rpc_scan.c: Likewise.
25635 * sunrpc/rpc_scan.h: Likewise.
25636 * sunrpc/rpc_svcout.c: Likewise.
25637 * sunrpc/rpc_tblout.c: Likewise.
25638 * sunrpc/rpc_util.c: Likewise.
25639 * sunrpc/rpc_util.h: Likewise.
25640 * sunrpc/rpcinfo.c: Likewise.
25641 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25642 * sunrpc/rpcsvc/key_prot.x: Likewise.
25643 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25644 * sunrpc/rpcsvc/mount.x: Likewise.
25645 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25646 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25647 * sunrpc/rpcsvc/rex.x: Likewise.
25648 * sunrpc/rpcsvc/rstat.x: Likewise.
25649 * sunrpc/rpcsvc/rusers.x: Likewise.
25650 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25651 * sunrpc/rpcsvc/spray.x: Likewise.
25652 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25653 * sunrpc/rtime.c: Likewise.
25654 * sunrpc/svc.c: Likewise.
25655 * sunrpc/svc_auth.c: Likewise.
25656 * sunrpc/svc_authux.c: Likewise.
25657 * sunrpc/svc_raw.c: Likewise.
25658 * sunrpc/svc_run.c: Likewise.
25659 * sunrpc/svc_simple.c: Likewise.
25660 * sunrpc/svc_tcp.c: Likewise.
25661 * sunrpc/svc_udp.c: Likewise.
25662 * sunrpc/svc_unix.c: Likewise.
25663 * sunrpc/svcauth_des.c: Likewise.
25664 * sunrpc/xcrypt.c: Likewise.
25665 * sunrpc/xdr.c: Likewise.
25666 * sunrpc/xdr_array.c: Likewise.
25667 * sunrpc/xdr_float.c: Likewise.
25668 * sunrpc/xdr_mem.c: Likewise.
25669 * sunrpc/xdr_rec.c: Likewise.
25670 * sunrpc/xdr_ref.c: Likewise.
25671 * sunrpc/xdr_sizeof.c: Likewise.
25672 * sunrpc/xdr_stdio.c: Likewise.
25674 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25677 2010-08-19 Andreas Schwab <schwab@redhat.com>
25679 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25681 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25683 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25684 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25685 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25686 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25687 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25688 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25689 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25690 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25692 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25693 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25694 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25695 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25696 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25698 2010-07-26 Anton Blanchard <anton@samba.org>
25700 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25701 * malloc/arena.c (heap_trim): Likewise.
25703 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25705 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25708 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25710 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25712 * sysdeps/i386/elf/Makefile: New file.
25714 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25716 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25717 from fanotify_init.
25718 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25719 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25721 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25723 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25725 * sysdeps/multiarch/strcmp.S: Likewise.
25727 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25729 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25730 strncase_l-nonascii.
25731 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25732 Add strncase_l-ssse3.
25733 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25734 * sysdeps/x86_64/strcmp.S: Likewise.
25735 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25736 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25737 * sysdeps/x86_64/strncase.S: New file.
25738 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25739 * sysdeps/x86_64/strncase_l.S: New file.
25740 * string/Makefile (strop-tests): Add strncasecmp.
25741 * string/test-strncasecmp.c: New file.
25743 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25746 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25747 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25749 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25751 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25753 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25755 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25756 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25757 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25759 2010-05-01 Alan Modra <amodra@gmail.com>
25761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25762 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25763 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25764 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25765 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25766 tidying. Don't tail-call __sigjmp_save for static lib.
25767 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25769 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25770 (CALL_MCOUNT): Add eh info, and nop after bl.
25771 (TAIL_CALL_SYSCALL_ERROR): New macro.
25772 (PSEUDO_RET): Use it.
25773 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25774 Correct save location of integer regs and cr.
25775 (_dl_profile_resolve): Correct cr save location. Delete nops
25776 after bl when SHARED. Reduce cfi size a little by better
25777 placement of cfi directives.
25778 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25779 make a stack frame. Instead use parm save area as a temp.
25780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25781 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25783 Don't make a stack frame for parent, use parm save area.
25784 Increase child stack frame to 112 bytes. Don't save unused reg,
25785 and adjust reg usage. Set up cfi on error recovery and
25786 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25788 (__makecontext): Add dummy nop after jump to exit.
25789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25790 Use correct parm save area and cr save, reduce stack frame.
25791 Correct cfi for possible PSEUDO_RET frame setup.
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25793 Branch to local label emitted by PSEUDO_RET rather than
25796 2010-08-12 Andreas Schwab <schwab@redhat.com>
25799 * locale/programs/locale.c (print_assignment): New function.
25800 (show_locale_vars): Use it.
25802 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25804 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25806 (struct statfs64): Likewise.
25807 (_STATFS_F_FLAGS): Define.
25808 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25809 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25810 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25811 (ST_VALID): Define locally.
25812 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25813 __statvfs_getflags, use the provided value.
25814 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25815 __ASSUME_STATFS_F_FLAGS.
25817 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25819 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25820 Add sys/fanotify.h.
25821 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25822 fanotify_mask for GLIBC_2.13.
25823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25824 fanotify_init and fanotify_mark.
25825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25826 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25828 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25830 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25831 prlimit64 for GLIBC_2.13.
25832 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25837 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25838 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25839 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25842 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25845 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25846 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25848 * nss/Makefile: Add rules to build and run tst-nss-test1.
25849 * shlib-versions: Add entry for libnss_test1.
25850 * nss/nss_test1.c: New file.
25851 * nss/tst-nss-test1.c: New file.
25853 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25854 (__nss_configure_lookup): Set appropriate entry in
25855 __nss_configure_lookup to true.
25856 * nss/nsswitch.h: Define enum with indeces of databases in
25857 databases and __nss_database_custom arrays. Declare
25858 __nss_database_custom.
25859 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25860 to avoid using nscd when custom rules are installed.
25861 * nss/getXXbyYY_r.c: Likewise.
25862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25864 * nss/nss_files/files-parse.c: Whitespace fixes.
25866 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25869 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25870 * posix/fnmatch_loop.c: Likewise.
25872 2010-07-17 Andi Kleen <ak@linux.intel.com>
25874 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25875 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25876 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25877 * Versions.def [GLIBC_2.13]: Add.
25879 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25881 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25882 Also fail if tpwd after pwuid call is NULL.
25884 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25886 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25887 when converting to ms.
25889 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25891 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25892 EOPNOTSUPP errors with ENOTTY.
25893 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25894 EOPNOTSUPP errors with ENOTTY.
25896 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25898 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25899 Add strcasecmp_l-ssse3.
25900 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25902 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25903 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25904 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25906 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25908 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25910 * string/Makefile (strop-tests): Add strcasecmp.
25911 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25912 strcasecmp_l-nonascii.
25913 (gen-as-const-headers): Add locale-defines.sym.
25914 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25915 * sysdeps/x86_64/strcasecmp.S: New file.
25916 * sysdeps/x86_64/strcasecmp_l.S: New file.
25917 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25918 * sysdeps/x86_64/locale-defines.sym: New file.
25919 * string/test-strcasecmp.c: New file.
25921 * string/test-strcasestr.c: Test both ends of the range of characters.
25922 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25924 2010-07-29 Roland McGrath <roland@redhat.com>
25927 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25929 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25931 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25934 2010-07-27 Andreas Schwab <schwab@redhat.com>
25936 * manual/memory.texi (Malloc Tunable Parameters): Document
25939 2010-07-26 Roland McGrath <roland@redhat.com>
25942 * configure.in (-fgnu89-inline check): Set and substitute
25943 gnu89_inline, not libc_cv_gnu89_inline.
25944 * configure: Regenerated.
25945 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25947 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25949 * string/test-strnlen.c: New file.
25950 * string/Makefile (strop-tests): Add strnlen.
25951 * string/tester.c (test_strnlen): Add a few more test cases.
25952 * string/tst-strlen.c: Better error reporting.
25954 * sysdeps/x86_64/strnlen.S: New file.
25956 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25958 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25959 lower-latency instructions.
25961 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25963 * string/test-strcasestr.c: New file.
25964 * string/test-strstr.c: New file.
25965 * string/Makefile (strop-tests): Add strstr and strcasestr.
25966 * string/str-two-way.h: Don't undefine MAX.
25967 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25969 2010-07-21 Andreas Schwab <schwab@redhat.com>
25971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25972 strcasestr-nonascii.
25973 (CFLAGS-strcasestr-nonascii.c): Define.
25974 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25975 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25976 Remove unused attribute.
25978 2010-07-20 Roland McGrath <roland@redhat.com>
25980 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25981 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25982 ld.so.cache was broken. With it, there is no way to disable dsocaps
25983 like LD_HWCAP_MASK can disable hwcaps.
25985 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25987 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25989 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25991 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25992 call in strcasestr.
25993 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25994 __strcasestr_sse42_nonascii.
25995 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25996 strcasestr-nonascii.c.
25997 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25999 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26001 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26002 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26004 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26006 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26008 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26011 2010-07-06 Andreas Schwab <schwab@redhat.com>
26014 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26017 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26019 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26020 _PC_PIPE_BUF using F_GETPIPE_SZ.
26022 2010-07-05 Roland McGrath <roland@redhat.com>
26024 * manual/arith.texi (Rounding Functions): Fix rint description
26025 implicit in round description.
26027 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26029 * elf/Makefile: Fix linking for a few tests to make recent linker
26032 2010-06-30 Andreas Schwab <schwab@redhat.com>
26034 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26035 $(common-objpfx)libc_nonshared.a.
26037 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26039 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26040 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26041 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26042 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26043 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26044 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26045 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26046 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26061 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26062 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26063 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26064 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26065 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26066 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26067 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26068 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26069 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26070 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26071 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26072 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26088 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26090 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26091 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26092 * string/memmove.c (memmove): Renamed to ...
26093 (MEMMOVE): ...this. Default to memmove.
26094 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26095 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26098 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26099 mempcpy-ssse3-back memmove-ssse3-back.
26100 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26103 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26104 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26105 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26106 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26107 * sysdeps/x86_64/multiarch/memmove.c: New file.
26108 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26109 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26110 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26111 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26112 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26113 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26115 (index_Fast_Copy_Backward): Define.
26116 (HAS_ARCH_FEATURE): Define.
26117 (HAS_FAST_REP_STRING): Define.
26118 (HAS_FAST_COPY_BACKWARD): Define.
26120 2010-06-21 Andreas Schwab <schwab@redhat.com>
26122 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26123 Restore proper fallback handling.
26125 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26128 * posix/group_member.c (__group_member): Correct checking loop.
26130 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26131 OOM in getpwuid_r correctly. Return error number when the caller
26132 should return, otherwise -1.
26133 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26134 call returning > 0 value.
26135 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26137 2010-06-07 Andreas Schwab <schwab@redhat.com>
26139 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26140 libc_nonshared.a from targets in modules-names.
26142 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26144 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26147 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26149 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26150 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26151 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26154 2010-06-02 Andreas Schwab <schwab@redhat.com>
26156 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26158 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26160 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26166 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26167 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26169 2010-06-14 Roland McGrath <roland@redhat.com>
26171 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26173 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26175 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26176 __REDIRECT followed by __THROW.
26177 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26178 * posix/getopt.h (getopt): Likewise.
26180 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26182 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26183 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26184 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26186 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26187 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26189 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26191 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26193 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26197 Properly check family and model.
26199 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26201 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26203 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26205 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26207 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26209 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26212 2010-05-19 Andreas Schwab <schwab@redhat.com>
26214 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26217 2010-05-21 Andreas Schwab <schwab@redhat.com>
26219 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26220 and internal_recvmmsg.
26221 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26222 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26223 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26224 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26226 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26227 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26228 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26230 2010-05-20 Andreas Schwab <schwab@redhat.com>
26232 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26234 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26236 POWER7 optimizations.
26237 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26238 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26240 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26242 * version.h: Update for 2.13 development version.
26244 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26246 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26247 exceptions. Return 0.
26249 2010-05-07 Roland McGrath <roland@redhat.com>
26251 * elf/ldconfig.c (main): Add a const.
26253 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26255 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26256 (args_options): Add no-idn option.
26257 (ahosts_keys_int): Add idn_flags to ai_flags.
26258 (parse_option): Handle 'i' option to clear idn_flags.
26260 * malloc/malloc.c (_int_free): Possible race in the most recently
26261 added check. Only act on the data if no current modification
26264 See ChangeLog.17 for earlier changes.